Ejemplo n.º 1
0
 public static CooperationProjectViewModel GetInstance()
 {
     if (CooperationProjectViewModel.Instance == null)
     {
         lock (CooperationProjectViewModel.obj)
         {
             if (CooperationProjectViewModel.Instance == null)
             {
                 CooperationProjectViewModel.Instance = new CooperationProjectViewModel();
             }
         }
     }
     return(CooperationProjectViewModel.Instance);
 }
 public static CooperationProjectViewModel GetInstance()
 {
     if (CooperationProjectViewModel.Instance == null)
     {
         lock (CooperationProjectViewModel.obj)
         {
             if (CooperationProjectViewModel.Instance == null)
             {
                 CooperationProjectViewModel.Instance = new CooperationProjectViewModel();
             }
         }
     }
     return CooperationProjectViewModel.Instance;
 }