public static DocumentLibraryObjectId Deserialize(string base64Id) { if (base64Id == null) { throw new ArgumentNullException("base64Id"); } byte[] byteArray = Convert.FromBase64String(base64Id); return(DocumentLibraryObjectId.Deserialize(byteArray)); }
public static DocumentLibraryObjectId Deserialize(byte[] byteArray) { if (byteArray == null) { throw new ArgumentNullException("byteArray"); } if (byteArray.Length == 0) { throw new ArgumentException("byteArray"); } UTF8Encoding utf8Encoding = new UTF8Encoding(); return(DocumentLibraryObjectId.Parse(utf8Encoding.GetString(byteArray))); }
internal ClassifyResult(DocumentLibraryObjectId objectId, Uri originalUri, UriFlags uriFlags) { this.objectId = objectId; this.originalUri = originalUri; this.uriFlags = uriFlags; }