Exemple #1
0
 private void Write48_XmlSchemaIdentityConstraint(XmlSchemaIdentityConstraint o)
 {
     if (o != null)
     {
         Type type = o.GetType();
         if (type == typeof(XmlSchemaUnique))
         {
             this.Write51_XmlSchemaUnique((XmlSchemaUnique)o);
         }
         else if (type == typeof(XmlSchemaKeyref))
         {
             this.Write50_XmlSchemaKeyref((XmlSchemaKeyref)o);
         }
         else if (type == typeof(XmlSchemaKey))
         {
             this.Write47_XmlSchemaKey((XmlSchemaKey)o);
         }
     }
 }
 void Write48_XmlSchemaIdentityConstraint(XmlSchemaIdentityConstraint o)
 {
     if ((object)o == null)
     {
         return;
     }
     System.Type t = o.GetType();
     if (t == typeof(XmlSchemaUnique))
     {
         Write51_XmlSchemaUnique((XmlSchemaUnique)o);
         return;
     }
     else if (t == typeof(XmlSchemaKeyref))
     {
         Write50_XmlSchemaKeyref((XmlSchemaKeyref)o);
         return;
     }
     else if (t == typeof(XmlSchemaKey))
     {
         Write47_XmlSchemaKey((XmlSchemaKey)o);
         return;
     }
 }