C# Class ZeroInstall.Store.ViewModel.TrustNodeManager

Maps between TrustDB and TrustNodes.
Show file Open project: 0install/0install-win

Public Methods

Method Description
ToNodes ( [ trustDB ) : NamedCollection

Creates TrustNode representations for all entries in a TrustDB.

ToTrustDB ( [ nodes ) : TrustDB

Creates a TrustDB from TrustNodes.

Method Details

ToNodes() public static method

Creates TrustNode representations for all entries in a TrustDB.
public static ToNodes ( [ trustDB ) : NamedCollection
trustDB [
return NamedCollection

ToTrustDB() public static method

Creates a TrustDB from TrustNodes.
public static ToTrustDB ( [ nodes ) : TrustDB
nodes [
return TrustDB