|
| static Dictionary< Key, Value > | MakeDictionary< Key, Value > (params(Key key, Value value)[] items) |
| | Syntax simplifier when new() cannot be used for dictionaries.
|
| |
| static ? IReadOnlyDictionary< Key, Value > | Merge< Key, Value > (this IReadOnlyDictionary< Key, Value >? a, IReadOnlyDictionary< Key, Value >? b) |
| | Merge two dictionaries safely.
|
| |
| static ? IDictionary< Key, Value > | MergeMutable< Key, Value > (this IDictionary< Key, Value >? a, IDictionary< Key, Value >? b) |
| | Merge two dictionaries safely.
|
| |
| static T | With< T > (this T self, Action< T > operation) |
| | Simply invoke a task on an object and return that same object.
|
| |
| static ? T | WithNullable< T > (this T? self, Action< T >? operation) |
| | Simply invoke a task on an object which may be null and return that same object.
|
| |
Definition at line 9 of file Cola.cs.
◆ MakeDictionary< Key, Value >()
| static Dictionary< Key, Value > Nuke.Cola.Cola.MakeDictionary< Key, Value > |
( |
params(Key key, Value value)[] | items | ) |
|
|
static |
Syntax simplifier when new() cannot be used for dictionaries.
◆ Merge< Key, Value >()
| static ? IReadOnlyDictionary< Key, Value > Nuke.Cola.Cola.Merge< Key, Value > |
( |
this IReadOnlyDictionary< Key, Value >? | a, |
|
|
IReadOnlyDictionary< Key, Value >? | b ) |
|
static |
Merge two dictionaries safely.
Definition at line 21 of file Cola.cs.
◆ MergeMutable< Key, Value >()
| static ? IDictionary< Key, Value > Nuke.Cola.Cola.MergeMutable< Key, Value > |
( |
this IDictionary< Key, Value >? | a, |
|
|
IDictionary< Key, Value >? | b ) |
|
static |
Merge two dictionaries safely.
Definition at line 41 of file Cola.cs.
◆ With< T >()
| static T Nuke.Cola.Cola.With< T > |
( |
this T | self, |
|
|
Action< T > | operation ) |
|
static |
Simply invoke a task on an object and return that same object.
Definition at line 61 of file Cola.cs.
◆ WithNullable< T >()
| static ? T Nuke.Cola.Cola.WithNullable< T > |
( |
this T? | self, |
|
|
Action< T >? | operation ) |
|
static |
Simply invoke a task on an object which may be null and return that same object.
Definition at line 70 of file Cola.cs.
The documentation for this class was generated from the following file:
- /home/runner/work/md.Nuke.Cola/md.Nuke.Cola/md.Nuke.Cola/Cola.cs