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)
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.