public ProfileSnippetResult(string name, ProfileSnippetResult parent, TimeSpan elapsedTime) { this.name = name; this.parent = parent; this.children = null; this.elapsedTime = elapsedTime; }
public void AddChild(ProfileSnippetResult child) { if (children == null) { children = new FastList <ProfileSnippetResult>(); } children.Add(child); }