OpenPetra
Free Administration Software for Non-Profits
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Pages
Ict.Common.Attributes.ResourceStringAttribute Class Reference

This custom .NET Attribute is used to mark functions that return resourcestrings. These Attributes can later be found and the functions can be changed to return resourcestrings from any source/repository instead of having them hardcoded in code. More...

Inheritance diagram for Ict.Common.Attributes.ResourceStringAttribute:

Public Member Functions

 ResourceStringAttribute (string AResourceStringName, string AResourceNamespace)
 This constructor defines two required parameters. More...
 

Properties

virtual string ResourceStringName [get]
 Define Name property. This is a read-only attribute. More...
 
virtual string ResourceNamespace [get]
 Define ResourceNamespace property. This is a read-only attribute. More...
 
virtual bool Translated [get, set]
 Define Translated property. This is a read/write attribute. More...
 

Detailed Description

This custom .NET Attribute is used to mark functions that return resourcestrings. These Attributes can later be found and the functions can be changed to return resourcestrings from any source/repository instead of having them hardcoded in code.

Constructor & Destructor Documentation

◆ ResourceStringAttribute()

Ict.Common.Attributes.ResourceStringAttribute.ResourceStringAttribute ( string  AResourceStringName,
string  AResourceNamespace 
)
inline

This constructor defines two required parameters.

Parameters
AResourceStringName
AResourceNamespace

Property Documentation

◆ ResourceNamespace

virtual string Ict.Common.Attributes.ResourceStringAttribute.ResourceNamespace
get

Define ResourceNamespace property. This is a read-only attribute.

◆ ResourceStringName

virtual string Ict.Common.Attributes.ResourceStringAttribute.ResourceStringName
get

Define Name property. This is a read-only attribute.

◆ Translated

virtual bool Ict.Common.Attributes.ResourceStringAttribute.Translated
getset

Define Translated property. This is a read/write attribute.


The documentation for this class was generated from the following file: