C# Class Sep.Git.Tfs.Core.TfsInterop.TfsPlugin.PluginLoader

显示文件 Open project: pmiossec/git-tfs

Private Properties

Property Type Description
IsVisualStudioInstalled bool
LoadFromSameFolder System.Reflection.Assembly
TryGetRegString bool

Public Methods

Method Description
Fail ( ) : TfsPlugin
Fail ( string message ) : TfsPlugin
Try ( string assembly, string pluginType ) : TfsPlugin
TryLoadVsPluginVersion ( string version, bool isVisualStudioRequired = false ) : TfsPlugin

Private Methods

Method Description
IsVisualStudioInstalled ( string version ) : bool
LoadFromSameFolder ( object sender, ResolveEventArgs args ) : Assembly
TryGetRegString ( string path ) : bool

Method Details

Fail() public method

public Fail ( ) : TfsPlugin
return TfsPlugin

Fail() public method

public Fail ( string message ) : TfsPlugin
message string
return TfsPlugin

Try() public method

public Try ( string assembly, string pluginType ) : TfsPlugin
assembly string
pluginType string
return TfsPlugin

TryLoadVsPluginVersion() public method

public TryLoadVsPluginVersion ( string version, bool isVisualStudioRequired = false ) : TfsPlugin
version string
isVisualStudioRequired bool
return TfsPlugin