Microsoft.VisualStudio.Project.AssemblyReferenceNode.GetPathNameFromProjectFile C# (CSharp) Méthode

GetPathNameFromProjectFile() private méthode

private GetPathNameFromProjectFile ( ) : void
Résultat void
        private void GetPathNameFromProjectFile()
        {
            string result = this.ItemNode.GetMetadata(ProjectFileConstants.HintPath);
            if(String.IsNullOrEmpty(result))
            {
                result = this.ItemNode.GetMetadata(ProjectFileConstants.AssemblyName);
                if(String.IsNullOrEmpty(result))
                {
                    this.assemblyPath = String.Empty;
                }
                else if(!result.EndsWith(".dll", StringComparison.OrdinalIgnoreCase))
                {
                    result += ".dll";
                    this.assemblyPath = result;
                }
            }
            else
            {
                this.assemblyPath = this.GetFullPathFromPath(result);
            }
        }