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
        }
Пример #2
0
 protected StepsTestBase()
 {
     UnitSystem.InitializeWithDefaults(unitRegistry => unitRegistry.Register(this.StepsUnit));
 }