Class Toolkit.SciPropertiesResolver
- Namespace
- SearchAThing.Sci
- Assembly
- netcore-sci.dll
addictional json resolver to ignore some Vector3D, Line3D properties during serialization without affecting source code
public class Toolkit.SciPropertiesResolver : PrivateSetterContractResolver, IContractResolver
- Inheritance
-
DefaultContractResolverPrivateSetterContractResolverToolkit.SciPropertiesResolver
- Implements
-
IContractResolver
- Inherited Members
-
DefaultContractResolver.DynamicCodeGenerationDefaultContractResolver.DefaultMembersSearchFlagsDefaultContractResolver.SerializeCompilerGeneratedMembersDefaultContractResolver.IgnoreSerializableInterfaceDefaultContractResolver.IgnoreSerializableAttributeDefaultContractResolver.IgnoreIsSpecifiedMembersDefaultContractResolver.IgnoreShouldSerializeMembersDefaultContractResolver.NamingStrategy
Methods
CreateProperty(MemberInfo, MemberSerialization)
Creates a Newtonsoft.Json.Serialization.JsonProperty for the given MemberInfo.
protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization)
Parameters
member
MemberInfoThe member to create a Newtonsoft.Json.Serialization.JsonProperty for.
memberSerialization
MemberSerializationThe member's parent Newtonsoft.Json.MemberSerialization.
Returns
- JsonProperty
A created Newtonsoft.Json.Serialization.JsonProperty for the given MemberInfo.