/// <summary>
 ///
 /// </summary>
 /// <param name="key"></param>
 /// <param name="type"></param>
 /// <param name="persistentOps"></param>
 public ChangeTypeParam(string key, Enumerations.StorageClass type, BasePersistentOps persistentOps = null)
 {
     Key           = key;
     Type          = type;
     PersistentOps = persistentOps ?? new BasePersistentOps();
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="keys">文件key集合</param>
 /// <param name="type">存储类型</param>
 /// <param name="persistentOps">策略</param>
 public ChangeTypeRangeParam(List <string> keys, Enumerations.StorageClass type, BasePersistentOps persistentOps = null)
 {
     Keys          = keys ?? new List <string>();
     Type          = type;
     PersistentOps = persistentOps ?? new BasePersistentOps();
 }