Browse Source

Doc comment on items

pull/934/head
Joe4evr 7 years ago
parent
commit
e3349ef3d4
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/Discord.Net.Commands/CommandServiceConfig.cs

+ 4
- 2
src/Discord.Net.Commands/CommandServiceConfig.cs View File

@@ -21,8 +21,10 @@ namespace Discord.Commands
/// <summary> Determines whether extra parameters should be ignored. </summary> /// <summary> Determines whether extra parameters should be ignored. </summary>
public bool IgnoreExtraArgs { get; set; } = false; public bool IgnoreExtraArgs { get; set; } = false;


public IServiceProvider ServiceProvider { get; set; }
/// <summary> Gets or sets the <see cref="IServiceProvider"/> to use. </summary>
public IServiceProvider ServiceProvider { get; set; } = null;


public Func<CommandService, IServiceProvider> ServiceProviderFactory { get; set; }
/// <summary> Gets or sets a factory function for the <see cref="IServiceProvider"/> to use. </summary>
public Func<CommandService, IServiceProvider> ServiceProviderFactory { get; set; } = null;
} }
} }

Loading…
Cancel
Save