示例#1
0
 public static bool CheckIfExistsNullable(this IAsyncContext context, IEntity entity)
 {
     if (context == null)
     {
         return(entity.Exists);
     }
     return(context.CheckIfExists(entity));
 }
示例#2
0
 public static bool CheckIfExistsNullable(this IAsyncContext context, IBaseObject baseObject)
 {
     if (context == null)
     {
         return(baseObject.Exists);
     }
     return(context.CheckIfExists(baseObject));
 }
示例#3
0
 public static bool CheckIfExistsNullable(this IAsyncContext context, IWorldObject worldObject)
 {
     if (context == null)
     {
         return(worldObject.Exists);
     }
     return(context.CheckIfExists(worldObject));
 }