Creates a new instance of CsoGeneratedTypeAttribute specifying a namespace, an extension URL, and whether or not the Type Morpher should ignore the base class. If the attribute is attached to a struct or an interface the value of parameter ignoreBaseClass is meaningless and will be ignored by the Type Morpher. If the attribute is attached to an enum, the value parameters ignoreBaseClass and extensionURL are meaningless and will be ignored by the Type Morpher.

Namespace:  ca.metaobjects.csogateway
Assembly:  ca.metaobjects.csogateway (in ca.metaobjects.csogateway.dll) Version: 0.7.1.0 (0.7.1.0)

Syntax

C#
public CsoGeneratedTypeAttribute(
	string clientSideNamespace,
	string extensionUrl,
	bool ignoreBaseClass
)
Visual Basic (Declaration)
Public Sub New ( _
	clientSideNamespace As String, _
	extensionUrl As String, _
	ignoreBaseClass As Boolean _
)
Visual C++
public:
CsoGeneratedTypeAttribute(
	String^ clientSideNamespace, 
	String^ extensionUrl, 
	bool ignoreBaseClass
)

Parameters

clientSideNamespace
Type: System..::.String
A name for the namespace the cso-generated type will be in. It can be one word or many words separated by periods (Ex: bigbank.entities).
extensionUrl
Type: System..::.String
An absolute URL like http://www.bigbank.com/AccountManager/scripts/AccountClassExtension.js -or- A URL relative to the root of the server like /AccountManager/scripts/AccountClassExtension.js. Other form for the URL might be possible. The value of this parameter will end up -AS IS- in the href attribute of an HTML script tag.
ignoreBaseClass
Type: System..::.Boolean
true to ignore the base class of the class the attribute decorates.

See Also