SobekCM.Resource_Object.Configuration.Metadata_Configuration.Get_Package_DmdSec_ReaderWriter C# (CSharp) Method

Get_Package_DmdSec_ReaderWriter() public method

Get a package-level dmdSec METS section reader/writer by the METS file MDTYPE and OTHERMDTYPE attributes present in the METS section tag
public Get_Package_DmdSec_ReaderWriter ( string MdType, string OtherMdType ) : iPackage_dmdSec_ReaderWriter
MdType string MDTYPE attribute from the METS file section being read
OtherMdType string OTHERMDTYPE attribute from the METS file section being read
return iPackage_dmdSec_ReaderWriter
        public iPackage_dmdSec_ReaderWriter Get_Package_DmdSec_ReaderWriter(string MdType, string OtherMdType)
        {
            Tuple<string, string> thisMappingKey = new Tuple<string, string>(MdType.ToUpper(), OtherMdType.ToUpper());
            return packageDmdSecDictionary.ContainsKey(thisMappingKey) ? packageDmdSecDictionary[thisMappingKey] : null;
        }