public ConditionsMet ( LayerModel layer, IDataModel dataModel ) : bool | ||
layer | LayerModel | |
dataModel | IDataModel | |
return | bool |
public bool ConditionsMet(LayerModel layer, IDataModel dataModel)
{
lock (layer.Properties.Conditions)
{
return layer.Properties.Conditions.All(cm => cm.ConditionMet(dataModel));
}
}
}