Debology.Debby.Modules.Adjust
IContextBuilder Interface
Allows you to build an Adjust context dynamically at runtime.
public interface IContextBuilderMethods
IContextBuilder.AddAction(string, Action, AdjustActionAttribute) Method
Adds an Action adjustment (a button) to the context.
Debology.Debby.Modules.Adjust.IContextBuilder AddAction(string name, System.Action action, Debology.Debby.Modules.Adjust.Attributes.AdjustActionAttribute config=null);Parameters
name System.String
The display name / label.
action System.Action
The action to be performed.
config AdjustActionAttribute
An optional configuration
Returns
IContextBuilder.AddAsyncAction(string, Func<Awaitable>, AdjustActionAttribute) Method
Adds an awaitable Action adjustment (a button with a progress indicator) to the context.
Debology.Debby.Modules.Adjust.IContextBuilder AddAsyncAction(string name, System.Func<Awaitable> awaitableAction, Debology.Debby.Modules.Adjust.Attributes.AdjustActionAttribute config=null);Parameters
name System.String
The display name / label.
awaitableAction System.Func<UnityEngine.Awaitable>
The awaitable action to be performed.
config AdjustActionAttribute
An optional configuration
Returns
IContextBuilder.AddAsyncAction(string, Func<Action<float>,Awaitable>, AdjustActionAttribute) Method
Adds an awaitable Action adjustment (a button with a progress indicator) to the context with progress reporting.
Debology.Debby.Modules.Adjust.IContextBuilder AddAsyncAction(string name, System.Func<System.Action<float>,Awaitable> awaitableAction, Debology.Debby.Modules.Adjust.Attributes.AdjustActionAttribute config=null);Parameters
name System.String
The display name / label.
awaitableAction System.Func<System.Action<System.Single>,UnityEngine.Awaitable>
The awaitable action to be performed, with a progress callback (0.0 to 1.0).
config AdjustActionAttribute
An optional configuration
Returns
IContextBuilder.AddAsyncAction(string, Func<Action<float>,Task>, AdjustActionAttribute) Method
Adds an async Action adjustment (a button with a progress indicator) to the context with progress reporting.
Debology.Debby.Modules.Adjust.IContextBuilder AddAsyncAction(string name, System.Func<System.Action<float>,System.Threading.Tasks.Task> asyncAction, Debology.Debby.Modules.Adjust.Attributes.AdjustActionAttribute config=null);Parameters
name System.String
The display name / label.
asyncAction System.Func<System.Action<System.Single>,System.Threading.Tasks.Task>
The async action to be performed, with a progress callback (0.0 to 1.0).
config AdjustActionAttribute
An optional configuration
Returns
IContextBuilder.AddAsyncAction(string, Func<Task>, AdjustActionAttribute) Method
Adds an async Action adjustment (a button with progress indicator) to the context.
Debology.Debby.Modules.Adjust.IContextBuilder AddAsyncAction(string name, System.Func<System.Threading.Tasks.Task> asyncAction, Debology.Debby.Modules.Adjust.Attributes.AdjustActionAttribute config=null);Parameters
name System.String
The display name / label.
asyncAction System.Func<System.Threading.Tasks.Task>
The async action to be performed.
config AdjustActionAttribute
An optional configuration
Returns
IContextBuilder.AddValue(string, AdjustableValue<double>, AdjustDoubleAttribute) Method
Adds a double-based adjustment to the context.
Debology.Debby.Modules.Adjust.IContextBuilder AddValue(string name, Debology.Debby.Modules.Adjust.AdjustableValue<double> adjustableValue, Debology.Debby.Modules.Adjust.Attributes.AdjustDoubleAttribute config=null);Parameters
name System.String
The display name / label.
adjustableValue Debology.Debby.Modules.Adjust.AdjustableValue<System.Double>
The adjustable value
config AdjustDoubleAttribute
An optional configuration
Returns
IContextBuilder.AddValue(string, AdjustableValue<float>, AdjustFloatAttribute) Method
Adds a float-based adjustment to the context.
Debology.Debby.Modules.Adjust.IContextBuilder AddValue(string name, Debology.Debby.Modules.Adjust.AdjustableValue<float> adjustableValue, Debology.Debby.Modules.Adjust.Attributes.AdjustFloatAttribute config=null);Parameters
name System.String
The display name / label.
adjustableValue Debology.Debby.Modules.Adjust.AdjustableValue<System.Single>
The adjustable value
config AdjustFloatAttribute
An optional configuration
Returns
IContextBuilder.AddValue(string, AdjustableValue<int>, AdjustIntAttribute) Method
Adds an integer-based adjustment to the context.
Debology.Debby.Modules.Adjust.IContextBuilder AddValue(string name, Debology.Debby.Modules.Adjust.AdjustableValue<int> adjustableValue, Debology.Debby.Modules.Adjust.Attributes.AdjustIntAttribute config=null);Parameters
name System.String
The display name / label.
adjustableValue Debology.Debby.Modules.Adjust.AdjustableValue<System.Int32>
The adjustable value
config AdjustIntAttribute
An optional configuration
Returns
IContextBuilder.AddValue(string, AdjustableValue<long>, AdjustLongAttribute) Method
Adds a long-based adjustment to the context.
Debology.Debby.Modules.Adjust.IContextBuilder AddValue(string name, Debology.Debby.Modules.Adjust.AdjustableValue<long> adjustableValue, Debology.Debby.Modules.Adjust.Attributes.AdjustLongAttribute config=null);Parameters
name System.String
The display name / label.
adjustableValue Debology.Debby.Modules.Adjust.AdjustableValue<System.Int64>
The adjustable value
config AdjustLongAttribute
An optional configuration
Returns
IContextBuilder.AddValue(string, AdjustableValue<uint>, AdjustUIntAttribute) Method
Adds an uint-based adjustment to the context.
Debology.Debby.Modules.Adjust.IContextBuilder AddValue(string name, Debology.Debby.Modules.Adjust.AdjustableValue<uint> adjustableValue, Debology.Debby.Modules.Adjust.Attributes.AdjustUIntAttribute config=null);Parameters
name System.String
The display name / label.
adjustableValue Debology.Debby.Modules.Adjust.AdjustableValue<System.UInt32>
The adjustable value
config AdjustUIntAttribute
An optional configuration
Returns
IContextBuilder.AddValue(string, AdjustableValue<ulong>, AdjustULongAttribute) Method
Adds a ulong-based adjustment to the context.
Debology.Debby.Modules.Adjust.IContextBuilder AddValue(string name, Debology.Debby.Modules.Adjust.AdjustableValue<ulong> adjustableValue, Debology.Debby.Modules.Adjust.Attributes.AdjustULongAttribute config=null);Parameters
name System.String
The display name / label.
adjustableValue Debology.Debby.Modules.Adjust.AdjustableValue<System.UInt64>
The adjustable value
config AdjustULongAttribute
An optional configuration
Returns
IContextBuilder.AddValue<T>(string, AdjustableValue<T>, AdjustAttribute) Method
Adds a generic value to the context. This also warks with Enums.
Debology.Debby.Modules.Adjust.IContextBuilder AddValue<T>(string name, Debology.Debby.Modules.Adjust.AdjustableValue<T> adjustableValue, Debology.Debby.Modules.Adjust.Attributes.AdjustAttribute config=null);Type parameters
T
Parameters
name System.String
The display name / label.
adjustableValue Debology.Debby.Modules.Adjust.AdjustableValue<T>
The adjustable value
config AdjustAttribute
An optional configuration
Returns
IContextBuilder.Build() Method
Builds the context. This must be called to register the context.
void Build();