|
12345678910111213141516171819202122 |
- using System;
-
- namespace RenderHookAPI.Interface
- {
- [Serializable]
- public class DisplayTextEventArgs
- {
- public string Text { get; set; }
- public TimeSpan Duration { get; set; }
-
- public DisplayTextEventArgs(string text, TimeSpan duration)
- {
- Text = text;
- Duration = duration;
- }
-
- public override string ToString()
- {
- return String.Format("{0}", Text);
- }
- }
- }
|