Share via


IReadableLocator.Get Method

Definition

Overloads

Get(Object)
Get(Object, SearchMode)
Get<TItem>()
Get<TItem>(Object)
Get<TItem>(Object, SearchMode)

Get(Object)

public:
 System::Object ^ Get(System::Object ^ key);
public object Get (object key);
abstract member Get : obj -> obj
Public Function Get (key As Object) As Object

Parameters

key
Object

Returns

Applies to

Get(Object, SearchMode)

public:
 System::Object ^ Get(System::Object ^ key, Microsoft::Practices::ObjectBuilder::SearchMode options);
public object Get (object key, Microsoft.Practices.ObjectBuilder.SearchMode options);
abstract member Get : obj * Microsoft.Practices.ObjectBuilder.SearchMode -> obj
Public Function Get (key As Object, options As SearchMode) As Object

Parameters

key
Object
options
SearchMode

Returns

Applies to

Get<TItem>()

public:
generic <typename TItem>
 TItem Get();
public TItem Get<TItem> ();
abstract member Get : unit -> 'Item
Public Function Get(Of TItem) () As TItem

Type Parameters

TItem

Returns

TItem

Applies to

Get<TItem>(Object)

public:
generic <typename TItem>
 TItem Get(System::Object ^ key);
public TItem Get<TItem> (object key);
abstract member Get : obj -> 'Item
Public Function Get(Of TItem) (key As Object) As TItem

Type Parameters

TItem

Parameters

key
Object

Returns

TItem

Applies to

Get<TItem>(Object, SearchMode)

public:
generic <typename TItem>
 TItem Get(System::Object ^ key, Microsoft::Practices::ObjectBuilder::SearchMode options);
public TItem Get<TItem> (object key, Microsoft.Practices.ObjectBuilder.SearchMode options);
abstract member Get : obj * Microsoft.Practices.ObjectBuilder.SearchMode -> 'Item
Public Function Get(Of TItem) (key As Object, options As SearchMode) As TItem

Type Parameters

TItem

Parameters

key
Object
options
SearchMode

Returns

TItem

Applies to