93 lines
2.8 KiB
C#
93 lines
2.8 KiB
C#
/**
|
|
* <auto-generated>
|
|
* Autogenerated by Thrift Compiler (0.22.0)
|
|
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
* </auto-generated>
|
|
*/
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Thrift;
|
|
using Thrift.Collections;
|
|
using System.Runtime.Serialization;
|
|
using Thrift.Protocol;
|
|
|
|
|
|
#pragma warning disable IDE0079 // remove unnecessary pragmas
|
|
#pragma warning disable IDE0017 // object init can be simplified
|
|
#pragma warning disable IDE0028 // collection init can be simplified
|
|
#pragma warning disable IDE0305 // collection init can be simplified
|
|
#pragma warning disable IDE0034 // simplify default expression
|
|
#pragma warning disable IDE0066 // use switch expression
|
|
#pragma warning disable IDE0090 // simplify new expression
|
|
#pragma warning disable IDE0290 // use primary CTOR
|
|
#pragma warning disable IDE1006 // parts of the code use IDL spelling
|
|
#pragma warning disable CA1822 // empty DeepCopy() methods still non-static
|
|
#pragma warning disable IDE0083 // pattern matching "that is not SomeType" requires net5.0 but we still support earlier versions
|
|
|
|
namespace Byway.Thrift.Data
|
|
{
|
|
public static class AtlasConfigExtensions
|
|
{
|
|
public static bool Equals(this List<global::Byway.Thrift.Data.ArtAtlasInfo> instance, object that)
|
|
{
|
|
if (!(that is List<global::Byway.Thrift.Data.ArtAtlasInfo> other)) return false;
|
|
if (ReferenceEquals(instance, other)) return true;
|
|
|
|
return TCollections.Equals(instance, other);
|
|
}
|
|
|
|
|
|
public static int GetHashCode(this List<global::Byway.Thrift.Data.ArtAtlasInfo> instance)
|
|
{
|
|
return TCollections.GetHashCode(instance);
|
|
}
|
|
|
|
|
|
public static List<global::Byway.Thrift.Data.ArtAtlasInfo> DeepCopy(this List<global::Byway.Thrift.Data.ArtAtlasInfo> source)
|
|
{
|
|
if (source == null)
|
|
return null;
|
|
|
|
var tmp18 = new List<global::Byway.Thrift.Data.ArtAtlasInfo>(source.Count);
|
|
foreach (var elem in source)
|
|
tmp18.Add((elem != null) ? elem.DeepCopy() : null);
|
|
return tmp18;
|
|
}
|
|
|
|
|
|
public static bool Equals(this List<string> instance, object that)
|
|
{
|
|
if (!(that is List<string> other)) return false;
|
|
if (ReferenceEquals(instance, other)) return true;
|
|
|
|
return TCollections.Equals(instance, other);
|
|
}
|
|
|
|
|
|
public static int GetHashCode(this List<string> instance)
|
|
{
|
|
return TCollections.GetHashCode(instance);
|
|
}
|
|
|
|
|
|
public static List<string> DeepCopy(this List<string> source)
|
|
{
|
|
if (source == null)
|
|
return null;
|
|
|
|
var tmp19 = new List<string>(source.Count);
|
|
foreach (var elem in source)
|
|
tmp19.Add((elem != null) ? elem : null);
|
|
return tmp19;
|
|
}
|
|
|
|
|
|
}
|
|
}
|