• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IStructureReference类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中IStructureReference的典型用法代码示例。如果您正苦于以下问题:C# IStructureReference类的具体用法?C# IStructureReference怎么用?C# IStructureReference使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



IStructureReference类属于命名空间,在下文中一共展示了IStructureReference类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Build

        /// <summary>
        /// Return a <see cref="ICategorisationObject"/>  with the specified <paramref name="categoryReference"/> and <paramref name="structureReference"/>
        /// </summary>
        /// <param name="categoryReference">
        /// The category reference.
        /// </param>
        /// <param name="structureReference">
        /// The structure reference.
        /// </param>
        /// <returns>
        /// The <see cref="ICategorisationObject"/>.
        /// </returns>
        public ICategorisationObject Build(IStructureReference categoryReference, IStructureReference structureReference)
        {
            ICategorisationMutableObject mutable = new CategorisationMutableCore();
            mutable.CategoryReference = categoryReference;
            mutable.StructureReference = structureReference;

            var structureRef = structureReference.MaintainableReference;
            var categorySchemeRef = categoryReference.MaintainableReference;
            string name =
                string.Format(
                    CultureInfo.InvariantCulture,
                    "{0}@{1}@{2}@{3}@{4}@{5}",
                    structureRef.MaintainableId,
                    structureRef.AgencyId,
                    structureRef.Version,
                    categorySchemeRef.MaintainableId,
                    categorySchemeRef.Version,
                    categoryReference.ChildReference.Id).Replace(".", string.Empty);
            mutable.Id = name.Length > 50 ? BuildHash(name) : name;

            mutable.Version = "1.0";
            mutable.AgencyId = categorySchemeRef.AgencyId;
            mutable.AddName("en", name);
            return mutable.ImmutableInstance;
        }
开发者ID:alcardac,项目名称:SDMXRI_ENH_WS,代码行数:37,代码来源:CategorisationBuilder.cs


示例2: DatasetStructureReferenceCore

        /// <summary>
        /// Initializes a new instance of the <see cref="DatasetStructureReferenceCore"/> class. 
        ///   Minimal Constructor
        /// </summary>
        /// <param name="structureReference">CategorisationStructure reference object
        /// </param>
        public DatasetStructureReferenceCore(IStructureReference structureReference)
        {
            this._dimensionAtObservation = DimensionObject.TimeDimensionFixedId;

            this._structureReference = structureReference;
            this.Validate();
        }
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:13,代码来源:DatasetStructureReferenceCore.cs


示例3: GetComponentMapIds

        /// <summary>
        /// Gets the component map ids.
        /// </summary>
        /// <param name="state">
        /// The state.
        /// </param>
        /// <param name="dsdReference">
        /// The DSD reference.
        /// </param>
        /// <returns>
        /// The component id to primary key value dictionary
        /// </returns>
        public static IDictionary<string, long> GetComponentMapIds(DbTransactionState state, IStructureReference dsdReference)
        {
            IDictionary<string, long> map = new Dictionary<string, long>(StringComparer.Ordinal);

            var idParameter = state.Database.CreateInParameter("p_id", DbType.AnsiString, dsdReference.MaintainableId);
            var agencyParameter = state.Database.CreateInParameter("p_agency", DbType.AnsiString, dsdReference.AgencyId);
            var versionParameter = state.Database.CreateInParameter("p_version", DbType.AnsiString, dsdReference.Version);

            var queryFormat = dsdReference.MaintainableStructureEnumType.EnumType == SdmxStructureEnumType.Dsd
                                  ? "select c.COMP_ID, c.ID from COMPONENT c inner join ARTEFACT_VIEW a on a.ART_ID = c.DSD_ID where a.ID = {0} and a.AGENCY = {1} and a.VERSION = {2}"
                                  : "select c.COMP_ID, c.ID from COMPONENT c inner join DATAFLOW d on d.DSD_ID = c.DSD_ID inner join ARTEFACT_VIEW a on a.ART_ID = d.DF_ID where a.ID = {0} and a.AGENCY = {1} and a.VERSION = {2}";
            using (var command = state.Database.GetSqlStringCommandFormat(queryFormat, idParameter, agencyParameter, versionParameter))
            using (var reader = state.Database.ExecuteReader(command))
            {
                var sysIdOrdinal = reader.GetOrdinal("COMP_ID");
                var idOrdinal = reader.GetOrdinal("ID");

                while (reader.Read())
                {
                    map.Add(reader.GetString(idOrdinal), reader.GetInt64(sysIdOrdinal));
                }
            }

            return map;
        }
