/// <summary> /// Initializes a new instance of the <see cref="SdmxStructureParserFactory" /> class. /// </summary> /// <param name="messageType">Type of the message.</param> /// <param name="sdmxSchema">The SDMX schema.</param> /// <param name="registryMessageType">Type of the registry message.</param> /// <param name="sdmxBeansBuilder">The SDMX beans builder.</param> /// <param name="provisionParsingManager">The provision parsing manager.</param> /// <param name="registrationParsingManager">The registration parsing manager.</param> /// <param name="subscriptionParsingManager">The subscription parsing manager.</param> public SdmxStructureParserFactory(MessageEnumType messageType, SdmxSchemaEnumType sdmxSchema, RegistryMessageEnumType registryMessageType, ISdmxObjectsBuilder sdmxBeansBuilder, IProvisionParsingManager provisionParsingManager, IRegistrationParsingManager registrationParsingManager, ISubscriptionParsingManager subscriptionParsingManager) { this._messageType = messageType; this._sdmxSchema = sdmxSchema; this._registryMessageType = registryMessageType; this._sdmxBeansBuilder = sdmxBeansBuilder ?? new SdmxObjectsBuilder(); this._provisionParsingManager = provisionParsingManager ?? new ProvisionParsingManager(); this._registrationParsingManager = registrationParsingManager ?? new RegistrationParsingManager(); this._subscriptionParsingManager = subscriptionParsingManager ?? new SubscriptionParsingManager(); }
/// <summary> /// Initializes a new instance of the <see cref="SdmxStructureParserFactory"/> class. /// </summary> /// <param name="sdmxBeansBuilder">The SDMX beans builder.</param> /// <param name="provisionParsingManager">The provision parsing manager.</param> /// <param name="registrationParsingManager">The registration parsing manager.</param> /// <param name="subscriptionParsingManager">The subscription parsing manager.</param> public SdmxStructureParserFactory(ISdmxObjectsBuilder sdmxBeansBuilder, IProvisionParsingManager provisionParsingManager, IRegistrationParsingManager registrationParsingManager, ISubscriptionParsingManager subscriptionParsingManager) : this(MessageEnumType.Null, SdmxSchemaEnumType.Null, RegistryMessageEnumType.Null, sdmxBeansBuilder, provisionParsingManager, registrationParsingManager, subscriptionParsingManager) { }