/// <summary> /// Get's the context of the passed <paramref name="view"/>. /// </summary> /// <param name="view">The view for which the context should be retrieved.</param> /// <returns>The context of the passed <paramref name="view"/>.</returns> internal static object GetContextOfView(object view) { CheckViewHandlerRegistration(); return(_viewHandler.GetContext(view)); }