ComponentInternalAttribute Constructor
ComponentInternalAttribute()
In Metalama, use CanOnlyBeUsedFromAttribute and
set the CurrentNamespace property to true
.
Declaration
public ComponentInternalAttribute()
ComponentInternalAttribute(Type[])
In Metalama, use CanOnlyBeUsedFromAttribute and set the Types property.
Declaration
public ComponentInternalAttribute(params Type[] friendTypes)
Parameters
Type | Name | Description |
---|---|---|
System.Type[] | friendTypes |
ComponentInternalAttribute(String[])
In Metalama, use CanOnlyBeUsedFromAttribute and set the Namespaces property.
Declaration
public ComponentInternalAttribute(params string[] friendNamespaces)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | friendNamespaces |