JsonCodec.ITypeFilter.IsTypeAllowed(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified type is allowed to be serialized, deserialized, etcetera.
bool? ITypeFilter.IsTypeAllowed (Type type);
abstract member Orleans.Serialization.ITypeFilter.IsTypeAllowed : Type -> Nullable<bool>
override this.Orleans.Serialization.ITypeFilter.IsTypeAllowed : Type -> Nullable<bool>
Function IsTypeAllowed (type As Type) As Nullable(Of Boolean) Implements ITypeFilter.IsTypeAllowed
Parameters
- type
- Type
The type
Returns
true
if the specified type is allowed; false
if the type is not allowed; null
if the type is unknown by this filter.