C# Class Microsoft.Azure.Commands.DataLakeStore.Models.DataLakeStoreFileSystemCmdletBase

The base class for all Microsoft Azure DataLakeStoreFileSystem Management cmdlets
Inheritance: Microsoft.Azure.Commands.ResourceManager.Common.AzureRMCmdlet
Show file Open project: Azure/azure-powershell Class Usage Examples

Protected Properties

Property Type Description
CmdletCancellationToken System.Threading.CancellationToken

Protected Methods

Method Description
BeginProcessing ( ) : void

Cmdlet begin process

StopProcessing ( ) : void

stop processing time-consuming operation should work with ShouldForceQuit

Private Methods

Method Description
BytesToString ( byte content, FileSystemCmdletProviderEncoding type ) : string
GetBytes ( object content, FileSystemCmdletProviderEncoding encoding ) : byte[]
GetBytes ( string content, FileSystemCmdletProviderEncoding type ) : byte[]

Converts the stream type string into an Encoding

UsingByteEncoding ( FileSystemCmdletProviderEncoding encoding ) : bool

Gets the Byte Encoding status of the StreamType parameter. Returns true if the stream was opened with "Byte" encoding, false otherwise.

Method Details

BeginProcessing() protected method

Cmdlet begin process
protected BeginProcessing ( ) : void
return void

StopProcessing() protected method

stop processing time-consuming operation should work with ShouldForceQuit
protected StopProcessing ( ) : void
return void

Property Details

CmdletCancellationToken protected property

protected CancellationToken,System.Threading CmdletCancellationToken
return System.Threading.CancellationToken