C# Class SenseNet.ApplicationModel.GenericScenario

显示文件 Open project: maxpavlov/FlexNet

Public Methods

Method Description
GetActionComparer ( ) : IComparer
GetActions ( Content context, string backUrl ) : IEnumerable
GetNewItemNodes ( GenericContent content ) : IEnumerable
GetNewItemNodes ( GenericContent content, ContentType contentTypes ) : IEnumerable
GetServiceAction ( Content context, string backUrl, string methodName, string title, string iconName, int index ) : ServiceAction
Initialize ( object>.Dictionary parameters ) : void

Protected Methods

Method Description
CollectActions ( Content context, string backUrl ) : IEnumerable

Private Methods

Method Description
AddTemplate ( ICollection templates, Node template, IDictionary addedTemplates ) : void
FilterWithRequiredPermissions ( IEnumerable actions, Content context ) : void

Method Details

CollectActions() protected method

protected CollectActions ( Content context, string backUrl ) : IEnumerable
context Content
backUrl string
return IEnumerable

GetActionComparer() public method

public GetActionComparer ( ) : IComparer
return IComparer

GetActions() public method

public GetActions ( Content context, string backUrl ) : IEnumerable
context Content
backUrl string
return IEnumerable

GetNewItemNodes() public static method

public static GetNewItemNodes ( GenericContent content ) : IEnumerable
content SenseNet.ContentRepository.GenericContent
return IEnumerable

GetNewItemNodes() public static method

public static GetNewItemNodes ( GenericContent content, ContentType contentTypes ) : IEnumerable
content SenseNet.ContentRepository.GenericContent
contentTypes SenseNet.ContentRepository.Schema.ContentType
return IEnumerable

GetServiceAction() public static method

public static GetServiceAction ( Content context, string backUrl, string methodName, string title, string iconName, int index ) : ServiceAction
context Content
backUrl string
methodName string
title string
iconName string
index int
return ServiceAction

Initialize() public method

public Initialize ( object>.Dictionary parameters ) : void
parameters object>.Dictionary
return void