internal StandardFunctionBase(string name, string namespaceName, Type returnType, EntityTokenFactory entityTokenFactory)
        {
            if (string.IsNullOrEmpty(name)) throw new ArgumentNullException("name");
            if (string.IsNullOrEmpty(namespaceName)) throw new ArgumentNullException("namespaceName");
            if (entityTokenFactory == null) throw new ArgumentNullException("entityTokenFactory");

            this.Namespace = namespaceName;
            this.Name = name;
            this.ReturnType = returnType;

            _entityTokenFactory = entityTokenFactory;

            this.ResourceHandleNameStem = string.Format("{0}.{1}", this.Namespace, this.Name);
        }
Example #2
0
 public Format(EntityTokenFactory entityTokenFactory)
     : base("Format", "Composite.Utils.String", typeof(string), entityTokenFactory)
 {
 }
 public XElementsToDictionaryFunction(EntityTokenFactory entityTokenFactory)
     : base("XElementsToDictionary", "Composite.Utils.Dictionary", typeof(IDictionary), entityTokenFactory)
 {
 }
 public GlobalizationXsltExtensionsFunction(EntityTokenFactory entityTokenFactory)
     : base("Globalization", "Composite.Xslt.Extensions", typeof(IXsltExtensionDefinition), entityTokenFactory)
 {
 }
Example #5
0
 public CookieValueFunction(EntityTokenFactory entityTokenFactory)
     : base("CookieValue", "Composite.Web.Request", typeof(string), entityTokenFactory)
 {
 }
 public PathInfoGuidFunction(EntityTokenFactory entityTokenFactory)
     : base("PathInfoGuid", "Composite.Web.Request", typeof(Guid), entityTokenFactory)
 {
 }
 public StringInCommaSeparatedListPredicateFunction(EntityTokenFactory entityTokenFactory)
     : base("StringInCommaSeparatedList", "Composite.Utils.Predicates", typeof(Expression<Func<string, bool>>), entityTokenFactory)
 {
 }
Example #8
0
 public LoadFileFunction(EntityTokenFactory entityTokenFactory)
     : base("LoadFile", "Composite.Xml", typeof(XElement), entityTokenFactory)
 {
 }
Example #9
0
 public DateTimeFunction(EntityTokenFactory entityTokenFactory)
     : base("DateTime", "Composite.Constant", typeof(DateTime), entityTokenFactory)
 {
 }
 public DateFormattingXsltExtensionsFunction(EntityTokenFactory entityTokenFactory)
     : base("DateFormatting", "Composite.Xslt.Extensions", typeof(IXsltExtensionDefinition), entityTokenFactory)
 {
 }
 public QueryStringGuidValueFunction(EntityTokenFactory entityTokenFactory)
     : base("QueryStringGuidValue", "Composite.Web.Request", typeof(Guid), entityTokenFactory)
 {
 }
 public PageObjectCacheFunction(EntityTokenFactory entityTokenFactory)
     : base("PageObjectCache", "Composite.Utils.Caching", typeof(object), entityTokenFactory)
 {
 }
Example #13
0
 public ApplicationPath(EntityTokenFactory entityTokenFactory)
     : base("ApplicationPath", "Composite.Web.Server", typeof(string), entityTokenFactory)
 {
 }
 public BrowserPlatformFunction(EntityTokenFactory entityTokenFactory)
     : base("BrowserPlatform", "Composite.Web.Client", typeof(string), entityTokenFactory)
 {
 }
Example #15
0
 public BooleanFunction(EntityTokenFactory entityTokenFactory)
     : base("Boolean", "Composite.Constant", typeof(bool), entityTokenFactory)
 {
 }
 public GuidEqualsPredicateFunction(EntityTokenFactory entityTokenFactory)
     : base("GuidEquals", "Composite.Utils.Predicates", typeof(Expression<Func<Guid, bool>>), entityTokenFactory)
 {
 }
 public LangAttributeFunction(EntityTokenFactory entityTokenFactory)
     : base("LangAttribute", "Composite.Web.Html.Template", typeof(XAttribute), entityTokenFactory)
 {
 }
 public IntegerEqualsPredicateFunction(EntityTokenFactory entityTokenFactory)
     : base("IntegerEquals", "Composite.Utils.Predicates", typeof(Expression<Func<int, bool>>), entityTokenFactory)
 {
 }
 public AppSettingsValueFunction(EntityTokenFactory entityTokenFactory)
     : base("AppSettingsValue", "Composite.Utils.Configuration", typeof(string), entityTokenFactory)
 {
 }
 public XhtmlDocumentFunction(EntityTokenFactory entityTokenFactory)
     : base("XhtmlDocument", "Composite.Constant", typeof(XhtmlDocument), entityTokenFactory)
 {
 }
Example #21
0
 public NewGuid(EntityTokenFactory entityTokenFactory)
     : base("NewGuid", "Composite.Utils.Guid", typeof(System.Guid), entityTokenFactory)
 {
 }
 public SessionVariableFunction(EntityTokenFactory entityTokenFactory)
     : base("SessionVariable", "Composite.Web.Request", typeof(string), entityTokenFactory)
 {
 }
 public FormPostDecimalValueFunction(EntityTokenFactory entityTokenFactory)
     : base("FormPostDecimalValue", "Composite.Web.Request", typeof(decimal), entityTokenFactory)
 {
 }
Example #24
0
 public DecimalFunction(EntityTokenFactory entityTokenFactory)
     : base("Decimal", "Composite.Constant", typeof(decimal), entityTokenFactory)
 {
 }
 public StringStartsWithPredicateFunction(EntityTokenFactory entityTokenFactory)
     : base("StringStartsWith", "Composite.Utils.Predicates", typeof(Expression<Func<string, bool>>), entityTokenFactory)
 {
 }
 public SetCookieValueFunction(EntityTokenFactory entityTokenFactory)
     : base("SetCookieValue", "Composite.Web.Response", typeof(string), entityTokenFactory)
 {
 }
 public MarkupParserXsltExtensionsFunction(EntityTokenFactory entityTokenFactory)
     : base("MarkupParser", "Composite.Xslt.Extensions", typeof(IXsltExtensionDefinition), entityTokenFactory)
 {
 }
Example #28
0
 public IsLessThanFunction(EntityTokenFactory entityTokenFactory)
     : base("IsLessThan", "Composite.Utils.Compare", typeof(bool), entityTokenFactory)
 {
 }
Example #29
0
 public IsCrawlerFunction(EntityTokenFactory entityTokenFactory)
     : base("IsCrawler", "Composite.Web.Client", typeof(bool), entityTokenFactory)
 {
 }
 public NullableDateTimeLessThanPredicateFunction(EntityTokenFactory entityTokenFactory)
     : base("NullableDateTimeLessThan", "Composite.Utils.Predicates", typeof(Expression<Func<DateTime?, bool>>), entityTokenFactory)
 {
 }
 public DowncastableStandardFunctionBase(string name, string namespaceName, Type returnType, EntityTokenFactory entityTokenFactory)
     : base(name, namespaceName, returnType, entityTokenFactory)
 {
 }