PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Constraints Namespace / Component­Internal­Attribute Class / Component­Internal­Attribute Constructor / Component­Internal­Attribute Constructor (String[])

ComponentInternalAttribute Constructor (String[])

Initializes a ComponentInternalAttribute restricting the target declaration from being used outside of given types or namespaces, given by strings.

Namespace:  PostSharp.Constraints
Assembly:  PostSharp (in PostSharp.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
public ComponentInternalAttribute(
	params string[] friendNamespaces
)

Parameters

friendNamespaces
Type: System.String[]
List of types or namespaces from which the target declaration can be used.
See Also