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 |
|---|---|---|---|---|---|---|---|---|
0193009e5c496c87feb533d40cab4736aefa8304 | Update ParserLanguageShort.cs | taotsetung/guild-translation-tool | GTT.Common/ParserLanguageShort.cs | GTT.Common/ParserLanguageShort.cs | namespace GTT.Common
{
public enum ParserLanguageShort
{
EN = 2,
FR = 3,
RU = 4,
IT = 5,
ES = 6,
NL = 7,
KO = 8,
JA = 9,
ZH = 10,
PT = 11,
CZ = 12,
}
}
| namespace GTT.Common
{
public enum ParserLanguageShort
{
EN = 2,
FR = 3,
RU = 4,
IT = 5,
ES = 6,
NL = 7,
KO = 8,
JA = 9,
ZH = 10,
PT = 11,
}
} | mit | C# |
9b34cb365541ec2f1e4e057368f2dfdd96f85384 | Hide already deleted variants if not set | leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.Domain/FieldExtensions.cs | JoinRpg.Domain/FieldExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using JoinRpg.DataModel;
namespace JoinRpg.Domain
{
public static class FieldExtensions
{
public static bool HasValueList(this ProjectField field)
{
return field.FieldType == ProjectFieldType.Dropdown || field.FieldType == ProjectFie... | using System;
using System.Collections.Generic;
using System.Linq;
using JoinRpg.DataModel;
namespace JoinRpg.Domain
{
public static class FieldExtensions
{
public static bool HasValueList(this ProjectField field)
{
return field.FieldType == ProjectFieldType.Dropdown || field.FieldType == ProjectFie... | mit | C# |
0ba2b20c0d588e7580dcec903a3c132a2e78cb8d | Use getter only auto property for player resources. | michaellperry/dof | SettlersOfCatan/Mutable/Player.cs | SettlersOfCatan/Mutable/Player.cs |
namespace SettlersOfCatan.Mutable
{
public class Player
{
public Resources Hand { get; }
public Player()
{
Hand = new Resources();
}
public void Trade(Player other, Resources give, Resources take)
{
Hand.RequireAtLeast(give);
... |
namespace SettlersOfCatan.Mutable
{
public class Player
{
public Resources Hand { get; private set; }
public Player()
{
Hand = new Resources();
}
public void Trade(Player other, Resources give, Resources take)
{
Hand.RequireAtLeast(give... | mit | C# |
864aab3104e651d69cac2e3010e4ab86108debbe | Update AssemblyInfo.cs | SlicingDice/slicingdice-dot-net | Slicer/Properties/AssemblyInfo.cs | Slicer/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("Sl... | 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("Sl... | mit | C# |
f12128a7441ef97d2436247a6690a96104aac3da | Allow parameterless parameters | ThomasKerman/QIRC | Source/QIRC/Plugins/IrcCommand.cs | Source/QIRC/Plugins/IrcCommand.cs | /// --------------------------------------
/// .NET Bot for Internet Relay Chat (IRC)
/// Copyright (c) ThomasKerman 2015
/// QIRC is licensed under the MIT License
/// --------------------------------------
/// IRC
using ChatSharp;
/// QIRC
using QIRC.IRC;
/// System
using System;
/// <summary>
/// The namespace ... | /// --------------------------------------
/// .NET Bot for Internet Relay Chat (IRC)
/// Copyright (c) ThomasKerman 2015
/// QIRC is licensed under the MIT License
/// --------------------------------------
/// IRC
using ChatSharp;
/// QIRC
using QIRC.IRC;
/// System
using System;
/// <summary>
/// The namespace ... | mit | C# |
c55c16ccef5ddfa6e6194e1331d012568d833597 | Use default routes from package. | chtoucas/Narvalo.NET,chtoucas/Narvalo.NET | tools/src/MyGet/DataServices/Routes.cs | tools/src/MyGet/DataServices/Routes.cs | using System.Data.Services;
using System.ServiceModel.Activation;
using System.Web.Routing;
using NuGet.Server;
using NuGet.Server.DataServices;
using NuGet.Server.Publishing;
using RouteMagic;
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(MyGet.NuGetRoutes), "Start")]
namespace MyGet {
public static... | using System.Data.Services;
using System.ServiceModel.Activation;
using System.Web.Routing;
using NuGet.Server;
using NuGet.Server.DataServices;
using NuGet.Server.Publishing;
using RouteMagic;
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(MyGet.NuGetRoutes), "Start")]
namespace MyGet
{
public static... | bsd-2-clause | C# |
a0718326f57f64b598f8a9ac0bb9373d10b5b73b | Fix regression in Script serialization | eugeniusfox/vgprompter | VGPrompter/Logger.cs | VGPrompter/Logger.cs | using System;
namespace VGPrompter {
[Serializable]
public class Logger {
public bool Enabled { get; set; }
public string Name { get; private set; }
Action<object> _logger;
public Logger(bool enabled = true) : this("Default", enabled: enabled) { }
public Logger(stri... | using System;
namespace VGPrompter {
public class Logger {
public bool Enabled { get; set; }
public string Name { get; private set; }
Action<object> _logger;
public Logger(bool enabled = true) : this("Default", enabled: enabled) { }
public Logger(string name, Action<obj... | mit | C# |
287a8b04ef701714f6285f873b1108f7f5145bf2 | Remove ToPdfPage extension for Image extension due to PdfSharp requirement that XGraphics.FromPdfPage requires a backing PdfDocument for the page. Alternative option was to create a new black PdfDocument. Not sure of the "value" for that option. | gheeres/PDFSharp.Extensions | System/Drawing/ImageExtensions.cs | System/Drawing/ImageExtensions.cs | using System.Collections.Generic;
using PdfSharp.Drawing;
using PdfSharp.Pdf;
// ReSharper disable once CheckNamespace
namespace System.Drawing
{
/// <summary>
/// Extension methods for the <see cref="Image"/> class.
/// </summary>
public static class ImageExtensions
{
/// <summary>
/// Generates a ... | using System.Collections.Generic;
using PdfSharp.Drawing;
using PdfSharp.Pdf;
// ReSharper disable once CheckNamespace
namespace System.Drawing
{
/// <summary>
/// Extension methods for the <see cref="Image"/> class.
/// </summary>
public static class ImageExtensions
{
/// <summary>
/// Generates a ... | mit | C# |
069130a43417ac6849dd19f550fbf7e067fe2d5c | Add support to update the interval property in the SubscriptionUpdateRequest class | Viincenttt/MollieApi,Viincenttt/MollieApi | Mollie.Api/Models/Subscription/SubscriptionUpdateRequest.cs | Mollie.Api/Models/Subscription/SubscriptionUpdateRequest.cs | using System;
using Mollie.Api.JsonConverters;
using Newtonsoft.Json;
namespace Mollie.Api.Models.Subscription {
public class SubscriptionUpdateRequest {
/// <summary>
/// The constant amount in EURO that you want to charge with each subscription payment, e.g. 100.00 if you would want
/// ... | using System;
using Mollie.Api.JsonConverters;
using Newtonsoft.Json;
namespace Mollie.Api.Models.Subscription {
public class SubscriptionUpdateRequest {
/// <summary>
/// The constant amount in EURO that you want to charge with each subscription payment, e.g. 100.00 if you would want
/// ... | mit | C# |
ae5b62c451cfde8926b1aabe9d043d3275c45d32 | add license | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/NGUIUtil/NGUIPanelHelper.cs | Unity/NGUIUtil/NGUIPanelHelper.cs | /**
MIT License
Copyright (c) 2017 NDark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distr... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NGUIPanelHelper : MonoBehaviour
{
public string CloseButtonPath = string.Empty;
public UIPanel Panel { get { return m_Panel ; } }
public float PanelAlpha { get { return (null!=m_Panel) ? m_Panel.alpha : 0.0f ; } }
publi... | mit | C# |
531bb8ff5efe267a773cd2969afa850e8405c74a | Rename namespace. | bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow,bigfont/StackOverflow | AspNetCoreMiddlewareRedirect/Program.cs | AspNetCoreMiddlewareRedirect/Program.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace MiddlewareRedirectSample
{
public class Program
{
public void ConfigureServices(IServiceCollection services)
{
services... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace MyXmlSample
{
public class Program
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMvcCore()... | mit | C# |
12d72dad9e08aae03bd4bd54d6cb35a25dc86669 | Support initial pitch preserving in AudioAutoAdjust | NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/Audio/AudioAutoAdjust.cs | Assets/Scripts/Audio/AudioAutoAdjust.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Automatically adjusts pitch od all audiosources in gameobject, and its children if specified
public class AudioAutoAdjust : MonoBehaviour
{
[SerializeField]
private bool includeChildren, tieToTimescale = true, tieToVolumeSettings = ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Automatically adjusts pitch od all audiosources in gameobject, and its children if specified
public class AudioAutoAdjust : MonoBehaviour
{
[SerializeField]
private bool includeChildren, tieToTimescale = true, tieToVolumeSettings = ... | mit | C# |
7e6048f7108b3ebac748f2e90263b234403cde72 | Save level | pavelkouril/ld38,pavelkouril/ld38 | Assets/Scripts/Managers/LevelManager.cs | Assets/Scripts/Managers/LevelManager.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace RUF.Managers
{
public class LevelManager : MonoBehaviour
{
public int LevelNumber;
private UIManager uiManager;
const string File... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace RUF.Managers
{
public class LevelManager : MonoBehaviour
{
public int LevelNumber;
private UIManager uiManager;
const string Filename = "_dontTouc... | mit | C# |
82413e52708efd159ac4b396ec3d2ea23426ed34 | add SEO | Zjazure/Joinzjazure,Zjazure/Joinzjazure | Joinzjazure/Views/Shared/_Layout.cshtml | Joinzjazure/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="keywords" content="湛江一中,湛江一中IT社,IT社,湛江,社团" />
<title>@ViewBag.Title</title>
@System.Web.Optimization.Styles.Render(... | <!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>@ViewBag.Title</title>
@System.Web.Optimization.Styles.Render("~/Content/css")
</head>
<body>
<div class="container" st... | mit | C# |
4a0d2e91b1c9ecf29424a27e0e74ba33512b7532 | make Arriba compatible with Diva's fix sigh: some grids seem to install every messy version that opensim-git provides without even thinking about compatibility issues | Michelle-Argus/ArribasimExtract,Michelle-Argus/ArribasimExtract,Michelle-Argus/ArribasimExtract,Michelle-Argus/ArribasimExtract,Michelle-Argus/ArribasimExtract,Michelle-Argus/ArribasimExtract | OpenSim/Server/Base/ProtocolVersions.cs | OpenSim/Server/Base/ProtocolVersions.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must ... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must ... | bsd-3-clause | C# |
5ca9d7e5a6be22d14a67cc06b76e4c438d0567d6 | Remove C# 6 code. | beta-tank/TicTacToe,beta-tank/TicTacToe,beta-tank/TicTacToe | TicTacToe/Controllers/GameController.cs | TicTacToe/Controllers/GameController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TicTacToe.Core;
using TicTacToe.Web.Data;
using TicTacToe.Web.ViewModels;
namespace TicTacToe.Controllers
{
public class GameController : Controller
{
private ApplicationDbContext context;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TicTacToe.Core;
using TicTacToe.Web.Data;
using TicTacToe.Web.ViewModels;
namespace TicTacToe.Controllers
{
public class GameController : Controller
{
private ApplicationDbContext context;
... | mit | C# |
2f069f2039b3b00df5ebe57f1396792226defdd8 | Update accessibility. | CountrySideEngineer/Ev3Controller | dev/src/Ev3Controller/Model/LedColor.cs | dev/src/Ev3Controller/Model/LedColor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ev3Controller.Model
{
public class LedColor
{
#region Public constants
public enum COLOR
{
COLOR_OFF,
COLOR_RED,
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ev3Controller.Model
{
class LedColor
{
#region Public constants
public enum COLOR
{
COLOR_OFF,
COLOR_RED,
COL... | mit | C# |
da46c76e1de63c6e78e15dacf5d10216504f3041 | Update build.cake | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Android/GoogleAndroidVending/build.cake | Android/GoogleAndroidVending/build.cake |
var TARGET = Argument ("t", Argument ("target", "ci"));
var LicensingVersion = "89ebdfcf52562018ff4c366055f0e35393919763";
var ExpansionVersion = "9ecf54e5ce7c5a74a2eeedcec4d940ea52b16f0e";
var LicensingUrl = "https://github.com/google/play-licensing/archive/" + LicensingVersion + ".zip";
var ExpansionUrl = "https:/... |
var TARGET = Argument ("t", Argument ("target", "Default"));
var LicensingVersion = "89ebdfcf52562018ff4c366055f0e35393919763";
var ExpansionVersion = "9ecf54e5ce7c5a74a2eeedcec4d940ea52b16f0e";
var LicensingUrl = "https://github.com/google/play-licensing/archive/" + LicensingVersion + ".zip";
var ExpansionUrl = "ht... | mit | C# |
9621958556aa5583f79d0d351fa410e92bde5c67 | Fix error in hash key selector would return -1 | PKRoma/kafka-net,CenturyLinkCloud/kafka-net,Jroland/kafka-net,aNutForAJarOfTuna/kafka-net,gigya/KafkaNetClient,bridgewell/kafka-net,nightkid1027/kafka-net,BDeus/KafkaNetClient,martijnhoekstra/kafka-net,EranOfer/KafkaNetClient,geffzhang/kafka-net | kafka-net/DefaultPartitionSelector.cs | kafka-net/DefaultPartitionSelector.cs | using System;
using System.Collections.Concurrent;
using System.Linq;
using KafkaNet.Model;
using KafkaNet.Protocol;
namespace KafkaNet
{
public class DefaultPartitionSelector : IPartitionSelector
{
private readonly ConcurrentDictionary<string, Partition> _roundRobinTracker = new ConcurrentDictionary<... | using System;
using System.Collections.Concurrent;
using System.Linq;
using KafkaNet.Model;
using KafkaNet.Protocol;
namespace KafkaNet
{
public class DefaultPartitionSelector : IPartitionSelector
{
private readonly ConcurrentDictionary<string, Partition> _roundRobinTracker = new ConcurrentDictionary<... | apache-2.0 | C# |
bfbcc2816cfeb66a84f5c1537f4a17b6ac876453 | Add Arrays.AsList | supriyantomaftuh/antlr4,krzkaczor/antlr4,chandler14362/antlr4,mcanthony/antlr4,parrt/antlr4,chandler14362/antlr4,supriyantomaftuh/antlr4,sidhart/antlr4,ericvergnaud/antlr4,parrt/antlr4,worsht/antlr4,lncosie/antlr4,worsht/antlr4,mcanthony/antlr4,cooperra/antlr4,Pursuit92/antlr4,wjkohnen/antlr4,jvanzyl/antlr4,cooperra/an... | Antlr4.Runtime/Sharpen/Arrays.cs | Antlr4.Runtime/Sharpen/Arrays.cs | namespace Sharpen
{
using System;
using System.Collections.Generic;
internal static class Arrays
{
public static T[] CopyOf<T>(T[] array, int newSize)
{
Array.Resize(ref array, newSize);
return array;
}
public static IList<T> AsList<T>(params T[... | namespace Sharpen
{
using System;
internal static class Arrays
{
public static T[] CopyOf<T>(T[] array, int newSize)
{
Array.Resize(ref array, newSize);
return array;
}
}
}
| bsd-3-clause | C# |
2339ff26eb78efda03af9b38bd24e58846718853 | Update MicrosoftInterstitialAdUnitBundle.cs | tiksn/TIKSN-Framework | TIKSN.Core/Advertising/MicrosoftInterstitialAdUnitBundle.cs | TIKSN.Core/Advertising/MicrosoftInterstitialAdUnitBundle.cs | namespace TIKSN.Advertising
{
public class MicrosoftInterstitialAdUnitBundle : MicrosoftAdUnitBundle
{
public static readonly AdUnit MicrosoftTestModeInterstitialAdUnit = new(AdProviders.Microsoft,
"d25517cb-12d4-4699-8bdc-52040c712cab", "11389925", true);
public MicrosoftInterstit... | namespace TIKSN.Advertising
{
public class MicrosoftInterstitialAdUnitBundle : MicrosoftAdUnitBundle
{
public static readonly AdUnit MicrosoftTestModeInterstitialAdUnit = new AdUnit(AdProviders.Microsoft,
"d25517cb-12d4-4699-8bdc-52040c712cab", "11389925", true);
public MicrosoftIn... | mit | C# |
80ef1b69f07a943961c5000d1fd2a4be21efe4e2 | Include manager leave request functions and update to version 1.1.0.15-rc2 | KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet | src/keypay-dotnet/ApiFunctions/V2/ManagerFunction.cs | src/keypay-dotnet/ApiFunctions/V2/ManagerFunction.cs | using KeyPay.DomainModels.V2.Business;
using KeyPay.DomainModels.V2.Manager;
using System.Collections.Generic;
namespace KeyPay.ApiFunctions.V2
{
public class ManagerFunction : BaseFunction
{
public ManagerFunction(ApiRequestExecutor api) : base(api)
{
LeaveRequests = new ManagerLea... | using KeyPay.DomainModels.V2.Business;
using KeyPay.DomainModels.V2.Manager;
using System.Collections.Generic;
namespace KeyPay.ApiFunctions.V2
{
public class ManagerFunction : BaseFunction
{
public ManagerFunction(ApiRequestExecutor api) : base(api)
{
LeaveRequests = new ManagerLea... | mit | C# |
315ab4454d38e7a8ae043359896c6687bf3c99c3 | Update version info. | 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.2.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.1.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# |
7de559ea9b44274a5d76184353d8e8a90fabcc70 | Fix #5 | lukakama/rimworld-mod-real-fow | src/RimWorldRealFoW/_FloodFillerFog.cs | src/RimWorldRealFoW/_FloodFillerFog.cs | // Copyright 2017 Luca De Petrillo
//
// 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 la... | // Copyright 2017 Luca De Petrillo
//
// 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 la... | apache-2.0 | C# |
e566de0d8e97ddaa5fd961fbab60d36e922a7408 | Update NewPost.cshtml | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/WebSite/Views/Admin/NewPost.cshtml | src/WebSite/Views/Admin/NewPost.cshtml | @model Core.ViewModels.PublicationViewModel
@{
ViewData["Title"] = "Add new publication";
}
@section scripts {
<script src="/js/new-post.js"></script>
}
<h1>@ViewData["Title"]</h1>
<form>
<div class="form-group">
<label for="link">Link</label>
<input type="url" class="form-control" id="l... | @model Core.ViewModels.PublicationViewModel
@{
ViewData["Title"] = "Add new publication";
}
@section scripts {
<script src="/js/new-post.js"></script>
}
<h1>@ViewData["Title"]</h1>
<form>
<div class="form-group">
<label for="link">Link</label>
<input type="url" class="form-control" id="l... | mit | C# |
ddaa95a1ca37e1c264850c4a239e13e83c500cde | Fix `pushEditor` function running twice on returning to loader | peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu | osu.Game/Screens/Edit/EditorLoader.cs | osu.Game/Screens/Edit/EditorLoader.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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Screens;
using osu.Framework.Threading;
using osu.Game.Beatmaps;
using osu.Game.Screens.M... | // 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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Screens;
using osu.Framework.Threading;
using osu.Game.Beatmaps;
using osu.Game.Screens.M... | mit | C# |
9c3ccfca13b80ab6b80479d27e1c344af78bc962 | Update Delay to 30 seconds | LiamKenneth/ArchaicQuest,LiamKenneth/ArchaicQuest,LiamKenneth/ArchaicQuest,LiamKenneth/MIM,LiamKenneth/MIM,LiamKenneth/ArchaicQuest,LiamKenneth/MIM | MIMWebClient/Core/Update/UpdateWorld.cs | MIMWebClient/Core/Update/UpdateWorld.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace MIMWebClient.Core.Update
{
public class UpdateWorld
{
public static void Init()
{
Task.Run(UpdateTime);
}
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace MIMWebClient.Core.Update
{
public class UpdateWorld
{
public static void Init()
{
Task.Run(UpdateTime);
}
... | mit | C# |
10f29f2d9f963cdf86692dafaef3396c6f2b5531 | Change default "Time Clock" widget "Time Format" option | danielchalmers/DesktopWidgets | DesktopWidgets/WidgetSettings.cs | DesktopWidgets/WidgetSettings.cs | using System;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Media;
namespace DesktopWidgets
{
public class WidgetConfig
{
public int Version { get; set; } = 1;
public ObservableCollection<WidgetSettings> Widgets { get; set; }
}
public class WidgetSet... | using System;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Media;
namespace DesktopWidgets
{
public class WidgetConfig
{
public int Version { get; set; } = 1;
public ObservableCollection<WidgetSettings> Widgets { get; set; }
}
public class WidgetSet... | apache-2.0 | C# |
fda7f6f12b44cf6a3055ebd46e9a8f28539c1dd1 | Bump version to 0.26 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
de2ce85a5c417bc336c048afcdbfff76085ff2fe | write command to console | ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET,ElectronNET/Electron.NET | ElectronNET.CLI/ProcessHelper.cs | ElectronNET.CLI/ProcessHelper.cs | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace ElectronNET.CLI
{
public class ProcessHelper
{
public static int CmdExecute(string command, string workingDirectoryPath, bool output = true, bool waitForExit = true)
{
using (Process cmd = new P... | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace ElectronNET.CLI
{
public class ProcessHelper
{
public static int CmdExecute(string command, string workingDirectoryPath, bool output = true, bool waitForExit = true)
{
using (Process cmd = new P... | mit | C# |
7facad1ba03c33a1ba8f6968f79cce31e702c66b | Update prefabs resources.load flow, fix dual load. | drawcode/game-lib-engine | Engine/GameObject/PrefabsPool.cs | Engine/GameObject/PrefabsPool.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PrefabsPool : GameObjectBehavior {
public Dictionary<string, GameObject> prefabs;
// Only one ObjectPoolManager can exist. We use a singleton pattern to enforce this.
private static PrefabsPo... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PrefabsPool : GameObjectBehavior {
public Dictionary<string, GameObject> prefabs;
// Only one ObjectPoolManager can exist. We use a singleton pattern to enforce this.
private static PrefabsPo... | mit | C# |
7dacb6d917359b4f76b30a7f644dc29666ee063e | Remove unused namespace | lizhen325/DakHanMaRi,lizhen325/DakHanMaRi | Web.UI.Tests/EmployeeControllerTests.cs | Web.UI.Tests/EmployeeControllerTests.cs | using Moq;
using NUnit.Framework;
using Web.UI.Interfaces;
using Web.UI.Controllers;
using Web.UI.Models;
using System.Collections.Generic;
using System.Linq;
namespace Web.UI.Tests
{
[TestFixture]
public class EmployeeControllerTests
{
private Mock<IEmployeeRepository> mockEmployeeRepository;
... | using System;
using Moq;
using NUnit.Framework;
using Web.UI.Interfaces;
using Web.UI.Controllers;
using Web.UI.Models;
using System.Collections.Generic;
using System.Linq;
namespace Web.UI.Tests
{
[TestFixture]
public class EmployeeControllerTests
{
private Mock<IEmployeeRepository> mockEmployeeR... | mit | C# |
dbaeadc0787016865b17f1768571cebee475a4ec | Refresh screens on startup | Jimver/jimsbackgroundchanger | JimsBackgroundChanger/Program.cs | JimsBackgroundChanger/Program.cs | using System;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using Microsoft.Win32;
namespace JimsBackgroundChanger
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
... | using System;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using Microsoft.Win32;
namespace JimsBackgroundChanger
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
... | mit | C# |
924e8521ae9765af922b73be17cd22893d69e7f6 | Change default behaviour to listen on all IP addresses | mstrother/BmpListener | BMPClient/Program.cs | BMPClient/Program.cs | using System;
using System.Net;
using BmpListener.Bmp;
using BmpListener.JSON;
using Newtonsoft.Json;
namespace BmpListener
{
internal class Program
{
private static void Main()
{
JsonConvert.DefaultSettings = () =>
{
var settings = new JsonSerializerSet... | using System;
using System.Net;
using BmpListener.Bmp;
using BmpListener.JSON;
using Newtonsoft.Json;
namespace BmpListener
{
internal class Program
{
private static void Main()
{
JsonConvert.DefaultSettings = () =>
{
var settings = new JsonSerializerSet... | mit | C# |
cea123f0fd0e6e602562905fbda55c21a568389e | 优化Builder 代码 | NMSLanX/Natasha | Natasha/Builder/MethodBuilder.cs | Natasha/Builder/MethodBuilder.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Natasha
{
public class MethodBuilder :IComplier
{
//private readonly static Regex _get_class;
static MethodBuilder()
{
//_get_class = new Regex(@"\sclass.*?(?<result>[a-zA-Z0-9]*?)[\s]*{", Re... | using Natasha;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Natasha
{
public class MethodBuilder<T> :IComplier
{
//private readonly static Regex _get_class;
protected T _link;
static MethodBuilder()
{
//_get_class = new Regex(@"... | mpl-2.0 | C# |
a573f8a7fe423da4ac75b1466eb7b3e245009a37 | Bump version to 0.9.1.0 | pysco68/Nowin,Bobris/Nowin,modulexcite/Nowin,modulexcite/Nowin,lstefano71/Nowin,lstefano71/Nowin,lstefano71/Nowin,et1975/Nowin,modulexcite/Nowin,Bobris/Nowin,et1975/Nowin,pysco68/Nowin,Bobris/Nowin,pysco68/Nowin,et1975/Nowin | Nowin/Properties/AssemblyInfo.cs | Nowin/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Nowin")]
[assembly: AssemblyDescription("... | 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("Nowin")]
[assembly: AssemblyDescription("... | mit | C# |
780d41fd04833ca53e4232c41bda8b5c33e04598 | Add console Hello | krisdimova/kasskata-Lessons | 01.Intro/Intro.cs | 01.Intro/Intro.cs | namespace _01.Intro
{
using System;
class Intro
{
static void Main()
{
Console.WriteLine("Hello");
}
}
}
| namespace _01.Intro
{
using System;
class Intro
{
static void Main()
{
Console.WriteLine("Hello");
}
}
}
| mit | C# |
eac1a5dcc42d48a4efd624fa8b35e91fd7ae2ab8 | Remove reference to .Constructs because it no longer exists as a namespace. | giawa/opengl4mac | OpenGLMac/Program.cs | OpenGLMac/Program.cs | using System;
using Tao.FreeGlut;
using OpenGL;
namespace OpenGLTest
{
public class Program
{
private static int width = 1280, height = 720;
private static VAO cube;
public static void Main()
{
Glut.glutInit ();
Glut.glutInitDisplayMode(Glut.GLUT_DOUBLE | Glut.GLUT_DEPTH);
Glut.glutInitWindowSize(... | using System;
using Tao.FreeGlut;
using OpenGL;
namespace OpenGLTest
{
public class Program
{
private static int width = 1280, height = 720;
private static VAO cube;
public static void Main()
{
Glut.glutInit ();
Glut.glutInitDisplayMode(Glut.GLUT_DOUBLE | Glut.GLUT_DEPTH);
Glut.glutInitWindowSize(... | mit | C# |
cae9f17c7367925ad32f53747dfb6aa1795d6310 | increment to v2.00 | gerryhigh/ServiceStack.Text,gerryhigh/ServiceStack.Text,NServiceKit/NServiceKit.Text,mono/ServiceStack.Text,meebey/ServiceStack.Text,mono/ServiceStack.Text,NServiceKit/NServiceKit.Text | src/ServiceStack.Text/Env.cs | src/ServiceStack.Text/Env.cs |
using System;
namespace ServiceStack.Text
{
public static class Env
{
static Env()
{
var platform = (int)Environment.OSVersion.Platform;
IsUnix = (platform == 4) || (platform == 6) || (platform == 128);
IsMono = Type.GetType("Mono.Runtime") != null;
IsMonoTouch = Type.GetType("MonoTo... |
using System;
namespace ServiceStack.Text
{
public static class Env
{
static Env()
{
var platform = (int)Environment.OSVersion.Platform;
IsUnix = (platform == 4) || (platform == 6) || (platform == 128);
IsMono = Type.GetType("Mono.Runtime") != null;
IsMonoTouch = Type.GetType("MonoTo... | bsd-3-clause | C# |
04cfae9bdeb525855a34527a217e8b2cba34b115 | Fix "Random Skin" text not showing up correctly | NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu | osu.Game/Database/RealmLiveUnmanaged.cs | osu.Game/Database/RealmLiveUnmanaged.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 Realms;
#nullable enable
namespace osu.Game.Database
{
/// <summary>
/// Provides a method of working with unmanaged realm objects.
/// ... | // 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 Realms;
#nullable enable
namespace osu.Game.Database
{
/// <summary>
/// Provides a method of working with unmanaged realm objects.
/// ... | mit | C# |
141dbf97bfaa06bf0fdf1c38a9f7eff78bbddc99 | Fix DataTable AST building | SabotageAndi/gherkin,cucumber/gherkin3,moreirap/gherkin3,pjlsergeant/gherkin,thiblahute/gherkin3,araines/gherkin3,cucumber/gherkin3,araines/gherkin3,thr0w/gherkin3,thiblahute/gherkin3,curzona/gherkin3,moreirap/gherkin3,thr0w/gherkin3,thiblahute/gherkin3,thr0w/gherkin3,vincent-psarga/gherkin3,Zearin/gherkin3,Zearin/gher... | Gherkin/Ast/DataTable.cs | Gherkin/Ast/DataTable.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Gherkin.Ast
{
public class DataTable : StepArgument, IHasRows, IHasLocation
{
public Location Location { get; private set; }
public IEnumerable<TableRow> Rows { get; private set; }
public DataTable... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Gherkin.Ast
{
public class DataTable : StepArgument, IHasRows
{
public IEnumerable<TableRow> Rows { get; private set; }
public DataTable(TableRow[] rows)
{
Rows = rows;
}
... | mit | C# |
80f7a33617e27fe3ca77c694b361f300874403ad | Convert GafFrame to a class with properties | MHeasell/Mappy,MHeasell/Mappy | Mappy/IO/Gaf/GafFrame.cs | Mappy/IO/Gaf/GafFrame.cs | namespace Mappy.IO.Gaf
{
using System;
/// <summary>
/// Data structure representing an individual frame
/// in a GAF animation.
/// </summary>
public class GafFrame
{
/// <summary>
/// Gets or sets the frame's offset in the X direction.
/// </summary>
... | namespace Mappy.IO.Gaf
{
/// <summary>
/// Data structure representing an individual frame
/// in a GAF animation.
/// </summary>
public struct GafFrame
{
/// <summary>
/// The frame's offset in the X direction.
/// </summary>
public int OffsetX;
... | mit | C# |
81a897cbca00f062c1caea86a5b9e82fcdeac793 | Update index.cshtml | Wyamio/Wyam.Web,Wyamio/Wyam.Web,ibebbs/Wyam.Web,tareq-s/Wyam.Web,dodyg/Wyam.Web,tareq-s/Wyam.Web,ibebbs/Wyam.Web | Input/index.cshtml | Input/index.cshtml | Title: Introduction
---
<p class="lead">Wyam is different. It's not a Jekyll clone (not that there's anything wrong with that). Wyam is a static *content* generator. It's not limited to blogs (though it's good at those too) and can be used to generate web sites, produce documentation, create ebooks, and much more. Sinc... | Title: Introduction
---
<p class="lead">Wyam can be used to generate blogs and web sites, produce documentation, create ebooks, and much more. Since everything is configured by chaining together flexible modules (that you can even write yourself), the only limits to what it can create are your imagination.</p>
<div cl... | mit | C# |
f3dbf0efa76689580437913cb222c9dee2d1ea68 | Remove duplicate TagMenuItem class. | dkoeb/f-spot,NguyenMatthieu/f-spot,dkoeb/f-spot,dkoeb/f-spot,mans0954/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,nathansamson/F-Spot-Album-Exporter,dkoeb/f-spot,mono/f-spot,mono/f-spot,mono/f-spot,mans0954/f-spot,GNOME/f-spot,mans0954/f-spot,GNOME/f-spot,Yetangitu/f-spot,Sanva/f-spot,mans0954/f... | src/PhotoTagMenu.cs | src/PhotoTagMenu.cs | //
// PhotoTagMenu.cs
//
// Copyright (C) 2004 Novell, 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 restriction, including without limitation
// the rights to use,... | //
// PhotoTagMenu.cs
//
// Copyright (C) 2004 Novell, 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 restriction, including without limitation
// the rights to use,... | mit | C# |
4f3f4675f1ec4f054c06b628fa3583d05e34dea6 | Bump version to 0.8.1 | ar3cka/Journalist | src/SolutionInfo.cs | src/SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.8.1")]
[assembly: AssemblyInformationalVersionAttribute("0.8.1")]
[assembly: AssemblyFileVersionAttribute("0.8.1")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.8.0")]
[assembly: AssemblyInformationalVersionAttribute("0.8.0")]
[assembly: AssemblyFileVersionAttribute("0.8.0")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | apache-2.0 | C# |
c376df295b16669923c6066038a6adafa11efe28 | load instead of loadandmerge | kreeben/resin,kreeben/resin | Resin/DocumentScanner.cs | Resin/DocumentScanner.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ProtoBuf;
namespace Resin
{
public class DocumentScanner
{
private readonly string _directory;
private readonly IDictionary<string, int> _fieldIndex;
public string Dir { get { return _directory; } }
p... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ProtoBuf;
namespace Resin
{
public class DocumentScanner
{
private readonly string _directory;
private readonly IDictionary<string, IList<int>> _fieldIndex;
public string Dir { get { return _directory; } }
... | mit | C# |
936743d421cf9eb4b6123d67811fa0b11e14a8ff | fix #101 | nerai/CMenu | src/ConsoleMenu/DefaultItems/MI_Help.cs | src/ConsoleMenu/DefaultItems/MI_Help.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NConsoleMenu.DefaultItems
{
public class MI_Help : CMenuItem
{
private readonly CMenu _Menu;
public MI_Help (CMenu menu)
: base ("help")
{
if (menu == null) {
throw new ArgumentNullException ("menu");
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NConsoleMenu.DefaultItems
{
public class MI_Help : CMenuItem
{
private readonly CMenu _Menu;
public MI_Help (CMenu menu)
: base ("help")
{
if (menu == null) {
throw new ArgumentNullException ("menu");
... | mit | C# |
319887323e6acad4a5f9cce188388abac14ce8bd | Fix PasswwordEntry.Activated | mono/xwt,mminns/xwt,hwthomas/xwt,lytico/xwt,sevoku/xwt,akrisiun/xwt,directhex/xwt,mminns/xwt,TheBrainTech/xwt,cra0zy/xwt,residuum/xwt,steffenWi/xwt,antmicro/xwt,iainx/xwt,hamekoz/xwt | Xwt/Xwt/PasswordEntry.cs | Xwt/Xwt/PasswordEntry.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Xwt.Backends;
namespace Xwt
{
[BackendType (typeof (IPasswordEntryBackend))]
public class PasswordEntry : Widget
{
EventHandler changed, activated;
static PasswordEntry ()
{
MapEvent (... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using Xwt.Backends;
namespace Xwt
{
[BackendType (typeof (IPasswordEntryBackend))]
public class PasswordEntry : Widget
{
EventHandler changed, activated;
static PasswordEntry ()
{
MapEvent (... | mit | C# |
53d8a0e4e955f5e8c57babc3c9e69b025df2fd45 | Change CTRL to Ctrl in commands description. | terrajobst/git-istage,terrajobst/git-istage | src/git-istage/ConsoleCommand.cs | src/git-istage/ConsoleCommand.cs | using System;
namespace GitIStage
{
internal sealed class ConsoleCommand
{
private readonly Action _handler;
private readonly ConsoleKey _key;
public readonly string Description;
private readonly ConsoleModifiers _modifiers;
public ConsoleCommand(Action handler, Console... | using System;
namespace GitIStage
{
internal sealed class ConsoleCommand
{
private readonly Action _handler;
private readonly ConsoleKey _key;
public readonly string Description;
private readonly ConsoleModifiers _modifiers;
public ConsoleCommand(Action handler, Console... | mit | C# |
878df158be436e06c1b8a7ec6d7e6906fbd12df1 | add defining markers to line/segment description | swsch/FacePalm | FacePalm/LineBase.cs | FacePalm/LineBase.cs | using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Controls;
using System.Windows.Media;
using FacePalm.Annotations;
namespace FacePalm {
public abstract class LineBase : INotifyPropertyChanged {
private Marker _m1;
private Marker _m2;
private string _d... | using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Controls;
using System.Windows.Media;
using FacePalm.Annotations;
namespace FacePalm {
public abstract class LineBase : INotifyPropertyChanged {
private Marker _m1;
private Marker _m2;
public string Id... | mit | C# |
4389ad17bbb6c2b4b92088f4fb95cca43effbd84 | Update Assets/MRTK/SDK/Features/Utilities/ConstraintUtils.cs | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/SDK/Features/Utilities/ConstraintUtils.cs | Assets/MRTK/SDK/Features/Utilities/ConstraintUtils.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using System.Collections.Generic;
using Microsoft.MixedReality.Toolkit.UI;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// Utilities for the management of constraints.
/// </summary>
in... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using System.Collections.Generic;
using Microsoft.MixedReality.Toolkit.UI;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// Utilities for the management of constraints.
/// </summary>
in... | mit | C# |
e8bd737f10b003aea52e54e8e182c90eb589b68c | Change default backup service plan enum value. | DimensionDataCBUSydney/DimensionData.ComputeClient,riveryc/DimensionData.ComputeClient,DimensionDataCBUSydney/Compute.Api.Client,riveryc/DimensionData.ComputeClient,DimensionDataCBUSydney/DimensionData.ComputeClient,riveryc/DimensionData.ComputeClient,samuelchong/Compute.Api.Client,DimensionDataCBUSydney/DimensionData.... | ComputeClient/Compute.Contracts/Backup/ServicePlan.cs | ComputeClient/Compute.Contracts/Backup/ServicePlan.cs | namespace DD.CBU.Compute.Api.Contracts.Backup
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.18020")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://oec.api.opsource.net/schemas/backup")]
public enum ServicePlan {
... | namespace DD.CBU.Compute.Api.Contracts.Backup
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.18020")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://oec.api.opsource.net/schemas/backup")]
public enum ServicePlan {
... | mit | C# |
3029b5b92e83ecaf4acfdf4081ab4d2b3fe3f537 | Bump version to 0.31.0 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
c384c451c8eb5448dc62e16156d60a59337054fe | Enumerate Interface methods | rapidcore/rapidcore,rapidcore/rapidcore | src/IO/FileSystem/IFileSystemProvider.cs | src/IO/FileSystem/IFileSystemProvider.cs | using System.Collections.Generic;
using System.IO;
namespace RapidCore.IO.FileSystem
{
public interface IFileSystemProvider
{
/// <summary>
/// List the items in a given path
/// </summary>
/// <param name="path">
/// the path
/// </param>
/// <param nam... | namespace RapidCore.IO.FileSystem
{
public interface IFileSystemProvider
{
}
}
| mit | C# |
eeadf48ef42cbd055f39ac0e4c27b2bf467c4338 | fix host to v3 one, remove others | iron-io/iron_dotnet | src/IronSharp.IronMQ/IronMqCloudHosts.cs | src/IronSharp.IronMQ/IronMqCloudHosts.cs | namespace IronSharp.IronMQ
{
/// <summary>
/// http://dev.iron.io/mq/reference/clouds/
/// </summary>
public static class IronMqCloudHosts
{
public const string DEFAULT = AWS_US_EAST_HOST;
/// <summary>
/// Default
/// </summary>
public const string AWS_US_E... | namespace IronSharp.IronMQ
{
/// <summary>
/// http://dev.iron.io/mq/reference/clouds/
/// </summary>
public static class IronMqCloudHosts
{
public const string DEFAULT = AWS_US_EAST_HOST;
/// <summary>
/// Default
/// </summary>
public const string AWS_US_E... | mit | C# |
bf6522e60b25188727cfb2fcf84f63078a6852dd | update qctools extension | IUMDPI/IUMediaHelperApps | Packager/Models/FileModels/QualityControlFileModel.cs | Packager/Models/FileModels/QualityControlFileModel.cs | using System.IO;
namespace Packager.Models.FileModels
{
public class QualityControlFileModel : AbstractObjectFileModel
{
public QualityControlFileModel(AbstractObjectFileModel fileModel)
{
SequenceIndicator = fileModel.SequenceIndicator;
Extension = ".gz";
F... | using System.IO;
namespace Packager.Models.FileModels
{
public class QualityControlFileModel : AbstractObjectFileModel
{
public QualityControlFileModel(AbstractObjectFileModel fileModel)
{
SequenceIndicator = fileModel.SequenceIndicator;
Extension = ".gz";
F... | apache-2.0 | C# |
4199395e1a47ebeee77ea7e095c388a26be75343 | Improve message when throwing exception | ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge | src/LfMerge.Core/LanguageDepotProject.cs | src/LfMerge.Core/LanguageDepotProject.cs | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
using LfMerge.Core.Logging;
using LfMerge.Core.Settings;
namespace LfMerge.Core
{
public class LanguageDepotProjec... | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
using LfMerge.Core.Logging;
using LfMerge.Core.Settings;
namespace LfMerge.Core
{
public class LanguageDepotProjec... | mit | C# |
a3c6acb60c47ddfef55ca16e71cbf0e14f25971c | Read config env | okaram/azure-website,okaram/azure-website | read-config.cshtml | read-config.cshtml | <!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>Salutation: @Environment.GetEnvironmentVariable("APPSETTINGS_Salutation")</p>
<p>Salutation: </p>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>Salutation: @Environment.GetEnvironmentVariable('APPSETTINGS_Salutation')</p>
<p>Salutation: </p>
</body>
</html>
| unlicense | C# |
1665d6c5254b0df97c75a65e8399e7185851765d | Add SessionStateTests to AssemblyLoadContext collection | daxian-dbw/PowerShell,jsoref/PowerShell,TravisEz13/PowerShell,PaulHigin/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,jsoref/PowerShell,bmanikm/PowerShell,JamesWTruher/PowerShell-1,bmanikm/PowerShell,kmosher/PowerShell,KarolKaczmarek/PowerShell,JamesWTruher/PowerShell-1,bmanikm/PowerShell,kmosher/PowerShell... | test/csharp/test_SessionState.cs | test/csharp/test_SessionState.cs | using Xunit;
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Management.Automation;
using System.Management.Automation.Host;
using System.Management.Automation.Internal;
using System.Management.Automation.Internal.Host;
using System.Management.Autom... | using Xunit;
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Management.Automation;
using System.Management.Automation.Host;
using System.Management.Automation.Internal;
using System.Management.Automation.Internal.Host;
using System.Management.Autom... | mit | C# |
919359834af8909497e2ae2947410a935eae6701 | remove unused using | CatLib/Framework,yb199478/catlib | CatLib.VS/CatLib/Debugger/Log/LogEntry.cs | CatLib.VS/CatLib/Debugger/Log/LogEntry.cs | /*
* This file is part of the CatLib package.
*
* (c) Yu Bin <support@catlib.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
using CatLib.API.Debugger;
using System.Diagnostics;
using System.... | /*
* This file is part of the CatLib package.
*
* (c) Yu Bin <support@catlib.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
using System;
using CatLib.API.Debugger;
using System.Diagnostics;... | unknown | C# |
0dbfafaa64e5aa7566a42561d318bd471ae2fb9d | update dll version | imanushin/CheckContracts | CheckContracts/Properties/AssemblyInfo.cs | CheckContracts/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Check Contracts")]
[assembly: AssemblyDescription("Code contracts for dynamic checks")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Igor Manushin")]
[assembly: AssemblyProduct("CheckContracts")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Check Contracts")]
[assembly: AssemblyDescription("Code contracts for dynamic checks")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Igor Manushin")]
[assembly: AssemblyProduct("CheckContracts")]
[assembly: ... | mit | C# |
0be18a87a7990b1b9d1199c18b663b5e0cd8493d | Use the Directory of the current Testing Assembly | hoffmanc/FileHelpers,hoffmanc/FileHelpers,hoffmanc/FileHelpers | FileHelpers.Tests/Tests/Common.cs | FileHelpers.Tests/Tests/Common.cs | using System.Reflection;
using FileHelpers;
using FileHelpers.MasterDetail;
using System.Collections;
using System.IO;
namespace FileHelpersTests
{
// this class only adds the relative path to the saple files.
public sealed class Common
{
private static string mAssemblyLocation = string.Empty;
... | using System.Reflection;
using FileHelpers;
using FileHelpers.MasterDetail;
using System.Collections;
using System.IO;
namespace FileHelpersTests
{
// this class only adds the relative path to the saple files.
public sealed class Common
{
private static string mAssemblyLocation = string.Empty;
... | lgpl-2.1 | C# |
56612b09fb0535fc8132231c0752442ea8592db3 | Send Ack emails even if the system is in Simulation Mode. | vitru/mail2bug,Spurrya/mail2bug,mrpeterson27/mail2bug,mbmccormick/mail2bug | Mail2Bug/Email/AckEmailHandler.cs | Mail2Bug/Email/AckEmailHandler.cs | using System.Text;
using log4net;
using Mail2Bug.Email.EWS;
namespace Mail2Bug.Email
{
class AckEmailHandler
{
private readonly Config.InstanceConfig _config;
public AckEmailHandler(Config.InstanceConfig config)
{
_config = config;
}
/// <summary>
... | using System.Text;
using log4net;
using Mail2Bug.Email.EWS;
namespace Mail2Bug.Email
{
class AckEmailHandler
{
private readonly Config.InstanceConfig _config;
public AckEmailHandler(Config.InstanceConfig config)
{
_config = config;
}
/// <summary>
... | mit | C# |
6cad318f148d739120030744740409cc83281c76 | Update LoremIpsumPluginTest.cs | blmeyers/ObjectFiller.NET,HerrLoesch/ObjectFiller.NET,DoubleLinePartners/ObjectFiller.NET,Tynamix/ObjectFiller.NET | ObjectFiller.Test/LoremIpsumPluginTest.cs | ObjectFiller.Test/LoremIpsumPluginTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ObjectFiller.Test.TestPoco.Library;
using Tynamix.ObjectFiller;
namespace ObjectFiller.Test
{
[TestClass]
public class LoremIpsumPluginTest
{
[TestMethod]
public void TestPlugin()
{
int isbnWordCount... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ObjectFiller.Test.TestPoco.Library;
using Tynamix.ObjectFiller;
namespace ObjectFiller.Test
{
[TestClass]
public class LoremIpsumPluginTest
{
[TestMethod]
public void TestPlugin()
{
int isbnWordCoun... | mit | C# |
590fb765504e191fef088f54f184ac3fab05fb99 | Fix cancel button | CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper,CecilCable/Ingress-ScoreKeeper | Upchurch.Ingress/Views/Home/Update.cshtml | Upchurch.Ingress/Views/Home/Update.cshtml | <h2>Update CP {{newScore.Cp}}</h2>
<div class="form-group">
<label for="EnlightenedScore">Enlightened Score</label>
<input type="text" class="form-control" id="EnlightenedScore" placeholder="100,000" ng-model="newScore.EnlightenedScore">
</div>
<div class="form-group">
<label for="ResistanceScore">... | <h2>Update CP {{newScore.Cp}}</h2>
<div class="form-group">
<label for="EnlightenedScore">Enlightened Score</label>
<input type="text" class="form-control" id="EnlightenedScore" placeholder="100,000" ng-model="newScore.EnlightenedScore">
</div>
<div class="form-group">
<label for="ResistanceScore">... | mit | C# |
7cbca37e2df471b03f20232cc1eb58a074b383b4 | Remove redundant cast | johnneijzen/osu,naoey/osu,NeoAdonis/osu,DrabWeb/osu,NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu,ZLima12/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu,DrabWeb/osu,EVAST9919/osu,johnneijzen/osu,Nabile-Rahmani/osu,Frontear/osuKyzer,naoey/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu... | osu.Game.Rulesets.Mania/Replays/ManiaReplayFrame.cs | osu.Game.Rulesets.Mania/Replays/ManiaReplayFrame.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.Game.Rulesets.Replays;
namespace osu.Game.Rulesets.Mania.Replays
{
public class ManiaReplayFrame : ReplayFrame
{
public override bool... | // 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.Game.Rulesets.Replays;
namespace osu.Game.Rulesets.Mania.Replays
{
public class ManiaReplayFrame : ReplayFrame
{
public override bool... | mit | C# |
45db485f5535dac46196accb0200d0c3d66f4057 | Support debugging of modified assemblies | pamidur/aspect-injector | AspectInjector.Task/AspectInjectorBuildTask.cs | AspectInjector.Task/AspectInjectorBuildTask.cs | using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Mono.Cecil;
using System;
using System.IO;
namespace AspectInjector.BuildTask
{
public class AspectInjectorBuildTask : Task
{
[Required]
public string Assembly { get; set; }
[Required]
public... | using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Mono.Cecil;
using System;
using System.IO;
namespace AspectInjector.BuildTask
{
public class AspectInjectorBuildTask : Task
{
[Required]
public string Assembly { get; set; }
[Required]
public... | apache-2.0 | C# |
9685ac20f502b8700df9ac0f0ecf99deb461ff4d | Add tracing calls | KuduApps/Dev14_Net46_Mvc5,KuduApps/Dev14_Net46_Mvc5,KuduApps/Dev14_Net46_Mvc5 | Dev14_Net46_Mvc5/Controllers/HomeController.cs | Dev14_Net46_Mvc5/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Dev14_Net46_Mvc5.Common;
using System.Diagnostics;
namespace Dev14_Net46_Mvc5.Controllers
{
public class HomeController : Controller
{
public static int Counter ... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Dev14_Net46_Mvc5.Common;
namespace Dev14_Net46_Mvc5.Controllers
{
public class HomeController : Controller
{
public static int Counter { get; set; }
pub... | apache-2.0 | C# |
c4d23b9e6b39577d4630734069cff85e8a361191 | Bump version to 1.0.5 | asd-and-Rizzo/ExpressionToCode,EamonNerbonne/ExpressionToCode | ExpressionToCodeLib/Properties/AssemblyInfo.cs | ExpressionToCodeLib/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ExpressionToCodeLib")]
[assembly: ... | 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("ExpressionToCodeLib")]
[assembly: ... | apache-2.0 | C# |
a699723e4a9dc987c26a815ea85edb579ddccba8 | increase minor version number | kubdotnet/LedControllerEngine | LedControllerEngine/Properties/AssemblyInfo.cs | LedControllerEngine/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 w... | 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 w... | mit | C# |
68c1c7bc01ea4668cbe46fe8861627c3062618d8 | fix GetWordTemplatesRequest | signumsoftware/framework,signumsoftware/framework | Signum.React.Extensions/Word/WordController.cs | Signum.React.Extensions/Word/WordController.cs | using System.ComponentModel.DataAnnotations;
using Signum.React.Facades;
using Signum.Entities.Word;
using Signum.Engine.Word;
using Signum.React.Files;
using Microsoft.AspNetCore.Mvc;
using Signum.React.Filters;
namespace Signum.React.Word;
[ValidateModelFilter]
public class WordController : ControllerBas... | using System.ComponentModel.DataAnnotations;
using Signum.React.Facades;
using Signum.Entities.Word;
using Signum.Engine.Word;
using Signum.React.Files;
using Microsoft.AspNetCore.Mvc;
using Signum.React.Filters;
namespace Signum.React.Word;
[ValidateModelFilter]
public class WordController : ControllerBas... | mit | C# |
a45c6f405f84bafa69a44d6ef3ade09c97b0e3f9 | Remove ConfigureAwait(false) from IterateAsync | Microsoft/xunit-performance,visia/xunit-performance,mmitche/xunit-performance,ericeil/xunit-performance,pharring/xunit-performance,Microsoft/xunit-performance,ianhays/xunit-performance | src/xunit.performance.core/Benchmark.cs | src/xunit.performance.core/Benchmark.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Xunit.Performance.Internal;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.Xunit.Performance
{
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Xunit.Performance.Internal;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.Xunit.Performance
{
... | mit | C# |
eed86d933f53456ce0d54f8ecd01ce56255051bb | Use propert initializers instead of constructor | joelhulen/allReady,mheggeseth/allReady,jonatwabash/allReady,kmlewis/allReady,mheggeseth/allReady,BarryBurke/allReady,stevejgordon/allReady,SteveStrong/allReady,anobleperson/allReady,auroraocciduusadmin/allReady,JowenMei/allReady,BillWagner/allReady,HTBox/allReady,timstarbuck/allReady,dangle1/allReady,shawnwildermuth/al... | AllReadyApp/Web-App/AllReady/Models/Activity.cs | AllReadyApp/Web-App/AllReady/Models/Activity.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AllReady.Models
{
public class Activity
{
public int Id { get; set; }
[Display(Name = "Tenant")]
public int TenantId { get; set; }... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AllReady.Models
{
public class Activity
{
public Activity()
{
Tasks = new List<AllReadyTask>();
UsersSignedUp = new... | mit | C# |
ba2de359897240d2c8e4d4415e5200d7c092ac60 | Add properties and methods | sakapon/Tools-2017 | EpidemicSimulator/EpidemicSimulator/AppModel.cs | EpidemicSimulator/EpidemicSimulator/AppModel.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Threading.Tasks;
using Reactive.Bindings;
namespace EpidemicSimulator
{
public class AppModel
{
public InitialSettings InitialSettings { get; } = new InitialSettings();
public Real... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EpidemicSimulator
{
public class AppModel
{
}
}
| mit | C# |
ead67e33f23161c69643ce43b04f483eeb866cc4 | fix unsubscribe message's qos flag | feik/yunba-csharp-sdk,yunba/yunba-csharp-sdk | MqttLib/Core/Messages/MqttUnsubscribeMessage.cs | MqttLib/Core/Messages/MqttUnsubscribeMessage.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace MqttLib.Core.Messages
{
internal class MqttUnsubscribeMessage : MqttMessage
{
private string[] _topics;
public MqttUnsubscribeMessage(ulong messageID, string[] topics) : base(MessageType.UNSUBSCRIBE)
{
... | using System;
using System.Collections.Generic;
using System.Text;
namespace MqttLib.Core.Messages
{
internal class MqttUnsubscribeMessage : MqttMessage
{
private string[] _topics;
public MqttUnsubscribeMessage(ulong messageID, string[] topics) : base(MessageType.UNSUBSCRIBE)
{
... | mit | C# |
5c9ee7f468c14916ef0dfb84b8b4d769d564ec43 | Build fixer | DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework | DragonSpark.Application/Diagnostics/Time/FromThen.cs | DragonSpark.Application/Diagnostics/Time/FromThen.cs | using DragonSpark.Runtime;
using System;
namespace DragonSpark.Application.Diagnostics.Time;
sealed class FromThen : IWindow
{
readonly ITime _time;
readonly TimeSpan _window;
public FromThen(TimeSpan window) : this(DragonSpark.Runtime.Time.Default, window) {}
public FromThen(ITime time, TimeSpan window)
{... | using DragonSpark.Runtime;
using System;
namespace DragonSpark.Application.Diagnostics.Time;
sealed class FromNow : IWindow
{
readonly ITime _time;
readonly TimeSpan _window;
public FromNow(TimeSpan window) : this(DragonSpark.Runtime.Time.Default, window) {}
public FromNow(ITime time, TimeSpan window)
{
... | mit | C# |
b94ea0ff0e032cda8fb4344b3c1abd449ebe8f0e | Fix compile error with named args | ethanmoffat/EndlessClient | EndlessClient/Content/IHatConfigurationRepository.cs | EndlessClient/Content/IHatConfigurationRepository.cs | using AutomaticTypeMapper;
using EOLib.Config;
using System;
using System.Collections.Generic;
namespace EndlessClient.Content
{
public interface IHatConfigurationRepository
{
IDictionary<int, HatMaskType> HatMasks { get; set; }
}
public interface IHatConfigurationProvider
{
IRead... | using AutomaticTypeMapper;
using EOLib.Config;
using System;
using System.Collections.Generic;
namespace EndlessClient.Content
{
public interface IHatConfigurationRepository
{
IDictionary<int, HatMaskType> HatMasks { get; set; }
}
public interface IHatConfigurationProvider
{
IRead... | mit | C# |
36eb88940132d4a7a6385cf943197266fcf58a4f | simplify test by leveraging NUnit | jgraber/ForgetTheMilk,jgraber/ForgetTheMilk,jgraber/ForgetTheMilk | ForgetTheMilk/ConsoleVerification/CreateTaskTests.cs | ForgetTheMilk/ConsoleVerification/CreateTaskTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForgetTheMilk.Controllers;
using NUnit.Framework;
namespace ConsoleVerification
{
public class CreateTaskTests
{
[Test]
public void TestDescriptionAndNoDueDate()
{
var input = "Picku... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForgetTheMilk.Controllers;
using NUnit.Framework;
namespace ConsoleVerification
{
public class CreateTaskTests
{
[Test]
public void TestDescriptionAndNoDueDate()
{
var input = "Picku... | apache-2.0 | C# |
0a1e70683aa5ce96f1434006b50275fba314b4ea | Add [Serializable] attribute | dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute | Source/NSubstitute/Exceptions/SubstituteException.cs | Source/NSubstitute/Exceptions/SubstituteException.cs | using System;
using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
[Serializable]
public class SubstituteException : Exception
{
public SubstituteException() : this("") { }
public SubstituteException(string message) : this(message, null) { }
public SubstituteExcept... | using System;
using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
public class SubstituteException : Exception
{
public SubstituteException() : this("") { }
public SubstituteException(string message) : this(message, null) { }
public SubstituteException(string message,... | bsd-3-clause | C# |
b18368f331957b6851326a33f53a3521a9494606 | refactor simple unit test for Search | kusl/Tree | VisualTree/TreeLibraryTests/BinarySearchTreeTests.cs | VisualTree/TreeLibraryTests/BinarySearchTreeTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using TreeLibrary;
namespace TreeLibraryTests
{
[TestClass]
public class BinarySearchTreeTests
{
[TestMethod]
public void CreateNullTree()
{
BinarySearchTree bst = new BinarySearchTree();
Assert.IsNull(bst.... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using TreeLibrary;
namespace TreeLibraryTests
{
[TestClass]
public class BinarySearchTreeTests
{
[TestMethod]
public void CreateNullTree()
{
BinarySearchTree bst = new BinarySearchTree();
Assert.IsNull(bst.... | agpl-3.0 | C# |
9af0b12dee951436f415e3f92de040decea0a975 | bump version | Fody/Fielder | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Fielder")]
[assembly: AssemblyProduct("Fielder")]
[assembly: AssemblyVersion("0.13.0.0")]
[assembly: AssemblyFileVersion("0.13.0.0")]
| using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Fielder")]
[assembly: AssemblyProduct("Fielder")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0.12.0.0")]
[assembly: AssemblyFileVersion("0.12.0.0")]
| mit | C# |
e0c2e75290583de1fa60046d026c33b3533e7da4 | Allow non-default Command Settings to be passed to GetSqlCommand() | JoshKeegan/SqlServerHelpers | SqlServerHelpers/ExtensionMethods/SqlConnectionExtensions.cs | SqlServerHelpers/ExtensionMethods/SqlConnectionExtensions.cs | /*
* SqlServerHelpers
* SqlConnectionExtensions - Extension methods for SqlConnection
* Authors:
* Josh Keegan 26/05/2015
*/
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlServerHelpers.ExtensionMeth... | /*
* SqlServerHelpers
* SqlConnectionExtensions - Extension methods for SqlConnection
* Authors:
* Josh Keegan 26/05/2015
*/
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlServerHelpers.ExtensionMeth... | mit | C# |
3d67681042111b2500828bc20a3bdac66c9560b8 | fix bad merge | un-loop/wareentryresourceguide,un-loop/wareentryresourceguide | WaReentryResourceGuide/WaReentryResourceGuide/Global.asax.cs | WaReentryResourceGuide/WaReentryResourceGuide/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace WaReentryResourceGuide
{
using System.Data.Entity;
using DAL;
public class WebApiApplication : System.Web.Htt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace WaReentryResourceGuide
{
using System.Data.Entity;
using DAL;
public class WebApiApplication : System.Web.Htt... | mit | C# |
2bde4cbf1f2d40bd5dcf674d1ed22fcd60a82c55 | Use RuntimeInformation.ProcessArchitecture | PKRoma/libgit2sharp,libgit2/libgit2sharp | LibGit2Sharp/Core/Platform.cs | LibGit2Sharp/Core/Platform.cs | using System;
using System.Runtime.InteropServices;
namespace LibGit2Sharp.Core
{
internal enum OperatingSystemType
{
Windows,
Unix,
MacOSX
}
internal static class Platform
{
public static string ProcessorArchitecture => RuntimeInformation.ProcessArchitecture.ToStr... | using System;
using System.Runtime.InteropServices;
namespace LibGit2Sharp.Core
{
internal enum OperatingSystemType
{
Windows,
Unix,
MacOSX
}
internal static class Platform
{
public static string ProcessorArchitecture => IntPtr.Size == 8 ? "x64" : "x86";
p... | mit | C# |
7ba7446c50a753ffc9979fbaa879ae32a89e3541 | Fix for incorrect input | edghto/LunchMoneyApp,edghto/LunchMoneyApp | LunchMoneyApp/AddPage.xaml.cs | LunchMoneyApp/AddPage.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Cont... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Cont... | mit | C# |
860e7155fae83ad3804bcd824d68b20414504d8c | Implement a plugin | paralleltree/PmXEditorPlugins | WeightedOffsetBlend/WeightedOffsetBlend/Plugin.cs | WeightedOffsetBlend/WeightedOffsetBlend/Plugin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using PEPlugin;
namespace WeightedOffsetBlend
{
public class Plugin : PEPluginClass
{
private static MainForm FormInstance { get; set; }
public override string Name
{
get { return "重み付きオフセット付加"; }
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace WeightedOffsetBlend
{
public class Plugin
{
}
}
| mit | C# |
74b0d1cf73d05f30382ffdde47db51496263ba04 | Adjust user list output | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/AdminController.cs | Battery-Commander.Web/Controllers/AdminController.cs | using BatteryCommander.Web.Models;
using FluentScheduler;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Cont... | using BatteryCommander.Web.Models;
using FluentScheduler;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
... | mit | C# |
6dffeb2eeb9d26ad4f986d89a1effd4f294807d7 | Revert "[update] newGameSceneController.cs" | mkgask/sgffu | Assets/Scripts/Scenes_each/newGameSceneController.cs | Assets/Scripts/Scenes_each/newGameSceneController.cs | using System;
using UnityEngine;
using UnityEngine.UI;
using UniRx;
using OwrBase.Config;
using OwrBase.Utility;
using OwrBase.Scene;
using OwrBase.EventMessage;
using OwrBase.World;
using StrOpe = StringOperationUtil.OptimizedStringOperation;
public class newGameSceneController : MonoBehaviour {
/*
// Use this fo... | using System;
using UnityEngine;
using UnityEngine.UI;
using UniRx;
using OwrBase.Config;
using OwrBase.Utility;
using OwrBase.Scene;
using OwrBase.EventMessage;
using OwrBase.World;
using StrOpe = StringOperationUtil.OptimizedStringOperation;
public class newGameSceneController : MonoBehaviour {
/*
// Use this fo... | mit | C# |
e9f9cca165c25950fdbd63729642b064f4c888e7 | update version | jefking/King.Collections | King.Collections.Test.Unit/Properties/AssemblyInfo.cs | King.Collections.Test.Unit/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("King.Collections.Test.Unit")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("King.Collections.Test.Unit")]
[assembly: AssemblyCopyright("Copyr... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("King.Collections.Test.Unit")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("King.Collections.Test.Unit")]
[assembly: AssemblyCopyright("Copyr... | mit | C# |
14b37495d4c814238346df8c71e3fe52718e99da | Fix restart. | haivp3010/ludo-js-project | sources/Assets/Scripts/RestartBtn.cs | sources/Assets/Scripts/RestartBtn.cs | using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class RestartBtn : MonoBehaviour
{
public string Type;
public Sprite Normal;
public Sprite OnHover;
private SpriteRenderer spriteRenderer;
private CircleCollider2D btnCollider;
// Use this for initialization
... | using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class RestartBtn : MonoBehaviour
{
public string Type;
public Sprite Normal;
public Sprite OnHover;
private SpriteRenderer spriteRenderer;
private CircleCollider2D btnCollider;
// Use this for initialization
... | mit | C# |
964effc909ca544a587cb2ea841af7bae1bf450b | Add "IsPrimaryMarket" flag on MarketMapping | sportingsolutions/SS.Integration.Adapter,jpendlebury/SS.Integration.Adapter,jpendlebury/SS.Integration.Adapter,sportingsolutions/SS.Integration.Adapter,sportingsolutions/SS.Integration.Adapter,jpendlebury/SS.Integration.Adapter | SS.Integration.Adapter.Plugin.Model/MarketMapping.cs | SS.Integration.Adapter.Plugin.Model/MarketMapping.cs | //Copyright 2014 Spin Services Limited
//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 agreed to in wr... | //Copyright 2014 Spin Services Limited
//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 agreed to in wr... | apache-2.0 | C# |
18a17c57370e8cb9fc7ef481845554909275437e | Add whitespace on test file | unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter | com.unity.formats.alembic/Tests/Editor/EditorTests.cs | com.unity.formats.alembic/Tests/Editor/EditorTests.cs | using NUnit.Framework;
using UnityEngine.Formats.Alembic.Sdk;
namespace UnityEditor.Formats.Alembic.Exporter.UnitTests
{
class EditorTests
{
[Test]
public void MarshalTests()
{
Assert.AreEqual(72,System.Runtime.InteropServices.Marshal.SizeOf(typeof(aePolyMeshData)));
... | using NUnit.Framework;
using UnityEngine.Formats.Alembic.Sdk;
namespace UnityEditor.Formats.Alembic.Exporter.UnitTests
{
class EditorTests
{
[Test]
public void MarshalTests()
{
Assert.AreEqual(72,System.Runtime.InteropServices.Marshal.SizeOf(typeof(aePolyMeshData)));
... | mit | C# |
2dd76d76c6695baa282e3c55b02509c19133d940 | update JsonSerializer settings | mgarrettm/serverless-prototype,mgarrettm/serverless-prototype | Web/App_Start/WebApiConfig.cs | Web/App_Start/WebApiConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Web.Http;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Serverless.Web
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using System.Web.Http;
namespace Serverless.Web
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
... | mit | C# |
bea4fe08854b770393dd7a89bc4a96a59dc9c4e9 | Fix box layout | akrisiun/xwt,iainx/xwt,mminns/xwt,lytico/xwt,mono/xwt,residuum/xwt,mminns/xwt,steffenWi/xwt,directhex/xwt,hamekoz/xwt,sevoku/xwt,antmicro/xwt,hwthomas/xwt,TheBrainTech/xwt,cra0zy/xwt | Xwt.Mac/Xwt.Mac/BoxBackend.cs | Xwt.Mac/Xwt.Mac/BoxBackend.cs | //
// BoxBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 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 restrictio... | //
// BoxBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 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 restrictio... | mit | C# |
ddec6a11c117d0f64c5355c238f1fa2f8f8b67f4 | Set version to 2.0.0. | MarcDrexler/trackable-entities,luboshl/trackable-entities,tonysneed/trackable-entities,TrackableEntities/trackable-entities,MarcDrexler/trackable-entities,TrackableEntities/trackable-entities,luboshl/trackable-entities,edi0177/trackable-entities,tonysneed/trackable-entities,MarcDrexler/trackable-entities,edi0177/tracka... | Source/AssemblyVersion.cs | Source/AssemblyVersion.cs | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [a... | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [a... | mit | C# |
cca20c673b87d3772a78f3bfe2f1cae06757e26a | Fix typo in tests | paiden/Nett | Test/Nett.Coma.UnitTests/Functional/AutoSaveTests.cs | Test/Nett.Coma.UnitTests/Functional/AutoSaveTests.cs | namespace Nett.Coma.Tests
{
using System;
using FluentAssertions;
using Xunit;
public sealed class AutoSaveTests : TestsBase
{
[Fact(DisplayName = "AutoSave: When value is changed in memory, new config file gets written to disk.")]
public void WhenValueChangedInProcess_TheNewConfig... | namespace Nett.Coma.Tests
{
using System;
using FluentAssertions;
using Xunit;
public sealed class AutoSaveTests : TestsBase
{
[Fact(DisplayName = "AutoSave: When value is changed in memory, new config file gets written to disk.")]
public void WhenValueChangedInProcess_TheNewConfig... | mit | C# |
fbcd6f5b814aaa906340943725e01538670c089a | Add NeedsCpp to LinkWithAttribute | cwensley/maccore,jorik041/maccore,mono/maccore,beni55/maccore | src/ObjCRuntime/LinkWithAttribute.cs | src/ObjCRuntime/LinkWithAttribute.cs | //
// Authors: Jeffrey Stedfast
//
// Copyright 2011 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 restriction, including
// without limitation the rights to use,... | //
// Authors: Jeffrey Stedfast
//
// Copyright 2011 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 restriction, including
// without limitation the rights to use,... | apache-2.0 | C# |
c9d11a9d25cad25fdc7682679bec7715e34b27ea | Update version number of development branch | SAEnergy/Superstructure,SAEnergy/Infrastructure,SAEnergy/Infrastructure | Src/GlobalAssemblyInfo.cs | Src/GlobalAssemblyInfo.cs | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany("Simple Answers Energy, Inc.")]
[assembly: AssemblyProduct("Infrastructure")]
[... | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany("Simple Answers Energy, Inc.")]
[assembly: AssemblyProduct("Infrastructure")]
[... | mit | C# |
ac28e9d96716c586d61fbe7a7f45f9c6844ee5db | Revert "Reverted expression body" | FeodorFitsner/SimpleMvcSitemap,uhaciogullari/SimpleMvcSitemap | src/SimpleMvcSitemap/SitemapModel.cs | src/SimpleMvcSitemap/SitemapModel.cs | using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
namespace SimpleMvcSitemap
{
/// <summary>
/// Encapsulates the sitemap file and references the current protocol standard.
/// </summary>
[XmlRoot("urlset", Namespace = Namespaces.Sitemap)]
public class SitemapMod... | using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
namespace SimpleMvcSitemap
{
/// <summary>
/// Encapsulates the sitemap file and references the current protocol standard.
/// </summary>
[XmlRoot("urlset", Namespace = Namespaces.Sitemap)]
public class SitemapMod... | mit | C# |
998a206e8f4dde9fe1de5327ef438e6cdb6dbe67 | Fix DebugLog formatting | SharpeRAD/Cake.Topshelf | src/Topshelf.Tests/Utils/DebugLog.cs | src/Topshelf.Tests/Utils/DebugLog.cs | #region Using Statements
using System;
using System.Diagnostics;
using System.Collections.Generic;
using Cake.Core.Diagnostics;
#endregion
namespace Cake.Topshelf.Tests
{
/// <summary>
/// A log that outputs messages to debug
/// </summary>
internal class DebugLog : ICakeLog
{
... | #region Using Statements
using System;
using System.Diagnostics;
using System.Collections.Generic;
using Cake.Core.Diagnostics;
#endregion
namespace Cake.Topshelf.Tests
{
/// <summary>
/// A log that outputs messages to debug
/// </summary>
internal class DebugLog : ICakeLog
{
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.