public ServiceSingleton(Application applicationReference, Mercury.Server.Application.ServiceSingleton serverSingleton)
        {
            base.ServiceType = Mercury.Server.Application.MedicalServiceType.Singleton;

            base.ServiceConstructor(applicationReference, serverSingleton);

            foreach (Mercury.Server.Application.ServiceSingletonDefinition definition in serverSingleton.Definitions)
            {
                definitions.Add(new Definitions.ServiceSingletonDefinition(applicationReference, definition));
            }

            return;
        }
Esempio n. 2
0
        protected void ServiceConstructor(Application applicationReference, Mercury.Server.Application.ServiceSingleton singleton)
        {
            base.BaseConstructor(applicationReference, singleton);


            serviceType = singleton.ServiceType;

            serviceClassification = singleton.ServiceClassification;

            lastPaidDate = singleton.LastPaidDate;

            return;
        }