Exemple #1
0
        public AbstractConfigEvent(string group, string application, string config)
        {
            Preconditions.CheckArgument(group);
            Preconditions.CheckArgument(application);

            Header             = new ConfigUpdateHeader();
            Header.Timestamp   = DateTime.Now.Ticks;
            Header.Group       = group;
            Header.Application = application;
            Header.ConfigName  = config;
        }
Exemple #2
0
        public AbstractConfigBatch(string group, string application, string config)
        {
            Preconditions.CheckArgument(group);
            Preconditions.CheckArgument(application);

            Header = new ConfigUpdateHeader();
            Header.TransactionId = Guid.NewGuid().ToString();
            Header.Timestamp     = DateTime.Now.Ticks;
            Header.Group         = group;
            Header.Application   = application;
            Header.ConfigName    = config;
        }