Bari.Plugins.Csharp.VisualStudio.CsprojSections.EmbeddedResourcesSection.GetLogicalPath C# (CSharp) Method

GetLogicalPath() protected method

protected GetLogicalPath ( Project project, SuiteRelativePath file, SourceSetType sourceSetType ) : string
project Project
file SuiteRelativePath
sourceSetType SourceSetType
return string
        protected override string GetLogicalPath(Project project, SuiteRelativePath file, SourceSetType sourceSetType)
        {
            var path = base.GetLogicalPath(project, file, sourceSetType);
            if (path.StartsWith("wpf" + Path.DirectorySeparatorChar))
                return path.Substring(4).Replace(Path.DirectorySeparatorChar, '/');
            else
                return PrefixWithRootNamespace(project, PrefixNumericComponents(path)).Replace(Path.DirectorySeparatorChar, '.');
        }