public void ReplacingEngine() { #region UsageInitializeUnitSystem // Initialize the unit system with a custom implementation of the IUnitSystemDependencyFactory interface. var unitSystemDependencies = UnitSystem.InitializeWithDefaults(null, new CustomUnitSystemDependencyFactory()); #endregion }
protected StepsTestBase() { UnitSystem.InitializeWithDefaults(unitRegistry => unitRegistry.Register(this.StepsUnit)); }