4 instantiations of ObjectWriterContext
System.Xaml (4)
System\Xaml\Context\NameFixupToken.cs (1)
143
_targetContext = new
ObjectWriterContext
(SavedContext, null, null, Runtime);
System\Xaml\InfosetObjects\XamlObjectWriter.cs (3)
103
_context = new
ObjectWriterContext
(savedContext, settings, rootNameScope, runtime);
107
_context = new
ObjectWriterContext
(schemaContext, settings, rootNameScope, runtime);
1938
PendingKeyConversionContexts.Add(parentCollection, new
ObjectWriterContext
(savedContext, null, null, Runtime));
48 references to ObjectWriterContext
System.Xaml (48)
System\Xaml\Context\ContextServices.cs (1)
16
public static object GetTargetProperty(
ObjectWriterContext
xamlContext)
System\Xaml\Context\NameFixupToken.cs (2)
136
private
ObjectWriterContext
_targetContext;
137
public
ObjectWriterContext
TargetContext
System\Xaml\Context\SavedContext.cs (1)
19
public XamlSavedContext(SavedContextType savedContextType,
ObjectWriterContext
owContext, XamlContextStack<ObjectWriterFrame> stack)
System\Xaml\Context\ServiceProviderContext.cs (2)
29
ObjectWriterContext
_xamlContext;
31
public ServiceProviderContext(
ObjectWriterContext
context)
System\Xaml\Context\XamlObjectWriterFactory.cs (1)
16
public XamlObjectWriterFactory(
ObjectWriterContext
context)
System\Xaml\InfosetObjects\DeferredWriter.cs (2)
24
ObjectWriterContext
_context;
30
public DeferringWriter(
ObjectWriterContext
context)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (39)
27
ObjectWriterContext
_context;
43
private Dictionary<object,
ObjectWriterContext
> _pendingKeyConversionContexts;
220
private Dictionary<object,
ObjectWriterContext
> PendingKeyConversionContexts
225
_pendingKeyConversionContexts = new Dictionary<object,
ObjectWriterContext
>();
235
private void TryCreateParentInstance(
ObjectWriterContext
ctx)
1107
private void Logic_CreateAndAssignToParentStart(
ObjectWriterContext
ctx)
1201
private void Logic_ConvertPositionalParamsToArgs(
ObjectWriterContext
ctx)
1239
private void Logic_CreateFromInitializationValue(
ObjectWriterContext
ctx)
1273
private object Logic_CreateFromValue(
ObjectWriterContext
ctx, XamlValueConverter<TypeConverter> typeConverter,
1279
private object Logic_CreateFromValue(
ObjectWriterContext
ctx, XamlValueConverter<TypeConverter> typeConverter,
1299
private bool Logic_CreatePropertyValueFromValue(
ObjectWriterContext
ctx)
1392
private bool Logic_ShouldConvertKey(
ObjectWriterContext
ctx)
1427
private void Logic_BeginInit(
ObjectWriterContext
ctx)
1449
private void Logic_EndInit(
ObjectWriterContext
ctx)
1460
private void Logic_DeferProvideValue(
ObjectWriterContext
ctx)
1476
private void Logic_DuplicatePropertyCheck(
ObjectWriterContext
ctx, XamlMember property, bool onParent)
1498
private void Logic_ApplyCurrentPreconstructionPropertyValues(
ObjectWriterContext
ctx)
1503
private void Logic_ApplyCurrentPreconstructionPropertyValues(
ObjectWriterContext
ctx, bool skipDirectives)
1540
private object Logic_PushAndPopAProvideValueStackFrame(
ObjectWriterContext
ctx, XamlMember prop, XAML3.MarkupExtension me, bool useIRME)
1564
private void Logic_ApplyPropertyValue(
ObjectWriterContext
ctx, XamlMember prop,
1625
private void Logic_CheckBaseUri(
ObjectWriterContext
ctx, string value)
1638
private void Logic_AssignProvidedValue(
ObjectWriterContext
ctx)
1648
private bool Logic_ProvideValue(
ObjectWriterContext
ctx)
1724
private void Logic_PendCurrentFixupToken_SetValue(
ObjectWriterContext
ctx, NameFixupToken token)
1732
private void Logic_CheckAssignmentToParentStart(
ObjectWriterContext
ctx)
1753
private void Logic_DoAssignmentToParentCollection(
ObjectWriterContext
ctx)
1805
private bool Logic_WillParentCollectionAdd(
ObjectWriterContext
ctx, Type type, bool excludeObjectType)
1825
private void Logic_AddToParentDictionary(
ObjectWriterContext
ctx, object key, object value)
1884
private bool Logic_PendAssignmentToParentCollection(
ObjectWriterContext
ctx, object key, bool keyIsSet)
1946
private void Logic_DoAssignmentToParentProperty(
ObjectWriterContext
ctx)
2074
private void Logic_PendKeyFixupToken(
ObjectWriterContext
ctx, NameFixupToken token)
2095
private void Logic_RegisterName_OnCurrent(
ObjectWriterContext
ctx, string name)
2103
private void Logic_RegisterName_OnParent(
ObjectWriterContext
ctx, string name)
2110
private void RegisterName(
ObjectWriterContext
ctx, string name,
2147
private void Logic_SetConnectionId(
ObjectWriterContext
ctx, int connectionId, object instance)
2166
private void Logic_ValidateXClass(
ObjectWriterContext
ctx, object value)
2194
private void Logic_AddDependencyForUnresolvedChildren(
ObjectWriterContext
ctx,
2460
var
owc = token.TargetContext;
2592
ObjectWriterContext
ctx = PendingKeyConversionContexts[instance];