diff --git a/I18N Commander/Processor/ProcessorMeta.cs b/I18N Commander/Processor/ProcessorMeta.cs new file mode 100644 index 0000000..bf57c59 --- /dev/null +++ b/I18N Commander/Processor/ProcessorMeta.cs @@ -0,0 +1,18 @@ +namespace Processor; + +public static class ProcessorMeta +{ + private static IServiceProvider? SERVICE_PROVIDER; + + public static IServiceProvider ServiceProvider + { + get => ProcessorMeta.SERVICE_PROVIDER!; + set + { + if(ProcessorMeta.SERVICE_PROVIDER is not null) + return; + + ProcessorMeta.SERVICE_PROVIDER = value; + } + } +} \ No newline at end of file