Esempio n. 1
0
        public override IDependencyResolver CreateResolver()
        {
            var resolver = GlassMapperScCustom.CreateResolver();

            base.CreateResolver(resolver);
            return(resolver);
        }
Esempio n. 2
0
        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();

            //EditFrameBuilder.EditFrameItemPrefix = "Glass-";
        }