Notifications
using DirectScale.Disco.Extension.Hooks.Associates.Notifications;
GetCustomEmailParameters
public class GetCustomEmailParameters : IHook<GetCustomEmailParametersHookRequest, GetCustomEmailParametersHookResponse>
{
public GetCustomEmailParameters() { }
public GetCustomEmailParametersHookResponse Invoke(GetCustomEmailParametersHookRequest request, Func<GetCustomEmailParametersHookRequest, GetCustomEmailParametersHookResponse> func)
{
return func(request);
}
}
services.AddTransient<IHook<GetCustomEmailParametersHookRequest, GetCustomEmailParametersHookResponse>, GetCustomEmailParameters>();
{
"TemplateName": "string"
}
{
"ParameterNames": null
}
GetCustomEmailTemplateNames
public class GetCustomEmailTemplateNames : IHook<GetCustomEmailTemplateNamesHookRequest, GetCustomEmailTemplateNamesHookResponse>
{
public GetCustomEmailTemplateNames() { }
public GetCustomEmailTemplateNamesHookResponse Invoke(GetCustomEmailTemplateNamesHookRequest request, Func<GetCustomEmailTemplateNamesHookRequest, GetCustomEmailTemplateNamesHookResponse> func)
{
return func(request);
}
}
services.AddTransient<IHook<GetCustomEmailTemplateNamesHookRequest, GetCustomEmailTemplateNamesHookResponse>, GetCustomEmailTemplateNames>();
{}
{
"TemplateNames": null
}
GetEmailData
public class GetEmailData : IHook<GetEmailDataHookRequest, GetEmailDataHookResponse>
{
public GetEmailData() { }
public GetEmailDataHookResponse Invoke(GetEmailDataHookRequest request, Func<GetEmailDataHookRequest, GetEmailDataHookResponse> func)
{
return func(request);
}
}
services.AddTransient<IHook<GetEmailDataHookRequest, GetEmailDataHookResponse>, GetEmailData>();
{
"TemplateName": "string",
"DataParameters": null
}
{
"DataMap": null
}
GetEmailPlaceholders
public class GetEmailPlaceholders : IHook<GetEmailPlaceholdersHookRequest, GetEmailPlaceholdersHookResponse>
{
public GetEmailPlaceholders() { }
public GetEmailPlaceholdersHookResponse Invoke(GetEmailPlaceholdersHookRequest request, Func<GetEmailPlaceholdersHookRequest, GetEmailPlaceholdersHookResponse> func)
{
return func(request);
}
}
services.AddTransient<IHook<GetEmailPlaceholdersHookRequest, GetEmailPlaceholdersHookResponse>, GetEmailPlaceholders>();
{
"TemplateName": "string"
}
{
"Placeholders": null
}
Updated over 3 years ago