static HtmlBinding() { Providers = new HtmlBindingContextProviderCollection(); ExpressionBinders = new ExpressionBinderCollection(); ElementBinders = new List <IHtmlBinder>(); Providers.Add(new HtmlListBindingContextProvider()); StyleBinder = new StyleBinder(); ScriptBinder = new ScriptBinder(); LiteralBinder = new LiteralBinder(); EvalExpressionBinder = new EvalExpressionBinder(); EvalListExpressionBinder = new EvalListExpressionBinder(); ElementBinders.Add(StyleBinder); ElementBinders.Add(ScriptBinder); ElementBinders.Add(LiteralBinder); ExpressionBinders.Add(EvalExpressionBinder); ExpressionBinders.Add(EvalListExpressionBinder); }
static HtmlBinding() { Providers = new HtmlBindingContextProviderCollection(); ExpressionBinders = new ExpressionBinderCollection(); ElementBinders = new List<IHtmlBinder>(); Providers.Add( new HtmlListBindingContextProvider() ); StyleBinder = new StyleBinder(); ScriptBinder = new ScriptBinder(); LiteralBinder = new LiteralBinder(); EvalExpressionBinder = new EvalExpressionBinder(); EvalListExpressionBinder = new EvalListExpressionBinder(); ElementBinders.Add( StyleBinder ); ElementBinders.Add( ScriptBinder ); ElementBinders.Add( LiteralBinder ); ExpressionBinders.Add( EvalExpressionBinder ); ExpressionBinders.Add( EvalListExpressionBinder ); }