Show / Hide Table of Contents

Class RepositoryConnectionInfo

Encapsulates the repository connection information.

Inheritance
System.Object
NotificationObject
RepositoryConnectionInfo
Inherited Members
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
NotificationObject.RaisePropertyChanged<T>(Expression<Func<T>>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
public class RepositoryConnectionInfo : NotificationObject
Examples
// The WcfRepositoryClient takes a configation object
// detailing how to connect to the Repository.
var connectionInfo = new RepositoryConnectionInfo()
{
    // TODO Replace this with the hostname of your Colectica Repository
    Url = "localhost", 
    AuthenticationMethod = RepositoryAuthenticationMethod.Windows,
    TransportMethod = RepositoryTransportMethod.NetTcp,
};

// Create the client object, passing in the connection information.
var client = new WcfRepositoryClient(connectionInfo);

Properties

AuthenticationMethod

Gets or sets the authentication method.

Declaration
public RepositoryAuthenticationMethod AuthenticationMethod { get; set; }
Property Value
Type Description
RepositoryAuthenticationMethod

DisplayLabel

Gets the display label.

Declaration
public string DisplayLabel { get; }
Property Value
Type Description
System.String

The display label.

HostName

Gets the DNS hostname of the repository.

Declaration
public string HostName { get; }
Property Value
Type Description
System.String

Password

Gets or sets the password, used when the AuthenticationMethod is set to UserName.

Declaration
public string Password { get; set; }
Property Value
Type Description
System.String

PasswordEnc

Gets or sets the encoded password, used when the AuthenticationMethod is set to UserName..

Declaration
public string PasswordEnc { get; set; }
Property Value
Type Description
System.String

The password enc.

Port

Gets the port on which the repository listens.

Declaration
public int Port { get; }
Property Value
Type Description
System.Int32

TransportMethod

Gets or sets the transport method.

Declaration
public RepositoryTransportMethod TransportMethod { get; set; }
Property Value
Type Description
RepositoryTransportMethod

Url

Gets or sets the URL of the repository.

Declaration
public string Url { get; set; }
Property Value
Type Description
System.String

UserName

Gets or sets username, used when the AuthenticationMethod is set to UserName.

Declaration
public string UserName { get; set; }
Property Value
Type Description
System.String

UseWindowsAuthentication

Gets or sets a value indicating whether the connection should use Windows authentication.

Declaration
public bool UseWindowsAuthentication { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica