public static IConfigurationLoader[] GlassLoaders() { var pipelineArgs = new GetGlassLoadersPipelineArgs(); GetGlassLoadersPipeline.Run(pipelineArgs); return(pipelineArgs.GlassLoaders.ToArray()); }
public virtual IConfigurationLoader[] GetGlassLoaders(Context context) { var getGlassLoadersArgs = new GetGlassLoadersPipelineArgs { Context = context, Loaders = new List <IConfigurationLoader>() }; GetGlassLoadersPipeline.Run(getGlassLoadersArgs); return(getGlassLoadersArgs.Loaders.ToArray()); }