Class AchievementSdkTypeProbe
Answers whether a type is compiled into this project, which is how the doctor tells an installed storefront SDK from an absent one.
Inherited Members
Namespace: Serenity.Achievements.Infrastructure.Editor.Platforms
Assembly: Serenity.UnityAchievements.Infrastructure.Editor.dll
Syntax
public static class AchievementSdkTypeProbe
Remarks
Every loaded assembly is asked, rather than Type.GetType with a bare name: an SDK
arrives in an assembly whose name Serenity does not know and must not have to know — a Unity
package, a .unitypackage dropped into Plugins, or a platform module all produce different
assembly names for the same type. A type that resolves is proof the SDK compiled; the reverse
is not proof of a broken install, only of an absent one, which is exactly the distinction the
doctor reports.
Methods
Exists(string)
Whether a type with this full name is compiled into the project.
Declaration
public static bool Exists(string fullTypeName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fullTypeName | The full name, namespace included. Blank answers false. |
Returns
| Type | Description |
|---|---|
| bool | True when some loaded assembly declares it. |