public static IVisitorBuilder <ExchangeRef2DefConditionVisitor, DefConditionParams> SetDefinedConditions(this IVisitorBuilder <ExchangeRef2DefConditionVisitor, DefConditionParams> builder, Dictionary <string, DefinedCondition> conditions) { builder.SetParams(new DefConditionParams { Conditions = conditions }); return(builder); }
public static IVisitorBuilder <RemoveComponentVisitor, Params <Guid> > SetComponentId(this IVisitorBuilder <RemoveComponentVisitor, Params <Guid> > builder, Guid componentId) { builder.SetParams(new Params <Guid> { Value = componentId }); return(builder); }
public static IVisitorBuilder <FilterComponentVisitor, IFilter> SetLocationFilter(this IVisitorBuilder <FilterComponentVisitor, IFilter> builder, List <Location> locations) { return(builder.SetParams(new LocationFilter(builder.Params, locations))); }
public static IVisitorBuilder <FilterComponentVisitor, IFilter> SetCommunityFilter(this IVisitorBuilder <FilterComponentVisitor, IFilter> builder, List <CommunityStruct> communities) { return(builder.SetParams(new CommunityFilter(builder.Params, communities))); }
public static IVisitorBuilder <FilterComponentVisitor, IFilter> SetEndDateTimeFilter(this IVisitorBuilder <FilterComponentVisitor, IFilter> builder) { return(builder.SetParams(new EndDateTimeFilter(builder.Params))); }
public static IVisitorBuilder <ExchangeComponentVisitor, ExchangeComponentParams> SetExchangeComponent(this IVisitorBuilder <ExchangeComponentVisitor, ExchangeComponentParams> builder, ExchangeComponentParams exchangeComponentParams) { builder.SetParams(exchangeComponentParams); return(builder); }