示例#1
0
 internal CommandCache(IProcLookup host, string type, CommandCache parent)
 {
     this.host   = host;
     this.type   = type;
     this.parent = parent;
     this.cache  = parent?.cache ?? default;
 }
示例#2
0
 /// <summary>
 /// Build cache of function pointers from IProcLookup host.
 /// </summary>
 public void Initialise()
 {
     this.cache = new CommandCacheStruct(this);
 }