C# Class Redouble.AspNet.Webpack.Test.WebpackServiceMock

Inheritance: IWebpackService
Exibir arquivo Open project: frankwallis/WebpackAspnetMiddleware Class Usage Examples

Public Methods

Method Description
AddFile ( string filename, string contents, string mimeType ) : IWebpackFile
AddNonExistantFile ( string filename ) : void
GetFile ( string filename ) : Task
IsWebpackFile ( string filename ) : bool
OnInvalid ( ) : void
OnValid ( JToken e ) : void
WebpackServiceMock ( ) : System

Method Details

AddFile() public method

public AddFile ( string filename, string contents, string mimeType ) : IWebpackFile
filename string
contents string
mimeType string
return IWebpackFile

AddNonExistantFile() public method

public AddNonExistantFile ( string filename ) : void
filename string
return void

GetFile() public method

public GetFile ( string filename ) : Task
filename string
return Task

IsWebpackFile() public method

public IsWebpackFile ( string filename ) : bool
filename string
return bool

OnInvalid() public method

public OnInvalid ( ) : void
return void

OnValid() public method

public OnValid ( JToken e ) : void
e JToken
return void

WebpackServiceMock() public method

public WebpackServiceMock ( ) : System
return System