Example #1
0
        /// <exclude />
        public override XElement Serialize()
        {
            // ensure "f:function" naming:
            XElement element = XElement.Parse(string.Format(@"<f:{0} xmlns:f=""{1}"" />", FunctionTreeConfigurationNames.ParamTagName, FunctionTreeConfigurationNames.NamespaceName));

            element.Add(new XAttribute(FunctionTreeConfigurationNames.NameAttributeName, this.Name));

            element.Add(_functionNode.Serialize());

            return(element);
        }
        public override XObject Serialize()
        {
            Initialize();

            return(_functionFunctionRuntimeNode.Serialize());
        }