private void SetNamespace(string fileName) { var ns = VisualStudioAutomationHelper.GetDefaultNamespace(ServiceProvider) + "." + NetNamingMapper.GetObjectName(Path.GetFileNameWithoutExtension(fileName)); txtNamespace.Text = ns; }
private string GetNamespace(string fileName) { return(VisualStudioAutomationHelper.GetDefaultNamespace(ServiceProvider) + "." + NetNamingMapper.GetObjectName(Path.GetFileNameWithoutExtension(fileName))); }