public bool AddPerformerType(System.Type ty)
 {
     if (performerTypes == null)
     {
         performerTypes = new ObjectTypes();
     }
     return(performerTypes.AddType(ty));
 }
        public object Clone()
        {
            ObjectTypes obj = new ObjectTypes();

            if (pTypes != null)
            {
                for (int i = 0; i < pTypes.Length; i++)
                {
                    obj.AddType(pTypes[i]);
                }
            }
            return(obj);
        }