Class MetalMacro
Describes a METAL macro.
Inheritance
System.Object
MetalMacro
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp.Metal
Assembly: ZptSharp.Abstractions.dll
Syntax
public class MetalMacro
Constructors
| Improve this Doc View SourceMetalMacro(String, INode)
Initializes a new instance of the MetalMacro class.
Declaration
public MetalMacro(string name, INode node)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Macro name. |
INode | node | The node for the macro. |
Properties
| Improve this Doc View SourceName
Gets the name of the macro.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The macro name. |
Node
Gets the DOM node for the root of the macro.
Declaration
public INode Node { get; }
Property Value
Type | Description |
---|---|
INode | The node. |
Methods
| Improve this Doc View SourceGetCopy()
Gets a copy of the current macro instance, using a cloned copy of the node.
Declaration
public MetalMacro GetCopy()
Returns
Type | Description |
---|---|
MetalMacro | The copied macro. |