Beispiel #1
0
 public static bool AllConditionsMet(string[] conditions)
 {
     if (conditions == null || conditions.Length == 0)
     {
         return(true);
     }
     for (int i = 0; i < conditions.Length; i++)
     {
         if (!CrateUtils.ConditionMet(conditions[i]))
         {
             return(false);
         }
     }
     return(true);
 }
Beispiel #2
0
 public unsafe static long $Invoke1(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(CrateUtils.ConditionMet(Marshal.PtrToStringUni(*(IntPtr *)args))));
 }