开发者ID:alcardac,项目名称:SDMXRI_ENH_WS,代码行数:37,代码来源:StructureCache.cs


示例4: RESTStructureQueryCore

        /// <summary>
        /// Initializes a new instance of the <see cref="RESTStructureQueryCore"/> class. 
        /// Creation of a Structure Query for structures that match the given reference
        /// </summary>
        /// <param name="structureReference">
        /// The structure reference. 
        /// </param>
	    public RESTStructureQueryCore(IStructureReference structureReference)
        {
		    this._structureReference = structureReference;
            if(structureReference.Version != null)
            {
		  	  _structureQueryMetadata = new StructureQueryMetadataCore(StructureQueryDetail.GetFromEnum(StructureQueryDetailEnumType.Null), null, null, false);
		    }
	    }
开发者ID:SDMXISTATFRAMEWORK,项目名称:ISTAT_ENHANCED_SDMXRI_WS,代码行数:15,代码来源:RESTStructureQueryCore.cs


示例5: RESTSchemaQueryCore

          public RESTSchemaQueryCore(IStructureReference reference, string dimAtObs, bool explicitMeasure) 
          {
		     this._reference = reference;
		     if(ObjectUtil.ValidString(dimAtObs)) 
             {
			      this._dimAtObs = dimAtObs;
		     }
		     this._explicitMeasure = explicitMeasure;
	      }
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:9,代码来源:RESTSchemaQueryCore.cs


示例6: IdentifiableRefObjetcImpl

        /// <summary>
        /// Initializes a new instance of the <see cref="IdentifiableRefObjetcImpl"/> class.
        /// </summary>
        /// <param name="maintainableParent">
        /// The maintainable parent.
        /// </param>
        /// <param name="id">
        /// The id.
        /// </param>
        /// <param name="targetStructureEnumType">
        /// The target structure enum type.
        /// </param>
        public IdentifiableRefObjetcImpl(
            IStructureReference maintainableParent, string id, SdmxStructureType targetStructureEnumType)
        {
            this._structureEnumType = targetStructureEnumType;
            this._maintainableParent = maintainableParent;
            this._id = id;

            Validate();
        }
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:21,代码来源:IdentifiableRefObjetcImpl.cs


示例7: BuildErrorResponse

        ////// PRIVATE CONSTRUCTOR 
        ///// TODO java 0.9.1 has private ctor that is not accessed anywhere 
        ////#region Constructors and Destructors

        /////// <summary>
        /////// Prevents a default instance of the <see cref="SubmitStructureResponseBuilderV2"/> class from being created.
        /////// </summary>
        ////private SubmitStructureResponseBuilderV2()
        ////{
        ////}

        ////#endregion
        #region Public Methods and Operators

        /// <summary>
        /// The build error response.
        /// </summary>
        /// <param name="exception">
        /// The exception.
        /// </param>
        /// <param name="errorBean">
        /// The error bean.
        /// </param>
        /// <returns>
        /// The <see cref="RegistryInterface"/>.
        /// </returns>
        public RegistryInterface BuildErrorResponse(Exception exception, IStructureReference errorBean)
        {
            var responseType = new RegistryInterface();
            RegistryInterfaceType regInterface = responseType.Content;
            V2Helper.Header = regInterface;
            var returnType = new SubmitStructureResponseType();
            regInterface.SubmitStructureResponse = returnType;
            ProcessMaintainable(returnType, errorBean, exception);
            return responseType;
        }
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:36,代码来源:SubmitStructureResponseBuilderV2.cs


