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

Get_File_AmdSec_ReaderWriter() public method

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