C# Class newtelligence.DasBlog.Web.Core.RobotDefinition

Show file Open project: AArnott/dasblog Class Usage Examples

Public Methods

Method Description
GetRobotDefinition ( ) : RobotDefinition
GetRobotDefinition ( string configPath ) : RobotDefinition
IsRobot ( LogDataItem logDataItem ) : bool

Private Methods

Method Description
GetConfigFilePathFromCurrentContext ( ) : string
IsRobotUserAgent ( string userAgent ) : bool

Method Details

GetRobotDefinition() public static method

public static GetRobotDefinition ( ) : RobotDefinition
return RobotDefinition

GetRobotDefinition() public static method

public static GetRobotDefinition ( string configPath ) : RobotDefinition
configPath string
return RobotDefinition

IsRobot() public method

public IsRobot ( LogDataItem logDataItem ) : bool
logDataItem newtelligence.DasBlog.Runtime.LogDataItem
return bool