Method | Description | |
---|---|---|
Clone ( ) : |
Creates a clone of this resource name, which is then independent of the original.
|
|
ResourceName ( |
Creates a resource name with the given template and resource IDs. The resource IDs are cloned, so later changes to resourceIds are ignored. This constructor does not populate the ServiceName property, but that can be set after construction.
|
|
ToString ( ) : string |
Returns a string representation of this resource name, expanding the template parameters with the resource IDs and prepending the service name (if present).
|
|
this ( int index ) : string |
Gets or sets the identifier for the specified parameter index.
|
|
this ( string parameterName ) : string |
Gets or sets the identifier for the specified parameter name.
|
Method | Description | |
---|---|---|
CreateWithShallowCopy ( |
||
GetParameterIndex ( string parameterName ) : int | ||
ResourceName ( |
Private constructor used by internal code to avoid repeated cloning and validation.
|
public ResourceName ( |
||
template | The template for the new resource name. Must not be null. | |
return | System |
public this ( int index ) : string | ||
index | int | The index of the parameter value to retrieve. |
return | string |
public this ( string parameterName ) : string | ||
parameterName | string | The name of the parameter value to retrieve. |
return | string |