示例8: IGetObjectsBase

		/// <summary>
		/// Returns a set of super beans that match the query parameter
		/// </summary>
		///
		/// <param name="structureQuery"></param>
		/// <returns></returns>
		private IObjectsBase IGetObjectsBase(IStructureReference xref) {
			ISet<IMaintainableObject> maintainables = this.SdmxObjectRetrievalManager
					.GetMaintainableWithReferences(xref);
			ISdmxObjects beans = new SdmxObjectsImpl(null, maintainables);
			if (superBeanBuilder == null) {
				throw new Exception(
						"SuperBeansBuilder not set, ISdmxBaseObjectRetrievalManagerImpl is @Configurable please ensure AspectJ weaving is enabled");
			}
			return superBeanBuilder.Build(beans);
		}
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:16,代码来源:SdmxSuperBeanRetrievalManagerImpl.cs


示例9: CrossReferenceImpl

        // FUNC this constructor does not account the sRef having the incorrect SdmxStructureType (i.e from a mutable agencySchemeMutableObject)
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="CrossReferenceImpl"/> class.
        /// </summary>
        /// <param name="referencedFrom">
        /// The referenced from. 
        /// </param>
        /// <param name="structureReference">
        /// The structure reference 
        /// </param>
        public CrossReferenceImpl(ISdmxObject referencedFrom, IStructureReference structureReference)
            : base(
                structureReference.MaintainableReference.AgencyId, 
                structureReference.MaintainableReference.MaintainableId, 
                structureReference.MaintainableReference.Version, 
                structureReference.TargetReference, 
                structureReference.IdentifiableIds)
        {
            this._referencedFrom = referencedFrom;
            this.ValidateReference();
        }
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:23,代码来源:CrossReferenceImpl.cs


示例10: GetSubscriptions

		public virtual ISet<ISubscriptionMutableObject> GetSubscriptions(
				IStructureReference organisationReference) {
			ISet<ISubscriptionMutableObject> returnSet = new HashSet<ISubscriptionMutableObject>();
			ISet<ISubscriptionObject> queryResults = sdmxSubscriptionRetrievalManager
					.GetSubscriptions(organisationReference);
			/* foreach */
			foreach (ISubscriptionObject currentResult  in  queryResults) {
				returnSet.Add(new SubscriptionMutableCore(currentResult));
			}
			return returnSet;
		}
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:11,代码来源:SdmxMutableSubscriptionBeanRetrievalManagerImpl.cs


示例11: GetProvisions

		public virtual IList<IProvisionAgreementMutableObject> GetProvisions(
				IStructureReference xref) {
			IList<IProvisionAgreementMutableObject> returnedProvisions = new List<IProvisionAgreementMutableObject>();
			ISet<IProvisionAgreementObject> provisions = provisionBeanRetrievalManager
					.GetProvisions(xref);
			if (provisions != null) {
				/* foreach */
				foreach (IProvisionAgreementObject currentProvision  in  provisions) {
					returnedProvisions.Add(currentProvision.MutableInstance);
				}
			}
			return returnedProvisions;
		}
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:13,代码来源:SdmxMutableProvisionBeanRetrievalManagerImpl.cs


示例12: GetRegistrations

		public virtual ISet<IRegistrationMutableObject> GetRegistrations(
				IStructureReference xref) {
			ISet<IRegistrationMutableObject> returnSet = new HashSet<IRegistrationMutableObject>();
			ISet<IRegistrationObject> registrationBeans = registrationBeanRetrievalManager
					.GetRegistrations(xref);
			if (registrationBeans != null) {
				/* foreach */
				foreach (IRegistrationObject currentRegistration  in  registrationBeans) {
					returnSet.Add(currentRegistration.MutableInstance);
				}
			}
			return returnSet;
		}
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:13,代码来源:SdmxMutableRegistrationBeanRetrievalManagerImpl.cs


