Advertisement
Guest User

Untitled

a guest
Apr 6th, 2015
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.81 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ArcheEmu.Models
  8. {
  9.     public class MainModel
  10.     {
  11.         public string Name { get; set; }
  12.  
  13.         public IEnumerable<User> Users { get; set; }
  14.  
  15.         public string NaughtyStuff { get; set; }
  16.         public string Question { get; set; }
  17.         public int Current { get; set; }
  18.         public int All { get; set; }
  19.         public string Yeah { get; set; }
  20.         public List<string> Answers { get; set; }
  21.  
  22.         public MainModel(Question q,int id,int all,string y = "")
  23.         {
  24.             this.Question = q.Text;
  25.             this.Current = (id + 1);
  26.             this.All = all;
  27.             this.Answers = q.Answers;
  28.             this.Yeah = y;
  29.         }
  30.     }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement