Class CipElement
Class that represents an element.
Inheritance
System.Object
CipElement
Implements
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: Fibula.Parsing.CipFiles.Models
Assembly: Fibula.Parsing.CipFiles.dll
Syntax
public class CipElement : IParsedElement
Constructors
| Improve this Doc View SourceCipElement(Int32, IList<IParsedAttribute>)
Initializes a new instance of the CipElement class.
Declaration
public CipElement(int id, IList<IParsedAttribute> attributes = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The id of the element. |
System.Collections.Generic.IList<IParsedAttribute> | attributes | The attributes of this element. |
Properties
| Improve this Doc View SourceAttributes
Gets the attributes of the element.
Declaration
public IList<IParsedAttribute> Attributes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<IParsedAttribute> |
Id
Gets the id of the element.
Declaration
public int Id { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsFlag
Gets a value indicating whether this element is a flag.
Declaration
public bool IsFlag { get; }
Property Value
Type | Description |
---|---|
System.Boolean |