---
title: "Interface ICondition"
slug: "sdk--stylelabs.m.sdk.contracts.policies.icondition"
abstract: ""
---
# Interface ICondition

Interface for conditions.

## Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsPolicies

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public interface ICondition
```

## Properties

### DirectEntityIds

Gets the condition is met for entities that are direct descendants of the entities with the specified links. The entities are combined using the "OR" operator.

#### Declaration

```csharp
IList<long> DirectEntityIds { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| IList<>long |  |

### EntityIds

Gets the condition is met for entities that are direct or indirect descendants of the entities with the specified links. The entities are combined using the "OR" operator.

#### Declaration

```csharp
IList<long> EntityIds { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| IList<>long |  |
