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

Get_Division_AmdSec_ReaderWriter() public method

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