Show / Hide Table of Contents

Class IHtmlHelperExtensions

Inheritance
System.Object
IHtmlHelperExtensions
Namespace: Microsoft.GNS.Roster.Web
Assembly: Microsoft.GNS.Roster.Web.dll
Syntax
public static class IHtmlHelperExtensions : object

Methods

View Source

AreaListJavaScriptBlock(IHtmlHelper, String)

Declaration
public static IHtmlContent AreaListJavaScriptBlock(this IHtmlHelper helper, string areaName)
Parameters
Type Name Description
IHtmlHelper helper
System.String areaName
Returns
Type Description
IHtmlContent
View Source

IfNotRootScope(IHtmlHelper, Scope, String)

Declaration
public static IHtmlContent IfNotRootScope(this IHtmlHelper helper, Scope scope, string output)
Parameters
Type Name Description
IHtmlHelper helper
Scope scope
System.String output
Returns
Type Description
IHtmlContent
View Source

ReturnPageLink(IHtmlHelper, HttpRequest, Guid, String)

Declaration
public static IHtmlContent ReturnPageLink(this IHtmlHelper helper, HttpRequest request, Guid pageId, string fallbackMessage)
Parameters
Type Name Description
IHtmlHelper helper
HttpRequest request
Guid pageId
System.String fallbackMessage
Returns
Type Description
IHtmlContent
View Source

ReturnTabInput(IHtmlHelper, HttpContext, Guid)

Declaration
public static IHtmlContent ReturnTabInput(this IHtmlHelper helper, HttpContext httpContext, Guid pageId)
Parameters
Type Name Description
IHtmlHelper helper
HttpContext httpContext
Guid pageId
Returns
Type Description
IHtmlContent
View Source

RosterAdminsTab(IHtmlHelper, Guid, String, String, Scope, Boolean)

Declaration
public static IHtmlContent RosterAdminsTab(this IHtmlHelper helper, Guid pageId, string controllerType, string objectName, Scope scope = null, bool defaultTab = false)
Parameters
Type Name Description
IHtmlHelper helper
Guid pageId
System.String controllerType
System.String objectName
Scope scope
System.Boolean defaultTab
Returns
Type Description
IHtmlContent
View Source

RosterContainersTabAsync(IHtmlHelper, IAuthorizationService, Guid, Scope)

Declaration
public static async Task<IHtmlContent> RosterContainersTabAsync(this IHtmlHelper helper, IAuthorizationService authService, Guid pageId, Scope scope)
Parameters
Type Name Description
IHtmlHelper helper
IAuthorizationService authService
Guid pageId
Scope scope
Returns
Type Description
Task<IHtmlContent>
View Source

RosterMembershipsTab(IHtmlHelper, Guid, String, String, Scope, Boolean)

Declaration
public static IHtmlContent RosterMembershipsTab(this IHtmlHelper helper, Guid pageId, string controllerType, string objectName, Scope scope = null, bool defaultTab = false)
Parameters
Type Name Description
IHtmlHelper helper
Guid pageId
System.String controllerType
System.String objectName
Scope scope
System.Boolean defaultTab
Returns
Type Description
IHtmlContent
View Source

RosterMembersTab(IHtmlHelper, Guid, String, String, Scope, Boolean)

Declaration
public static IHtmlContent RosterMembersTab(this IHtmlHelper helper, Guid pageId, string controllerType, string objectName, Scope scope = null, bool defaultTab = false)
Parameters
Type Name Description
IHtmlHelper helper
Guid pageId
System.String controllerType
System.String objectName
Scope scope
System.Boolean defaultTab
Returns
Type Description
IHtmlContent
View Source

RosterPermissionsTab(IHtmlHelper, Guid, String, Scope, Boolean)

Declaration
public static IHtmlContent RosterPermissionsTab(this IHtmlHelper helper, Guid pageId, string containerName, Scope scope, bool defaultTab = false)
Parameters
Type Name Description
IHtmlHelper helper
Guid pageId
System.String containerName
Scope scope
System.Boolean defaultTab
Returns
Type Description
IHtmlContent
View Source

RosterProjectsTab(IHtmlHelper, Guid, Scope)

Declaration
public static IHtmlContent RosterProjectsTab(this IHtmlHelper helper, Guid pageId, Scope scope)
Parameters
Type Name Description
IHtmlHelper helper
Guid pageId
Scope scope
Returns
Type Description
IHtmlContent
View Source

RosterRolesTab(IHtmlHelper, Guid, Scope)

Declaration
public static IHtmlContent RosterRolesTab(this IHtmlHelper helper, Guid pageId, Scope scope)
Parameters
Type Name Description
IHtmlHelper helper
Guid pageId
Scope scope
Returns
Type Description
IHtmlContent
View Source

RosterTabbedPageScriptBlock(IHtmlHelper, Boolean)

Declaration
public static IHtmlContent RosterTabbedPageScriptBlock(this IHtmlHelper helper, bool stopLoadingSpinner = false)
Parameters
Type Name Description
IHtmlHelper helper
System.Boolean stopLoadingSpinner
Returns
Type Description
IHtmlContent
View Source

RosterToolsTab(IHtmlHelper, Guid, Scope)

Declaration
public static IHtmlContent RosterToolsTab(this IHtmlHelper helper, Guid pageId, Scope scope)
Parameters
Type Name Description
IHtmlHelper helper
Guid pageId
Scope scope
Returns
Type Description
IHtmlContent
View Source

ScopeAndNameParts(IHtmlHelper, IRosterDocument)

Declaration
public static string ScopeAndNameParts(this IHtmlHelper helper, IRosterDocument doc)
Parameters
Type Name Description
IHtmlHelper helper
IRosterDocument doc
Returns
Type Description
System.String
View Source

String(IHtmlHelper, String)

Declaration
public static IHtmlContent String(this IHtmlHelper helper, string input)
Parameters
Type Name Description
IHtmlHelper helper
System.String input
Returns
Type Description
IHtmlContent
  • View Source
In This Article
Back to top Generated by DocFX