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