IView.cs 473 B

12345678910111213141516171819
  1. using System;
  2. using JetBrains.Annotations;
  3. using Unity.Cloud.Collaborate.Presenters;
  4. namespace Unity.Cloud.Collaborate.Views
  5. {
  6. /// <summary>
  7. /// Interface for all views in the UI.
  8. /// </summary>
  9. /// <typeparam name="T">Type of presenter this view takes.</typeparam>
  10. interface IView<in T> where T : IPresenter
  11. {
  12. /// <summary>
  13. /// Presenter for this view.
  14. /// </summary>
  15. [NotNull]
  16. T Presenter { set; }
  17. }
  18. }