public TypeExtension(string type) { this.typeExtension = new System.Windows.Markup.TypeExtension(type); }