C# Class NuGet.Runtime.BindingRedirectManager

Class that manages the binding redirect config section
Mostrar archivo Open project: monoman/NugetCracker Class Usage Examples

Public Methods

Method Description
AddBindingRedirects ( IEnumerable bindingRedirects ) : void
BindingRedirectManager ( IFileSystem fileSystem, string configurationPath ) : System
RemoveBindingRedirects ( IEnumerable bindingRedirects ) : void

Private Methods

Method Description
GetAssemblyBindingElement ( System.Xml.Linq.XElement runtime ) : System.Xml.Linq.XElement
GetAssemblyBindingElements ( System.Xml.Linq.XElement runtime ) : IEnumerable
GetAssemblyBindings ( System.Xml.Linq.XDocument document ) : XElement>.ILookup
GetConfiguration ( ) : XDocument
RemoveElement ( XElement element ) : void
Save ( XDocument document ) : void
UpdateBindingRedirectElement ( XElement element, AssemblyBinding bindingRedirect ) : void

Method Details

AddBindingRedirects() public method

public AddBindingRedirects ( IEnumerable bindingRedirects ) : void
bindingRedirects IEnumerable
return void

BindingRedirectManager() public method

public BindingRedirectManager ( IFileSystem fileSystem, string configurationPath ) : System
fileSystem IFileSystem
configurationPath string
return System

RemoveBindingRedirects() public method

public RemoveBindingRedirects ( IEnumerable bindingRedirects ) : void
bindingRedirects IEnumerable
return void