ComponentInternalAttribute()
Initializes a ComponentInternalAttribute restricting the target declaration from being used from another namespace than the namespace of the declaration.
Declaration
public ComponentInternalAttribute()ComponentInternalAttribute(params Type[])
Initializes a ComponentInternalAttribute restricting the target declaration from being used outside of given types or namespaces, given as Type.
Declaration
public ComponentInternalAttribute(params Type[] friendTypes)Parameters
| Type | Name | Description |
|---|---|---|
| Type[] | friendTypes | List of types from which the target declaration can be used. If the name of a
type is |
ComponentInternalAttribute(params string[])
Initializes a ComponentInternalAttribute restricting the target declaration from being used outside of given types or namespaces, given by strings.
Declaration
public ComponentInternalAttribute(params string[] friendNamespaces)Parameters
| Type | Name | Description |
|---|---|---|
| string[] | friendNamespaces | List of types or namespaces from which the target declaration can be used. |