public IVirtualDesktop GetAdjacentDesktop(IVirtualDesktop pDesktopReference, AdjacentDesktop uDirection)
        {
            if (_manager14328 != null)
            {
                return(_manager14328.GetAdjacentDesktop(pDesktopReference, uDirection));
            }

            if (_manager10240 != null)
            {
                return(_manager10240.GetAdjacentDesktop(pDesktopReference, uDirection));
            }

            if (_manager10130 != null)
            {
                return(_manager10130.GetAdjacentDesktop(pDesktopReference, uDirection));
            }

            throw new NotSupportedException();
        }
 public IVirtualDesktop GetAdjacentDesktop(IVirtualDesktop pDesktopReference, AdjacentDesktop uDirection)
 => this.InvokeMethodAndWrap(Args(((VirtualDesktop)pDesktopReference).ComObject, uDirection));
Ejemplo n.º 3
0
 public override VirtualDesktop GetAdjacentDesktop(VirtualDesktop pDesktopReference, AdjacentDesktop uDirection)
 {
     return(this.GetDesktop(Args(pDesktopReference.ComObject, uDirection)));
 }
 public abstract VirtualDesktop GetAdjacentDesktop(VirtualDesktop pDesktopReference, AdjacentDesktop uDirection);