I want to set a variable in my derived class, but at the moment the default constructor is called and all other methods are initialized before my variable in the derived class is set. Is it possible to move the code out of the consturctor in a 'start' method?
Background: I want to set the 'ASPNETCORE_ENVIRONMENT' with the 'InvokedFunctionArn' from 'ILambdaContext'. I have an working implementaton, but I made the changes in my local repository.
I want to set a variable in my derived class, but at the moment the default constructor is called and all other methods are initialized before my variable in the derived class is set. Is it possible to move the code out of the consturctor in a 'start' method?
Background: I want to set the 'ASPNETCORE_ENVIRONMENT' with the 'InvokedFunctionArn' from 'ILambdaContext'. I have an working implementaton, but I made the changes in my local repository.