Esempio n. 1
0
        public String_Container Clone()
        {
            String_Container result = (String_Container)MemberwiseClone();

            result.strings = new List <String_Drawing>(strings.Count);
            for (int i = 0; i < strings.Count; ++i)
            {
                result.strings.Add(strings[i].Clone());
            }

            return(result);
        }
Esempio n. 2
0
        public String_Container GetInherittedPropertiesMerging(String_Container inherittedSource)
        {
            String_Container result = Clone();

            result.stringProperties = result.stringProperties.GetInherittedPropertiesMerging(inherittedSource.stringProperties);

            if (result.InheritText)
            {
                result.strings     = inherittedSource.strings;
                result.InheritText = inherittedSource.InheritText;
            }

            return(result);
        }