csharp
public static class PlatformHostChoosing a platform, and saying which one was chosen and why.
Remarks
A function rather than a registry: there are two implementations that can run in this process, the choice between them is one question, and a plugin model for something with two answers would be machinery for its own sake. When Android, iOS and Web arrive they are separate app heads with separate entry points — a phone cannot fall back to the desktop platform, so there is nothing for a registry to select between there either.
Fields and properties (1)
public static IPlatformFactory InstanceThis class as an IPlatformFactory, which is what a builder takes.
Methods (1)
Used by (3)
- AppBackendTestsVixen.App.Tests
- FactoryVixen.App
- VixenAppVixen.App