<PackageReference Include="Relativity.Server.API.SDK" Version="5000.0.3" />

ICallingContext

public interface ICallingContext
Represents information about the web context from which the event handler is being called, such as the layout or page mode.
ILayout Layout { get; set; }

Gets or set a ILayout containing the GUIDs and artifact ID of the layout associated with a call to an event handler.

PageMode PageMode { get; set; }

Gets or sets the information needed by the event handler about the step in the page workflow associated with a call, such as a layout, list, edit, or other

string Referrer { get; set; }

Gets or sets a string indicating where the call to the event handler originates.