forked from loafle/openapi-generator-original
		
	update C# netcore samples
This commit is contained in:
		
							parent
							
								
									7f58c57249
								
							
						
					
					
						commit
						44b51a136f
					
				@ -11,6 +11,7 @@
 | 
			
		||||
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections;
 | 
			
		||||
using System.Globalization;
 | 
			
		||||
using System.IO;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
@ -102,7 +103,7 @@ namespace Org.OpenAPITools.Client
 | 
			
		||||
            if (obj is ICollection collection)
 | 
			
		||||
                return string.Join(",", collection.Cast<object>());
 | 
			
		||||
 | 
			
		||||
            return Convert.ToString(obj);
 | 
			
		||||
            return Convert.ToString(obj, CultureInfo.InvariantCulture);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
 | 
			
		||||
@ -11,6 +11,7 @@
 | 
			
		||||
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections;
 | 
			
		||||
using System.Globalization;
 | 
			
		||||
using System.IO;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
@ -102,7 +103,7 @@ namespace Org.OpenAPITools.Client
 | 
			
		||||
            if (obj is ICollection collection)
 | 
			
		||||
                return string.Join(",", collection.Cast<object>());
 | 
			
		||||
 | 
			
		||||
            return Convert.ToString(obj);
 | 
			
		||||
            return Convert.ToString(obj, CultureInfo.InvariantCulture);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user