SingletonPathSegment Constructor

 

Namespace:   System.Web.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)

Overload List

Name Description
System_CAPS_pubmethod SingletonPathSegment(IEdmSingleton)

Initializes a new instance of the SingletonPathSegment class.

System_CAPS_pubmethod SingletonPathSegment(String)

Initializes a new instance of the SingletonPathSegment class.

See Also

SingletonPathSegment Class
System.Web.OData.Routing Namespace

Return to top

SingletonPathSegment Constructor (IEdmSingleton)

Initializes a new instance of the SingletonPathSegment class.

Syntax

public SingletonPathSegment(
    IEdmSingleton singleton
)
public:
SingletonPathSegment(
    IEdmSingleton^ singleton
)
new : 
        singleton:IEdmSingleton -> SingletonPathSegment
Public Sub New (
    singleton As IEdmSingleton
)

Parameters

Return to top

SingletonPathSegment Constructor (String)

Initializes a new instance of the SingletonPathSegment class.

Syntax

public SingletonPathSegment(
    string singletonName
)
public:
SingletonPathSegment(
    String^ singletonName
)
new : 
        singletonName:string -> SingletonPathSegment
Public Sub New (
    singletonName As String
)

Parameters

Return to top