/// <summary> /// Adds the given pronoun provider to the service. /// </summary> /// <param name="pronounProvider">The pronoun provider to add.</param> /// <returns>The service with the provider.</returns> public PronounService WithPronounProvider(IPronounProvider pronounProvider) { _pronounProviders.Add(pronounProvider.Family, pronounProvider); return(this); }
public CharacterService WithPronounProvider([NotNull] IPronounProvider pronounProvider) { this.PronounProviders.Add(pronounProvider.Family, pronounProvider); return(this); }