Home

Castle Stronghold

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.

ParameterDescription
name Name the resource will be available as in the PropertyBag
resourceName Fully qualified name of the resource in the sattelite assembly

Properties

NameTypeDescription
NameString Gets or sets the Name the of resource that will be available in the PropertyBag.
ResourceNameString Gets or sets the Fully qualified name of the resource in the sattelite assembly.
CultureNameString Gets or sets the name of the culture.
AssemblyNameString Gets or sets the name of the assembly.
ResourceTypeType Gets or sets the type of the resource.

Methods

BuildResourceDescriptors() : ResourceDescriptor[]

Castle.MonoRail.Framework.Internal.IResourceDescriptorBuilder implementation. Builds the resource descriptors.

Google
Search WWW Search castleproject.org