/// <summary> /// Initializes a new instance of the <see cref="ComponentCore"/> class. /// </summary> /// <param name="createdFrom"> /// The created from. /// </param> /// <param name="structureType"> /// The structure type. /// </param> /// <param name="parent"> /// The parent. /// </param> protected internal ComponentCore( ComponentType createdFrom, SdmxStructureType structureType, IIdentifiableObject parent) : base(createdFrom, structureType, parent) { var simpleDataStructureRepresentationType = createdFrom.GetTypedLocalRepresentation<SimpleDataStructureRepresentationType>(); if (simpleDataStructureRepresentationType != null) { this.LocalRepresentation = new RepresentationCore(simpleDataStructureRepresentationType, this); } if (createdFrom.ConceptIdentity != null) { this._conceptRef = RefUtil.CreateReference(this, createdFrom.ConceptIdentity); } // FUNC 2.1 put in Concept Identifity = conceptRef this.ValidateComponentAttributes(); }