commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
5d571a0c7bcfbc4ec022f09b7ae7f885b5e59a0c | Change field and variable names from context to handle | Archie-Yang/PcscDotNet | src/PcscDotNet/PcscContext.cs | src/PcscDotNet/PcscContext.cs | using System;
namespace PcscDotNet
{
public class PcscContext : IDisposable
{
private SCardContext _handle;
private readonly Pcsc _pcsc;
private readonly IPcscProvider _provider;
public bool IsDisposed { get; private set; } = false;
public bool IsEstablished => _hand... | using System;
namespace PcscDotNet
{
public class PcscContext : IDisposable
{
private SCardContext _context;
private readonly Pcsc _pcsc;
private readonly IPcscProvider _provider;
public bool IsDisposed { get; private set; } = false;
public bool IsEstablished => _con... | mit | C# |
a445ab4af3a5a4dcc37dadbd666d76b3e3c73eb8 | comment the codes | chjwilliams/DreamTeam | DreamTeam/Assets/Resources/Scripts/GameWorld/GameManager.cs | DreamTeam/Assets/Resources/Scripts/GameWorld/GameManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/***************************************************************************************************/
/* Gamemanager: control camera switch */
/* start(); ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour {
public static GameManager gm;
public GameObject firstPersonCamera;
public GameObject thirdPersonCamera;
public bool thirdPersonActive;
// Use this for initialization
void Start () {
if... | unlicense | C# |
a0f980874d96fc528d157e762b91ed189937a994 | Fix object construction. | darvell/Coremero | Coremero/Coremero.Client.Discord/DiscordObjectFactory.cs | Coremero/Coremero.Client.Discord/DiscordObjectFactory.cs | using System;
using System.Collections.Generic;
using System.Text;
using Discord;
namespace Coremero.Client.Discord
{
public class DiscordObjectFactory<TSource, TTarget> where TSource : ISnowflakeEntity
{
private Dictionary<ulong, TTarget> _cache = new Dictionary<ulong, TTarget>();
public TTa... | using System;
using System.Collections.Generic;
using System.Text;
using Discord;
namespace Coremero.Client.Discord
{
public class DiscordObjectFactory<TSource, TTarget> where TSource : ISnowflakeEntity
{
private Dictionary<ulong, TTarget> _cache = new Dictionary<ulong, TTarget>();
public TTa... | mit | C# |
2f16b448ea8619ea6ea8d34231ff94f040702e53 | Set beatLength inline | UselessToucan/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu | osu.Game/Beatmaps/ControlPoints/TimingControlPoint.cs | osu.Game/Beatmaps/ControlPoints/TimingControlPoint.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Beatmaps.Timing;
namespace osu.Game.Beatmaps.ControlPoints
{
public class TimingControlPoint : ControlPoint
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Beatmaps.Timing;
namespace osu.Game.Beatmaps.ControlPoints
{
public class TimingControlPoint : ControlPoint
{
... | mit | C# |
5c3141d16afd3a4091e42ed4f1906a58d1d6fba4 | Fix ready button tooltip showing when locally available | peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu | osu.Game/Screens/OnlinePlay/Components/ReadyButton.cs | osu.Game/Screens/OnlinePlay/Components/ReadyButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterfac... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterfac... | mit | C# |
2b8e8f2dc4a20d242a1f6526ce3a8ef4bade2c73 | Add conversion from CIE1931XYZ to SRGB | Litipk/ColorSharp,Litipk/ColorSharp | ColorSharp/src/CIEXYZ.cs | ColorSharp/src/CIEXYZ.cs | /**
* The MIT License (MIT)
* Copyright (c) 2014 Andrés Correa Casablanca
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the right... | /**
* The MIT License (MIT)
* Copyright (c) 2014 Andrés Correa Casablanca
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the right... | mit | C# |
e0ad435fce928da558a967a4276e9794898f0d65 | delete a line | ravjotsingh9/DBLike | DBLike/Server/Program.cs | DBLike/Server/Program.cs | using Server.DatabaseAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Server
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
... | using Server.DatabaseAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Server
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
... | apache-2.0 | C# |
3f83411293212ba1ea40bd7062ecbf321e0a4cfa | Update Program.cs | natintosh/Numerical-Methods | NumericalMethods/LUDecomposition/LUDecomposition/Program.cs | NumericalMethods/LUDecomposition/LUDecomposition/Program.cs | using System;
namespace LUDecomposition
{
class MainClass:NumericalMethods
{
public static void Main()
{
Double[,] linearEquation = {
{ 25, 5, 1, 106.8 },
{ 64, 8, 1, 177.2 },
{ 144, 12, 1, 292.2 } };
Decompostion decomposition = new Decompostion(matrix);
... | using System;
namespace LUDecomposition
{
class MainClass:NumericalMethods
{
public static void Main()
{
Double[,] matrix = { { 1, 2, 1, 4 }, { 3, -4, -2, 2 }, { 5, 3, 5, -1 } };
Decompostion decomposition = new Decompostion(matrix);
decomposition.Decompose(... | mit | C# |
5922db73e4c64ec422fd312b2108aaf83fe6da53 | Update FastBinaryBondDeserializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/FastBinaryBondDeserializer.cs | TIKSN.Core/Serialization/Bond/FastBinaryBondDeserializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class FastBinaryBondDeserializer : DeserializerBase<byte[]>
{
protected override T DeserializeInternal<T>(byte[] serial)
{
var input = new InputBuffer(serial);
var reader = new FastBin... | using Bond.IO.Safe;
using Bond.Protocols;
using TIKSN.Analytics.Telemetry;
namespace TIKSN.Serialization.Bond
{
public class FastBinaryBondDeserializer : DeserializerBase<byte[]>
{
public FastBinaryBondDeserializer(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter)
{
}
... | mit | C# |
154d80de359fa2800a67932c50743734d5131cd0 | Update Program.cs | egcgy/demo1 | Hello1/Hello1/Program.cs | Hello1/Hello1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hello1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!!");
Console.WriteLine("Added on the server");
Console.ReadLine();
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hello1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!!");
Console.ReadLine();
}
}
}
| mit | C# |
f48f0278ea4ca109a49628edacd5f6d288381ab0 | implement writing of DoInitActionTag | Alexx999/SwfSharp | SwfSharp/Tags/DoInitActionTag.cs | SwfSharp/Tags/DoInitActionTag.cs | using System;
using System.Collections.Generic;
using System.IO;
using SwfSharp.Structs;
using SwfSharp.Utils;
namespace SwfSharp.Tags
{
public class DoInitActionTag : DoActionTag
{
public ushort SpriteID { get; set; }
public DoInitActionTag(int size)
: base(TagType.DoInitAction, ... | using System.Collections.Generic;
using System.IO;
using SwfSharp.Structs;
using SwfSharp.Utils;
namespace SwfSharp.Tags
{
public class DoInitActionTag : DoActionTag
{
public ushort SpriteID { get; set; }
public DoInitActionTag(int size)
: base(TagType.DoInitAction, size)
... | mit | C# |
e81967e2d89d398b0813687f68b6fa2ed5d01262 | Make TreeWalkForGitDir() delegate to LibGit2Sharp | Kantis/GitVersion,dpurge/GitVersion,dpurge/GitVersion,TomGillen/GitVersion,ermshiperete/GitVersion,ParticularLabs/GitVersion,Philo/GitVersion,DanielRose/GitVersion,JakeGinnivan/GitVersion,Philo/GitVersion,orjan/GitVersion,GeertvanHorrik/GitVersion,JakeGinnivan/GitVersion,asbjornu/GitVersion,ParticularLabs/GitVersion,Fi... | GitFlowVersion/GitDirFinder.cs | GitFlowVersion/GitDirFinder.cs | namespace GitFlowVersion
{
using System.IO;
using LibGit2Sharp;
public class GitDirFinder
{
public static string TreeWalkForGitDir(string currentDirectory)
{
string gitDir = Repository.Discover(currentDirectory);
if (gitDir != null)
{
... | namespace GitFlowVersion
{
using System.IO;
public class GitDirFinder
{
public static string TreeWalkForGitDir(string currentDirectory)
{
while (true)
{
var gitDir = Path.Combine(currentDirectory, @".git");
if (Directory.Exists(gitDi... | mit | C# |
0da00521a99ae13522697d5fd58f9200c753b9a5 | Remove extra TypeForward from facade to fix ConfiguredTaskAwaiter (#6899) | mskvortsov/coreclr,krytarowski/coreclr,bartdesmet/coreclr,russellhadley/coreclr,alexperovich/coreclr,krytarowski/coreclr,neurospeech/coreclr,krytarowski/coreclr,jamesqo/coreclr,krk/coreclr,mmitche/coreclr,AlexGhiondea/coreclr,Dmitry-Me/coreclr,James-Ko/coreclr,hseok-oh/coreclr,YongseopKim/coreclr,neurospeech/coreclr,pg... | src/mscorlib/facade/TypeForwards.cs | src/mscorlib/facade/TypeForwards.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.CompilerServices;
#if WINDOWS_TYPEFORWARDS
[assembly: TypeForwardedTo(typeof(System.Threading.... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.CompilerServices;
#if WINDOWS_TYPEFORWARDS
[assembly: TypeForwardedTo(typeof(System.Threading.... | mit | C# |
e562c5193d591042c02c7eed9c8663ebd3574cf7 | prepare for 1.3.0 release | jordanbtucker/im-only-resting,codemonkey493/im-only-resting,nathanwblair/im-only-resting,jordanbtucker/im-only-resting,SwensenSoftware/im-only-resting,ItsAGeekThing/im-only-resting,abhinavwaviz/im-only-resting,MrZANE42/im-only-resting,stephen-swensen/im-only-resting,codemonkey493/im-only-resting,nathanwblair/im-only-re... | Ior/Properties/AssemblyInfo.cs | Ior/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("I'm Only Resting")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("I'm Only Resting")]
[assembly: Ass... | apache-2.0 | C# |
ef35fb9e7d67493947615354c539113c4cb90e12 | Use mousedown position for instantaneous feedback | ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Containers/DrawableRearrangeableListItem.cs | osu.Framework/Graphics/Containers/DrawableRearrangeableListItem.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Input.Events;
using osuTK;
namespace osu.Framework.Graphics.Containers
{
public abstract class DrawableRearrangeableListItem<TModel... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Input.Events;
using osuTK;
namespace osu.Framework.Graphics.Containers
{
public abstract class DrawableRearrangeableListItem<TModel... | mit | C# |
060ea24bf3ff0b5af6f36388ee87429b052b09fe | Fix filepath | Kerbas-ad-astra/CapCom,DMagic1/CapCom | Source/CapComSettings.cs | Source/CapComSettings.cs | #region license
/*The MIT License (MIT)
CapComSettings - Serializable object to store configuration options in an external file
Copyright (c) 2015 DMagic
KSP Plugin Framework by TriggerAu, 2014: http://forum.kerbalspaceprogram.com/threads/66503-KSP-Plugin-Framework
Permission is hereby granted, free of charge, to a... | #region license
/*The MIT License (MIT)
CapComSettings - Serializable object to store configuration options in an external file
Copyright (c) 2015 DMagic
KSP Plugin Framework by TriggerAu, 2014: http://forum.kerbalspaceprogram.com/threads/66503-KSP-Plugin-Framework
Permission is hereby granted, free of charge, to a... | mit | C# |
c6b492b428decf889d82241023ebd96232423ff4 | Update Bitmap.cs | Meragon/Unity-WinForms | System/Drawing/Bitmap.cs | System/Drawing/Bitmap.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Drawing
{
[Serializable]
public class Bitmap : Image
{
public static implicit operator UnityEngine.Texture2D(Bitmap image)
{
if (image == null) return null;
return... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Drawing
{
[Serializable]
public class Bitmap : Image
{
public static implicit operator UnityEngine.Texture2D(Bitmap image)
{
if (image == null) return null;
return... | mit | C# |
988370dc7af6bf80303334bd19e16019d244e437 | remove prod profiling, fow now | jdaigle/FriendsOfDT,jdaigle/FriendsOfDT,jdaigle/FriendsOfDT,jdaigle/FriendsOfDT | src/FODT/Global.asax.cs | src/FODT/Global.asax.cs | using StackExchange.Profiling;
namespace FODT
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
Startup.ApplicationStart();
}
protected void Application_BeginRequest()
{
#if DEBUG
Min... | using StackExchange.Profiling;
namespace FODT
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
Startup.ApplicationStart();
}
protected void Application_BeginRequest()
{
MiniProfiler.S... | mit | C# |
b5a587fbbf5a80b0d5edf5393a80e7fbec4b5707 | Update Program.cs | jbtule/keyczar-dotnet | Keyczar/KeyczarTool/Program.cs | Keyczar/KeyczarTool/Program.cs | // Copyright 2012 James Tuley (jay+code@tuley.name)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | // Copyright 2012 James Tuley (jay+code@tuley.name)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | apache-2.0 | C# |
cbe4071bae8dbc46b2c62c31d87eca265f865516 | Set version to 0.3. | strayfatty/ShowFeed,strayfatty/ShowFeed | src/ShowFeed/Properties/AssemblyInfo.cs | src/ShowFeed/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sh... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sh... | mit | C# |
1aa57c8993530122d351f012de11fd77cba85692 | use less words in footer | kreeben/resin,kreeben/resin | src/Sir.HttpServer/Views/_Layout.cshtml | src/Sir.HttpServer/Views/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="/css/theme.css">
</head>
<body>
<a href="/" title="Go.go! v0.3a"><h1 class="logo">Go<span class="sub">■</span>g... | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="/css/theme.css">
</head>
<body>
<a href="/" title="Go.go! v0.3a"><h1 class="logo">Go<span class="sub">■</span>g... | mit | C# |
c3258ad402d1f6289a52361cf82ece239ba709c6 | Update index.cshtml | Wyamio/Wyam.Web,dodyg/Wyam.Web,ibebbs/Wyam.Web,ibebbs/Wyam.Web,Wyamio/Wyam.Web,tareq-s/Wyam.Web,tareq-s/Wyam.Web | Input/index.cshtml | Input/index.cshtml | Title: Introduction
---
<p class="lead"><strong>Wyam is different.</strong> It's not a Jekyll clone (not that there's anything wrong with that) and it's not designed around blogs (though it's great at those too). Wyam is a static <em>content</em> generator and can be used to generate web sites, produce documentation, c... | Title: Introduction
---
<p class="lead">Wyam is different. It's not a Jekyll clone (not that there's anything wrong with that). Wyam is a static *content* generator. It's not limited to blogs (though it's good at those too) and can be used to generate web sites, produce documentation, create ebooks, and much more. Sinc... | mit | C# |
6894ddee179f40d14a2b1446afd522216f4073aa | Update TintedImageRenderer.cs | shrutinambiar/xamarin-forms-tinted-image | src/Plugin.CrossPlatformTintedImage.Android/TintedImageRenderer.cs | src/Plugin.CrossPlatformTintedImage.Android/TintedImageRenderer.cs | using System;
using Android.Views;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Android.Graphics;
using System.ComponentModel;
using Plugin.CrossPlatformTintedImage.Android;
using Plugin.CrossPlatformTintedImage.Abstractions;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(T... | using System;
using Android.Views;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Android.Graphics;
using System.ComponentModel;
using Plugin.CrossPlatformTintedImage.Android;
using Plugin.CrossPlatformTintedImage.Abstractions;
[assembly:ExportRendererAttribute(typeof(TintedImage), typeof(TintedImag... | mit | C# |
715839ec1eca2c40dc74758080032c727df13c50 | Update formWrangler.cshtml | mcmullengreg/formWrangler | formWrangler.cshtml | formWrangler.cshtml | @inherits umbraco.MacroEngines.DynamicNodeContext
@{
if ( String.IsNullOrEmpty(@Parameter.mediaFolder) ) {
<div><p>A folder has not been selected</p></div>
}
var folder = Parameter.mediaFolder;
var media = Model.MediaById(folder);
}
@helper traverse(dynamic node) {
var cc = node.Children;
if (cc.Count()>0) ... | @inherits umbraco.MacroEngines.DynamicNodeContext
@{
if ( String.IsNullOrEmpty(@Parameter.mediaFolder) ) {
<div><p>A folder has not been selected</p></div>
}
var folder = Parameter.mediaFolder;
var media = Model.MediaById(folder);
}
@helper traverse(dynamic node) {
var cc = node.Children;
if (cc.Count()>0) ... | mit | C# |
c74f9d2578f0ef50207e03d54d8b465d8b6f02a6 | Update header | Iluvatar82/helix-toolkit,chrkon/helix-toolkit,helix-toolkit/helix-toolkit,JeremyAnsel/helix-toolkit,holance/helix-toolkit | Source/HelixToolkit.Wpf.Tests/Visual3Ds/Text/BillboardTextVisual3DTests.cs | Source/HelixToolkit.Wpf.Tests/Visual3Ds/Text/BillboardTextVisual3DTests.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BillboardTextVisual3DTests.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// -----------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CubeVisual3DTests.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// --------------------------------------------------------------... | mit | C# |
8d528f631fbb4888b8c7c8d2fde25ca492d39562 | Use JAVA_HOME and SIKULI_HOME environment variables | christianrondeau/SikuliSharp,christianrondeau/SikuliSharp | SikuliSharp/SikuliExec.cs | SikuliSharp/SikuliExec.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace SikuliSharp
{
public interface ISikuliExec
{
string ExecuteProject(string projectPath);
}
public class SikuliExec : ISikuliExec
{
public string ExecuteProject(string projectPath)
{
var javaHome = GetPathEnvironmentVari... | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace SikuliSharp
{
public interface ISikuliExec
{
string ExecuteProject(string projectPath);
}
public class SikuliExec : ISikuliExec
{
public string ExecuteProject(string projectPath)
{
//TODO: Check for JAVA_HOME, java in... | mit | C# |
b982e29f72d9449ccb2aa0d34ad72579643776c0 | Fix spelling issue | SixLabors/Fonts | src/SixLabors.Fonts/Glyph.cs | src/SixLabors.Fonts/Glyph.cs | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
namespace SixLabors.Fonts
{
/// <summary>
/// A glyph from a particular font face.
/// </summary>
public readonly struct Glyph
{
private readonly float pointSize;
internal Glyph(... | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
namespace SixLabors.Fonts
{
/// <summary>
/// A glyph from a particular font face.
/// </summary>
public readonly struct Glyph
{
private readonly float pointSize;
internal Glyph(... | apache-2.0 | C# |
4cb2c4b494ab229fe81c8032ee530ea69bd4abf0 | Support both landscape and portrait mode | ppy/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,smoogipooo/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,ZLima12/osu,smo... | osu.Android/OsuGameActivity.cs | osu.Android/OsuGameActivity.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | mit | C# |
f92c62877049f68e340627a345fad04f39b4fd29 | Add ability to set width and height when setting the image | kswoll/WootzJs,x335/WootzJs,x335/WootzJs,kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs | WootzJs.Mvc/Mvc/Views/Image.cs | WootzJs.Mvc/Mvc/Views/Image.cs | using WootzJs.Mvc.Mvc.Views.Css;
using WootzJs.Web;
namespace WootzJs.Mvc.Mvc.Views
{
public class Image : InlineControl
{
public Image()
{
}
public Image(string source, int? width = null, int? height = null)
{
Source = source;
if (width != null... | using WootzJs.Mvc.Mvc.Views.Css;
using WootzJs.Web;
namespace WootzJs.Mvc.Mvc.Views
{
public class Image : InlineControl
{
public Image()
{
}
public Image(string source)
{
Source = source;
}
public Image(string defaultSource, string highlig... | mit | C# |
a003b6e12ca34e59b75d2843e3df910bc3e4a7e9 | Increment version | R-Smith/vmPing | vmPing/Properties/AssemblyInfo.cs | vmPing/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
b7b57ea98dedbb9fcc3c95426c790a0425cbf174 | Fix link title on footer. (#220) | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/_Footer.cshtml | input/_Footer.cshtml | <div class="container bottom-footer">
<div class="col-lg-10 col-sm-10 col-xs-12">
<ul class="list-inline">
<li class="list-inline-item">
<a href="/team" target="_blank">Team</a>
</li>
<li class="list-inline-item">
<a href="/sponsorship" target="_b... | <div class="container bottom-footer">
<div class="col-lg-10 col-sm-10 col-xs-12">
<ul class="list-inline">
<li class="list-inline-item">
<a href="/team" target="_blank">Branding</a>
</li>
<li class="list-inline-item">
<a href="/sponsorship" target... | mit | C# |
1270578e11c5625a98f484bbe09a5872819eb828 | Update Test.cs | hesham8/Rotten-Tomatoes,hesham8/Rotten-Tomatoes | RT.UITests/Test.cs | RT.UITests/Test.cs | using System;
using NUnit.Framework;
using System.Reflection;
using System.IO;
using Xamarin.UITest.iOS;
using Xamarin.UITest;
using Xamarin.UITest.Queries;
using System.Linq;
namespace RT.UITests
{
[TestFixture ()]
public class Test
{
iOSApp _app;
public string PathToIPA { get; set; }
[TestFixtureSetUp]... | using System;
using NUnit.Framework;
using System.Reflection;
using System.IO;
using Xamarin.UITest.iOS;
using Xamarin.UITest;
using Xamarin.UITest.Queries;
using System.Linq;
namespace RT.UITests
{
[TestFixture ()]
public class Test
{
iOSApp _app;
public string PathToIPA { get; set; }
[TestFixtureSetUp]... | mit | C# |
d2f1d4c6dae98a3d0defca930857b5625c7aa982 | create less garbage | dmanning23/AverageBuddy | Source/Averager.cs | Source/Averager.cs | using System.Collections.Generic;
using Microsoft.CSharp;
using System;
namespace AverageBuddy
{
/// <summary>
/// Template class to help calculate the average value of a history of values.
/// This can only be used with types that have a 'zero' and that have the += and / operators overloaded.
/// Example: Used t... | using System.Collections.Generic;
using Microsoft.CSharp;
using System;
namespace AverageBuddy
{
/// <summary>
/// Template class to help calculate the average value of a history of values.
/// This can only be used with types that have a 'zero' and that have the += and / operators overloaded.
/// Example: Used t... | mit | C# |
86f8cbd2567a2c1a6680525512d360dce74430d6 | Bump version to 0.10.5 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
d8c8922c65ea85352a73d1d0bab4abc8273fc3c3 | switch to [FromBody] binding on create casual | MassDebaters/DebateApp,MassDebaters/DebateApp,MassDebaters/DebateApp | DebateAppDomain/DebateAppDomainAPI/Controllers/DebatesController.cs | DebateAppDomain/DebateAppDomainAPI/Controllers/DebatesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using DebateAppDomainAPI.Models;
using DebateApp.Domain;
using System.Net.Http;
namespace DebateAppDomainAPI.Controllers
{
[Produces("application/json")]
[Route("api/[controller]/[a... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using DebateAppDomainAPI.Models;
using DebateApp.Domain;
using System.Net.Http;
namespace DebateAppDomainAPI.Controllers
{
[Produces("application/json")]
[Route("api/[controller]/[a... | mit | C# |
5853cb11cc4fda68fb34a30355f8b9469eff9f28 | Call signalr hub base method in case of exception in user codes of signalr hub events class | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | Foundation/Server/Foundation.Api/Middlewares/Signalr/MessagesHub.cs | Foundation/Server/Foundation.Api/Middlewares/Signalr/MessagesHub.cs | using System.Threading.Tasks;
using Microsoft.AspNet.SignalR;
using Microsoft.Owin;
using Foundation.Api.Middlewares.SignalR.Contracts;
namespace Foundation.Api.Middlewares.SignalR
{
public class MessagesHub : Hub
{
public override async Task OnConnected()
{
try
{
... | using System.Threading.Tasks;
using Microsoft.AspNet.SignalR;
using Microsoft.Owin;
using Foundation.Api.Middlewares.SignalR.Contracts;
namespace Foundation.Api.Middlewares.SignalR
{
public class MessagesHub : Hub
{
public override async Task OnConnected()
{
IOwinContext context = ... | mit | C# |
df6b0a45533d54133055f7997c6157607179c0dc | Use absolute path on linux | Mako88/dxx-tracker | RebirthTracker/RebirthTracker/Configuration.cs | RebirthTracker/RebirthTracker/Configuration.cs | using System.Runtime.InteropServices;
namespace RebirthTracker
{
/// <summary>
/// Class to keep track of OS-specific configuration settings
/// </summary>
public static class Configuration
{
/// <summary>
/// Get the folder where files should be stored
/// </summary>
... | using System.Runtime.InteropServices;
namespace RebirthTracker
{
/// <summary>
/// Class to keep track of OS-specific configuration settings
/// </summary>
public static class Configuration
{
/// <summary>
/// Get the folder where files should be stored
/// </summary>
... | mit | C# |
c86284f91375ead674e3f0dfc8e5f390e744cd49 | Edit sub tweak | bergthor13/Skermstafir,bergthor13/Skermstafir,bergthor13/Skermstafir | Skermstafir/Views/Subtitle/EditSubtitle.cshtml | Skermstafir/Views/Subtitle/EditSubtitle.cshtml | @model Skermstafir.Models.SubtitleModel
@{
ViewBag.Title = "Edit Subtitle";
}
<div class="subtitle-box">
<div class="box-title">
<p>Gladiator</p>
<p class="votes-req-page">▲ 15</p>
</div>
<div class="flokkar disabled">
<input type="checkbox" id="genre1" />
<la... | @model Skermstafir.Models.SubtitleModel
@{
ViewBag.Title = "Edit Subtitle";
}
<div class="subtitle-box">
<div class="box-title">
<p>Gladiator</p>
<p class="votes-req-page">▲ 15</p>
</div>
<div class="flokkar disabled">
<input type="checkbox" id="genre1" />
... | mit | C# |
c25ae87a8f441ff8b47e3fa21c0af6c72dbf4267 | Update version from 1.2 to 1.3 | Spryng/SpryngApiHttpDotNet | SpryngApiHttpDotNet/Properties/AssemblyInfo.cs | SpryngApiHttpDotNet/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sp... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sp... | bsd-2-clause | C# |
6eff86952190b0a6042183606a450f68e0084d5a | Update comment | wvdd007/roslyn,KevinRansom/roslyn,weltkante/roslyn,physhi/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,eriawan/roslyn,mavasani/roslyn,dotnet/roslyn,eriawan/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,physhi/r... | src/VisualStudio/Core/Def/Storage/VisualStudioCloudCacheServiceProvider.cs | src/VisualStudio/Core/Def/Storage/VisualStudioCloudCacheServiceProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeA... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeA... | mit | C# |
098f86e0adf92ccaf0430ce5f3e1aea6142980df | Improve exception message | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Extensions/ExceptionExtensions.cs | WalletWasabi/Extensions/ExceptionExtensions.cs | using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using WalletWasabi.Helpers;
using WalletWasabi.Hwi.Exceptions;
namespace System
{
public static class ExceptionExtensions
{
public static string ToTypeMessageString(this Exception ex)
{
var trimmed = Guard.Correct(ex.Message);
if ... | using System.Collections.Generic;
using System.Net.Http;
using WalletWasabi.Helpers;
namespace System
{
public static class ExceptionExtensions
{
public static string ToTypeMessageString(this Exception ex)
{
var trimmed = Guard.Correct(ex.Message);
return trimmed == ""
? ex.GetType().Name
: $"{ex.G... | mit | C# |
76e7b77248d612f68c7da881b0401c0c03fccff3 | Fix template. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | backend/src/Squidex.Domain.Apps.Entities/Apps/Commands/CreateApp.cs | backend/src/Squidex.Domain.Apps.Entities/Apps/Commands/CreateApp.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | mit | C# |
5809732441d75b39f6ca6fc26c10c04e5de501a1 | Create a TODO to revert the locking code. | SludgeVohaul/P2EApp | P2E.Services/UserCredentialsService.cs | P2E.Services/UserCredentialsService.cs | using System;
using System.Text;
using P2E.Interfaces.Services;
namespace P2E.Services
{
public class UserCredentialsService : IUserCredentialsService
{
// TODO - revert that stuipd locking idea and introduce a Credentials class instead.
// Syncs console output/input between instance so that ... | using System;
using System.Text;
using P2E.Interfaces.Services;
namespace P2E.Services
{
public class UserCredentialsService : IUserCredentialsService
{
// Syncs console output/input between instance so that only one
// instance can request user credentials at any time.
private static... | bsd-2-clause | C# |
e17beb0ff57aa2b008ef22038245d6a11f33bd76 | Update ScienceData.cs | Anatid/XML-Documentation-for-the-KSP-API | src/ScienceData.cs | src/ScienceData.cs | using System;
/// <summary>
/// Class containing information on science reports, stored in the persistent file in modules using IScienceDataContainer.
/// </summary>
public class ScienceData : IConfigNode
{
/// <summary>
/// Amount of data, in mits, to be transmitted or recovered. Affects transmission time and... | #region Assembly Assembly-CSharp.dll, v2.0.50727
// C:\Users\David\Documents\Visual Studio 2010\Projects\KSP Science\KSP DEV\Kerbal Space Program\KSP_Data\Managed\Assembly-CSharp.dll
#endregion
using System;
/// <summary>
/// Class containing information on science reports, stored in the persistent file in modules u... | unlicense | C# |
94bd54b18d9b294fac734049f31ab81493993477 | Add duration as statistical value for blocks in TeamCity | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/BuildServers/TeamCityOutputSink.cs | source/Nuke.Common/BuildServers/TeamCityOutputSink.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.OutputSinks;
using Nuke.Common.Utiliti... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.OutputSinks;
using Nuke.Common.Utilities;
namespace Nuke.Common... | mit | C# |
2d39bdd3e04978047b87ddf9c9ab49d5e69b3fdb | simplify IS_INLINE_INTEGRATION_TEST_ACTIVE | Fody/Fody,GeertvanHorrik/Fody | SampleTarget/WeaverIntegrationTests.cs | SampleTarget/WeaverIntegrationTests.cs | #if IS_INLINE_INTEGRATION_TEST_ACTIVE
// only test if environment variable MSBUILDDISABLENODERESUSE is set to 1";
using System;
using System.Globalization;
using System.IO;
using Xunit;
[assembly: SampleWeaver.Sample]
namespace SampleTarget
{
using JetBrains.Annotations;
public class WeaverIntegrationTests
... | using System;
using System.Globalization;
using System.IO;
using Xunit;
[assembly: SampleWeaver.Sample]
namespace SampleTarget
{
using JetBrains.Annotations;
public class WeaverIntegrationTests
{
#if IS_INLINE_INTEGRATION_TEST_ACTIVE
private const string skipReason = null;
#else
private ... | mit | C# |
b462035809bc81728115de3a45f159b0e040d48c | refactor update course command | StanJav/language-ext,louthy/language-ext,StefanBertels/language-ext | Samples/Contoso/Contoso.Application/Courses/Commands/UpdateCourseHandler.cs | Samples/Contoso/Contoso.Application/Courses/Commands/UpdateCourseHandler.cs | using System.Threading;
using System.Threading.Tasks;
using Contoso.Application.Departments.Queries;
using Contoso.Core;
using Contoso.Core.Domain;
using Contoso.Core.Interfaces.Repositories;
using LanguageExt;
using MediatR;
using static Contoso.Validators;
using static LanguageExt.Prelude;
namespace Contoso.Applica... | using System.Threading;
using System.Threading.Tasks;
using Contoso.Application.Departments.Queries;
using Contoso.Core;
using Contoso.Core.Domain;
using Contoso.Core.Interfaces.Repositories;
using LanguageExt;
using MediatR;
using static Contoso.Validators;
using static LanguageExt.Prelude;
namespace Contoso.Applica... | mit | C# |
f6c7518e16d8d2b3e65681e4a2543be712adb56c | Increment to v1.1.0.1 | austins/PasswordHasher | PasswordHasher/Properties/AssemblyInfo.cs | PasswordHasher/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Password Hasher")]
[assembly:
Assemb... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Password Hasher")]
[assembly:
Assemb... | apache-2.0 | C# |
2df3404651bf117dcb0e42b64942e416b4d2e168 | Bump version | dylanplecki/BasicOidcAuthentication,joelnet/KeycloakOwinAuthentication,dylanplecki/KeycloakOwinAuthentication | src/Owin.Security.Keycloak/Properties/AssemblyInfo.cs | src/Owin.Security.Keycloak/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Keycloak OWIN Authentication")]
[assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ke... | mit | C# |
03b479081d4cbae470df7e8bbd9ea2ab5f30ff4d | Improve test helpers | leotsarev/hardcode-analyzer | Tsarev.Analyzer.Helpers/TypeHelpers.cs | Tsarev.Analyzer.Helpers/TypeHelpers.cs | using JetBrains.Annotations;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Tsarev.Analyzer.Helpers
{
/// <summary>
/// Collection of useful helpers related to types
/// </summary>
public static class TypeHelpers
{
/// <summar... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Tsarev.Analyzer.Helpers
{
/// <summary>
/// Collection of useful helpers related to types
/// </summary>
public static class TypeHelpers
{
/// <summary>
/// Determines if som... | mit | C# |
bf70d9e8d6e6f99c3434004b5de4e63aa6840fa0 | Make it easier to depend on ArticyEditorModule (#57) | ArticySoftware/ArticyImporterForUnreal,ArticySoftware/ArticyImporterForUnreal,ArticySoftware/ArticyImporterForUnreal | Source/ArticyEditor/ArticyEditor.Build.cs | Source/ArticyEditor/ArticyEditor.Build.cs | //
// Copyright (c) articy Software GmbH & Co. KG. All rights reserved.
//
using UnrealBuildTool;
public class ArticyEditor : ModuleRules
{
public ArticyEditor(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
OptimizeCode = CodeOptimization.Never;
PublicInclu... | //
// Copyright (c) articy Software GmbH & Co. KG. All rights reserved.
//
using UnrealBuildTool;
public class ArticyEditor : ModuleRules
{
public ArticyEditor(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
OptimizeCode = CodeOptimization.Never;
PublicInclu... | mit | C# |
8849134b3700576deb664b6a074a5d4320d59330 | add CBToolClass | CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity,CloudBreadProject/CloudBread-Client-Unity | Assets/Scripts/CloudBread/CBTools.cs | Assets/Scripts/CloudBread/CBTools.cs | using System;
using System.Text;
namespace AssemblyCSharp
{
public class CBTools
{
public CBTools ()
{
}
public static string encoding(string jsonString){
// utf-8 인코딩
byte [] bytesForEncoding = Encoding.UTF8.GetBytes ( jsonString ) ;
string encodedString = Convert.ToBase64String (bytesForEncoding... | using System;
namespace AssemblyCSharp
{
public class CBTools
{
public CBTools ()
{
}
}
}
| mit | C# |
14f91fcf031c74441546599cf3946c41cfa89fda | Fix typo in IMarkupFormatter.cs | AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp | src/AngleSharp/IMarkupFormatter.cs | src/AngleSharp/IMarkupFormatter.cs | namespace AngleSharp
{
using AngleSharp.Dom;
using System;
/// <summary>
/// Basic interface for HTML node serialization.
/// </summary>
public interface IMarkupFormatter
{
/// <summary>
/// Formats the given text.
/// </summary>
/// <param name="text">The te... | namespace AngleSharp
{
using AngleSharp.Dom;
using System;
/// <summary>
/// Basic interface for HTML node serialization.
/// </summary>
public interface IMarkupFormatter
{
/// <summary>
/// Formats the given text.
/// </summary>
/// <param name="text">The te... | mit | C# |
4cb223b7e1546f4fc6df85d7c0c73f3a6335341a | Fix server list not updating proprely. | DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17 | Proto/Assets/Scripts/UI/ServerUI.cs | Proto/Assets/Scripts/UI/ServerUI.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public class ServerUI : MonoBehaviour
{
[SerializeField]InputField m_ServerNameField;
[SerializeField]RectTransform m_ServerList;
List<GameObject> m_ServerButtons = new List<GameObject>();
void Start ()
... | using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System.Collections;
public class ServerUI : MonoBehaviour
{
[SerializeField]InputField m_ServerNameField;
[SerializeField]RectTransform m_ServerList;
void Start ()
{
PhotonNetwork.ConnectUsingSettings("Proto v0.1")... | mit | C# |
2d18a79d34b43f7a77b62fd413dd19d52a7f5d05 | Update XDatabasesTests.cs | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | tests/Core2D.UnitTests/Collections/XDatabasesTests.cs | tests/Core2D.UnitTests/Collections/XDatabasesTests.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Collections;
using Xunit;
namespace Core2D.UnitTests
{
public class XDatabasesTests
{
[Fact]
[Trait("Core2D", "Collections")]... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Collections;
using Xunit;
namespace Core2D.UnitTests
{
public class XDatabasesTests
{
[Fact]
[Trait("Core2D", "Collections")]... | mit | C# |
9f8b20d3f36c38068b383efbcc535b908889ac8f | Fix webapp sample (cherry picked from commit eb6715dd8e9025cb154fdceb4114fb5bcd250d19) | prabirshrestha/FacebookSharp,prabirshrestha/FacebookSharp,prabirshrestha/FacebookSharp | src/Samples/FacebookSharp.Samples.WebApplication/FacebookContext.cs | src/Samples/FacebookSharp.Samples.WebApplication/FacebookContext.cs | using System.Web;
using System.Configuration;
using System;
namespace FacebookSharp.Samples.Website
{
public class SampleFacebookContext : IFacebookContext
{
private Facebook _facebookContext;
#region Implementation of IFacebookContext
public Facebook FacebookContext
... | using System.Web;
using System.Configuration;
using System;
namespace FacebookSharp.Samples.Website
{
public class SampleFacebookContext : IFacebookContext
{
private Facebook _facebookContext;
#region Implementation of IFacebookContext
public Facebook FacebookContext
... | bsd-3-clause | C# |
4039691288f6a6faef160635c5c6ab05fd9bc7a8 | Add missing type tags | huysentruitw/pem-utils | src/DerConverter/Asn/Enumerations/DerAsnKnownTypeTags.cs | src/DerConverter/Asn/Enumerations/DerAsnKnownTypeTags.cs | namespace DerConverter.Asn
{
public static class DerAsnKnownTypeTags
{
public static class Primitive
{
public static readonly long Boolean = 0x01;
public static readonly long Integer = 0x02;
public static readonly long BitString = 0x03;
public sta... | namespace DerConverter.Asn
{
public static class DerAsnKnownTypeTags
{
public static class Primitive
{
public static readonly long Boolean = 0x01;
public static readonly long Integer = 0x02;
public static readonly long BitString = 0x03;
public sta... | apache-2.0 | C# |
2ba331732480f1ff96dd4e6fbdce579648b4f9e7 | refactor - inline temp variable | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Services/Implementations/TableService.cs | src/FilterLists.Services/Implementations/TableService.cs | using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using FilterLists.Data.Repositories.Contracts;
using FilterLists.Services.Contracts;
namespace FilterLists.Services.Implementations
{
public class TableService : ITableService
{
private readonly IListRepository _listRepository;
... | using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using FilterLists.Data.Repositories.Contracts;
using FilterLists.Services.Contracts;
namespace FilterLists.Services.Implementations
{
public class TableService : ITableService
{
private readonly IListRepository _listRepository;
... | mit | C# |
723c8e661210452c8081fbfe09187bdf757fcf26 | Add log message when a branch template is changed | kamsar/Unicorn,kamsar/Unicorn | src/Unicorn/Deserialization/DefaultDeserializerLogger.cs | src/Unicorn/Deserialization/DefaultDeserializerLogger.cs | using System.Diagnostics.CodeAnalysis;
using Rainbow.Model;
using Rainbow.Storage.Sc.Deserialization;
using Sitecore.Data;
using Sitecore.Data.Fields;
using Sitecore.Data.Items;
using Sitecore.StringExtensions;
using Unicorn.Logging;
namespace Unicorn.Deserialization
{
[ExcludeFromCodeCoverage]
public class Default... | using System.Diagnostics.CodeAnalysis;
using Rainbow.Model;
using Rainbow.Storage.Sc.Deserialization;
using Sitecore.Data;
using Sitecore.Data.Fields;
using Sitecore.Data.Items;
using Sitecore.StringExtensions;
using Unicorn.Logging;
namespace Unicorn.Deserialization
{
[ExcludeFromCodeCoverage]
public class Default... | mit | C# |
6aeffc1be3abe9192ec61b216e7e57a8f4bd55cb | Update GitPull.cs | mwhite14/LabviewGitPlugin_Hackathon | GitHubPlugin/GitHubPlugin/GitPull.cs | GitHubPlugin/GitHubPlugin/GitPull.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibGit2Sharp;
namespace GitHubPlugin
{
class GitPull
{
private Repository repo;
public GitPull()
{ }
public GitPull(string localRepoPath)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibGit2Sharp;
namespace GitHubPlugin
{
class GitPull
{
private Repository repo;
public GitPull()
{ }
public GitPull(string localRepoPath)
{
... | mit | C# |
cb8e85836e70365772667f95de25f3a916bc3b23 | Add remarks | saidmarouf/Doccou,aloisdg/Doccou,aloisdg/CountPages | Doccou.Pcl/Document.cs | Doccou.Pcl/Document.cs | using System;
using System.Collections.Generic;
using System.IO;
using Doccou.Pcl.Documents;
using Doccou.Pcl.Documents.Archives;
namespace Doccou.Pcl
{
/// <summary>
/// Document is the class wrapping every other class in this library.
/// If you are an user, everything you need come from here.
/// </summary>
p... | using System;
using System.Collections.Generic;
using System.IO;
using Doccou.Pcl.Documents;
using Doccou.Pcl.Documents.Archives;
namespace Doccou.Pcl
{
/// <summary>
/// Document is the class wrapping every other class in this library.
/// If you are an user, everything you need come from here.
/// </summary>
p... | mit | C# |
61be29c8fed9c6dbd6758282fb3bbda449339386 | Save Addon URL parameters too | smx-smx/KodiSharp,smx-smx/KodiSharp,smx-smx/KodiSharp | KodiInterop/KodiInterop/KodiAddon.cs | KodiInterop/KodiInterop/KodiAddon.cs | using System;
using System.IO;
using System.Reflection;
namespace Smx.KodiInterop
{
public abstract class KodiAddon
{
//http://stackoverflow.com/a/1373295
private static Assembly LoadFromSameFolder(object sender, ResolveEventArgs args) {
string folderPath = Path.GetDirectoryName(Assembly.GetExecutingAssem... | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
namespace Smx.KodiInterop
{
public abstract class KodiAddon
{
//http://stackoverflow.com/a/1373295
private static Assembly LoadFromSameFolder(object sender, ResolveEventArgs args) {
string folde... | mpl-2.0 | C# |
728ee9cf49d811fcf7d47f03600b197573e1a34a | Fix conversion of hash to string | wyldphyre/LockScreenBackgroundSaver | LockScreenBackgroundSaver/Program.cs | LockScreenBackgroundSaver/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.Threading;
namespace LockScreenBackgroundSaver
{
class Program
{
static void Main(string[] args)
{
var MonitorForNewImages = false;
var Output... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.Threading;
namespace LockScreenBackgroundSaver
{
class Program
{
static void Main(string[] args)
{
var MonitorForNewImages = false;
var Output... | mit | C# |
1ab0aff66132c1aa95418377caedd485d63b9229 | Refactor `Program` in Atata.TestApp | atata-framework/atata,atata-framework/atata | test/Atata.TestApp/Program.cs | test/Atata.TestApp/Program.cs | namespace Atata.TestApp;
public static class Program
{
public static void Main(string[] args) =>
CreateWebApplication(new WebApplicationOptions { Args = args })
.Run();
public static WebApplication CreateWebApplication(WebApplicationOptions options)
{
var builder = WebApplicat... | namespace Atata.TestApp;
public static class Program
{
public static void Main(string[] args) =>
CreateWebApplication(new WebApplicationOptions { Args = args })
.Run();
public static WebApplication CreateWebApplication(WebApplicationOptions options, Action<WebApplicationBuilder> builderCo... | apache-2.0 | C# |
2d72cea7546d800894de94aea142394b51dd4ebe | allow the api key to be set outside of config | nelsonsar/raygun4net,MindscapeHQ/raygun4net,articulate/raygun4net,tdiehl/raygun4net,ddunkin/raygun4net,ddunkin/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net,articulate/raygun4net,MindscapeHQ/raygun4net,nelsonsar/raygun4net | Mindscape.Raygun4Net/RaygunClient.cs | Mindscape.Raygun4Net/RaygunClient.cs | using System;
using System.Net;
using System.Web;
using Mindscape.Raygun4Net.Messages;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Mindscape.Raygun4Net
{
public class RaygunClient
{
private readonly string _apiKey;
/// <summary>
/// Initializes a new instance of the <see cref="Rayg... | using System;
using System.Net;
using System.Web;
using Mindscape.Raygun4Net.Messages;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Mindscape.Raygun4Net
{
public class RaygunClient
{
public void Send(Exception exception)
{
var message = RaygunMessageBuilder.New
.SetMachineN... | mit | C# |
8ec7fc8e16c25869ba430ac1c2218adc7201d264 | Make MetadataToken IEquatable | fnajera-rac-de/cecil,ttRevan/cecil,jbevain/cecil,saynomoo/cecil,gluck/cecil,cgourlay/cecil,furesoft/cecil,SiliconStudio/Mono.Cecil,mono/cecil,sailro/cecil | Mono.Cecil.Metadata/MetadataToken.cs | Mono.Cecil.Metadata/MetadataToken.cs | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using System;
namespace Mono.Cecil {
public struct MetadataToken : IEquatable<MetadataToken> {
readonly uint token;
public uint RID {
... | //
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
namespace Mono.Cecil {
public struct MetadataToken {
readonly uint token;
public uint RID {
get { return token & 0x00ffffff; }
}
... | mit | C# |
0ee61553096189a981630faa176d39d89e6bcfa6 | test conversion of witness address | NicolasDorier/NBitcoin,MetacoSA/NBitcoin,stratisproject/NStratis,lontivero/NBitcoin,MetacoSA/NBitcoin | NBitcoin.Tests/JsonConverterTests.cs | NBitcoin.Tests/JsonConverterTests.cs | using NBitcoin.JsonConverters;
using NBitcoin.OpenAsset;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace NBitcoin.Tests
{
public class JsonConverterTests
{
[Fact]
[Trait("UnitTest", "UnitTest")]
public void CanSerialize... | using NBitcoin.JsonConverters;
using NBitcoin.OpenAsset;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace NBitcoin.Tests
{
public class JsonConverterTests
{
[Fact]
[Trait("UnitTest", "UnitTest")]
public void CanSerialize... | mit | C# |
5fe309cf70d3599d92beec79fd8bcb39bbdd3493 | Fix NullRef in Collision::FromContact closes https://github.com/xamarin/urho-samples/issues/12 | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | Bindings/Portable/Collision.cs | Bindings/Portable/Collision.cs | //
// Helpers to surface a simpler API for collisions
//
using System;
using System.Runtime.InteropServices;
namespace Urho.Physics {
public unsafe struct CollisionData {
public Vector3 ContactPosition, ContactNormal;
public float ContactDistance, ContactImpulse;
public CollisionData (byte *p)
{
Contac... | //
// Helpers to surface a simpler API for collisions
//
using System;
using System.Runtime.InteropServices;
namespace Urho.Physics {
public unsafe struct CollisionData {
public Vector3 ContactPosition, ContactNormal;
public float ContactDistance, ContactImpulse;
public CollisionData (byte *p)
{
Contac... | mit | C# |
30cf597ec2456cce133767050d08698519ded913 | Use NUnit string randomizer | Chelaris182/wslib | UnitTests/Utils/RandomGeneration.cs | UnitTests/Utils/RandomGeneration.cs | using System;
using NUnit.Framework;
namespace UnitTests.Utils
{
public static class RandomGeneration
{
private static readonly Random random = new Random();
public static string RandomString(int sizeFrom, int sizeTo)
{
return TestContext.CurrentContext.Random.GetString(ra... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace UnitTests.Utils
{
public static class RandomGeneration
{
private static readonly Random random = new Random();
private static readonly ReadOnlyCollection<char> asciiSymbols = Arra... | mit | C# |
f27366b62da2541a28c50e45fcd44dea266bb315 | Update GetAgeStoreFunctionInjectionConvention.cs | divega/UdfCodeFirstSample | UdfCodeFirstSample/GetAgeStoreFunctionInjectionConvention.cs | UdfCodeFirstSample/GetAgeStoreFunctionInjectionConvention.cs | using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.ModelConfiguration.Conventions;
namespace UdfCodeFirstSample
{
public class GetAgeStoreFunctionInjectionConvention : IStoreModelConvention<EdmModel>
{
public void Apply(EdmModel item, DbModel ... | using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.ModelConfiguration.Conventions;
namespace UdfCodeFirstSample
{
public class GetAgeStoreFunctionInjectionConvention : IStoreModelConvention<EdmModel>
{
public void Apply(EdmModel item, DbModel ... | apache-2.0 | C# |
a7e6b25b1c5254654b81264eb6b2524bc64dd5c1 | add comment | Luke-Wolf/krystal-voicecontrol | Krystal.Voice/Form1.cs | Krystal.Voice/Form1.cs | //
// Copyright 2014 Terry
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | //
// Copyright 2014 Terry
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | apache-2.0 | C# |
8b42199c5d08321388c49355e43574005598b1d3 | Comment out jump list support again as no SDK is out yet... :( | sibbl/ParkenDD | ParkenDD/Services/JumpListService.cs | ParkenDD/Services/JumpListService.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.UI.StartScreen;
using ParkenDD.Api.Models;
namespace ParkenDD.Services
{
public class JumpListService
{
private readonly ResourceService _resources;
private const string ArgumentFormat = "city={0}";
... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.UI.StartScreen;
using ParkenDD.Api.Models;
namespace ParkenDD.Services
{
public class JumpListService
{
private readonly ResourceService _resources;
private const string ArgumentFormat = "city={0}";
... | mit | C# |
23874f0ea5e54d4c5293b2de0d586504f088c92f | Remove unnecessary permission | kentcb/WorkoutWotch | Src/WorkoutWotch.UI.Android/Properties/AssemblyInfo.cs | Src/WorkoutWotch.UI.Android/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly... | mit | C# |
d880e2d904ff4c7f78e0047d141c5dd877698a19 | set { LineCount = value; } | zptec/Liq_UI | Liq_UI/Translation/TranslationSegment.cs | Liq_UI/Translation/TranslationSegment.cs | using System.Collections.Generic;
namespace Liq_UI.Translation
{
internal class TranslationSegment
{
//Begin Line
int BeginLine;
//Line Count
int LineCount
{
get { return CodeLines.Count; }
set { LineCount = value; }
}
//End Lin... | namespace Liq_UI.Translation
{
internal class TranslationSegment
{
//Begin Line
int BeginLine;
//Line Count
int LineCount;
//End Line
int EndLine
{
get { return BeginLine + LineCount + 1; }
}
}
} | mit | C# |
b9c6d73be0617d517c3f85def91a1c3d88778a7d | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.core/Providers/Bus13LiveDataProvider.cs | bstrkr.mobile/bstrkr.core/Providers/Bus13LiveDataProvider.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using RestSharp.Portable;
using RestSharp.Portable.Deserializers;
namespace bstrkr.core.providers
{
public class Bus13LiveDataProvider : ILiveDataProvider
{
private string... | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using RestSharp.Portable;
using RestSharp.Portable.Deserializers;
namespace bstrkr.core.providers
{
public class Bus13LiveDataProvider : ILiveDataProvider
{
private string... | bsd-2-clause | C# |
d1a3bfc27fc7c1a8c1f09e67cac802ed1f242d38 | Fix compile issue | gphoto/libgphoto2.OLDMIGRATION,gphoto/libgphoto2.OLDMIGRATION,gphoto/libgphoto2.OLDMIGRATION,gphoto/libgphoto2.OLDMIGRATION | bindings/csharp/Object.cs | bindings/csharp/Object.cs | using System;
using System.Runtime.InteropServices;
namespace LibGPhoto2 {
public abstract class Object : System.IDisposable {
protected HandleRef handle;
private bool disposed = false;
public HandleRef Handle {
get {
return handle;
}
}
public Object () {}
public Object (IntPtr ptr)... | using System;
using System.Runtime.InteropServices;
namespace LibGPhoto2 {
public abstract class Object : System.IDisposable {
protected HandleRef handle;
private bool disposed = false;
public HandleRef Handle {
get {
return handle;
}
}
public Object () {}
public Object (IntPtr ptr)... | lgpl-2.1 | C# |
39adf1adc6b55278115f8773fa4c6c6ff4d59c21 | Use type.fullname now | wanachengwang/UnityGameFlow,wanachengwang/UnityGameFlow,wanachengwang/UnityGameFlow,wanachengwang/UnityGameFlow | HotFixProject/HotFix/Class1.cs | HotFixProject/HotFix/Class1.cs | using System;
using UnityEngine;
// Patch the same fullname(namespace&classname)
namespace ILHotFix {
public class ILHFHelloWorld {
public static void Start(ILHFHelloWorld self) {
Debug.Log("HotFix:ILHFHelloWorld.Start.");
}
static int _cnt = 0;
public static ... | using System;
using UnityEngine;
namespace HotFix {
public class ILHFHelloWorld {
public static void Start(ILHFHelloWorld self) {
Debug.Log("HotFix.ILHFHelloWorld.Start.");
}
static int _cnt = 0;
public static void Update(ILHFHelloWorld self) {
if(... | mit | C# |
3c7d9de2b1eff2296694c60c326cbb6419d9c6e5 | Support full screen now that core MonoMac supports it | l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Test/Eto.Test.Mac/Startup.cs | Source/Eto.Test/Eto.Test.Mac/Startup.cs | using System;
using System.Drawing;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
using Eto.Forms;
namespace Eto.Test.Mac
{
class Startup
{
static void Main (string [] args)
{
AddStyles ();
var generator = new Eto.Platform.Mac.Generator ();
var app = new TestApplicat... | using System;
using System.Drawing;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
using Eto.Forms;
namespace Eto.Test.Mac
{
class Startup
{
static void Main (string [] args)
{
AddStyles ();
var generator = new Eto.Platform.Mac.Generator ();
var app = new TestApplicat... | bsd-3-clause | C# |
ccba9da43e599a0b60e82595671503bd855e0fdd | Bump version to 1.5 | davidebbo/WebActivator | WebActivator/Properties/AssemblyInfo.cs | WebActivator/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Web;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[a... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Web;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[a... | apache-2.0 | C# |
d01485700d9bd3e30d2ee93914e14c210f5d8034 | work on 2.0.8 started | fabsenet/adrilight,fabsenet/adrilight | adrilight/Properties/AssemblyInfo.cs | adrilight/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | mit | C# |
ce4660448e323cf254d5d62acf4e54b34e138d93 | Enable raven studio for port 8081 | Vavro/DragonContracts,Vavro/DragonContracts | DragonContracts/DragonContracts/Base/RavenDbController.cs | DragonContracts/DragonContracts/Base/RavenDbController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using DragonContracts.Models;
using Raven.Client;
using Raven.Client.Document;
using Raven.Client.E... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using DragonContracts.Models;
using Raven.Client;
using Raven.Client.Document;
using Raven.Client.E... | mit | C# |
7d6915de0ec1f2d6b49316174249060cb392937c | modify demo | jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,wanddy/WeiXinMPSDK,lishewen/WeiXinMPSDK,down4u/WeiXinMPSDK,down4u/WeiXinMPSDK,lishewen/WeiXinMPSDK,wanddy/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSD... | src/Senparc.Weixin.MP.Sample/Senparc.Weixin.MP.Sample/Models/ProductModel.cs | src/Senparc.Weixin.MP.Sample/Senparc.Weixin.MP.Sample/Models/ProductModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Senparc.Weixin.MP.Sample.Models
{
/// <summary>
/// 商品实体类
/// </summary>
public class ProductModel
{
public int Id { get; set; }
public string Name { get; set; }
public decimal Pr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Senparc.Weixin.MP.Sample.Models
{
/// <summary>
/// 商品实体类
/// </summary>
public class ProductModel
{
public int Id { get; set; }
public string Name { get; set; }
public decimal Pr... | apache-2.0 | C# |
a6334e0169f3fb577c368c45bd3c1017eea3420e | Remove Dimension from IObjectiveFunction interface. | geoem/MSolve,geoem/MSolve | ISAAR.MSolve.Analyzers/Optimization/IObjectiveFunction.cs | ISAAR.MSolve.Analyzers/Optimization/IObjectiveFunction.cs | using ISAAR.MSolve.Matrices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ISAAR.MSolve.Analyzers.Optimization
{
public interface IObjectiveFunction
{
/// <summary>
/// Calculates the fitness value of the function.
/// </summary>
... | using ISAAR.MSolve.Matrices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ISAAR.MSolve.Analyzers.Optimization
{
public interface IObjectiveFunction
{
/// <summary>
/// Calculates the fitness value of the function.
/// </summary>
... | apache-2.0 | C# |
3d757cb813ca8509ca9a4c3ea4b1ba31405b8261 | increase version | tinohager/Nager.AmazonProductAdvertising,tinohager/Nager.AmazonProductAdvertising | Nager.AmazonProductAdvertising/Properties/AssemblyInfo.cs | Nager.AmazonProductAdvertising/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Nag... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Nag... | mit | C# |
2ea5a97784b7c46f4a34e28572ea5662e7829b58 | Fix ClickableText test case | NeoAdonis/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu-new,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,johnneijzen/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,ppy/osu,ZLima12/osu,ZLima12/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,Neo... | osu.Game.Tests/Visual/TestCaseClickableText.cs | osu.Game.Tests/Visual/TestCaseClickableText.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using System;
using System.Collections.Generic;
namespace osu.Game.Tests.Visual
{
p... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using System;
using System.Collections.Generic;
namespace osu.Game.Tests.Visual
{
p... | mit | C# |
fa6074925e8bf58d010b9d3a5459277643560dc1 | Remove unused variable | smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu-new,ZLima12/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ZLima12/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/o... | osu.Game.Tests/Visual/TestCaseTextBadgePair.cs | osu.Game.Tests/Visual/TestCaseTextBadgePair.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Overlays.Changelog.Hea... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Overlays.Changelog.Hea... | mit | C# |
64f04c81e18758ff031e38b19e6d9a2cca471fcb | Add support for encrypt/decrypt single URL from the command line | babelmark/babelmark-proxy | src/EncryptApp/Program.cs | src/EncryptApp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using BabelMark;
using Newtonsoft.Json;
namespace EncryptApp
{
/// <summary>
/// Programs to encode/decode the babelmark-registry (https://github.com/babelma... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using BabelMark;
using Newtonsoft.Json;
namespace EncryptApp
{
class Program
{
static int Main(string[] args)
{
if (args.Length !=... | bsd-2-clause | C# |
f4d8733710261e046a78c4e16e30092161533f4e | allow the user to create things | Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate | Sample.Host/Program.cs | Sample.Host/Program.cs | using System;
using System.IO;
using System.Security.Claims;
using Ledger.Stores;
using Ledger.Stores.Fs;
using Magistrate;
using Magistrate.WebInterface;
using Microsoft.Owin.Hosting;
using Serilog;
namespace Sample.Host
{
class Program
{
static void Main(string[] args)
{
var host = WebApp.Start("http://loc... | using System;
using System.IO;
using System.Security.Claims;
using Ledger.Stores;
using Ledger.Stores.Fs;
using Magistrate;
using Magistrate.WebInterface;
using Microsoft.Owin.Hosting;
using Serilog;
namespace Sample.Host
{
class Program
{
static void Main(string[] args)
{
var host = WebApp.Start("http://loc... | lgpl-2.1 | C# |
358111632eff2dfe340bb31cec460a5f26ab5c60 | Remove diagnostic code from MorphInto(); close #12 | arthurrump/Zermelo.App.UWP | Zermelo.App.UWP/Helpers/ObservableCollectionExtensions.cs | Zermelo.App.UWP/Helpers/ObservableCollectionExtensions.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zermelo.App.UWP.Helpers
{
static class ObservableCollectionExtensions
{
public static void MorphInto<TSource>(this ObservableCollection<TS... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zermelo.App.UWP.Helpers
{
static class ObservableCollectionExtensions
{
public static void MorphInto<TSource>(this ObservableCollection<TS... | mit | C# |
1e716e10a9bc1e64e1229f6561164e836e4db728 | Improve array aux functions. | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game | common/auxiliary/array.cs | common/auxiliary/array.cs | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
... | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
... | lgpl-2.1 | C# |
d1ccfdc0f714c40ea998469a5ffe51fdf0a67c1a | Update solution info. | dnnsoftware/Dnn.AdminExperience.Library,dnnsoftware/Dnn.AdminExperience.Library,dnnsoftware/Dnn.Platform,RichardHowells/Dnn.Platform,dnnsoftware/Dnn.Platform,EPTamminga/Dnn.Platform,valadas/Dnn.Platform,nvisionative/Dnn.Platform,nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,bdukes/Dnn.Platform,mitchelsellers/Dnn.P... | src/SolutionInfo.cs | src/SolutionInfo.cs | #region Copyright
// DotNetNuke� - http://www.dotnetnuke.com
// Copyright (c) 2002-2016
// by DotNetNuke Corporation
// All Rights Reserved
#endregion
#region Usings
using System.Reflection;
#endregion
// General Information about an assembly is controlled through the following
// set of attributes. Change these a... | #region Copyright
// DotNetNuke� - http://www.dotnetnuke.com
// Copyright (c) 2002-2016
// by DotNetNuke Corporation
// All Rights Reserved
#endregion
#region Usings
using System.Reflection;
#endregion
// General Information about an assembly is controlled through the following
// set of attributes. Change these a... | mit | C# |
9f1af3fc73f5643fd8e2a811cdf74e9384e5f901 | Remove usings | k-t/SharpHaven | SharpHaven/App.cs | SharpHaven/App.cs | using System;
using System.Drawing;
using System.IO;
using NLog;
using OpenTK;
using OpenTK.Graphics;
using SharpHaven.Resources;
namespace SharpHaven
{
public static class App
{
private static readonly Logger Log = LogManager.GetCurrentClassLogger();
private static Audio audio;
private static Config config;
... | using System;
using System.Drawing;
using System.IO;
using System.Threading;
using System.Windows.Forms;
using NLog;
using OpenTK;
using OpenTK.Graphics;
using SharpHaven.Resources;
namespace SharpHaven
{
public static class App
{
private static readonly Logger Log = LogManager.GetCurrentClassLogger();
private ... | mit | C# |
d2471bd67e67504f4b65a4de5fbb223efd9299b5 | Replace test with test stub | SmartStepGroup/AgileCamp2015_Master,SmartStepGroup/AgileCamp2015_Master,SmartStepGroup/AgileCamp2015_Master | UnitTests/UnitTest1.cs | UnitTests/UnitTest1.cs | #region Usings
using NUnit.Framework;
#endregion
namespace UnitTests
{
[TestFixture]
public class UnitTest1
{
[Test]
public void TestMethod1()
{
Assert.True(true);
}
}
} | #region Usings
using System.Linq;
using System.Web.Mvc;
using NUnit.Framework;
using WebApplication.Controllers;
using WebApplication.Models;
#endregion
namespace UnitTests
{
[TestFixture]
public class UnitTest1
{
[Test]
public void TestMethod1()
{
var formCollection ... | mit | C# |
f0a50f63132876d192a3eb77858d49a822a54440 | Fix compare --overwrite not working | sethreno/schemazen,sethreno/schemazen | console/Compare.cs | console/Compare.cs | using System;
using System.IO;
using ManyConsole;
using NDesk.Options;
using SchemaZen.Library.Command;
namespace SchemaZen.console {
internal class Compare : ConsoleCommand {
private string _source;
private string _target;
private string _outDiff;
private bool _overwrite;
private bool _verbose;
private ... | using System;
using System.IO;
using ManyConsole;
using NDesk.Options;
using SchemaZen.Library.Command;
namespace SchemaZen.console {
internal class Compare : ConsoleCommand {
private string _source;
private string _target;
private string _outDiff;
private bool _overwrite;
private bool _verbose;
private ... | mit | C# |
3afce93fae16bb030fc2ee79f3fa9328fe17f072 | Remove exception | mstrother/BmpListener | BmpListener/Bmp/StatisticsReport.cs | BmpListener/Bmp/StatisticsReport.cs | using System;
namespace BmpListener.Bmp
{
public class StatisticsReport : BmpMessage
{
public StatisticsReport(BmpHeader bmpHeader, byte[] data)
: base(bmpHeader, data)
{
}
}
} | using System;
namespace BmpListener.Bmp
{
public class StatisticsReport : BmpMessage
{
public StatisticsReport(BmpHeader bmpHeader, byte[] data)
: base(bmpHeader, data)
{
throw new NotImplementedException();
}
public BmpMessage ParseBody()
{
... | mit | C# |
35ba9e9e035f1ca9a4665c5b4ed58886c23f7241 | clean code | 6bee/Remote.Linq | src/Remote.Linq/Expressions/RemoteLinqExpressionException.cs | src/Remote.Linq/Expressions/RemoteLinqExpressionException.cs | // Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.Expressions
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
[Serializable]
[SuppressMessage("Design", "CA1032:Implemen... | // Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.Expressions
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
[Serializable]
[SuppressMessage("Design", "CA1032:Implemen... | mit | C# |
e1b35afd060f4c7984e69cf24b7b71d301d2b96b | Fix broken #endif location. | nodatime/nodatime,malcolmr/nodatime,zaccharles/nodatime,malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,jskeet/nodatime,jskeet/nodatime,nodatime/nodatime | src/NodaTime.Test/DateTimeZoneProvidersTest.cs | src/NodaTime.Test/DateTimeZoneProvidersTest.cs | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NUnit.Framework;
namespace NodaTime.Test
{
/// <summary>
/// Tests for DateTimeZoneProviders.
/// </summary>
[TestFixtur... | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using NUnit.Framework;
namespace NodaTime.Test
{
/// <summary>
/// Tests for DateTimeZoneProviders.
/// </summary>
[TestFixtur... | apache-2.0 | C# |
38a93ae908504c70f71415ea67e6d7b412b2275b | Add Apply method that takes a Selection to IPathElement interface | Domysee/Pather.CSharp | src/Pather.CSharp/PathElements/IPathElement.cs | src/Pather.CSharp/PathElements/IPathElement.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public interface IPathElement
{
object Apply(object target);
Selection Apply(Selection target);
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public interface IPathElement
{
object Apply(object target);
}
}
| mit | C# |
87b322b1e10fea3a023af2ae96c954bcc46b1794 | Revert accidental change of the async flag. | mdavid/nuget,mdavid/nuget | src/VsConsole/Console/PowerConsole/HostInfo.cs | src/VsConsole/Console/PowerConsole/HostInfo.cs | using System;
using System.Diagnostics;
namespace NuGetConsole.Implementation.PowerConsole {
/// <summary>
/// Represents a host with extra info.
/// </summary>
class HostInfo : ObjectWithFactory<PowerConsoleWindow> {
Lazy<IHostProvider, IHostMetadata> HostProvider { get; set; }
... | using System;
using System.Diagnostics;
namespace NuGetConsole.Implementation.PowerConsole {
/// <summary>
/// Represents a host with extra info.
/// </summary>
class HostInfo : ObjectWithFactory<PowerConsoleWindow> {
Lazy<IHostProvider, IHostMetadata> HostProvider { get; set; }
... | apache-2.0 | C# |
049dc27a2b783aa105adbc8d69aec35e7a30c1ab | add mail methods | feuerwelt/estellaris | Estellaris.Web/Email/Mailer.cs | Estellaris.Web/Email/Mailer.cs | using System;
using System.Collections.Generic;
using MailKit.Net.Smtp;
using MimeKit;
namespace Estellaris.Web.Email {
public class Mailer : IDisposable {
readonly MailCredentials _credentials;
readonly SmtpClient _smtpClient;
public Mailer(MailCredentials credentials) {
_credentials =... | using System;
using System.Collections.Generic;
using MailKit.Net.Smtp;
using MimeKit;
namespace Estellaris.Web.Email {
public class Mailer : IDisposable {
readonly MailCredentials _credentials;
readonly SmtpClient _smtpClient;
public Mailer(MailCredentials credentials) {
_credentials =... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.