Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    Attribute
    CategoryAttribute
    Inherited Members
    Attribute.AttributeType
    Attribute.MultiplexingCategory
    Attribute.GetTypeName(Type)
    Attribute.IsSessionLevel(Type)
    Attribute.IsMediaLevel(Type)
    Attribute.CreateAttribute(String, String)
    Attribute.ToString()
    Attribute.Parse(String)
    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
    Overrides
    Attribute.GetAttributeValue()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0