public static FindState Create(FindManager manager, NiFindOptions options, INiFindTarget findTarget) { return(new FindState(findTarget) { Options = options, FindWhat = manager._view.GetFindWhatText(), ReplaceWith = manager._view.GetReplaceWithText(), LookIn = manager._view.GetLookInText(), LookInFileTypes = manager._view.GetLookAtFileTypesText() }); }
public static FindState Create(FindManager manager, NiFindOptions options, INiFindTarget findTarget) { return new FindState(findTarget) { Options = options, FindWhat = manager._view.GetFindWhatText(), ReplaceWith = manager._view.GetReplaceWithText(), LookIn = manager._view.GetLookInText(), LookInFileTypes = manager._view.GetLookAtFileTypesText() }; }