示例13: BuildErrorResponse

 /// <summary>
 /// Build error response for submission of provisions..
 /// </summary>
 /// <param name="exception">
 /// The exception.
 /// </param>
 /// <param name="structureReference">
 /// The structure Reference.
 /// </param>
 /// <param name="schemaVersion">
 /// The schema version.
 /// </param>
 /// <returns>
 /// The error response for submission of provisions
 /// </returns>
 public virtual XTypedElement BuildErrorResponse(
     Exception exception, IStructureReference structureReference, SdmxSchemaEnumType schemaVersion)
 {
     switch (schemaVersion)
     {
         case SdmxSchemaEnumType.VersionTwo:
             return this._submitProvisionResponseBuilderV2.BuildErrorResponse(exception);
         case SdmxSchemaEnumType.VersionTwoPointOne:
             return this._v21Builder.BuildErrorResponse(exception, structureReference);
         default:
             throw new SdmxNotImplementedException(ExceptionCode.Unsupported, schemaVersion);
     }
 }
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:28,代码来源:SubmitProvisionResponseBuilder.cs


示例14: GetError

 /// <summary>
 /// Returns an error message with the specified <paramref name="format"/> for <paramref name="reference"/>
 /// </summary>
 /// <param name="format">
 /// The format.
 /// </param>
 /// <param name="reference">
 /// The component.
 /// </param>
 /// <returns>
 /// The error message.
 /// </returns>
 public string GetError(string format, IStructureReference reference)
 {
     IMaintainableRefObject maintainableRefObject = reference.MaintainableReference;
     return reference.HasChildReference()
                ? string.Format(
                    format,
                    maintainableRefObject.MaintainableId,
                    maintainableRefObject.AgencyId,
                    maintainableRefObject.Version,
                    reference.ChildReference.Id,
                    reference.TargetReference)
                : string.Format(format, maintainableRefObject.MaintainableId, maintainableRefObject.AgencyId, maintainableRefObject.Version, reference.TargetReference);
 }
开发者ID:alcardac,项目名称:SDMXRI_ENH_WS,代码行数:25,代码来源:ValidateStatusEngine.cs


示例15: GetProvisions

		//TODO - THIS CAN ALL BE ABSTRACTED
		public virtual ISet<IProvisionAgreementObject> GetProvisions(
				IStructureReference provisionRef) {
			if (provisionRef.TargetReference == Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureType.GetFromEnum(SdmxStructureEnumType.Dsd)) {
				ISet<IProvisionAgreementObject> returnSet = new HashSet<IProvisionAgreementObject>();
				ISet<IMaintainableObject> keyFamilies = beans
						.GetMaintinables(Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureType.GetFromEnum(SdmxStructureEnumType.Dsd));
				ISet<IMaintainableObject> dataflows = beans
						.GetMaintinables(Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureType.GetFromEnum(SdmxStructureEnumType.Dataflow));
				/* foreach */
				foreach (IMaintainableObject currentDSD  in  keyFamilies) {
					if (provisionRef.IsMatch(currentDSD)) {
						/* foreach */
						foreach (IMaintainableObject currentFlow  in  dataflows) {
							IDataflowObject df = (IDataflowObject) currentFlow;
							if (df.DataStructureRef.IsMatch(currentDSD)) {
								GetByReference(df).AddAll(returnSet);
							}
						}
					}
				}
				return returnSet;
			}
			if (provisionRef.TargetReference == Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureType.GetFromEnum(SdmxStructureEnumType.DataProvider)) {
				ISet<IProvisionAgreementObject> returnSet0 = new HashSet<IProvisionAgreementObject>();
				ISet<IMaintainableObject> allProvisions = beans
						.GetMaintinables(Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureType.GetFromEnum(SdmxStructureEnumType.ProvisionAgreement));
				ISet<IMaintainableObject> dataProviderSchemes = beans
						.GetMaintinables(Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureType.GetFromEnum(SdmxStructureEnumType.DataProviderScheme));
				/* foreach */
				foreach (IMaintainableObject currentDps  in  dataProviderSchemes) {
					if (provisionRef.IsMatch(currentDps)) {
						/* foreach */
						foreach (IMaintainableObject currentProvision  in  allProvisions) {
							IProvisionAgreementObject prov = (IProvisionAgreementObject) currentProvision;
							if (prov.DataproviderRef.IsMatch(currentDps)) {
								returnSet0.Add(prov);
							}
						}
					}
				}
				return returnSet0;
			}
			if (provisionRef.TargetReference == Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureType.GetFromEnum(SdmxStructureEnumType.ProvisionAgreement)) {
				return beans.GetProvisionAgreements(provisionRef
						.MaintainableReference);
			}
			return GetByReference(beans.GetMaintinables(provisionRef
					.MaintainableStructureType));
		}
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:50,代码来源:InMemoryProvisionRetrievalManager.cs


