public GenericTriggerbinding( ParameterInfo parameter, TAttribute attribute, TraceWriter trace, GenericFileTriggerBindingProvider <TAttribute, TFile> parent) { this._parameter = parameter; this._attribute = attribute; this._parent = parent; this._trace = trace; _bindingDataProvider = BindingDataProvider.FromTemplate(_attribute.Path); _bindingContract = CreateBindingContract(); }
public GenericTriggerbinding( JobHostConfiguration config, ParameterInfo parameter, TAttribute attribute, TraceWriter trace, GenericFileTriggerBindingProvider <TAttribute, TFile> parent) { this._config = config; this._parameter = parameter; this._attribute = attribute; this._parent = parent; this._trace = trace; MethodInfo methodInfo = (MethodInfo)parameter.Member; _functionName = methodInfo.Name; _bindingDataProvider = BindingDataProvider.FromTemplate(_attribute.Path.TrimStart('/'), ignoreCase: true); _bindingContract = CreateBindingContract(); }