共用方式為


FilesModelFactory Class

Definition

FilesModelFactory provides utilities for mocking.

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

Methods

ShareFileItem(Boolean, String, Nullable<Int64>, String, ShareFileItemProperties, Nullable<NtfsFileAttributes>, String)

Creates a new StorageFileItem instance for mocking.

StorageDirectoryProperties(IDictionary<String,String>, ETag, DateTimeOffset, Boolean, String, DateTimeOffset, DateTimeOffset, DateTimeOffset, String, String, String)

Creates a new StorageDirectoryProperties instance for mocking.

StorageFileDownloadInfo(DateTimeOffset, IEnumerable<String>, String, DateTimeOffset, String, String, String, Uri, CopyStatus, Byte[], Boolean, String, String, IEnumerable<String>, DateTimeOffset, Byte[], DateTimeOffset, ETag, DateTimeOffset, String, String, String, String, Int64, String, IDictionary<String,String>, Stream, String)

Creates a new StorageFileDownloadInfo instance for mocking.

StorageFileDownloadProperties(DateTimeOffset, IDictionary<String, String>, String, String, ETag, IEnumerable<String>, String, String, IEnumerable<String>, String, DateTimeOffset, String, String, String, Uri, CopyStatus, Byte[], Boolean)

Creates a new StorageFileDownloadProperties instance for mocking.

StorageFileInfo(ETag, DateTimeOffset, Boolean, String, String, DateTimeOffset, DateTimeOffset, DateTimeOffset, String, String)

Creates a new StorageFileInfo instance for mocking.

StorageFileProperties(DateTimeOffset, IDictionary<String,String>, Int64, String, ETag, Byte[], IEnumerable<String>, String, String, IEnumerable<String>, DateTimeOffset, String, String, String, String, CopyStatus, Boolean, NtfsFileAttributes, DateTimeOffset, DateTimeOffset, DateTimeOffset, String, String, String)

Creates a new StorageFileProperties instance for mocking.

StorageFileProperties(DateTimeOffset, IDictionary<String,String>, Int64, String, ETag, Byte[], IEnumerable<String>, String, String, IEnumerable<String>, DateTimeOffset, String, String, String, String, CopyStatus, Boolean, String, DateTimeOffset, DateTimeOffset, DateTimeOffset, String, String, String)

Creates a new StorageFileProperties instance for mocking.

Applies to