/// <summary> /// Initializes the class /// </summary> /// <remarks> /// This creates all the mandatory fields (populated with the default data) /// All Collection object are created. /// However any 1-n relationships (these are represented as collections) are /// empty. To comply with the schema these must be populated before the xml /// obtained from ToXml is valid against the schema C:\src\massivex\hyperway\Mx.Certificates.Validator\Xsd\certvalidator.xsd. /// </remarks> protected override void Init() { Mx.Xml.CertValidator.Registration.iRegistrationIndicator = 0; // causes registration to take place m_ExtensibleTypeData = new Mx.Xml.CertValidator.XmlObjectCollection <Mx.Xml.tns.ExtensibleType_Type>("ExtensibleTypeData", "http://difi.no/xsd/certvalidator/1.0", 0, -1, true); // ##HAND_CODED_BLOCK_START ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS // Add Additional initialization code here... // ##HAND_CODED_BLOCK_END ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS }
/// <summary> /// Initializes the class /// </summary> /// <remarks> /// This creates all the mandatory fields (populated with the default data) /// All Collection object are created. /// However any 1-n relationships (these are represented as collections) are /// empty. To comply with the schema these must be populated before the xml /// obtained from ToXml is valid against the schema C:\src\massivex\hyperway\Mx.Certificates.Validator\Xsd\certvalidator.xsd. /// </remarks> protected override void Init() { Mx.Xml.CertValidator.Registration.iRegistrationIndicator = 0; // causes registration to take place m_Name = null; m_Version = null; m_Validator = new Mx.Xml.CertValidator.XmlObjectCollection <Mx.Xml.tns.ValidatorType>("Validator", "http://difi.no/xsd/certvalidator/1.0", 1, -1, false); m_CertificateBucket = new Mx.Xml.CertValidator.XmlObjectCollection <Mx.Xml.tns.CertificateBucketType>("CertificateBucket", "http://difi.no/xsd/certvalidator/1.0", 0, -1, false); m_KeyStore = new Mx.Xml.CertValidator.XmlObjectCollection <Mx.Xml.tns.KeyStoreType>("KeyStore", "http://difi.no/xsd/certvalidator/1.0", 0, -1, false); // ##HAND_CODED_BLOCK_START ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS // Add Additional initialization code here... // ##HAND_CODED_BLOCK_END ID="Additional Inits"## DO NOT MODIFY ANYTHING OUTSIDE OF THESE TAGS }