Skip to content

Commit

Permalink
docs[asp-inject]add document of ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
serfend committed Sep 11, 2023
1 parent 8400bf9 commit 1a58068
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public class MutexHandlerAttribute : AttributeBase
/// 同步方法的描述
/// </summary>
public string? Description { get; set; }
/// <summary>
/// Inportant:Aspect need a argumentless ctor.
/// </summary>
public MutexHandlerAttribute() : this(null, 1, null) { }
public MutexHandlerAttribute(string? name = null, int max_count = 1, string? description = null)
{
Expand Down

0 comments on commit 1a58068

Please sign in to comment.