KanbanFormModel.cs 564 B

12345678910111213141516171819
  1. using System;
  2. using System.Linq;
  3. using Comal.Classes;
  4. using InABox.Core;
  5. using System.Diagnostics.CodeAnalysis;
  6. using InABox.Mobile;
  7. namespace PRS.Mobile
  8. {
  9. public class KanbanFormModel : DigitalFormInstanceModel<KanbanFormModel, KanbanFormShell, KanbanForm>
  10. {
  11. public KanbanFormModel(IModelHost host, Func<Filter<KanbanForm>>? filter = null, Func<string>? cachefilename = null) : base(host, filter, cachefilename)
  12. {
  13. }
  14. public IDigitalFormInstanceShell[] Forms => Items.OfType<IDigitalFormInstanceShell>().ToArray();
  15. }
  16. }