Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 2.5 KB

File metadata and controls

44 lines (30 loc) · 2.5 KB

SerializationRule Class

Index > ExpressionPowerTools.Serialization > ExpressionPowerTools.Serialization.Rules > SerializationRule

A rule for serialization.

public class SerializationRule : ISerializationRule

Inheritance ObjectSerializationRule

Implements ISerializationRule

Remarks

This is a container for the rule and ultimately gets resolved to a key for a MemberInfo and a boolean (authorized or not).

Constructors

Ctor Description
SerializationRule(Boolean allow, MemberInfo info) Initializes a new instance of the SerializationRule class with the options to allow and the match.

Properties

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.

Methods

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