//----------------------------------------------------------------------------------------------------- public static bool LoadFromFile(string fileName, out UNLOCO obj) { System.Exception exception = null; return LoadFromFile(fileName, out obj, out exception); }
//----------------------------------------------------------------------------------------------------- public OrgAddress() { this._addressCapabilities = new List<OrgAddressAddressCapability>(); this._location = new UNLOCO(); }
//----------------------------------------------------------------------------------------------------- /// <summary> /// Deserializes xml markup from file into an UNLOCO object /// </summary> /// <param name="fileName">string xml file to load and deserialize</param> /// <param name="obj">Output UNLOCO object</param> /// <param name="exception">output Exception value if deserialize failed</param> /// <returns>true if this Serializer can deserialize the object; otherwise, false</returns> public static bool LoadFromFile(string fileName, out UNLOCO obj, out System.Exception exception) { exception = null; obj = default(UNLOCO); try { obj = LoadFromFile(fileName); return true; } catch (System.Exception ex) { exception = ex; return false; } }
//----------------------------------------------------------------------------------------------------- public static bool Deserialize(string input, out UNLOCO obj) { System.Exception exception = null; return Deserialize(input, out obj, out exception); }
//----------------------------------------------------------------------------------------------------- /// <summary> /// Deserializes workflow markup into an UNLOCO object /// </summary> /// <param name="input">string workflow markup to deserialize</param> /// <param name="obj">Output UNLOCO object</param> /// <param name="exception">output Exception value if deserialize failed</param> /// <returns>true if this Serializer can deserialize the object; otherwise, false</returns> public static bool Deserialize(string input, out UNLOCO obj, out System.Exception exception) { exception = null; obj = default(UNLOCO); try { obj = Deserialize(input); return true; } catch (System.Exception ex) { exception = ex; return false; } }
//----------------------------------------------------------------------------------------------------- public OrganisationDetail() { this._countrySpecificDetails = new OrganisationDetailCountrySpecificDetails(); this._bondDetails = new List<BondDetail>(); this._accountsPayables = new List<AccountsPayable>(); this._accountsReceivables = new List<AccountsReceivable>(); this._brandNames = new List<OrganisationDetailBrandName>(); this._eDICodeMappings = new List<EDICodeMapping>(); this._organisationTypes = new List<OrganisationDetailOrganisationType>(); this._eDITransmissionDetails = new OrganisationDetailEDITransmissionDetails(); this._registrationNumbers = new List<OrganisationDetailRegistrationNumber>(); this._orgWebURLs = new List<OrgWebURL>(); this._contacts = new List<OrgContact>(); this._addresses = new List<OrganisationDetailAddress>(); this._location = new UNLOCO(); }
//----------------------------------------------------------------------------------------------------- public Movement() { this._port = new UNLOCO(); }