The InformationAttribute type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
InformationAttribute |
Constructor.
| |
InformationAttribute(String) |
Constructor.
|
Methods
Name | Description | |
---|---|---|
Apply |
Applies the attribute data to the page (object).
| |
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetText |
Gets the text for the element.
(Inherited from AbstractAttribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUrl |
Transforms the URL to the correct format.
(Inherited from AbstractAttribute.) | |
CheckEditedObject |
Returns True if attribute should be applied.
Evaluation is based on the edited object existence and ExistingObject and NewObject properties.
(Inherited from AbstractAttribute.) | |
CheckEditor |
Checks the security of the editor, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.) | |
CheckGlobalAdministrator |
Checks the security of the global admin, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.) | |
CheckModuleLoaded |
Checks if resource is loaded, returns false if resource/module is separated.
(Inherited from AbstractSecurityAttribute.) | |
CheckPermissions |
Checks the security of the permissions, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.) | |
CheckResourceSite |
Checks the security of resource, returns true if the module is assigned to the current site.
(Inherited from AbstractSecurityAttribute.) | |
CheckSecurity |
Checks the security, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.) | |
CheckUIElements |
Checks the security of the UI elements, returns true if the security check succeeded.
(Inherited from AbstractSecurityAttribute.) | |
IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Resolve |
Resolves the give text.
(Inherited from AbstractAttribute.) | |
ShowText |
Returns true if the text is allowed to be shown.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Properties
Name | Description | |
---|---|---|
ContainsMacro |
If true, the attribute contains macros
(Inherited from AbstractAttribute.) | |
CurrentSiteName |
Current site name.
(Inherited from AbstractSecurityAttribute.) | |
CurrentUser |
Current user.
(Inherited from AbstractSecurityAttribute.) | |
Editor |
If true, the editor should be checked.
(Inherited from AbstractSecurityAttribute.) | |
ExistingObject |
If True, attribute is applied only when edited object is defined.
(Inherited from AbstractAttribute.) | |
FalseResourceString |
Resource string for the information in case the check doesn't succeed.
| |
FalseText |
Text for the information in case the check doesn't succeed, has higher priority than the resource string.
| |
GlobalAdministrator |
If true, the global admin check should be performed.
(Inherited from AbstractSecurityAttribute.) | |
CheckSettings |
If set, the information text is displayed only if the given setting is true, otherwise, the false text is displayed.
| |
IsAllowed |
If true, the security check is allowed, if false, it automatically returns false.
(Inherited from AbstractSecurityAttribute.) | |
NewObject |
If True, attribute is applied only when edited object is not defined.
(Inherited from AbstractAttribute.) | |
Permission |
Permission name to be checked.
(Inherited from AbstractSecurityAttribute.) | |
Resource |
Resource name to be checked.
(Inherited from AbstractSecurityAttribute.) | |
ResourceSite |
If true, the resource assignment to the site should be checked.
(Inherited from AbstractSecurityAttribute.) | |
ResourceString |
Resource string for the title.
| |
Text |
Text for the title, has higher priority than the resource string.
| |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
UIElements |
UI elements to be checked separated by semicolon ;.
(Inherited from AbstractSecurityAttribute.) |
See Also