Class ScraperContact
Inheritance
System.Object
ScraperContact
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()
Assembly: Subsembly.Scraper.dll
public abstract class ScraperContact : IScraperContact, IScraperPersist
Constructors
Declaration
public ScraperContact(string sScraperName, ScraperAccountServiceTypes nAccountType, ScraperAuthentication nAuthentication, ScraperCapabilities nCapabilities)
Parameters
Properties
Declaration
public ScraperAccountServiceTypes AccountServiceTypes { get; }
Property Value
Returns the authentication value that was given to the constructor.
Declaration
public ScraperAuthentication Authentication { get; }
Property Value
Declaration
public virtual string BankCode { get; set; }
Property Value
Type |
Description |
System.String |
|
Returns the capabilities value that was given to the constructor.
Declaration
public ScraperCapabilities Capabilities { get; }
Property Value
Declaration
public bool IsDirty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual string LoginURL { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual string ProductName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public abstract JsonObject Profile { get; }
Property Value
Declaration
public string ScraperName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Always throws a NotImplementedException
. Must be overridden if OAuth2
authentication is used.
Declaration
public virtual string BuildOAuthUrl(string sRedirectionEndpoint)
Parameters
Type |
Name |
Description |
System.String |
sRedirectionEndpoint |
|
Returns
Type |
Description |
System.String |
|
Declaration
public IScraperSession CreateSession()
Returns
The default implementation loads all the properties of this base class.
Declaration
public void Load(JsonObject js)
Parameters
Declaration
public abstract ScraperSession OnCreateSession()
Returns
May be overridden by the derived class in order to load additional properties.
Declaration
public virtual void OnLoad(JsonObject js)
Parameters
May be overridden by the derived class in order to save additional properties.
Declaration
public virtual void OnSave(JsonObject js)
Parameters
The default implementation saves all the properties of this base class.
Declaration
Returns
Declaration
protected void SetDirty()
Implements