예제 #1
0
 public static void Destroy()
 {
     if (!IsOwner())
     {
         throw new Exception("No authorization.");
     }
     ContractManagement.Destroy();
 }
예제 #2
0
 public static bool Destroy()
 {
     if (!IsOwner())
     {
         throw new InvalidOperationException("No Authorization!");
     }
     ContractManagement.Destroy();
     return(true);
 }
예제 #3
0
 public static bool Destroy()
 {
     if (!IsAdmin())
     {
         Error("No authorization.");
         return(false);
     }
     ContractManagement.Destroy();
     return(true);
 }
예제 #4
0
파일: pnUSDT.cs 프로젝트: neo-ngd/n3-asset
        public static void Destroy()
        {
            Assert(IsOwner(), "No authorization.");

            ContractManagement.Destroy();
        }
예제 #5
0
 public static void Destroy()
 {
     ContractManagement.Destroy();
 }