PostableSettings.cs 705 B

123456789101112131415161718192021
  1. using InABox.Configuration;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace InABox.Core
  6. {
  7. /// <summary>
  8. /// The global settings for an <see cref="IPostable"/> of a certain <typeparamref name="TEntity"/>.
  9. /// </summary>
  10. /// <typeparam name="TEntity"></typeparam>
  11. public class PostableSettings<TEntity> : IGlobalConfigurationSettings
  12. where TEntity : Entity, IPostable
  13. {
  14. /// <summary>
  15. /// What kind of <see cref="IPoster{TEntity, TSettings}"/> is to be used, globally; this will be a type name.
  16. /// </summary>
  17. [ComboLookupEditor(typeof(PosterTypeLookup))]
  18. public string PosterType { get; set; }
  19. }
  20. }