SingletonPathSegment Constructor
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
SingletonPathSegment(IEdmSingleton) | Initializes a new instance of the SingletonPathSegment class. |
|
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.IEdmSingletonThe 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.StringName of the singleton.
Return to top