Class MoonSharpVisibleAttribute
Forces a class member visibility to scripts. Can be used to hide public members or to expose non-public ones.
Inheritance
System.Object
MoonSharpVisibleAttribute
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public sealed class MoonSharpVisibleAttribute : Attribute
Constructors
MoonSharpVisibleAttribute(Boolean)
Initializes a new instance of the MoonSharpVisibleAttribute class.
Declaration
public MoonSharpVisibleAttribute(bool visible)
Parameters
|
System.Boolean
visible
if set to true the member will be exposed to scripts, if false the member will be hidden. |
Properties
Visible
Gets a value indicating whether this MoonSharpVisibleAttribute is set to "visible".
Declaration
public bool Visible { get; }
Property Value
|
System.Boolean
|