public void CSharpManagerTest() { var file = new FileInfo(FileName); var transfer = new ClassManagerTransfer(file); transfer.Save(CurrentDirectory, true); Assert.IsTrue(true); }
private void ExecuteManager(object sender, EventArgs e) { ThreadHelper.ThrowIfNotOnUIThread(); var sourceFile = ServiceProvider.GetCurrentFile(); if (sourceFile?.Exists != true || !sourceFile.Extension.Equals(".cs", StringComparison.OrdinalIgnoreCase)) { return; } var transfer = new ClassManagerTransfer(sourceFile); transfer.Save(); }