/// <summary> /// Создать пчелу-матку. /// </summary> public QueenBee() { this.balance = ServiceLocator.Instance.GetService <IApiaryBalance>(); this.randomizer = ServiceLocator.Instance.GetService <IRandomizer>(); this.factory = ServiceLocator.Instance.GetService <IBeeFactory>(); }
/// <summary> /// Создать улей. /// </summary> public BeeWorkflowBeehive() { this.beeFactory = ServiceLocator.Instance.GetService <IBeeFactory>(); }