public static ShareItem ShareItem( string name, ShareProperties properties, string snapshot) { return(new ShareItem() { Name = name, Properties = properties, Snapshot = snapshot, }); }
/// <summary> /// Creates a new ShareItem instance for mocking. /// </summary> public static ShareItem ShareItem( string name, ShareProperties properties, string snapshot = null, bool?isDeleted = null, string versionId = null) { return(new ShareItem() { Name = name, Properties = properties, Snapshot = snapshot, IsDeleted = isDeleted, VersionId = versionId }); }