1 instantiation of SerializerContext
System.Xaml (1)
System\Xaml\XamlObjectReader.cs (1)
57
var context = new
SerializerContext
(schemaContext, this.settings) { RootType = instance?.GetType() };
48 references to SerializerContext
System.Xaml (48)
System\Xaml\XamlObjectReader.cs (48)
57
var
context = new SerializerContext(schemaContext, this.settings) { RootType = instance?.GetType() };
222
public void Resume(
SerializerContext
context)
324
public override void FindNamespace(
SerializerContext
context)
345
object propertyValue, XamlValueConverter<XamlDeferringLoader> deferringLoader,
SerializerContext
context)
363
(object source, XamlMember attachedProperty, object value,
SerializerContext
context)
399
object sourceOrValue, XamlMember property, XamlType propertyType,
SerializerContext
context)
477
public static bool ShouldOmitKey(DictionaryEntry entry,
SerializerContext
context)
505
object source, XamlMember property,
SerializerContext
context)
535
static MemberMarkupInfo ForSequence(object source, XamlMember property,
SerializerContext
context, bool isAttachable)
563
static MemberMarkupInfo ForDictionary(object source, XamlMember property,
SerializerContext
context, bool isAttachable)
590
static MemberMarkupInfo ForXmlSerializable(object source, XamlMember property,
SerializerContext
context)
642
object source, XamlMember xamlProperty,
SerializerContext
context)
707
public static MemberMarkupInfo ForSequenceItems(object sourceOrValue, XamlMember property, XamlType xamlType,
SerializerContext
context, bool allowReadOnly)
845
object propertyValue, XamlMember xamlProperty,
SerializerContext
context)
856
object propertyValue, ValueSerializer propertyValueSerializer, TypeConverter propertyConverter, bool isXamlTemplate, XamlMember xamlProperty,
SerializerContext
context)
908
static void ThrowIfPropertiesAreAttached(object value, XamlMember property,
SerializerContext
context)
925
static bool ShouldWriteProperty(object source, XamlMember property,
SerializerContext
context)
965
public virtual void FindNamespace(
SerializerContext
context) { }
1161
public override void FindNamespace(
SerializerContext
context)
1181
void FindNamespaceForTypeArguments(IList<XamlType> types,
SerializerContext
context)
1195
void AddItemsProperty(object value,
SerializerContext
context, XamlType xamlType)
1226
void AddFactoryMethodAndValidateArguments(Type valueType, MemberInfo memberInfo, ICollection arguments,
SerializerContext
context, out ParameterInfo[] methodParams)
1303
void AddArgumentsMembers(ICollection arguments,
SerializerContext
context)
1326
bool TryAddPositionalParameters(XamlType xamlType, MemberInfo member, ICollection arguments,
SerializerContext
context)
1390
protected void AddRecordMembers(object value,
SerializerContext
context)
1395
bool TryGetInstanceDescriptorInfo(object value,
SerializerContext
context, TypeConverter converter, out MemberInfo member, out ICollection arguments, out bool isComplete)
1411
void ConvertToInstanceDescriptor(
SerializerContext
context, object instance, TypeConverter converter,
1431
protected void AddRecordMembers(object value,
SerializerContext
context, TypeConverter converter)
1465
SerializerContext
context,
1514
void AddRecordConstructionMembers(object value, XamlType valueXamlType,
SerializerContext
context,
1607
void GetConstructorInfo(object value, XamlType valueXamlType,
SerializerContext
context, out MemberInfo member, out ICollection arguments, out bool isComplete)
1731
public void AssignName(
SerializerContext
context)
1740
public void AssignName(string name,
SerializerContext
context)
1753
public void AddNameProperty(
SerializerContext
context)
1791
static string ConvertTypeAndMethodToString(Type type, string methodName,
SerializerContext
context)
1798
static ObjectMarkupInfo ForArray(Array value,
SerializerContext
context)
1864
static void AddAttachedProperties(object value, ObjectMarkupInfo objectInfo,
SerializerContext
context)
1902
public static ObjectMarkupInfo ForObject(object value,
SerializerContext
context, TypeConverter instanceConverter = null, bool isRoot = false)
2014
static ObjectMarkupInfo ForObjectInternal(object value,
SerializerContext
context, TypeConverter converter)
2052
static void AddReference(object value, ObjectMarkupInfo objectInfo,
SerializerContext
context)
2057
static ObjectMarkupInfo ForTypeConverted(string value, object originalValue,
SerializerContext
context)
2313
internal static bool CanPropertyXamlRoundtrip(XamlMember property,
SerializerContext
context)
2319
static List<XamlMember> GetXamlSerializableProperties(XamlType type,
SerializerContext
context)
2682
public bool TryValueSerializeToString(ValueSerializer valueSerializer, TypeConverter propertyConverter,
SerializerContext
context, ref object value)
2795
SerializerContext
context;
2797
public TypeDescriptorAndValueSerializerContext(
SerializerContext
context)
2875
public XamlTemplateMarkupInfo(XamlReader reader,
SerializerContext
context)
2994
public override void FindNamespace(
SerializerContext
context)