public void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (head == "id") { if (!VarValue.FieldIsOptimized(parent, baseName + ".ID")) { variable.Value = ssID; } else { variable.Optimized = true; } } else if (head == "tablename") { if (!VarValue.FieldIsOptimized(parent, baseName + ".TableName")) { variable.Value = ssTableName; } else { variable.Optimized = true; } } if (variable.Found && tail != null) { variable.EvaluateFields(this, head, tail); } }
public void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (head == "messagetext") { if (!VarValue.FieldIsOptimized(parent, baseName + ".MessageText")) { variable.Value = ssMessageText; } else { variable.Optimized = true; } } else if (head == "messagetype") { if (!VarValue.FieldIsOptimized(parent, baseName + ".MessageType")) { variable.Value = ssMessageType; } else { variable.Optimized = true; } } if (variable.Found && tail != null) { variable.EvaluateFields(this, head, tail); } }
public void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (head == "name") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Name")) { variable.Value = ssName; } else { variable.Optimized = true; } } else if (head == "attributies") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Attributies")) { variable.Value = ssAttributies; } else { variable.Optimized = true; } variable.SetFieldName("attributies"); } if (variable.Found && tail != null) { variable.EvaluateFields(this, head, tail); } }
public void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (head == "objectchanged") { if (!VarValue.FieldIsOptimized(parent, baseName + ".ObjectChanged")) { variable.Value = ssSTObjectChanged; } else { variable.Optimized = true; } variable.SetFieldName("objectchanged"); } else if (head == "error") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Error")) { variable.Value = ssSTError; } else { variable.Optimized = true; } variable.SetFieldName("error"); } if (variable.Found && tail != null) { variable.EvaluateFields(this, head, tail); } }
public void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (head == "name") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Name")) { variable.Value = ssName; } else { variable.Optimized = true; } } else if (head == "jobtitle") { if (!VarValue.FieldIsOptimized(parent, baseName + ".JobTitle")) { variable.Value = ssJobTitle; } else { variable.Optimized = true; } } else if (head == "phone") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Phone")) { variable.Value = ssPhone; } else { variable.Optimized = true; } } else if (head == "email") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Email")) { variable.Value = ssEmail; } else { variable.Optimized = true; } } if (variable.Found && tail != null) { variable.EvaluateFields(this, head, tail); } }
public void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (head == "number") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Number")) { variable.Value = ssNumber; } else { variable.Optimized = true; } } else if (head == "index") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Index")) { variable.Value = ssIndex; } else { variable.Optimized = true; } } else if (head == "iscurrent") { if (!VarValue.FieldIsOptimized(parent, baseName + ".IsCurrent")) { variable.Value = ssIsCurrent; } else { variable.Optimized = true; } } if (variable.Found && tail != null) { variable.EvaluateFields(this, head, tail); } }
public void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (head == "id") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Id")) { variable.Value = ssId; } else { variable.Optimized = true; } } else if (head == "order") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Order")) { variable.Value = ssOrder; } else { variable.Optimized = true; } } else if (head == "caption") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Caption")) { variable.Value = ssCaption; } else { variable.Optimized = true; } } if (variable.Found && tail != null) { variable.EvaluateFields(this, head, tail); } }
public void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (head == "attribute") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Attribute")) { variable.Value = ssAttribute; } else { variable.Optimized = true; } } else if (head == "originalvalue") { if (!VarValue.FieldIsOptimized(parent, baseName + ".OriginalValue")) { variable.Value = ssOriginalValue; } else { variable.Optimized = true; } } else if (head == "modifieldvalue") { if (!VarValue.FieldIsOptimized(parent, baseName + ".ModifieldValue")) { variable.Value = ssModifieldValue; } else { variable.Optimized = true; } } if (variable.Found && tail != null) { variable.EvaluateFields(this, head, tail); } }
public void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (head == "feedback_message") { if (!VarValue.FieldIsOptimized(parent, baseName + ".Feedback_Message")) { variable.Value = ssSTFeedback_Message; } else { variable.Optimized = true; } variable.SetFieldName("feedback_message"); } if (variable.Found && tail != null) { variable.EvaluateFields(this, head, tail); } }
public void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (head == "listnavigation_pagenumber") { if (!VarValue.FieldIsOptimized(parent, baseName + ".ListNavigation_PageNumber")) { variable.Value = ssSTListNavigation_PageNumber; } else { variable.Optimized = true; } variable.SetFieldName("listnavigation_pagenumber"); } if (variable.Found && tail != null) { variable.EvaluateFields(this, head, tail); } }
public static void EvaluateFields(IRtWidget rtWidget, VarValue variable, Object parent, String baseName, String fields) { String head = VarValue.GetHead(fields); String tail = VarValue.GetTail(fields); variable.Found = false; if (rtWidget.Id != null) { if (head == "id") { variable.Value = rtWidget.Id; } } rtWidget.InnerEvaluateField(variable, head); if (!variable.Found && rtWidget.Control != null) { variable.InvokeEvaluateFields(rtWidget.Control, baseName, fields); } if (variable.Found && tail != null) { variable.EvaluateFields(rtWidget, head, tail); } }
public static void EvaluateFields(VarValue variable, Object parent, String baseName, String fields) { int dotPos = fields.IndexOf("."); String head = (dotPos == -1 ? fields: fields.Substring(0, dotPos)); String tail = (dotPos == -1 ? null: fields.Substring(dotPos + 1)); variable.Found = false; if (head == "Schedule") { variable.Value = Schedule; } else if (head == "LastRun") { variable.Value = LastRun; } else if (head == "NextRun") { variable.Value = NextRun; } if (variable.Found && tail != null) { variable.EvaluateFields(null, head, tail); } }