public static OamEthernetConnectionsWatcherProxy GetOamEthernetConnectionsWatcherProxy(this OnlineSession session) { OamEthernetConnectionsWatcher watcher = Reflector.GetInstanceFieldByName(session, "m_Ethwatch", ReflectionWays.SystemReflection) as OamEthernetConnectionsWatcher; OamEthernetConnectionsWatcherProxy proxy = new OamEthernetConnectionsWatcherProxy(watcher); return(proxy); }
internal OamEthernetConnectionsWatcherProxy(OamEthernetConnectionsWatcher watcher) { OamEthernetConnectionsWatcher = watcher; }