/// <summary> /// Initializes a new instance of the <see cref="CallerStack" /> class. /// </summary> /// <param name="profile">The profile.</param> public CallerStack(CallProfile profile) { Base = profile; Stack = new List <CallProfile> { profile }; }
/// <summary> /// Adds the specified profile. /// </summary> /// <param name="profile">The profile.</param> public void Add(CallProfile profile) { Stack.Add(profile); }