public static OamDeviceWatcherProxy GetOamDeviceWatcherProxy(this OnlineSession session)
        {
            OamDeviceWatcher watcher = Reflector.GetInstanceFieldByName(session,
                                                                        "OamDeviceWatcher",
                                                                        ReflectionWays.SystemReflection)
                                       as OamDeviceWatcher;
            OamDeviceWatcherProxy proxy = new OamDeviceWatcherProxy(watcher);

            return(proxy);
        }
Exemple #2
0
 public OamDeviceWatcherProxy(IDisposable d)
 {
     OamDeviceWatcher = d as OamDeviceWatcher;
 }