Esempio n. 1
0
        public void Test()
        {
            this.ExclusionFilters.Conditions = new IntegrationStatus[1] {
                IntegrationStatus.Failure
            };
            this.ExclusionFilters.Activities = new ProjectActivity[1] {
                ProjectActivity.Building
            };

            this.Project = "Project 1";

            string Serialized = Zation.Serialize("projectFilter", this);

            ProjectFilter Clone = (ProjectFilter)Zation.Deserialize(Serialized);

            if (Clone.ExclusionFilters.Activities[0] != ProjectActivity.Building)
            {
                throw new Exception();
            }
        }
Esempio n. 2
0
 public void Add(ProjectFilter filter)
 {
     this.InnerList.Add(filter);
 }
 public void Add(ProjectFilter filter)
 {
     this.InnerList.Add(filter);
 }