C# Class Dev2.Studio.Core.EnvironmentRepository

Inheritance: IEnvironmentRepository
Afficher le fichier Open project: Warewolf-ESB/Warewolf

Protected Properties

Свойство Type Description
Environments List

Méthodes publiques

Méthode Description
All ( ) : ICollection
Clear ( ) : void
Create ( IEnvironmentModel source ) : EnvironmentRepository
Dispose ( ) : void
EnvironmentRepository ( IEnvironmentRepository environmentRepository ) : System
Fetch ( IEnvironmentModel server ) : IEnvironmentModel
Find ( bool>.Expression expression ) : ICollection
FindSingle ( bool>.Expression expression ) : IEnvironmentModel
ForceLoad ( ) : void
Get ( System.Guid id ) : IEnvironmentModel
GetAppServerUriFromConnectionString ( string connectionstring ) : string
GetEnvironmentsDirectory ( ) : string
GetEnvironmentsFilePath ( ) : string
Load ( ) : void
LookupEnvironments ( IEnvironmentModel defaultEnvironment, IList environmentGuids = null ) : IList

Lookups the environments. If environmentGuids is null or empty then this returns all enSourceType.Dev2Server sources.

ReadSession ( ) : IList
Remove ( System.Guid id ) : void
Remove ( ICollection environments ) : void
Remove ( IEnvironmentModel environment ) : void
Save ( IEnvironmentModel environment ) : string
Save ( ICollection environments ) : void
WriteSession ( IEnumerable environmentGuids ) : void

Méthodes protégées

Méthode Description
AddInternal ( IEnvironmentModel environment ) : void
EnvironmentRepository ( ) : System
EnvironmentRepository ( IEnvironmentModel source ) : System
LoadInternal ( ) : void
RemoveInternal ( IEnvironmentModel environment ) : bool

Private Methods

Méthode Description
CreateEnvironmentModel ( Connection connection ) : IEnvironmentModel
CreateEnvironmentModel ( System.Guid id, Uri applicationServerUri, AuthenticationType authenticationType, string userName, string password, string name ) : IEnvironmentModel
CreateEnvironmentModel ( System.Guid id, Uri applicationServerUri, string alias ) : IEnvironmentModel
Dispose ( bool disposing ) : void
ParseConnectionString ( string s ) : string>.Dictionary
RaiseItemAdded ( ) : void
RaiseItemEdited ( IEnvironmentModel environment, bool isConnected ) : void

Method Details

AddInternal() protected méthode

protected AddInternal ( IEnvironmentModel environment ) : void
environment IEnvironmentModel
Résultat void

All() public méthode

public All ( ) : ICollection
Résultat ICollection

Clear() public méthode

public Clear ( ) : void
Résultat void

Create() public static méthode

public static Create ( IEnvironmentModel source ) : EnvironmentRepository
source IEnvironmentModel
Résultat EnvironmentRepository

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EnvironmentRepository() protected méthode

protected EnvironmentRepository ( ) : System
Résultat System

EnvironmentRepository() protected méthode

protected EnvironmentRepository ( IEnvironmentModel source ) : System
source IEnvironmentModel
Résultat System

EnvironmentRepository() public méthode

public EnvironmentRepository ( IEnvironmentRepository environmentRepository ) : System
environmentRepository IEnvironmentRepository
Résultat System

Fetch() public méthode

public Fetch ( IEnvironmentModel server ) : IEnvironmentModel
server IEnvironmentModel
Résultat IEnvironmentModel

Find() public méthode

public Find ( bool>.Expression expression ) : ICollection
expression bool>.Expression
Résultat ICollection

FindSingle() public méthode

public FindSingle ( bool>.Expression expression ) : IEnvironmentModel
expression bool>.Expression
Résultat IEnvironmentModel

ForceLoad() public méthode

public ForceLoad ( ) : void
Résultat void

Get() public méthode

public Get ( System.Guid id ) : IEnvironmentModel
id System.Guid
Résultat IEnvironmentModel

GetAppServerUriFromConnectionString() public static méthode

public static GetAppServerUriFromConnectionString ( string connectionstring ) : string
connectionstring string
Résultat string

GetEnvironmentsDirectory() public static méthode

public static GetEnvironmentsDirectory ( ) : string
Résultat string

GetEnvironmentsFilePath() public static méthode

public static GetEnvironmentsFilePath ( ) : string
Résultat string

Load() public méthode

public Load ( ) : void
Résultat void

LoadInternal() protected méthode

protected LoadInternal ( ) : void
Résultat void

LookupEnvironments() public méthode

Lookups the environments. If environmentGuids is null or empty then this returns all enSourceType.Dev2Server sources.
defaultEnvironment
public LookupEnvironments ( IEnvironmentModel defaultEnvironment, IList environmentGuids = null ) : IList
defaultEnvironment IEnvironmentModel The default environment.
environmentGuids IList The environment guids to be queried; may be null.
Résultat IList

ReadSession() public méthode

public ReadSession ( ) : IList
Résultat IList

Remove() public méthode

public Remove ( System.Guid id ) : void
id System.Guid
Résultat void

Remove() public méthode

public Remove ( ICollection environments ) : void
environments ICollection
Résultat void

Remove() public méthode

public Remove ( IEnvironmentModel environment ) : void
environment IEnvironmentModel
Résultat void

RemoveInternal() protected méthode

protected RemoveInternal ( IEnvironmentModel environment ) : bool
environment IEnvironmentModel
Résultat bool

Save() public méthode

public Save ( IEnvironmentModel environment ) : string
environment IEnvironmentModel
Résultat string

Save() public méthode

public Save ( ICollection environments ) : void
environments ICollection
Résultat void

WriteSession() public méthode

public WriteSession ( IEnumerable environmentGuids ) : void
environmentGuids IEnumerable
Résultat void

Property Details

Environments protected_oe property

protected List Environments
Résultat List