コード例 #1
0
ファイル: VirtualEntry.cs プロジェクト: PLCnext/PLCnext_CLI
 public virtual void UnDelete(bool checkDeleted = true)
 {
     if (checkDeleted && !Deleted)
     {
         throw new InvalidOperationException("Cannot undelete a non deleted entry.");
     }
     entryContentResolver.UnDelete();
     Parent.AddEntry(this);
     Deleted = false;
 }