Esempio n. 1
0
        public override iCalObject Copy(iCalObject parent)
        {
            iCalDataType icdt = (iCalDataType)Activator.CreateInstance(GetType());

            icdt.CopyFrom(this);
            icdt.Parent = parent;
            return(icdt);
        }
Esempio n. 2
0
        public override iCalObject Copy(iCalObject parent)
        {
            iCalDataType icdt = (iCalDataType)Activator.CreateInstance(GetType());

            icdt.CopyFrom(this);

            // Add parameters
            foreach (Parameter p in Parameters)
            {
                p.Copy(icdt);
            }

            icdt.Parent = parent;
            return(icdt);
        }
Esempio n. 3
0
        public override iCalObject Copy(iCalObject parent)
        {
            iCalDataType icdt = (iCalDataType)Activator.CreateInstance(GetType());

            icdt.CopyFrom(this);

            // Add parameters
            foreach (DictionaryEntry de in Parameters)
            {
                ((Parameter)(de.Value)).Copy(icdt);
            }

            icdt.Parent = parent;
            return(icdt);
        }