public string ToScript(Control owner) { return "Ext.apply(Ext.data.Api.restActions, {0});".FormatWith(new ClientConfig().Serialize(this, true)); } }