This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Initializes a new instance of the ViperRegistration class.

Namespace: Smartsite.Core
Assembly:  Smartsite.SXML (in Smartsite.SXML.dll)

Syntax

C#Copy imageCopy Code
public ViperRegistration(
	string objectName,
	string description,
	 handler,
	 requiredContextType,
	bool deterministic,
	string alias,
	 info,
	 assetType,
	 riskLevel
)
Visual Basic (Declaration)Copy imageCopy Code
Public Sub New ( _
	objectName As , _
	description As , _
	handler As , _
	requiredContextType As , _
	deterministic As , _
	alias As , _
	info As , _
	assetType As , _
	riskLevel As  _
)

Parameters

objectName
String
Name of the object/method that will be handled by the given IViperHandler.
description
String
The description of what the method does.
handler
IViperHandler
The IViperHandler that will be called to resolve the object/method.
requiredContextType
Type
Type of the required context.
If set to null, no context-test will be done.
deterministic
Boolean
if set to true, the method is regarded as deterministic.
alias
String
The alias.
info
ViperMethodInfo
The Viper MethodInfo.
assetType
SXMLSecurityAssetType
Type of the asset.
riskLevel
SXMLCodeRiskLevel
The risk level.

See Also

Advanced