C# Class Two10.AzureBlobDrive.Extensions

ファイルを表示 Open project: richorama/AzureBlobDrive

Public Methods

Method Description
AcquireLease ( this blob ) : string
CachedListBlobs ( this container ) : IListBlobItem[]
InvalidateCache ( this container ) : void
ReleaseLease ( this blob, string leaseId ) : void
SplitFilename ( this filename ) : string[]
SplitIntoPath ( this container ) : string[]
SplitUrl ( this filename ) : string[]
ToBlobFilename ( this uri ) : string
ToBlobName ( this filename ) : string
ToBlobPath ( this uri ) : string
ToBlobPathWithoutFilename ( this uri ) : string
ToContainerName ( this filename, bool includesFilename ) : string
ToWindowsPath ( this uri ) : string

Method Details

AcquireLease() public static method

public static AcquireLease ( this blob ) : string
blob this
return string

CachedListBlobs() public static method

public static CachedListBlobs ( this container ) : IListBlobItem[]
container this
return IListBlobItem[]

InvalidateCache() public static method

public static InvalidateCache ( this container ) : void
container this
return void

ReleaseLease() public static method

public static ReleaseLease ( this blob, string leaseId ) : void
blob this
leaseId string
return void

SplitFilename() public static method

public static SplitFilename ( this filename ) : string[]
filename this
return string[]

SplitIntoPath() public static method

public static SplitIntoPath ( this container ) : string[]
container this
return string[]

SplitUrl() public static method

public static SplitUrl ( this filename ) : string[]
filename this
return string[]

ToBlobFilename() public static method

public static ToBlobFilename ( this uri ) : string
uri this
return string

ToBlobName() public static method

public static ToBlobName ( this filename ) : string
filename this
return string

ToBlobPath() public static method

public static ToBlobPath ( this uri ) : string
uri this
return string

ToBlobPathWithoutFilename() public static method

public static ToBlobPathWithoutFilename ( this uri ) : string
uri this
return string

ToContainerName() public static method

public static ToContainerName ( this filename, bool includesFilename ) : string
filename this
includesFilename bool
return string

ToWindowsPath() public static method

public static ToWindowsPath ( this uri ) : string
uri this
return string