1 instantiation of SerializerContext
System.Xaml (1)
System\Xaml\XamlObjectReader.cs (1)
52var context = new SerializerContext(schemaContext, this.settings) { RootType = instance?.GetType() };
48 references to SerializerContext
System.Xaml (48)
System\Xaml\XamlObjectReader.cs (48)
52var context = new SerializerContext(schemaContext, this.settings) { RootType = instance?.GetType() }; 217public void Resume(SerializerContext context) 319public override void FindNamespace(SerializerContext context) 340object propertyValue, XamlValueConverter<XamlDeferringLoader> deferringLoader, SerializerContext context) 358(object source, XamlMember attachedProperty, object value, SerializerContext context) 394object sourceOrValue, XamlMember property, XamlType propertyType, SerializerContext context) 472public static bool ShouldOmitKey(DictionaryEntry entry, SerializerContext context) 500object source, XamlMember property, SerializerContext context) 530static MemberMarkupInfo ForSequence(object source, XamlMember property, SerializerContext context, bool isAttachable) 558static MemberMarkupInfo ForDictionary(object source, XamlMember property, SerializerContext context, bool isAttachable) 585static MemberMarkupInfo ForXmlSerializable(object source, XamlMember property, SerializerContext context) 637object source, XamlMember xamlProperty, SerializerContext context) 702public static MemberMarkupInfo ForSequenceItems(object sourceOrValue, XamlMember property, XamlType xamlType, SerializerContext context, bool allowReadOnly) 840object propertyValue, XamlMember xamlProperty, SerializerContext context) 851object propertyValue, ValueSerializer propertyValueSerializer, TypeConverter propertyConverter, bool isXamlTemplate, XamlMember xamlProperty, SerializerContext context) 903static void ThrowIfPropertiesAreAttached(object value, XamlMember property, SerializerContext context) 920static bool ShouldWriteProperty(object source, XamlMember property, SerializerContext context) 960public virtual void FindNamespace(SerializerContext context) { } 1156public override void FindNamespace(SerializerContext context) 1176void FindNamespaceForTypeArguments(IList<XamlType> types, SerializerContext context) 1190void AddItemsProperty(object value, SerializerContext context, XamlType xamlType) 1221void AddFactoryMethodAndValidateArguments(Type valueType, MemberInfo memberInfo, ICollection arguments, SerializerContext context, out ParameterInfo[] methodParams) 1298void AddArgumentsMembers(ICollection arguments, SerializerContext context) 1321bool TryAddPositionalParameters(XamlType xamlType, MemberInfo member, ICollection arguments, SerializerContext context) 1385protected void AddRecordMembers(object value, SerializerContext context) 1390bool TryGetInstanceDescriptorInfo(object value, SerializerContext context, TypeConverter converter, out MemberInfo member, out ICollection arguments, out bool isComplete) 1406void ConvertToInstanceDescriptor(SerializerContext context, object instance, TypeConverter converter, 1426protected void AddRecordMembers(object value, SerializerContext context, TypeConverter converter) 1460SerializerContext context, 1509void AddRecordConstructionMembers(object value, XamlType valueXamlType, SerializerContext context, 1602void GetConstructorInfo(object value, XamlType valueXamlType, SerializerContext context, out MemberInfo member, out ICollection arguments, out bool isComplete) 1726public void AssignName(SerializerContext context) 1735public void AssignName(string name, SerializerContext context) 1748public void AddNameProperty(SerializerContext context) 1786static string ConvertTypeAndMethodToString(Type type, string methodName, SerializerContext context) 1793static ObjectMarkupInfo ForArray(Array value, SerializerContext context) 1859static void AddAttachedProperties(object value, ObjectMarkupInfo objectInfo, SerializerContext context) 1897public static ObjectMarkupInfo ForObject(object value, SerializerContext context, TypeConverter instanceConverter = null, bool isRoot = false) 2009static ObjectMarkupInfo ForObjectInternal(object value, SerializerContext context, TypeConverter converter) 2047static void AddReference(object value, ObjectMarkupInfo objectInfo, SerializerContext context) 2052static ObjectMarkupInfo ForTypeConverted(string value, object originalValue, SerializerContext context) 2308internal static bool CanPropertyXamlRoundtrip(XamlMember property, SerializerContext context) 2314static List<XamlMember> GetXamlSerializableProperties(XamlType type, SerializerContext context) 2677public bool TryValueSerializeToString(ValueSerializer valueSerializer, TypeConverter propertyConverter, SerializerContext context, ref object value) 2790SerializerContext context; 2792public TypeDescriptorAndValueSerializerContext(SerializerContext context) 2870public XamlTemplateMarkupInfo(XamlReader reader, SerializerContext context) 2989public override void FindNamespace(SerializerContext context)