Exemple #1
0
 internal MsConfigListener(string dataId, string group, bool optional, NacosV2ConfigurationProvider provider)
 {
     this._dataId   = dataId;
     this._group    = group;
     this._optional = optional;
     this._provider = provider;
     _key           = $"{provider._configurationSource.Tenant}#{_group}#{_dataId}";
 }
Exemple #2
0
 internal MsConfigListener(string dataId, string group, bool optional, NacosV2ConfigurationProvider provider, ILogger logger)
 {
     this._dataId   = dataId;
     this._group    = group;
     this._optional = optional;
     this._provider = provider;
     this._logger   = logger;
     _key           = $"{provider._configurationSource.GetNamespace()}#{_group}#{_dataId}";
 }