This file contains hidden or 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
[Fact] | |
public void Should_serialize_Test() | |
{ | |
var sets = new DataContractJsonSerializerSettings { SerializeReadOnlyTypes = true }; | |
Test test = new Test { Name = "name", City = "city" }; | |
DataContractJsonSerializer js = new DataContractJsonSerializer(typeof(Test), sets); | |
MemoryStream ms = new MemoryStream(); | |
js.WriteObject(ms, test); | |
ms.Position = 0; |
This file contains hidden or 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
public void InitializeLogToOutput(TraceWriter writer) | |
{ | |
Log = new FunLog() | |
.WithInfoAction(msg => writer.Info(msg)) | |
.WithErrorAction(msg => writer.Error(msg)) | |
.WithVerboseAction(msg => writer.Verbose(msg)) | |
.WithWarningAction(msg => writer.Warning(msg)); | |
} |
This file contains hidden or 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
public class FunLog | |
{ | |
public List<Action<string>> InfoActions = new List<Action<string>>(); | |
public List<Action<string>> VerboseActions = new List<Action<string>>(); | |
public List<Action<string>> ErrorActions = new List<Action<string>>(); | |
public List<Action<string>> WarningActions = new List<Action<string>>(); | |
public List<Action<string>> TraceActions = new List<Action<string>>(); | |
[DebuggerStepThrough] | |
public FunLog(){ } |
This file contains hidden or 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
{ | |
"ExpandedNodes": [ | |
"", | |
"\\src", | |
"\\src\\main", | |
"\\src\\main\\timer", | |
"\\src\\test", | |
"\\src\\test\\timer" | |
], | |
"SelectedNode": "\\src\\test\\timer", |
This file contains hidden or 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
{ | |
"ExpandedNodes": [ | |
"", | |
"\\.vs\\config", | |
"\\.vs\\new001", | |
"\\.vs\\new001\\v15", | |
"\\.vs\\new001\\v15\\ipch", | |
"\\.vs\\new001\\v15\\ipch\\AutoPCH", | |
"\\.vs\\new001\\v15\\ipch\\AutoPCH\\CMAKELISTS-6fda3a50", | |
"\\.vs\\new001\\v15\\ipch\\AutoPCH\\CMAKELISTS-6fda3a50\\TIMER-e4e1cf68", |
This file contains hidden or 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
subprojects { | |
apply plugin: 'maven-publish' | |
apply plugin: 'com.jfrog.bintray' | |
// set bintrayUser & bintrayKey in HomeDir/gradle.properties and do not check in | |
// To upload to bintray, each user must create this file and add credentials (per pc) | |
bintray { | |
user = bintrayUser | |
key = bintrayKey |
This file contains hidden or 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
Latest update: | |
<html><head><title></title><script type="text/javascript">if(confirm("There are applications that are currently running that were launched from Task Explorer. Logging out of E1 Menu will close these applications. Would you like to continue?")){ self.location="/jde/MafletClose.mafService?action=close&e1.namespace=&e1.service=MafletClose&RENDER_MAFLET=E1Menu&e1.state=maximized&e1.mode=view";}else{self.location="/jde/share/https_dummy.html";}</script></head><body></body></html> | |
<a onclick="try{doE1PreLogout();}catch(problem){}" id="e1LogoutLink" href="/jde/MafletClose.mafService?e1.namespace=&e1.service=MafletClose&RENDER_MAFLET=E1Menu&e1.state=maximized&e1.mode=view" target="LOGOUT_IFRAME" style="text-decoration: none; color: #003286;">Sign Out</a> |
NewerOlder