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 |
|---|---|---|---|---|---|---|---|---|
30cc0a6835e498761572d4ed6039d607ff23b2ca | Build and publish release candidate package | RockFramework/Rock.Encryption | Rock.Encryption/Properties/AssemblyInfo.cs | Rock.Encryption/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("Ro... | 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("Ro... | mit | C# |
e5b9bdc2780dc7658a9228d149e62bbac50eb66e | Enable annotations in interface | ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Bindables/IBindableDictionary.cs | osu.Framework/Bindables/IBindableDictionary.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.
#nullable enable
using System.Collections.Generic;
using System.Collections.Specialized;
namespace osu.Framework.Bindables
{
public interface IBindableDictionary<TK... | // 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.Collections.Generic;
using System.Collections.Specialized;
namespace osu.Framework.Bindables
{
public interface IBindableDictionary<TKey, TValue> : IRea... | mit | C# |
a7bcc32cc21151ff4817e260b73c8f1d1a75b185 | Remove the nullable disable annotation in the mania ruleset. | ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Mania/ManiaFilterCriteria.cs | osu.Game.Rulesets.Mania/ManiaFilterCriteria.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.Game.Beatmaps;
using osu.Game.Rulesets.Filter;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Screens.Select;
using osu.Game.Screens.Select.Filter;
nam... | // 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.
#nullable disable
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Filter;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Screens.Select;
using osu.Game.Screens.... | mit | C# |
87b357da2054ed5467820a1f7cea3687e1afa2ae | set assembly version to 0.1.1 | jaceee/SQLiteMigrations | SQLiteMigrations/Properties/AssemblyInfo.cs | SQLiteMigrations/Properties/AssemblyInfo.cs | //
// AssemblyInfo.cs
//
// Author:
// Jonatan Cardona Casas <jace.casas@gmail.com>
//
// Copyright (c) 2017
//
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
... | //
// AssemblyInfo.cs
//
// Author:
// Jonatan Cardona Casas <jace.casas@gmail.com>
//
// Copyright (c) 2017
//
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
... | mit | C# |
4b994e54d5a461adffd5b4b728ed7fa366d07ffa | Change privacy of Continuous360 | SnowmanTackler/SamSeifert.Utilities,SnowmanTackler/SamSeifert.Utilities | SamSeifert.Utilities/Maths/Continuous360.cs | SamSeifert.Utilities/Maths/Continuous360.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamSeifert.Utilities.Maths
{
public class Continuous360
{
protected readonly float _Increment;
public float _StartingAngle { get; private set; } = 0;
public fl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamSeifert.Utilities.Maths
{
public class Continuous360
{
protected readonly float _Increment;
public float _StartingAngle { get; private set; }
private float ... | mit | C# |
9d324c7917b7ff9d19c8c82c1f36158c640dd7c3 | Improve comments on LongLivedMarshalByRefObject to better reflect the current use cases. | fixie/fixie | src/Fixie.Execution/LongLivedMarshalByRefObject.cs | src/Fixie.Execution/LongLivedMarshalByRefObject.cs | namespace Fixie.Execution
{
using System;
using System.Runtime.Remoting;
/// <summary>
/// Simplifies the definition of MarshalByRefObject classes whose
/// instances need to live longer than the default lease lifetime
/// allows, such as objects passed from a Fixie runner into the
/// App... | namespace Fixie.Execution
{
using System;
using System.Runtime.Remoting;
/// <summary>
/// Simplifies the definition of MarshalByRefObject classes whose
/// instances need to live longer than the default lease lifetime
/// allows, such as implementations of Listener provided by test
/// ru... | mit | C# |
d0f56beef7c898ab44de009f0c09733813d6cd5f | Update Nuget ver | vla/FastHttpRequest,vla/FastHttpRequest | Src/HttpRequest/Properties/AssemblyInfo.cs | Src/HttpRequest/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("FastHttpRequest")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: As... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("HttpRequest")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Assemb... | artistic-2.0 | C# |
7f1df9b8f9ead5dbfc85af582cb303f3d725bd07 | Add process async | Smartasses/RequestHandlers,glenndierckx/RequestHandlers | src/RequestHandlers/RequestDispatcherExtensions.cs | src/RequestHandlers/RequestDispatcherExtensions.cs | using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace RequestHandlers
{
public static class RequestDispatcherExtensions
{
private static readonly MethodInfo MainMethod;
static RequestDispatcherExtensions()
{
MainMethod = typeof(IRequestDispatch... | using System.Linq;
using System.Reflection;
namespace RequestHandlers
{
public static class RequestDispatcherExtensions
{
private static readonly MethodInfo MainMethod;
static RequestDispatcherExtensions()
{
MainMethod = typeof(IRequestDispatcher).GetTypeInfo().GetMethods()... | mit | C# |
1c0e2e5830ef40e6d4d407401aed287ccf27d318 | Fix GitTransactionTest | ap0llo/SyncTool | src/SyncTool.Git/test/Common/GitTransactionTest.cs | src/SyncTool.Git/test/Common/GitTransactionTest.cs | using System.IO;
using Xunit;
namespace SyncTool.Git.Common
{
/// <summary>
/// Tests for <see cref="GitTransaction"/>
/// </summary>
public class GitTransactionTest : AbstractGitTransactionTest
{
[Fact]
public void Begin_throws_GitTransactionException_if_local_directory_exists_an... | using System.IO;
using Xunit;
namespace SyncTool.Git.Common
{
/// <summary>
/// Tests for <see cref="GitTransaction"/>
/// </summary>
public class GitTransactionTest : AbstractGitTransactionTest
{
[Fact]
public void Begin_throws_GitTransactionException_if_local_directory_exists_an... | mit | C# |
55491324d4b8af6b869c79992b2de900ff16d6be | Remove stray semicolon. | drewnoakes/dasher | Dasher.Tests/UnionProviderTests.cs | Dasher.Tests/UnionProviderTests.cs | #region License
//
// Dasher
//
// Copyright 2015-2016 Drew Noakes
//
// 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
//
// ... | #region License
//
// Dasher
//
// Copyright 2015-2016 Drew Noakes
//
// 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
//
// ... | apache-2.0 | C# |
2609854c2f8586c14c1d3f0b22d2b876dcfb2da7 | Fix format issue with stocks with no price movement | bchantech/rh-cli | rh-cli/Rhcli_Display.cs | rh-cli/Rhcli_Display.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BasicallyMe.RobinhoodNet;
namespace rh_cli
{
partial class Program
{
static void Display_PriceChange(decimal LastPrice, decimal PrevClose, bool newline = true)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BasicallyMe.RobinhoodNet;
namespace rh_cli
{
partial class Program
{
static void Display_PriceChange(decimal LastPrice, decimal PrevClose, bool newline = true)
{
... | mit | C# |
2bbcb1448dc01345dfd102cdfccb8f216a72f648 | Fix for 1005 (#1006) | shargon/neo,AntShares/AntShares | neo/SmartContract/Native/Tokens/Nep5AccountState.cs | neo/SmartContract/Native/Tokens/Nep5AccountState.cs | using Neo.VM;
using Neo.VM.Types;
using System.Numerics;
namespace Neo.SmartContract.Native.Tokens
{
public class Nep5AccountState
{
public BigInteger Balance;
public Nep5AccountState()
{
}
public Nep5AccountState(byte[] data)
{
FromByteArray(data)... | using Neo.VM;
using Neo.VM.Types;
using System.Numerics;
namespace Neo.SmartContract.Native.Tokens
{
public class Nep5AccountState
{
public BigInteger Balance;
public Nep5AccountState()
{
}
public Nep5AccountState(byte[] data)
{
FromByteArray(data)... | mit | C# |
a76ce7099f72ef285f7f5795998c29a88130428f | remove anchors from the main page (#548) | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/_Scripts.cshtml | input/_Scripts.cshtml | <script type="text/javascript" src="/assets/js/anchor.min.js"></script>
<script type="text/javascript" src="/assets/js/clipboard.min.js"></script>
<script type="text/javascript">
anchors.options.placement = 'left';
anchors.add('.content h1:not(.no-anchor), .content h2:not(.no-anchor), .content h3:not(.no-anchor... | <script type="text/javascript" src="/assets/js/anchor.min.js"></script>
<script type="text/javascript" src="/assets/js/clipboard.min.js"></script>
<script type="text/javascript">
anchors.options.placement = 'left';
anchors.add();
var snippets = document.querySelectorAll("pre > code");
[].forEach.call(s... | mit | C# |
6c06639311a20cc2ebbfc5785e9bfe4d3ebcde5c | Refactor logic | dirkrombauts/fizz-buzz | ConsoleApp/FizzBuzzer.cs | ConsoleApp/FizzBuzzer.cs | using System;
namespace FizzBuzz.ConsoleApp
{
public class FizzBuzzer
{
public string Print(int currentNumber)
{
var isFizzing = (currentNumber%3) == 0;
var isBuzzing = (currentNumber %5) == 0;
if (isFizzing)
{
return "Fizz";
}
else if (isBuzzing)
{
... | using System;
namespace FizzBuzz.ConsoleApp
{
public class FizzBuzzer
{
public string Print(int currentNumber)
{
if ((currentNumber%3) == 0)
{
return "Fizz";
}
else if ((currentNumber %5) == 0)
{
return "Buzz";
}
else
{
return current... | mit | C# |
0dbd1a773b6e6398019675628d48c39166932353 | Fix SchedulerAutorRemove to work correctly. | haithemaraissia/CocosSharp,MSylvia/CocosSharp,MSylvia/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,netonjm/CocosSharp,netonjm/CocosSharp,zmaruo/CocosSharp,TukekeSoft/CocosSharp,hig-ag/CocosSharp,haithemaraissia/CocosSharp,hig-ag/CocosSharp,mono/CocosSharp,zmaruo/CocosSharp | tests/tests/classes/tests/SchedulerTest/SchedulerAutoremove.cs | tests/tests/classes/tests/SchedulerTest/SchedulerAutoremove.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class SchedulerAutoremove : SchedulerTestLayer
{
private float accum;
public override void OnEnter ()
{
base.OnEnter();
Schedule(autoremove, 0.5f);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
namespace tests
{
public class SchedulerAutoremove : SchedulerTestLayer
{
public virtual void onEnter()
{
base.OnEnter();
Schedule(autoremove, 0.5f);
Sche... | mit | C# |
e8603ede15ce9acd38cc02fff84851847291b529 | Fix second prompt | peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game/Localisation/LayoutSettingsStrings.cs | osu.Game/Localisation/LayoutSettingsStrings.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.Localisation;
namespace osu.Game.Localisation
{
public static class LayoutSettingsStrings
{
private const string prefix = @"osu.Game.... | // 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.Localisation;
namespace osu.Game.Localisation
{
public static class LayoutSettingsStrings
{
private const string prefix = @"osu.Game.... | mit | C# |
5d46ca633b6318c5a93a19bba0c0ea07e248f5d9 | test ignored; component redesign TODO | versionone/VersionOne.Integration.TFS.ServerConnector | EntityFactory.cs | EntityFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using VersionOne.SDK.APIClient;
namespace VersionOne.ServerConnector {
// TODO extract interface and inject into VersionOneProcessor
internal class EntityFactory {
private readonly IMetaModel metaModel;
private readonly IServic... | using System;
using System.Collections.Generic;
using System.Linq;
using VersionOne.SDK.APIClient;
namespace VersionOne.ServerConnector {
internal class EntityFactory {
private readonly IMetaModel metaModel;
private readonly IServices services;
private readonly IEnumerable<AttributeInfo> a... | bsd-3-clause | C# |
c62707f5d64d2ab956094b97d1ca584bd37a0150 | Bump version to 0.1.8. | FacilityApi/Facility,ejball/Facility | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("0.1.8.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| using System.Reflection;
[assembly: AssemblyVersion("0.1.7.0")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2016 Ed Ball")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
| mit | C# |
a4baa5351cd00db077b5a2cb927cae4a836ba639 | Replace Substring calls with equivalent span slicing. | plioi/parsley | src/Parsley/Text.cs | src/Parsley/Text.cs | namespace Parsley;
public class Text
{
int index;
readonly string input;
int line;
public Text(string input)
: this(input, 0, 1) { }
Text(string input, int index, int line)
{
this.input = input;
this.index = index;
if (index > input.Length)
this.in... | namespace Parsley;
public class Text
{
int index;
readonly string input;
int line;
public Text(string input)
: this(input, 0, 1) { }
Text(string input, int index, int line)
{
this.input = input;
this.index = index;
if (index > input.Length)
this.in... | mit | C# |
a6031d91353383fd26c3c0f64ec4a396504e4256 | Update version. | RedfoxSoftware/FoxOpenXML | Properties/AssemblyInfo.cs | 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("FoxOpenXML")]
[assembly: AssemblyDescript... | 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("FoxOpenXML")]
[assembly: AssemblyDescript... | mit | C# |
803af59ab60eb5b734abcd355e70b16fc0be43a3 | Comment to explain non-self-explanatory date format string | lshift/diffa-dotnet | DiffaParticipant/Net.LShift.Diffa.Participants/EntityVersion.cs | DiffaParticipant/Net.LShift.Diffa.Participants/EntityVersion.cs | //
// Copyright (C) 2011 LShift Ltd.
//
// 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 applicabl... | //
// Copyright (C) 2011 LShift Ltd.
//
// 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 applicabl... | apache-2.0 | C# |
bfcc0151a86ec74aa06efaf97e33f7b37cfe63a2 | test change to webapi | abkmr/WebApi,abkmr/WebApi | OData/src/System.Web.Http.OData/OData/EdmEntityObject.cs | OData/src/System.Web.Http.OData/OData/EdmEntityObject.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Data.Edm;
namespace System.Web.Http.OData
{
/// <summary>
/// Represents an <see cref="IEdmEntityObject"/> with no backing CLR <see cr... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Data.Edm;
namespace System.Web.Http.OData
{
/// <summary>
/// Represents an <see cref="IEdmEntityObject"/> with no backing CLR <see cr... | mit | C# |
8251682a047035cb7c9d5d2cbf322bb174821c7c | update assembly info | JoshKeegan/MonoKlout | MonoKlout/AssemblyInfo.cs | MonoKlout/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("MonoKlout")]
[assembly: AssemblyDescription("API library for accessing Klout.")]
[assembly: Assem... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("MonoKloutLib")]
[assembly: AssemblyDescription("API library for accessing Klout.")]
[assembly: As... | mit | C# |
b2a1f67b261cca3be75fda95664c07956a905cbd | Fix #207 - Add BindingContext to BindingHandler method signatures (via @michaelaird) | nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,x335/scriptsharp | src/Libraries/Knockout/BindingHandler.cs | src/Libraries/Knockout/BindingHandler.cs | // BindingHandler.cs
// Script#/Libraries/Knockout
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Collections;
using System.Html;
using System.Runtime.CompilerServices;
namespace KnockoutApi {
/// <summary>
/// Represents a custom bind... | // BindingHandler.cs
// Script#/Libraries/Knockout
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Collections;
using System.Html;
using System.Runtime.CompilerServices;
namespace KnockoutApi {
/// <summary>
/// Represents a custom bind... | apache-2.0 | C# |
76f4c2663d4d30fc27947381bfb2b62175ebdd52 | Update Win32 Console Blink | treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk | NET/Demos/Console/Blink/Program.cs | NET/Demos/Console/Blink/Program.cs | using System;
using Treehopper;
using System.Threading.Tasks;
using Treehopper.Libraries;
using System.Diagnostics;
using System.Collections.Generic;
namespace Blink
{
/// <summary>
/// This demo blinks the built-in LED using basic procedural programming.
/// </summary>
/// <remarks>
/// <para>
... | using System;
using Treehopper;
using System.Threading.Tasks;
using Treehopper.Libraries;
using System.Diagnostics;
using System.Collections.Generic;
namespace Blink
{
/// <summary>
/// This demo blinks an LED attached to pin 1, using basic procedural programming.
/// </summary>
/// <remarks>
/// ... | mit | C# |
f3d18388248426248f6904417ab8b97d6f2816a5 | Build fix | FutureProcessing/TestCaseViewer,FutureProcessing/TestCaseViewer | src/Web/Modules/Queries/QueriesModule.cs | src/Web/Modules/Queries/QueriesModule.cs | using System;
using System.Collections.Generic;
using Microsoft.TeamFoundation.WorkItemTracking.Client;
using Tfs;
namespace Web.Modules.Queries
{
public class QueriesModule : BaseModule
{
public QueriesModule(QueriesService queries, TestCaseService testCases)
{
Get["que... | using System;
using System.Collections.Generic;
using Microsoft.TeamFoundation.WorkItemTracking.Client;
using Tfs;
namespace Web.Modules.Queries
{
public class QueriesModule : BaseModule
{
public QueriesModule(QueriesService queries, TestCaseService testCases)
{
Get["que... | apache-2.0 | C# |
3997a2f38b6c13d3a9261bed7edb18f0a13be8a7 | Make separators in More menu visible | sillsdev/hearthis,sillsdev/hearthis,sillsdev/hearthis | src/HearThis/UI/ToolStripColorArrowRenderer.cs | src/HearThis/UI/ToolStripColorArrowRenderer.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HearThis.UI
{
/// <summary>
/// This is apparently the only way we can make ToolStripDropDownButtons have non-black arrows.
/// It makes su... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HearThis.UI
{
/// <summary>
/// This is apparently the only way we can make ToolStripDropDownButtons have non-black arrows.
/// It makes su... | mit | C# |
95376d9f6fae50584122ffff76ed794eb08cbe29 | Use fractal noise for distortion of height borders | Saduras/TerrainGeneration,Saduras/TerrainGeneration,Saduras/TerrainGeneration | Assets/TerrainGeneration/Scripts/TerrainTexturer.cs | Assets/TerrainGeneration/Scripts/TerrainTexturer.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System;
[RequireComponent(typeof(Terrain))]
public class TerrainTexturer : MonoBehaviour {
[Serializable]
public class TTextureData
{
public Texture2D Tex;
public Texture2D NormalMap;
public Vector2 TileO... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System;
[RequireComponent(typeof(Terrain))]
public class TerrainTexturer : MonoBehaviour {
[Serializable]
public class TTextureData
{
public Texture2D Tex;
public Texture2D NormalMap;
public Vector2 TileO... | mit | C# |
0b5072768dbddde9048d009185c8ccbfefa663a6 | Remove TODO in Ghosthub.cs | harjup/WizardCentralServer,harjup/WizardCentralServer | WizardWebPage/GhostHub.cs | WizardWebPage/GhostHub.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.SignalR;
using WizardWebPage.Classes;
namespace WizardWebPage
{
public class GhostHub : Hub
{
private readonly GhostTracker _ghostTracker;
public const stri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.SignalR;
using WizardWebPage.Classes;
namespace WizardWebPage
{
public class GhostHub : Hub
{
//TODO: Data usage by...
//1) Map client Ids to sequential num... | bsd-2-clause | C# |
b728118c4ad0106156a428724a95aee51151a666 | Rename variable | eggapauli/MyDocs,eggapauli/MyDocs | Common.Test/ViewModel/ExportDocumentsCommandTest.cs | Common.Test/ViewModel/ExportDocumentsCommandTest.cs | using FakeItEasy;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MyDocs.Common.Contract.Service;
using MyDocs.Common.Model;
namespace MyDocs.Common.Test.ViewModel
{
public partial class DocumentViewModelTest
{
[TestMethod]
public void ExportDocumentsCommandSh... | using FakeItEasy;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MyDocs.Common.Contract.Service;
using MyDocs.Common.Model;
namespace MyDocs.Common.Test.ViewModel
{
public partial class DocumentViewModelTest
{
[TestMethod]
public void ExportDocumentsCommandSh... | mit | C# |
e972c7839ecc5ce13585d2028501a2fdfee1108b | Add shorter alias | meebey/ServiceStack,ZocDoc/ServiceStack,ZocDoc/ServiceStack,ZocDoc/ServiceStack,MindTouch/NServiceKit,nataren/NServiceKit,nataren/NServiceKit,nataren/NServiceKit,timba/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,NServiceKit/NServiceKit,timba/NServiceKit,NServiceKit/NServi... | src/ServiceStack.Common/Web/HttpResultExtensions.cs | src/ServiceStack.Common/Web/HttpResultExtensions.cs | using System;
using ServiceStack.Common.Utils;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.ServiceModel;
namespace ServiceStack.Common.Web
{
public static class HttpResultExtensions
{
/// <summary>
/// Shortcut to get the ResponseDTO whether it's bare or inside a IH... | using System;
using ServiceStack.Common.Utils;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.ServiceModel;
namespace ServiceStack.Common.Web
{
public static class HttpResultExtensions
{
/// <summary>
/// Shortcut to get the ResponseDTO whether it's bare or inside a IHttpResult
... | bsd-3-clause | C# |
6ed397d5617fce196ee6110fdfa81ff894433c3a | add MVC bits to empty (commented out) | IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates | src/IdentityServer4Empty/Startup.cs | src/IdentityServer4Empty/Startup.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namesp... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namesp... | apache-2.0 | C# |
3e8d4cd44803d49ae7af90221742db31e3631b0c | revert new c# features | neris/NGettext | src/NGettext/Loaders/ContentType.cs | src/NGettext/Loaders/ContentType.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace NGettext.Loaders
{
internal class ContentType
{
private static readonly Regex Regex = new Regex(@"^(?<type>\w+)\/(?<subType>\w+)(?:\s*;\s*(?<paramName>\w+)\s*=\s*(?<paramValue>(?:[0-9\w_-]+)|(?:"".+ ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace NGettext.Loaders
{
internal class ContentType
{
private static readonly Regex Regex = new Regex(@"^(?<type>\w+)\/(?<subType>\w+)(?:\s*;\s*(?<paramName>\w+)\s*=\s*(?<paramValue>(?:[0-9\w_-]+)|(?:"".+ ... | mit | C# |
a479ac990b603fce179bea250e195ed0d4b0e3ce | remove redudant property | christianacca/Cache-Abstraction,christianacca/Cache-Abstraction | src/CcAcca.CacheAbstraction/CacheBase.cs | src/CcAcca.CacheAbstraction/CacheBase.cs | // Copyright (c) 2014 Christian Crowhurst. All rights reserved.
// see LICENSE
using System;
namespace CcAcca.CacheAbstraction
{
/// <summary>
/// Convenience base class that provide some base functionality for implementors of the <see cref="ICache" />
/// interface
/// </summary>
public abstract... | // Copyright (c) 2014 Christian Crowhurst. All rights reserved.
// see LICENSE
using System;
namespace CcAcca.CacheAbstraction
{
/// <summary>
/// Convenience base class that provide some base functionality for implementors of the <see cref="ICache" />
/// interface
/// </summary>
public abstract... | mit | C# |
02b126da5662db54ad5554b7f352acde78232678 | Add SourceRectangle to XNAPictureBox | ethanmoffat/XNAControls | XNAPictureBox.cs | XNAPictureBox.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace XNAControls
{
public enum StretchMode
{
CenterInFrame,
Stretch
... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace XNAControls
{
public enum StretchMode
{
CenterInFrame,
Stretch
... | mit | C# |
3fc0517cda8c9768416018e8e00d403abfc7bf58 | update dotnet --help text | Faizan2304/cli,Faizan2304/cli,svick/cli,johnbeisner/cli,livarcocc/cli-1,svick/cli,mlorbetske/cli,nguerrera/cli,mlorbetske/cli,Faizan2304/cli,EdwardBlair/cli,AbhitejJohn/cli,blackdwarf/cli,EdwardBlair/cli,dasMulli/cli,harshjain2/cli,jonsequitur/cli,ravimeda/cli,AbhitejJohn/cli,jonsequitur/cli,johnbeisner/cli,AbhitejJohn... | src/dotnet/commands/dotnet-help/HelpCommand.cs | src/dotnet/commands/dotnet-help/HelpCommand.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.DotNet.Tools.Help
{
public class HelpCommand
{
p... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.DotNet.Tools.Help
{
public class HelpCommand
{
p... | mit | C# |
e20c25b0d95b782126d1d49d5c47ce89ecc1a7f3 | Fix miswritten test assertion | peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu | osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs | osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.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.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics.Containers;
using osu.Framework.Screens;
usin... | // 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.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics.Containers;
using osu.Framework.Screens;
usin... | mit | C# |
593155c700b2499323e39529c04143b9f7df9973 | Allow to inherit generic DbHook class | dombrovsky/EntityHooks | System.Data.Entity.Hooks/DbHook.cs | System.Data.Entity.Hooks/DbHook.cs | namespace System.Data.Entity.Hooks
{
/// <summary>
/// Database hook for entity type.
/// </summary>
/// <typeparam name="TEntity">Type of entity to hook.</typeparam>
public class DbHook<TEntity> : IDbHook where TEntity : class
{
private readonly Action<TEntity> _hookAction;
... | using System.Data.Entity.Infrastructure;
namespace System.Data.Entity.Hooks
{
/// <summary>
/// Database hook for entity type.
/// </summary>
/// <typeparam name="TEntity">Type of entity to hook.</typeparam>
public sealed class DbHook<TEntity> : IDbHook where TEntity : class
{
... | mit | C# |
4f6dd1586939eef71e4578131e4e5f55155421ad | Add legacy font lookup support for comma/percent | UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,peppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu | osu.Game/Skinning/LegacySpriteText.cs | osu.Game/Skinning/LegacySpriteText.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.Threading.Tasks;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Text;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Skinning
{
public c... | // 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.Threading.Tasks;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Text;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Skinning
{
public c... | mit | C# |
883cb7bf20964c493c27c2fb7f26e0f0b3e6ae4c | Revert "TimeSpectre" | BurningFlower/time-reaver,BurningFlower/time-reaver,BurningFlower/time-reaver | Assets/Scripts/TimeSpectre.cs | Assets/Scripts/TimeSpectre.cs | using UnityEngine;
using System.Collections;
public class TimeSpectre : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| using UnityEngine;
using System.Collections;
public class TimeSpectre : MonoBehaviour {
private int spectreStage;
private const int stages = 5;
private bool preparedChange;
public float force =3f;
public float distanceStage0=4f;
public float distanceStage3=4f;
public GameObject player;
// Use this for ini... | apache-2.0 | C# |
86010ea61d19536671d0c254870fb807b2cfcbf3 | Add OnDestroy to UrhoSurface to fix XForms issues | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | Bindings/Forms/UrhoSurface.cs | Bindings/Forms/UrhoSurface.cs | using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace Urho.Forms
{
public class UrhoSurface : Xamarin.Forms.View
{
internal Func<Type, ApplicationOptions, Task<Urho.Application>> UrhoApplicationLauncher { get; set; }
public async Task<TUrhoApplication> Show<TUrhoApplicatio... | using System;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace Urho.Forms
{
public class UrhoSurface : Xamarin.Forms.View
{
internal Func<Type, ApplicationOptions, Task<Urho.Application>> UrhoApplicationLauncher { get; set; }
public async Task<TUrhoApplication> Show<TUrhoApplicatio... | mit | C# |
20a655b8c12ea0bc06cad3cf3fa5a4cf6b009adf | Fix board Y scale | thijser/ARGAME,thijser/ARGAME,thijser/ARGAME | ARGame/Assets/Scripts/Core/BoardResizer.cs | ARGame/Assets/Scripts/Core/BoardResizer.cs | //----------------------------------------------------------------------------
// <copyright file="BoardResizer.cs" company="Delft University of Technology">
// Copyright 2015, Delft University of Technology
//
// This software is licensed under the terms of the MIT License.
// A copy of the license s... | //----------------------------------------------------------------------------
// <copyright file="BoardResizer.cs" company="Delft University of Technology">
// Copyright 2015, Delft University of Technology
//
// This software is licensed under the terms of the MIT License.
// A copy of the license s... | mit | C# |
df4bff834372040af3f675bc6e8bd75173399d4c | Rename DragData properties | ruisebastiao/CefSharp,battewr/CefSharp,windygu/CefSharp,Haraguroicha/CefSharp,Haraguroicha/CefSharp,yoder/CefSharp,Octopus-ITSM/CefSharp,AJDev77/CefSharp,NumbersInternational/CefSharp,ruisebastiao/CefSharp,zhangjingpu/CefSharp,twxstar/CefSharp,illfang/CefSharp,ITGlobal/CefSharp,ruisebastiao/CefSharp,VioletLife/CefSharp... | CefSharp/DragData.cs | CefSharp/DragData.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Generic;
namespace CefSharp
{
public class DragData
{
/// <summary>
/// Return the name of the ... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public class DragData
{
/// <summary>
/// Return the name of the file being dragged out of the brows... | bsd-3-clause | C# |
9d35c97347402fd0611536a75acd252a74f34a64 | fix cosmetic type names | overtools/OWLib,kerzyte/OWLib | DataTool/SaveLogic/Unlock/AnimationItem.cs | DataTool/SaveLogic/Unlock/AnimationItem.cs | using System.IO;
using DataTool.DataModels;
using DataTool.Flag;
using static DataTool.Helper.IO;
namespace DataTool.SaveLogic.Unlock {
public class AnimationItem {
public static void SaveItem(string basePath, string heroName, string containerName, string folderName, ICLIFlags flags, ItemInfo item) {
... | using System.IO;
using DataTool.DataModels;
using DataTool.Flag;
using static DataTool.Helper.IO;
namespace DataTool.SaveLogic.Unlock {
public class AnimationItem {
public static void SaveItem(string basePath, string heroName, string containerName, string folderName, ICLIFlags flags, ItemInfo item) {
... | mit | C# |
7bf30fd71813751643bed7c8b0e08f4660ba2049 | Update CORS code | rockfordlhotka/csla,JasonBock/csla,rockfordlhotka/csla,JasonBock/csla,JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla | Samples/ProjectTracker/ProjectTracker.AppServerCore/Startup.cs | Samples/ProjectTracker/ProjectTracker.AppServerCore/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Csla.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.AspNetCore.Server.Kestrel.Core;
namespace ProjectTracker.AppServerCore
{
pub... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Csla.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.AspNetCore.Server.Kestrel.Core;
namespace ProjectTracker.AppServerCore
{
pub... | mit | C# |
ec616e27f8c88d62c4ad96af0c83b902c4b5cc65 | Simplify debug view prop body | 0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced | Iced/Intel/InstructionListDebugView.cs | Iced/Intel/InstructionListDebugView.cs | /*
Copyright (C) 2018 de4dot@gmail.com
This file is part of Iced.
Iced is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | /*
Copyright (C) 2018 de4dot@gmail.com
This file is part of Iced.
Iced is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any lat... | mit | C# |
b4152cf17b20de3eac7a2ceda9fabc30cf9c7355 | Fix build | MetacoSA/NBitcoin,MetacoSA/NBitcoin,NicolasDorier/NBitcoin | NBitcoin/BIP174/PSBTSanityException.cs | NBitcoin/BIP174/PSBTSanityException.cs | using System;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace NBitcoin
{
public class PSBTException : InvalidOperationException
{
public PSBTException(IEnumerable<PSBTError> errors): base(GetMessage(errors))
{
Errors = errors.ToList();
}... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace NBitcoin
{
public class PSBTException : InvalidOperationException
{
public PSBTException(IEnumerable<PSBTError> errors): base(GetMessage(errors))
{
Errors = errors.ToList().AsRe... | mit | C# |
be17219f762fac98c8cba256c67be5bad8570ea4 | store customer's timezone so that other apps are able to represent customer-specific dates with less effort | eric-davis/JustSaying,Intelliflo/JustSaying,Intelliflo/JustSaying | JustEat.Simples.Common/DataModels/OrderContainer/CustomerInfo.cs | JustEat.Simples.Common/DataModels/OrderContainer/CustomerInfo.cs | namespace JustEat.Simples.Common.DataModels.OrderContainer
{
/// <summary>
/// Comprise information about customer.
/// </summary>
public class CustomerInfo
{
/// <summary>
/// Customer Identifier.
/// </summary>
public string Id { get; set; }
/// <summary>
... | namespace JustEat.Simples.Common.DataModels.OrderContainer
{
/// <summary>
/// Comprise information about customer.
/// </summary>
public class CustomerInfo
{
/// <summary>
/// Customer Identifier.
/// </summary>
public string Id { get; set; }
/// <summary>
... | apache-2.0 | C# |
02d53e3d46a050ec679729e61077d6a92d855947 | change shorthand of parameter to match other commands. | Prof9/PixelPet | PixelPet/Commands/ExtractPaletteCmd.cs | PixelPet/Commands/ExtractPaletteCmd.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace PixelPet.Commands {
internal class ExtractPaletteCmd : CliCommand {
public ExtractPaletteCmd()
: base("Extract-Palette", new ... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace PixelPet.Commands {
internal class ExtractPaletteCmd : CliCommand {
public ExtractPaletteCmd()
: base("Extract-Palette", new ... | mit | C# |
e879f4271d8395c92b8659bac547e68ba4db956c | add require tag | invisibledrygoods/RequireUnity | RequireUnity/Assets/Scripts/Require.cs | RequireUnity/Assets/Scripts/Require.cs | using UnityEngine;
using System.Collections.Generic;
using System;
namespace Require
{
public static class Require
{
public static T Require<T>(this Transform transform) where T : Component
{
var component = transform.GetComponent<T>();
if (component == null)
... | using UnityEngine;
using System.Collections.Generic;
using System;
namespace Require
{
public static class TransformExtension
{
public static T Require<T>(this Transform transform) where T : Component
{
var component = transform.GetComponent<T>();
if (component == null)... | bsd-2-clause | C# |
25752f565b8336dc77c33f574179635c8145219f | Update version | ninjanye/SearchExtensions | NinjaNye.SearchExtensions/Properties/AssemblyInfo.cs | NinjaNye.SearchExtensions/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("Ni... | 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("Ni... | mit | C# |
a9eedd8ba102e66fee27beb8fc2e746b1329c37e | Simplify LoadGoalEvent | Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder | PathfinderAPI/Event/Loading/Content/LoadGoalEvent.cs | PathfinderAPI/Event/Loading/Content/LoadGoalEvent.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using Hacknet;
using Hacknet.Mission;
using HarmonyLib;
using Mono.Cecil.Cil;
using MonoMod.Cil;
namespace Pathfinder.Event.Loading.Content
{
[HarmonyPatch]
public class LoadGoalEvent : PathfinderEvent
{
public Xm... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using Hacknet;
using Hacknet.Mission;
using HarmonyLib;
using Mono.Cecil.Cil;
using MonoMod.Cil;
namespace Pathfinder.Event.Loading.Content
{
[HarmonyPatch]
public class LoadGoalEvent : PathfinderEvent
{
public Xm... | mit | C# |
74043bd4cd7f6a92444f782d4215cbc9364f9cf5 | Change BuildConstants enum default to None. | Chaser324/unity-build | BuildConstants.cs | BuildConstants.cs | // This file is auto-generated. Do not modify or move this file.
public static class BuildConstants
{
public enum ReleaseType
{
None,
}
public enum Platform
{
None,
}
public enum Architecture
{
None,
}
public enum Distribution
{
None,
... | // This file is auto-generated. Do not modify or move this file.
public static class BuildConstants
{
public enum ReleaseType
{
NA
}
public enum Platform
{
NA
}
public enum Architecture
{
NA
}
public enum Distribution
{
NA
}
publi... | mit | C# |
a659135e32c751f4b573fd39a51d04712eec242c | Update AssemblyVersion. | PombeirP/ReSharper.AutoFormatOnSave | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Pedro Pombeiro">
// 2012 Pedro Pombeiro
// </copyright>
// --------------------------------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Pedro Pombeiro">
// 2012 Pedro Pombeiro
// </copyright>
// --------------------------------------------------------------------------------------------... | mit | C# |
30ceb2ed91637076d2cb7a024c1ecc74a5000657 | Apply a saving option only at it needed. | GeorgeAlexandria/CoCo | CoCo/VsPackage.cs | CoCo/VsPackage.cs | using System;
using System.Runtime.InteropServices;
using System.Windows;
using CoCo.UI;
using CoCo.UI.ViewModels;
using Microsoft.VisualStudio.Shell;
namespace CoCo
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[ProvideOptionPage(typeof(DialogOption), "CoCo", "CoCo",... | using System;
using System.Runtime.InteropServices;
using System.Windows;
using CoCo.UI;
using CoCo.UI.ViewModels;
using Microsoft.VisualStudio.Shell;
namespace CoCo
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading =true)]
[ProvideOptionPage(typeof(DialogOption), "CoCo", "CoCo", ... | mit | C# |
23b46b1084a21ea14ea997f6a3b3809d02b38bd9 | Create window tests | Ciesix/FusionMVVM,Dalstroem/FusionMVVM | FusionMVVM.Tests/Service/WindowLocatorTests/CreateWindowTests.cs | FusionMVVM.Tests/Service/WindowLocatorTests/CreateWindowTests.cs | using System;
using FusionMVVM.Service;
using FusionMVVM.Tests.Fakes;
using Xunit;
using Xunit.Extensions;
namespace FusionMVVM.Tests.Service.WindowLocatorTests
{
public class CreateWindowTests
{
[Theory, CustomAutoData]
public void NullViewModelThrowsException(WindowLocator sut, FakeViewModel... | using System;
using System.Windows;
using FusionMVVM.Service;
using FusionMVVM.Tests.Fakes;
using Xunit;
using Xunit.Extensions;
namespace FusionMVVM.Tests.Service.WindowLocatorTests
{
public class CreateWindowTests
{
[Theory, CustomAutoData]
public void NullViewModelThrowsException(WindowLoca... | mit | C# |
d9654318ba5faf0291dbe34f5bf138a63a57b669 | test change | Soothsilver/soothsharp | Sharpsilver.Translation/CompilationUnit.cs | Sharpsilver.Translation/CompilationUnit.cs | using Microsoft.CodeAnalysis.CSharp;
namespace Sharpsilver.Translation
{
/// <summary>
/// Represents a C# source file, along with information on the style of how it should be translated to Viper.
/// </summary>
public class CompilationUnit
{
public CSharpSyntaxTree RoslynTree { get; priva... | using Microsoft.CodeAnalysis.CSharp;
namespace Sharpsilver.Translation
{
public class CompilationUnit
{
public CSharpSyntaxTree RoslynTree { get; private set; }
public CompilationUnitVerificationStyle Style { get; private set; }
private CompilationUnit(CSharpSyntaxTree tree, Compilati... | mit | C# |
2612bec72772b146604a8de5b36d871a0b41b08e | Update "Database" | DRFP/Personal-Library | _Build/PersonalLibrary/Library/Database.cs | _Build/PersonalLibrary/Library/Database.cs | using Library.Model;
using System.Collections.Generic;
namespace Library {
public class Database {
public static List<Shelf> Shelves() {
var shelves = new List<Shelf>();
shelves.Add(new Shelf { slfName = "Reading now" });
shelves.Add(new Shelf { slfName = "To read" });
shelves.Add(new Shelf { slfName ... | using Library.Model;
using System.Collections.Generic;
namespace Library {
public class Database {
public static List<Shelf> Shelves() {
var shelves = new List<Shelf>();
shelves.Add(new Shelf { slfName = "Reading now" });
shelves.Add(new Shelf { slfName = "To read" });... | mit | C# |
ba6e1855a824ddb5f7c892fe6a9968328f6f0b5a | Add Pairwise tests for too short sequences (#577) | morelinq/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ,fsateler/MoreLINQ | MoreLinq.Test/PairwiseTest.cs | MoreLinq.Test/PairwiseTest.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// 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
//
// ... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// 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
//
// ... | apache-2.0 | C# |
98d8d02fd71db6ce36dcb98de8f9935a25ae34a8 | Edit it | sta/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,2Toad/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp | websocket-sharp/Server/HttpRequestEventArgs.cs | websocket-sharp/Server/HttpRequestEventArgs.cs | #region License
/*
* HttpRequestEventArgs.cs
*
* The MIT License
*
* Copyright (c) 2012-2015 sta.blockhead
*
* 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, incl... | #region License
/*
* HttpRequestEventArgs.cs
*
* The MIT License
*
* Copyright (c) 2012-2015 sta.blockhead
*
* 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, incl... | mit | C# |
6a13a7ebb82440ff18db94969c7df159a30d1b79 | Update _ViewImports.cshtml | paulvanbladel/aurelia-identityserver-aspnetcore,paulvanbladel/aurelia-identityserver-aspnetcore,paulvanbladel/aurelia-identityserver-aspnetcore,paulvanbladel/aurelia-identityserver-aspnetcore | BasicSetup/src/IdSvrHost/UI/_ViewImports.cshtml | BasicSetup/src/IdSvrHost/UI/_ViewImports.cshtml | @using IdSvrHost
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
@addTagHelper "*, IdSvrHost"
| @using IdSvrHost
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
<<<<<<< HEAD
@addTagHelper "*, IdSvrHost"
=======
@addTagHelper "*, IdSvrHost.UI.TagHelpers"
>>>>>>> 3677175260f2514d2fe8b9404a1aa43e409db059
| mit | C# |
c733f46f7d68b7af2bd78787caa266280dcdf054 | Implement a particle link. | ajon542/cyclone-physics-csharp | Assets/Cyclone/Scripts/PLinks.cs | Assets/Cyclone/Scripts/PLinks.cs | using System;
using Cyclone.Math;
namespace Cyclone
{
/// <summary>
/// Links connect two particles together, generating a contact if
/// they violate the constraints of their link. It is used as a base
/// class for cables and rods, and could be used as a base class for
/// springs with ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cyclone
{
class PLinks
{
}
}
| mit | C# |
8164b3600dbebd3e7e2d8edf1917bb1f8f317683 | Update LocalStorageFileSystem.cs | A51UK/File-Repository | File-Repository/Local/LocalStorageFileSystem.cs | File-Repository/Local/LocalStorageFileSystem.cs | /*
* Copyright 2017 Craig Lee Mark Adams
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 or agree... | /*
* Copyright 2017 Criag Lee Mark Adams
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 or agree... | apache-2.0 | C# |
4b42f28cf7c94d374cf548b672e2da6971d06c29 | Fix construction button not working (#12033) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Client/UserInterface/Systems/Crafting/CraftingUIController.cs | Content.Client/UserInterface/Systems/Crafting/CraftingUIController.cs | using Content.Client.Construction.UI;
using Content.Client.Gameplay;
using Content.Client.UserInterface.Controls;
using JetBrains.Annotations;
using Robust.Client.UserInterface.Controllers;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.Utility;
namespace Content.Client.UserInterface.Systems.Crafting;... | using Content.Client.Construction.UI;
using Content.Client.Gameplay;
using Content.Client.UserInterface.Controls;
using JetBrains.Annotations;
using Robust.Client.UserInterface.Controllers;
using Robust.Shared.Utility;
namespace Content.Client.UserInterface.Systems.Crafting;
[UsedImplicitly]
public sealed class Craf... | mit | C# |
ebb2eb6f51205a6f370ed8fa614cbea7750ebb46 | Fix wrong render order key bit shift | helix-toolkit/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit,JeremyAnsel/helix-toolkit | Source/HelixToolkit.SharpDX.Shared/Model/OrderKey.cs | Source/HelixToolkit.SharpDX.Shared/Model/OrderKey.cs | using System;
using System.Runtime.CompilerServices;
#if NETFX_CORE
namespace HelixToolkit.UWP.Model
#else
namespace HelixToolkit.Wpf.SharpDX.Model
#endif
{
/// <summary>
/// Render order key
/// </summary>
public struct OrderKey : IComparable<OrderKey>
{
public uint Key;
public O... | using System;
using System.Runtime.CompilerServices;
#if NETFX_CORE
namespace HelixToolkit.UWP.Model
#else
namespace HelixToolkit.Wpf.SharpDX.Model
#endif
{
/// <summary>
/// Render order key
/// </summary>
public struct OrderKey : IComparable<OrderKey>
{
public uint Key;
public O... | mit | C# |
5d5c601440df11016c90d1e6e0907c532a52ef7d | Add unit test | visualeyes/cabinet,visualeyes/cabinet,visualeyes/cabinet | test/Cabinet.Tests/Migrator/FileCabinetFactoryExtensionsFacts.cs | test/Cabinet.Tests/Migrator/FileCabinetFactoryExtensionsFacts.cs | using Cabinet.Core;
using Cabinet.Migrator;
using Cabinet.Migrator.Migration;
using Cabinet.Migrator.Replication;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Cabinet.Tests.Migrator {
public class FileCabinetF... | using Cabinet.Core;
using Cabinet.Migrator;
using Cabinet.Migrator.Migration;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Cabinet.Tests.Migrator {
public class FileCabinetFactoryExtensionsFacts {
[Fa... | mit | C# |
7e9528afd58a2099dd37e8622a999904c53acdea | Update assemblyinfo. | GeirGrusom/ModGL | ModGL/Properties/AssemblyInfo.cs | ModGL/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("ModGL")]
[assembly: AssemblyDescription("... | 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("Mo... | lgpl-2.1 | C# |
f88cf225ae6122fd0d5027003676df6afea3981c | Add tag show case | mvno/Okanshi,mvno/Okanshi,mvno/Okanshi | samples/Okanshi.Sample/Program.cs | samples/Okanshi.Sample/Program.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Okanshi;
using Newtonsoft.Json;
namespace Okanshi.Sample
{
public class Program
{
public static readonly AutoResetEvent closing = new AutoResetEvent(false);
public static IMetricPoller poller;
public static IProc... | using System;
using System.Threading;
using System.Threading.Tasks;
using Okanshi;
using Newtonsoft.Json;
namespace Okanshi.Sample
{
public class Program
{
public static readonly AutoResetEvent closing = new AutoResetEvent(false);
public static IMetricPoller poller;
public static IProc... | mit | C# |
d7409c2d3f737e402c740ea61c8d50c8e52d217c | Change version number | MichalJankowskii/FluentValidation.Validators.UnitTestExtension | src/FluentValidation.Validators.UnitTestExtension/Properties/SharedAssemblyInfo.cs | src/FluentValidation.Validators.UnitTestExtension/Properties/SharedAssemblyInfo.cs | #region License
// MIT License
//
// Copyright(c) 2016 Michał Jankowski (http://www.jankowskimichal.pl)
//
// 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... | #region License
// MIT License
//
// Copyright(c) 2016 Michał Jankowski (http://www.jankowskimichal.pl)
//
// 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... | mit | C# |
884cf154d6bd86edb18e9283fdf5a70fac0dd4c1 | use list of datatypes | GeertBellekens/UML-Tooling-Framework,GeertBellekens/UML-Tooling-Framework | SchemaBuilderFramework/Schema.cs | SchemaBuilderFramework/Schema.cs |
using System;
using System.Collections.Generic;
using TSF.UmlToolingFramework.UML.Classes.Kernel;
using UML=TSF.UmlToolingFramework.UML;
namespace SchemaBuilderFramework
{
/// <summary>
/// A Schema is the represenation of a part of the model that can be used as a message
/// </summary>
public interface Schema
... |
using System;
using System.Collections.Generic;
using TSF.UmlToolingFramework.UML.Classes.Kernel;
using UML=TSF.UmlToolingFramework.UML;
namespace SchemaBuilderFramework
{
/// <summary>
/// A Schema is the represenation of a part of the model that can be used as a message
/// </summary>
public interface Schema
... | bsd-2-clause | C# |
f1f7a26dbde356fe16e97f82311d1f41d0814f4f | Fix incorrect inheritance. | DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,ZLima12/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,naoey/osu,peppy/osu,ZLima12/osu,johnneijzen/osu,naoey/osu,EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,tacchinotacchi/osu,smoogipoo/osu,smoogipoo/osu,DrabWeb/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,... | osu.Game/Users/Team.cs | osu.Game/Users/Team.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Users
{
public class Team
{
public string Name;
}
}
| // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Users
{
public class Team : Country
{
public string Name;
}
}
| mit | C# |
c6d3ff5295f91407e9e9c781e0251dbc7a64e3f8 | Use Enum types in Subscription class, NewtonSoft Deserializes automatically | crashdavis23/InstaSharp,3nGercog/InstaSharp,theShiva/InstaSharp,danielmundim/InstaSharp,InstaSharp/InstaSharp,3nGercog/InstaSharp,theShiva/InstaSharp,crashdavis23/InstaSharp,danielmundim/InstaSharp | src/InstaSharp/Models/Subscription.cs | src/InstaSharp/Models/Subscription.cs | using System;
using Newtonsoft.Json;
namespace InstaSharp.Models {
public class Subscription {
/// <summary>
/// The newly created subscriptionId
/// </summary>
public String Id { get; set; }
/// <summary>
/// Should be "subscription"
/// </summary>
... | using System;
using Newtonsoft.Json;
namespace InstaSharp.Models {
public class Subscription {
/// <summary>
/// The newly created subscriptionId
/// </summary>
public String Id { get; set; }
/// <summary>
/// Should be "subscription"
/// </summary>
... | apache-2.0 | C# |
23d2e5a8f85388d628344f863bb9e48fa6316d63 | update semver pattern for Testing.WebApi beta | aranasoft/cobweb | src/Testing.WebApi/Properties/AssemblyInfo.cs | src/Testing.WebApi/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("Co... | 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("Co... | bsd-3-clause | C# |
d9b73e581e1072c2e24c2c522c64a232a25347ec | Delete unused code | simontaylor81/ShaderUnit | src/ShaderUnit/Core/RenderTestBase.cs | src/ShaderUnit/Core/RenderTestBase.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
using ShaderUnit.Interfaces;
using ShaderUnit.Reporting;
using ShaderUnit.TestRenderer;
using ShaderUnit.Ut... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
using ShaderUnit.Interfaces;
using ShaderUnit.Reporting;
using ShaderUnit.TestRenderer;
using ShaderUnit.Ut... | mit | C# |
e5fee9264ddf93537c01481c12fe6ca55a98fcc6 | add tests for configuration sources | Pondidum/Stronk,Pondidum/Stronk | src/Stronk.Tests/StronkConfigTests.cs | src/Stronk.Tests/StronkConfigTests.cs | using System.Collections.Generic;
using Shouldly;
using Stronk.ConfigurationSourcing;
using Stronk.Policies;
using Xunit;
namespace Stronk.Tests
{
public class StronkConfigTests
{
private IStronkConfig _config;
[Fact]
public void When_nothing_is_specified()
{
_config = new StronkConfig() as IStronkConfi... | using Shouldly;
using Stronk.Policies;
using Xunit;
namespace Stronk.Tests
{
public class StronkConfigTests
{
[Fact]
public void When_nothing_is_specified()
{
var config = new StronkConfig() as IStronkConfig;
config.ShouldSatisfyAllConditions(
() => config.ConfigSources.ShouldBe(Default.Configurati... | lgpl-2.1 | C# |
a31770f87435d17fc141da8be863640ed12c4278 | Comment unused code. | gyrosworkshop/Wukong,gyrosworkshop/Wukong | src/Wukong/Services/ChannelManager.cs | src/Wukong/Services/ChannelManager.cs | using System.Collections.Generic;
namespace Wukong.Services
{
// interface IChannelManager
// {
//
// }
// public class ChannelManager : IChannelManager
// {
// private ISocketManager socketManager;
// private IProvider provider;
// public ChannelManager(ISocketManager socke... | using System.Collections.Generic;
namespace Wukong.Services
{
interface IChannelManager
{
}
public class ChannelManager : IChannelManager
{
private ISocketManager socketManager;
private IProvider provider;
public ChannelManager(ISocketManager socketManager, IProvide... | mit | C# |
905f9707314cc608ce8f6b6782e10de6d9ed2551 | Write directly to a FileStream when writing the output file | Thealexbarney/LibDspAdpcm,Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm,Thealexbarney/VGAudio | DspAdpcm/DspAdpcm.Cli/DspAdpcmCli.cs | DspAdpcm/DspAdpcm.Cli/DspAdpcmCli.cs | using System;
using System.Diagnostics;
using System.IO;
using DspAdpcm.Lib.Adpcm;
using DspAdpcm.Lib.Adpcm.Formats;
using DspAdpcm.Lib.Pcm;
using DspAdpcm.Lib.Pcm.Formats;
namespace DspAdpcm.Cli
{
public static class DspAdpcmCli
{
public static int Main(string[] args)
{
if (args.L... | using System;
using System.Diagnostics;
using System.IO;
using DspAdpcm.Lib.Adpcm;
using DspAdpcm.Lib.Adpcm.Formats;
using DspAdpcm.Lib.Pcm;
using DspAdpcm.Lib.Pcm.Formats;
namespace DspAdpcm.Cli
{
public static class DspAdpcmCli
{
public static int Main(string[] args)
{
if (args.L... | mit | C# |
a1c60447ec69949ea9b5ece04f7fec23c4827849 | Add placeholder for testing retrieving POs | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Tests/AirTableServiceTests.cs | Battery-Commander.Tests/AirTableServiceTests.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
using Xunit;
namespace BatteryCommander.Tests
{
public class AirTableServiceTests
{
private const String AppKey = "";
private const String Ba... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
using Xunit;
namespace BatteryCommander.Tests
{
public class AirTableServiceTests
{
private const String AppKey = "";
private const String Ba... | mit | C# |
e51d41b95238ad7da25126a5e23a72306ef0a53c | Add details page for ABCP | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/ABCP/Details.cshtml | Battery-Commander.Web/Views/ABCP/Details.cshtml | @model ABCP
@if (Model.RequiresTape && !Model.Measurements.Any())
{
<div class="alert alert-danger">
Soldier requires taping. Please @Html.ActionLink("add measurements", "Measurements", new { Model.Id }, new { @class = "btn btn-danger" })
</div>
}
@if (!Model.IsPassing && Model.Measurements.Any())
... | @model ABCP
@if (!Model.IsPassing)
{
@Html.ActionLink("Generate Counseling", "Counseling", "ABCP", new { Model.Id }, new { @class = "btn btn-default" })
}
<fieldset>
<legend>ABCP for @Html.DisplayFor(model => model.Soldier) on @Html.DisplayFor(model => model.Date)</legend>
</fieldset>
<div>
@using (Html... | mit | C# |
10fcf300e2093a197e0cc9187b7efefc2fa870f8 | Handle global errors | sakapon/Tools-2016 | FileReplacer/FileReplacer/Program.cs | FileReplacer/FileReplacer/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FileReplacer
{
class Program
{
static int Main(string[] args)
{
if (args.Length < 3)
{
Console.WriteLine($"Usage: {nameof(FileReplacer)} dirPath ol... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FileReplacer
{
class Program
{
static int Main(string[] args)
{
if (args.Length < 3)
{
Console.WriteLine($"Usage: {nameof(FileReplacer)} dirPath ol... | mit | C# |
e92db079058e4700d85110db9897db5fbefde469 | Bump Assembly version to 1.0.0.9 | ddobric/durabletask,Azure/durabletask,affandar/durabletask | Framework/Properties/AssemblyInfo.cs | Framework/Properties/AssemblyInfo.cs | // ----------------------------------------------------------------------------------
// Copyright Microsoft Corporation
// 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.... | // ----------------------------------------------------------------------------------
// Copyright Microsoft Corporation
// 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-2.0 | C# |
b1bcf293cb3d0cbaaf68d7fd66a6d694c2c924fd | fix xsd namespace | wikibus/Rdf.Vocabularies | Rdf.Vocabularies/NonGenerated/Xsd.cs | Rdf.Vocabularies/NonGenerated/Xsd.cs | // <auto-generated />
namespace Vocab
{
/// <summary>XML Schema Vocabulary (http://www.w3.org/2001/XMLSchema#).</summary>
public static partial class Xsd
{
public const string Prefix = "xsd";
public const string BaseUri = "http://www.w3.org/2001/XMLSchema#";
public const string gY... | // <auto-generated />
namespace wikibus.common.Vocabularies
{
/// <summary>XML Schema Vocabulary (http://www.w3.org/2001/XMLSchema#).</summary>
public static partial class Xsd
{
public const string Prefix = "xsd";
public const string BaseUri = "http://www.w3.org/2001/XMLSchema#";
... | mit | C# |
0414620405287a151f789abbc234f5f4494c9ffd | Implement Texture2D | ThuCommix/Sharpex2D | Sharpex2D/Framework/Rendering/GDI/GdiTexture.cs | Sharpex2D/Framework/Rendering/GDI/GdiTexture.cs | using System.Drawing;
using Sharpex2D.Framework.Content.Pipeline;
namespace Sharpex2D.Framework.Rendering.GDI
{
[Developer("ThuCommix", "developer@sharpex2d.de")]
[Copyright("©Sharpex2D 2013 - 2014")]
[TestState(TestState.Tested)]
[Content("Graphics Device Interface Texture")]
public class GDIText... | using System.Drawing;
using Sharpex2D.Framework.Content.Pipeline;
namespace Sharpex2D.Framework.Rendering.GDI
{
[Developer("ThuCommix", "developer@sharpex2d.de")]
[Copyright("©Sharpex2D 2013 - 2014")]
[TestState(TestState.Tested)]
[Content("Graphics Device Interface Texture")]
public class GdiText... | mit | C# |
2b56ee8ff2afc1f044bcfa66519d898a06e0e4f7 | Update Assembly Version | mruhul/Bolt.Cache,mruhul/Bolt.Cache | Src/Bolt.Cache.Redis/Properties/AssemblyInfo.cs | Src/Bolt.Cache.Redis/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("Bo... | 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("Bo... | apache-2.0 | C# |
52053d615dd371fa54d9339a8a4c32435626f058 | Change version to 5 | chopshop-166/ChopshopSignin,mwoden/ChopshopSignin | ChopshopSignin/Properties/AssemblyInfo.cs | ChopshopSignin/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
// ass... | 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
// ass... | mit | C# |
cb01f0b0bdf86afe42145eeea857be43caa2a959 | Address PR feedback and add comment | reaction1989/roslyn,TyOverby/roslyn,ErikSchierboom/roslyn,robinsedlaczek/roslyn,ErikSchierboom/roslyn,heejaechang/roslyn,nguerrera/roslyn,ErikSchierboom/roslyn,tmeschter/roslyn,abock/roslyn,CaptainHayashi/roslyn,xasx/roslyn,pdelvo/roslyn,bartdesmet/roslyn,MichalStrehovsky/roslyn,pdelvo/roslyn,zooba/roslyn,AnthonyDGreen... | src/Test/Utilities/Portable/Extensions/SemanticModelExtensions.cs | src/Test/Utilities/Portable/Extensions/SemanticModelExtensions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Test.Extensions
{
public static class SemanticModelExtensions
{
public static IOperation GetOperationInterna... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Test.Extensions
{
public static class SemanticModelExtensions
{
public static IOperation GetOperationInterna... | apache-2.0 | C# |
39e92bb03fa6b33620589e634d33260c74d38c53 | Simplify constructor. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Legal/LegalDocuments.cs | WalletWasabi/Legal/LegalDocuments.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.Legal
{
public class LegalDocuments
{
publ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.Legal
{
public class LegalDocuments
{
publ... | mit | C# |
98680be625e7efbecd17ddcf80d1ee7b9091d558 | Revert PSR report to use backtest result PSR statistic instead | jameschch/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,AlexCatarino/Lean,jameschch/Lean,QuantConnect/Lean,JKarathiya/Lean,JKarathiya/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,JKarathiya/Lean,QuantConnect/Lean,jameschch/Lean,QuantConnect/Lean,AlexCatarino/Lean,jameschch/Lean,StefanoRaggi/Lean,JKarathiya/Lea... | Report/ReportElements/PSRReportElement.cs | Report/ReportElements/PSRReportElement.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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... | apache-2.0 | C# |
a99c3d54b3a547a15fcfd3f4229c714c7dc62549 | test commit | zergmk2/MyJiraWork | WorkTracker/Command/ListUserStory.cs | WorkTracker/Command/ListUserStory.cs | using System;
using System.IO;
using WorkTracker.RestEngine;
using WorkTracker.Utils;
namespace WorkTracker.Command
{
public static class ListUserStory
{
public static async void ListUserStories()
{
if (!File.Exists(Common.UserSettingFilePath))
{
SetUpUs... | using System;
using System.IO;
using WorkTracker.RestEngine;
using WorkTracker.Utils;
namespace WorkTracker.Command
{
public static class ListUserStory
{
public static async void ListUserStories()
{
if (!File.Exists(Common.UserSettingFilePath))
{
SetUpUs... | mit | C# |
f7e90ae8c35faf17d2fcae4ef0a9d2e2d27adcc5 | Define fields | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
... | namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
... | apache-2.0 | C# |
a392e4cbffae2a5baab68ec3d81130733bfc24b6 | Fix state.grr on macOS | awaescher/RepoZ,awaescher/RepoZ | grr/History/FileHistoryRepository.cs | grr/History/FileHistoryRepository.cs | using Microsoft.Win32;
using RepoZ.Ipc;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace grr.History
{
public class FileHistoryRepository : IHistoryRepository
{
public void Save(State state)
{
// if multiple reposit... | using Microsoft.Win32;
using RepoZ.Ipc;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace grr.History
{
public class FileHistoryRepository : IHistoryRepository
{
public static string RegistryPath { get; } = @"Software\Rep... | mit | C# |
e056e6b5a4bbc90535a970cfb30ac2ca4ec258fd | Fix category of revision log RSS feeds. | pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac | templates/log_rss.cs | templates/log_rss.cs | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | bsd-3-clause | C# |
337354a73e3708ee40e4b5ad1854f8360383600c | Make regionidentifier optional | appharbor/appharbor-cli | src/AppHarbor/IAppHarborClient.cs | src/AppHarbor/IAppHarborClient.cs | using System;
using AppHarbor.Model;
namespace AppHarbor
{
public interface IAppHarborClient
{
CreateResult<string> CreateApplication(string name, string regionIdentifier = null);
}
}
| using System;
using AppHarbor.Model;
namespace AppHarbor
{
public interface IAppHarborClient
{
CreateResult<string> CreateApplication(string name, string regionIdentifier);
}
}
| mit | C# |
f3baf16f7888ca707efad860fabfb7ecfa89e357 | include async methods | josealencar/Aritter,josealencar/Aritter,josealencar/Aritter,arsouza/Aritter,aritters/Ritter,arsouza/Aritter,josealencar/Aritter,josealencar/Aritter | src/Aritter.Domain/IRepository.cs | src/Aritter.Domain/IRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Aritter.Domain
{
public interface IRepository
{
#region Methods
int Count<TEntity>() where TEntity : class, IEntity;
Task<int> CountAsync<TEntity>() where TEntity : class,... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Aritter.Domain
{
public interface IRepository
{
#region Methods
int Count<TEntity>() where TEntity : class, IEntity;
int Count<TEntity>(Expression<Func<TEntity, bool>> pre... | mit | C# |
54f33523c161803d0d421d0b651814204df02b79 | Update nuget package version to beta02 | Jericho/CakeMail.RestClient | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.cs | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | mit | C# |
7bb057d1b1a309e46366eee5e8b8ddca46fc9550 | Make attribute sealed. https://docs.microsoft.com/en-gb/visualstudio/code-quality/ca1813?view=vs-2019 | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Rpc/JsonRpcMethodAttribute.cs | WalletWasabi.Gui/Rpc/JsonRpcMethodAttribute.cs | using System;
namespace WalletWasabi.Gui.Rpc
{
/// <summary>
/// Class used to decorate service methods and map them with their rpc method name.
/// </summary>
[AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
public sealed class JsonRpcMethodAttribute : Attribute
{
public strin... | using System;
namespace WalletWasabi.Gui.Rpc
{
/// <summary>
/// Class used to decorate service methods and map them with their rpc method name.
/// </summary>
[AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = true)]
public class JsonRpcMethodAttribute : Attribute
{
public string Name ... | mit | C# |
4b220e13fbbc031b33e7c49f8286c07588d25a3b | work in progress | smartmobili/CocoaBuilder,smartmobili/CocoaBuilder,smartmobili/CocoaBuilder,smartmobili/CocoaBuilder,smartmobili/CocoaBuilder | XibParser/AppKit/Button/NSButtonImageSource.cs | XibParser/AppKit/Button/NSButtonImageSource.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Smartmobili.Cocoa
{
//https://github.com/gnustep/gnustep-gui/blob/master/Source/NSButtonImageSource.h
//https://github.com/gnustep/gnustep-gui/blob/master/Source/NSButtonImageSource.m
public class NSBu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Smartmobili.Cocoa
{
public class NSButtonImageSource : NSObject
{
new public static Class Class = new Class(typeof(NSButtonImageSource));
new public static NSButtonImageSource Alloc() { re... | lgpl-2.1 | C# |
f7509251ec5cabbf2c7b5f0ae14154ac1b4e72a1 | implement ClassifierTest | myxini/block-program | block-program/RecognitionTest/ClassifierTest.cs | block-program/RecognitionTest/ClassifierTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Myxini.Recognition;
using Myxini.Recognition.Image;
using Myxini.Recognition.Properties;
using System.Drawing;
namespace RecognitionTest
{
[TestClass]
public class ClassifierTest
{
[TestMethod]
public void ClusteringT... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Myxini.Recognition;
namespace RecognitionTest
{
[TestClass]
public class ClassifierTest
{
[TestMethod]
public void ClusteringTest()
{
var classifier = new Classifier();
}
}
}
| mit | C# |
ce7a5e8914af475684e95d6420d6aa2ff8ff7055 | Update visual style to match new notes | ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,DrabWeb/osu,ZLima12/osu,UselessToucan/osu,DrabWeb/osu,smoogipooo/osu,naoey/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu-new,naoey/osu,peppy/osu,smoogipoo/osu,naoey/osu,NeoAdonis/osu,2yangk... | osu.Game.Rulesets.Mania/Edit/Layers/Selection/Overlays/NoteMask.cs | osu.Game.Rulesets.Mania/Edit/Layers/Selection/Overlays/NoteMask.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.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Mania.Ob... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
us... | mit | C# |
e2194f3e9e32bb221cb35fa9cc59a043300d603a | Switch around registration order for signalr | mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewic... | src/Glimpse.Server.Web/GlimpseServerServiceCollectionExtensions.cs | src/Glimpse.Server.Web/GlimpseServerServiceCollectionExtensions.cs | using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System;
namespace Glimpse
{
public static class GlimpseServerServiceCollectionExtensions
{
public static IServiceCollection RunningServer(this IServiceCollection services)
{
services.... | using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System;
namespace Glimpse
{
public static class GlimpseServerServiceCollectionExtensions
{
public static IServiceCollection RunningServer(this IServiceCollection services)
{
UseSignal... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.