void AddClassToCompilationUnit(string namespaceName, string className) { var classHelper = new ClassHelper(); classHelper.CreatePublicClass(className); classHelper.AddNamespaceUsingScopeToClass(namespaceName); classHelper.AddClassNamespace(namespaceName); compilationUnitHelper.AddClass(classHelper.Class); }
void CreateClass(string name) { helper.CreatePublicClass(name); helper.SetClassType(ICSharpCode.SharpDevelop.Dom.ClassType.Class); }
void AddUnderlyingClassToReturnType(string fullyQualifiedName) { classHelper.CreatePublicClass(fullyQualifiedName); helper.AddUnderlyingClass(classHelper.Class); }
void CreatePublicClass(string name) { helper.CreatePublicClass(name); CreateClass(); }
void CreatePublicCSharpClass() { classHelper.CreatePublicClass("MyClass"); classHelper.ProjectContentHelper.ProjectContentIsForCSharpProject(); }