InedoSDK Reference
Version:

ScriptNamespaceAttribute Class

Specifies the default OtterScript namespace for a class or an assembly.

Inheritance Hierarchy

  • object
    • System.Attribute
      • Inedo.Extensibility.ScriptNamespaceAttribute

Syntax

public sealed class ScriptNamespaceAttribute : System.Attribute

Constructors

Name Description
ScriptNamespaceAttribute(string namespaceName)

Initializes a new instance of the ScriptNamespaceAttribute class.

Properties

Name Description
Namespace

Gets the namespace for scripting.

PreferUnqualified

Gets a value indicating whether the namespace is usually needed.

Remarks

If no attribute is present on the class, the assembly's attribute will be used; if no assembly attribute is specified, the assembly's name will be used.