-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RPC-12] Improved argument parsing regarding VCard 4.0
- Loading branch information
Showing
17 changed files
with
41 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -356,11 +356,11 @@ public static class ContactData | |
"John Sanders", | ||
new TelephoneInfo[] | ||
{ | ||
new TelephoneInfo(0, new string[] { "TYPE=cell" }, new string[] { "cell" }, "495-522-3560") | ||
new TelephoneInfo(0, Array.Empty<string>(), new string[] { "cell" }, "495-522-3560") | ||
}, | ||
new AddressInfo[] | ||
{ | ||
new AddressInfo(0, new string[] { "TYPE=home" }, new string[] { "home" }, "", "", "Los Angeles, USA", "", "", "", "") | ||
new AddressInfo(0, Array.Empty<string>(), new string[] { "home" }, "", "", "Los Angeles, USA", "", "", "", "") | ||
}, | ||
new OrganizationInfo[] | ||
{ | ||
|
@@ -374,7 +374,7 @@ public static class ContactData | |
"Note test for VisualCard", | ||
new EmailInfo[] | ||
{ | ||
new EmailInfo(0, new string[] { "TYPE=HOME" }, new string[] { "HOME" }, "[email protected]") | ||
new EmailInfo(0, Array.Empty<string>(), new string[] { "HOME" }, "[email protected]") | ||
}, | ||
new XNameInfo[] | ||
{ | ||
|
@@ -835,15 +835,15 @@ public static class ContactData | |
"Neville Navasquillo", | ||
new TelephoneInfo[] | ||
{ | ||
new TelephoneInfo(0, new string[] { "TYPE=work" }, new string[] { "work" }, "098-765-4321"), | ||
new TelephoneInfo(0, new string[] { "TYPE=cell" }, new string[] { "cell" }, "1-234-567-890"), | ||
new TelephoneInfo(0, new string[] { "TYPE=voice" }, new string[] { "voice" }, "078-494-6434"), | ||
new TelephoneInfo(0, new string[] { "TYPE=home" }, new string[] { "home" }, "348-404-8404"), | ||
new TelephoneInfo(0, Array.Empty<string>(), new string[] { "work" }, "098-765-4321"), | ||
new TelephoneInfo(0, Array.Empty<string>(), new string[] { "cell" }, "1-234-567-890"), | ||
new TelephoneInfo(0, Array.Empty<string>(), new string[] { "voice" }, "078-494-6434"), | ||
new TelephoneInfo(0, Array.Empty<string>(), new string[] { "home" }, "348-404-8404"), | ||
}, | ||
new AddressInfo[] | ||
{ | ||
new AddressInfo(0, new string[] { "TYPE=work" }, new string[] { "work" }, "POBOX", "", "Street Address ExtAddress", "Reg", "Loc", "Postal", "Country"), | ||
new AddressInfo(0, new string[] { "TYPE=home" }, new string[] { "home" }, "", "", "Street Address", "", "", "", ""), | ||
new AddressInfo(0, Array.Empty<string>(), new string[] { "work" }, "POBOX", "", "Street Address ExtAddress", "Reg", "Loc", "Postal", "Country"), | ||
new AddressInfo(0, Array.Empty<string>(), new string[] { "home" }, "", "", "Street Address", "", "", "", ""), | ||
}, | ||
new OrganizationInfo[] | ||
{ | ||
|
@@ -857,8 +857,8 @@ public static class ContactData | |
"Notes", | ||
new EmailInfo[] | ||
{ | ||
new EmailInfo(0, new string[] { "TYPE=HOME" }, new string[] { "HOME" }, "[email protected]"), | ||
new EmailInfo(0, new string[] { "TYPE=WORK" }, new string[] { "WORK" }, "[email protected]"), | ||
new EmailInfo(0, Array.Empty<string>(), new string[] { "HOME" }, "[email protected]"), | ||
new EmailInfo(0, Array.Empty<string>(), new string[] { "WORK" }, "[email protected]"), | ||
}, | ||
new XNameInfo[] | ||
{ | ||
|
@@ -880,9 +880,9 @@ public static class ContactData | |
Array.Empty<SoundInfo>(), | ||
new ImppInfo[] | ||
{ | ||
new ImppInfo(0, new string[] { "TYPE=HOME" }, "aim:IM", new string[] { "HOME" }), | ||
new ImppInfo(0, new string[] { "TYPE=HOME" }, "msn:Windows LIVE", new string[] { "HOME" }), | ||
new ImppInfo(0, new string[] { "TYPE=HOME" }, "ymsgr:Yahoo", new string[] { "HOME" }) | ||
new ImppInfo(0, Array.Empty<string>(), "aim:IM", new string[] { "HOME" }), | ||
new ImppInfo(0, Array.Empty<string>(), "msn:Windows LIVE", new string[] { "HOME" }), | ||
new ImppInfo(0, Array.Empty<string>(), "ymsgr:Yahoo", new string[] { "HOME" }) | ||
} | ||
); | ||
private static readonly Card multipleVcardFourContactsInstanceThree = new | ||
|
@@ -896,11 +896,11 @@ public static class ContactData | |
"Sarah Santos", | ||
new TelephoneInfo[] | ||
{ | ||
new TelephoneInfo(0, new string[] { "TYPE=cell" }, new string[] { "cell" }, "589-210-1059") | ||
new TelephoneInfo(0, Array.Empty<string>(), new string[] { "cell" }, "589-210-1059") | ||
}, | ||
new AddressInfo[] | ||
{ | ||
new AddressInfo(0, new string[] { "TYPE=home" }, new string[] { "home" }, "", "", "New York, USA", "", "", "", "") | ||
new AddressInfo(0, Array.Empty<string>(), new string[] { "home" }, "", "", "New York, USA", "", "", "", "") | ||
}, | ||
new OrganizationInfo[] | ||
{ | ||
|
@@ -914,8 +914,8 @@ public static class ContactData | |
"", | ||
new EmailInfo[] | ||
{ | ||
new EmailInfo(0, new string[] { "TYPE=HOME" }, new string[] { "HOME" }, "[email protected]"), | ||
new EmailInfo(0, new string[] { "TYPE=WORK" }, new string[] { "WORK" }, "[email protected]"), | ||
new EmailInfo(0, Array.Empty<string>(), new string[] { "HOME" }, "[email protected]"), | ||
new EmailInfo(0, Array.Empty<string>(), new string[] { "WORK" }, "[email protected]"), | ||
}, | ||
new XNameInfo[] | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters