示例#1
0
 private void RegisterInternalNamespaces()
 {
     System = _systemSrn.ToNamespace(this);
     Global = _globalSrn.ToNamespace(this);
 }
示例#2
0
 public async Task DeleteAsync(Srn srn, string provider = "default")
 => await srn.ToNamespace(this).DeleteAsync(srn.Key, provider);
示例#3
0
 public async Task <dynamic> GetAsync(Srn srn, IList <string> providers)
 => await srn.ToNamespace(this).GetAsync(srn.Key, providers);
示例#4
0
 public async Task SetAsync(Srn srn, dynamic value, string provider = "default")
 => await srn.ToNamespace(this).SetAsync(srn.Key, value, provider);
示例#5
0
 public async Task <dynamic> GetAsync(Srn srn, string provider = "any")
 => await srn.ToNamespace(this).GetAsync(srn.Key, provider);