add partial class to C# model

This commit is contained in:
wing328
2016-02-02 22:45:57 +08:00
parent f77a8672fc
commit 295cf0b2a1
7 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ namespace {{packageName}}.Model
/// {{description}} /// {{description}}
/// </summary> /// </summary>
[DataContract] [DataContract]
public class {{classname}} : {{#parent}}{{{parent}}}, {{/parent}} IEquatable<{{classname}}> public partial class {{classname}} : {{#parent}}{{{parent}}}, {{/parent}} IEquatable<{{classname}}>
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="{{classname}}" /> class. /// Initializes a new instance of the <see cref="{{classname}}" /> class.

View File

@@ -15,7 +15,7 @@ namespace IO.Swagger.Model
/// ///
/// </summary> /// </summary>
[DataContract] [DataContract]
public class Category : IEquatable<Category> public partial class Category : IEquatable<Category>
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Category" /> class. /// Initializes a new instance of the <see cref="Category" /> class.

View File

@@ -15,7 +15,7 @@ namespace IO.Swagger.Model
/// ///
/// </summary> /// </summary>
[DataContract] [DataContract]
public class Order : IEquatable<Order> public partial class Order : IEquatable<Order>
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Order" /> class. /// Initializes a new instance of the <see cref="Order" /> class.

View File

@@ -15,7 +15,7 @@ namespace IO.Swagger.Model
/// ///
/// </summary> /// </summary>
[DataContract] [DataContract]
public class Pet : IEquatable<Pet> public partial class Pet : IEquatable<Pet>
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Pet" /> class. /// Initializes a new instance of the <see cref="Pet" /> class.

View File

@@ -15,7 +15,7 @@ namespace IO.Swagger.Model
/// ///
/// </summary> /// </summary>
[DataContract] [DataContract]
public class Tag : IEquatable<Tag> public partial class Tag : IEquatable<Tag>
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="Tag" /> class. /// Initializes a new instance of the <see cref="Tag" /> class.

View File

@@ -15,7 +15,7 @@ namespace IO.Swagger.Model
/// ///
/// </summary> /// </summary>
[DataContract] [DataContract]
public class User : IEquatable<User> public partial class User : IEquatable<User>
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="User" /> class. /// Initializes a new instance of the <see cref="User" /> class.

View File

@@ -5,7 +5,7 @@
<File FileName="TestPet.cs" Line="1" Column="1" /> <File FileName="TestPet.cs" Line="1" Column="1" />
<File FileName="TestConfiguration.cs" Line="1" Column="1" /> <File FileName="TestConfiguration.cs" Line="1" Column="1" />
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Api/PetApi.cs" Line="1" Column="1" /> <File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Api/PetApi.cs" Line="1" Column="1" />
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Client/ApiClient.cs" Line="64" Column="50" /> <File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Client/ApiClient.cs" Line="1" Column="1" />
<File FileName="TestApiClient.cs" Line="1" Column="1" /> <File FileName="TestApiClient.cs" Line="1" Column="1" />
<File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Client/Configuration.cs" Line="1" Column="1" /> <File FileName="Lib/SwaggerClient/src/main/csharp/IO/Swagger/Client/Configuration.cs" Line="1" Column="1" />
</Files> </Files>