    

 ## On this page

  

 

 # Class BuilderBase&lt;T\\&gt;

 Last update: 16.07.2025 

Namespace: [VM.Managed.DAFUL.Builder](VM.Managed.DAFUL.Builder.md)  
Assembly: VMBld.dll

```csharp
public abstract class BuilderBase<T> : IBuilder where T : ObjectBase, new()

```

#### Type Parameters

`T`

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [BuilderBase&lt;T&gt;](VM.Managed.DAFUL.Builder.BuilderBase-1.md)

#### Implements

[IBuilder](VM.Managed.DAFUL.Builder.IBuilder.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&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### BuilderBase()

```csharp
protected BuilderBase()

```

## Fields

### m\_bSuccess

```csharp
protected bool m_bSuccess

```

#### Field Value

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

## Properties

### AddToDoc

```csharp
protected virtual bool AddToDoc { get; }

```

#### Property Value

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

### BuildDocument

```csharp
protected Document BuildDocument { get; }

```

#### Property Value

Document

### BuildObject

```csharp
public virtual ObjectBase BuildObject { get; }

```

#### Property Value

ObjectBase

### ErrorMessage

```csharp
protected string ErrorMessage { get; set; }

```

#### Property Value

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

### Parameters

```csharp
public PickedResult[] Parameters { get; set; }

```

#### Property Value

[PickedResult](VM.Managed.DAFUL.Builder.PickedResult.md)\[\]

### SetPointKey

```csharp
protected List<SetPoint> SetPointKey { get; }

```

#### Property Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;SetPoint&gt;

### UseChangedObject

```csharp
protected virtual bool UseChangedObject { get; }

```

#### Property Value

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

### UseInterface

```csharp
protected bool UseInterface { get; set; }

```

#### Property Value

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

## Methods

### Build(Document)

```csharp
public virtual void Build(Document docToAdd)

```

#### Parameters

`docToAdd` Document

### Build(Document, List&lt;string&gt;)

```csharp
public virtual void Build(Document docToAdd, List<string> lstSetPointKeys)

```

#### Parameters

`docToAdd` Document

`lstSetPointKeys` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)&lt;[string](https://learn.microsoft.com/dotnet/api/system.string)&gt;

### OnFinalBuild(string, Document)

```csharp
protected virtual ObjectBase OnFinalBuild(string strObjName, Document doc)

```

#### Parameters

`strObjName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`doc` Document

#### Returns

ObjectBase

### OnObjectChangeBuild(string, Document)

```csharp
protected virtual ObjectBase OnObjectChangeBuild(string strObjName, Document doc)

```

#### Parameters

`strObjName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`doc` Document

#### Returns

ObjectBase

### OnPostAddDoc(ObjectBase)

```csharp
protected virtual void OnPostAddDoc(ObjectBase ob)

```

#### Parameters

`ob` ObjectBase

### OnPostBuild(ObjectBase, Document)

```csharp
protected virtual bool OnPostBuild(ObjectBase obCreated, Document doc)

```

#### Parameters

`obCreated` ObjectBase

`doc` Document

#### Returns

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

### Success()

```csharp
public bool Success()

```

#### Returns

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

### Validate(IList&lt;string&gt;)

```csharp
public virtual bool Validate(IList<string> lstErrorMessage)

```

#### Parameters

`lstErrorMessage` [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)&lt;[string](https://learn.microsoft.com/dotnet/api/system.string)&gt;

#### Returns

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