protected FormatBase GetDefComposite(int key, FormatBase value) { int fullKey = this.GetFullKey(key); this.PropertiesHash[fullKey] = value; if ((this.BaseFormat != null) && (this.BaseFormat.PropertiesHash != null)) { FormatBase base2; if (this.BaseFormat.PropertiesHash.ContainsKey(fullKey)) { base2 = this.BaseFormat.PropertiesHash[fullKey] as FormatBase; } else { base2 = this.BaseFormat[fullKey] as FormatBase; } value.ApplyBase(base2); } return(value); }