Beispiel #1
0
 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;
 }
Beispiel #2
0
 protected override void Initialize(string componentName = "Object field name")
 {
     base.Initialize(componentName);
     _countLimiter = null;
     _template     = null;
 }