/// <summary>
 /// Internals the set connector.
 /// </summary>
 /// <param name="fi">The Revit connector</param>
 protected void InternalSetConnector(Autodesk.Revit.DB.Connector fi)
 {
     this.InternalConnector        = fi;
     this.ConnectorId              = fi.Id;
     this.InternalElementId        = fi.Owner.Id;
     this.InternalUniqueId         = fi.Owner.UniqueId;
     this.AllRefs                  = fi.AllRefs;
     this.ConnectorManager         = fi.ConnectorManager;
     this.ConnectorType            = fi.ConnectorType;
     this.Domain                   = fi.Domain;
     this.IsConnected              = fi.IsConnected;
     this.MEPSystem                = fi.MEPSystem;
     this.Origin                   = fi.Origin;
     this.Owner                    = fi.Owner;
     this.Shape                    = fi.Shape;
     this.InternalCoordianteSystem = fi.CoordinateSystem;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="Connector"/> class.
 /// </summary>
 /// <param name="instance">The instance.</param>
 public Connector(Autodesk.Revit.DB.Connector instance)
 {
     SafeInit(() => InitObject(instance));
 }
 /// <summary>
 /// Initialize a Connector
 /// </summary>
 /// <param name="instance">The instance.</param>
 private void InitObject(Autodesk.Revit.DB.Connector instance)
 {
     InternalSetConnector(instance);
 }