コード例 #1
0
 public static void DeleteInstance()
 {
     if (instance != null)
     {
         instance = null;
     }
 }
コード例 #2
0
        public static ProposalViewModel GetInstance(int?type)
        {
            if (instance == null)
            {
                instance = new ProposalViewModel(type);
            }

            return(instance);
        }
コード例 #3
0
 private void ControlAplication()
 {
     ProposalViewModel.DeleteInstance();
 }