File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change 618618 public string CreatePackageDefForBaseMethodRequest(CustomT4Host host)
619619 {
620620 var sb = new StringBuilder();
621- sb.Append(CreatePackageDefinition (host));
621+ sb.Append(CreatePackageDefForIBaseMethodRequest (host));
622622 var importFormat = @"import {0}.{1}.{2};";
623-
624- var returnType = ReturnType(host.CurrentType);
625- if(returnType != "Void" && !(host.CurrentType.AsOdcmMethod().ReturnType is OdcmPrimitiveType))
626- {
627- sb.AppendFormat(importFormat,
628- host.CurrentModel.NamespaceName(),
629- "models.extensions",
630- ReturnType(host.CurrentType));
631- sb.Append("\n");
632- }
633-
634- sb.AppendFormat(importFormat,
635- host.CurrentModel.NamespaceName(),
636- "requests.extensions",
637- ITypeRequest(host.CurrentType));
638- sb.Append("\n");
639-
640623 sb.AppendFormat(importFormat,
641624 host.CurrentModel.NamespaceName(),
642625 "requests.extensions",
You can’t perform that action at this time.
0 commit comments