Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.44 KB

GroupUnDo.TryGetSingle_T_(T).md

File metadata and controls

28 lines (19 loc) · 1.44 KB

GroupUnDo.TryGetSingle(T) Method

Gets the single T of this instance.

public bool TryGetSingle<T>(out T command)
    where T : DefaultUnDo.IUnDo;

Type parameters

T

Parameters

command T

When this method returns, the single T of this instance, if it was its only command; otherwise, the default value for the type T.
This parameter is passed uninitialized.

Returns

System.Boolean
true if the current instance contains exactly one T; otherwise false.