PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Constraints Namespace / Component­Internal­Attribute Class / Component­Internal­Attribute Constructor / Component­Internal­Attribute Constructor (Type[])
ComponentInternalAttribute Constructor (Type[])
Initializes a ComponentInternalAttribute restricting the target declaration from being used outside of given types or namespaces, given as Type.

Namespace: PostSharp.Constraints
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public ComponentInternalAttribute(
	params Type[] friendTypes
)

Parameters

friendTypes
Type: System.Type[]
List of types from which the target declaration can be used. If the name of a type is NamespaceType, the whole namespace of this type is allowed.
See Also