Share via


ShareModelFactory Class

Definition

ShareModelFactory provides utilities for mocking.

public static class ShareModelFactory
type ShareModelFactory = class
Public Class ShareModelFactory
Inheritance
ShareModelFactory

Methods

FileLeaseReleaseInfo(ETag, DateTimeOffset)

Creates a new FileLeaseReleaseInfo instance for mocking.

PermissionInfo(String)

Creates a new PermissionInfo instance for mocking.

ShareFileCopyInfo(ETag, DateTimeOffset, String, CopyStatus)

Creates a new ShareFileCopyInfo instance for mocking.

ShareFileHandle(String, String, String, String, String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<ShareFileHandleAccessRights>)

Creates a new ShareFileHandle instance for mocking.

ShareFileItemProperties(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<ETag>)

Creates a new ShareFileItemProperties instance for mocking.

ShareFileLease(ETag, DateTimeOffset, String)

Creates a new ShareFileLease instance for mocking.

ShareFileRangeInfo(DateTimeOffset, ETag, Int64, IEnumerable<HttpRange>)

Creates a new ShareFileRangeInfo instance for mocking.

ShareFileUploadInfo(ETag, DateTimeOffset, Byte[], Boolean)

Creates a new ShareFileUploadInfo instance for mocking.

ShareInfo(ETag, DateTimeOffset)

Creates a new ShareInfo instance for mocking.

ShareItem(String, ShareProperties, String, Nullable<Boolean>, String)

Creates a new ShareItem instance for mocking.

ShareProperties(String, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, Nullable<ETag>, Nullable<DateTimeOffset>, String, Nullable<ShareLeaseStatus>, Nullable<ShareLeaseState>, Nullable<ShareLeaseDuration>, Nullable<Int32>, IDictionary<String,String>, Nullable<ShareProtocols>, Nullable<ShareRootSquash>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<Int64>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Creates a new ShareProperties instance for mocking.

ShareSnapshotInfo(String, ETag, DateTimeOffset)

Creates a new ShareSnapshotInfo instance for mocking.

ShareStatistics(Int64)

Creates a new ShareStatistics instance for mocking.

StorageClosedHandlesSegment(String, Int32, Int32)

Creates a new StorageClosedHandlesSegment instance for mocking.

Applies to