Beispiel #1
0
 /// <summary>
 /// Determines whether the specified mutable is an <c>artefact</c>.
 /// </summary>
 /// <param name="mutable">
 /// The mutable.
 /// </param>
 /// <returns>
 /// true is the <c>LOCALISED_STRING.ART_ID</c> should be used; otherwise false.
 /// </returns>
 private static bool IsArtefact(IMutableObject mutable)
 {
     return(mutable.StructureType.IsMaintainable || mutable.StructureType.IsOneOf(SdmxStructureEnumType.Hierarchy));
 }
        ///////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////BUILD FROM MUTABLE OBJECT                 //////////////////////////////////////////////////
        ///////////////////////////////////////////////////////////////////////////////////////////////////

        /// <summary>
        /// Initializes a new instance of the <see cref="SdmxStructureCore"/> class.
        /// </summary>
        /// <param name="mutableObject">
        /// The mutable object. 
        /// </param>
        /// <param name="parent">
        /// The parent. 
        /// </param>
        protected SdmxStructureCore(IMutableObject mutableObject, ISdmxStructure parent)
            : base(mutableObject, parent)
        {
            this._parent = parent;
        }
 /// <summary>
 /// Determines whether the specified mutable is an <c>artefact</c>.
 /// </summary>
 /// <param name="mutable">
 /// The mutable.
 /// </param>
 /// <returns>
 /// true is the <c>LOCALISED_STRING.ART_ID</c> should be used; otherwise false.
 /// </returns>
 private static bool IsArtefact(IMutableObject mutable)
 {
     return mutable.StructureType.IsMaintainable || mutable.StructureType.IsOneOf(SdmxStructureEnumType.Hierarchy);
 }