C# Класс CalDavSynchronizer.ThoughtvCardWorkaround.vCardImprovedWriter

Implements the standard vCard 2.1 and 3.0 text formats.
Наследование: Thought.vCards.vCardWriter
Показать файл Открыть проект

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

Метод Описание
EncodeBase64 ( byte value ) : string

Converts a byte to a BASE64 string.

EncodeBase64 ( int value ) : string

Converts an integer to a BASE64 string.

EncodeEscaped ( string value ) : string

Encodes a string using simple escape codes.

EncodeEscaped ( string value, char escaped ) : string

Encodes a character array using simple escape sequences.

EncodeProperty ( Thought.vCards.vCardProperty property ) : string

Returns property encoded into a standard vCard NAME:VALUE format.

EncodeQuotedPrintable ( string value ) : string

Converts a string to quoted-printable format.

Write ( Thought.vCards.vCard card, TextWriter output ) : void

Writes a vCard to an output text writer.

Write ( vCardPropertyCollection properties, TextWriter output ) : void

Writes a collection of vCard properties to an output text writer.

vCardImprovedWriter ( ) : System

Creates a new instance of the standard writer.

The standard writer is configured to create vCard files in the highest supported version. This is currently version 3.0.

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

Метод Описание
BuildProperties ( Thought.vCards.vCard card ) : vCardPropertyCollection

Builds a collection of standard properties based on the specified vCard.

BuildProperties_ADR ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds ADR properties.

BuildProperties_BDAY ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds the BDAY property.

BuildProperties_CATEGORIES ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_CLASS ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_EMAIL ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds EMAIL properties.

BuildProperties_FN ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_GEO ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds the GEO property.

BuildProperties_IMPP ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_KEY ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds KEY properties.

BuildProperties_LABEL ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_MAILER ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds the MAILER property.

BuildProperties_N ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_NAME ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_NICKNAME ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds the NICKNAME property.

BuildProperties_NOTE ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds the NOTE property.

BuildProperties_ORG ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds the ORG property.

BuildProperties_PHOTO ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_PRODID ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds PRODID properties.

BuildProperties_REV ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds the REV property.

BuildProperties_ROLE ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds the ROLE property.

BuildProperties_SOURCE ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds SOURCE properties.

BuildProperties_TEL ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

Builds TEL properties.

BuildProperties_TITLE ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_TZ ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_UID ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_URL ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void
BuildProperties_X_WAB_GENDER ( vCardPropertyCollection properties, Thought.vCards.vCard card ) : void

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

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

Converts a byte to a BASE64 string.
public static EncodeBase64 ( byte value ) : string
value byte
Результат string

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

Converts an integer to a BASE64 string.
public static EncodeBase64 ( int value ) : string
value int
Результат string

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

Encodes a string using simple escape codes.
public EncodeEscaped ( string value ) : string
value string
Результат string

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

Encodes a character array using simple escape sequences.
public static EncodeEscaped ( string value, char escaped ) : string
value string
escaped char
Результат string

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

Returns property encoded into a standard vCard NAME:VALUE format.
public EncodeProperty ( Thought.vCards.vCardProperty property ) : string
property Thought.vCards.vCardProperty
Результат string

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

Converts a string to quoted-printable format.
public static EncodeQuotedPrintable ( string value ) : string
value string /// The value to encode in Quoted Printable format. ///
Результат string

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

Writes a vCard to an output text writer.
public Write ( Thought.vCards.vCard card, TextWriter output ) : void
card Thought.vCards.vCard
output System.IO.TextWriter
Результат void

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

Writes a collection of vCard properties to an output text writer.
public Write ( vCardPropertyCollection properties, TextWriter output ) : void
properties vCardPropertyCollection
output System.IO.TextWriter
Результат void

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

Creates a new instance of the standard writer.
The standard writer is configured to create vCard files in the highest supported version. This is currently version 3.0.
public vCardImprovedWriter ( ) : System
Результат System