WithTemplateProvider(TemplateProvider)
Returns a copy of the current IAdviceFactory that will use the specified object to find template methods.
Declaration
IAdviceFactory WithTemplateProvider(TemplateProvider templateProvider)
Parameters
Type | Name | Description |
---|---|---|
TemplateProvider | templateProvider |
Returns
Type | Description |
---|---|
IAdviceFactory | An IAdviceFactory. |
WithTemplateProvider(ITemplateProvider)
Returns a copy of the current IAdviceFactory that will use the specified object to find template methods.
Declaration
IAdviceFactory WithTemplateProvider(ITemplateProvider templateProvider)
Parameters
Type | Name | Description |
---|---|---|
ITemplateProvider | templateProvider |
Returns
Type | Description |
---|---|
IAdviceFactory | An IAdviceFactory. |