C# Class ShoelaceMVC.Extensions

Mostra file Open project: RyannosaurusRex/Shoelace-MVC

Public Methods

Method Description
GetDomain ( this routeData ) : string
GetSubdomain ( this routeData ) : string
GetTenantId ( this routeData ) : int

Gets the tenantId based on the domain.

Method Details

GetDomain() public static method

public static GetDomain ( this routeData ) : string
routeData this
return string

GetSubdomain() public static method

public static GetSubdomain ( this routeData ) : string
routeData this
return string

GetTenantId() public static method

Gets the tenantId based on the domain.
public static GetTenantId ( this routeData ) : int
routeData this
return int