public static ICompositeContainerBuilder AddRest(this ICompositeContainerBuilder composite) { // Add plugin for Rest API support: composite.AddPlugin <RestPlugin>(); return(composite); }
/// <summary> /// Adds the Settings Plugin to the composite container. /// </summary> /// <param name="composite">Reference to the composite container builder.</param> /// <returns>Reference to the composite container builder.</returns> public static ICompositeContainerBuilder AddSettings(this ICompositeContainerBuilder composite) { if (composite == null) { throw new ArgumentNullException(nameof(composite)); } composite.AddPlugin <SettingsPlugin>(); return(composite); }
public static ICompositeContainerBuilder AddWebMvc(this ICompositeContainerBuilder composite, Action <WebMvcConfig> configure = null) { // Add the MVC Plugin: composite.AddPlugin <WebMvcPlugin>(); // Call configure delegate on configuration if specified. if (configure != null) { composite.InitPluginConfig(configure); } return(composite); }
/// <summary> /// Add messaging plugin used for in-process messaging and that can be extended /// by other plugins by registering message-publishers. /// </summary> /// <param name="composite">Reference to the composite container builder.</param> /// <returns>Reference to the composite container builder.</returns> public static ICompositeContainerBuilder AddMessaging(this ICompositeContainerBuilder composite) { return(composite.AddPlugin <MessagingPlugin>()); }
public static ICompositeContainerBuilder AddRoslyn(this ICompositeContainerBuilder composite) { return(composite.AddPlugin <RoslynPlugin>()); }
public static ICompositeContainerBuilder AddMapping(this ICompositeContainerBuilder composite) { // Add mapping plugin: return(composite.AddPlugin <MappingPlugin>()); }