public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (ReadListItems != null ? ReadListItems.GetHashCode() : 0); hashCode = (hashCode * 397) ^ SharepointServerResourceId.GetHashCode(); hashCode = (hashCode * 397) ^ (SharepointList != null ? SharepointList.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FilterCriteria != null ? FilterCriteria.GetHashCode() : 0); hashCode = (hashCode * 397) ^ RequireAllCriteriaToMatch.GetHashCode(); return(hashCode); } }
public override IEnumerable <StateVariable> GetState() { return(new[] { new StateVariable { Name = "SharepointServerResourceId", Type = StateVariable.StateType.Input, Value = SharepointServerResourceId.ToString() }, new StateVariable { Name = "FilterCriteria", Type = StateVariable.StateType.Input, Value = ActivityHelper.GetSerializedStateValueFromCollection(FilterCriteria) }, new StateVariable { Name = "ReadListItems", Type = StateVariable.StateType.Input, Value = ActivityHelper.GetSerializedStateValueFromCollection(ReadListItems) }, new StateVariable { Name = "SharepointList", Type = StateVariable.StateType.Input, Value = SharepointList }, new StateVariable { Name = "RequireAllCriteriaToMatch", Type = StateVariable.StateType.Input, Value = RequireAllCriteriaToMatch.ToString() } , new StateVariable { Name = "DeleteCount", Type = StateVariable.StateType.Output, Value = DeleteCount } }); }