diff --git a/modules/swagger-codegen/src/main/resources/csharp/modelGeneric.mustache b/modules/swagger-codegen/src/main/resources/csharp/modelGeneric.mustache
index 66fdaf97c43..9bb517c0384 100644
--- a/modules/swagger-codegen/src/main/resources/csharp/modelGeneric.mustache
+++ b/modules/swagger-codegen/src/main/resources/csharp/modelGeneric.mustache
@@ -175,8 +175,15 @@ this.{{name}} = {{name}};
{{^netStandard}}
{{#generatePropertyChanged}}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -189,6 +196,11 @@ this.{{name}} = {{name}};
}
{{/generatePropertyChanged}}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{ {{#vars}}{{#hasValidation}}{{#maxLength}}
// {{{name}}} ({{{datatype}}}) maxLength
diff --git a/samples/client/petstore/csharp/SwaggerClient/IO.Swagger.sln b/samples/client/petstore/csharp/SwaggerClient/IO.Swagger.sln
index 4b433720f5c..bfbf0998e01 100644
--- a/samples/client/petstore/csharp/SwaggerClient/IO.Swagger.sln
+++ b/samples/client/petstore/csharp/SwaggerClient/IO.Swagger.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger", "src\IO.Swagger\IO.Swagger.csproj", "{321C8C3F-0156-40C1-AE42-D59761FB9B6C}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger", "src\IO.Swagger\IO.Swagger.csproj", "{D23EBB29-C5C8-4000-BF1B-B91E26DD19DB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger.Test", "src\IO.Swagger.Test\IO.Swagger.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
-{321C8C3F-0156-40C1-AE42-D59761FB9B6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-{321C8C3F-0156-40C1-AE42-D59761FB9B6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
-{321C8C3F-0156-40C1-AE42-D59761FB9B6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
-{321C8C3F-0156-40C1-AE42-D59761FB9B6C}.Release|Any CPU.Build.0 = Release|Any CPU
+{D23EBB29-C5C8-4000-BF1B-B91E26DD19DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+{D23EBB29-C5C8-4000-BF1B-B91E26DD19DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+{D23EBB29-C5C8-4000-BF1B-B91E26DD19DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+{D23EBB29-C5C8-4000-BF1B-B91E26DD19DB}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj
index 6f55d545b7a..dc831ef19d7 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj
@@ -12,7 +12,7 @@ Contact: apiteam@swagger.io
Debug
AnyCPU
- {321C8C3F-0156-40C1-AE42-D59761FB9B6C}
+ {D23EBB29-C5C8-4000-BF1B-B91E26DD19DB}
Library
Properties
IO.Swagger
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/AdditionalPropertiesClass.cs
index 22e54d477ef..36e8f05dec6 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/AdditionalPropertiesClass.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/AdditionalPropertiesClass.cs
@@ -127,6 +127,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Animal.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Animal.cs
index e1d3d9e9f45..5e35b4fe687 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Animal.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Animal.cs
@@ -148,6 +148,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/AnimalFarm.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/AnimalFarm.cs
index e887b0c16e3..633a8e8809a 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/AnimalFarm.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/AnimalFarm.cs
@@ -98,6 +98,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ApiResponse.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ApiResponse.cs
index b4b46699a81..21a8a52131d 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ApiResponse.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ApiResponse.cs
@@ -142,6 +142,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayOfArrayOfNumberOnly.cs
index a4a60f92352..d4e1971762f 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayOfArrayOfNumberOnly.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayOfArrayOfNumberOnly.cs
@@ -112,6 +112,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayOfNumberOnly.cs
index f76a610dae3..1f7dabaa686 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayOfNumberOnly.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayOfNumberOnly.cs
@@ -112,6 +112,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayTest.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayTest.cs
index 1ce06c9ffe9..4120c100980 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayTest.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ArrayTest.cs
@@ -142,6 +142,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Capitalization.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Capitalization.cs
index f2d1394c259..3d73b2eec95 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Capitalization.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Capitalization.cs
@@ -188,6 +188,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Cat.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Cat.cs
index c64c6109541..2654b2bc537 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Cat.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Cat.cs
@@ -163,6 +163,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Category.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Category.cs
index 419661fe0af..8f263be18a1 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Category.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Category.cs
@@ -127,6 +127,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ClassModel.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ClassModel.cs
index de273d8a220..c0fca1d85a7 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ClassModel.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ClassModel.cs
@@ -112,6 +112,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Dog.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Dog.cs
index 3dffc392006..418bf7d0bdf 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Dog.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Dog.cs
@@ -163,6 +163,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/EnumArrays.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/EnumArrays.cs
index 5b948ab454d..82c598ad09e 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/EnumArrays.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/EnumArrays.cs
@@ -168,6 +168,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/EnumTest.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/EnumTest.cs
index b2702861bb3..645b7058d6d 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/EnumTest.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/EnumTest.cs
@@ -223,6 +223,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/FormatTest.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/FormatTest.cs
index 47ac0145280..a5459952967 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/FormatTest.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/FormatTest.cs
@@ -329,6 +329,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
// Integer (int?) maximum
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/HasOnlyReadOnly.cs
index 70537efa423..eed80fd723a 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/HasOnlyReadOnly.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/HasOnlyReadOnly.cs
@@ -124,6 +124,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/List.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/List.cs
index 24c511efd00..23f15118d85 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/List.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/List.cs
@@ -112,6 +112,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/MapTest.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/MapTest.cs
index fa1d212c13c..ceb6735e496 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/MapTest.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/MapTest.cs
@@ -148,6 +148,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
index 2235971c94d..96cdc1036a1 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
@@ -142,6 +142,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Model200Response.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Model200Response.cs
index c2ef1d10a42..e96c532a0a3 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Model200Response.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Model200Response.cs
@@ -127,6 +127,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ModelClient.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ModelClient.cs
index 1d8e111a278..80ba39f25a6 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ModelClient.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ModelClient.cs
@@ -112,6 +112,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ModelReturn.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ModelReturn.cs
index ddfe4adbb1e..8c134d16047 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ModelReturn.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ModelReturn.cs
@@ -112,6 +112,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Name.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Name.cs
index 2aad136f128..1cd1141d03c 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Name.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Name.cs
@@ -166,6 +166,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/NumberOnly.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/NumberOnly.cs
index af10ff363fc..fc40a098b27 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/NumberOnly.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/NumberOnly.cs
@@ -112,6 +112,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Order.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Order.cs
index e7d35ee2de2..7d53ffe1261 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Order.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Order.cs
@@ -223,6 +223,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Pet.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Pet.cs
index ec19f21ec8d..47aef35aeae 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Pet.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Pet.cs
@@ -236,6 +236,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ReadOnlyFirst.cs
index ee8f3488096..7e609e0d8f6 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ReadOnlyFirst.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/ReadOnlyFirst.cs
@@ -125,6 +125,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/SpecialModelName.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/SpecialModelName.cs
index df5b2c61936..c4c25f3d3ab 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/SpecialModelName.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/SpecialModelName.cs
@@ -112,6 +112,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Tag.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Tag.cs
index 73f32b87038..214abef39a4 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Tag.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/Tag.cs
@@ -127,6 +127,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/User.cs b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/User.cs
index 6641ce8c41f..7af6ae68600 100644
--- a/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/User.cs
+++ b/samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/User.cs
@@ -218,6 +218,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/IO.Swagger.sln b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/IO.Swagger.sln
index 4a35e02519c..43311174519 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/IO.Swagger.sln
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/IO.Swagger.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger", "src\IO.Swagger\IO.Swagger.csproj", "{5CD900DE-8266-412F-A758-28E1F9C623D5}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger", "src\IO.Swagger\IO.Swagger.csproj", "{05E9062F-6473-433C-92E3-F7EF63B6A0CB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger.Test", "src\IO.Swagger.Test\IO.Swagger.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
-{5CD900DE-8266-412F-A758-28E1F9C623D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-{5CD900DE-8266-412F-A758-28E1F9C623D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
-{5CD900DE-8266-412F-A758-28E1F9C623D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
-{5CD900DE-8266-412F-A758-28E1F9C623D5}.Release|Any CPU.Build.0 = Release|Any CPU
+{05E9062F-6473-433C-92E3-F7EF63B6A0CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+{05E9062F-6473-433C-92E3-F7EF63B6A0CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+{05E9062F-6473-433C-92E3-F7EF63B6A0CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+{05E9062F-6473-433C-92E3-F7EF63B6A0CB}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger.Test/IO.Swagger.Test.csproj b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger.Test/IO.Swagger.Test.csproj
index a5e34c3155f..8640220512f 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger.Test/IO.Swagger.Test.csproj
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger.Test/IO.Swagger.Test.csproj
@@ -74,7 +74,7 @@ Contact: apiteam@swagger.io
- {5CD900DE-8266-412F-A758-28E1F9C623D5}
+ {05E9062F-6473-433C-92E3-F7EF63B6A0CB}
IO.Swagger
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/IO.Swagger.csproj b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/IO.Swagger.csproj
index 27f887c6aa9..76436bec2f9 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/IO.Swagger.csproj
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/IO.Swagger.csproj
@@ -12,7 +12,7 @@ Contact: apiteam@swagger.io
Debug
AnyCPU
- {5CD900DE-8266-412F-A758-28E1F9C623D5}
+ {05E9062F-6473-433C-92E3-F7EF63B6A0CB}
Library
Properties
IO.Swagger
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/AdditionalPropertiesClass.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/AdditionalPropertiesClass.cs
index dac775bbc18..3ae39f1b32f 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/AdditionalPropertiesClass.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/AdditionalPropertiesClass.cs
@@ -130,8 +130,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -143,6 +150,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Animal.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Animal.cs
index 8acd1d2fd0f..77db1d6d2d4 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Animal.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Animal.cs
@@ -151,8 +151,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -164,6 +171,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/AnimalFarm.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/AnimalFarm.cs
index 74cdff27176..cc517d0adb6 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/AnimalFarm.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/AnimalFarm.cs
@@ -101,8 +101,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -114,6 +121,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ApiResponse.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ApiResponse.cs
index 53638f591fb..ce839de2c55 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ApiResponse.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ApiResponse.cs
@@ -145,8 +145,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -158,6 +165,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayOfArrayOfNumberOnly.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayOfArrayOfNumberOnly.cs
index d5006e55c75..e9cf803ecfd 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayOfArrayOfNumberOnly.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayOfArrayOfNumberOnly.cs
@@ -115,8 +115,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -128,6 +135,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayOfNumberOnly.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayOfNumberOnly.cs
index c4d6ab6ec99..b9afce40941 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayOfNumberOnly.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayOfNumberOnly.cs
@@ -115,8 +115,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -128,6 +135,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayTest.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayTest.cs
index 574e20e54f9..3aa6661639f 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayTest.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ArrayTest.cs
@@ -145,8 +145,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -158,6 +165,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Capitalization.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Capitalization.cs
index 501779286fe..a4ecd11f47a 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Capitalization.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Capitalization.cs
@@ -191,8 +191,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -204,6 +211,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Cat.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Cat.cs
index 7611e35c3ae..d12facb1ab7 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Cat.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Cat.cs
@@ -166,8 +166,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -179,6 +186,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Category.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Category.cs
index 08682e96384..6ffc7cb42da 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Category.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Category.cs
@@ -130,8 +130,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -143,6 +150,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ClassModel.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ClassModel.cs
index d5a311138bd..09c674c322a 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ClassModel.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ClassModel.cs
@@ -115,8 +115,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -128,6 +135,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Dog.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Dog.cs
index 3c92e0ef86a..5aa0304891c 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Dog.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Dog.cs
@@ -166,8 +166,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -179,6 +186,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/EnumArrays.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/EnumArrays.cs
index ca5e3f18c7b..7b1d1219ec8 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/EnumArrays.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/EnumArrays.cs
@@ -171,8 +171,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -184,6 +191,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/EnumTest.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/EnumTest.cs
index 7dc47a4cf75..0aa207868a4 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/EnumTest.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/EnumTest.cs
@@ -226,8 +226,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -239,6 +246,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/FormatTest.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/FormatTest.cs
index 4535c46b606..23b46a64ea0 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/FormatTest.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/FormatTest.cs
@@ -332,8 +332,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -345,6 +352,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
// Integer (int?) maximum
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/HasOnlyReadOnly.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/HasOnlyReadOnly.cs
index 24a6b2fbaa4..267822e2cae 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/HasOnlyReadOnly.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/HasOnlyReadOnly.cs
@@ -127,8 +127,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -140,6 +147,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/List.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/List.cs
index af1496296d4..d5bda045c7c 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/List.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/List.cs
@@ -115,8 +115,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -128,6 +135,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/MapTest.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/MapTest.cs
index 89225347409..50d26eaf5d0 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/MapTest.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/MapTest.cs
@@ -151,8 +151,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -164,6 +171,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/MixedPropertiesAndAdditionalPropertiesClass.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
index cc20e44933f..d00ce61baa2 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
@@ -145,8 +145,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -158,6 +165,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Model200Response.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Model200Response.cs
index 8cf2b3f5101..230446b209e 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Model200Response.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Model200Response.cs
@@ -130,8 +130,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -143,6 +150,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ModelClient.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ModelClient.cs
index c5b3764b8d6..129ab5e7fd1 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ModelClient.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ModelClient.cs
@@ -115,8 +115,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -128,6 +135,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ModelReturn.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ModelReturn.cs
index 736f5bbf411..f66bea7cedc 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ModelReturn.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ModelReturn.cs
@@ -115,8 +115,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -128,6 +135,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Name.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Name.cs
index 471320e6f1b..c01161fc305 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Name.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Name.cs
@@ -169,8 +169,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -182,6 +189,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/NumberOnly.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/NumberOnly.cs
index ff73299b7c7..54b4b852686 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/NumberOnly.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/NumberOnly.cs
@@ -115,8 +115,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -128,6 +135,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Order.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Order.cs
index 69445b8267a..7a219e9181f 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Order.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Order.cs
@@ -226,8 +226,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -239,6 +246,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Pet.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Pet.cs
index 2ab1c18e7b5..397e5a651fb 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Pet.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Pet.cs
@@ -239,8 +239,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -252,6 +259,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ReadOnlyFirst.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ReadOnlyFirst.cs
index d958c7623fc..2c60d08a17b 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ReadOnlyFirst.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/ReadOnlyFirst.cs
@@ -128,8 +128,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -141,6 +148,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/SpecialModelName.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/SpecialModelName.cs
index e5ab99748dc..4a1b6d00f38 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/SpecialModelName.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/SpecialModelName.cs
@@ -115,8 +115,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -128,6 +135,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Tag.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Tag.cs
index 6be21f6bf89..6ebcccaa6b4 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Tag.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/Tag.cs
@@ -130,8 +130,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -143,6 +150,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
diff --git a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/User.cs b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/User.cs
index 2ce3884ef74..0554468e0f8 100644
--- a/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/User.cs
+++ b/samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/src/IO.Swagger/Model/User.cs
@@ -221,8 +221,15 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// Property changed event handler
+ ///
public event PropertyChangedEventHandler PropertyChanged;
+ ///
+ /// Trigger when a property changed
+ ///
+ /// Property Name
public virtual void OnPropertyChanged(string propertyName)
{
// NOTE: property changed is handled via "code weaving" using Fody.
@@ -234,6 +241,11 @@ namespace IO.Swagger.Model
}
}
+ ///
+ /// To validate all properties of the instance
+ ///
+ /// Validation context
+ /// Validation Result
IEnumerable IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;