ScriptAliasAttribute Class

Provides an alias for both classes and properties of operations and configurations when used in a script.

Inheritance Hierarchy

Syntax

public sealed class ScriptAliasAttribute : System.Attribute

Constructors

Name Description
ScriptAliasAttribute(string alias)

Initializes a new instance of the ScriptAliasAttribute class.

Properties

Name Description
Alias

Gets the script alias.

Obsolete

Gets or sets a value indicating whether the alias is obsolete and included only for compatibility.

Methods

Name Description
GetPreferredScriptAlias(System.Reflection.MemberInfo member)

Remarks

If multiple aliases are specified, the first alias will be considered default, and will be used when exporting to a configuration.