Esempio n. 1
0
    object ParagraphBase.CloneImpl()
    {
        Class6 class2 = base.CloneImpl() as Class6;

        if (base.m_charFormat != null)
        {
            class2.method_45().ImportContainer(base.m_charFormat);
        }
        if (class2.stream_0 != null)
        {
            class2.stream_0 = Class57.smethod_16(this.stream_0 as MemoryStream);
        }
        class2.dictionary_0 = new Dictionary <string, DictionaryEntry>();
        if (this.dictionary_0 != null)
        {
            foreach (string str in this.dictionary_0.Keys)
            {
                DictionaryEntry entry  = this.dictionary_0[str];
                DictionaryEntry entry2 = new DictionaryEntry((string)entry.Key, (string)entry.Value);
                class2.method_41().Add(str, entry2);
            }
        }
        return(class2);
    }