protected override void CacheMetadata(NativeActivityMetadata metadata) { base.CacheMetadata(metadata); fields.Add(new ActivityDTO("[[FormView]]", Html, 0)); _assignActivity = new DsfMultiAssignActivity { OutputMapping = null, FieldsCollection = fields, InputMapping = null }; metadata.AddChild(_assignActivity); metadata.AddDelegate(_delegate); }
public bool Equals(DsfMultiAssignActivity other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } var sequenceEqual = FieldsCollection.SequenceEqual(other.FieldsCollection, new ActivityDtoComparer()); return(base.Equals(other) && sequenceEqual && UpdateAllOccurrences == other.UpdateAllOccurrences && CreateBookmark == other.CreateBookmark && string.Equals(ServiceHost, other.ServiceHost) && string.Equals(DisplayName, other.DisplayName)); }