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
<?xml version="1.0" encoding="utf-16"?> | |
<?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?> | |
<activity> | |
<entry> | |
<record>1</record> | |
<time>2016/01/23 00:49:03.977</time> | |
<type>Information</type> | |
<source>VisualStudio</source> | |
<description>Microsoft Visual Studio 2015 version: 14.0.24720.0</description> | |
</entry> |
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
<?xml version="1.0" encoding="utf-16"?> | |
<?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?> | |
<activity> | |
<entry> | |
<record>1</record> | |
<time>2016/01/23 00:49:03.977</time> | |
<type>Information</type> | |
<source>VisualStudio</source> | |
<description>Microsoft Visual Studio 2015 version: 14.0.24720.0</description> | |
</entry> |
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
<entry> | |
<record>606</record> | |
<time>2015/06/08 17:21:05.711</time> | |
<type>Error</type> | |
<source>VisualStudio</source> | |
<description>Construction of frame content failed.
Frame identifier: ST:0:0:{31fc2115-5126-4a87-b2f7-77eaab65048b}
Frame caption: 
Exception details:
System.ArgumentNullException: 
Parameter name: protocolHandler
 at Microsoft.XamlDiagnostics.UI.LivePropertyExplorer.Model.PropertyExplorerModel..ctor(IProtocolHandler protocolHandler, IActiveElementTracker tracker, ITelemetryLogger telemetryLogger)
 at Microsoft.XamlDiagnostics.Model.XamlDiagnosticsTool.GetPropertyExplorerModel(IServiceProvider serviceProvider)
 at Microsoft.XamlDiagnostics.Model.XamlDiagnosticsTool.CreatePropertyExplorer(IServiceProvider serviceProvider, ResourceDictionary themeDictionary, UIElement searchContentControl)
 at Microsoft.VisualStudio.ClientDiagnostics.XamlDiagnostics |
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
public class Company { | |
public event EventHandler<LookForEventArgs> LookForPeople; | |
public string Name { get; set; } | |
public List<Person> Employees { get; set; } | |
public Company(string name) { | |
Name = name; | |
} |
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
public static IList<Obj> SelectListFor<T>() | |
{ | |
Type enumType = typeof(T); | |
if (enumType.IsEnum) | |
{ | |
return Enum.GetValues(enumType) | |
.Cast<int>() | |
.Where(i => !i.Equals(0)) | |
.Select(e => new Obj() |
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
void Main() | |
{ | |
var x = new Utils("test"); | |
} | |
public class Utils | |
{ | |
public static object InvokeAndCatchError(Delegate del, object parameters, params object[] optionalParameters) | |
{ | |
try |
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
import java.util.*; | |
public class StartUp{ | |
public static void main(String []args){ | |
List<MyObject> list = new ArrayList<>(); | |
list.add(new MyObject("abc")); | |
list.add(new MyObject("def")); | |
list.add(new MyObject("ghi")); | |
for(int i = 0; i < list.size(); i++) |
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
static void Main(string[] args) | |
{ | |
const string source = @" | |
using System; | |
class MyClass | |
{ | |
void Method() | |
{ | |
var a = new MyClass(); |
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
\lstnewenvironment{code}[1][]% | |
{ | |
\noindent | |
\minipage{\linewidth} | |
\vspace{0.5\baselineskip} | |
\lstset{style=csharp,#1}} | |
{\endminipage} | |
\lstdefinestyle{csharp}{ | |
language=[sharp]C, |
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
var gulp = require('gulp'); | |
var open = require('gulp-open'); | |
var del = require('del'); | |
var minifyHtml = require('gulp-minify-html'); | |
var minifyCss = require('gulp-minify-css'); | |
var minifyJs = require('gulp-uglify'); | |
var ngAnnotate = require('gulp-ng-annotate'); | |
var jshint = require('gulp-jshint'); | |
var imagemin = require('gulp-imagemin'); | |
var size = require('gulp-size'); |