Removed enum extends since it's not super helpful. Bumped package version to 1.5.2.
This commit is contained in:
parent
bbd38496da
commit
54e1fbefec
@ -17,7 +17,7 @@
|
|||||||
<AssemblyName>MontoyaTech.Rest.Net</AssemblyName>
|
<AssemblyName>MontoyaTech.Rest.Net</AssemblyName>
|
||||||
<RootNamespace>MontoyaTech.Rest.Net</RootNamespace>
|
<RootNamespace>MontoyaTech.Rest.Net</RootNamespace>
|
||||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||||
<Version>1.5.1</Version>
|
<Version>1.5.2</Version>
|
||||||
<PackageReleaseNotes></PackageReleaseNotes>
|
<PackageReleaseNotes></PackageReleaseNotes>
|
||||||
<PackageIcon>Logo_Symbol_Black_Outline.png</PackageIcon>
|
<PackageIcon>Logo_Symbol_Black_Outline.png</PackageIcon>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -237,8 +237,6 @@ namespace MontoyaTech.Rest.Net
|
|||||||
|
|
||||||
if (!type.IsEnum && !(IsTypeDotNet(type.BaseType) && type.BaseType.Name == "Object"))
|
if (!type.IsEnum && !(IsTypeDotNet(type.BaseType) && type.BaseType.Name == "Object"))
|
||||||
writer.Write(" extends ").Write(this.GetTypeFullyResolvedName(type.BaseType));
|
writer.Write(" extends ").Write(this.GetTypeFullyResolvedName(type.BaseType));
|
||||||
else if (type.IsEnum)
|
|
||||||
writer.Write(" extends Number");
|
|
||||||
|
|
||||||
writer.WriteLine(" {").Indent();
|
writer.WriteLine(" {").Indent();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user