Compartir a través de


ReadableLocator.Get Method

Definition

Overloads

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

Get(Object)

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

Parameters

key
Object

Returns

Implements

Applies to

Get(Object, SearchMode)

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

Parameters

key
Object
options
SearchMode

Returns

Implements

Applies to

Get<TItem>()

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

Type Parameters

TItem

Returns

TItem

Implements

Applies to

Get<TItem>(Object)

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

Type Parameters

TItem

Parameters

key
Object

Returns

TItem

Implements

Applies to

Get<TItem>(Object, SearchMode)

public:
generic <typename TItem>
 virtual 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
override this.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

Implements

Applies to