Specifies the default OtterScript namespace for a class or an assembly.
Name | Description | |
---|---|---|
ScriptNamespaceAttribute(string namespaceName) |
Initializes a new instance of the ScriptNamespaceAttribute class. |
Name | Description | |
---|---|---|
Namespace |
Gets the namespace for scripting. |
|
PreferUnqualified |
Gets a value indicating whether the namespace is usually needed. |
Name | Description | |
---|---|---|
GetScriptNamespace(System.Type type, bool returnNullIfPreferUnqualified) |
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.