Class AutomaticRegistrationPolicy
Similar to DefaultRegistrationPolicy, but with automatic type registration is disabled.
Inherited Members
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. |