مساعدة في تعديل مُحرك التحقق (Validation Engine)


espritmarin

عضو جديد
الكاتب
إنضم
24 يونيو 2026
المشاركات
17
مستوى التفاعل
7
النقاط
0
الإقامة
الجزائر
الجنس
السلام عليكم هذا الجزء موجود في برنامج كمتازية التنفيدي اريد
اريد جعل هذه الدالة لا تقم بي التحقق ملفات الترجمة
using System;
using NeverTranslateNS;

namespace CamtasiaStudio.StartupConditions
{
// Token: 0x02000018 RID: 24
public class ConditionVerifier
{
// Token: 0x060000EE RID: 238 RVA: 0x00008FC9 File Offset: 0x000071C9
public ConditionVerifier(ConditionBase[] conditions)
{
if (conditions == null)
{
throw new ArgumentNullException("conditions");
}
if (conditions.Length == 0)
{
throw new ArgumentException(NeverTranslateClass.NeverTranslate("There must be at least one condition"), "conditions");
}
this._conditions = conditions;
}

// Token: 0x060000EF RID: 239 RVA: 0x00009000 File Offset: 0x00007200
private void ApplyAllConditions()
{
ConditionBase[] conditions = this._conditions;
for (int i = 0; i < conditions.Length; i++)
{
conditions.Apply();
}
}

// Token: 0x060000F0 RID: 240 RVA: 0x0000902C File Offset: 0x0000722C
private bool CompleteAllConditions()
{
bool flag = true;
foreach (ConditionBase conditionBase in this._conditions)
{
flag = flag && conditionBase.Recover();
}
return flag;
}

// Token: 0x060000F1 RID: 241 RVA: 0x00009064 File Offset: 0x00007264
public bool Verify()
{
bool flag;
try
{
this.ApplyAllConditions();
flag = this.CompleteAllConditions();
}
catch (FatalConditionException)
{
flag = false;
}
return flag;
}

// Token: 0x04000030 RID: 48
private readonly ConditionBase[] _conditions;
}
}
 
عودة
أعلى أسفل