C# Class Microsoft.Azure.WebJobs.Script.Description.DotNetFunctionInvoker

Inheritance: FunctionInvokerBase
Show file Open project: Azure/azure-webjobs-sdk-script Class Usage Examples

Public Methods

Method Description
OnError ( Exception ex ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
InvokeCore ( object parameters, FunctionInvocationContext context ) : Task
OnScriptFileChanged ( object sender, FileSystemEventArgs e ) : void

Private Methods

Method Description
AddFunctionDiagnostics ( ImmutableArray diagnostics ) : ImmutableArray
CreateFunctionTarget ( CancellationToken cancellationToken ) : Task
CreateResultProcessor ( ) : Action
DotNetFunctionInvoker ( ScriptHost host, FunctionMetadata functionMetadata, Collection inputBindings, Collection outputBindings, IFunctionEntryPointResolver functionEntryPointResolver, FunctionAssemblyLoader assemblyLoader, ICompilationServiceFactory compilationServiceFactory, ITraceWriterFactory traceWriterFactory = null ) : System
GetFunctionDiagnostics ( Diagnostic diagnostic ) : ImmutableArray
GetFunctionTargetAsync ( ) : Task
GetTaskResult ( Task task ) : object
InitializeFileWatcher ( ) : void
ProcessInputParameters ( object parameters ) : object[]
ReloadScript ( ) : void
RestorePackages ( ) : void
RestorePackagesAsync ( bool reloadScriptOnSuccess = true ) : Task
TraceCompilationDiagnostics ( ImmutableArray diagnostics, LogTargets logTarget = LogTargets.All ) : void
ValidateFunctionBindingArguments ( FunctionSignature functionSignature, string triggerInputName, Collection inputBindings, Collection outputBindings, ImmutableArray builder = null, bool throwIfFailed = false ) : ImmutableArray
VerifyPackageReferencesAsync ( ) : Task

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

InvokeCore() protected method

protected InvokeCore ( object parameters, FunctionInvocationContext context ) : Task
parameters object
context FunctionInvocationContext
return Task

OnError() public method

public OnError ( Exception ex ) : void
ex System.Exception
return void

OnScriptFileChanged() protected method

protected OnScriptFileChanged ( object sender, FileSystemEventArgs e ) : void
sender object
e System.IO.FileSystemEventArgs
return void