当前位置: 首页>>代码示例>>C#>>正文


C# IComplexStructureReferenceObject.GetMaintainableRefObject方法代码示例

本文整理汇总了C#中IComplexStructureReferenceObject.GetMaintainableRefObject方法的典型用法代码示例。如果您正苦于以下问题:C# IComplexStructureReferenceObject.GetMaintainableRefObject方法的具体用法?C# IComplexStructureReferenceObject.GetMaintainableRefObject怎么用?C# IComplexStructureReferenceObject.GetMaintainableRefObject使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IComplexStructureReferenceObject的用法示例。


在下文中一共展示了IComplexStructureReferenceObject.GetMaintainableRefObject方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: GetMutableDataflow

 /// <summary>
 /// Gets a single Dataflow , this expects the ref object either to contain
 ///     a URN or all the attributes required to uniquely identify the object.  If version information
 ///     is missing then the latest version is assumed.
 /// </summary>
 /// <param name="complexRef">
 /// The reference object defining the search parameters.
 /// </param>
 /// <param name="returnDetail">
 /// The return Detail.
 /// </param>
 /// <param name="allowedDataflow">
 /// The allowed Dataflow.
 /// </param>
 /// <returns>
 /// The <see cref="T:Org.Sdmxsource.Sdmx.Api.Model.Mutable.DataStructure.IDataflowMutableObject"/> .
 /// </returns>
 public IDataflowMutableObject GetMutableDataflow(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail, IList<IMaintainableRefObject> allowedDataflow)
 {
     var xref = complexRef.GetMaintainableRefObject();
     return xref.HasVersion()
                ? this._retrievalEngineContainer.DataflowRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints(), allowedDataflow).FirstOrDefault()
                : this._retrievalEngineContainer.DataflowRetrievalEngine.RetrieveLatest(xref, returnDetail.EnumType, allowedDataflow);
 }
开发者ID:alcardac,项目名称:SDMXRI_ENH_WS,代码行数:24,代码来源:AuthAdvancedStructureRetriever.cs

示例2: GetMutableDataflowObjects

 /// <summary>
 /// Gets DataflowObjects that match the parameters in the ref @object.  If the ref @object is null or
 ///     has no attributes set, then this will be interpreted as a search for all DataflowObjects
 /// </summary>
 /// <param name="complexRef">
 /// The reference object defining the search parameters.
 /// </param>
 /// <param name="returnDetail">
 /// The return Detail.
 /// </param>
 /// <param name="allowedDataflow">
 /// The allowed Dataflow.
 /// </param>
 /// <returns>
 /// list of sdmxObjects that match the search criteria
 /// </returns>
 public ISet<IDataflowMutableObject> GetMutableDataflowObjects(
     IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail, IList<IMaintainableRefObject> allowedDataflow)
 {
     var xref = complexRef.GetMaintainableRefObject();
     return this._retrievalEngineContainer.DataflowRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints(), allowedDataflow);
 }
开发者ID:alcardac,项目名称:SDMXRI_ENH_WS,代码行数:22,代码来源:AuthAdvancedStructureRetriever.cs

示例3: GetMutableStructureSetObjects

        /// <summary>
        /// Gets StructureSetObjects that match the parameters in the ref @object.  If the ref @object is null or
        ///     has no attributes set, then this will be interpreted as a search for all StructureSetObjects
        /// </summary>
        /// <param name="complexRef">
        /// The reference object defining the search parameters.
        /// </param>
        /// <param name="returnDetail">
        /// The return Detail.
        /// </param>
        /// <returns>
        /// list of sdmxObjects that match the search criteria
        /// </returns>
        public ISet<IStructureSetMutableObject> GetMutableStructureSetObjects(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
        {
            // 8.12 ISTAT ENHANCEMENT
            var xref = complexRef.GetMaintainableRefObject();
            return this._retrievalEngineContainer.StructureSetRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints());

        }
开发者ID:SDMXISTATFRAMEWORK,项目名称:ISTAT_ENHANCED_SDMXRI_WS,代码行数:20,代码来源:AdvancedStructureRetriever.cs

示例4: GetMutableCategorisation

        /// <summary>
        /// Gets a single Categorisation, this expects the ref object either to contain
        ///     a URN or all the attributes required to uniquely identify the object.  If version information
        ///     is missing then the latest version is assumed.
        /// </summary>
        /// <param name="complexRef">
        /// The reference object defining the search parameters.
        /// </param>
        /// <param name="returnDetail">
        /// The return Detail.
        /// </param>
        /// <param name="allowedDataflows">
        /// The allowed Dataflows.
        /// </param>
        /// <returns>
        /// The <see cref="T:Org.Sdmxsource.Sdmx.Api.Model.Mutable.CategoryScheme.ICategorisationMutableObject"/> .
        /// </returns>
        public ICategorisationMutableObject GetMutableCategorisation(
            IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail, IList<IMaintainableRefObject> allowedDataflows)
        {
            var xref = complexRef.GetMaintainableRefObject();
            if (xref.HasVersion())
            {
                return this._retrievalEngineContainer.CategorisationRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints(), allowedDataflows).FirstOrDefault();
            }

            //// complexRef.GetVersionConstraints() Change this when mapping store is modified to host proper categorisation artefacts
            return this._retrievalEngineContainer.CategorisationRetrievalEngine.RetrieveLatest(xref, returnDetail.EnumType, allowedDataflows);
        }
开发者ID:alcardac,项目名称:SDMXRI_ENH_WS,代码行数:29,代码来源:AuthAdvancedStructureRetriever.cs

