public Subroutine Get(Key key) { if (this.cache.ContainsKey(key)) { return(this.cache [key]); } Subroutine sub = BuildNewSubroutine(key); this.cache.Add(key, sub); if (sub != null) { sub.Initialize(); } return(sub); }
public Subroutine Get(Key key) { if (this.cache.ContainsKey(key)) { return(this.cache [key]); } Subroutine sub = BuildNewSubroutine(key); this.cache.Add(key, sub); if (sub != null) { sub.Initialize(); } return(sub); }