---
title: "Interface IMemberCondition"
slug: "sdk--stylelabs.m.sdk.contracts.base.imembercondition"
abstract: ""
---
# Interface IMemberCondition

Base interface of all the conditions which are simple configurable boolean flags which determine if the member the condition is attached to, should or should not be displayed in the external API (e.g. REST API). Common usage is to be able to hide some members in the UI if the conditions are met.

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

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public interface IMemberCondition
```

## Properties

### MemberName

Gets name of the entity definition member this condition is tied to.

#### Declaration

```csharp
string MemberName { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| string |  |
