C# Class Bari.Plugins.VsCore.VisualStudio.DefaultProjectGuidManagement

Default implementation for the IProjectGuidManagement interface
Inheritance: IProjectGuidManagement
Show file Open project: vigoo/bari

Public Methods

Method Description
DefaultProjectGuidManagement ( [ cacheRoot, Suite suite ) : System

Initializes the GUID management service

GetGuid ( Module module ) : System.Guid

Gets the GUID associated with the given module

GetGuid ( Project project ) : System.Guid

Gets the GUID associated with the given project

Private Methods

Method Description
FindModule ( string module ) : Module
FindProject ( string moduleAndProject ) : Project
InitializeFromCache ( ) : void
SaveToCache ( ) : void

Method Details

DefaultProjectGuidManagement() public method

Initializes the GUID management service
public DefaultProjectGuidManagement ( [ cacheRoot, Suite suite ) : System
cacheRoot [ Cache root directory
suite Suite Active suite
return System

GetGuid() public method

Gets the GUID associated with the given module
public GetGuid ( Module module ) : System.Guid
module Module The bari module model
return System.Guid

GetGuid() public method

Gets the GUID associated with the given project
public GetGuid ( Project project ) : System.Guid
project Project The bari project model
return System.Guid