-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch serializers to handle internal type
- Loading branch information
Oren Novotny
committed
Nov 20, 2018
1 parent
c4bdbc7
commit c2fcfae
Showing
3 changed files
with
15 additions
and
12 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
6 changes: 4 additions & 2 deletions
6
SingleInstanceHelper/NamedPipeXmlPayload.cs → SingleInstanceHelper/Payload.cs
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 |
---|---|---|
@@ -1,16 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Runtime.Serialization; | ||
using System.Text; | ||
using System.Xml.Serialization; | ||
|
||
namespace SingleInstanceHelper | ||
{ | ||
internal class NamedPipeXmlPayload | ||
[DataContract] | ||
internal class Payload | ||
{ | ||
/// <summary> | ||
/// A list of command line arguments. | ||
/// </summary> | ||
[XmlElement("CommandLineArguments")] | ||
[DataMember] | ||
public List<string> CommandLineArguments { get; set; } = new List<string>(); | ||
} | ||
} |
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