Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.53 KB | None | 0 0
  1. //To be used by the gui code in one assembly
  2. class guiData : ICommonData
  3. {
  4.     // Implement ICommonData Members
  5.  
  6.     // Some data for guiData only
  7. }
  8.  
  9. // GUI would implement this interface in order to access the solver
  10. Interface ISolver
  11. {
  12.     IOutput RunTheSolver(ICommonData input)
  13. }
  14.  
  15.  
  16. //To be used by the solver code another assembly
  17. class solverData : ICommonData
  18. {
  19.     // Implement ICommonData Members
  20.  
  21.     // Some data for solverData only
  22. }
  23.  
  24.  
  25. interface ICommonData
  26. {
  27.     //Data that must be transfered between the gui and the solver
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement