Пример #1
0
        public static T GetDataSourceItem <T>(this IWebFormsContext context, Control control, Action <GetKnownItemBuilder> config) where T : class
        {
            var builder = new GetKnownItemBuilder();

            config(builder);
            return(context.GetDataSourceItem <T>(control, builder));
        }
Пример #2
0
 public StubAbstractGlassUserControl(IWebFormsContext context) : base(context)
 {
 }
Пример #3
0
 protected AbstractGlassPage(IWebFormsContext webContext)
 {
     WebContext = webContext;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GlassPage{T}"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public GlassPage(IWebFormsContext context) : base(context)
 {
 }
Пример #5
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="GlassWebControl{T}" /> class.
 /// </summary>
 /// <param name="context">The context.</param>
 public GlassWebControl(IWebFormsContext webContext)
     : base(webContext)
 {
 }
Пример #6
0
 public AbstractGlassWebControl(IWebFormsContext webContext)
 {
     WebContext = webContext;
 }
 protected AbstractGlassUserControl(IWebFormsContext context)
 {
     WebContext = context;
 }