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

Get_Division_DmdSec_ReaderWriter() public method

Get a division-level dmdSec METS section reader/writer by the METS file MDTYPE and OTHERMDTYPE attributes present in the METS section tag
public Get_Division_DmdSec_ReaderWriter ( string MdType, string OtherMdType ) : iDivision_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 iDivision_dmdSec_ReaderWriter
        public iDivision_dmdSec_ReaderWriter Get_Division_DmdSec_ReaderWriter(string MdType, string OtherMdType)
        {
            Tuple<string, string> thisMappingKey = new Tuple<string, string>(MdType.ToUpper(), OtherMdType.ToUpper());
            return divisionDmdSecDictionary.ContainsKey(thisMappingKey) ? divisionDmdSecDictionary[thisMappingKey] : null;
        }