public CollectionComponent_CountLimiter(EntryComponent_Collection collection, CollectionComponent_CountLimiter other) { if (collection == null) { throw new ArgumentNullException("collection"); } _collection = collection; _minCount = other._minCount; _maxCount = other._maxCount; _countType = other._countType; _showAddButton = other._showAddButton; _showRemoveButton = other._showRemoveButton; }
protected override void Initialize(string componentName = "Object field name") { base.Initialize(componentName); _countLimiter = null; _template = null; }