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 |
|---|---|---|---|---|---|---|---|---|
f3c80c0f2edf8bc2966f8ddd4d3f756c73f7222a | Add diagnostic try-catch blocks to MorphInto() | arthurrump/Zermelo.App.UWP | Zermelo.App.UWP/Helpers/ObservableCollectionExtensions.cs | Zermelo.App.UWP/Helpers/ObservableCollectionExtensions.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zermelo.App.UWP.Helpers
{
static class ObservableCollectionExtensions
{
public static void MorphInto<TSource>(this ObservableCollection<TS... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Zermelo.App.UWP.Helpers
{
static class ObservableCollectionExtensions
{
public static void MorphInto<TSource>(this ObservableCollection<TS... | mit | C# |
be6250fc7628e3a712bf747c0deb441e4f01ea9a | update Q219 | txchen/csharp-leet,txchen/csharp-leet | solutions/Q219.cs | solutions/Q219.cs | public class Solution {
public bool ContainsNearbyDuplicate(int[] nums, int k) {
HashSet<int> hs = new HashSet<int>();
for (int i = 0; i < nums.Length; i++)
{
if (!hs.Add(nums[i]))
{
return true;
}
if (i >= k)
... | public class Solution {
public bool ContainsNearbyDuplicate(int[] nums, int k) {
for (int i = 0; i < nums.Length; i++) {
for (int j = i + 1; j < nums.Length && (j - i) <= k; j++) {
if (nums[j] == nums[i]) {
return true;
}
}
... | mit | C# |
e467f001d762ccc8c44cc0283c92010963a72696 | remove ServerCmd enum | ivayloivanof/C-Sharp-Chat-Programm | Client/ChatClient/ChatClient/Command.cs | Client/ChatClient/ChatClient/Command.cs | namespace ChatClient
{
using System;
using System.Collections.Generic;
using System.Linq;
public class ServerCommand
{
public ServerCommandList CommandList;
public List<string> Args;
public ServerCommand(string _CmdString)
{
fetchCmd(_CmdString);
... | namespace ChatClient
{
using System;
using System.Collections.Generic;
using System.Linq;
public enum ServerCmd
{
//Responses of CommandList Login(4;Benutzername;BenutzerPW[;ServerPW])
isLogged,//(0)
WrongPwd,//(1)
NewUserRegistered,//(2)
ServerIsFull,//(3)
... | unlicense | C# |
515f5c497704de857f07fffb86c6e35e32d690af | Refactor FindByColumnHeaderStrategy | YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata | src/Atata/ScopeSearch/Strategies/FindByColumnHeaderStrategy.cs | src/Atata/ScopeSearch/Strategies/FindByColumnHeaderStrategy.cs | using System.Linq;
using OpenQA.Selenium;
namespace Atata
{
public class FindByColumnHeaderStrategy : IComponentScopeLocateStrategy
{
private readonly string headerXPath;
public FindByColumnHeaderStrategy()
: this("(ancestor::table)[1]//th")
{
}
... | using System.Linq;
using OpenQA.Selenium;
namespace Atata
{
public class FindByColumnHeaderStrategy : IComponentScopeLocateStrategy
{
private readonly string headerXPath;
public FindByColumnHeaderStrategy()
: this("(ancestor::table)[1]//th")
{
}
... | apache-2.0 | C# |
0c31248824964fb96198e27ef375b8cf8712b29b | Remove designer ImageBrush references | andburn/hdt-plugin-endgame | EndGame/Utilities/DesignerRepository.cs | EndGame/Utilities/DesignerRepository.cs | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Resources;
using HDT.Plugins.EndGame.Models;
using HDT.Plugins.EndGame.Services;
namespace HDT.Plugins.EndGame.Utilities
{
public class DesignerRepository : ITrac... | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Resources;
using HDT.Plugins.EndGame.Models;
using HDT.Plugins.EndGame.Services;
namespace HDT.Plugins.EndGame.Utilities
{
public class DesignerRepository : ITrac... | mit | C# |
2a180d7369cc9389491f22bbd1c78b0e961374fa | Remove unused log rows | michael-reichenauer/GitMind | GitMind/GitModel/Private/MRepository.cs | GitMind/GitModel/Private/MRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using GitMind.Features.StatusHandling;
using GitMind.Git;
using GitMind.Utils;
namespace GitMind.GitModel.Private
{
public class MRepository
{
public static string CurrentVersion = "18";
// Serialized start -------------------
public string ... | using System;
using System.Collections.Generic;
using System.Linq;
using GitMind.Features.StatusHandling;
using GitMind.Git;
using GitMind.Utils;
namespace GitMind.GitModel.Private
{
public class MRepository
{
public static string CurrentVersion = "18";
// Serialized start -------------------
public string ... | mit | C# |
16ded911d57649c2c8fbdc76e0cd621a06fcecaf | Update Fizz.cs | metaphorce/leaguesharp | MetaSmite/Champions/Fizz.cs | MetaSmite/Champions/Fizz.cs | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Fizz
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spellDa... | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Fizz
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spellDa... | mit | C# |
af6acbd0598339d994cf16ba31f93a85f4bb1bbf | Bump Cake.Recipe from 2.2.0 to 2.2.1 | Redth/Cake.Json,Redth/Cake.Json | recipe.cake | recipe.cake | #load nuget:?package=Cake.Recipe&version=2.2.1
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.Json",
rep... | #load nuget:?package=Cake.Recipe&version=2.2.0
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.Json",
rep... | apache-2.0 | C# |
b7450e7c690474d188063a03492e7c7e81b6dcaa | Split session and request ID properties to avoid recording superfluous information (e.g. with sessions disabled) | colin-young/serilog,vorou/serilog,redwards510/serilog,adamchester/serilog,JuanjoFuchs/serilog,colin-young/serilog,khellang/serilog,clarkis117/serilog,harishjan/serilog,skomis-mm/serilog,ravensorb/serilog,richiej84/serilog,serilog/serilog,clarkis117/serilog,zmaruo/serilog,harishjan/serilog,Jaben/serilog,serilog/serilog,... | src/Serilog.Web/Web/Enrichers/HttpRequestPropertiesEnricher.cs | src/Serilog.Web/Web/Enrichers/HttpRequestPropertiesEnricher.cs | // Copyright 2013 Nicholas Blumhardt
//
// 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 ag... | // Copyright 2013 Nicholas Blumhardt
//
// 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 ag... | apache-2.0 | C# |
e1a8c8a137b8c0634401bdab0a059ed8e7a17050 | Add giftcard method to list of methods | foxip/mollie-api-csharp | Mollie.Api/Models/Method.cs | Mollie.Api/Models/Method.cs | namespace Mollie.Api.Models
{
/// <summary>
/// Payment method
/// </summary>
public enum Method
{
ideal,
creditcard,
mistercash,
sofort,
banktransfer,
directdebit,
belfius,
kbc,
bitcoin,
paypal,
paysafecard,
... | namespace Mollie.Api.Models
{
/// <summary>
/// Payment method
/// </summary>
public enum Method
{
ideal,
creditcard,
mistercash,
sofort,
banktransfer,
directdebit,
belfius,
kbc,
bitcoin,
paypal,
paysafecard,
... | bsd-2-clause | C# |
9e93956187b58840776aabee60669b758462a385 | Raise an exception when the size of the array is too large. | dlemstra/Magick.NET,dlemstra/Magick.NET | Magick.NET/Core/Helpers/StreamHelper.cs | Magick.NET/Core/Helpers/StreamHelper.cs | //=================================================================================================
// Copyright 2013-2016 Dirk Lemstra <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy ... | //=================================================================================================
// Copyright 2013-2016 Dirk Lemstra <https://magick.codeplex.com/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy ... | apache-2.0 | C# |
55bd7d25126f0441a1367188e80e7f17d606f200 | Add failing coverage for saving difficulty params from editor | peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu-new | osu.Game.Tests/Visual/Editing/TestSceneEditorSaving.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorSaving.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.Input;
using osu.Framework.Testing;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Edit;
usi... | // 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.Input;
using osu.Framework.Testing;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Edit;
usi... | mit | C# |
935cccbf6f8aab2c3b19e21ed0d702d14bef23c3 | Swap bits | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | ElementsOfProgrammingInterviews/PrimitiveTypes/reverse_bits.cs | ElementsOfProgrammingInterviews/PrimitiveTypes/reverse_bits.cs | using System;
class Program {
static byte reverse(byte x) {
int y = 0;
while (x != 0) {
y = (y << 1) | (x & 1);
x >>= 1;
}
return (byte) y;
}
public static void Main(string[] args) {
byte x = (byte) new Random().Next(10, 255);
by... | using System;
class Program {
public static void Main(string[] args) {
}
}
| mit | C# |
8944eb9cdf6e2390210fed84e60c7168d7c01615 | make dependencies transient | SRoddis/Mongo.Migration | Mongo.Migration/Startup/DotNetCore/MongoMigrationExtensions.cs | Mongo.Migration/Startup/DotNetCore/MongoMigrationExtensions.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Mongo.Migration.Documents.Locators;
using Mongo.Migration.Documents.Serializers;
using Mongo.Migration.Migrations;
using Mongo.Migration.Migrations.Locators;
using Mongo.Migration.Services;
using Mongo.Migration.Services.Intercept... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Mongo.Migration.Documents.Locators;
using Mongo.Migration.Documents.Serializers;
using Mongo.Migration.Migrations;
using Mongo.Migration.Migrations.Locators;
using Mongo.Migration.Services;
using Mongo.Migration.Services.Intercept... | mit | C# |
d9f5c320f6ca8f915aada806b438321d32e51979 | Update ExeRunXml.cs | Seddryck/NBi,Seddryck/NBi | NBi.Xml/Decoration/Command/ExeRunXml.cs | NBi.Xml/Decoration/Command/ExeRunXml.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using System.IO;
using NBi.Core.Process;
namespace NBi.Xml.Decoration.Command
{
public class ExeRunXml : DecorationCommandXml... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using System.IO;
using NBi.Core.Process;
namespace NBi.Xml.Decoration.Command
{
public class ExeRunXml : DecorationCommandXml... | apache-2.0 | C# |
19589f2506778ca2bbb4640ee273c9bd1f0be476 | Add global exception handler. | ryanjfitz/SimpSim.NET | SimpSim.NET.WPF/App.xaml.cs | SimpSim.NET.WPF/App.xaml.cs | using System.Windows;
using Prism.Ioc;
using SimpSim.NET.WPF.ViewModels;
using SimpSim.NET.WPF.Views;
namespace SimpSim.NET.WPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
public App()
{
DispatcherUnhandledException += (s... | using System.Windows;
using Prism.Ioc;
using SimpSim.NET.WPF.ViewModels;
using SimpSim.NET.WPF.Views;
namespace SimpSim.NET.WPF
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
protected override Window CreateShell()
{
return ... | mit | C# |
7f5cca8825f86a38a202f4d9e0df5bffcb5835cd | Make ints nullable | davek17/SurveyMonkeyApi-v3,bcemmett/SurveyMonkeyApi-v3 | SurveyMonkey/Containers/QuestionDisplayOptionsCustomOptions.cs | SurveyMonkey/Containers/QuestionDisplayOptionsCustomOptions.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class QuestionDisplayOptionsCustomOptions
{
public List<string> OptionSet { get; set; }
public int? StartingPosition { get; set; } //slider que... | using Newtonsoft.Json;
using System.Collections.Generic;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class QuestionDisplayOptionsCustomOptions
{
public List<string> OptionSet { get; set; }
public int StartingPosition { get; set; } //slider ques... | mit | C# |
531bb2b319cb16b825c8393a07ce57e8117f7ed6 | add new ctor for Message | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TeraPacketParser/Message.cs | TeraPacketParser/Message.cs | using System;
using FoglioUtils.Extensions;
using TeraPacketParser.Data;
namespace TeraPacketParser
{
public class Message
{
public Message(DateTime time, MessageDirection direction, ArraySegment<byte> data)
{
Time = time;
Direction = direction;
Data = data;... | using System;
using FoglioUtils.Extensions;
using TeraPacketParser.Data;
namespace TeraPacketParser
{
public class Message
{
public Message(DateTime time, MessageDirection direction, ArraySegment<byte> data)
{
Time = time;
Direction = direction;
Data = data;... | mit | C# |
05f347bf57d6c4d9fb55a3e9b5b20dfe0d5110b3 | update NetHelper. | 13f/picker | Picker/Picker.Core/Helpers/NetHelper.cs | Picker/Picker.Core/Helpers/NetHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Picker.Core.Helpers {
public static class NetHelper {
public static WebClient GetWebClient_UTF8(){
WebClient client = new WebClient();
client.Encoding = Sys... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
namespace Picker.Core.Helpers {
public static class NetHelper {
public static WebClient GetWebClient_UTF8(){
WebClient client = new WebClient();
client.Encoding = Sys... | mit | C# |
180aee6048e69c7119849a9037a85fbcefaa3137 | Fix iOS build | UselessToucan/osu,smoogipoo/osu,naoey/osu,DrabWeb/osu,NeoAdonis/osu,peppy/osu-new,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,naoey/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,2yangk23/osu,2yangk23/osu,EVAST9919/osu,NeoAdonis/osu,smoogipooo/osu,naoey/osu,DrabWeb/o... | osu.iOS/OsuGameIOS.cs | osu.iOS/OsuGameIOS.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using Foundation;
using osu.Game;
namespace osu.iOS
{
public class OsuGameIOS : OsuGame
{
public override Version AssemblyVersion => new V... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using Foundation;
using osu.Game;
namespace osu.iOS
{
public class OsuGameIOS : OsuGame
{
protected override Version AssemblyVersion => ne... | mit | C# |
db84f8bbe3e4d0be2f14c88b86d09c906fb7d99e | Make FlowEmptyModel public | daniel-luberda/DLToolkit.Forms.Controls | FlowListView/DLToolkit.Forms.Controls.FlowListView/FlowEmptyModel.cs | FlowListView/DLToolkit.Forms.Controls.FlowListView/FlowEmptyModel.cs | using System;
namespace DLToolkit.Forms.Controls
{
[Helpers.FlowListView.Preserve(AllMembers = true)]
public class FlowEmptyModel
{
}
} | using System;
namespace DLToolkit.Forms.Controls
{
[Helpers.FlowListView.Preserve(AllMembers = true)]
internal class FlowEmptyModel
{
}
} | apache-2.0 | C# |
66b1d0f70c0b9844a8d899be8e32fb6fa4148143 | Add in a cost property in IGameItem interface | liam-middlebrook/Navier-Boats | Navier-Boats/Navier-Boats/Navier-Boats/Engine/Inventory/IGameItem.cs | Navier-Boats/Navier-Boats/Navier-Boats/Engine/Inventory/IGameItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Navier_Boats.Engine.Entities;
namespace Navier_Boats.Engine.Inventory
{
public interface IGameItem : IInteractable
{
Texture2D InventoryTexture
{
get;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Navier_Boats.Engine.Entities;
namespace Navier_Boats.Engine.Inventory
{
public interface IGameItem : IInteractable
{
Texture2D InventoryTexture
{
get;... | apache-2.0 | C# |
a11399c2dbfcadbc1af07ca03512c3a1c047c4a8 | Fix LicenseHeaer in AssemblyInfo.Shared (#1056) | SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource-DotNet/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild | AssemblyInfo.Shared.cs | AssemblyInfo.Shared.cs | /*
* SonarScanner for MSBuild
* Copyright (C) 2016-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program 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 o... | /*
* SonarScanner for MSBuild
* Copyright (C) 2016-2020 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program 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 o... | mit | C# |
3da8937d75d32a3ab8560945d60685fe886b8f07 | Fix `VsCodeDiffProgram` path selection on Windows | droyad/Assent | src/Assent/Reporters/DiffPrograms/VsCodeDiffProgram.cs | src/Assent/Reporters/DiffPrograms/VsCodeDiffProgram.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Assent.Reporters.DiffPrograms
{
public class VsCodeDiffProgram : DiffProgramBase
{
static VsCodeDiffProgram()
{
var paths = new List<string>();
if (DiffReporter.IsWindows)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Assent.Reporters.DiffPrograms
{
public class VsCodeDiffProgram : DiffProgramBase
{
static VsCodeDiffProgram()
{
var paths = new List<string>();
if (DiffReporter.IsWindows)
{
... | mit | C# |
ec27ffa4ed01ba2bee89f966df25dd1d303b06a0 | Fix old attribute | trenoncourt/AutoQueryable | src/AutoQueryable/Attributes/AutoQueryableAttribute.cs | src/AutoQueryable/Attributes/AutoQueryableAttribute.cs | using System;
using AutoQueryable.Filters;
using AutoQueryable.Models;
using Microsoft.AspNetCore.Mvc.Filters;
namespace AutoQueryable.Attributes
{
[AttributeUsage(AttributeTargets.Method)]
public class AutoQueryableAttribute : Attribute, IFilterFactory, IOrderedFilter
{
// A nullable-int cannot b... | using System;
using AutoQueryable.Filters;
using AutoQueryable.Models;
using Microsoft.AspNetCore.Mvc.Filters;
namespace AutoQueryable.Attributes
{
[AttributeUsage(AttributeTargets.Method)]
public class AutoQueryableAttribute : Attribute, IFilterFactory, IOrderedFilter
{
// A nullable-int cannot b... | mit | C# |
654da6ef5943b4376dea906f8e4313266be292ea | add missing FlagsAttribute | jberezanski/PSKnownFolders | BlaSoft.PowerShell.KnownFolders/Win32/KF_REDIRECT_FLAGS.cs | BlaSoft.PowerShell.KnownFolders/Win32/KF_REDIRECT_FLAGS.cs | using System;
namespace BlaSoft.PowerShell.KnownFolders.Win32
{
[Flags]
internal enum KF_REDIRECT_FLAGS
{
KF_REDIRECT_NONE = 0,
KF_REDIRECT_USER_EXCLUSIVE = 0x00000001,
KF_REDIRECT_COPY_SOURCE_DACL = 0x00000002,
KF_REDIRECT_OWNER_USER = 0x00000004,
KF_REDIRECT_SET_O... | namespace BlaSoft.PowerShell.KnownFolders.Win32
{
internal enum KF_REDIRECT_FLAGS
{
KF_REDIRECT_NONE = 0,
KF_REDIRECT_USER_EXCLUSIVE = 0x00000001,
KF_REDIRECT_COPY_SOURCE_DACL = 0x00000002,
KF_REDIRECT_OWNER_USER = 0x00000004,
KF_REDIRECT_SET_OWNER_EXPLICIT = 0x00000008,... | mit | C# |
7c62277c5d564ee4e4603ae0ca112934c7e7ccf0 | add range to With functions. | bordoley/FunctionalHttp | FunctionalHttp.CSharpInterop/Core/ContentInfoExtensions.cs | FunctionalHttp.CSharpInterop/Core/ContentInfoExtensions.cs | using FunctionalHttp.Collections;
using Microsoft.FSharp.Collections;
using Microsoft.FSharp.Core;
using System;
using System.Collections.Generic;
namespace FunctionalHttp.Core.Interop
{
public static class ContentInfoExtensionsCSharp
{
public static ContentInfo With(
this ContentInfo This,... | using FunctionalHttp.Collections;
using Microsoft.FSharp.Collections;
using Microsoft.FSharp.Core;
using System;
using System.Collections.Generic;
namespace FunctionalHttp.Core.Interop
{
public static class ContentInfoExtensionsCSharp
{
public static ContentInfo With(
this ContentInfo This,... | apache-2.0 | C# |
3380ec8a9312d60805a9d70374a8d651ef9c9eaf | Fix merge issue | karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig... | src/Host/Client/Impl/Extensions/AboutHostExtensions.cs | src/Host/Client/Impl/Extensions/AboutHostExtensions.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Reflection;
using Microsoft.Common.Core;
using Microsoft.R.Host.Protocol;
namespace Microsoft.R.Host.Client {
public static class Abou... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Reflection;
using Microsoft.Common.Core;
using Microsoft.R.Host.Protocol;
namespace Microsoft.R.Host.Client {
public static class Abou... | mit | C# |
f829caf197c7565bf8d4995073d1eae17c183579 | Fix custom logic still existing in OsuInputManager | ppy/osu,EVAST9919/osu,2yangk23/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,2yangk23/osu,johnneijzen/osu,naoey/osu,peppy/osu-new,DrabWeb/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,naoey/osu,peppy/osu,peppy/osu,EVAST9919/osu,Fro... | osu.Game.Rulesets.Osu/OsuInputManager.cs | osu.Game.Rulesets.Osu/OsuInputManager.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.ComponentModel;
using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
namespace osu.Game.Rulesets.Osu
{
public class OsuInputMan... | // 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.ComponentModel;
using System.Linq;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
using OpenTK.Input... | mit | C# |
2bb608b1bdac5d95e04a43b36d40129ac7aab5be | Fix typo. | AxeDotNet/AxePractice.CSharpViaTest | src/CSharpViaTest.Collections/30_MapReducePractices/GetMaxNumbersInMultipleCollections.cs | src/CSharpViaTest.Collections/30_MapReducePractices/GetMaxNumbersInMultipleCollections.cs | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using CSharpViaTest.Collections.Helpers;
using Xunit;
namespace CSharpViaTest.Collections._30_MapReducePractices
{
[SuperEasy]
public class GetMaxNumbersInMultipleCollections
{
static IE... | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using CSharpViaTest.Collections.Helpers;
using Xunit;
namespace CSharpViaTest.Collections._30_MapReducePractices
{
[SuperEasy]
public class GetMaxNumbersInMultipleCollections
{
static IE... | mit | C# |
e61d28014599bbe276d6edd97a4ec699c1bb19ff | Fix CI issues | EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,ZLima12/osu-fram... | osu.Framework/Graphics/Video/FfmpegExtensions.cs | osu.Framework/Graphics/Video/FfmpegExtensions.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using FFmpeg.AutoGen;
namespace osu.Framework.Graphics.Video
{
internal static class FfmpegExtensions
{
internal static double GetValue(this ... | using FFmpeg.AutoGen;
using System;
using System.Collections.Generic;
using System.Text;
namespace osu.Framework.Graphics.Video
{
internal static class FfmpegExtensions
{
internal static double GetValue(this AVRational rational) => rational.num / (double)rational.den;
}
}
| mit | C# |
3fee7587bc3c3943836f23f5e2420f2eb985b03a | Make the shuffle more noticable. | wieslawsoltes/Perspex,wieslawsoltes/Perspex,OronDF343/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,akrisiun/Perspex,wieslawsoltes/Perspex,jazzay/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,danwalmsley/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,susloparovdenis/Avalonia,... | samples/BindingTest/ViewModels/MainWindowViewModel.cs | samples/BindingTest/ViewModels/MainWindowViewModel.cs | using System;
using System.Collections.ObjectModel;
using ReactiveUI;
namespace BindingTest.ViewModels
{
public class MainWindowViewModel : ReactiveObject
{
private string _simpleBinding = "Simple Binding";
public MainWindowViewModel()
{
Items = new ObservableCollection<Te... | using System;
using System.Collections.ObjectModel;
using ReactiveUI;
namespace BindingTest.ViewModels
{
public class MainWindowViewModel : ReactiveObject
{
private string _simpleBinding = "Simple Binding";
public MainWindowViewModel()
{
Items = new ObservableCollection<Te... | mit | C# |
48efb686f1d4a1c6c678f3996c6d1cea43401d53 | Set size for the fields on contact form | davidsonsousa/CMSEngine,davidsonsousa/CMSEngine,davidsonsousa/CMSEngine,davidsonsousa/CMSEngine | CmsEngine.Application/Helpers/Email/ContactForm.cs | CmsEngine.Application/Helpers/Email/ContactForm.cs | using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json.Linq;
namespace CmsEngine.Application.Helpers.Email
{
public class ContactForm
{
[Required]
[DataType(DataType.EmailAddress)]
public string From { get; set; }
[DataType(DataType.EmailAddress)]
public stri... | using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json.Linq;
namespace CmsEngine.Application.Helpers.Email
{
public class ContactForm
{
[Required]
[DataType(DataType.EmailAddress)]
public string From { get; set; }
[DataType(DataType.EmailAddress)]
public stri... | mit | C# |
ed6a239191b814358f9299b509a4c409782c9429 | Update StringExtensions.cs | digipost/digipost-api-client-dotnet | Digipost.Api.Client/Extensions/StringExtensions.cs | Digipost.Api.Client/Extensions/StringExtensions.cs | using System.Text.RegularExpressions;
namespace Digipost.Api.Client.Extensions
{
internal static class StringExtensions
{
/// <summary>
/// Removes reserved characters and commonly encoded characters as explained in https://en.wikipedia.org/wiki/Percent-encoding
/// </summary>
... | using System.Text.RegularExpressions;
namespace Digipost.Api.Client.Extensions
{
public static class StringExtensions
{
/// <summary>
/// Removes reserved characters and commonly encoded characters as explained in https://en.wikipedia.org/wiki/Percent-encoding
/// </summary>
//... | apache-2.0 | C# |
8c1679ea7672057212492c0f871e9d0c8c39ec4d | Disable 2nd sandbox test by default | b0bi79/ClosedXML,ClosedXML/ClosedXML,igitur/ClosedXML | ClosedXML_Sandbox/Program.cs | ClosedXML_Sandbox/Program.cs | using System;
namespace ClosedXML_Sandbox
{
internal static class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Running {0}", nameof(PerformanceRunner.OpenTestFile));
PerformanceRunner.TimeAction(PerformanceRunner.OpenTestFile);
Conso... | using System;
namespace ClosedXML_Sandbox
{
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Running {0}", nameof(PerformanceRunner.OpenTestFile));
PerformanceRunner.TimeAction(PerformanceRunner.OpenTestFile);
Console.Writ... | mit | C# |
95de71af32850ab653ae643ea2996f22a98b7114 | Update GlobalMouseListener.cs | gmamaladze/globalmousekeyhook | MouseKeyHook/Implementation/GlobalMouseListener.cs | MouseKeyHook/Implementation/GlobalMouseListener.cs | // This code is distributed under MIT license.
// Copyright (c) 2015 George Mamaladze
// See license.txt or https://mit-license.org/
using System.Windows.Forms;
using Gma.System.MouseKeyHook.WinApi;
namespace Gma.System.MouseKeyHook.Implementation
{
internal class GlobalMouseListener : MouseListener
{
... | // This code is distributed under MIT license.
// Copyright (c) 2015 George Mamaladze
// See license.txt or https://mit-license.org/
using System.Windows.Forms;
using Gma.System.MouseKeyHook.WinApi;
namespace Gma.System.MouseKeyHook.Implementation
{
internal class GlobalMouseListener : MouseListener
{
... | mit | C# |
252d89000d2694059553a42afaf71a479fb7be51 | Fix comment copy+paste fail | AntiTcb/Discord.Net,Confruggy/Discord.Net,LassieME/Discord.Net,RogueException/Discord.Net | src/Discord.Net.Commands/Attributes/NameAttribute.cs | src/Discord.Net.Commands/Attributes/NameAttribute.cs | using System;
namespace Discord.Commands
{
// Override public name of command/module
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
public class NameAttribute : Attribute
{
public string Text { get; }
public NameAttribute(string text)
{
Text = tex... | using System;
namespace Discord.Commands
{
// Full summary of method
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
public class NameAttribute : Attribute
{
public string Text { get; }
public NameAttribute(string text)
{
Text = text;
}
... | mit | C# |
0de86757373dd1ce905abc954ab1dfff0a98907b | Remove unnecessary blank lines | AmadeusW/roslyn,ErikSchierboom/roslyn,CyrusNajmabadi/roslyn,tmat/roslyn,stephentoub/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,ErikSchierboom/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,tmat/roslyn,davkean/roslyn,gafter/roslyn,sharwell/roslyn,KirillOsenkov/rosly... | src/Features/Lsif/Generator/Writing/LsifConverter.cs | src/Features/Lsif/Generator/Writing/LsifConverter.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 Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.Graph;
using Newtonsoft.Json;
names... | // 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 Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.Graph;
using Newtonsoft.Json;
names... | mit | C# |
8a1d4ab62ae0ec448c128b2f03864c6f8ce2faff | Fix deprecation | nikeee/HolzShots | src/HolzShots.Core/Net/Custom/SemVersionConverter.cs | src/HolzShots.Core/Net/Custom/SemVersionConverter.cs | using Newtonsoft.Json;
using Semver;
namespace HolzShots.Net.Custom
{
/// <summary>
/// Taken from
/// https://gist.github.com/madaz/efab4a5554b88dc2862d58046ddba00f
/// (https://github.com/maxhauser/semver/issues/21)
/// </summary>
public class SemVersionConverter : JsonConverter
{
... | using Newtonsoft.Json;
using Semver;
namespace HolzShots.Net.Custom
{
/// <summary>
/// Taken from
/// https://gist.github.com/madaz/efab4a5554b88dc2862d58046ddba00f
/// (https://github.com/maxhauser/semver/issues/21)
/// </summary>
public class SemVersionConverter : JsonConverter
{
... | agpl-3.0 | C# |
dd1a1150f8aa58b2edca8cef18b8b3f7d96f2446 | Make VersionDescriptor immutable | mrahhal/MR.AspNetCore.ApiVersioning,mrahhal/MR.AspNetCore.ApiVersioning | src/MR.AspNetCore.ApiVersioning/VersionDescriptor.cs | src/MR.AspNetCore.ApiVersioning/VersionDescriptor.cs | using System;
using System.Collections.Generic;
namespace MR.AspNetCore.ApiVersioning
{
public struct VersionDescriptor : IComparable<VersionDescriptor>
{
private static VersionDescriptor _invalid = new VersionDescriptor(-1, -1);
private static _Comparer _comparer = new _Comparer();
private int _major;
priv... | using System;
using System.Collections.Generic;
namespace MR.AspNetCore.ApiVersioning
{
public struct VersionDescriptor : IComparable<VersionDescriptor>
{
private static VersionDescriptor _invalid = new VersionDescriptor(-1, -1);
private static _Comparer _comparer = new _Comparer();
public int Major;
public... | mit | C# |
96620f209c8e8132e2b6826e0c1d71080cb325b4 | Increment version number to 1.3.5.0 | rhythmagency/formulate,rhythmagency/formulate,rhythmagency/formulate | src/formulate.meta/Constants.cs | src/formulate.meta/Constants.cs | namespace formulate.meta
{
/// <summary>
/// Constants relating to Formulate itself (i.e., does not
/// include constants used by Formulate).
/// </summary>
public class Constants
{
/// <summary>
/// This is the version of Formulate. It is used on
/// assemblies and du... | namespace formulate.meta
{
/// <summary>
/// Constants relating to Formulate itself (i.e., does not
/// include constants used by Formulate).
/// </summary>
public class Constants
{
/// <summary>
/// This is the version of Formulate. It is used on
/// assemblies and du... | mit | C# |
706e041a3ae10d7d1c6101bbbf0d24671e671a89 | Update SimpleArraySum.cs | michaeljwebb/Algorithm-Practice | HackerRank/SimpleArraySum.cs | HackerRank/SimpleArraySum.cs | //Given an array of integers find the sum of its elements.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Solution {
static int simpleArraySum(int n, int[] ar) {
int result = 0;
for(n = 0; n < ar.Length; n++){
result += ar[n];
}
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Solution {
static int simpleArraySum(int n, int[] ar) {
int result = 0;
for(n = 0; n < ar.Length; n++){
result += ar[n];
}
return result;
}
static void Main(String[] args)... | mit | C# |
60274b71d6019941c00883377b6cd9d453e3907c | Fix status bar overlapping text on iOS 7 | robinlaide/monotouch-samples,YOTOV-LIMITED/monotouch-samples,hongnguyenpro/monotouch-samples,nelzomal/monotouch-samples,nervevau2/monotouch-samples,markradacz/monotouch-samples,labdogg1003/monotouch-samples,nervevau2/monotouch-samples,sakthivelnagarajan/monotouch-samples,markradacz/monotouch-samples,a9upam/monotouch-sa... | ImageProtocol/AppDelegate.cs | ImageProtocol/AppDelegate.cs | //
// AppDelegate.cs
//
// Author:
// Rolf Bjarne Kvinge (rolf@xamarin.com)
//
// Copyright 2012, Xamarin Inc.
//
// 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 restric... | //
// AppDelegate.cs
//
// Author:
// Rolf Bjarne Kvinge (rolf@xamarin.com)
//
// Copyright 2012, Xamarin Inc.
//
// 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 restric... | mit | C# |
d8161c37014a0d4543d7ce359408f667590f5426 | Update code flow sample | EternalXw/IdentityServer3,kouweizhong/IdentityServer3,huoxudong125/Thinktecture.IdentityServer.v3,18098924759/IdentityServer3,chicoribas/IdentityServer3,AscendXYZ/Thinktecture.IdentityServer.v3,jonathankarsh/IdentityServer3,yanjustino/IdentityServer3,tuyndv/IdentityServer3,uoko-J-Go/IdentityServer,bodell/IdentityServer... | samples/Clients/MvcCodeFlowClientManual/Views/Callback/Token.cshtml | samples/Clients/MvcCodeFlowClientManual/Views/Callback/Token.cshtml | @model Thinktecture.IdentityModel.Client.TokenResponse
@{
ViewBag.Title = "Token response";
}
<h2>Token response</h2>
<br />
<p>
<strong>Token response:</strong>
<br />
<pre>@Model.Json.ToString()</pre>
</p>
<p>
<strong>Identity token:</strong>
<pre>@ViewBag.IdentityTokenParsed</pre>
</p>
... | @model Thinktecture.IdentityModel.Client.TokenResponse
@{
ViewBag.Title = "Token response";
}
<h2>Token response</h2>
<br />
<p>
<strong>Identity token:</strong>
<br />
<pre>@Model.IdentityToken</pre>
</p>
<p>
<pre>@ViewBag.IdentityTokenParsed</pre>
</p>
<p>
<strong>Access token:</strong>
... | apache-2.0 | C# |
f7502c18a3be71fc21dac7662b67bc308f3a6ac0 | Update version | DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Resources;
// WARNING this file is shared accross multiple projects
[assembly: AssemblyProduct("ASP.NET AJAX Control Toolkit")]
[assembly: AssemblyCopyright("Copyright © CodePlex Foundation 2012-2016")]
[assembly: AssemblyCompany("CodePlex Foundation")]
[assembly: AssemblyVersi... | using System.Reflection;
using System.Resources;
// WARNING this file is shared accross multiple projects
[assembly: AssemblyProduct("ASP.NET AJAX Control Toolkit")]
[assembly: AssemblyCopyright("Copyright © CodePlex Foundation 2012-2016")]
[assembly: AssemblyCompany("CodePlex Foundation")]
[assembly: AssemblyVersi... | bsd-3-clause | C# |
fbcccd6894e833af2695508bdb0cbfcb07938abf | Handle unrecognized properties from Mongo (LF-48) | sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge | src/LfMerge.Core/LanguageForge/Model/LfFieldBase.cs | src/LfMerge.Core/LanguageForge/Model/LfFieldBase.cs | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using LfMerge.Core.Logging;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attribute... | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using MongoDB.Bson;
using System.Collections.Generic;
using System.Linq;
namespace LfMerge.Core.LanguageForge.Model
{
public class LfFieldBase
{
// Used in subclasses to help reduce size... | mit | C# |
642510422da980aead806a21e1c05d8c38cf9b2e | add missing model: NpmConnectorPackage | lvermeulen/ProGet.Net | src/ProGet.Net/Native/Models/NpmConnectorPackage.cs | src/ProGet.Net/Native/Models/NpmConnectorPackage.cs | using System;
// ReSharper disable InconsistentNaming
namespace ProGet.Net.Native.Models
{
public class NpmConnectorPackage
{
public int Connector_Id { get; set; }
public string Package_Name { get; set; }
public string Package_Version { get; set; }
public DateTime Modified_Dat... | namespace ProGet.Net.Native.Models
{
public class NpmConnectorPackage
{
}
}
| mit | C# |
0cf27bd14bd5f0e8362af277d94d3dc812cb1762 | Refactor QueueManager to remove code duplication | lindydonna/ContosoMoments,lindydonna/ContosoMoments,lindydonna/ContosoMoments,lindydonna/ContosoMoments,azure-appservice-samples/ContosoMoments,azure-appservice-samples/ContosoMoments,azure-appservice-samples/ContosoMoments,azure-appservice-samples/ContosoMoments,azure-appservice-samples/ContosoMoments,lindydonna/Conto... | src/Cloud/ContosoMoments.Common/Queue/QueueManager.cs | src/Cloud/ContosoMoments.Common/Queue/QueueManager.cs | using ContosoMoments.Common.Models;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using Newtonsoft.Json;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace ContosoMoments.Common
{
public class QueueManager
{
private static st... | using ContosoMoments.Common.Models;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using Newtonsoft.Json;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace ContosoMoments.Common
{
public class QueueManager
{
private static st... | mit | C# |
7284fe89e30c3a4a76b4136594352bd0c56d63bf | Add debug logs | SnpM/DarkRiftNetworkHelper | DarkRiftNetworkHelper.cs | DarkRiftNetworkHelper.cs | using UnityEngine;
using System.Collections;
using DarkRift;
using Lockstep.NetworkHelpers.DarkRift;
namespace Lockstep.NetworkHelpers
{
public class DarkRiftNetworkHelper : NetworkHelper
{
DarkRiftConnection Connection = new DarkRiftConnection ();
void Start()
{
Connection.onData += HandleData;
}
int... | using UnityEngine;
using System.Collections;
using DarkRift;
using Lockstep.NetworkHelpers.DarkRift;
namespace Lockstep.NetworkHelpers
{
public class DarkRiftNetworkHelper : NetworkHelper
{
DarkRiftConnection Connection = new DarkRiftConnection ();
void Start()
{
Connection.onData += HandleData;
}
int... | mit | C# |
9b4efd73d2f4b5d41cd373869bbdb6d76adfed7b | Add additional options from Dokany v1.3.0.1000 | dokan-dev/dokan-dotnet,dokan-dev/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,dokan-dev/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,TrabacchinLuigi/dokan-dotnet | DokanNet/DokanOptions.cs | DokanNet/DokanOptions.cs | using System;
using DokanNet.Native;
namespace DokanNet
{
/// <summary>
/// Dokan mount options used to describe dokan device behavior.
/// </summary>
/// \if PRIVATE
/// <seealso cref="DOKAN_OPTIONS.Options"/>
/// \endif
[Flags]
public enum DokanOptions : long
{
... | using System;
using DokanNet.Native;
namespace DokanNet
{
/// <summary>
/// Dokan mount options used to describe dokan device behavior.
/// </summary>
/// \if PRIVATE
/// <seealso cref="DOKAN_OPTIONS.Options"/>
/// \endif
[Flags]
public enum DokanOptions : long
{
... | mit | C# |
37efd6c4c6cc30bb7ea2c13f27f89bddd57cd4d7 | Add comments to RedisLockEndPoint | samcook/RedLock.net | RedLock/RedisLockEndPoint.cs | RedLock/RedisLockEndPoint.cs | using System.Net;
namespace RedLock
{
public class RedisLockEndPoint
{
/// <summary>
/// The endpoint for the redis connection.
/// </summary>
public EndPoint EndPoint { get; set; }
/// <summary>
/// Whether to use SSL for the redis connection.
/// </summary>
public bool Ssl { get; set; }
//... | using System.Net;
namespace RedLock
{
public class RedisLockEndPoint
{
public EndPoint EndPoint { get; set; }
public bool Ssl { get; set; }
public string Password { get; set; }
public int? ConnectionTimeout { get; set; }
public int? RedisDatabase { get; set; }
public string RedisKeyFormat { get; set; }
... | mit | C# |
ab2a343bb878074fe6f03b267ee6401f6c4a970e | switch endpoint to "https://gate.hockeyapp.net/v2/track" | dkackman/HockeySDK-Windows,bitstadium/HockeySDK-Windows,ChristopheLav/HockeySDK-Windows | Src/Core.Shared/Constants.cs | Src/Core.Shared/Constants.cs | namespace Microsoft.HockeyApp
{
internal class Constants
{
internal const string TelemetryServiceEndpoint = "https://gate.hockeyapp.net/v2/track";
internal const string TelemetryNamePrefix = "Microsoft.ApplicationInsights.";
internal const string DevModeTelemetryNamePrefix = "Microsof... | namespace Microsoft.HockeyApp
{
internal class Constants
{
internal const string TelemetryServiceEndpoint = "https://dc.services.visualstudio.com/v2/track";
internal const string TelemetryNamePrefix = "Microsoft.ApplicationInsights.";
internal const string DevModeTelemetryNamePrefix =... | mit | C# |
0f8e45074f39e2384707c4f5b13948bda14daf3a | Revert "Make all strings in loaded TdfNodes lowercase" | MHeasell/TAUtil,MHeasell/TAUtil | TAUtil/Tdf/TdfNodeAdapter.cs | TAUtil/Tdf/TdfNodeAdapter.cs | namespace TAUtil.Tdf
{
using System.Collections.Generic;
public class TdfNodeAdapter : ITdfNodeAdapter
{
private readonly Stack<TdfNode> nodeStack = new Stack<TdfNode>();
public TdfNodeAdapter()
{
this.RootNode = new TdfNode();
this.nodeStack.Pus... | namespace TAUtil.Tdf
{
using System.Collections.Generic;
public class TdfNodeAdapter : ITdfNodeAdapter
{
private readonly Stack<TdfNode> nodeStack = new Stack<TdfNode>();
public TdfNodeAdapter()
{
this.RootNode = new TdfNode();
this.nodeStack.Pus... | mit | C# |
f3d15c683e3b0b2c8c849adb72d6227cdc376bef | Update Hello.cs | theDrake/csharp-experiments | Hello.cs | Hello.cs | class HelloWorld {
static void Main() {
System.Console.WriteLine("Hello world!");
}
}
| class HelloWorld
{
static void Main()
{
System.Console.WriteLine("Hello world!");
}
}
| mit | C# |
3613cb9fa245f4e963a8064256d33c52854a0629 | Fix test oh my | StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myBloomFo... | src/BloomExe/WebLibraryIntegration/ProblemBookUploader.cs | src/BloomExe/WebLibraryIntegration/ProblemBookUploader.cs | using System;
using System.Net;
using Amazon.Runtime;
using Amazon.S3;
using L10NSharp;
using SIL.Progress;
namespace Bloom.WebLibraryIntegration
{
/// <summary>
/// this differs from Book Transfer in that it knows nothing of Parse or the Bloom Library. It simply knows
/// how to push a zip to an s3 bucket and giv... | using System;
using System.Net;
using Amazon.Runtime;
using Amazon.S3;
using L10NSharp;
using SIL.Progress;
namespace Bloom.WebLibraryIntegration
{
/// <summary>
/// this differs from Book Transfer in that it knows nothing of Parse or the Bloom Library. It simply knows
/// how to push a zip to an s3 bucket and giv... | mit | C# |
d2c6183d6d8a5b15aa13e2ead374eefb91cba2bf | Add edited object to `ReactiveEditCommand` | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/EditorView/ReactiveEditCommand.cs | SolidworksAddinFramework/EditorView/ReactiveEditCommand.cs | using System;
using System.ComponentModel;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Windows.Input;
using LanguageExt;
using ReactiveUI;
using SolidworksAddinFramework.Wpf;
namespace SolidworksAddinFramework.EditorView
{
pu... | using System;
using System.ComponentModel;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Windows.Input;
using ReactiveUI;
using SolidworksAddinFramework.Wpf;
namespace SolidworksAddinFramework.EditorView
{
public class Reactive... | mit | C# |
acb6dbe3a85308473b7c5f3dc78f6294828157c9 | Set default to true | devedse/DeveImageOptimizer | DeveImageOptimizer/FileProcessing/DeveImageOptimizerConfiguration.cs | DeveImageOptimizer/FileProcessing/DeveImageOptimizerConfiguration.cs | using DeveImageOptimizer.Helpers;
using DeveImageOptimizer.ImageOptimization;
using System;
namespace DeveImageOptimizer.FileProcessing
{
public class DeveImageOptimizerConfiguration
{
private static char s = System.IO.Path.DirectorySeparatorChar;
public string FileOptimizerPath { get; set; } ... | using DeveImageOptimizer.Helpers;
using DeveImageOptimizer.ImageOptimization;
using System;
namespace DeveImageOptimizer.FileProcessing
{
public class DeveImageOptimizerConfiguration
{
private static char s = System.IO.Path.DirectorySeparatorChar;
public string FileOptimizerPath { get; set; } ... | mit | C# |
8f3937341b3f0027a8154ee882997b977b9bbfdb | Update 2darray tests | mcneel/compat,mcneel/compat,mcneel/compat,mcneel/compat,mcneel/compat | test/integration/projects/rdktest/2darray_test/MyClass.cs | test/integration/projects/rdktest/2darray_test/MyClass.cs | using System;
using Rhino.Geometry;
namespace darray_test
{
public class MyClass
{
public MyClass()
{
// old md array test
var arr1d = new Point3d[1];
arr1d[0] = Point3d.Origin;
var pt1 = arr1d[0];
var arr2d = new Point3d[1, 1];
arr2d[0, 0] = Point3d.Origin;
var p... | using System;
using Rhino.Geometry;
namespace darray_test
{
public class MyClass
{
public MyClass()
{
var arr1d = new Point3d[1];
arr1d[0] = Point3d.Origin;
var pt1 = arr1d[0];
var arr2d = new Point3d[1, 1];
arr2d[0, 0] = Point3d.Origin;
var pt2 = arr2d[0, 0];
var... | mit | C# |
7af949ee7379fd97ef1c7afd19f81bb5da0f4ddf | Add private constructor to singleton class | mike-ward/tweetz-desktop | tweetz5/tweetz5/Utilities/Translate/TranslationService.cs | tweetz5/tweetz5/Utilities/Translate/TranslationService.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
namespace tweetz5.Utilities.Translate
{
public class TranslationService
{
public readonly static TranslationService Instance = new TranslationService();
public ITra... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
namespace tweetz5.Utilities.Translate
{
public class TranslationService
{
public readonly static TranslationService Instance = new TranslationService();
public ITra... | mit | C# |
fb3bac68a370747344b5b28cba8fae93abe59f70 | Add null checks for MethodReplacer | pardeike/Harmony | Harmony/Transpilers.cs | Harmony/Transpilers.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
namespace Harmony
{
public static class Transpilers
{
public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to, OpCode? callOpcode =... | using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
namespace Harmony
{
public static class Transpilers
{
public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to, OpCode? callOpcode = null)
{
... | mit | C# |
0ed063c00576d3c10d5e25b36a92f66858628362 | Prepare release 4.5.3 Work Item #1913 | CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork | trunk/Solutions/CslaGenFork/Properties/AssemblyInfo.cs | trunk/Solutions/CslaGenFork/Properties/AssemblyInfo.cs | using System;
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("Csla Generato... | using System;
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("Csla Generato... | mit | C# |
35927c3b0a3518f51020ed96e4a31850d031f016 | Update RegisterCommandsCommand.cs | skibitsky/lizzard | Assets/lizzard/Scripts/Commands/RegisterCommandsCommand.cs | Assets/lizzard/Scripts/Commands/RegisterCommandsCommand.cs | using lizzard.Commands.MobileInput;
using UnityPureMVC.Interfaces;
using UnityPureMVC.Patterns;
namespace lizzard.Scripts.Commands
{
public class RegisterCommandsCommand : SimpleCommand
{
public override void Execute(INotification notification)
{
base.Execute(notification);
... | using lizzard.Commands.MobileInput;
using UnityPureMVC.Interfaces;
using UnityPureMVC.Patterns;
namespace lizzard.Scripts.Commands
{
public class RegisterCommandsCommand : SimpleCommand
{
public override void Execute(INotification notification)
{
base.Execute(notification);
... | mit | C# |
067f530d702e2ab7e9eb64a3a3f1d05d45bd9ed4 | Update ImplementingNonSequencedRanges.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-as... | Examples/CSharp/Articles/ImplementingNonSequencedRanges.cs | Examples/CSharp/Articles/ImplementingNonSequencedRanges.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class ImplementingNonSequencedRanges
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetData... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class ImplementingNonSequencedRanges
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Me... | mit | C# |
bf8270fd7ada46e2c67a7eb33d72eccd04ca5d57 | Update request.cs | balanced/balanced-csharp | scenarios/scenarios/card_credit_order/request.cs | scenarios/scenarios/card_credit_order/request.cs | using Balanced;
using System.Collections.Generic;
Balanced.Balanced.configure("{{ api_key }}");
Order order = Order.Fetch("{{ order_href }}");
Card card = Card.Fetch("{{ card_href }}");
Dictionary<string, object> creditPayload = new Dictionary<string, object>();
creditPayload.Add("amount", {{payload.amount}});
Credi... | using Balanced;
using System.Collections.Generic;
Balanced.Balanced.configure("{{ api_key }}");
Order order = Order.Fetch("{{ order_href }}");
Card card = Card.Fetch("{{ card_href }}");
Dictionary<string, object> debitPayload = new Dictionary<string, object>();
debitPayload.Add("amount", {{payload.amount}});
Debit d... | mit | C# |
967527d7d38cb35cde34ac7916653418a504741e | Remove noise | ceddlyburge/canoe-polo-league-organiser-backend | CanoePoloLeagueOrganiser/RubyInspiredListFunctions.cs | CanoePoloLeagueOrganiser/RubyInspiredListFunctions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace CanoePoloLeagueOrganiser
{
public static class RubyInspiredListFunctions
{
public static IEnumerable<IEnumerable<T>> EachCons<T>(this IEnumerable<T> enumerable, int length)
{
for (int i = 0; i < enumerable... | using System;
using System.Collections.Generic;
using System.Linq;
namespace CanoePoloLeagueOrganiser
{
public static class RubyInspiredListFunctions
{
public static IEnumerable<IEnumerable<T>> EachCons<T>(this IEnumerable<T> enumerable, int length)
{
for (int i = 0; i < enumerable... | mit | C# |
94f72d6e3df12a724911b3db03c4670e4917f660 | Remove superfluous usings | terrajobst/nquery-vnext | NQueryViewer/EditorIntegration/INQuerySyntaxTreeManager.cs | NQueryViewer/EditorIntegration/INQuerySyntaxTreeManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NQuery.Language;
namespace NQueryViewer.EditorIntegration
{
public interface INQuerySyntaxTreeManager
{
SyntaxTree SyntaxTree { get; }
event EventHandler<EventArgs> SyntaxTreeChanged;
}
} | using System;
using NQuery.Language;
namespace NQueryViewer.EditorIntegration
{
public interface INQuerySyntaxTreeManager
{
SyntaxTree SyntaxTree { get; }
event EventHandler<EventArgs> SyntaxTreeChanged;
}
} | mit | C# |
f6f5cb6d8f77b655db76039e3bf72a05e899ddbe | make methods virtual | functionGHW/HelperLibrary | HelperLibrary.Core/Configurations/LocalAppSettings.cs | HelperLibrary.Core/Configurations/LocalAppSettings.cs | /*
* FileName: LocalAppSettings.cs
* Author: functionghw<functionghw@hotmail.com>
* CreateTime: 3/4/2016 5:42:28 PM
* Description:
* */
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelperLibrar... | /*
* FileName: LocalAppSettings.cs
* Author: functionghw<functionghw@hotmail.com>
* CreateTime: 3/4/2016 5:42:28 PM
* Description:
* */
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelperLibrar... | mit | C# |
a2d9b991aaafd2bc87563f7bc3f9556a0695c29d | add cookie header | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Demo/NakedObjects.Rest.App.Demo/App_Start/CorsConfig.cs | Demo/NakedObjects.Rest.App.Demo/App_Start/CorsConfig.cs | using System.Web.Http;
using Thinktecture.IdentityModel.Http.Cors.WebApi;
public class CorsConfig {
public static void RegisterCors(HttpConfiguration httpConfig) {
var corsConfig = new WebApiCorsConfiguration();
// this adds the CorsMessageHandler to the HttpConfiguration’s
// MessageHan... | using System.Web.Http;
using Thinktecture.IdentityModel.Http.Cors.WebApi;
public class CorsConfig {
public static void RegisterCors(HttpConfiguration httpConfig) {
var corsConfig = new WebApiCorsConfiguration();
// this adds the CorsMessageHandler to the HttpConfiguration’s
// MessageHan... | apache-2.0 | C# |
0d4f494d24138c1a086b6eb599f67677c08acf2d | Fix namespace of WebControlVersion enum. | cube-soft/Cube.Core,cube-soft/Cube.Core,cube-soft/Cube.Forms,cube-soft/Cube.Forms | Libraries/Sources/Views/Controls/WebControlVersion.cs | Libraries/Sources/Views/Controls/WebControlVersion.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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.... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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-2.0 | C# |
32fa4053f93b9c7de18a81502fd9b1daa9cea4c8 | Order methods in membership service interface by type | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Oogstplanner.Services/Contracts/IMembershipService.cs | Oogstplanner.Services/Contracts/IMembershipService.cs | using System.Web.Security;
using Oogstplanner.Models;
namespace Oogstplanner.Services
{
public interface IMembershipService
{
bool ValidateUser(string userNameOrEmail, string password);
MembershipUser GetMembershipUserByEmail(string email);
bool TryCreateUser(string username, string p... | using System.Web.Security;
using Oogstplanner.Models;
namespace Oogstplanner.Services
{
public interface IMembershipService
{
bool ValidateUser(string userNameOrEmail, string password);
void SetAuthCookie(string userNameOrEmail, bool createPersistentCookie);
MembershipUser GetMembersh... | mit | C# |
77b24f48bd4c9a0caabe0ded1b1cf15bce47fec6 | Remove unused properties | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/NavigationStateViewModel.cs | WalletWasabi.Fluent/ViewModels/NavigationStateViewModel.cs | using ReactiveUI;
using System;
using WalletWasabi.Fluent.ViewModels.Dialogs;
namespace WalletWasabi.Fluent.ViewModels
{
public enum NavigationTarget
{
Default = 0,
Home = 1,
Dialog = 2
}
public class NavigationStateViewModel
{
public Func<IScreen>? HomeScreen { get; set; }
public Func<IScreen>? Dialog... | using ReactiveUI;
using System;
using WalletWasabi.Fluent.ViewModels.Dialogs;
namespace WalletWasabi.Fluent.ViewModels
{
public enum NavigationTarget
{
Default = 0,
Home = 1,
Dialog = 2
}
public class NavigationStateViewModel
{
public Func<IScreen>? HomeScreen { get; set; }
public Func<IScreen>? Dialog... | mit | C# |
ef5b28abe448b3160c407a86ef2702911fb9d4af | Remove trace log of message body | thinktecture/relayserver,jasminsehic/relayserver,jasminsehic/relayserver,thinktecture/relayserver,thinktecture/relayserver,jasminsehic/relayserver | Thinktecture.Relay.Server/Filters/NLogActionFilter.cs | Thinktecture.Relay.Server/Filters/NLogActionFilter.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using Newtonsoft.Json;
using NLog;
namespace Thinktecture.Relay.Server.Filters
{
public class NLogActionFilter : IActionFilter
... | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using Newtonsoft.Json;
using NLog;
namespace Thinktecture.Relay.Server.Filters
{
public class NLogActionFilter : IActionFilter
... | bsd-3-clause | C# |
0c2c4aa107977cdfee5177dca3a51ef70f24b32d | change label and formatting | agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov | WebAPI.Dashboard/Areas/admin/Views/Home/ApiKey.cshtml | WebAPI.Dashboard/Areas/admin/Views/Home/ApiKey.cshtml | @using WebAPI.Common.Executors
@using WebAPI.Dashboard.Commands.Time
@model WebAPI.Common.Indexes.StatsPerApiKey.Stats
<h3>@Model.Key</h3>
<ul class="list-unstyled">
<li><strong>Type:</strong> @Model.Type
<li><strong>Status:</strong> @Model.Status
<li><strong>App Status:</strong> @Model.ApplicationStatus
... | @using WebAPI.Common.Executors
@using WebAPI.Dashboard.Commands.Time
@model WebAPI.Common.Indexes.StatsPerApiKey.Stats
<h3>@Model.Key</h3>
<ul class="list-unstyled">
<li><strong>Type:</strong> @Model.Type
<li><strong>Status:</strong> @Model.Status
<li><strong>App Status:</strong> @Model.ApplicationStatus
... | mit | C# |
b4bd92c5f81aa651cd66c36ac30f7c0c6ba6c5ac | Delete unnecessary lines. | t-miyake/OutlookOkan | OutlookAddIn/Ribbon.cs | OutlookAddIn/Ribbon.cs | using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Office = Microsoft.Office.Core;
namespace OutlookAddIn
{
[ComVisible(true)]
public class Ribbon : Office.IRibbonExtensibility
{
private Office.IRibbonUI _ribbon;
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
using Office = Microsoft.Office.Core;
namespace OutlookAddIn
{
[ComVisible(true)]
public class Ribbon : Office.IRibb... | apache-2.0 | C# |
1f7f8ab8db51a62bd76c3c440d97111f704a1159 | Add more asserts for BuildingTelemetry tests (#1678) | exercism/xcsharp,exercism/xcsharp | exercises/concept/building-telemetry/BuildingTelemetryTests.cs | exercises/concept/building-telemetry/BuildingTelemetryTests.cs | using Xunit;
using Exercism.Tests;
public class ParametersTests
{
[Fact]
public void DisplayNextSponsor_for_3_sponsors()
{
var car = RemoteControlCar.Buy();
car.SetSponsors("Exercism", "Walker Industries", "Acme Co.");
var sp1 = car.DisplaySponsor(sponsorNum: 0);
var sp2 = c... | using Xunit;
using Exercism.Tests;
public class ParametersTests
{
[Fact]
public void DisplayNextSponsor_for_3_sponsors()
{
var car = RemoteControlCar.Buy();
car.SetSponsors("Exercism", "Walker Industries", "Acme Co.");
var sp1 = car.DisplaySponsor(sponsorNum: 0);
var sp2 = c... | mit | C# |
5d46eceb0d5a3201d897cc95c3f04bef8a55877b | Fix a typo. | MrLeebo/unitystation,Necromunger/unitystation,MrLeebo/unitystation,MrLeebo/unitystation,Necromunger/unitystation,Lancemaker/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,Lancemaker/unitystation,MrLeebo/unitystation,fomalsd/unitystation,MrLeebo/unitystation,krille90... | Assets/Scripts/Health/HealthBehaviour.cs | Assets/Scripts/Health/HealthBehaviour.cs | using UnityEngine;
using UnityEngine.Networking;
public abstract class HealthBehaviour : NetworkBehaviour
{
public int initialHealth = 100;
private void OnEnable()
{
if ( initialHealth <= 0 )
{
Debug.LogWarningFormat("Initial health ({0}) set to zero/below zero!", initialHeal... | using UnityEngine;
using UnityEngine.Networking;
public abstract class HealthBehaviour : NetworkBehaviour
{
public int initialHealth = 100;
private void OnEnable()
{
if ( initialHealth <= 0 )
{
Debug.LogWarningFormat("Initial health ({0}) set to zero/below zero!", initialHeal... | agpl-3.0 | C# |
428668bb2a6732f183851ca12e2d4082c596cb93 | Use a new id to fix the failing AAT | danhaller/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/Releases/ReleaseTracksTests.cs | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/Releases/ReleaseTracksTests.cs | using System.Linq;
using NUnit.Framework;
using SevenDigital.Api.Schema.Pricing;
using SevenDigital.Api.Schema.Releases;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.Releases
{
[TestFixture]
public class ReleaseTracksTests
{
[Test]
public async void Can_hit_endpoint()
{
... | using System.Linq;
using NUnit.Framework;
using SevenDigital.Api.Schema.Pricing;
using SevenDigital.Api.Schema.Releases;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.Releases
{
[TestFixture]
public class ReleaseTracksTests
{
[Test]
public async void Can_hit_endpoint()
{
... | mit | C# |
f3fc5f554739c9abd6df6614c645fdce779fb84e | Fix paragraph regression | EVAST9919/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-f... | osu.Framework/Graphics/Containers/Markdown/MarkdownParagraph.cs | osu.Framework/Graphics/Containers/Markdown/MarkdownParagraph.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using Markdig.Syntax;
using osu.Framework.Allocation;
namespace osu.Framework.Graphics.Containers.Markdown
{
/// <summary>
/// Visualises a paragraph.... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using Markdig.Syntax;
using osu.Framework.Allocation;
namespace osu.Framework.Graphics.Containers.Markdown
{
/// <summary>
/// Visualises a paragraph.... | mit | C# |
88d908f883ae060a173446022960924918a37bd6 | check path with file name. | RichardHowells/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,EPTamminga/Dnn.Platform,robsiera/Dnn.Platform,bdukes/Dnn.Platform,nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,bdukes/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,EPTamminga/Dnn... | src/Modules/UI/Dnn.EditBar.UI/Items/PageSettingsMenu.cs | src/Modules/UI/Dnn.EditBar.UI/Items/PageSettingsMenu.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dnn.EditBar.Library;
using Dnn.EditBar.Library.Items;
using Dnn.EditBar.UI.Helpers;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Host;
using DotNetNuke.Entities.Portals;
using DotNe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dnn.EditBar.Library;
using Dnn.EditBar.Library.Items;
using Dnn.EditBar.UI.Helpers;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Host;
using DotNetNuke.Entities.Portals;
using DotNe... | mit | C# |
e92610e13e29263e35d8924be9a1da26e19f6e0c | Update docblocks | felladrin/unity3d-mvc | Scripts/Application.cs | Scripts/Application.cs | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class Application : MonoBehaviour
{
public ModelContainer Model;
public ControllerContainer Controller;
public ViewContainer View;
private Dictionary<string, UnityEvent> eventDictionary = new Dictionary<string, Unit... | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class Application : MonoBehaviour
{
public ModelContainer Model;
public ControllerContainer Controller;
public ViewContainer View;
private Dictionary<string, UnityEvent> eventDictionary = new Dictionary<string, Unit... | mit | C# |
d00ba2a7e3cc456cab19646a176ba179cbfd93bd | Update Startup.cs | bradwestness/SecretSanta,bradwestness/SecretSanta | SecretSanta/Startup.cs | SecretSanta/Startup.cs | using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SecretSanta.Utilities;
using System;
namespace SecretSanta
{
... | using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using SecretSanta.Utilities;
using System;
namespace SecretSanta
{
... | apache-2.0 | C# |
e7c0049298eca63cb987f1e71c46852e4d5b5080 | Remove reduntant code | kalinau/ObservableDataQuerying | ObservableData/ObservableData.Structures/ListExtensions.cs | ObservableData/ObservableData.Structures/ListExtensions.cs | using System;
using System.Reactive.Linq;
using JetBrains.Annotations;
using ObservableData.Structures.Lists.Updates;
using ObservableData.Structures.Utils;
namespace ObservableData.Structures
{
public static class ListExtensions
{
[NotNull]
public static IObservable<IUpdate<IListOperation<T>>... | using System;
using System.Reactive.Linq;
using JetBrains.Annotations;
using ObservableData.Structures.Lists.Updates;
using ObservableData.Structures.Utils;
namespace ObservableData.Structures
{
public static class ListExtensions
{
[NotNull]
public static IObservable<IUpdate<IListOperation<T>>... | mit | C# |
bc50248a53ca61d2cd6cfb12eb3a9e3328c16a2e | Update WeavingHelper.cs | Fody/Costura,Fody/Costura | Tests/WeavingHelper.cs | Tests/WeavingHelper.cs | using System.IO;
using System.Linq;
using System.Xml.Linq;
using Fody;
#pragma warning disable 618
static class WeavingHelper
{
public static TestResult CreateIsolatedAssemblyCopy(string assemblyPath, string config, string[] references, string assemblyName)
{
var weavingTask = new ModuleWeaver
... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using Fody;
#pragma warning disable 618
static class WeavingHelper
{
public static TestResult CreateIsolatedAssemblyCopy(string assemblyPath, string config, string[] references, string assemblyName)
{
var weav... | mit | C# |
3fa74eaa3deebb9273bd84ea581b567d76b2d960 | Add MapRoutesInController extension method. | jgoz/beeline,jgoz/beeline,jgoz/beeline | src/Beeline/RouteCollectionExtensions.cs | src/Beeline/RouteCollectionExtensions.cs | namespace Beeline
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web.Mvc;
using System.Web.Routing;
using Beeline.Routing;
/// <summary>
/// Extension methods for <see cref="RouteCollection"/>.
/// </summary>
public static class Route... | namespace Beeline
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web.Mvc;
using System.Web.Routing;
using Beeline.Routing;
/// <summary>
/// Extension methods for <see cref="RouteCollection"/>.
/// </summary>
public static class Route... | mit | C# |
968854fc06ee350787f751a4cf32194756f674b7 | Fix GetLanguageId logic | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/Core/Managers/LocalizationManager.cs | src/Core/Managers/LocalizationManager.cs | using System.Linq;
using Microsoft.Extensions.Caching.Memory;
namespace Core.Managers
{
public class LocalizationManager : ManagerBase
{
public LocalizationManager(string connectionString, IMemoryCache cache = null)
: base(connectionString, cache)
{
}
public int? ... | using System.Linq;
using Microsoft.Extensions.Caching.Memory;
namespace Core.Managers
{
public class LocalizationManager : ManagerBase
{
public LocalizationManager(string connectionString, IMemoryCache cache = null)
: base(connectionString, cache)
{
}
public int? ... | mit | C# |
aac763c4ac20216bf2e9a145fba99559a47d00e4 | Update VProperty to have methods for getting and setting the Value as different data types | BenVlodgi/VMFParser | VMFParser/VProperty.cs | VMFParser/VProperty.cs | namespace VMFParser
{
public class VProperty : IVNode, IDeepCloneable<VProperty>
{
public string Name { get; private set; }
public string Value { get; set; }
/// <summary>Initializes a new instance of the <see cref="VProperty"/> class from the name and value of a property.</summary>
... | namespace VMFParser
{
public class VProperty : IVNode, IDeepCloneable<VProperty>
{
public string Name { get; private set; }
public string Value { get; set; }
/// <summary>Initializes a new instance of the <see cref="VProperty"/> class from the name and value of a property.</summary>
... | mit | C# |
235ab8e7d3c3a5537d57c6b2a4bc980c4fba5e46 | fix ThrowOnFail | shinji-yoshida/UniPromise,shinji-yoshida/UniPromise | Assets/Scripts/UniPromise/Promise.cs | Assets/Scripts/UniPromise/Promise.cs | using System;
namespace UniPromise {
public abstract class Promise<T> : IDisposable {
public abstract State State { get; }
public bool IsPending { get { return this.State == State.Pending; } }
public bool IsNotPending { get { return this.State != State.Pending; } }
public bool IsResolved { get { return this... | using System;
namespace UniPromise {
public abstract class Promise<T> : IDisposable {
public abstract State State { get; }
public bool IsPending { get { return this.State == State.Pending; } }
public bool IsNotPending { get { return this.State != State.Pending; } }
public bool IsResolved { get { return this... | mit | C# |
ea15df4a3619e91553626417fd253e51c28ea809 | Add exception display test | caronyan/CSharpRecipe | CSharpRecipe/CSharpRecipe/Program.cs | CSharpRecipe/CSharpRecipe/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Recipe.ClassAndGeneric;
using Recipe.DebugAndException;
namespace CSharpRecipe
{
class Program
{
static void Main(string[] args)
{
#region Test IEnumerable<T>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Recipe.ClassAndGeneric;
namespace CSharpRecipe
{
class Program
{
static void Main(string[] args)
{
IEnumerable<int> iterable = EnumeratorTest.CreateEnumerable()... | mit | C# |
6704112a51b0be3ec7a8c38f096374e06560a1d2 | Update for base class | tobyclh/UnityCNTK,tobyclh/UnityCNTK | Assets/UnityCNTK/SynthesisModel.cs | Assets/UnityCNTK/SynthesisModel.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine.Assertions;
using System.Linq;
using UnityEngine;
using UnityEditor;
using CNTK;
using System;
namespace UnityCNTK
{
public class SynthesisModel : Model
{
public Texture2D textureReference;
public string namin... | using System.Collections;
using System.Collections.Generic;
using UnityEngine.Assertions;
using System.Linq;
using UnityEngine;
using UnityEditor;
using CNTK;
using System;
namespace UnityCNTK
{
public class SynthesisModel : Model
{
public Texture2D textureReference;
public string namin... | mit | C# |
6c381cf2033d0e355fdfb66012b5d479e47a300a | Correct detection of scrape requests | dipeshc/BTDeploy | src/MonoTorrent/MonoTorrent.Tracker/Listeners/ManualListener.cs | src/MonoTorrent/MonoTorrent.Tracker/Listeners/ManualListener.cs | using System;
using System.Collections.Generic;
using System.Text;
using MonoTorrent.BEncoding;
using System.Net;
namespace MonoTorrent.Tracker.Listeners
{
public class ManualListener : ListenerBase
{
private bool running;
public override bool Running
{
get { return running; }
}
pub... | using System;
using System.Collections.Generic;
using System.Text;
using MonoTorrent.BEncoding;
using System.Net;
namespace MonoTorrent.Tracker.Listeners
{
public class ManualListener : ListenerBase
{
private bool running;
public override bool Running
{
get { return running; }
}
pub... | mit | C# |
b64b55eb85e552029d613f3827b7c87862d2ce31 | fix test | jonnii/SpeakEasy | src/SpeakEasy.Specifications/HttpClientSettingsSpecification.cs | src/SpeakEasy.Specifications/HttpClientSettingsSpecification.cs | using Machine.Specifications;
using SpeakEasy.Authenticators;
using SpeakEasy.Loggers;
using SpeakEasy.Serializers;
namespace SpeakEasy.Specifications
{
public class HttpClientSettingsSpecification
{
[Subject(typeof(HttpClientSettings))]
public class in_general
{
Establish c... | using Machine.Specifications;
using SpeakEasy.Authenticators;
using SpeakEasy.Loggers;
using SpeakEasy.Serializers;
namespace SpeakEasy.Specifications
{
public class HttpClientSettingsSpecification
{
[Subject(typeof(HttpClientSettings))]
public class in_general
{
Establish c... | apache-2.0 | C# |
f9fe0a99c0f8afa7bcca30deec73147f1a882ec3 | Update index.cshtml | LeedsSharp/AppVeyorDemo | src/AppVeyorDemo/AppVeyorDemo/Views/index.cshtml | src/AppVeyorDemo/AppVeyorDemo/Views/index.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>AppVeyor - Leeds#</title>
<style type="text/css">
body {
text-align: center;
}
h1 {
font-family: 'Segoe UI Light', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
}
</style>
</head>
<body... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>AppVeyor - Leeds#</title>
<style type="text/css">
body {
text-align: center;
}
h1 {
font-family: 'Segoe UI Light', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
}
</style>
</head>
<body... | apache-2.0 | C# |
d8e0e5cc60f24baba5177eb304dc1ec97dea13ca | Fix wrong copy direction in CreateClipMergeTileOperation | MHeasell/Mappy,MHeasell/Mappy | Mappy/Operations/OperationFactory.cs | Mappy/Operations/OperationFactory.cs | namespace Mappy.Operations
{
using System.Drawing;
using Data;
using Mappy.Models;
public static class OperationFactory
{
public static IReplayableOperation CreateClipMergeTileOperation(IMapTile src, IMapTile dst, int x, int y)
{
// construct the destination t... | namespace Mappy.Operations
{
using System.Drawing;
using Data;
using Mappy.Models;
public static class OperationFactory
{
public static IReplayableOperation CreateClipMergeTileOperation(IMapTile src, IMapTile dst, int x, int y)
{
// construct the destination t... | mit | C# |
41c7fc25a635cba0dc1ce0476e2d8d267a8afcb2 | Change variable to paradigm instead of controller to improve naming consistency | xfleckx/BeMoBI,xfleckx/BeMoBI | Assets/Paradigms/SearchAndFind/Scripts/SubjectInteractions.cs | Assets/Paradigms/SearchAndFind/Scripts/SubjectInteractions.cs | using UnityEngine;
using System.Collections;
namespace Assets.BeMoBI.Paradigms.SearchAndFind {
/// <summary>
/// Represents all possible interactions for subject regarding the paradigm or trial behaviour
/// </summary>
public class SubjectInteractions : MonoBehaviour {
private const string SUBMIT_INPUT = "Su... | using UnityEngine;
using System.Collections;
namespace Assets.BeMoBI.Paradigms.SearchAndFind {
/// <summary>
/// Represents all possible interactions for subject regarding the paradigm or trial behaviour
/// </summary>
public class SubjectInteractions : MonoBehaviour {
private const string SUBMIT_INPUT = "Su... | mit | C# |
5dbca23cdff30529c95514b713206c3088bcc00c | Bump the version. | kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost,kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost,SparkPost/csharp-sparkpost,ZA1/csharp-sparkpost | src/SparkPost/Properties/AssemblyInfo.cs | src/SparkPost/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sp... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sp... | apache-2.0 | C# |
ed720295c1a913c22003595aa85313002c51fcbb | fix #94 Tired figuring out what is happening there, just ignore | radasuka/ShinraMeter,neowutran/ShinraMeter,Seyuna/ShinraMeter,neowutran/TeraDamageMeter | NetworkSniffer/Packets/IpPacket.cs | NetworkSniffer/Packets/IpPacket.cs | // Copyright (c) CodesInChaos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace NetworkSniffer.Packets
{
public enum IpProtocol : byte
{
Tcp = 6,
Udp = 17,
Error = 255
}
public struct Ip4Packet
{
... | // Copyright (c) CodesInChaos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace NetworkSniffer.Packets
{
public enum IpProtocol : byte
{
Tcp = 6,
Udp = 17
}
public struct Ip4Packet
{
public readon... | mit | C# |
53f4aaba79151c2306bd6faf1212c52b1be3df7d | Implement conversion back from Enum to Google CONSTANTS. | modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS | DanTup.DartAnalysis/Infrastructure/JsonSerialiser.cs | DanTup.DartAnalysis/Infrastructure/JsonSerialiser.cs | using System;
using System.Linq;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
namespace DanTup.DartAnalysis
{
/// <summary>
/// Serialises and deserialises objects to/from JSON.
/// </summary>
class JsonSerialiser
{
JsonConverter[] converters = new[] {
new GoogleEnumJsonConverter()
};
/... | using System;
using System.Linq;
using Newtonsoft.Json;
namespace DanTup.DartAnalysis
{
/// <summary>
/// Serialises and deserialises objects to/from JSON.
/// </summary>
class JsonSerialiser
{
JsonConverter[] converters = new[] {
new GoogleEnumJsonConverter()
};
/// <summary>
/// Serialises the prov... | mit | C# |
3c93daae43f8b02376d5c28fd26e3129638623a3 | Fix issue with HockeyClient.Configure(appId) method initialization without passing TelemetryConfiguration parameter. | ChristopheLav/HockeySDK-Windows,bitstadium/HockeySDK-Windows,dkackman/HockeySDK-Windows | Src/Kit.UWP/HockeyClientExtensionsUwp.cs | Src/Kit.UWP/HockeyClientExtensionsUwp.cs | namespace Microsoft.HockeyApp
{
using Extensibility.Implementation;
using Extensibility.Windows;
using Services;
using Services.Device;
/// <summary>
/// Send information to the HockeyApp service.
/// </summary>
public static class HockeyClientExtensionsUwp
{
//... | namespace Microsoft.HockeyApp
{
using Extensibility.Implementation;
using Extensibility.Windows;
using Services;
using Services.Device;
/// <summary>
/// Send information to the HockeyApp service.
/// </summary>
public static class HockeyClientExtensionsUwp
{
//... | mit | C# |
3b6d9243c5e2785d4e7724b51c7507b6382adb0b | Fix ie config | rosolko/WebDriverManager.Net | WebDriverManager/DriverConfigs/Impl/InternetExplorerConfig.cs | WebDriverManager/DriverConfigs/Impl/InternetExplorerConfig.cs | using System;
using System.Linq;
using System.Net;
using System.Runtime.InteropServices;
using Microsoft.Win32;
using AngleSharp.Html.Parser;
namespace WebDriverManager.DriverConfigs.Impl
{
public class InternetExplorerConfig : IDriverConfig
{
public virtual string GetName()
{
retu... | using System;
using System.Runtime.InteropServices;
using Microsoft.Win32;
namespace WebDriverManager.DriverConfigs.Impl
{
public class InternetExplorerConfig : IDriverConfig
{
public virtual string GetName()
{
return "InternetExplorer";
}
public virtual string Get... | mit | C# |
d9d25d4ffb7f0e01c4015f1b3714cc22dc937554 | Add square matrix multiplication test case. | scott-fleischman/algorithms-csharp | tests/Algorithms.Collections.Tests/SquareMatrixTests.cs | tests/Algorithms.Collections.Tests/SquareMatrixTests.cs | using System.Collections.Generic;
using System.Globalization;
using System.Text;
using NUnit.Framework;
namespace Algorithms.Collections.Tests
{
[TestFixture]
public class SquareMatrixTests
{
[TestCaseSource("GetTestCases")]
public void Multiply(TestCase testCase)
{
int[,] result = SquareMatr... | using NUnit.Framework;
namespace Algorithms.Collections.Tests
{
[TestFixture]
public class SquareMatrixTests
{
}
}
| mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.