Open sandboxFocus

Method IsAvailableInTargetFramework

IsAvailableInTargetFramework(MemberInfo)

Determines whether a given MemberInfo is available in the target framework of the current project.

Declaration
public static bool IsAvailableInTargetFramework(this MemberInfo memberInfo)
Parameters
Type Name Description
MemberInfo memberInfo

A declaration that necessarily exists in the build-time framework.

Returns
Type Description
bool

IsAvailableInTargetFramework(Type)

Determines whether a given Type is available in the target framework of the current project.

Declaration
public static bool IsAvailableInTargetFramework(this Type type)
Parameters
Type Name Description
Type type

A declaration that necessarily exists in the build-time framework.

Returns
Type Description
bool