Class NamedUdiRange
Represents a UdiRange complemented with a name.
Namespace: Umbraco.Cms.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. |
| 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. |
| string | name | A name. |
| 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 |
|---|---|
| string |