Otter SDK Reference
Version:

ScriptAliasAttribute Class

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

Inheritance Hierarchy

  • object
    • System.Attribute
      • Inedo.Otter.Extensibility.ScriptAliasAttribute

Syntax

public 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.

Remarks

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