示例16: BuildErrorResponse

        /// <summary>
        /// Build  the error response.
        /// </summary>
        /// <param name="exception">
        /// The exception.
        /// </param>
        /// <param name="errorBean">
        /// The error bean.
        /// </param>
        /// <returns>
        /// The <see cref="RegistryInterface"/>.
        /// </returns>
        /// <exception cref="BuilderException">
        /// Registry could not determine Maintainable Artefact in error
        /// </exception>
        public RegistryInterface BuildErrorResponse(Exception exception, IStructureReference errorBean)
        {
            if (errorBean == null)
            {
                throw new SdmxSemmanticException("Registry could not determine Maintainable Artefact in error", exception);
            }

            var responseType = new RegistryInterface();
            RegistryInterfaceType regInterface = responseType.Content;
            V21Helper.Header = regInterface;
            var returnType = new SubmitStructureResponseType();
            regInterface.SubmitStructureResponse = returnType;
            this.AddSubmissionResult(returnType, errorBean, exception);
            return responseType;
        }
开发者ID:SDMXISTATFRAMEWORK,项目名称:ISTAT_ENHANCED_SDMXRI_WS,代码行数:30,代码来源:SubmitStructureResponseBuilderV21.cs


示例17: SubmitStructureResponseImpl

        /// <summary>
        /// Initializes a new instance of the <see cref="SubmitStructureResponseImpl"/> class.
        /// </summary>
        /// <param name="structureReference">
        /// The structure reference dataStructureObject. 
        /// </param>
        /// <param name="errorList">
        /// The error list. 
        /// </param>
        /// ///
        /// <exception cref="ArgumentException">
        /// Throws ArgumentException.
        /// </exception>
        public SubmitStructureResponseImpl(IStructureReference structureReference, IErrorList errorList)
        {
            this._structureReference = structureReference;
            this._errorList = errorList;
            if (structureReference != null && structureReference.TargetUrn == null)
            {
                throw new ArgumentException("SubmitStructureResponseImpl expects a complete IStructureReference");
            }

            if (!this.IsError)
            {
                if (structureReference == null)
                {
                    throw new ArgumentException("Sucessful SubmitStructureResponse expects a IStructureReference");
                }
            }
        }
开发者ID:SDMXISTATFRAMEWORK,项目名称:ISTAT_ENHANCED_SDMXRI_WS,代码行数:30,代码来源:SubmitStructureResponseImpl.cs


