ResourceAttribute API Document
Declares that for the specified class or method, the given resource file should be loaded and set available in the PropertyBag with the specified name.
Constructors
ResourceAttribute(String name, String resourceName)
Constructs a resource attribute, with the specified name, based on the resource in a satellite assembly.
| Parameter | Description |
|---|---|
| name | Name the resource will be available as in the PropertyBag |
| resourceName | Fully qualified name of the resource in the sattelite assembly |
Properties
| Name | Type | Description |
|---|---|---|
| Name | String | Gets or sets the Name the of resource that will be available in the PropertyBag. |
| ResourceName | String | Gets or sets the Fully qualified name of the resource in the sattelite assembly. |
| CultureName | String | Gets or sets the name of the culture. |
| AssemblyName | String | Gets or sets the name of the assembly. |
| ResourceType | Type | Gets or sets the type of the resource. |
Methods
BuildResourceDescriptors() : ResourceDescriptor[]
Castle.MonoRail.Framework.Internal.IResourceDescriptorBuilder implementation. Builds the resource descriptors.