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 |
|---|---|---|---|---|---|---|---|---|
f3f32c4c7f477c1c4cdd208e5bf530f196f8ec72 | fix unpublic, add test case for CardRecordID | NCTUGDC/HearthStone | HearthStone/HearthStone.Library.Test/CardRecordUnitTest.cs | HearthStone/HearthStone.Library.Test/CardRecordUnitTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthStone.Library.Test
{
[TestClass]
public class CardRecordUnitTest
{
class TestCardRecord : CardRecord
{
... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HearthStone.Library.Test
{
[TestClass]
public class CardRecordUnitTest
{
class TestCardRecord : CardRecord
{
... | apache-2.0 | C# |
7835076aec203474c110d5ba4427a476a1801004 | Add support for MSDIA140 to DIA-based CoreRT/.NETNative StackTraceGenerator on Windows | botaberg/corert,shrah/corert,tijoytom/corert,botaberg/corert,tijoytom/corert,krytarowski/corert,shrah/corert,gregkalapos/corert,shrah/corert,botaberg/corert,gregkalapos/corert,yizhang82/corert,gregkalapos/corert,botaberg/corert,gregkalapos/corert,yizhang82/corert,krytarowski/corert,krytarowski/corert,yizhang82/corert,k... | src/System.Private.StackTraceGenerator/src/Internal/Dia/Guids.cs | src/System.Private.StackTraceGenerator/src/Internal/Dia/Guids.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.Diagnostics;
using System.Collections.Generic;
namespace Internal.StackGenerator.Dia
{
... | // 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.Diagnostics;
using System.Collections.Generic;
namespace Internal.StackGenerator.Dia
{
... | mit | C# |
724e70a658a12220d6cddc7324a5ff1b604a8986 | Add UIComponent_ComponentLocation test | atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata.Tests/UIComponentTest.cs | src/Atata.Tests/UIComponentTest.cs | using NUnit.Framework;
namespace Atata.Tests
{
public class UIComponentTest : AutoTest
{
[Test]
public void UIComponent_ComponentLocation()
{
int y;
Go.To<InputPage>().
TextInput.ComponentLocation.X.Should.BeGreater(10).
... | using NUnit.Framework;
namespace Atata.Tests
{
public class UIComponentTest : AutoTest
{
[Test]
public void UIComponent_ComponentSize()
{
int height;
Go.To<InputPage>().
TextInput.ComponentSize.Width.Should.BeGreater(20).
... | apache-2.0 | C# |
fc8ab0b762c27fb91718b447511097478c435b1e | fix issue wrong type check while loading saved settings | kubdotnet/LedControllerEngine | LedControllerEngine/Assets/Effects/SplitSides/SplitSides.cs | LedControllerEngine/Assets/Effects/SplitSides/SplitSides.cs | using System;
using System.Collections.Generic;
namespace LedControllerEngine.Assets.Effects
{
public class SplitSides : IEffect
{
public string Name { get => "Split Sides"; }
public int ModeNumber { get => 7; }
public Guid Id { get => new Guid("8FAB810D-A27C-401F-8D01-26A88EAA6612"); ... | using System;
using System.Collections.Generic;
namespace LedControllerEngine.Assets.Effects
{
public class SplitSides : IEffect
{
public string Name { get => "Split Sides"; }
public int ModeNumber { get => 7; }
public Guid Id { get => new Guid("8FAB810D-A27C-401F-8D01-26A88EAA6612"); ... | mit | C# |
22648d3f437934156b59113d5576d79c79e72b0a | Use SingleOrDefault as we may not know all WhatMine.com algorithms | nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.WhatMine/Extensions/CoinInformationExtensions.cs | MultiMiner.WhatMine/Extensions/CoinInformationExtensions.cs | using MultiMiner.CoinApi.Data;
using MultiMiner.Xgminer.Data;
using Newtonsoft.Json.Linq;
using System;
using System.Linq;
namespace MultiMiner.WhatMine.Extensions
{
public static class CoinInformationExtensions
{
public static void PopulateFromJson(this CoinInformation coinInformation, JToken jToken)... | using MultiMiner.CoinApi.Data;
using MultiMiner.Xgminer.Data;
using Newtonsoft.Json.Linq;
using System.Linq;
namespace MultiMiner.WhatMine.Extensions
{
public static class CoinInformationExtensions
{
public static void PopulateFromJson(this CoinInformation coinInformation, JToken jToken)
{
... | mit | C# |
b3d1e1bfac791496690261dddba6f8ea2dd61ebd | Fix example notification timer breaking on skip (forward mouse button or Enter) | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Notification/Example/FormNotificationExample.cs | Core/Notification/Example/FormNotificationExample.cs | using System.Windows.Forms;
using TweetDuck.Core.Controls;
using TweetDuck.Plugins;
using TweetDuck.Resources;
namespace TweetDuck.Core.Notification.Example{
sealed class FormNotificationExample : FormNotificationMain{
public override bool RequiresResize => true;
protected override bool CanDragWin... | using System.Windows.Forms;
using TweetDuck.Core.Controls;
using TweetDuck.Plugins;
using TweetDuck.Resources;
namespace TweetDuck.Core.Notification.Example{
sealed class FormNotificationExample : FormNotificationMain{
public override bool RequiresResize => true;
protected override bool CanDragWin... | mit | C# |
5aced720db0681e7dbe5610fc0135f9f365d8799 | Switch to JSON.NET serialiser. | modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS | DanTup.DartAnalysis/Infrastructure/JsonSerialiser.cs | DanTup.DartAnalysis/Infrastructure/JsonSerialiser.cs | using System;
using System.Web.Script.Serialization;
using Newtonsoft.Json;
namespace DanTup.DartAnalysis
{
/// <summary>
/// Serialises and deserialises objects to/from JSON.
/// </summary>
class JsonSerialiser
{
/// <summary>
/// Serialises the provided object into JSON.
/// </summary>
/// <param name=... | using System;
using System.Web.Script.Serialization;
namespace DanTup.DartAnalysis
{
/// <summary>
/// Serialises and deserialises objects to/from JSON.
/// </summary>
class JsonSerialiser
{
readonly JavaScriptSerializer serialiser = new JavaScriptSerializer();
/// <summary>
/// Serialises the provided ob... | mit | C# |
a7519637f961d11dc38c313f4b622819805f0b19 | Test condition on related not included values | Vavro/Tests,Vavro/Tests,Vavro/Tests,Vavro/Tests | EntityFrameworkTests/EntityFrameworkTests/Program.cs | EntityFrameworkTests/EntityFrameworkTests/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntityFramework.Northwind.Entities;
namespace EntityFrameworkTests
{
class Program
{
static void Main(string[] args)
{
//TestNotIncludedQuery();
us... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntityFramework.Northwind.Entities;
namespace EntityFrameworkTests
{
class Program
{
static void Main(string[] args)
{
using (var context = new NORTHWNDEntities... | mit | C# |
ec91388110d96472ce1b416ff2f59e27134f8e95 | Update FormItemModel.cs | bluemner/FormsGenerator,bluemner/FormsGenerator,bluemner/FormsGenerator | FormsGeneratorWebApplication/Models/FormItemModel.cs | FormsGeneratorWebApplication/Models/FormItemModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
namespace FormsGeneratorWebApplication.Models
{
public class FormItemModel
{
public int postion { get; set; }
public string question { get... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
namespace FormsGeneratorWebApplication.Models
{
public class FormItemModel
{
public int postion { get; set; }
public string question { get... | mit | C# |
928063cf81f2ab1044c2a86696075edd293ef20b | Refactor / break out 'five_mixed_tsets' construction for impending re-use testing issue #1. | clicketyclack/TileExchange | TileExchange/UnitTests/TileSets/DiscoverLoadTests.cs | TileExchange/UnitTests/TileSets/DiscoverLoadTests.cs | /*
* Copyright (C) 2018 Erik Mossberg
*
* This file is part of TileExchanger.
*
* TileExchanger is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your o... | /*
* Copyright (C) 2018 Erik Mossberg
*
* This file is part of TileExchanger.
*
* TileExchanger is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your o... | agpl-3.0 | C# |
9b24d8c3a0d6cab627c8b5fb997f89044d6178ad | Update Feature1.cs | iamnotageek/GitTest1 | ConsoleApp1/ConsoleApp1/Feature1.cs | ConsoleApp1/ConsoleApp1/Feature1.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Feature1
{
public int Add()
{
var x1 = 1;
var x2 = 2;
var sum = x1 + x2;
return sum;
}
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Feature1
{
public int Add()
{
int x1 = 1;
int x2 = 2;
int sum = x1 + x2;
return sum;
}
}... | mit | C# |
1255ac03ac799e6be91af0103c627d7eb0b53d10 | Revert "Fix threading issue on initialisation" | episerver/AlloyDemoKit,episerver/AlloyDemoKit,episerver/AlloyDemoKit | src/AlloyDemoKit/Business/Channels/DisplayResolutionBase.cs | src/AlloyDemoKit/Business/Channels/DisplayResolutionBase.cs | using EPiServer.Framework.Localization;
using EPiServer.ServiceLocation;
using EPiServer.Web;
namespace AlloyDemoKit.Business.Channels
{
/// <summary>
/// Base class for all resolution definitions
/// </summary>
public abstract class DisplayResolutionBase : IDisplayResolution
{
private Inje... | using System;
using EPiServer.Framework.Localization;
using EPiServer.ServiceLocation;
using EPiServer.Web;
namespace AlloyDemoKit.Business.Channels
{
/// <summary>
/// Base class for all resolution definitions
/// </summary>
public abstract class DisplayResolutionBase : IDisplayResolution
{
... | apache-2.0 | C# |
09ff0c5809be9025ca102b65640f25e68dda2338 | Index aangepast | TeamXArtesis/ScrumProject,TeamXArtesis/ScrumProject | TeamX/TeamX/Views/Home/Index.cshtml | TeamX/TeamX/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
ViewBag.Format = String.Format("{0:dddd}", @ViewBag.Datum);
}
<form action="~/Home/ResultPage" name="docentform">
<h1 class"indexTitle">@ViewBag.Format</h1>
<h3>Klas</h3>
<div class="ui-widget">
<label>Selecteer een klas: </label>
<se... | @{
ViewBag.Title = "Home Page";
int id = ViewBag.Id;
string day = "";
switch (id)
{
case 1: day = "Monday"; break;
case 2: day = "Tuesday"; break;
case 3: day = "Wednesday"; break;
case 4: day = "Thursday"; break;
case 5: day = "Friday"; break;
... | mit | C# |
90106ca437e1021e6d8538140e632798d272e6b9 | Bump v1.0.15 | karronoli/tiny-sato | TinySato/Properties/AssemblyInfo.cs | TinySato/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat... | apache-2.0 | C# |
407575c830a7583a7f938ccc91823f515059a821 | Correct spelling of Bugs Bunny (#5) | wealth-farm/SparkPost.Net | src/WealthFarm.SparkPost.Tests/Integegration/TransmissionTests.cs | src/WealthFarm.SparkPost.Tests/Integegration/TransmissionTests.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
namespace WealthFarm.SparkPost.Tests.Integegration
{
public class TransmissionTests : BaseTest
{
[Fact]
public async Task CreateTransmission()
{
var transmission = new Trans... | using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
namespace WealthFarm.SparkPost.Tests.Integegration
{
public class TransmissionTests : BaseTest
{
[Fact]
public async Task CreateTransmission()
{
var transmission = new Trans... | mit | C# |
d66fb307dc0f8b0fa0cb2f546dfb96663a320174 | Fix wrong licence header | ZLima12/osu,ppy/osu,peppy/osu,2yangk23/osu,johnneijzen/osu,smoogipoo/osu,UselessToucan/osu,ZLima12/osu,naoey/osu,naoey/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,DrabWeb/osu,EVAST9919/osu,peppy/osu-new,Drezi126/osu,Nabile-Rahmani/osu,NeoAdonis/osu,smoogipooo/osu,2yangk23/osu,peppy/osu,ppy/osu,DrabWeb/osu,DrabWeb/osu... | osu.Game.Rulesets.Mania/UI/DrawableManiaJudgement.cs | osu.Game.Rulesets.Mania/UI/DrawableManiaJudgement.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Mania.Judgements;
using osu.Game.Rulesets.Objects.Drawables;
namespace... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Mania.Judgements;
using osu.Game.Rulesets.Objects.Drawables;
... | mit | C# |
6ee9a4b7697b74f953e20b7313c0e16a527ece90 | Fix ClonesToRepositoryPathAsync test | github/VisualStudio,github/VisualStudio,github/VisualStudio | test/GitHub.App.UnitTests/Services/RepositoryCloneServiceTests.cs | test/GitHub.App.UnitTests/Services/RepositoryCloneServiceTests.cs | using System.Reactive.Linq;
using System.Threading.Tasks;
using NSubstitute;
using NUnit.Framework;
using UnitTests;
using GitHub.Services;
using System.Linq.Expressions;
using System;
using GitHub.Models;
using GitHub.Api;
public class RepositoryCloneServiceTests
{
public class TheCloneRepositoryMethod : TestBas... | using System.Reactive.Linq;
using System.Threading.Tasks;
using NSubstitute;
using NUnit.Framework;
using UnitTests;
using GitHub.Services;
using System.Linq.Expressions;
using System;
using GitHub.Models;
using GitHub.Api;
public class RepositoryCloneServiceTests
{
public class TheCloneRepositoryMethod : TestBas... | mit | C# |
2daa1dd99102fb9a102caf1f54640b57e4ed2c6c | add null check for user in delete method in service | olebg/car-mods-heaven,olebg/car-mods-heaven | CarModsHeaven/CarModsHeaven/CarModsHeaven.Services/UsersService.cs | CarModsHeaven/CarModsHeaven/CarModsHeaven.Services/UsersService.cs | using System.Linq;
using Bytes2you.Validation;
using CarModsHeaven.Data.Contracts;
using CarModsHeaven.Data.Models;
using CarModsHeaven.Data.Repositories.Contracts;
using CarModsHeaven.Services.Contracts;
namespace CarModsHeaven.Services
{
public class UsersService : IUsersService
{
private readonly I... | using System.Linq;
using Bytes2you.Validation;
using CarModsHeaven.Data.Contracts;
using CarModsHeaven.Data.Models;
using CarModsHeaven.Data.Repositories.Contracts;
using CarModsHeaven.Services.Contracts;
namespace CarModsHeaven.Services
{
public class UsersService : IUsersService
{
private readonly I... | mit | C# |
7af60d550f39e9b6070b93bce14af9457455b136 | Fix not allowing to compile project with no implementation of IDotvvmServiceConfigurator | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DotVVM.Compiler/Resolving/DotvvmServiceConfiguratorResolver.cs | src/DotVVM.Compiler/Resolving/DotvvmServiceConfiguratorResolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using DotVVM.Compiler.Exceptions;
using DotVVM.Framework.Configuration;
using DotVVM.Framework.Utils;
using Microsoft.Extensions.DependencyInjection;
namespace DotVVM.Compiler.Resolving
{
public class DotvvmServiceConfigur... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using DotVVM.Compiler.Exceptions;
using DotVVM.Framework.Configuration;
using DotVVM.Framework.Utils;
using Microsoft.Extensions.DependencyInjection;
namespace DotVVM.Compiler.Resolving
{
public class DotvvmServiceConfigur... | apache-2.0 | C# |
e571ad510d1be8b813dc070f07f26d99950e303e | Change UpdateManager to use events. | Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation... | UnityProject/Assets/Scripts/Managers/UpdateManager/UpdateManager.cs | UnityProject/Assets/Scripts/Managers/UpdateManager/UpdateManager.cs | using UnityEngine;
using UnityEngine.SceneManagement;
using System;
/// <summary>
/// Handles the update methods for in game objects
/// Handling the updates from a single point decreases cpu time
/// and increases performance
/// </summary>
public class UpdateManager : MonoBehaviour
{
private... | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using System;
/// <summary>
/// Handles the update methods for in game objects
/// Handling the updates from a single point decreases cpu time
/// and increases performance
/// </summary>
public class UpdateM... | agpl-3.0 | C# |
beab534a4524b439eb62b9418b16bed6cea00c35 | Mark System.Collections HashCollisionScenario test as OuterLoop | yizhang82/corefx,Jiayili1/corefx,tijoytom/corefx,krytarowski/corefx,tijoytom/corefx,ravimeda/corefx,Ermiar/corefx,seanshpark/corefx,seanshpark/corefx,nbarbettini/corefx,weltkante/corefx,ptoonen/corefx,gkhanna79/corefx,dotnet-bot/corefx,stone-li/corefx,mazong1123/corefx,wtgodbe/corefx,tijoytom/corefx,Jiayili1/corefx,nch... | src/System.Collections/tests/Generic/Dictionary/HashCollisionScenarios/OutOfBoundsRegression.cs | src/System.Collections/tests/Generic/Dictionary/HashCollisionScenarios/OutOfBoundsRegression.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.Collections.Generic;
using Xunit;
namespace System.Collections.Tests
{
public class InternalHashC... | // 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.Collections.Generic;
using Xunit;
namespace System.Collections.Tests
{
public class InternalHashC... | mit | C# |
35d1122d035ddb93f91c404d2cc0907a4ba48964 | Add validation implementation in search module. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Modules/TraktSearchModule.cs | Source/Lib/TraktApiSharp/Modules/TraktSearchModule.cs | namespace TraktApiSharp.Modules
{
using Enums;
using Objects.Basic;
using Requests;
using Requests.WithoutOAuth.Search;
using System;
using System.Threading.Tasks;
public class TraktSearchModule : TraktBaseModule
{
public TraktSearchModule(TraktClient client) : base(client) { }... | namespace TraktApiSharp.Modules
{
using Enums;
using Objects.Basic;
using Requests;
using Requests.WithoutOAuth.Search;
using System.Threading.Tasks;
public class TraktSearchModule : TraktBaseModule
{
public TraktSearchModule(TraktClient client) : base(client) { }
public a... | mit | C# |
8396386945071e5d0ea203aeccfaf24b5cd70d54 | Fix syntax error (C# 6.0 feature) from previous commit | davetransom/Swashbuckle,domaindrivendev/Swashbuckle,lostllama/Swashbuckle,Atomosk/Swashbuckle,davetransom/Swashbuckle,domaindrivendev/Swashbuckle,davetransom/Swashbuckle,domaindrivendev/Swashbuckle,lostllama/Swashbuckle,lostllama/Swashbuckle,Atomosk/Swashbuckle,lostllama/Swashbuckle,davetransom/Swashbuckle,Atomosk/Swas... | Swashbuckle.Tests/Owin/BaseInMemoryOwinSwaggerTest.cs | Swashbuckle.Tests/Owin/BaseInMemoryOwinSwaggerTest.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Owin.Testing;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Owin;
namespace Swashbuckle.Tests.Owin
{
[TestFixture]
public abstract class BaseInMemoryOwinSwaggerTest
{
protected HttpClient _client;
... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Owin.Testing;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Owin;
namespace Swashbuckle.Tests.Owin
{
[TestFixture]
public abstract class BaseInMemoryOwinSwaggerTest
{
protected HttpClient _client;
... | bsd-3-clause | C# |
2201fc745e4514cc9eff3104aa8f8e16e0585e86 | Fix storyboard loops start time when none of their commands start at 0. | UselessToucan/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,Nabile-Rahmani/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,johnneijzen/osu,DrabWeb/osu,ZLima12/osu,peppy/osu-new,UselessToucan/osu,EVAST9919/osu... | osu.Game/Storyboards/CommandLoop.cs | osu.Game/Storyboards/CommandLoop.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
namespace osu.Game.Storyboards
{
public class CommandLoop : CommandTimelineGroup
{
public double LoopStartTi... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
namespace osu.Game.Storyboards
{
public class CommandLoop : CommandTimelineGroup
{
public double LoopStartTi... | mit | C# |
67b62133044be192515c1412681a7f579a00c478 | Update ViewModelRepository | geeklearningio/Testavior | src/GeekLearning.Test.Integration/Mvc/ViewModelRepository.cs | src/GeekLearning.Test.Integration/Mvc/ViewModelRepository.cs | namespace GeekLearning.Test.Integration.Mvc
{
using System;
using System.Collections.Concurrent;
public class ViewModelRepository
{
private readonly ConcurrentDictionary<Type, object> repository = new ConcurrentDictionary<Type, object>();
public void Add<TModel>(TModel model) where TM... | namespace GeekLearning.Test.Integration.Mvc
{
using System;
using System.Collections.Concurrent;
public class ViewModelRepository
{
private readonly ConcurrentDictionary<Type, object> repository = new ConcurrentDictionary<Type, object>();
public void Add<TModel>(TModel model) where TM... | mit | C# |
f9d8b09d1a707dce90caf04167148106691c6f8b | Use wslPath from settings with the PathConverter methods. | archpoint/gitwrap | GitWrap/PathConverter.cs | GitWrap/PathConverter.cs | using System;
using System.Text.RegularExpressions;
namespace GitWrap
{
public class PathConverter
{
public static string convertPathFromWindowsToLinux(String path)
{
// Translate directory structure.
// Use regex to translate drive letters.
str... | using System;
using System.Text.RegularExpressions;
namespace GitWrap
{
public class PathConverter
{
public static string convertPathFromWindowsToLinux(String path)
{
// Translate directory structure.
// Use regex to translate drive letters.
str... | mit | C# |
6170415c275de5c1a8cd53005479f7144d81867b | Update comment. | AmadeusW/roslyn,weltkante/roslyn,tmat/roslyn,wvdd007/roslyn,KirillOsenkov/roslyn,AlekseyTs/roslyn,AlekseyTs/roslyn,reaction1989/roslyn,sharwell/roslyn,heejaechang/roslyn,diryboy/roslyn,ErikSchierboom/roslyn,genlu/roslyn,stephentoub/roslyn,panopticoncentral/roslyn,mgoertz-msft/roslyn,CyrusNajmabadi/roslyn,KevinRansom/ro... | src/EditorFeatures/Core/Implementation/IntelliSense/SignatureHelp/Controller_InvokeSignatureHelp.cs | src/EditorFeatures/Core/Implementation/IntelliSense/SignatureHelp/Controller_InvokeSignatureHelp.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.
using System;
using Microsoft.CodeAnalysis.SignatureHelp;
using Microsoft.VisualStudio.Commanding;
using Microsoft.VisualStudio.Text.Editor.Commanding.Comman... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.SignatureHelp;
using Microsoft.VisualStudio.Commanding;
using Microsoft.VisualStudio.Text.Editor.Commanding.Comman... | mit | C# |
c5a2dedc442fd522877efe9b447db4326624fddf | Allow capital A/An too. | EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an | WikipediaAvsAnTrieExtractor/RegexTextUtils.ExtractWordsAfterAOrAn.cs | WikipediaAvsAnTrieExtractor/RegexTextUtils.ExtractWordsAfterAOrAn.cs | using System.Text.RegularExpressions;
using System.Linq;
using System;
using System.Collections.Generic;
namespace WikipediaAvsAnTrieExtractor {
public partial class RegexTextUtils {
//Note: regexes are NOT static and shared because of... http://stackoverflow.com/questions/7585087/multithreaded-use... | using System.Text.RegularExpressions;
using System.Linq;
using System;
using System.Collections.Generic;
namespace WikipediaAvsAnTrieExtractor {
public partial class RegexTextUtils {
//Note: regexes are NOT static and shared because of... http://stackoverflow.com/questions/7585087/multithreaded-use... | apache-2.0 | C# |
f92fb1598463cf52a5b91e67044a9cc7630ba92b | Make operation cancelable | AmadeusW/roslyn,bartdesmet/roslyn,eriawan/roslyn,diryboy/roslyn,bartdesmet/roslyn,physhi/roslyn,AmadeusW/roslyn,wvdd007/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,wvdd007/roslyn,wvdd007/roslyn,weltkante/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,AmadeusW/roslyn,physhi/roslyn,shyamnamboodiri... | src/VisualStudio/Core/Def/ExternalAccess/ProjectSystem/Api/IProjectSystemUpdateReferenceOperation.cs | src/VisualStudio/Core/Def/ExternalAccess/ProjectSystem/Api/IProjectSystemUpdateReferenceOperation.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.Threading;
using System.Threading.Tasks;
namespace Microsoft.VisualStudio.LanguageServi... | // 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.Threading.Tasks;
namespace Microsoft.VisualStudio.LanguageServices.ExternalAccess.Proje... | mit | C# |
08362b29a6410162aafc657dfa62f14e0017de8a | fix codefactor | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/AddressMoneyTuple.cs | WalletWasabi.Gui/Controls/WalletExplorer/AddressMoneyTuple.cs | using NBitcoin;
using System;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public struct AddressMoneyTuple : IEquatable<AddressMoneyTuple>
{
public AddressMoneyTuple(string address = null, Money amount = null, bool isEmpty = true)
{
Address = address;
Amount = amount;
IsEmpty = isEmpty;
}
pu... | using NBitcoin;
using System;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public struct AddressMoneyTuple : IEquatable<AddressMoneyTuple>
{
public AddressMoneyTuple(string address = null, Money amount = null, bool isEmpty = true)
{
Address = address;
Amount = amount;
IsEmpty = isEmpty;
}
p... | mit | C# |
977afee0f07b9008a91252311dea937cbb67130e | Improve Adding comments | KristianMariyanov/LaptopListingSystem,KristianMariyanov/LaptopListingSystem,KristianMariyanov/LaptopListingSystem,KristianMariyanov/LaptopListingSystem | Web/LaptopListingSystem.Web/Controllers/CommentsController.cs | Web/LaptopListingSystem.Web/Controllers/CommentsController.cs | namespace LaptopListingSystem.Web.Controllers
{
using System.Linq;
using System.Security.Claims;
using LaptopListingSystem.Data.Models;
using LaptopListingSystem.Data.Repositories.Contracts;
using LaptopListingSystem.Web.InputModels.Comments;
using Microsoft.AspNetCore.Authorization;
usin... | namespace LaptopListingSystem.Web.Controllers
{
using LaptopListingSystem.Data.Models;
using LaptopListingSystem.Data.Repositories.Contracts;
using LaptopListingSystem.Web.InputModels.Comments;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
[Authorize]
[Route("a... | mit | C# |
a3b803fe93cd5feca298f63ba5b17f3f3d906e31 | Fix compile error in WPF .NET Core sample | Deadpikle/NetSparkle,Deadpikle/NetSparkle | src/NetSparkle.Samples.NetCore.WPF/MainWindow.xaml.cs | src/NetSparkle.Samples.NetCore.WPF/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
f959ca05031ee6a502e1d57168da28ab79739bc1 | Rebuild deds for reference data collections | SkillsFundingAgency/das-paymentsacceptancetesting | src/SFA.DAS.Payments.AcceptanceTests/SpecFlowHooks.cs | src/SFA.DAS.Payments.AcceptanceTests/SpecFlowHooks.cs | using System;
using ProviderPayments.TestStack.Core;
using SFA.DAS.Payments.AcceptanceTests.DataHelpers;
using SFA.DAS.Payments.AcceptanceTests.ExecutionEnvironment;
using TechTalk.SpecFlow;
namespace SFA.DAS.Payments.AcceptanceTests
{
[Binding]
public static class SpecFlowHooks
{
inter... | using System;
using ProviderPayments.TestStack.Core;
using SFA.DAS.Payments.AcceptanceTests.DataHelpers;
using SFA.DAS.Payments.AcceptanceTests.ExecutionEnvironment;
using TechTalk.SpecFlow;
namespace SFA.DAS.Payments.AcceptanceTests
{
[Binding]
public static class SpecFlowHooks
{
inter... | mit | C# |
46e6333a6a3d81fa300f9824da39180cab3d4c2c | Add SQLiteDatabase unit tests | lecaillon/Evolve | test/Evolve.Test/Dialect/SQLite/SQLiteDatabaseTest.cs | test/Evolve.Test/Dialect/SQLite/SQLiteDatabaseTest.cs | using Evolve.Dialect.SQLite;
using Xunit;
namespace Evolve.Test.Dialect.SQLite
{
public class SQLiteDatabaseTest
{
[Fact(DisplayName = "SQLiteDatabase_name_is_sqlite")]
public void SQLiteDatabase_name_is_sqlite()
{
using (var connection = TestUtil.GetInMemorySQLiteWrappedCo... | using Evolve.Dialect.SQLite;
using Xunit;
namespace Evolve.Test.Dialect.SQLite
{
public class SQLiteDatabaseTest
{
[Fact(DisplayName = "SQLiteDatabase_name_is_sqlite")]
public void SQLiteDatabase_name_is_sqlite()
{
using (var connection = TestUtil.GetInMemorySQLiteWrappedCo... | mit | C# |
6b0ade427a8d2e13178bceaf8484b9dff3055407 | bump version to 2.0.1 | Sevitec/oneoffixx-connectclient | Windows/src/OneOffixx.ConnectClient.WinApp/Properties/AssemblyInfo.cs | Windows/src/OneOffixx.ConnectClient.WinApp/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# |
250feae9325849809ce41c373ff88e29f175bb7f | clone the request's headers | clement911/ShopifySharp,nozzlegear/ShopifySharp,addsb/ShopifySharp | ShopifySharp/Infrastructure/CloneableRequestMessage.cs | ShopifySharp/Infrastructure/CloneableRequestMessage.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace ShopifySharp.Infrastructure
{
public class CloneableRequestMessage : HttpRequestMessage
{
public CloneableRequestMessage(Uri url, HttpMethod method, HttpContent content = null... | using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace ShopifySharp.Infrastructure
{
public class CloneableRequestMessage : HttpRequestMessage
{
public CloneableRequestMessage(Uri url, HttpMethod method, HttpContent content = null... | mit | C# |
adcb2d43034d7ccc0553c5270fda02681d1c759d | Bump dev version to 0.10 | fadookie/monodevelop-justenoughvi,hifi/monodevelop-justenoughvi | JustEnoughVi/Properties/AddinInfo.cs | JustEnoughVi/Properties/AddinInfo.cs | using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
"JustEnoughVi",
Namespace = "JustEnoughVi",
Version = "0.10"
)]
[assembly: AddinName("Just Enough Vi")]
[assembly: AddinCategory("IDE extensions")]
[assembly: AddinDescription("Simplified Vi/Vim mode for MonoDevelop/Xamarin Studio.")]
[a... | using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
"JustEnoughVi",
Namespace = "JustEnoughVi",
Version = "0.9"
)]
[assembly: AddinName("Just Enough Vi")]
[assembly: AddinCategory("IDE extensions")]
[assembly: AddinDescription("Simplified Vi/Vim mode for MonoDevelop/Xamarin Studio.")]
[as... | mit | C# |
e1bb6df606d5144b812eb5f403e4964348b9b99c | Increment assembly version number. | feliperomero3/MVVMSandbox | MicroMvvm/Properties/AssemblyInfo.cs | MicroMvvm/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("Mi... | 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("Mi... | mit | C# |
f4ab62daff728c0b2f96beecdb4160d0a2d47cc0 | Fix normal InvalidOp exceptions (not model exceptions) being swallowed | kamsar/Synthesis,roberthardy/Synthesis | Source/Synthesis.Mvc/Pipelines/GetRenderer/ResilientGetViewRenderer.cs | Source/Synthesis.Mvc/Pipelines/GetRenderer/ResilientGetViewRenderer.cs | using System;
using System.IO;
using System.Web.UI;
using Sitecore;
using Sitecore.Mvc.Pipelines.Response.GetRenderer;
using Sitecore.Mvc.Presentation;
namespace Synthesis.Mvc.Pipelines.GetRenderer
{
/// <summary>
/// Errors in model type no longer explode the whole page, instead showing a warning to preview/editor... | using System;
using System.IO;
using System.Web.UI;
using Sitecore;
using Sitecore.Mvc.Pipelines.Response.GetRenderer;
using Sitecore.Mvc.Presentation;
namespace Synthesis.Mvc.Pipelines.GetRenderer
{
/// <summary>
/// Errors in model type no longer explode the whole page, instead showing a warning to preview/editor... | mit | C# |
3cfb2f779df1a56df99883e2bbd5d66a56c32562 | Add some empty code to InterControlAnimation | DanieleScipioni/TestApp | TestAppUWP/Samples/InterControlAnimation/InterControlAnimation.xaml.cs | TestAppUWP/Samples/InterControlAnimation/InterControlAnimation.xaml.cs | using Windows.UI.Xaml;
namespace TestAppUWP.Samples.InterControlAnimation
{
public sealed partial class InterControlAnimation
{
private static Control2 _control2;
private static Control1 _control1;
public InterControlAnimation()
{
InitializeComponent();
... | using Windows.UI.Xaml;
namespace TestAppUWP.Samples.InterControlAnimation
{
public sealed partial class InterControlAnimation
{
private static Control2 _control2;
private static Control1 _control1;
public InterControlAnimation()
{
InitializeComponent();
... | mit | C# |
c6c7d3781d71fb52ad81fee49b5b3ec04b22589d | Fix broken build | cdmdotnet/CQRS,Chinchilla-Software-Com/CQRS | Framework/Ninject/Azure/Cqrs.Ninject.Azure.ServiceBus.CommandBus/Configuration/AzureQueuedCommandBusReceiverModule.cs | Framework/Ninject/Azure/Cqrs.Ninject.Azure.ServiceBus.CommandBus/Configuration/AzureQueuedCommandBusReceiverModule.cs | using System.Linq;
using Cqrs.Azure.ServiceBus;
namespace Cqrs.Ninject.Azure.ServiceBus.CommandBus.Configuration
{
public class AzureQueuedCommandBusReceiverModule<TAuthenticationToken> : AzureCommandBusReceiverModule<TAuthenticationToken>
{
/// <summary>
/// Loads the module into the kernel.
/// </s... | using Cqrs.Azure.ServiceBus;
using Cqrs.Bus;
namespace Cqrs.Ninject.Azure.ServiceBus.CommandBus.Configuration
{
public class AzureQueuedCommandBusReceiverModule<TAuthenticationToken> : AzureCommandBusReceiverModule<TAuthenticationToken>
{
public override void RegisterCommandHandlerRegistrar()
{
Bind... | lgpl-2.1 | C# |
560bad9a1eb72e332dce4b9d93786d0e8cb09b4c | Remove unnecessary setters. | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.Abstractions/Models/v2/CodeActions/ICodeActionRequest.cs | src/OmniSharp.Abstractions/Models/v2/CodeActions/ICodeActionRequest.cs | using Newtonsoft.Json;
namespace OmniSharp.Models.V2.CodeActions
{
public interface ICodeActionRequest
{
[JsonConverter(typeof(ZeroBasedIndexConverter))]
int Line { get; }
[JsonConverter(typeof(ZeroBasedIndexConverter))]
int Column { get; }
string Buffer { get; }
... | using Newtonsoft.Json;
namespace OmniSharp.Models.V2.CodeActions
{
public interface ICodeActionRequest
{
[JsonConverter(typeof(ZeroBasedIndexConverter))]
int Line { get; set; }
[JsonConverter(typeof(ZeroBasedIndexConverter))]
int Column { get; set; }
string Buffer { get;... | mit | C# |
f6d1f997f29d46a2959b7ef93d51d2cd2dbcbc6b | Remove double semicolon (#800) | fluentassertions/fluentassertions,dennisdoomen/fluentassertions,fluentassertions/fluentassertions,dennisdoomen/fluentassertions,jnyrup/fluentassertions,jnyrup/fluentassertions | Src/FluentAssertions/Equivalency/EquivalencyAssertionOptionsExtentions.cs | Src/FluentAssertions/Equivalency/EquivalencyAssertionOptionsExtentions.cs | using System;
using System.Linq;
using System.Reflection;
namespace FluentAssertions.Equivalency
{
public static class EquivalencyAssertionOptionsExtentions
{
/// <summary>
/// Returns either the run-time or compile-time type of the subject based on the options provided by the caller.
... | using System;
using System.Linq;
using System.Reflection;
namespace FluentAssertions.Equivalency
{
public static class EquivalencyAssertionOptionsExtentions
{
/// <summary>
/// Returns either the run-time or compile-time type of the subject based on the options provided by the caller.
... | apache-2.0 | C# |
40a22788afa4155feff19b2f6dda2c4cd2925dc7 | Fix collection rank. | ikeough/IFC-gen,ikeough/IFC-gen,ikeough/IFC-gen | src/IFC-gen/csharp/CollectionInfo.cs | src/IFC-gen/csharp/CollectionInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Express
{
public enum CollectionType
{
Array,List,Set
}
public class CollectionInfo : TypeInfo
{
public int Rank{get;set;}
public int Size{get;set;}
public CollectionType CollectionType {get;set;}
public CollectionInfo(strin... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Express
{
public enum CollectionType
{
Array,List,Set
}
public class CollectionInfo : TypeInfo
{
public int Rank{get;set;}
public int Size{get;set;}
public CollectionType CollectionType {get;set;}
public CollectionInfo(strin... | mit | C# |
f6ada59c036735fe4cd869ffa4599f5e78b902dd | update to 1.4.4.0 | Ulterius/server | RemoteTaskServer/Properties/AssemblyInfo.cs | RemoteTaskServer/Properties/AssemblyInfo.cs | #region
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// 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("Ulterius™ Server")]... | #region
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// 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("Ulterius™ Server")]... | mpl-2.0 | C# |
0fbddd4e1c11c38d308f436631006960bca08976 | Change case for capability with js code. | beta-tank/TicTacToe,beta-tank/TicTacToe,beta-tank/TicTacToe | TicTacToe/ViewModels/TurnResultViewModel.cs | TicTacToe/ViewModels/TurnResultViewModel.cs | using TicTacToe.Core.Enums;
namespace TicTacToe.Web.ViewModels
{
public class TurnResultViewModel
{
public string status { get; set; }
public string errorText { get; set; }
public bool isGameDone { get; set; }
public PlayerCode winner { get; set; }
public int opponentMo... | using TicTacToe.Core.Enums;
namespace TicTacToe.Web.ViewModels
{
public class TurnResultViewModel
{
public string Status { get; set; }
public string ErrorText { get; set; }
public bool IsGameDone { get; set; }
public PlayerCode Winner { get; set; }
public byte OpponentM... | mit | C# |
afe80d40a6bed769baabfcfaee027b4028041893 | Fix AudioPlayerTests on Linux | tombogle/libpalaso,ermshiperete/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,gmartin7/libpalaso,mccarthyrb/libpalaso,mccarthyrb/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,tombogle/libpalaso,gmartin7/libpalaso,tombogle/libpalaso,mccarthyrb/libpalaso,ddaspit/libpalaso,glasse... | SIL.Media.Tests/AudioPlayerTests.cs | SIL.Media.Tests/AudioPlayerTests.cs | using System;
using System.IO;
using System.Threading;
using NUnit.Framework;
using SIL.IO;
using SIL.Media.Tests.Properties;
#if !MONO
using SIL.Media.Naudio;
using NAudio.Wave;
#endif
namespace SIL.Media.Tests
{
[TestFixture]
public class AudioPlayerTests
{
[Test]
public void LoadFile_ThenDispose_FileC... | #if !MONO
using SIL.Media.Tests.Properties;
#endif
using System;
using System.IO;
using System.Threading;
using NAudio.Wave;
using NUnit.Framework;
using SIL.IO;
using SIL.Media.Naudio;
namespace SIL.Media.Tests
{
[TestFixture]
public class AudioPlayerTests
{
[Test]
public void LoadFile_ThenDispose_FileC... | mit | C# |
796b8936431efeb90e6392a69257bf6d0c9d784b | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: Update posted: June 10, 2020<br /><br />
We are open and receiving samples as usual.<br /><br />
Thank you for... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: May 21, 2020<br /><br />
We are close to full operational status at the lab now and receiving hours will return to n... | mit | C# |
f1b8686b12eac72d8cc660a6b57e0be0869183f7 | Add STATUS_OPERATION_DEFERRED to JavaConsts | Ghenghis/play-games-plugin-for-unity,claywilkinson/play-games-plugin-for-unity,jkasten2/play-games-plugin-for-unity,Bvnkame/play-games-plugin-for-unity,jennifer42104/play-games-plugin-for-unity,slaosk/play-games-plugin-for-unity,UlrichAbiguime/play-games-plugin-for-unity,natsumesou/play-games-plugin-for-unity,Ghenghis/... | source/PluginDev/Assets/GooglePlayGames/Platforms/Android/JavaConsts.cs | source/PluginDev/Assets/GooglePlayGames/Platforms/Android/JavaConsts.cs | /*
* Copyright (C) 2013 Google Inc.
*
* 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 (C) 2013 Google Inc.
*
* 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# |
7b7651f5940f0dfd382b4ebfe43ecd6fce98227b | Set a user agent for shoutcast streams that isn't blacklisted. | Amrykid/Neptunium | src/Neptunium/Core/Media/ShoutcastStationMediaStreamer.cs | src/Neptunium/Core/Media/ShoutcastStationMediaStreamer.cs | using System;
using System.Threading.Tasks;
using Neptunium.Core.Stations;
using Windows.Media.Playback;
using Windows.Media.Core;
using UWPShoutcastMSS.Streaming;
namespace Neptunium.Media
{
internal class ShoutcastStationMediaStreamer : BasicNepAppMediaStreamer
{
private ShoutcastStream streamSource... | using System;
using System.Threading.Tasks;
using Neptunium.Core.Stations;
using Windows.Media.Playback;
using Windows.Media.Core;
using UWPShoutcastMSS.Streaming;
namespace Neptunium.Media
{
internal class ShoutcastStationMediaStreamer : BasicNepAppMediaStreamer
{
private ShoutcastStream streamSource... | mit | C# |
57c28c9f4179569a64b48d141027f8c01dfe7abd | Change access level to internal | 2Toad/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp | websocket-sharp/Opcode.cs | websocket-sharp/Opcode.cs | #region License
/*
* Opcode.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, including without ... | #region License
/*
* Opcode.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, including without ... | mit | C# |
761b87ae26ed17084239c4a2bf3982cf7352a4b9 | change encoding to UTF-8, | jwChung/Experimentalism,jwChung/Experimentalism | src/Experiment/GlobalSuppressions.cs | src/Experiment/GlobalSuppressions.cs | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in the... | / / T h i s f i l e i s u s e d b y C o d e A n a l y s i s t o m a i n t a i n S u p p r e s s M e s s a g e
/ / a t t r i b u t e s t h a t a r e a p p l i e d t o t h i s p r o j e c t .
/ / P r o j e c t - l e v e l s u p p r e s s i o n s e i t h e r h a v e n ... | mit | C# |
a55c6aa9c72ac8d181a267a9105e76f57fda7294 | Improve ReversePath | MatterHackers/agg-sharp,larsbrubaker/agg-sharp,jlewin/agg-sharp | agg/VertexSource/ReversePath.cs | agg/VertexSource/ReversePath.cs | using MatterHackers.VectorMath;
using System;
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// C# port by: Lars Brubaker
// larsbrubaker@gmail.com
// Copyrig... | using MatterHackers.VectorMath;
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// C# port by: Lars Brubaker
// larsbrubaker@gmail.com
// Copyright (C) 2007
//... | bsd-2-clause | C# |
9f1d1f02c59638eac262c1a52e5c032f9d152c76 | test description | thanhpd/LibraryClient | LibraryDesktop/Models/BookModel.cs | LibraryDesktop/Models/BookModel.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibraryData.Models;
using LibraryData.Services;
using LibraryDesktop.Utils;
using System.ComponentModel.DataAnno
namespace LibraryDesktop.Models
{
public class BookModel
... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibraryData.Models;
using LibraryData.Services;
using LibraryDesktop.Utils;
namespace LibraryDesktop.Models
{
public class BookModel
{
public string id { get;... | mit | C# |
318cb0f6c5fabec364dcc9af9ce6add17ebb9cb6 | Add Length property | EasyPeasyLemonSqueezy/MadCat | MadCat/NutPackerLib/SpriteSheet.cs | MadCat/NutPackerLib/SpriteSheet.cs | namespace NutPacker
{
using Microsoft.Xna.Framework;
/// <summary>
/// Contains array of <see cref="Rectangle"/>,
/// Length property, and indexed property getter for it.
/// </summary>
public abstract class SpriteSheet
{
protected Rectangle[] Frames;
public int Length {
... | namespace NutPacker
{
using Microsoft.Xna.Framework;
/// <summary>
/// Contains array of <see cref="Rectangle"/> and indexed property getter for it.
/// </summary>
public abstract class SpriteSheet
{
protected Rectangle[] Frames;
public Rectangle this[int index] {
... | mit | C# |
e25e62d04ad1670e4efc32ecc3e0a53a285830db | Add xmlenumattribute to values | Ackara/Daterpillar | src/Daterpillar.Core/ForeignKeyRule.cs | src/Daterpillar.Core/ForeignKeyRule.cs | using System.Xml.Serialization;
namespace Gigobyte.Daterpillar
{
/// <summary>
/// Foreign key collision rule.
/// </summary>
public enum ForeignKeyRule
{
[XmlEnum]
NONE,
[XmlEnum]
CASCADE,
[XmlEnum]
SET_NULL,
[XmlEnum]
SET_DEFAULT... | namespace Gigobyte.Daterpillar
{
/// <summary>
/// Foreign key collision rule.
/// </summary>
public enum ForeignKeyRule
{
NONE,
CASCADE,
SET_NULL,
SET_DEFAULT,
RESTRICT
}
} | mit | C# |
9400bdbd8dad6225926d8f963231225206124b1d | fix MotionController change logic | eSlider/colorbob | Assets/MotionController.cs | Assets/MotionController.cs | using UnityEngine;
using System.Collections;
public class MotionController : MonoBehaviour
{
public float speed = 3;
private Rigidbody rb;
void Start ()
{
rb = GetComponent<Rigidbody> ();
}
void Update ()
{
float moveHorizontal = Input.GetAxis ("Horizontal");
float moveVertical = Input.GetAxis ("Ve... | using UnityEngine;
using System.Collections;
// This is MotionController
public class MotionController : MonoBehaviour {
public float speedFactor = 0.1f;
void Update () {
if(Input.GetKey(KeyCode.UpArrow)){
transform.Translate(Vector3.forward * speedFactor);
}
if(Input.GetKey(KeyCode.DownArrow)){
trans... | mit | C# |
d5f1d94b517703f202bfcf6dfe695eb46ee02f33 | Allow specifying two sprites for legacy hit explosions | smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Taiko/Skinning/LegacyHitExplosion.cs | osu.Game.Rulesets.Taiko/Skinning/LegacyHitExplosion.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.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Rulesets.Taiko.Skinning
{
public class Lega... | // 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.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Rulesets.Taiko.Skinning
{
public class LegacyHitExplosion : CompositeDrawab... | mit | C# |
9835098476bfd503eb5af79c06df016088c59369 | Update version. | maraf/Money,maraf/Money,maraf/Money | src/Money.UI.Blazor/Pages/About.cshtml | src/Money.UI.Blazor/Pages/About.cshtml | @page "/about"
<h1>Money</h1>
<h4>Neptuo</h4>
<p class="gray">
v1.5.0
</p>
<p>
<a target="_blank" href="http://github.com/maraf/Money">Documentation</a>
</p>
<p>
<a target="_blank" href="https://github.com/maraf/Money/issues/new">Report an issue</a>
</p> | @page "/about"
<h1>Money</h1>
<h4>Neptuo</h4>
<p class="gray">
v1.4.0
</p>
<p>
<a target="_blank" href="http://github.com/maraf/Money">Documentation</a>
</p>
<p>
<a target="_blank" href="https://github.com/maraf/Money/issues/new">Report an issue</a>
</p> | apache-2.0 | C# |
3fa4f19ac0a9005013e7f483b7c399cae92b421a | save flag when check changed | CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator,CORDEA/ConviviumCalculator | windows/ConviviumCalculator/MainPage.xaml.cs | windows/ConviviumCalculator/MainPage.xaml.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primit... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primit... | apache-2.0 | C# |
48b8d31667d14d0fd22904cdfb162d817a7978d6 | make class public | IUMDPI/IUMediaHelperApps | Packager/Exceptions/NormalizeOriginalException.cs | Packager/Exceptions/NormalizeOriginalException.cs | using System;
namespace Packager.Exceptions
{
public class NormalizeOriginalException : AbstractEngineException
{
public NormalizeOriginalException(string baseMessage, params object[] parameters) : base(baseMessage, parameters)
{
}
public NormalizeOriginalException(Exception i... | using System;
namespace Packager.Exceptions
{
internal class NormalizeOriginalException : AbstractEngineException
{
public NormalizeOriginalException(string baseMessage, params object[] parameters) : base(baseMessage, parameters)
{
}
public NormalizeOriginalException(Exception... | apache-2.0 | C# |
64ecf0b7a21bc6faa70974faaa7a18a8da090ddb | Improve mutex information message | nicolabricot/MoodPicker-Windows | MoodPicker/Program.cs | MoodPicker/Program.cs | using System;
using System.Threading;
using System.Windows.Forms;
namespace MoodPicker
{
static class Program
{
static Mutex mutex = new Mutex(true, "info.devenet.windows.moodpicker");
public const string ARGS_INTRAY = "/intray";
public const string MOODPICKER_WEBSITE = "http://windo... | using System;
using System.Threading;
using System.Windows.Forms;
namespace MoodPicker
{
static class Program
{
static Mutex mutex = new Mutex(true, "info.devenet.windows.moodpicker");
public const string ARGS_INTRAY = "/intray";
public const string MOODPICKER_WEBSITE = "http://windo... | apache-2.0 | C# |
10d0ac6b8fd73b6bffc026de9ca28e72e065ae9a | Fix recursion in durable types | bwatts/Totem,bwatts/Totem | Source/Totem.Runtime/Timeline/ViewDbOperations.cs | Source/Totem.Runtime/Timeline/ViewDbOperations.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Totem.Runtime.Map.Timeline;
namespace Totem.Runtime.Timeline
{
/// <summary>
/// Extends <see cref="IViewDb"/> with core operations
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Totem.Runtime.Map.Timeline;
namespace Totem.Runtime.Timeline
{
/// <summary>
/// Extends <see cref="IViewDb"/> with core operations
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static... | mit | C# |
9f370206f20e69477723b168bddbe15fd5ce6b4f | Update Mobile.cs | jkanchelov/Telerik-OOP-Team-StarFruit | TeamworkStarFruit/CatalogueLib/Products/Mobile.cs | TeamworkStarFruit/CatalogueLib/Products/Mobile.cs | namespace CatalogueLib
{
using CatalogueLib.Products.Enumerations;
using CatalogueLib.Products.Struct;
using System.Text;
public abstract class Mobile : Product
{
public Mobile()
{
}
public Mobile(int ID, decimal price, bool isAvailable, Brand brand, int Memory, s... | namespace CatalogueLib
{
using CatalogueLib.Products.Enumerations;
using CatalogueLib.Products.Struct;
public abstract class Mobile : Product
{
public Mobile()
{
}
public Mobile(int ID, decimal price, bool isAvailable, Brand brand, int Memory, string CPU, int RAM, str... | mit | C# |
8083c9c083933fa4ea7ffda95714480c69e37245 | Use ImmutableArray for IList interface | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | TestEDITOR/Serializers/ProjectContractResolver.cs | TestEDITOR/Serializers/ProjectContractResolver.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 Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
usin... | // 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 Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
us... | mit | C# |
caa9e8a014ac25c7a58854d3b2e35eeb573eb714 | Improve LateBindingCall error handling | Baggykiin/Netstack | Netstack/Language/Literals/LateBindingCall.cs | Netstack/Language/Literals/LateBindingCall.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CSharp.RuntimeBinder;
namespace Netstack.Language.Literals
{
class LateBindingCall : Literal
{
private readonly string label;
public LateBindingCall(string label)... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Netstack.Language.Literals
{
class LateBindingCall :Literal
{
private string label;
public LateBindingCall(string label)
{
this.label = label;
... | mit | C# |
de85d2a5ec80e9ca46837291b245979f7b92dda0 | Update MongoUtil. | tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer | DailySoccer2015/ApiApp/MongoAccess/MongoUtil.cs | DailySoccer2015/ApiApp/MongoAccess/MongoUtil.cs | using ApiApp.Models;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Configuration;
namespace ApiApp.MongoAccess
{
static class MongoUtil
{
private static IMongoClient _client;
private st... | using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Configuration;
namespace ApiApp.MongoAccess
{
static class MongoUtil
{
private static IMongoClient _client;
private static IMongoDatabase _... | mit | C# |
1509ad3ba5d65197bf5ad09a37490f1ea8aacd7a | Add default values for lyric and pitch | reznet/MusicXml.Net,vdaron/MusicXml.Net,gerryaobrien/MusicXml.Net | MusicXml/Domain/Note.cs | MusicXml/Domain/Note.cs | namespace MusicXml.Domain
{
public class Note
{
internal Note()
{
Type = string.Empty;
Duration = -1;
Voice = -1;
Staff = -1;
IsChordTone = false;
Lyric = new Lyric();
Pitch = new Pitch();
}
public string Type { get; internal set; }
public int Voice { get; internal set; }
public ... | namespace MusicXml.Domain
{
public class Note
{
internal Note()
{
Type = string.Empty;
Duration = -1;
Voice = -1;
Staff = -1;
IsChordTone = false;
}
public string Type { get; internal set; }
public int Voice { get; internal set; }
public int Duration { get; internal set; }
public Ly... | bsd-3-clause | C# |
f3472fa363a7bfba85c89de6b62407b6c10bbfcd | Fix rust.BroadcastChat using wrong Broadcast method | Visagalis/Oxide,Visagalis/Oxide,LaserHydra/Oxide,LaserHydra/Oxide | Games/Unity/Oxide.Game.Rust/Libraries/Server.cs | Games/Unity/Oxide.Game.Rust/Libraries/Server.cs | using Oxide.Core.Libraries;
namespace Oxide.Game.Rust.Libraries
{
public class Server : Library
{
#region Chat and Commands
/// <summary>
/// Broadcasts a chat message to all players
/// </summary>
/// <param name="message"></param>
/// <param name="userId"></p... | using Oxide.Core.Libraries;
namespace Oxide.Game.Rust.Libraries
{
public class Server : Library
{
#region Chat and Commands
/// <summary>
/// Broadcasts a chat message to all players
/// </summary>
/// <param name="message"></param>
/// <param name="userId"></p... | mit | C# |
d520aebdc6b22431515aead28b2a01c3b5ade7a5 | Change version to 2.0.0 | Coding-Enthusiast/Watch-Only-Bitcoin-Wallet | WatchOnlyBitcoinWallet/Properties/AssemblyInfo.cs | WatchOnlyBitcoinWallet/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# |
20cb5daeb16119346bd52aab4892a134ed750fe7 | Add testcase for implicit set. | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/ql/test/utils/model-generator/typebasedflow/TypeBasedSummaries.cs | csharp/ql/test/utils/model-generator/typebasedflow/TypeBasedSummaries.cs | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace Summaries;
public class TypeBasedSimple<T> {
public T Prop {
get { throw null; }
set { throw null; }
}
public TypeBasedSimple(T t) { throw null; }
public T Get() { throw null... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace Summaries;
public class TypeBasedSimple<T> {
public T Prop {
get { throw null; }
set { throw null; }
}
public TypeBasedSimple(T t) { throw null; }
public T Get() { throw null... | mit | C# |
a46acca618b525d9f8708f81e2e84b99a3df35e3 | Fix Parser tests | Baggykiin/pass-winmenu | pass-winmenu-tests/Parsing/ParserTests.cs | pass-winmenu-tests/Parsing/ParserTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PassWinmenu.Tests
{
[TestClass]
public class ParserTests
{
private const string Category = "Core: Password File Parsing";
[TestMethod, TestCategory(Category)]
public void Test_EmptyFile()
{
var text = "";
var p = new Passwor... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PassWinmenu.Tests
{
[TestClass]
public class ParserTests
{
private const string Category = "Core: Password File Parsing";
[TestMethod, TestCategory(Category)]
public void Test_EmptyFile()
{
var text = "";
var p = new Passwor... | mit | C# |
ebfe51106970ba2368b353115b2999c4c00f43b1 | Increment minor -> 0.8.0 | awseward/Bugsnag.NET,awseward/Bugsnag.NET | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.8.0.0")]
[assembly: AssemblyFileVersion("0.8.0.0")]
[assembly: AssemblyInformationalVersion("0.8.0")]
| using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.7.0.0")]
[assembly: AssemblyFileVersion("0.7.0.0")]
[assembly: AssemblyInformationalVersion("0.7.0")]
| mit | C# |
7871d4f386d474530f49b07a7052bff331b0fa26 | Update CustomerDocumentEnum | petber/Visma.Net,ON-IT/Visma.Net,petber/Visma.Net | ONIT.VismaNet/Models/Enums/CustomerDocumentType.cs | ONIT.VismaNet/Models/Enums/CustomerDocumentType.cs | namespace ONIT.VismaNetApi.Models.Enums
{
public enum CustomerDocumentType
{
Invoice = 1,
DebitMemo,
CreditNote,
Payment,
VoidPayment,
Prepayment,
Refund,
FinCharge,
SmallBalanceWo,
SmallCreditWo,
CashSale,
CashRetu... | namespace ONIT.VismaNetApi.Models.Enums
{
public enum CustomerDocumentType
{
Invoice = 1,
DebitMemo,
CreditMemo,
Payment,
VoidPayment,
Prepayment,
Refund,
FinCharge,
SmallBalanceWo,
SmallCreditWo,
CashSale,
CashRetu... | mit | C# |
da659339dd7beaa6d4edbb2b9d4ed89c92763ec9 | Change namespace of EnyimMemcachedServiceCollectionExtensions | cnblogs/EnyimMemcachedCore,cnblogs/EnyimMemcachedCore,DukeCheng/EnyimMemcachedCore,DukeCheng/EnyimMemcachedCore | Enyim.Caching/EnyimMemcachedServiceCollectionExtensions.cs | Enyim.Caching/EnyimMemcachedServiceCollectionExtensions.cs | using Enyim.Caching;
using Enyim.Caching.Configuration;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.Extensions.DependencyInjection
{
public stati... | using Enyim.Caching.Configuration;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Enyim.Caching
{
public static class EnyimMemcachedServiceCollectionExtension... | apache-2.0 | C# |
6526bc30778a3588eb2b6046e432fa959b6a0557 | Make quizzer result properties read-only | brwml/MatchMakerTool | Reporting/Models/QuizzerResult.cs | Reporting/Models/QuizzerResult.cs | namespace MatchMaker.Reporting.Models;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Linq;
using Ardalis.GuardClauses;
/// <summary>
/// Defines the <see cref="QuizzerResult" />
/// </summary>
[DataContract]
[DebuggerDisplay("Quizzer Result (Quizzer {QuizzerId}, Score {S... | namespace MatchMaker.Reporting.Models;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Linq;
using Ardalis.GuardClauses;
/// <summary>
/// Defines the <see cref="QuizzerResult" />
/// </summary>
[DataContract]
[DebuggerDisplay("Quizzer Result (Quizzer {QuizzerId}, Score {S... | mit | C# |
17fa4f3f961ae1007b5324092ee07220e6335c26 | Fix PlatformInfo parsing by manually traversing the PlatformInfo json and performing casts | SnowflakePowered/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,RonnChyran/snowflake,RonnChyran/snowflake,faint32/snowflake-1,RonnChyran/snowflake | Snowflake/Platform/PlatformInfo.cs | Snowflake/Platform/PlatformInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Information.MediaStore;
using Snowflake.Information;
using Snowflake.Controller;
using System.Collections.ObjectModel;
using Snowflake.Extensions;
using Newtonsoft.Json.Linq;
namespace S... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Information.MediaStore;
using Snowflake.Information;
using Snowflake.Controller;
using System.Collections.ObjectModel;
using Snowflake.Extensions;
namespace Snowflake.Platform
{
publ... | mpl-2.0 | C# |
74ceb4f1cf2f6ff86300bd89578abb119cbe00b0 | Fix add result form styles. Remove Comments. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Views/Project/AddResult.cshtml | src/CompetitionPlatform/Views/Project/AddResult.cshtml | @model CompetitionPlatform.Models.ProjectViewModels.AddResultViewModel
<br />
<br />
<br />
<section class="section section--competition_edit">
<div class="container">
<div class="content__left">
<form asp-controller="ProjectDetails" asp-action="SaveResult" enctype="multipart/form-data" class="... | @model CompetitionPlatform.Models.ProjectViewModels.AddResultViewModel
@*<form asp-controller="ProjectDetails" asp-action="SaveResult" enctype="multipart/form-data">
<div class="form-group col-md-10">
<input asp-for="@Model.ProjectId" type="hidden"/>
<input asp-for="@Model.ParticipantId... | mit | C# |
cad3e57bfd2a7b97bf25b58d9b537e55e07b1c24 | Set JsonSchemaTypeAttribute allow multiple to false, closes https://github.com/RicoSuter/NSwag/issues/2097 | NJsonSchema/NJsonSchema,RSuter/NJsonSchema | src/NJsonSchema/Annotations/JsonSchemaTypeAttribute.cs | src/NJsonSchema/Annotations/JsonSchemaTypeAttribute.cs | //-----------------------------------------------------------------------
// <copyright file="JsonSchemaTypeAttribute.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, mail@rsuter... | //-----------------------------------------------------------------------
// <copyright file="JsonSchemaTypeAttribute.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, mail@rsuter... | mit | C# |
5d8a46071b2e60c4c04767e17084d7d06370c3f4 | Fix Mac build. | PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto | Source/Eto.Platform.Mac/Forms/Controls/SearchBoxHandler.cs | Source/Eto.Platform.Mac/Forms/Controls/SearchBoxHandler.cs | using System;
using Eto.Drawing;
using Eto.Forms;
using MonoMac.AppKit;
namespace Eto.Platform.Mac.Forms.Controls
{
/// <summary>
/// TODO: Try to eliminate code duplication between this class
/// and TextBoxHandler.
/// </summary>
public class SearchBoxHandler : MacText<NSSearchField, SearchBox>, ISearchBox, IT... | using System;
using Eto.Forms;
using MonoMac.AppKit;
using MonoMac.Foundation;
using Eto.Platform.Mac.Forms.Controls;
using MonoMac.ObjCRuntime;
namespace Eto.Platform.Mac.Forms.Controls
{
/// <summary>
/// TODO: Try to eliminate code duplication between this class
/// and TextBoxHandler.
/// </summary>
public c... | bsd-3-clause | C# |
da3f802a8a9021b77ce3bcd2c155b6058d1f80b3 | Fix comparison | canton7/RestEase | src/RestEase/Implementation/SerializationMethods.cs | src/RestEase/Implementation/SerializationMethods.cs | namespace RestEase.Implementation
{
internal class ResolvedSerializationMethods
{
public const BodySerializationMethod DefaultBodySerializationMethod = BodySerializationMethod.Serialized;
public QuerySerializationMethod DefaultQuerySerializationMethod = QuerySerializationMethod.ToString;
... | namespace RestEase.Implementation
{
internal class ResolvedSerializationMethods
{
public const BodySerializationMethod DefaultBodySerializationMethod = BodySerializationMethod.Serialized;
public QuerySerializationMethod DefaultQuerySerializationMethod = QuerySerializationMethod.ToString;
... | mit | C# |
b69aa4aefb91c2d7e1fdcfc3bdd6cb48a5cabe57 | Update WordCreator.cs | vanjikumaran/VizhiMozhi | SrilankanTamilFingerSpelling/SrilankanTamilFingerSpelling/Utilities/WordCreator.cs | SrilankanTamilFingerSpelling/SrilankanTamilFingerSpelling/Utilities/WordCreator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SrilankanTamilFingerSpelling.Utilities
{
class WordCreator
{
private String letterBase;
private String letterNew;
public string processLetters(String letter)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SrilankanTamilFingerSpelling.Utilities
{
class WordCreator
{
private String letterBase;
private String letterNew;
public string processLetters(String letter)
... | apache-2.0 | C# |
841f9c81e42744fbbb11b564905ab32029ae597b | Remove another pattern match. | syeerzy/visualfsharp,dsyme/FSharp.Compiler.Service,dsyme/FSharp.Compiler.Service,syeerzy/visualfsharp,brettfo/visualfsharp,ncave/FSharp.Compiler.Service,syeerzy/visualfsharp,dsyme/fsharp,ncave/FSharp.Compiler.Service,dsyme/FSharp.Compiler.Service,cloudRoutine/FSharp.Compiler.Service,dsyme/fsharp,brettfo/visualfsharp,fs... | vsintegration/src/FSharp.UIResources/IntegerRangeValidationRule.cs | vsintegration/src/FSharp.UIResources/IntegerRangeValidationRule.cs |
using System.Globalization;
using System.Windows.Controls;
namespace Microsoft.VisualStudio.FSharp.UIResources
{
public class IntegerRangeValidationRule : ValidationRule
{
public IntegerRangeValidationRule()
: base(ValidationStep.RawProposedValue, true)
{
}
public... | using System.Globalization;
using System.Windows.Controls;
namespace Microsoft.VisualStudio.FSharp.UIResources
{
public class IntegerRangeValidationRule : ValidationRule
{
public IntegerRangeValidationRule()
: base(ValidationStep.RawProposedValue, true)
{
}
public... | mit | C# |
53a30b9673a5166ebc0b2225dd45f1172337888f | Fix warning | RehanSaeed/Schema.NET | Tests/Schema.NET.Test/ThingTest.cs | Tests/Schema.NET.Test/ThingTest.cs | namespace Schema.NET.Test
{
using System;
using Newtonsoft.Json;
using Xunit;
public class ThingTest
{
private readonly Thing thing = new Thing()
{
Name = "New Object",
Description = "This is the description of a new object we can't deserialize",
... | namespace Schema.NET.Test
{
using System;
using Newtonsoft.Json;
using Xunit;
public class ThingTest
{
private readonly Thing thing = new Thing()
{
Name = "New Object",
Description = "This is the description of a new object we can't deserialize",
... | mit | C# |
7b19e97493781877de192167f6cb88e0efec219a | コメント修正。 | t-miyake/OutlookOkan | SetupCustomAction/CustomAction.cs | SetupCustomAction/CustomAction.cs | using System;
using System.Collections;
using System.Configuration.Install;
using System.Diagnostics;
using System.IO;
using System.Windows;
namespace SetupCustomAction
{
[System.ComponentModel.RunInstaller(true)]
public sealed class CustomAction : Installer
{
public override void Install(IDiction... | using System;
using System.Collections;
using System.Configuration.Install;
using System.Diagnostics;
using System.IO;
using System.Windows;
namespace SetupCustomAction
{
[System.ComponentModel.RunInstaller(true)]
public sealed class CustomAction : Installer
{
public override void Install(IDiction... | apache-2.0 | C# |
ff963f8c98fc4cda688b1a58486c446d89adeadf | Remove class constraint on AsNonNull() | peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.cs | osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.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.Diagnostics.CodeAnalysis;
namespace osu.Framework.Extensions.ObjectExtensions
{
/// <summary>
/// Extensions that apply to all objects.
/// </su... | // 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.Diagnostics.CodeAnalysis;
namespace osu.Framework.Extensions.ObjectExtensions
{
/// <summary>
/// Extensions that apply to all objects.
/// </su... | mit | C# |
97067976f75a416dd8adc290aed8841ab51740ad | Add null check | NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Overlays/Settings/Sections/General/UpdateSettings.cs | osu.Game/Overlays/Settings/Sections/General/UpdateSettings.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;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Framework.Screens;
using osu.Game.Configuratio... | // 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;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Framework.Screens;
using osu.Game.Configuratio... | mit | C# |
027d8c44bf111bcb8bc919722cc8340df0fd14ac | Reformat code | thomasgalliker/ValueConverters.NET | ValueConverters.Shared/EnumToObjectConverter.cs | ValueConverters.Shared/EnumToObjectConverter.cs | using System;
using System.Globalization;
using System.Reflection;
#if (NETFX || WINDOWS_PHONE)
using System.Windows;
using System.Windows.Markup;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
using Windows.UI.Xaml.Markup;
#elif (XAMARIN)
using Xamarin.Forms;
#endif
namespace ValueConverters
{
/// <summary>
/// E... | using System;
using System.Globalization;
#if (NETFX || WINDOWS_PHONE)
using System.Windows;
using System.Windows.Markup;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
using Windows.UI.Xaml.Markup;
#elif (XAMARIN)
using Xamarin.Forms;
#endif
namespace ValueConverters
{
/// <summary>
/// EnumToObjectConverter can... | mit | C# |
daa0dd305f0e2572fd5042571fde5b21b91d0e3b | Update HomeController.cs | ojraqueno/webapiimageupload,ojraqueno/webapiimageupload,ojraqueno/webapiimageupload | WebAPIImageUpload/Controllers/HomeController.cs | WebAPIImageUpload/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace WebAPIImageUpload.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace WebAPIImageUpload.Controllers
{
[Authorize]
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}
}
| mit | C# |
9bfd567c05d2cd56118913850e344bcb398ca957 | introduce error | samarkoirala/MyTestBlog,samarkoirala/MyTestBlog,samarkoirala/MyTestBlog,samarkoirala/MyTestBlog | Startup.cs | Startup.cs | using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(MyBlog.Startup))]
namespace MyBlog
{
public partial class Startup {
public void Configuration(IAppBuilder app) {
ConfigureAuth(app);
}asdfasdf
}
}
| using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(MyBlog.Startup))]
namespace MyBlog
{
public partial class Startup {
public void Configuration(IAppBuilder app) {
ConfigureAuth(app);
}
}
}
| mit | C# |
b1d1ba77c264c57576ccc55cc3baebdea403596b | remove unused test | larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl | Tests/MatterControl.Tests/MatterControl/Slicing/SliceLayersTests.cs | Tests/MatterControl.Tests/MatterControl/Slicing/SliceLayersTests.cs | /*
Copyright (c) 2014, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | /*
Copyright (c) 2014, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | bsd-2-clause | C# |
36141f2578bb8c7d58b2064b6e47435f0505d369 | refactor to use modelInfoRepository | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/View.cs | Dashen/View.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Dashen.Assets;
using Dashen.Infrastructure;
namespace Dashen
{
public class View
{
private readonly ModelInfoRepository _modelInfo;
private readonly List<AssetInfo> _assets;
public View(ModelInfoRepository modelInf... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Dashen.Assets;
using Dashen.Infrastructure;
namespace Dashen
{
public class View
{
private readonly List<AssetInfo> _assets;
public View()
{
_assets = new List<AssetInfo>();
_assets.Add(new JavaScriptAssetIn... | lgpl-2.1 | C# |
46865075e7bd9203020be76bc8cfba1a4774ba1b | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | autofac/Autofac.Extras.CommonServiceLocator | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.CommonServiceLocator")]
| using System;
using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.CommonServiceLocator")]
[assembly: AssemblyDescription("Autofac Adapter for the Microsoft CommonServiceLocator")]
| mit | C# |
82c69043c2b4f47c9d5f9ce0ef06983b9e7e18a7 | clean up initialization, use CopyOptions. | nathansamson/F-Spot-Album-Exporter,nathansamson/F-Spot-Album-Exporter,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,mono/f-spot,GNOME/f-spot,mans0954/f-spot,nathansamson/F-Spot-Album-Exporter,NguyenMatthieu/f-spot,Sanva/f-spot,Sanva/f-spot,mans0954/f-spot,mono/f-spot,Yetangitu/f-spot,mans0954/f-spot,dkoeb/f-spot,Nguy... | src/ThumbnailCache.cs | src/ThumbnailCache.cs | using System;
using System.Collections;
using Gdk;
public class ThumbnailCache : IDisposable {
// Types.
private class Thumbnail {
// Path of the image on the disk.
public string path;
// The uncompressed thumbnail.
public Pixbuf pixbuf;
}
// Private members and constants
private const int DEFAULT_C... | using System;
using System.Collections;
using Gdk;
public class ThumbnailCache : IDisposable {
// Types.
private class Thumbnail {
// Path of the image on the disk.
public string path;
// The uncompressed thumbnail.
public Pixbuf pixbuf;
}
// Private members and constants
private const int DEFAULT_C... | mit | C# |
cadeaff015b1094dc4a0f4faa9a35cc7d89f2751 | fix a small bug in CheckBoxItem | qusma/qdms,underwater/qdms,qusma/qdms,underwater/qdms | QDMSServer/CheckBoxItem.cs | QDMSServer/CheckBoxItem.cs | // -----------------------------------------------------------------------
// <copyright file="CheckBoxItem.cs" company="">
// Copyright 2013 Alexander Soffronow Pagonidis
// </copyright>
// -----------------------------------------------------------------------
using System.ComponentModel;
namespace QDMSServer
{
... | // -----------------------------------------------------------------------
// <copyright file="CheckBoxItem.cs" company="">
// Copyright 2013 Alexander Soffronow Pagonidis
// </copyright>
// -----------------------------------------------------------------------
using System.ComponentModel;
namespace QDMSServer
{
... | bsd-3-clause | C# |
83becc06c6393afdb974375e30542211f01f9d5f | Write to log when retrying | DanielRose/GitVersion,dpurge/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion,dazinator/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,onovotny/GitVersion,pascalberger/GitVersion,onovotny/GitVersion,onovotny/GitVersion,pascalberger/GitVersion,DanielRose/GitVersion,... | src/GitVersionCore/Helpers/OperationWithExponentialBackoff.cs | src/GitVersionCore/Helpers/OperationWithExponentialBackoff.cs | using System;
using System.Collections.Generic;
namespace GitVersion.Helpers
{
internal class OperationWithExponentialBackoff<T> where T : Exception
{
private IThreadSleep ThreadSleep;
private Action Operation;
private int MaxRetries;
public OperationWithExponentialBackoff(ITh... | using System;
using System.Collections.Generic;
namespace GitVersion.Helpers
{
internal class OperationWithExponentialBackoff<T> where T : Exception
{
private IThreadSleep ThreadSleep;
private Action Operation;
private int MaxRetries;
public OperationWithExponentialBackoff(ITh... | mit | C# |
2436619d36f7d19b49924fec2e597774cad7f9ef | Remove redundant #ToString. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Modules/Gambling/WheelOfFortuneCommands.cs | src/MitternachtBot/Modules/Gambling/WheelOfFortuneCommands.cs | using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Mitternacht.Common.Attributes;
using Mitternacht.Extensions;
using Mitternacht.Services;
using Wof = Mitternacht.Modules.Gambling.Common.WheelOfFortune.WheelOfFortune;
namespace Mitternacht.Modules.Gambling {
public partial class Gambling {
... | using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Mitternacht.Common.Attributes;
using Mitternacht.Extensions;
using Mitternacht.Services;
using Wof = Mitternacht.Modules.Gambling.Common.WheelOfFortune.WheelOfFortune;
namespace Mitternacht.Modules.Gambling {
public partial class Gambling {
... | mit | C# |
865b8017b684a5c2efeee696581bf0acd0452b74 | Decrease turn count for difficulty's sake | makerslocal/LudumDare38 | bees-in-the-trap/Assets/Scripts/GameController.cs | bees-in-the-trap/Assets/Scripts/GameController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameController : MonoBehaviour {
public static int STARTING_BEES = 3;
public static int STARTING_POLLEN = 10;
public static int TURN_COUNT = 10;
private int turn = 1;
private int bees;
private in... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameController : MonoBehaviour {
public static int STARTING_BEES = 3;
public static int STARTING_POLLEN = 10;
public static int TURN_COUNT = 20;
private int turn = 1;
private int bees;
private in... | mit | C# |
9c3124346635161c806528002499c155a19b86be | Fix for the volunteer results page. Not finished. | andrewhart098/crisischeckin,jsucupira/crisischeckin,RyanBetker/crisischeckin,pottereric/crisischeckin,HTBox/crisischeckin,RyanBetker/crisischeckin,lloydfaulkner/crisischeckin,mjmilan/crisischeckin,djjlewis/crisischeckin,HTBox/crisischeckin,brunck/crisischeckin,mjmilan/crisischeckin,jsucupira/crisischeckin,lloydfaulkner... | crisischeckin/crisicheckinweb/Views/Volunteer/_FilterResults.cshtml | crisischeckin/crisicheckinweb/Views/Volunteer/_FilterResults.cshtml | @model IEnumerable<Models.Person>
@{
ViewBag.Title = "_FilterResults";
}
<style>
table, tr, th, td {
padding: 7px;
border: 1px solid grey;
}
</style>
<table>
<tr>
<th>Volunteer Name</th>
<th>Email</th>
<th>Phone</th>
<th>Cluster</th... | @model IEnumerable<Models.Person>
@{
ViewBag.Title = "_FilterResults";
}
<style>
table, tr, th, td {
padding: 7px;
border: 1px solid grey;
}
</style>
<table>
<tr>
<th>Volunteer Name</th>
<th>Email</th>
<th>Phone</th>
<th>Cluster</th>
... | apache-2.0 | C# |
e5fa91e5fb95ce14aff5dab1e96adaf071438121 | Make InMemoryFileSystem implement IFileSystem | appharbor/appharbor-cli | src/AppHarbor.Tests/InMemoryFileSystem.cs | src/AppHarbor.Tests/InMemoryFileSystem.cs | using System;
using System.IO;
namespace AppHarbor.Tests
{
public class InMemoryFileSystem : IFileSystem
{
public void Delete(string path)
{
throw new NotImplementedException();
}
public Stream OpenRead(string path)
{
throw new NotImplementedException();
}
public Stream OpenWrite(string path)
... | namespace AppHarbor.Tests
{
public class InMemoryFileSystem
{
}
}
| mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.