public DelegateGenerator(ObjectTranslator translator,Type delegateType) { this.translator=translator; this.delegateType=delegateType; }