Namespace:   System.Web.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)
Overload List
| Name | Description | |
|---|---|---|
| .jpeg) | SingletonPathSegment(IEdmSingleton) | Initializes a new instance of the SingletonPathSegment class. | 
| .jpeg) | 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
- singleton 
 Type: Microsoft.OData.Edm.IEdmSingleton- The singleton being accessed. 
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
- singletonName 
 Type: System.String- Name of the singleton. 
Return to top