Beispiel #1
0
 public static AttachmentId Deserialize(string base64Id)
 {
     if (base64Id == null)
     {
         throw new ArgumentNullException(base64Id);
     }
     byte[] byteArrayId = StoreId.Base64ToByteArray(base64Id);
     return(AttachmentId.Deserialize(byteArrayId));
 }
Beispiel #2
0
 public static RuleId Deserialize(string base64Id, int ruleIndex)
 {
     if (base64Id == null)
     {
         throw new ArgumentNullException(base64Id);
     }
     byte[] byteArrayId = StoreId.Base64ToByteArray(base64Id);
     return(RuleId.Deserialize(byteArrayId, ruleIndex));
 }
 public static StoreObjectId Deserialize(string base64Id)
 {
     if (base64Id == null)
     {
         throw new ArgumentNullException("base64Id");
     }
     byte[] byteArray = StoreId.Base64ToByteArray(base64Id);
     return(StoreObjectId.Deserialize(byteArray));
 }
Beispiel #4
0
 internal VersionedId(string storeObjectIdString, string changeKeyString) : this(StoreId.Base64ToByteArray(storeObjectIdString), StoreId.Base64ToByteArray(changeKeyString))
 {
 }
Beispiel #5
0
 public VersionedId(string base64String) : this(StoreId.Base64ToByteArray(base64String))
 {
 }
Beispiel #6
0
 public static ConversationId Create(string base64String)
 {
     return(new ConversationId(StoreId.Base64ToByteArray(base64String)));
 }