Beispiel #1
0
        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);
        }
Beispiel #2
0
    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 );
    }