//---------------------------------------------------------------------------------------- // // This code was generated by https://github.com/StefH/ProxyInterfaceSourceGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //---------------------------------------------------------------------------------------- #nullable enable using System; using AutoMapper; namespace ProxyInterfaceSourceGeneratorTests.Source { public partial class PersonExtendsProxy : IPersonExtends { public ProxyInterfaceSourceGeneratorTests.Source.PersonExtends _Instance { get; } public string StaticString { get => ProxyInterfaceSourceGeneratorTests.Source.PersonExtends.StaticString; set => ProxyInterfaceSourceGeneratorTests.Source.PersonExtends.StaticString = value; } public string Name { get => _Instance.Name; set => _Instance.Name = value; } public string? StringNullable { get => _Instance.StringNullable; set => _Instance.StringNullable = value; } public long? NullableLong { get => _Instance.NullableLong; } public object @object { get => _Instance.@object; set => _Instance.@object = value; } public bool IsAlive { get => _Instance.IsAlive; set => _Instance.IsAlive = value; } public string StaticMethod(int x, string y) { int x_ = x; string y_ = y; var result_6851397 = ProxyInterfaceSourceGeneratorTests.Source.PersonExtends.StaticMethod(x_, y_); return result_6851397; } public void Void() { _Instance.Void(); } public string HelloWorld(string name) { string name_ = name; var result_6851397 = _Instance.HelloWorld(name_); return result_6851397; } public void WithParams(params string[] values) { string[] values_ = values; _Instance.WithParams(values_); } public string Add(string s, string @string) { string s_ = s; string @string_ = @string; var result_6851397 = _Instance.Add(s_, @string_); return result_6851397; } public int DefaultValue(int x = 100) { int x_ = x; var result_3873514 = _Instance.DefaultValue(x_); return result_3873514; } public void In_Out_Ref1(in int a, out int b, ref int c) { int a_ = a; int b_; int c_ = c; _Instance.In_Out_Ref1(in a_, out b_, ref c_); b = b_; } public bool Generic2(int x, T1 t1, T2 t2) where T1 : struct where T2 : class, new() { int x_ = x; T1 t1_ = t1; T2 t2_ = t2; var result_14331071 = _Instance.Generic2(x_, t1_, t2_); return result_14331071; } public System.Threading.Tasks.Task Method1Async() { var result_39535275 = _Instance.Method1Async(); return result_39535275; } public System.Threading.Tasks.Task Method2Async() { var result_772784336 = _Instance.Method2Async(); return result_772784336; } public System.Threading.Tasks.Task Method3Async() { var result_769806453 = _Instance.Method3Async(); return result_769806453; } public PersonExtendsProxy(ProxyInterfaceSourceGeneratorTests.Source.PersonExtends instance) { _Instance = instance; } } } #nullable disable