C# Class DirkSarodnick.GoogleSync.Core.Extensions.ContactExtensions

Defines the Contact Extensions.
ファイルを表示 Open project: d03n3rfr1tz3/GoogleSync

Public Methods

Method Description
AddPicture ( this outlookContact, Stream stream ) : bool

Adds the picture.

GetPicture ( this outlookContact ) : Stream

Gets the picture.

GetPicture ( this request, Data.Contact contact ) : Stream

Gets the picture.

HasNewPicture ( this contact ) : bool

Determines whether [has new picture] [the specified contact].

Merge ( this emails, Google.GData.Extensions.EMail mail ) : bool

Merges the specified emails.

Merge ( this groups, IEnumerable outlookGroups, IEnumerable googleGroups ) : bool

Merges the specified google groups.

Merge ( this groups, string outlookGroup, IEnumerable googleGroups ) : bool

Merges the specified google groups.

Merge ( this ims, Google.GData.Extensions.IMAddress im ) : bool

Merges the specified ims.

Merge ( this organizations, Google.GData.Extensions.Organization organization ) : bool

Merges the specified organizations.

Merge ( this phoneNumbers, Google.GData.Extensions.PhoneNumber phone ) : bool

Merges the specified phone numbers.

Merge ( this addresses, StructuredPostalAddress address ) : bool

Merges the specified addresses.

Merge ( this websites, Google.GData.Contacts.Website website ) : bool

Merges the specified websites.

MergeWith ( this outlookContact, Data.Contact googleContact, IEnumerable outlookGroups ) : bool

Merges the with.

MergeWith ( this googleContact, ContactItem outlookContact, IEnumerable googleGroups ) : bool

Merges the with.

Mergeable ( this googleContacts, ContactItem outlookContact ) : IEnumerable

Determines wether the contacts are mergable.

Mergeable ( this outlookContacts, Data.Contact googleContact ) : IEnumerable

Determines wether the contacts are mergable.

Mergeable ( ContactItem outlookContact, Data.Contact googleContact ) : bool

Determines wether the contacts are mergable.

Method Details

AddPicture() public static method

Adds the picture.
public static AddPicture ( this outlookContact, Stream stream ) : bool
outlookContact this The outlook contact.
stream Stream The stream.
return bool

GetPicture() public static method

Gets the picture.
public static GetPicture ( this outlookContact ) : Stream
outlookContact this The outlook contact.
return Stream

GetPicture() public static method

Gets the picture.
public static GetPicture ( this request, Data.Contact contact ) : Stream
request this The request.
contact Data.Contact The contact.
return Stream

HasNewPicture() public static method

Determines whether [has new picture] [the specified contact].
public static HasNewPicture ( this contact ) : bool
contact this The contact.
return bool

Merge() public static method

Merges the specified emails.
public static Merge ( this emails, Google.GData.Extensions.EMail mail ) : bool
emails this The emails.
mail Google.GData.Extensions.EMail The mail.
return bool

Merge() public static method

Merges the specified google groups.
public static Merge ( this groups, IEnumerable outlookGroups, IEnumerable googleGroups ) : bool
groups this The groups.
outlookGroups IEnumerable The outlook groups.
googleGroups IEnumerable All google groups.
return bool

Merge() public static method

Merges the specified google groups.
public static Merge ( this groups, string outlookGroup, IEnumerable googleGroups ) : bool
groups this The groups.
outlookGroup string The outlook group.
googleGroups IEnumerable All google groups.
return bool

Merge() public static method

Merges the specified ims.
public static Merge ( this ims, Google.GData.Extensions.IMAddress im ) : bool
ims this The ims.
im Google.GData.Extensions.IMAddress The im.
return bool

Merge() public static method

Merges the specified organizations.
public static Merge ( this organizations, Google.GData.Extensions.Organization organization ) : bool
organizations this The organizations.
organization Google.GData.Extensions.Organization The organization.
return bool

Merge() public static method

Merges the specified phone numbers.
public static Merge ( this phoneNumbers, Google.GData.Extensions.PhoneNumber phone ) : bool
phoneNumbers this The phone numbers.
phone Google.GData.Extensions.PhoneNumber The phone.
return bool

Merge() public static method

Merges the specified addresses.
public static Merge ( this addresses, StructuredPostalAddress address ) : bool
addresses this The addresses.
address StructuredPostalAddress The address.
return bool

Merge() public static method

Merges the specified websites.
public static Merge ( this websites, Google.GData.Contacts.Website website ) : bool
websites this The websites.
website Google.GData.Contacts.Website The website.
return bool

MergeWith() public static method

Merges the with.
public static MergeWith ( this outlookContact, Data.Contact googleContact, IEnumerable outlookGroups ) : bool
outlookContact this The outlook contact.
googleContact Data.Contact The google contact.
outlookGroups IEnumerable The outlook groups.
return bool

MergeWith() public static method

Merges the with.
public static MergeWith ( this googleContact, ContactItem outlookContact, IEnumerable googleGroups ) : bool
googleContact this The google contact.
outlookContact ContactItem The outlook contact.
googleGroups IEnumerable The google groups.
return bool

Mergeable() public static method

Determines wether the contacts are mergable.
public static Mergeable ( this googleContacts, ContactItem outlookContact ) : IEnumerable
googleContacts this The google contacts.
outlookContact ContactItem The outlook contact.
return IEnumerable

Mergeable() public static method

Determines wether the contacts are mergable.
public static Mergeable ( this outlookContacts, Data.Contact googleContact ) : IEnumerable
outlookContacts this The outlook contacts.
googleContact Data.Contact The google contact.
return IEnumerable

Mergeable() public static method

Determines wether the contacts are mergable.
public static Mergeable ( ContactItem outlookContact, Data.Contact googleContact ) : bool
outlookContact ContactItem The outlook contact.
googleContact Data.Contact The google contact.
return bool