public TaskControlAction this[Property Task, string SubTask, PropertyFilterFunc Filter]
		{
			set
			{
				this[Task.Name, Path.Combine(SubTask, "Filter")] =
					c =>
					{
						if (Filter(Task))
							return;

						c.Fault = true;
					};

				this[Task.Name, SubTask] = value;
			}
		}
示例#2
0
        public TaskControlAction this[Property Task, string SubTask, PropertyFilterFunc Filter]
        {
            set
            {
                this[Task.Name, Path.Combine(SubTask, "Filter")] =
                    c =>
                {
                    if (Filter(Task))
                    {
                        return;
                    }

                    c.Fault = true;
                };

                this[Task.Name, SubTask] = value;
            }
        }