Index > ExpressionPowerTools.Serialization > ExpressionPowerTools.Serialization.Rules > SerializationRule
A rule for serialization.
public class SerializationRule : ISerializationRuleInheritance Object → SerializationRule
Implements ISerializationRule
This is a container for the rule and ultimately gets resolved to a key for a MemberInfo and a boolean (authorized or not).
| Ctor | Description |
|---|---|
| SerializationRule(Boolean allow, MemberInfo info) | Initializes a new instance of the SerializationRule class with the options to allow and the match. |
| Property | Type | Description |
|---|---|---|
Allow |
Boolean | Gets a value indicating whether the target is allowed. |
MemberType |
MemberTypes | Gets the MemberTypes for the rule. |
Target |
MemberInfo | Gets the target. |
TargetKey |
String | Gets the target key. |
| Method | Description |
|---|---|
| Int32 GetHashCode() | Gets the hash code of the key. |
| String ToString() | Gets the member signature. |
| Generated | Copyright | Version |
|---|---|---|
| 02/22/2021 21:59:57 | (c) Copyright 2020 Jeremy Likness. | 0.9.7-beta |