public override IConfigurationLoader[] GetGlassLoaders(Context context) { var loaders1 = GlassMapperScCustom.GlassLoaders(); var loaders2 = base.GetGlassLoaders(context); return(loaders1.Concat(loaders2).ToArray()); }
public static void Start() { //install the custom services var resolver = GlassMapperScCustom.CreateResolver(); //create a context var context = Glass.Mapper.Context.Create(resolver); LoadConfigurationMaps(resolver, context); context.Load( GlassMapperScCustom.GlassLoaders() ); GlassMapperScCustom.PostLoad(resolver); //EditFrameBuilder.EditFrameItemPrefix = "Glass-"; }