/// <summary> /// Constructor. /// </summary> public MainBusinessBase() { multiUser = new Lazy <IMutilUserProgress>(() => { return(new DefaultMutilUserProgress(ServiceType)); }); CancellationTokenSource = new CancellationTokenSource(); distributionFacility = DistributionFacilityFactory.GetDistributionFacility <MessageEntity>(); }
public DefaultMutilUserProgress(EServiceType serviceType) { this.serviceType = serviceType; distributionFacility = DistributionFacilityFactory.GetDistributionFacility <ProgressInfoMessage>(); }