SitePage.xaml.cs 569 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Xamarin.Forms;
  7. using Xamarin.Forms.Xaml;
  8. namespace PRS.Mobile
  9. {
  10. public interface ISitePage
  11. {
  12. JobShell Job { get; }
  13. }
  14. [XamlCompilation(XamlCompilationOptions.Compile)]
  15. public abstract partial class SitePage : ISitePage
  16. {
  17. public JobShell Job { get; private set; }
  18. public SitePage(JobShell job)
  19. {
  20. Job = job;
  21. InitializeComponent();
  22. }
  23. }
  24. }