Class TimeDescription
An SDP time description element.
Inheritance
System.Object
TimeDescription
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class TimeDescription
Constructors
TimeDescription(Timing)
Initializes a new instance of the TimeDescription class.
Declaration
public TimeDescription(Timing timing)
Parameters
Type | Name | Description |
---|---|---|
Timing | timing | The start and stop time. |
Properties
RepeatTimes
Gets the array of repeat times.
Declaration
public RepeatTime[] RepeatTimes { get; }
Property Value
Type | Description |
---|---|
RepeatTime[] |
Timing
Gets or sets the start and stop time.
Declaration
public Timing Timing { get; }
Property Value
Type | Description |
---|---|
Timing |
Methods
AddRepeatTime(RepeatTime)
Adds a repeat time.
Declaration
public void AddRepeatTime(RepeatTime repeatTime)
Parameters
Type | Name | Description |
---|---|---|
RepeatTime | repeatTime | The repeat time to add. |
Parse(String)
Creates an TimeDescription instance from a string.
Declaration
public static TimeDescription Parse(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | The string to parse. |
Returns
Type | Description |
---|---|
TimeDescription |
RemoveRepeatTime(RepeatTime)
Removes a repeat time.
Declaration
public bool RemoveRepeatTime(RepeatTime repeatTime)
Parameters
Type | Name | Description |
---|---|---|
RepeatTime | repeatTime | The repeat time to remove. |
Returns
Type | Description |
---|---|
System.Boolean |
ToString()
Converts this instance to a string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()