FindListItem() 개인적인 메소드

private FindListItem ( string name ) : void
name string
리턴 void
        public static void Open(ProjectCollection collection, string path, string fileName)
        {
            foreach (var view in IdeApp.Workbench.Documents)
            {
                var sourceDoc = view.GetContent <SourceControlExplorerView>();
                if (sourceDoc != null)
                {
                    sourceDoc.Load(collection);
                    sourceDoc.ExpandPath(path);
                    sourceDoc.FindListItem(fileName);
                    view.Window.SelectWindow();
                    return;
                }
            }

            var sourceControlExplorerView = new SourceControlExplorerView();

            sourceControlExplorerView.Load(collection);
            sourceControlExplorerView.ExpandPath(path);
            sourceControlExplorerView.FindListItem(fileName);
            IdeApp.Workbench.OpenDocument(sourceControlExplorerView, true);
        }
        public static void Open(ProjectCollection collection, string path, string fileName)
        {
            foreach (var view in IdeApp.Workbench.Documents)
            {
                var sourceDoc = view.GetContent<SourceControlExplorerView>();
                if (sourceDoc != null)
                {
                    sourceDoc.Load(collection);
                    sourceDoc.ExpandPath(path);
                    sourceDoc.FindListItem(fileName);
                    view.Window.SelectWindow();
                    return;
                }
            }

            var sourceControlExplorerView = new SourceControlExplorerView();
            sourceControlExplorerView.Load(collection);
            sourceControlExplorerView.ExpandPath(path);
            sourceControlExplorerView.FindListItem(fileName);
            IdeApp.Workbench.OpenDocument(sourceControlExplorerView, true);
        }