Esempio n. 1
0
 /// <summary>
 /// This method needs to be changed to an instance method
 /// </summary>
 /// <param name="operations"></param>
 /// <returns></returns>
 public static bool ContainsIO(DILOperationSet operations)
 {
     return operations.Any(o => o is WriteOp || o is ReadOp);
 }
Esempio n. 2
0
 /// <summary>
 /// This method needs to be changed to an instance method
 /// </summary>
 /// <param name="operations"></param>
 /// <returns></returns>
 public static bool ContainsIO(DILOperationSet operations)
 {
     return(operations.Any(o => o is WriteOp || o is ReadOp));
 }