C# Class Microsoft.Protocols.TestSuites.SharedAdapter.ChunkingFactory

This class is used to create instance of AbstractChunking.
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
CreateChunkingInstance ( RootNodeObject nodeObject ) : AbstractChunking

This method is used to create the instance of AbstractChunking.

CreateChunkingInstance ( byte fileContent ) : AbstractChunking

This method is used to create the instance of AbstractChunking.

CreateChunkingInstance ( byte fileContent, ChunkingMethod chunkingMethod ) : AbstractChunking

This method is used to create the instance of AbstractChunking.

Private Methods

Method Description
ChunkingFactory ( ) : System

Prevents a default instance of the ChunkingFactory class from being created

Method Details

CreateChunkingInstance() public static method

This method is used to create the instance of AbstractChunking.
public static CreateChunkingInstance ( RootNodeObject nodeObject ) : AbstractChunking
nodeObject RootNodeObject Specify the root node object.
return AbstractChunking

CreateChunkingInstance() public static method

This method is used to create the instance of AbstractChunking.
public static CreateChunkingInstance ( byte fileContent ) : AbstractChunking
fileContent byte The content of the file.
return AbstractChunking

CreateChunkingInstance() public static method

This method is used to create the instance of AbstractChunking.
public static CreateChunkingInstance ( byte fileContent, ChunkingMethod chunkingMethod ) : AbstractChunking
fileContent byte The content of the file.
chunkingMethod ChunkingMethod The type of chunking methods.
return AbstractChunking