protected virtual void SetStorageProperties(AttributesFactory attrFactory)
 {
     attrFactory.SetDiskPolicy(diskPolicy);
     if (initialCapacity != null)
     {
         attrFactory.SetInitialCapacity(initialCapacity.Value);
     }
     if (loadFactor != null)
     {
         attrFactory.SetLoadFactor(loadFactor.Value);
     }
     if (concurrencyLevel != null)
     {
         attrFactory.SetConcurrencyLevel(concurrencyLevel.Value);
     }
 }
 protected virtual void SetStorageProperties(AttributesFactory attributesFactory)
 {
     attributesFactory.SetDiskPolicy(diskPolicy);
     if (initialCapacity != null)
     {
         attributesFactory.SetInitialCapacity(initialCapacity.Value);
     }
     if (loadFactor != null)
     {
         attributesFactory.SetLoadFactor(loadFactor.Value);
     }
     if (concurrencyLevel != null)
     {
         attributesFactory.SetConcurrencyLevel(concurrencyLevel.Value);
     }
 }