Interface IIdentifiableTrySearch<TIdentifiable>
- Namespace
- MonkeyLoader.Meta
- Assembly
- MonkeyLoader.dll
Defines the interface for a try-search of a root IIdentifiable item.
public interface IIdentifiableTrySearch<TIdentifiable> where TIdentifiable : IIdentifiable
Type Parameters
TIdentifiable
The type of the IIdentifiable items.
Methods
ById(string, out TIdentifiable)
Tries searching for an item by its given id.
bool ById(string id, out TIdentifiable item)
Parameters
id
stringThe Id of the item to search for.
item
TIdentifiableThe item if found; otherwise,
default(
.TIdentifiable
)
Returns
- bool
true
if an item was found; otherwise,false
.