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