示例#1
0
 public ResourceMeter(string name)
 {
     this.name = name;
     ResourceMap.IncrementResourceUsage(name);
 }
示例#2
0
 public void Dispose()
 {
     ResourceMap.DecrementResourceUsage(name);
 }