Skip to content

Commit

Permalink
add - Added scaffolding for MeCard generation
Browse files Browse the repository at this point in the history
---

We've added scaffolding for MeCard generation code, which will hopefully be implemented in this version.

---

Type: add
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Apr 2, 2024
1 parent e32627b commit db841aa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion VisualCard/Converters/MeCard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ public static Card[] GetContactsFromMeCardString(string meCardString)
throw new InvalidDataException("The MeCard contact string is not valid.", ex);
}
}


/// <summary>
/// Saves the vCard <see cref="Card"/> instance to a MeCard string for QR code generation
/// </summary>
/// <param name="card">Card instance</param>
/// <returns>a MeCard string</returns>
public static string SaveCardToMeCardString(Card card)
{
// TODO: Scaffolding. Please implment by version 1.0.0.
return "";
}
}
}

0 comments on commit db841aa

Please sign in to comment.