ItemToAutomationTask
(
Object oCheckedListBoxItem
)
{
Debug.Assert(oCheckedListBoxItem != null);
AssertValid();
Debug.Assert(oCheckedListBoxItem is ObjectWithText);
Debug.Assert( ( (ObjectWithText)oCheckedListBoxItem ).Object
is AutomationTasks );
return ( (AutomationTasks)
( (ObjectWithText)oCheckedListBoxItem ).Object );
}