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
        }
Esempio n. 2
0
 protected StepsTestBase()
 {
     UnitSystem.InitializeWithDefaults(unitRegistry => unitRegistry.Register(this.StepsUnit));
 }