/// <summary>
        /// Initializes a new instance of the <see cref="CharacterService"/> class.
        /// </summary>
        /// <param name="commands">The application's command service.</param>
        /// <param name="entityService">The application's owned entity service.</param>
        /// <param name="content">The content service.</param>
        /// <param name="transformations">The transformation service.</param>
        public CharacterService(CommandService commands, OwnedEntityService entityService, ContentService content, TransformationService transformations)
        {
            this.Commands        = commands;
            this.OwnedEntities   = entityService;
            this.Content         = content;
            this.Transformations = transformations;

            this.PronounProviders = new Dictionary <string, IPronounProvider>(new CaseInsensitiveStringEqualityComparer());
        }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransformationService"/> class.
 /// </summary>
 /// <param name="content">The content service.</param>
 public TransformationService(ContentService content)
 {
     this.Content = content;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LuaService"/> class.
 /// </summary>
 /// <param name="contentService">The application's content service.</param>
 public LuaService(ContentService contentService)
 {
     this.ContentService = contentService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DossierService"/> class.
 /// </summary>
 /// <param name="contentService">The content service.</param>
 public DossierService([NotNull] ContentService contentService)
 {
     this.Content = contentService;
 }