Open sandboxFocus

Constructor ComponentInternalAttribute

ComponentInternalAttribute()

In Metalama, use Metalama.Extensions.Architecture.Aspects.CanOnlyBeUsedFromAttribute and set the CurrentNamespace property to true.

Declaration
[Obsolete("In Metalama, use <c>Metalama.Extensions.Architecture.Aspects.CanOnlyBeUsedFromAttribute</c> and set the <c>CurrentNamespace</c> property to <c>true</c>.", false)]
public ComponentInternalAttribute()

ComponentInternalAttribute(params Type[])

In Metalama, use Metalama.Extensions.Architecture.Aspects.CanOnlyBeUsedFromAttribute and set the Types property.

Declaration
[Obsolete("In Metalama, use <c>Metalama.Extensions.Architecture.Aspects.CanOnlyBeUsedFromAttribute</c> and set the <c>Types</c> property.", false)]
public ComponentInternalAttribute(params Type[] friendTypes)
Parameters
Type Name Description
Type[] friendTypes

ComponentInternalAttribute(params string[])

In Metalama, use Metalama.Extensions.Architecture.Aspects.CanOnlyBeUsedFromAttribute and set the Namespaces property.

Declaration
[Obsolete("In Metalama, use <c>Metalama.Extensions.Architecture.Aspects.CanOnlyBeUsedFromAttribute</c> and set the <c>Namespaces</c> property.", false)]
public ComponentInternalAttribute(params string[] friendNamespaces)
Parameters
Type Name Description
string[] friendNamespaces