private string GenerateMethodPrototype() { if (String.IsNullOrWhiteSpace(this.MethodName)) { return(null); } if (this.Class == null) { return(null); } var msg = MethodHelper.GetMessageForMethod(this.MethodName, this.MethodType, this.Class, this.ProtocolName); return(MethodHelper.BuildMethodHeader(this.MethodName, msg)); }