예제 #1
0
 /// <summary>
 ///     Creates a new PathDisplayTarget
 /// </summary>
 /// <param name="adapter">Display adapter</param>
 /// <param name="targetId">Display target identification</param>
 public PathDisplayTarget(PathDisplayAdapter adapter, uint targetId) : this(adapter, targetId, false)
 {
     IsAvailable = GetDisplayTargets().Any(target => target == this);
 }
예제 #2
0
 internal PathDisplayTarget(PathDisplayAdapter adapter, uint targetId, bool isAvailable)
 {
     Adapter     = adapter;
     TargetId    = targetId;
     IsAvailable = isAvailable;
 }
 /// <summary>
 ///     Creates a new PathDisplaySource
 /// </summary>
 /// <param name="adapter">Display adapter</param>
 /// <param name="sourceId">Display source identification</param>
 public PathDisplaySource(PathDisplayAdapter adapter, uint sourceId)
 {
     Adapter  = adapter;
     SourceId = sourceId;
 }