Ejemplo n.º 1
0
 protected static IExpressionFactory CreateExpressionFactory(string language)
 {
     IExpressionFactory factory = new ExpressionFactoryExtensionPoint().CreateExtension(language);
     if (factory == null)
     {
         return _defaultExpressionFactory;
     }
     else
         return factory;
 }
Ejemplo n.º 2
0
        protected static IExpressionFactory CreateExpressionFactory(string language)
        {
            IExpressionFactory factory = new ExpressionFactoryExtensionPoint().CreateExtension(language);

            if (factory == null)
            {
                return(_defaultExpressionFactory);
            }
            else
            {
                return(factory);
            }
        }