Bridge

NameAttribute Class

Specifies full path name of the entity (namespace+entity), when emitting JavaScript-equivalent code. This overrides the inferred namespace.class.method name, for example.

Namespace:  Bridge
Assembly:  Bridge (in Bridge.dll)

Syntax


[ExternalAttribute]
[AttributeUsageAttribute]
public sealed class NameAttribute : Attribute
<ExternalAttribute> _
<AttributeUsageAttribute> _
Public NotInheritable Class NameAttribute _
	Inherits Attribute
[ExternalAttribute]
[AttributeUsageAttribute]
public ref class NameAttribute sealed : public Attribute

Remarks


Use "Object" (with quotes) to hide its type in JavaScript-level (useful when you create a hidden class to fill several public classes' methods).

Inheritance Hierarchy


System..::..Object
  System..::..Attribute
    Bridge..::..NameAttribute