示例5: GetMutableStructureSet

 /// <summary>
 /// Gets a structure set @object, this expects the ref object either to contain
 ///     a URN or all the attributes required to uniquely identify the object.  If version information
 ///     is missing then the latest version is assumed.
 /// </summary>
 /// <param name="complexRef">
 /// The reference object defining the search parameters.
 /// </param>
 /// <param name="returnDetail">
 /// The return Detail.
 /// </param>
 /// <returns>
 /// The <see cref="T:Org.Sdmxsource.Sdmx.Api.Model.Mutable.Mapping.IStructureSetMutableObject"/> .
 /// </returns>
 public IStructureSetMutableObject GetMutableStructureSet(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
 {
     // 8.11 ISTAT ENHANCEMENT
     var xref = complexRef.GetMaintainableRefObject();
     return xref.HasVersion()
                ? this._retrievalEngineContainer.StructureSetRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints()).FirstOrDefault()
                : this._retrievalEngineContainer.StructureSetRetrievalEngine.RetrieveLatest(xref, returnDetail.EnumType);
 }
开发者ID:SDMXISTATFRAMEWORK,项目名称:ISTAT_ENHANCED_SDMXRI_WS,代码行数:22,代码来源:AdvancedStructureRetriever.cs

示例6: GetMutableHierarchicCodeListObjects

 /// <summary>
 /// Gets HierarchicalCodelistObjects that match the parameters in the ref @object.  If the ref @object is null or
 ///     has no attributes set, then this will be interpreted as a search for all HierarchicalCodelistObjects
 /// </summary>
 /// <param name="complexRef">
 /// The reference object defining the search parameters.
 /// </param>
 /// <param name="returnDetail">
 /// The return Detail.
 /// </param>
 /// <returns>
 /// list of sdmxObjects that match the search criteria
 /// </returns>
 public ISet<IHierarchicalCodelistMutableObject> GetMutableHierarchicCodeListObjects(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
 {
     var xref = complexRef.GetMaintainableRefObject();
     return this._retrievalEngineContainer.HclRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints());
 }
开发者ID:SDMXISTATFRAMEWORK,项目名称:ISTAT_ENHANCED_SDMXRI_WS,代码行数:18,代码来源:AdvancedStructureRetriever.cs

示例7: GetMutableHierarchicCodeList

 /// <summary>
 /// Gets a single HierarchicCodeList , this expects the ref object either to contain
 ///     a URN or all the attributes required to uniquely identify the object.  If version information
 ///     is missing then the latest version is assumed.
 /// </summary>
 /// <param name="complexRef">
 /// The reference object defining the search parameters.
 /// </param>
 /// <param name="returnDetail">
 /// The return Detail.
 /// </param>
 /// <returns>
 /// The <see cref="T:Org.Sdmxsource.Sdmx.Api.Model.Mutable.Codelist.IHierarchicalCodelistMutableObject"/> .
 /// </returns>
 public IHierarchicalCodelistMutableObject GetMutableHierarchicCodeList(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
 {
     var xref = complexRef.GetMaintainableRefObject();
     return xref.HasVersion()
                ? this._retrievalEngineContainer.HclRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints()).FirstOrDefault()
                : this._retrievalEngineContainer.HclRetrievalEngine.RetrieveLatest(xref, returnDetail.EnumType);
 }
开发者ID:SDMXISTATFRAMEWORK,项目名称:ISTAT_ENHANCED_SDMXRI_WS,代码行数:21,代码来源:AdvancedStructureRetriever.cs

示例8: GetMutableDataStructureObjects

 /// <summary>
 /// Gets DataStructureObjects that match the parameters in the ref @object.  If the ref @object is null or
 ///     has no attributes set, then this will be interpreted as a search for all dataStructureObjects
 /// </summary>
 /// <param name="complexRef">
 /// The reference object defining the search parameters.
 /// </param>
 /// <param name="returnDetail">
 /// The return Detail.
 /// </param>
 /// <returns>
 /// list of sdmxObjects that match the search criteria
 /// </returns>
 public ISet<IDataStructureMutableObject> GetMutableDataStructureObjects(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
 {
     var xref = complexRef.GetMaintainableRefObject();
     return this._retrievalEngineContainer.DSDRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints());
 }
开发者ID:SDMXISTATFRAMEWORK,项目名称:ISTAT_ENHANCED_SDMXRI_WS,代码行数:18,代码来源:AdvancedStructureRetriever.cs

示例9: GetMutableCategoryScheme

 /// <summary>
 /// Gets a single CategoryScheme , this expects the ref object either to contain
 ///     a URN or all the attributes required to uniquely identify the object.  If version information
 ///     is missing then the latest version is assumed.
 /// </summary>
 /// <param name="complexRef">
 /// The reference object defining the search parameters.
 /// </param>
 /// <param name="returnDetail">
 /// The return Detail.
 /// </param>
 /// <returns>
 /// The <see cref="T:Org.Sdmxsource.Sdmx.Api.Model.Mutable.CategoryScheme.ICategorySchemeMutableObject"/> .
 /// </returns>
 public ICategorySchemeMutableObject GetMutableCategoryScheme(IComplexStructureReferenceObject complexRef, ComplexStructureQueryDetail returnDetail)
 {
     var xref = complexRef.GetMaintainableRefObject();
     return xref.HasVersion()
                ? this._retrievalEngineContainer.CategorySchemeRetrievalEngine.Retrieve(xref, returnDetail.EnumType, complexRef.GetVersionConstraints()).FirstOrDefault()
                : this._retrievalEngineContainer.CategorySchemeRetrievalEngine.RetrieveLatest(xref, returnDetail.EnumType);
 }
开发者ID:SDMXISTATFRAMEWORK,项目名称:ISTAT_ENHANCED_SDMXRI_WS,代码行数:21,代码来源:AdvancedStructureRetriever.cs


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