Show / Hide Table of Contents

Class ConnectionPreferences

Preferences for connection behavior

Inheritance
System.Object
ConnectionPreferences
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Innovator.Client
Assembly: Innovator.Client.dll
Syntax
public class ConnectionPreferences

Constructors

| Improve this Doc View Source

ConnectionPreferences()

Initializes a new instance of the ConnectionPreferences class.

Declaration
public ConnectionPreferences()
| Improve this Doc View Source

ConnectionPreferences(Action<XmlWriter>)

Initializes a new instance of the ConnectionPreferences class from XML

Declaration
public ConnectionPreferences(Action<XmlWriter> xml)
Parameters
Type Name Description
System.Action<System.Xml.XmlWriter> xml

A method for writing the XML to an System.Xml.XmlWriter

Properties

| Improve this Doc View Source

AuthCallback

By default, connections to URLs with mapping files will send login requests to any defined authentication service. If the callback is overriden, it will be used instead. If undefined, no authentication process will be called

Declaration
public Func<INetCredentials, string, bool, IPromise<ICredentials>> AuthCallback { get; set; }
Property Value
Type Description
System.Func<INetCredentials, System.String, System.Boolean, IPromise<ICredentials>>
| Improve this Doc View Source

Credentials

Default credentials used for immediate log in

Declaration
public ICredentials Credentials { get; set; }
Property Value
Type Description
ICredentials
| Improve this Doc View Source

DefaultTimeout

Default timeout in milliseconds

Declaration
public int ? DefaultTimeout { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

Headers

Gets the headers to send to the server with each request

Declaration
public ArasHeaders Headers { get; }
Property Value
Type Description
ArasHeaders
| Improve this Doc View Source

HttpService

Gets or sets the HTTP client to use for making server requests

Declaration
public HttpClient HttpService { get; set; }
Property Value
Type Description
System.Net.Http.HttpClient
| Improve this Doc View Source

ItemFactory

Gets or sets the item factory to use for creating item models

Declaration
public IItemFactory ItemFactory { get; set; }
Property Value
Type Description
IItemFactory
| Improve this Doc View Source

Name

Gets or sets the name of the connection

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Url

The URL to use if not otherwise specified

Declaration
public string Url { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX