# ToolWriteGovernanceConventions

Shared factories for common write-governance contract patterns.

Class 

`IntelligenceX.Tools`

**Namespace**

`IntelligenceX.Tools`

**Assembly**

`IntelligenceX`

**Source**

[ToolWriteGovernanceConventions.cs:15](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolWriteGovernanceConventions.cs#L15)

**Modifiers**

static

Shared factories for common write-governance contract patterns.

## Inheritance

- object
- ToolWriteGovernanceConventions

Filter members 

Show inherited

## Methods

`public static ToolWriteGovernanceContract BooleanFlagTrue(string intentArgumentName, string? confirmationArgumentName = null)` [#](#method-booleanflagtrue-string-string)

[ToolWriteGovernanceConventions.cs:15](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolWriteGovernanceConventions.cs#L15)

Creates a write-governance contract where write intent is a boolean flag set to true.

Parameters

**intentArgumentName string required**

**confirmationArgumentName string? = null optional**

Returns

`ToolWriteGovernanceContract`

`public static ToolWriteGovernanceContract StringEquals(string intentArgumentName, string intentStringValue, string confirmationArgumentName = "allow_write")` [#](#method-stringequals-string-string-string)

[ToolWriteGovernanceConventions.cs:42](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/ToolWriteGovernanceConventions.cs#L42)

Creates a write-governance contract where write intent is inferred by string-equals match.

Parameters

**intentArgumentName string required**

**intentStringValue string required**

**confirmationArgumentName string = "allow_write" optional**

Returns

`ToolWriteGovernanceContract`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:8CE262F89C58FE28849AD4ADE16E38BDC00BF2EEBD5FC548D35950AB30725EFE -->
