internal SwFeature(ISwDocument doc, IFeature feat, bool created) : base(feat, doc) { if (doc == null) { throw new ArgumentNullException(nameof(doc)); } Dimensions = new SwFeatureDimensionsCollection(m_Doc, this); m_Creator = new ElementCreator <IFeature>(CreateFeature, feat, created); }
internal SwFeature(IFeature feat, ISwDocument doc, ISwApplication app, bool created) : base(feat, doc, app) { if (doc == null) { throw new ArgumentNullException(nameof(doc)); } Dimensions = new SwFeatureDimensionsCollection(this, OwnerDocument, OwnerApplication); m_Creator = new ElementCreator <IFeature>(CreateFeature, feat, created); }