你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FilesModelFactory 类

定义

FilesModelFactory 提供用于模拟的实用工具。

public static class FilesModelFactory
type FilesModelFactory = class
Public Class FilesModelFactory
继承
FilesModelFactory

方法

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

创建新的 StorageFileItem 实例进行模拟。

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

创建用于模拟的新 StorageDirectoryProperties 实例。

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)

创建用于模拟的新 StorageFileDownloadInfo 实例。

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

创建用于模拟的新 StorageFileDownloadProperties 实例。

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

创建用于模拟的新 StorageFileInfo 实例。

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)

创建用于模拟的新 StorageFileProperties 实例。

适用于