Constable Authorization Engine 2.0 BETA

Context.IsPublicCreatableTypeFilter Method 

[This is preliminary documentation and subject to change.]

Determines if the currentType is public, non-abstract type compatible with the baseType.

[Visual Basic]
Public Shared Function IsPublicCreatableTypeFilter( _
   ByVal assembly As Assembly, _
   ByVal baseType As Type, _
   ByVal currentType As Type _
) As Boolean
[C#]
public static bool IsPublicCreatableTypeFilter(
   Assembly assembly,
   Type baseType,
   Type currentType
);

Parameters

assembly
The assembly containing the currentType.
baseType
The base type.
currentType
The currently enumerated type.

Return Value

true if the currentType is a public, non-abstract type compatible with the baseType; otherwise false.

Remarks

This method is often used as the Context.TypeFilterDelegate passed to the GetAvailableTypes method.

See Also

Context Class | LaMarvin.Design Namespace