Class CategoryAttribute
This attribute gives the dot-separated hierarchical category of the session. This is to enable a receiver to filter unwanted sessions by category. There is no central registry of categories. It is a session-level attribute, and it is not dependent on charset.
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 CategoryAttribute : Attribute
Constructors
CategoryAttribute(String)
Initializes a new instance of the CategoryAttribute class.
Declaration
public CategoryAttribute(string category)
Parameters
Type | Name | Description |
---|---|---|
System.String | category | The dot-separated hierarchical category of the session. |
Properties
Category
Gets or sets the dot-separated hierarchical category of the session.
Declaration
public string Category { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
FromAttributeValue(String)
Initializes a new instance of the CategoryAttribute class.
Declaration
public static CategoryAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
CategoryAttribute |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |