1 write to PtsHost
PresentationFramework (1)
src\Framework\MS\Internal\PtsHost\PtsCache.cs (1)
228
_contextPool[index].
PtsHost
= new PtsHost();
11 references to PtsHost
PresentationFramework (11)
src\Framework\MS\Internal\PtsHost\PtsCache.cs (11)
229
_contextPool[index].
PtsHost
.Context = CreatePTSContext(index, textFormattingMode);
243
return _contextPool[index].
PtsHost
;
291
if (_contextPool[index].
PtsHost
== ptsHost)
318
if (_contextPool[index].
PtsHost
== ptsHost)
370
Invariant.Assert(_contextPool[index].
PtsHost
.Context == ptsContext.Context, "PTS Context mismatch.");
383
Invariant.Assert(_contextPool[index].
PtsHost
.Context != IntPtr.Zero, "PTS Context handle is not valid.");
384
PTS.IgnoreError(PTS.DestroyDocContext(_contextPool[index].
PtsHost
.Context));
442
if (_contextPool[index].
PtsHost
.Context == ptsContext.Context)
468
Invariant.Assert(_contextPool[index].
PtsHost
.Context != IntPtr.Zero, "PTS Context handle is not valid.");
469
PTS.Validate(PTS.DestroyDocContext(_contextPool[index].
PtsHost
.Context));
507
ptsHost = _contextPool[index].
PtsHost
;