Exemplo n.º 1
0
        private ServiceController()
        {
            InitializeTCPBinding();

            localPath = ApplicationResourceDirectory.LocalApplicationData;
            helper = BResources.Helper.Instance[localPath, resActiveServerFile];
        }
Exemplo n.º 2
0
        public Information()
        {
            resourceBuilder = Resources.Helper.Instance[ApplicationResourceDirectory.DefaultFolderName, resFile];

            resourceBuilder.Sender = this;

            if (resourceBuilder.IsFileAvailable)
            {
                ReadResources();
                status = Database.Status.ConfigurationRequiresValidation;
            }
            else status = Database.Status.RequiresConfiguration;
        }
Exemplo n.º 3
0
        private Controller()
        {
            resourceBuilder = Resources.Helper.Instance[ApplicationResourceDirectory.DefaultFolderName, resFile];
            resourceBuilder.Sender = this;

            if (!resourceBuilder.IsFileAvailable)
            {
                portTcp = 8511;
                portHttp = 1259;
                portEndPoint = 6268;

                WritePortToResources();
            }
            else ReadPortFromResources();
        }
Exemplo n.º 4
0
 private Configuration()
 {
     resourceBuilder = Resources.Helper.Instance[resourcePath, resourceFileName];
 }