Class EntityNameAttribute
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
Specify the EntityName used for this message contract if configured.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface)]
public class EntityNameAttribute : Attribute
- Inheritance
-
EntityNameAttribute
- Inherited Members
Constructors
EntityNameAttribute(string)
public EntityNameAttribute(string entityName)
Parameters
entityName
stringThe entity name to use for the message type
Properties
EntityName
public string EntityName { get; }