Exemple #1
0
        public NetworkState(NetworkStateInterop interop, ILog <NetworkState> log)
        {
            Ensure.NotNull(interop, "interop");
            Ensure.NotNull(log, "log");
            this.log = log;

            _ = interop.InitializeAsync(OnStatusChanged);
        }
Exemple #2
0
 public NetworkState(NetworkStateInterop interop)
 {
     Ensure.NotNull(interop, "interop");
     _ = interop.InitializeAsync(OnStatusChanged);
 }