Revert "Updates to csharp model template to support inheritance"

This reverts commit 5f1df9e093.
This commit is contained in:
nmonterroso 2015-06-22 21:12:13 -07:00
parent 60b0ffeb0e
commit 2fced0f634

View File

@ -13,7 +13,7 @@ namespace {{package}} {
/// {{description}} /// {{description}}
/// </summary> /// </summary>
[DataContract] [DataContract]
public class {{classname}}{{#parent}} : {{{parent}}}{{/parent}} { public class {{classname}} {
{{#vars}} {{#vars}}
{{#description}}/* {{{description}}} */{{/description}} {{#description}}/* {{{description}}} */{{/description}}
[DataMember(Name="{{baseName}}", EmitDefaultValue=false)] [DataMember(Name="{{baseName}}", EmitDefaultValue=false)]
@ -39,7 +39,7 @@ namespace {{package}} {
/// Get the JSON string presentation of the object /// Get the JSON string presentation of the object
/// </summary> /// </summary>
/// <returns>JSON string presentation of the object</returns> /// <returns>JSON string presentation of the object</returns>
public {{#parent}} new {{/parent}}string ToJson() { public string ToJson() {
return JsonConvert.SerializeObject(this, Formatting.Indented); return JsonConvert.SerializeObject(this, Formatting.Indented);
} }