You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
409 B
20 lines
409 B
using System; |
|
using ICSharpCode.SharpDevelop; |
|
using ICSharpCode.SharpDevelop.Dom; |
|
|
|
namespace ICSharpCode.WpfDesign.AddIn |
|
{ |
|
public class ChooseClassService |
|
{ |
|
public IClass ChooseClass() |
|
{ |
|
var core = new ChooseClass(ParserService.CurrentProjectContent); |
|
var window = new ChooseClassDialog(core); |
|
|
|
if (window.ShowDialog().Value) { |
|
return core.CurrentClass; |
|
} |
|
return null; |
|
} |
|
} |
|
}
|
|
|