示例18: AddSubmissionResult

        /// <summary>
        /// Adds submission result.
        /// </summary>
        /// <param name="returnType">
        /// The return type.
        /// </param>
        /// <param name="structureReference">
        /// The structure reference.
        /// </param>
        /// <param name="exception">
        /// The exception.
        /// </param>
        private void AddSubmissionResult(
            SubmitStructureResponseType returnType, IStructureReference structureReference, Exception exception)
        {
            var submissionResult = new SubmissionResultType();
            returnType.SubmissionResult.Add(submissionResult);
            var statusMessageType = new StatusMessageType();
            submissionResult.StatusMessage = statusMessageType;
            this.AddStatus(statusMessageType, exception);
            var submittedStructure = new SubmittedStructureType();
            submissionResult.SubmittedStructure = submittedStructure;
            var refType = new MaintainableReferenceType();
            submittedStructure.MaintainableObject = refType;
            if (ObjectUtil.ValidString(structureReference.MaintainableUrn))
            {
                refType.URN.Add(structureReference.MaintainableUrn);
            }
            else
            {
                var xref = new MaintainableRefType();
                refType.SetTypedRef(xref);
                IMaintainableRefObject maintainableReference = structureReference.MaintainableReference;
                string value = maintainableReference.AgencyId;
                if (!string.IsNullOrWhiteSpace(value))
                {
                    xref.agencyID = maintainableReference.AgencyId;
                }

                string value1 = maintainableReference.MaintainableId;
                if (!string.IsNullOrWhiteSpace(value1))
                {
                    xref.agencyID = maintainableReference.MaintainableId;
                }

                string value2 = maintainableReference.Version;
                if (!string.IsNullOrWhiteSpace(value2))
                {
                    xref.agencyID = maintainableReference.Version;
                }
            }
        }
开发者ID:SDMXISTATFRAMEWORK,项目名称:ISTAT_ENHANCED_SDMXRI_WS,代码行数:52,代码来源:SubmitStructureResponseBuilderV21.cs


示例19: GetMutableMaintainableWithReferences

		public virtual ISet<IMaintainableMutableObject> GetMutableMaintainableWithReferences(
				IStructureReference query) {
			ISet<IMaintainableObject> maintainables = this.SdmxObjectRetrievalManager
					.GetMaintainableWithReferences(query);
			return ConvertToMutables(maintainables);
		}
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:6,代码来源:MutableBeanRetrievalManager.cs


示例20: GetMutableMaintainables

		public virtual ISet<IMaintainableMutableObject> GetMutableMaintainables(
				IStructureReference query) {
			SdmxStructureType structureType = query.TargetReference;
			if (!structureType.IsMaintainable()) {
				throw new UnsupportedException(Org.Sdmxsource.Sdmx.Api.Constants.ExceptionCode.Unsupported,
						structureType + " is not maintainable");
			}
			IMaintainableRefObject xref = query.MaintainableReference;
			switch (structureType) {
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.AgencyScheme:
				return GetMutableAgencySchemeBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.DataProviderScheme:
				return GetMutableDataProviderSchemeBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.DataConsumerScheme:
				return GetMutableDataConsumerSchemeBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.Categorisation:
				return GetMutableCategorisationBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.ContentConstraint:
				return GetMutableContentConstraintBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.CategoryScheme:
				return GetMutableCategorySchemeBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.CodeList:
				return GetMutableCodelistBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.ConceptScheme:
				return GetMutableConceptSchemeBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.Dataflow:
				return GetMutableDataflowBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.HierarchicalCodelist:
				return GetMutableHierarchicCodeListBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.Dsd:
				return GetMutableDataStructureBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.MetadataFlow:
				return GetMutableMetadataflowBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.Msd:
				return GetMutableMetadataStructureBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.OrganisationUnitScheme:
				return GetMutableOrganisationUnitSchemeBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.ProvisionAgreement:
				return GetMutableProvisionAgreements(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.Process:
				return GetMutableProcessBeanBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.StructureSet:
				return GetMutableStructureSetBeans(xref);
			case Org.Sdmxsource.Sdmx.Api.Constants.SdmxStructureEnumType.ReportingTaxonomy:
				return GetMutableReportingTaxonomyBeans(xref);
			}
			throw new UnsupportedException(Org.Sdmxsource.Sdmx.Api.Constants.ExceptionCode.Unsupported, structureType);
		}
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:48,代码来源:MutableBeanRetrievalManager.cs



注:本文中的IStructureReference类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IStructureSchema类代码示例发布时间:2022-05-24
下一篇:
C# IStringReader类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap