hopefully this should be a simple one.
So I have this class which is just this:
public class ClientIdValues : IClientIdValues
{
public string[] clientIds {get; set;}
}
And the interface for that class is:
public interface IClientIdValues
{
string [] ClientIds {get; set;}
}
This class gets injected into another class and is registered in startup.cs. The class is available when injected, but it's null and so it should be, I haven't set values yet.
However, I can't seem to figure out how to
I would assume it's some form of
services.Configure<ClientIdValues>(opt => opt.clientIds = stringArray);
Thanks in advance for any help!