From ec4d0bcb676158b5b1e91d266e2ecdf3c67564b1 Mon Sep 17 00:00:00 2001 From: "Simon G." Date: Wed, 3 Dec 2025 10:48:06 +0100 Subject: [PATCH] - add clearMultitonInstance method to sample --- Debug.LightweightIocContainer.FactoryGenerator/SampleClass.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Debug.LightweightIocContainer.FactoryGenerator/SampleClass.cs b/Debug.LightweightIocContainer.FactoryGenerator/SampleClass.cs index 7b4b4f7..3575aff 100644 --- a/Debug.LightweightIocContainer.FactoryGenerator/SampleClass.cs +++ b/Debug.LightweightIocContainer.FactoryGenerator/SampleClass.cs @@ -16,4 +16,6 @@ public interface ISampleClassFactory ISampleClass Create(string name); T Create(U param1, V param2) where T : ISampleClass where U : class, new() where V : struct; Task CreateAsync(U parameter) where T : ISampleClass where U : class; + + void ClearMultitonInstance() where T : ISampleClass; } \ No newline at end of file