Add_Container() public method

Adds a new container information object to this descriptive information
public Add_Container ( string Container_Type, string Container_Title ) : void
Container_Type string General type of this container ( usually 'box', 'folder', etc.. )
Container_Title string Title or label for this container
return void
        private EAD_Transfer_Descriptive_Identification ead_copy_did_to_transfer(Descriptive_Identification Source)
        {
            // If null, just return null
            if (Source == null)
                return null;

            // Create the main object, and copy over the simple string values
            EAD_Transfer_Descriptive_Identification returnObj = new EAD_Transfer_Descriptive_Identification
            {
                DAO = Source.DAO,
                DAO_Link = Source.DAO_Link,
                DAO_Title = Source.DAO_Title,
                Extent = Source.Extent,
                Unit_Date = Source.Unit_Date,
                Unit_Title = Source.Unit_Title
            };

            // Copy any information about parent containers
            if (Source.Container_Count > 0)
            {
                foreach (Parent_Container_Info parentInfo in Source.Containers)
                {
                    returnObj.Add_Container(parentInfo.Container_Type, parentInfo.Container_Title);
                }
            }

            return returnObj;
        }