Show / Hide Table of Contents

Class AutomaticRegistrationPolicy

Similar to DefaultRegistrationPolicy, but with automatic type registration is disabled.

Inheritance
System.Object
DefaultRegistrationPolicy
AutomaticRegistrationPolicy
Inherited Members
DefaultRegistrationPolicy.HandleRegistration(IUserDataDescriptor, IUserDataDescriptor)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class AutomaticRegistrationPolicy : DefaultRegistrationPolicy, IRegistrationPolicy

Methods

AllowTypeAutoRegistration(Type)

Allows type automatic registration for the specified type. NOTE: automatic type registration is NOT recommended.

Declaration
public override bool AllowTypeAutoRegistration(Type type)
Parameters
Type type

The type.

Returns
System.Boolean

True to register the type automatically, false otherwise.

Overrides
DefaultRegistrationPolicy.AllowTypeAutoRegistration(Type)
Back to top Built by Itinero, MIT licensed.