Method CreateCurrentArchitecture
CreateCurrentArchitecture(ISystem)
Creates an IArchitecture implementation using the provided ISystem according
to the architecture detected by Architecture.
public static IArchitecture CreateCurrentArchitecture(ISystem system)
Parameters
Returns
- IArchitecture
- An IArchitecture implementation for the current architecture.
Remarks
The architecture may utilize the values of PlatformDetection to make decisions about its behaviour. As such, the provided
implementations must be for the current process.
Exceptions
- NotImplementedException
- Thrown if Architecture returns an architecture which will be supported in the future, but is not currently.
- PlatformNotSupportedException
- Thrown if Architecture returns an unsupported architecture kind.