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)); }
public StubAbstractGlassUserControl(IWebFormsContext context) : base(context) { }
protected AbstractGlassPage(IWebFormsContext webContext) { WebContext = webContext; }
/// <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) { }
/// <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) { }
public AbstractGlassWebControl(IWebFormsContext webContext) { WebContext = webContext; }
protected AbstractGlassUserControl(IWebFormsContext context) { WebContext = context; }