Skip to main content
All docs
V24.1

BindToTypePolicy Members

Allows you to inspect assemblies/types and cancel the load operation or type resolution based on a specific condition.

Methods

Name Description
DenyAssemblyLoading() static Prevents dynamic loading of assemblies by DevExpress UI elements.
DenyAssemblyLoadingFromFilesAndBytes() static Prevents DevExpress UI controls from loading assemblies from arbitrary paths and Byte arrays (Assembly.LoadFile(String), Assembly.Load(Byte[])).
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterTrustedType(String, Type) static This member supports the internal infrastructure and is not intended to be used directly from your code.
RegisterTrustedType(Type) static This member supports the internal infrastructure and is not intended to be used directly from your code.
ToString() Returns a string that represents the current object. Inherited from Object.
UnregisterTrustedType(String) static This member supports the internal infrastructure and is not intended to be used directly from your code.
UnregisterTrustedType(Type) static This member supports the internal infrastructure and is not intended to be used directly from your code.

Events

Name Description
QueryAssemblyLoad static Allows you to spot an “unknown” assembly before it is loaded, check its name, and allow or cancel the operation.
QueryBindToType static Allows you to spot dynamic loading of a type, check its name and assembly, and allow the type resolve operation.
QueryNonTrustedTypeValidation static Allows you to validate blacklisted and “unknown” types.
See Also