internal AppItemContext(AppItem Container, ModelView.ModelViewAppItem ModelViewAppItem, ModelSecurity.ModelSecObject ModelSecObject, Context Context) { _container = Container; _modelViewAppItem = ModelViewAppItem; _modelSecObject = ModelSecObject; _context = Context; }
public AppItemContext GetAppItemContext(string Name, Context Context) { AppItem appItem = GetAppItem(Name); AppItemContext itemContext = appItem[Context]; if (itemContext == null) { itemContext = appItem.AddAppItemContext(null, Context); } return itemContext; }
public AppItemContext AddAppItemContext(ModelView.ModelViewAppItem ModelViewAppItem, Context Context) { return this.AppItemContexts.Add(ModelViewAppItem, Context); }
public AppItemContext this[Context Context] { get { return this.AppItemContexts[Context]; } }