Table of Contents

Struct ControlReferenceType

Namespace
Google.GenAI.Types
Assembly
Google.GenAI.dll

Enum representing the control type of a control reference image.

[JsonConverter(typeof(ControlReferenceTypeConverter))]
public readonly record struct ControlReferenceType : IEquatable<ControlReferenceType>
Implements
Inherited Members

Properties

AllValues

public static IReadOnlyList<ControlReferenceType> AllValues { get; }

Property Value

IReadOnlyList<ControlReferenceType>

ControlTypeCanny

public static ControlReferenceType ControlTypeCanny { get; }

Property Value

ControlReferenceType

ControlTypeDefault

public static ControlReferenceType ControlTypeDefault { get; }

Property Value

ControlReferenceType

ControlTypeFaceMesh

public static ControlReferenceType ControlTypeFaceMesh { get; }

Property Value

ControlReferenceType

ControlTypeScribble

public static ControlReferenceType ControlTypeScribble { get; }

Property Value

ControlReferenceType

Value

public string Value { get; }

Property Value

string

Methods

Equals(ControlReferenceType)

public bool Equals(ControlReferenceType other)

Parameters

other ControlReferenceType

Returns

bool

FromString(string)

public static ControlReferenceType FromString(string value)

Parameters

value string

Returns

ControlReferenceType

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

implicit operator ControlReferenceType(string)

public static implicit operator ControlReferenceType(string value)

Parameters

value string

Returns

ControlReferenceType