Beispiel #1
0
        public bool Parse(XmlNode node)
        {
            bool result = true;

            foreach (XmlNode childNode in node.ChildNodes)
            {
                if (childNode.Name == "paramBuffer")
                {
                    var paramBuffer = new ParamBuffer();

                    if (!paramBuffer.Parse(childNode))
                    {
                        result = false;
                        break;
                    }

                    ParamBuffer = paramBuffer;
                }
                else if (childNode.Name == "channelSubBuffers")
                {
                    var channelSubBuffers = new ChannelSubBuffers();

                    if (!channelSubBuffers.Parse(childNode))
                    {
                        result = false;
                        break;
                    }

                    ChannelSubBuffers = channelSubBuffers;
                }
            }

            return(result);
        }
Beispiel #2
0
 public void Resolve(XddParameterList parameterList)
 {
     ParamBuffer.Resolve(parameterList);
     ChannelSubBuffers.Resolve(parameterList);
 }