Example #1
0
        public object Visit(NullDescriptor descriptor)
        {
            XElement nullElement = new XElement(descriptor.Description,
                                                new XAttribute("name", descriptor.SourceName));

            return(nullElement);
        }
Example #2
0
 /// <summary>
 /// Visits the specified <see cref="NullDescriptor" /> descriptor.
 /// </summary>
 /// <param name="descriptor">The descriptor.</param>
 /// <returns></returns>
 public object Visit(NullDescriptor descriptor)
 {
     return(null);
 }