Example #1
0
 internal void Construct(IVRPlatformHelper helper, Config.FPFCToggleOptions options)
 {
     _helper              = helper;
     _options             = options;
     _fpfcCommandArgument = Environment.GetCommandLineArgs().Any(x => x.ToLower() == "fpfc");
     _start  = options.Enabled && _fpfcCommandArgument;
     Enabled = _start;
 }
Example #2
0
 public void Construct(Config.FPFCToggleOptions options)
 {
     _options = options;
     _start   = Enabled = _options.Enabled && Environment.GetCommandLineArgs().Any(x => x.ToLower() == "fpfc");
 }