/// <summary> /// Initializes a new instance of the <see cref="ServingEventArgs"/> class. /// Creates a new instance of the class and applies the specified body, serving location and serving content by. /// </summary> /// <param name="body"> /// The body string. /// </param> /// <param name="location"> /// The location. /// </param> /// <param name="contentBy"> /// The content By. /// </param> public ServingEventArgs(string body, ServingLocation location, ServingContentBy contentBy) { this.Body = body; this.Location = location; this.ContentBy = contentBy; }
/// <summary> /// Creates a new instance of the class and applies the specified body, serving location and serving content by. /// </summary> public ServingEventArgs(string body, ServingLocation location, ServingContentBy contentBy) { _Body = body; _Location = location; _ContentBy = contentBy; }