SRExtension Class
A markup extension that loads an assembly's string resource.
public class SRExtension : SRExtensionBase<SRName>
- Inheritance:
- object SRExtensionBase<SRName> object
Constructors
SRExtension()
Initializes an instance of the class.
public SRExtension()
SRExtension(SRName)
Initializes an instance of the class with a string resource name.
public SRExtension(SRName name)
Parameter | Type | Description |
---|---|---|
name | SRName | The name of the string resource. |
Properties
Name
The name of the string resource.
Methods
ProvideValue()
Returns the string resource based on the supplied name.
public override string? ProvideValue()
Returns
- string:
The object value to set on the property where the extension is applied.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()