Creates
IContentItems from a
NavigationCommand
and a
NavigationResult.
Namespace:
Endeca.Data.Content.Navigation
Assembly:
Endeca.Data.Content (in Endeca.Data.Content.dll) Version: 1.0.0.0 (1.0.1.0)
Syntax
C# |
---|
public static IContentItem Create(
NavigationCommand pCommand,
NavigationResult pResult,
string pRuleZone,
bool pValidation
) |
Visual Basic (Declaration) |
---|
Public Shared Function Create ( _
pCommand As NavigationCommand, _
pResult As NavigationResult, _
pRuleZone As String, _
pValidation As Boolean _
) As IContentItem |
Visual C++ |
---|
public:
static IContentItem^ Create(
NavigationCommand^ pCommand,
NavigationResult^ pResult,
String^ pRuleZone,
bool pValidation
) |
Parameters
- pCommand
- Type: NavigationCommand
The command that was used to generate the pResult.
- pResult
- Type: NavigationResult
The result of executing the command. This should contain the
triggered BusinessRules.
- pRuleZone
- Type: System..::.String
The rule zone containing the content that should be turned into
an IContentItem.
- pValidation
- Type: System..::.Boolean
If true checks the returned content XML against the default content
schemas as well as any configured schemas. If false no schema
validation is done.
Return Value
The processed ContentItem contained in the first BusinessRule containing
a "template" property found in the specified rule zone.
See Also