UrlCheckerGenerateUrlToEnvironmentT(UserSessionData, T, EditorActiveTab) Method

Generates a URL to the EnvironmentDto page of user environment

Definition

Namespace: MobileTrack.Web.Components.Extensions
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static string GenerateUrlToEnvironment<T>(
	this UserSessionData currentUser,
	T environment,
	EditorActiveTab activeTab
)
where T : IIdLabel, IHasEnvironment

Parameters

currentUser  UserSessionData
currently logged-in user
environment  T
Environment to navigate to. If left empty, a new environment will be created.
activeTab  EditorActiveTab
The tab to show at startup.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:MobileTrack.Web.Components.Extensions.UrlChecker.GenerateUrlToEnvironment``1(MobileTrack.DataContainers.Models.UserSessionData,``0,MobileTrack.Web.Components.Models.EditorActiveTab)"]

Return Value

String
URL to navigate to

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UserSessionData. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also