2 writes to _target
PresentationCore (2)
System\Windows\Media\HostVisual.cs (2)
150
_target
= target;
192
_target
= null;
19 references to _target
PresentationCore (19)
System\Windows\Media\HostVisual.cs (19)
143
if (
_target
!= null)
187
Debug.Assert(
_target
!= null);
188
Debug.Assert(
_target
.Dispatcher.Thread == Thread.CurrentThread);
208
targetsHandle =
_target
._contentRoot.DuplicateHandle(
_target
.OutOfBandChannel, (DUCE.Channel)channel);
212
_target
.OutOfBandChannel.CloseBatch();
213
_target
.OutOfBandChannel.Commit();
243
&&
_target
!= null
257
if (
_target
.CheckAccess())
259
Debug.Assert(
_target
._contentRoot.IsOnChannel(channel));
260
Debug.Assert(
_target
.OutOfBandChannel == MediaContext.CurrentMediaContext.OutOfBandChannel);
261
bool created =
_target
._contentRoot.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType);
263
targetsHandle =
_target
._contentRoot.GetHandle(channel);
280
object returnValue =
_target
.Dispatcher.Invoke(
384
if (
_target
!= null && _connectedChannels.TryGetValue(channel, out channelDispatcher))
394
_target
._contentRoot.GetHandle(channel),
395
_target
._contentRoot);
413
targetHandle:
_target
._contentRoot.GetHandle(channel),
414
contentRoot:
_target
._contentRoot,