Class NamedUdiRange
Represents a UdiRange complemented with a name.
Namespace: Umbraco.Core
Assembly: Umbraco.Core.dll
Syntax
public class NamedUdiRange : UdiRange
Constructors
View SourceNamedUdiRange(Udi, String)
Initializes a new instance of the NamedUdiRange class with a Udi and an optional selector.
Declaration
public NamedUdiRange(Udi udi, string selector = "this")
Parameters
Type | Name | Description |
---|---|---|
Udi | udi | A Udi. |
System.String | selector | An optional selector. |
NamedUdiRange(Udi, String, String)
Initializes a new instance of the NamedUdiRange class with a Udi, a name, and an optional selector.
Declaration
public NamedUdiRange(Udi udi, string name, string selector = "this")
Parameters
Type | Name | Description |
---|---|---|
Udi | udi | A Udi. |
System.String | name | A name. |
System.String | selector | An optional selector. |
Properties
View SourceName
Gets or sets the name of the range.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |