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

Get_Package_AmdSec_ReaderWriter() public method

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