C# Класс Cornerstone.ScraperEngine.ScraperNode

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
children List
loadSuccess bool
logger System.Logger
name string
nodeSettings ScraperNodeAttribute
xmlNode System.Xml.XmlNode

Открытые методы

Метод Описание
Execute ( string>.Dictionary variables ) : void
Load ( string modifier ) : IValueModifier

Loads the specified modifier by name.

Load ( XmlNode xmlNode, ScriptableScraper context ) : ScraperNode
ScraperNode ( XmlNode xmlNode, ScriptableScraper context ) : System

Защищенные методы

Метод Описание
executeChildren ( string>.Dictionary variables ) : void
loadChildren ( ) : bool
parseString ( string>.Dictionary variables, string input ) : string
removeVariable ( string>.Dictionary variables, string key ) : void
setVariable ( string>.Dictionary variables, string key, string value ) : void

Приватные методы

Метод Описание
ScraperNode ( ) : System
removeArrayValues ( string>.Dictionary variables, string key ) : void

Описание методов

Execute() публичный абстрактный Метод

public abstract Execute ( string>.Dictionary variables ) : void
variables string>.Dictionary
Результат void

Load() публичный статический Метод

Loads the specified modifier by name.
public static Load ( string modifier ) : IValueModifier
modifier string The modifier.
Результат IValueModifier

Load() публичный статический Метод

public static Load ( XmlNode xmlNode, ScriptableScraper context ) : ScraperNode
xmlNode System.Xml.XmlNode
context ScriptableScraper
Результат ScraperNode

ScraperNode() публичный Метод

public ScraperNode ( XmlNode xmlNode, ScriptableScraper context ) : System
xmlNode System.Xml.XmlNode
context ScriptableScraper
Результат System

executeChildren() защищенный Метод

protected executeChildren ( string>.Dictionary variables ) : void
variables string>.Dictionary
Результат void

loadChildren() защищенный Метод

protected loadChildren ( ) : bool
Результат bool

parseString() защищенный Метод

protected parseString ( string>.Dictionary variables, string input ) : string
variables string>.Dictionary
input string
Результат string

removeVariable() защищенный Метод

protected removeVariable ( string>.Dictionary variables, string key ) : void
variables string>.Dictionary
key string
Результат void

setVariable() защищенный Метод

protected setVariable ( string>.Dictionary variables, string key, string value ) : void
variables string>.Dictionary
key string
value string
Результат void

Описание свойств

children защищенное свойство

protected List children
Результат List

loadSuccess защищенное свойство

protected bool loadSuccess
Результат bool

logger защищенное статическое свойство

protected static Logger,System logger
Результат System.Logger

name защищенное свойство

protected string name
Результат string

nodeSettings защищенное свойство

protected ScraperNodeAttribute,Cornerstone.ScraperEngine nodeSettings
Результат ScraperNodeAttribute

xmlNode защищенное свойство

protected XmlNode,System.Xml xmlNode
Результат System.Xml.XmlNode