internal FormsRendererFunctionBase(string name, string namespaceName, Type returnType, EntityTokenFactory entityTokenFactory)
		{
			if (string.IsNullOrEmpty(name) == true) throw new ArgumentNullException("name");
			if (string.IsNullOrEmpty(namespaceName) == true) 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);
		}
		public FormsRendererControlFunction(EntityTokenFactory entityTokenFactory)
			: base("RendererControl", "Composite.Forms", typeof(object), entityTokenFactory)
		{
			ResourceHandleNameStem = "Composite.Forms.Renderer";
		}
		public FormsRendererFunction(EntityTokenFactory entityTokenFactory)
			: base("Renderer", "Composite.Forms", typeof(XhtmlDocument), entityTokenFactory)
		{
			
		}
		public FormsRendererPropertyFunction(EntityTokenFactory entityTokenFactory)
			: base("FormsRendererParameter", "Composite.Forms", typeof(string), entityTokenFactory)
		{
		}
Exemple #5
0
        internal FormsRendererFunctionBase(string name, string namespaceName, Type returnType, EntityTokenFactory entityTokenFactory)
        {
            if (string.IsNullOrEmpty(name) == true)
            {
                throw new ArgumentNullException("name");
            }
            if (string.IsNullOrEmpty(namespaceName) == true)
            {
                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);
        }
		public FormEmailFunction(EntityTokenFactory entityTokenFactory)
			: base("FormEmail", "Composite.Forms", typeof(IEnumerable<FormEmail>), entityTokenFactory)
		{
		}