• Tutorials
  • Api Documentation
  • Download
  • Credits
Show / Hide Table of Contents
  • AutoCheck.Core
    • Output
    • Output.Log
    • Output.Style
    • Output.Type
    • Script
    • Script.ExecutionMode
    • Utils
    • Utils.OS
  • AutoCheck.Core.Connectors
    • Atom
    • Base
    • Compressed
    • Css
    • Csv
    • CsvDocument
    • Dmoj
    • GDrive
    • Html
    • Math
    • Odoo
    • Operator
    • PlainText
    • PlainText.PlainTextDocument
    • Postgres
    • Rss
    • Shell
    • TextStream
    • Xml
    • Xml.XmlNodeType
  • AutoCheck.Core.CopyDetectors
    • Base
    • Base.Mode
    • Css
    • Html
    • PlainText
    • PlainText.File
    • SourceCode
    • SqlLog
    • Xml
  • AutoCheck.Core.Events
    • LogUpdateEventArgs
    • StatusUpdateEventArgs
    • StatusUpdateEventArgs.ExecutionEvent
  • AutoCheck.Core.Exceptions
    • ArgumentInvalidException
    • ArgumentNotFoundException
    • ConfigFileMissingException
    • ConnectionInvalidException
    • ConnectorInvalidException
    • ConnectorNotFoundException
    • DocumentInvalidException
    • DownloadFailedException
    • ItemNotFoundException
    • PorpertyNotFoundException
    • QueryInvalidException
    • RegexInvalidException
    • ResultMismatchException
    • ScriptInvalidException
    • ScriptNotFoundException
    • StyleInvalidException
    • StyleNotAppliedException
    • StyleNotFoundException
    • TableInconsistencyException
    • VariableInvalidException
    • VariableNotFoundException
  • Google.DiffMatchPatch
    • Diff
    • DiffMatchPatch
    • Operation
    • Patch

Class Css

Allows in/out operations and/or data validations with CSS files.

Inheritance
System.Object
AutoCheck.Core.Connector
Css
Implements
System.IDisposable
Inherited Members
AutoCheck.Core.Connector.CurrentOS
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: AutoCheck.Core.Connectors
Assembly: AutoCheck.dll
Syntax
public class Css : Connector, IDisposable

Constructors

| Improve this Doc View Source

Css(String, String)

Creates a new connector instance.

Declaration
public Css(string path, string file)
Parameters
Type Name Description
System.String path

The folder containing the web files.

System.String file

CSS file name.

Properties

| Improve this Doc View Source

CssDoc

The CSS document content.

Declaration
public Stylesheet CssDoc { get; }
Property Value
Type Description
ExCSS.Stylesheet
| Improve this Doc View Source

Raw

The original CSS file content (unparsed).

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

Methods

| Improve this Doc View Source

Dispose()

Disposes the object releasing its unmanaged properties.

Declaration
public override void Dispose()
Overrides
AutoCheck.Core.Connector.Dispose()
| Improve this Doc View Source

PropertyApplied(HtmlDocument, String, String)

Declaration
public bool PropertyApplied(HtmlDocument htmlDoc, string property, string value = null)
Parameters
Type Name Description
HtmlAgilityPack.HtmlDocument htmlDoc
System.String property
System.String value
Returns
Type Description
System.Boolean
| Improve this Doc View Source

PropertyExists(String, String)

Determines if a property exists within the current CSS document.

Declaration
public bool PropertyExists(string property, string value = null)
Parameters
Type Name Description
System.String property

The CSS property name.

System.String value

The CSS property value.

Returns
Type Description
System.Boolean

True if the property has been found

| Improve this Doc View Source

ValidateCss3AgainstW3C()

Validates the currently loaded CSS document against the W3C public API. Throws an exception if the document is invalid.

Declaration
public void ValidateCss3AgainstW3C()

Implements

System.IDisposable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX