Interface IIdentifiableOwnerTrySearch<TIdentifiable>
- Namespace
- MonkeyLoader.Meta
- Assembly
- MonkeyLoader.dll
Defines the interface for a try-search of an IIdentifiableOwner<TNestedIdentifiable>'s direct INestedIdentifiable child items.
public interface IIdentifiableOwnerTrySearch<TIdentifiable> : INestedIdentifiableOwnerTrySearch<TIdentifiable>, INestedIdentifiableTrySearch<TIdentifiable> where TIdentifiable : INestedIdentifiable
Type Parameters
TIdentifiableThe type of the INestedIdentifiable child items.
- Inherited Members
Methods
ById(string, out TIdentifiable?)
Tries searching for a direct child item by its given id.
bool ById(string id, out TIdentifiable? item)
Parameters
idstringThe Id of the item to search for.
itemTIdentifiableThe item if found; otherwise,
default(.TIdentifiable)
Returns
- bool
trueif an item was found; otherwise,false.