예제 #1
0
 protected void InvokePostOperationNotNullable(PostOperationDelegate <TEntity>? @delegate, TEntity entity)
 {
     try
     {
         @delegate?.Invoke(entity);
     }
     catch { }
 }
예제 #2
0
 protected void InvokePostOperation(PostOperationDelegate <TEntity?>? @delegate, TEntity?entity)
 {
     try
     {
         @delegate?.Invoke(entity);
     }
     catch { }
 }