internal ProjectTreeNode(IBaseDirectoryProvider solutionPath, UAModelDesignerProject projectDescription) : this(solutionPath, projectDescription.Name) { UAModelDesignerProject = projectDescription; ModelDesign _model = ReadConfiguration(); InitializeComponent(_model); }
internal ProjectTreeNode(IBaseDirectoryProvider solutionPath, string filePath, OPCFModelDesign model) : this(solutionPath, Path.GetFileNameWithoutExtension(filePath)) { UAModelDesignerProject = new UAModelDesignerProject() { BuildOutputDirectoryName = Resources.DefaultOutputBuildDirectory, CSVFileName = Resources.DefaultCSVFileName, FileName = GetRelativePath(filePath), ProjectIdentifier = Guid.NewGuid().ToString(), Name = UniqueProjectName }; InitializeComponent(new ModelDesign(model, false)); }
public RepositoryFactory(IBaseDirectoryProvider baseDirectoryProvider) { BaseDirectoryProvider = baseDirectoryProvider; }
/// <summary> /// Sets the base directory provider <see cref="IBaseDirectoryProvider"/>. /// </summary> /// <param name="provider">The provider of teh base directory <see cref="IBaseDirectoryProvider"/>.</param> public void SetBaseDirectoryProvider(IBaseDirectoryProvider provider) { myProvider = provider; }
private ProjectTreeNode(IBaseDirectoryProvider solutionPath, string nodeName) : base(null, nodeName) { m_SolutionHomeDirectory = solutionPath; }