Files
ProxyGenerator/tests/ProxyInterfaceSourceGeneratorTests/Destination/ProxyInterfaceSourceGeneratorTests.Source.IPerson.g.cs
T
Adam Hathcock 6391515c19 More options (#5)
* update generator and tests

* Add ImplementationOptions

* option tests

* fix some tests

* UseExtendedInterfaces with flag enum parsing

* add test for using base interfaces instead of interface

* add ProxyForBaseInterface

* add extra overload

* don't put new if we're replacing interfaces

* really remove AutoMapper

* remove akka and fix up interface

* Bigger bump for version

* adjust readme
2024-05-24 13:16:14 +01:00

73 lines
2.7 KiB
C#

//----------------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by https://github.com/specklesystems/ProxyGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------------------------------------------------------
#nullable enable
using System;
namespace ProxyInterfaceSourceGeneratorTests.Source
{
public partial interface IPerson
{
new global::ProxyInterfaceSourceGeneratorTests.Source.Person _Instance { get; }
[System.ComponentModel.DataAnnotations.DisplayAttribute(Prompt = "MyStruct Indexer")]
global::ProxyInterfaceSourceGeneratorTests.Source.MyStruct this[int i] { get; set; }
global::ProxyInterfaceSourceGeneratorTests.Source.MyStruct this[int i, string s] { get; set; }
[System.ComponentModel.DataAnnotations.DisplayAttribute(ResourceType = typeof(System.Threading.PeriodicTimer))]
string Name { get; set; }
string? StringNullable { get; set; }
long? NullableLong { get; }
object @object { get; set; }
global::System.Collections.Generic.IList<global::ProxyInterfaceSourceGeneratorTests.Source.IHuman> AddHuman(global::ProxyInterfaceSourceGeneratorTests.Source.IHuman h);
void Void();
string HelloWorld(string name);
string HelloWorld2(string? name = "x");
string HelloWorld3(char? ch = 'c');
string HelloWorld4(char ch);
string HelloWorld5(char? ch);
void WithParams(params string[] values);
string Add(string s, string @string);
int DefaultValue(int x = 100);
void In_Out_Ref1(in int a, out int b, ref int c);
double[,] Out_MultiDimensionIssue54(out double[,] x);
bool Generic2<T1, T2>(int x, T1 t1, T2 t2) where T1 : struct where T2 : class, new();
global::System.Threading.Tasks.Task Method1Async();
global::System.Threading.Tasks.Task<int> Method2Async();
[System.ComponentModel.DataAnnotations.DisplayAttribute(Name = "M3")]
global::System.Threading.Tasks.Task<string?> Method3Async();
void CreateInvokeHttpClient(int i = 5, string? appId = null, global::System.Collections.Generic.IReadOnlyDictionary<string, string>? metadata = null, global::System.Threading.CancellationToken token = default(System.Threading.CancellationToken));
bool TryParse(string s1, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] params int[]? ii);
bool TryParse(string s2, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out int? i);
}
}
#nullable restore