C# 클래스 Microsoft.Azure.Commands.Common.Authentication.Models.MemoryDataStore

상속: IDataStore
파일 보기 프로젝트 열기: Azure/azure-powershell 1 사용 예제들

공개 메소드들

메소드 설명
AddCertificate ( X509Certificate2 cert ) : void
CopyFile ( string oldPath, string newPath ) : void
CreateDirectory ( string path ) : void
DeleteDirectory ( string dir ) : void
DeleteFile ( string path ) : void
DirectoryExists ( string path ) : bool
EmptyDirectory ( string dirPath ) : void
FileExists ( string path ) : bool
GetCertificate ( string thumbprint ) : X509Certificate2
GetDirectories ( string sourceDirName ) : string[]
GetDirectories ( string startDirectory, string filePattern, SearchOption options ) : string[]
GetFileAttributes ( string path ) : FileAttributes
GetFiles ( string sourceDirName ) : string[]
GetFiles ( string startDirectory, string filePattern, SearchOption options ) : string[]
ReadFileAsBytes ( string path ) : byte[]
ReadFileAsStream ( string path ) : Stream
ReadFileAsText ( string path ) : string
RemoveCertificate ( string thumbprint ) : void
RenameFile ( string oldPath, string newPath ) : void
WriteFile ( string path, byte contents ) : void
WriteFile ( string path, string contents ) : void
WriteFile ( string path, string contents, Encoding encoding ) : void

비공개 메소드들

메소드 설명
WildcardToRegex ( string wildcard ) : string

Converts unix asterisk based file pattern to regex

메소드 상세

AddCertificate() 공개 메소드

public AddCertificate ( X509Certificate2 cert ) : void
cert System.Security.Cryptography.X509Certificates.X509Certificate2
리턴 void

CopyFile() 공개 메소드

public CopyFile ( string oldPath, string newPath ) : void
oldPath string
newPath string
리턴 void

CreateDirectory() 공개 메소드

public CreateDirectory ( string path ) : void
path string
리턴 void

DeleteDirectory() 공개 메소드

public DeleteDirectory ( string dir ) : void
dir string
리턴 void

DeleteFile() 공개 메소드

public DeleteFile ( string path ) : void
path string
리턴 void

DirectoryExists() 공개 메소드

public DirectoryExists ( string path ) : bool
path string
리턴 bool

EmptyDirectory() 공개 메소드

public EmptyDirectory ( string dirPath ) : void
dirPath string
리턴 void

FileExists() 공개 메소드

public FileExists ( string path ) : bool
path string
리턴 bool

GetCertificate() 공개 메소드

public GetCertificate ( string thumbprint ) : X509Certificate2
thumbprint string
리턴 System.Security.Cryptography.X509Certificates.X509Certificate2

GetDirectories() 공개 메소드

public GetDirectories ( string sourceDirName ) : string[]
sourceDirName string
리턴 string[]

GetDirectories() 공개 메소드

public GetDirectories ( string startDirectory, string filePattern, SearchOption options ) : string[]
startDirectory string
filePattern string
options SearchOption
리턴 string[]

GetFileAttributes() 공개 메소드

public GetFileAttributes ( string path ) : FileAttributes
path string
리턴 FileAttributes

GetFiles() 공개 메소드

public GetFiles ( string sourceDirName ) : string[]
sourceDirName string
리턴 string[]

GetFiles() 공개 메소드

public GetFiles ( string startDirectory, string filePattern, SearchOption options ) : string[]
startDirectory string
filePattern string
options SearchOption
리턴 string[]

ReadFileAsBytes() 공개 메소드

public ReadFileAsBytes ( string path ) : byte[]
path string
리턴 byte[]

ReadFileAsStream() 공개 메소드

public ReadFileAsStream ( string path ) : Stream
path string
리턴 Stream

ReadFileAsText() 공개 메소드

public ReadFileAsText ( string path ) : string
path string
리턴 string

RemoveCertificate() 공개 메소드

public RemoveCertificate ( string thumbprint ) : void
thumbprint string
리턴 void

RenameFile() 공개 메소드

public RenameFile ( string oldPath, string newPath ) : void
oldPath string
newPath string
리턴 void

WriteFile() 공개 메소드

public WriteFile ( string path, byte contents ) : void
path string
contents byte
리턴 void

WriteFile() 공개 메소드

public WriteFile ( string path, string contents ) : void
path string
contents string
리턴 void

WriteFile() 공개 메소드

public WriteFile ( string path, string contents, Encoding encoding ) : void
path string
contents string
encoding System.Text.Encoding
리턴 void