protected internal ReportThemaItemWrapper(IThemaItem item, IThemaWrapper wrapper) : base(item, wrapper) { }
public static IThemaItemWrapper Wrap(IThemaItem item, IThemaWrapper wrapper) { IThemaItemWrapper result = null; if (item is IReportThemaItem) { result = new ReportThemaItemWrapper(item, wrapper); } else if (item is IFormThemaItem) { result = new FormThemaItemWrapper(item, wrapper); } else { result = new ThemaItemWrapper(item, wrapper); } result.AccomodateContext(); return result; }
public bool Authorize(string usr, IThemaItem themaitem) { lock (refresh_lock) { } return Authorize(usr, themaitem, usr + "_" + themaitem.Thema.Code + "." + themaitem.Code); }
protected ThemaItemWrapper(IThemaItem item, IThemaWrapper wrapper) { Item = item; ThemaWrapper = wrapper; Context = wrapper.Context.GetChild(); }