Class SchemaItem
Represents a base class for all schema items.
public abstract class SchemaItem : IVisitorAcceptor
- Inheritance
-
SchemaItem
- Implements
- Derived
- Inherited Members
Constructors
SchemaItem(SchemaItem, string)
Initializes a new instance of the SchemaItem class.
protected SchemaItem(SchemaItem parent, string name)
Parameters
parentSchemaItemA reference to the parent schema item.
namestringThe name of the schema item. Should not be null or whitespace.
Properties
FullName
Gets the fully qualified name of the schema item, which may include the owner or other contextual information, depending on the implementation of the derived class.
public virtual string FullName { get; }
Property Value
Name
Gets the name of the schema item.
public string Name { get; }
Property Value
Parent
Gets a reference to the parent schema item.
public SchemaItem Parent { get; }
Property Value
Methods
AcceptVisitor(IVisitor)
Accepts a visitor, allowing it to perform operations on the implementing class. The visitor will typically have specific methods for handling different types of elements in the object structure.
public abstract void AcceptVisitor(IVisitor visitor)
Parameters
visitorIVisitorThe visitor instance that will perform operations on the implementing class.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.