예제 #1
0
        internal void CreateContext(RouteCollection routes, object state)
        {
            var    context    = new MaterialCMSAppRegistrationContext(this.AppName, routes, state);
            string @namespace = this.GetType().Namespace;

            if (@namespace != null)
            {
                context.Namespaces.Add(@namespace + ".*");
            }
            this.RegisterApp(context);
        }
예제 #2
0
 protected abstract void RegisterApp(MaterialCMSAppRegistrationContext context);