public new static bool Validate(System.Collections.Generic.IList <System.Activities.LocationReference> locationReferences, bool validateLocationCount, int offset) { if (((validateLocationCount == true) && (locationReferences.Count < 3))) { return(false); } if ((validateLocationCount == true)) { offset = (locationReferences.Count - 3); } expectedLocationsCount = 3; if (((locationReferences[(offset + 0)].Name != "argHelper") || (locationReferences[(offset + 0)].Type != typeof(string)))) { return(false); } if (((locationReferences[(offset + 1)].Name != "argHeight") || (locationReferences[(offset + 1)].Type != typeof(double)))) { return(false); } if (((locationReferences[(offset + 2)].Name != "argAskToHaveProfile") || (locationReferences[(offset + 2)].Type != typeof(bool)))) { return(false); } return(Workflow1_TypedDataContext0.Validate(locationReferences, false, offset)); }
public new static bool Validate(System.Collections.Generic.IList <System.Activities.LocationReference> locationReferences, bool validateLocationCount, int offset) { if (((validateLocationCount == true) && (locationReferences.Count < 3))) { return(false); } if ((validateLocationCount == true)) { offset = (locationReferences.Count - 3); } expectedLocationsCount = 3; if (((locationReferences[(offset + 1)].Name != "unitName") || (locationReferences[(offset + 1)].Type != typeof(string[])))) { return(false); } if (((locationReferences[(offset + 0)].Name != "count") || (locationReferences[(offset + 0)].Type != typeof(int)))) { return(false); } if (((locationReferences[(offset + 2)].Name != "argInput") || (locationReferences[(offset + 2)].Type != typeof(decimal)))) { return(false); } return(Workflow1_TypedDataContext0.Validate(locationReferences, false, offset)); }
public new static bool Validate(System.Collections.Generic.IList <System.Activities.LocationReference> locationReferences, bool validateLocationCount, int offset) { if (((validateLocationCount == true) && (locationReferences.Count < 0))) { return(false); } expectedLocationsCount = 0; return(Workflow1_TypedDataContext0.Validate(locationReferences, false, offset)); }
public new static bool Validate(System.Collections.Generic.IList <System.Activities.LocationReference> locationReferences, bool validateLocationCount, int offset) { if (((validateLocationCount == true) && (locationReferences.Count < 1))) { return(false); } if ((validateLocationCount == true)) { offset = (locationReferences.Count - 1); } expectedLocationsCount = 1; if (((locationReferences[(offset + 0)].Name != "MessageToShow") || (locationReferences[(offset + 0)].Type != typeof(string)))) { return(false); } return(Workflow1_TypedDataContext0.Validate(locationReferences, false, offset)); }