    

 ## On this page

  

 

 #  Class IEnableImpl

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMAppCore.dll

This class is to represent the whether enalble or disable.

```csharp
public class IEnableImpl

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [IEnableImpl](VM.Managed.IEnableImpl.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_IEnableImpl__ctor"></a> IEnableImpl()

```csharp
public IEnableImpl()

```

## Methods

### <a id="VM_Managed_IEnableImpl_GetEnabled_VM_Managed_INamed_"></a> GetEnabled(INamed)

Determines whether the specified object is enable.

```csharp
public static bool GetEnabled(INamed namedObj)

```

#### Parameters

`namedObj` [INamed](VM.Managed.INamed.md)

The object has name.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

`true` if the specified object is enable; otherwise, `false`.

### <a id="VM_Managed_IEnableImpl_SetEnabled_VM_Managed_INamed_System_Boolean_"></a> SetEnabled(INamed, bool)

Sets the enabled to object.

```csharp
public static void SetEnabled(INamed namedObj, bool bEnabled)

```

#### Parameters

`namedObj` [INamed](VM.Managed.INamed.md)

The object has name.

`bEnabled` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

whether or not enabled.