/// <summary> /// Visitor implementation. Adds a property to the class declaration. /// </summary> /// <param name="element"></param> public void Visit(VisitableAttributeIntrinsicType element) { base.Visit(element); if (CurrentType == null) { return; } CodeDomHelper.AddProperty(CurrentType, element, ((XmlSchemaDatatype)element.SchemaObject.AttributeType).ValueType, CurrentNamespace, RetrieveMethod(CurrentType, "InitClass"), RetrieveMethod(CurrentType, "InitVars")); }
public void Visit(VisitableAttributeIntrinsicType element) { DebugProperty(element); }
/// <summary> /// Visitor implementation. Builds a property for the element. /// </summary> /// <param name="element">The element from which to build the property.</param> public void Visit(VisitableAttributeIntrinsicType element) { AddPropertyCode(element, ((XmlSchemaDatatype)element.SchemaObject.AttributeType).ValueType); }