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 |
|---|---|---|---|---|---|---|---|---|
482044569637dc97a78bf27d8ef9ddf0b8c8e0dd | increase delay before checking for new builds in hopes of increasing the success rate | RPCS3/discord-bot,Nicba1010/discord-bot | CompatBot/EventHandlers/NewBuildsMonitor.cs | CompatBot/EventHandlers/NewBuildsMonitor.cs | using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using CompatBot.Commands;
using DSharpPlus.EventArgs;
namespace CompatBot.EventHandlers
{
internal static class NewBuildsMonitor
{
private static readonly Regex BuildResult = new Regex("build (succeed|pass)ed", RegexOpti... | using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using CompatBot.Commands;
using DSharpPlus.EventArgs;
namespace CompatBot.EventHandlers
{
internal static class NewBuildsMonitor
{
private static readonly Regex BuildResult = new Regex("build (succeed|pass)ed", RegexOpti... | lgpl-2.1 | C# |
78089ae664d99f98890f860a27bb52e018f8b5a8 | Use same url Facebook uses to download bits | SotoiGhost/FacebookComponents,SotoiGhost/FacebookComponents | Facebook.iOS/custom_externals_download.cake | Facebook.iOS/custom_externals_download.cake | void DownloadAudienceNetwork (Artifact artifact)
{
var podSpec = artifact.PodSpecs [0];
var id = podSpec.Name;
var version = podSpec.Version;
var url = $"https://developers.facebook.com/resources/{id}-{version}.zip";
var basePath = $"./externals/{id}";
DownloadFile (url, $"{basePath}.zip", new Cake.Xamarin.Build.... | void DownloadAudienceNetwork (Artifact artifact)
{
var podSpec = artifact.PodSpecs [0];
var id = podSpec.Name;
var version = podSpec.Version;
var url = $"https://origincache.facebook.com/developers/resources/?id={id}-{version}.zip";
var basePath = $"./externals/{id}";
DownloadFile (url, $"{basePath}.zip", new Cak... | mit | C# |
653dc256d7e16fbf4b1d5c796081779cfb590b96 | Fix EnvironmentInfo.BuildAssembly. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/EnvironmentInfo.Build.cs | source/Nuke.Core/EnvironmentInfo.Build.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/matkoch/Nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
namespace Nuke.Core
{
public static partial class EnvironmentInfo
{
/// <summary>
/// The build entry assembly... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/matkoch/Nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Reflection;
namespace Nuke.Core
{
public static partial class EnvironmentInfo
{
/// <summary>
/// The assembly executing t... | mit | C# |
cf994799cd902a097820ff5b661f0d47870d3f29 | Support null BaseAddress. | andyfmiller/LtiLibrary | LtiLibrary.NetCore/Clients/SecuredClient.cs | LtiLibrary.NetCore/Clients/SecuredClient.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Cryptography;
using System.Threading.Tasks;
using LtiLibrary.NetCore.Common;
using LtiLibrary.NetCore.Lti.v1;
namespace LtiLibrary.NetCore.Clients
{
/// <summary>
/// Base class for LTI client helpers that make secured r... | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security.Cryptography;
using System.Threading.Tasks;
using LtiLibrary.NetCore.Common;
using LtiLibrary.NetCore.Lti.v1;
namespace LtiLibrary.NetCore.Clients
{
/// <summary>
/// Base class for LTI client helpers that make secured r... | apache-2.0 | C# |
4d700d9f622091e669937f2ca3c9e85814a29810 | Remove todo | Krusen/ErgastApi.Net | src/ErgastiApi/Responses/Models/Season.cs | src/ErgastiApi/Responses/Models/Season.cs | using Newtonsoft.Json;
namespace ErgastApi.Responses.Models
{
public class Season
{
[JsonProperty("season")]
public int Year { get; private set; }
[JsonProperty("url")]
public string WikiUrl { get; private set; }
}
}
| using Newtonsoft.Json;
namespace ErgastApi.Responses.Models
{
public class Season
{
// TODO: Naming? int/string?
[JsonProperty("season")]
public int Year { get; private set; }
[JsonProperty("url")]
public string WikiUrl { get; private set; }
}
}
| unlicense | C# |
764685e8f862fbba7164f63e92bb437eb55adaef | Bump version to 1.2 | lithnet/googleapps-managementagent | src/Lithnet.GoogleApps.MA/AssemblyInfo.cs | src/Lithnet.GoogleApps.MA/AssemblyInfo.cs | //********************************************************
//* *
//* Copyright (C) Microsoft. All rights reserved. *
//* *
//********************************************************
using System.Reflection;
... | //********************************************************
//* *
//* Copyright (C) Microsoft. All rights reserved. *
//* *
//********************************************************
using System.Reflection;
... | mit | C# |
a3d257464a1c68298bc1e284833cf9434ee2ac16 | Add missing TypeComplete check to fix vtable layout bug | nalkaro/CppSharp,mono/CppSharp,SonyaSa/CppSharp,u255436/CppSharp,mydogisbox/CppSharp,inordertotest/CppSharp,KonajuGames/CppSharp,inordertotest/CppSharp,mohtamohit/CppSharp,pacificIT/cxxi,corngood/cxxi,zillemarco/CppSharp,ddobrev/CppSharp,zillemarco/CppSharp,nalkaro/CppSharp,zillemarco/CppSharp,u255436/CppSharp,genuinel... | src/Mono.Cxxi/ABI/Impl/ItaniumTypeInfo.cs | src/Mono.Cxxi/ABI/Impl/ItaniumTypeInfo.cs | //
// Mono.Cxxi.Abi.ItaniumTypeInfo.cs: An implementation of the Itanium C++ ABI
//
// Author:
// Alexander Corrado (alexander.corrado@gmail.com)
//
// Copyright (C) 2011 Alexander Corrado
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentati... | //
// Mono.Cxxi.Abi.ItaniumTypeInfo.cs: An implementation of the Itanium C++ ABI
//
// Author:
// Alexander Corrado (alexander.corrado@gmail.com)
//
// Copyright (C) 2011 Alexander Corrado
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentati... | mit | C# |
96cf5bd9f55a067936cb25620a1f46c853cd4158 | Remove duplicate export | MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,Alexander... | src/Package/Impl/Shell/VsAppShell.Test.cs | src/Package/Impl/Shell/VsAppShell.Test.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.ComponentModel.Composition;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Common.... | // 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.ComponentModel.Composition;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Common.... | mit | C# |
0fbf583250ba0df2f457ee0e97c08749d6dd9b1d | Add missing file | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync | projects/ProcessSample/test/ProcessSample.Test.Unit/ProcessTest.cs | projects/ProcessSample/test/ProcessSample.Test.Unit/ProcessTest.cs | //-----------------------------------------------------------------------
// <copyright file="ProcessTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace ProcessSample.Test.Unit
{... | //-----------------------------------------------------------------------
// <copyright file="ProcessTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace ProcessSample.Test.Unit
{... | unlicense | C# |
1d8399925c808326b4f9bae0105d740f58042b37 | Fix check so file extension is preserved | campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer | PackageViewModel/Utilities/TemporaryFile.cs | PackageViewModel/Utilities/TemporaryFile.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NuGet.Packaging;
namespace PackageExplorerViewModel.Utilities
{
public class TemporaryFile : IDisposable
{
public TemporaryFile(Stream stream, string extension)
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NuGet.Packaging;
namespace PackageExplorerViewModel.Utilities
{
public class TemporaryFile : IDisposable
{
public TemporaryFile(Stream stream, string extension)
... | mit | C# |
406162044ba3efaeba65dd72562f98d4b917141e | Fix grammar errors | MartinChavez/CSharp | SchoolOfCSharp/Reflection/CodeGeneration.cs | SchoolOfCSharp/Reflection/CodeGeneration.cs | using System;
using System.Diagnostics;
using System.Reflection.Emit;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Reflection
{
[TestClass]
public class CodeGeneration
{
[TestMethod]
public void DynamicallyCreatingCode()
{
var methodInfo = typeof (Debug... | using System;
using System.Diagnostics;
using System.Reflection.Emit;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Reflection
{
[TestClass]
public class CodeGeneration
{
[TestMethod]
public void DynamicallyCreatingCode()
{
var methodInfo = typeof (Debug... | mit | C# |
418104ac9e78751bcf5127430e050d25417bf99d | add missing routerConfigurationExpression test | Pondidum/Conifer,Pondidum/Conifer | Tests/RouterConfigurationExpressionTests.cs | Tests/RouterConfigurationExpressionTests.cs | using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using NSubstitute;
using RestRouter;
using RestRouter.Conventions;
using Shouldly;
using Xunit;
namespace Tests
{
public class RouterConfigurationExpres... | using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Controllers;
using NSubstitute;
using RestRouter;
using RestRouter.Conventions;
using Shouldly;
using Xunit;
namespace Tests
{
public class RouterConfigurationExpres... | lgpl-2.1 | C# |
54e4967a2d5a0a08c7db5cfe8b03771e4db71e5f | Reset navigation when Dialog is using IScreen for navigation | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Controls/Dialog.xaml.cs | WalletWasabi.Fluent/Controls/Dialog.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using ReactiveUI;
namespace WalletWasabi.Fluent.Controls
{
/// <summary>
/// A simple overlay Dialog control.
/// </summary>
public class Dialog : ContentControl
{
public static readonly StyledProperty<bool> IsDialogOpenProperty =
A... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
namespace WalletWasabi.Fluent.Controls
{
/// <summary>
/// A simple overlay Dialog control.
/// </summary>
public class Dialog : ContentControl
{
public static readonly StyledProperty<bool> IsDialogOpenProperty =
AvaloniaProperty.Re... | mit | C# |
1fe5df12632e41ec59f08f23669bd7c22b8e1b30 | Add message to press enter when sample App execution is complete | prescottadam/ConsoleWritePrettyOneDay | ConsoleWritePrettyOneDay.App/Program.cs | ConsoleWritePrettyOneDay.App/Program.cs | using System.Threading;
using System.Threading.Tasks;
using Console = System.Console;
namespace ConsoleWritePrettyOneDay.App
{
class Program
{
static void Main(string[] args)
{
Spinner.Wait(() => Thread.Sleep(5000), "waiting for sleep");
var task = Task.Run... | using System.Threading;
using System.Threading.Tasks;
using Console = System.Console;
namespace ConsoleWritePrettyOneDay.App
{
class Program
{
static void Main(string[] args)
{
Spinner.Wait(() => Thread.Sleep(5000), "waiting for sleep");
var task = Task.Run... | mit | C# |
2b2570b9f69065289e47e9ed896aaa3dcb7a9435 | Update AssemblyFileVersion to 2.7.1.0. | slozier/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,IronLanguages/ironpython2,slozier/ironpython2,slozier/ironpython2,slozier/ironpython2,IronLanguages/ironpython2,slozier/ironpython2,IronLanguages/ironpython2,slozier/ironpython2,IronLanguages/ironpython2,slozier/ironpython... | Languages/IronPython/AssemblyVersion.cs | Languages/IronPython/AssemblyVersion.cs | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... | apache-2.0 | C# |
c3fb22d675b4c6ecd51859f6844eae593b5b818d | Update AutoLegality.Designer.cs | architdate/PKHeX-Auto-Legality-Mod,architdate/PKHeX-Auto-Legality-Mod | AutoLegality/AutoLegality.Designer.cs | AutoLegality/AutoLegality.Designer.cs | namespace PKHeX.WinForms
{
partial class Main
{
public System.Windows.Forms.ToolStripMenuItem EnableAutoLegality(System.ComponentModel.ComponentResourceManager resources)
{
this.Menu_ShowdownImportPKMModded = new System.Windows.Forms.ToolStripMenuItem();
this.Menu_Showdow... | namespace PKHeX.WinForms
{
partial class Main
{
public System.Windows.Forms.ToolStripMenuItem EnableAutoLegality(System.ComponentModel.ComponentResourceManager resources)
{
this.Menu_ShowdownImportPKMModded = new System.Windows.Forms.ToolStripMenuItem();
this.Menu_Showdow... | mit | C# |
bd21606f755ac6a6852d919d937b084cdd791175 | fix id name and document html url | cH40z-Lord/octokit.net,darrelmiller/octokit.net,SLdragon1989/octokit.net,gabrielweyer/octokit.net,Sarmad93/octokit.net,rlugojr/octokit.net,rlugojr/octokit.net,shana/octokit.net,forki/octokit.net,fffej/octokit.net,adamralph/octokit.net,octokit-net-test-org/octokit.net,kdolan/octokit.net,geek0r/octokit.net,shiftkey-teste... | Octokit/Models/Response/IssueComment.cs | Octokit/Models/Response/IssueComment.cs | using System;
namespace Octokit
{
public class IssueComment
{
/// <summary>
/// The issue comment Id.
/// </summary>
public int Id { get; set; }
/// <summary>
/// The URL for this issue comment.
/// </summary>
public Uri Url { get; set; }
... | using System;
namespace Octokit
{
public class IssueComment
{
/// <summary>
/// The issue comment ID.
/// </summary>
public int ID { get; set; }
/// <summary>
/// The URL for this issue comment.
/// </summary>
public Uri Url { get; set; }
... | mit | C# |
9dc31d4eb93d29fb427c9237becab6155c947a9a | Update arguments descriptions | laedit/SemanticReleaseNotesParser,laedit/SemanticReleaseNotesParser | SemanticReleaseNotesParser/Arguments.cs | SemanticReleaseNotesParser/Arguments.cs | using NDesk.Options;
using SemanticReleaseNotesParser.Core;
using System.Collections.Generic;
namespace SemanticReleaseNotesParser
{
internal class Arguments : OptionSet
{
private const string DefaultReleaseNotesPath = "ReleaseNotes.md";
public string ReleaseNotesPath { get; private set; }
... | using NDesk.Options;
using SemanticReleaseNotesParser.Core;
using System.Collections.Generic;
namespace SemanticReleaseNotesParser
{
internal class Arguments : OptionSet
{
private const string DefaultReleaseNotesPath = "ReleaseNotes.md";
public string ReleaseNotesPath { get; private set; }
... | apache-2.0 | C# |
6874cdf0c88db8d49f9545fc633eaab9a7ea307c | Remove unnecessary `public` prefix in interface method | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game/Rulesets/Mods/ICreateReplayData.cs | osu.Game/Rulesets/Mods/ICreateReplayData.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.Collections.Generic;
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Replays;
using osu.Game.Scoring;
using osu.Game.Us... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Game.Beatmaps;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Replays;
using osu.Game.Scoring;
using osu.Game.Us... | mit | C# |
51e1a6e55d74b7ce612707961b61e241bd10ca57 | Add simple binding for showing display of delete view | dukemiller/twitch-tv-viewer | twitch-tv-viewer/Views/MainWindow.xaml.cs | twitch-tv-viewer/Views/MainWindow.xaml.cs | using System.Windows;
using System.Windows.Input;
namespace twitch_tv_viewer.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private... | using System.Windows;
namespace twitch_tv_viewer.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void Edit_Click(object send... | mit | C# |
7f7b0471abbe660cd607bc4b2aa8a70ef23c3785 | Add config to the dependency flags. | KevinJump/uSync,KevinJump/uSync,KevinJump/uSync | uSync8.Core/Dependency/DependencyFlags.cs | uSync8.Core/Dependency/DependencyFlags.cs | using System;
namespace uSync8.Core.Dependency
{
[Flags]
public enum DependencyFlags
{
None = 0,
IncludeChildren = 2,
IncludeAncestors = 4,
IncludeDependencies = 8,
IncludeViews = 16,
IncludeMedia = 32,
IncludeLinked = 64,
IncludeMediaFiles =... | using System;
namespace uSync8.Core.Dependency
{
[Flags]
public enum DependencyFlags
{
None = 0,
IncludeChildren = 2,
IncludeAncestors = 4,
IncludeDependencies = 8,
IncludeViews = 16,
IncludeMedia = 32,
IncludeLinked = 64,
IncludeMediaFiles =... | mpl-2.0 | C# |
b4a907ca83b0ed5faed65f51708cebc75a642c1c | Update TaskController.cs | dlidstrom/Tasks,dlidstrom/Tasks,dlidstrom/Tasks | Tasks/Controllers/Api/TaskController.cs | Tasks/Controllers/Api/TaskController.cs | using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Tasks.Data.Commands;
using Tasks.Data.Queries;
namespace Tasks.Controllers.Api
{
public class TaskController : ApiControllerBase
{
public async Task<HttpResponseMessage> Post(TaskRequest reque... | using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Tasks.Data.Commands;
using Tasks.Data.Queries;
namespace Tasks.Controllers.Api
{
public class TaskController : ApiControllerBase
{
public async Task<HttpResponseMessage> Post(TaskRequest requ... | mit | C# |
a2bb17c64ff7764ac2cf430bf35ff85761d5ce47 | Update XML comments of ContentSource | YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata/ContentSource.cs | src/Atata/ContentSource.cs | using OpenQA.Selenium;
namespace Atata
{
/// <summary>
/// Specifies the content source of a component.
/// </summary>
public enum ContentSource
{
/// <summary>
/// Uses <see cref="IWebElement.Text"/> property of component scope <see cref="IWebElement"/> element.
... | using OpenQA.Selenium;
namespace Atata
{
/// <summary>
/// Specifies the content source of a component.
/// </summary>
public enum ContentSource
{
/// <summary>
/// Uses <see cref="IWebElement.Text"/> property of component scope <see cref="IWebElement"/> element.
... | apache-2.0 | C# |
0901f66cc7dc5ab2ae57ac23cea4dc3e7608b4c4 | remove test code | pashchuk/Numerical-methods,pashchuk/Numerical-methods | CSharp/lab1/Program.cs | CSharp/lab1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading.Tasks;
namespace lab1
{
class Program
{
public static void Main(string[] args)
{
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading.Tasks;
namespace lab1
{
class Program
{
private static void Main(string[] args)
{
var data = new string[] {"1", "2", "3"};
var result = GetComb(data.ToList(), new List<str... | mit | C# |
7fdb87d6cd983a8238005ac9d155c84f4f4a5dab | fix NSwag usage for new version | amweiss/WeatherLink | src/WeatherLink/Startup.cs | src/WeatherLink/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsof... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsof... | mit | C# |
d3dbcaa7917444ade48763eb3eec26b9dca36909 | update copyright info | sskycn/minimvc,sskycn/minimvc | WebUtility/Properties/AssemblyInfo.cs | WebUtility/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// 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.
[asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// 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.
[asse... | mit | C# |
9ff6c68a7bd23378e2b65ed64503da9c430f35bc | Fix redis local string | gyrosworkshop/Wukong,gyrosworkshop/Wukong | Wukong/Helpers/RedisConnectionUtil.cs | Wukong/Helpers/RedisConnectionUtil.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using StackExchange.Redis;
namespace Wukong.Helpers
{
public class RedisConnectionUtil
{
public static string RedisConnectionDnsLookup(string redisCo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using StackExchange.Redis;
namespace Wukong.Helpers
{
public class RedisConnectionUtil
{
public static string RedisConnectionDnsLookup(string redisCo... | mit | C# |
12df2d3ba11efb153149b1c1b720ed1f7ffbda48 | fix transaction in interface | rtfpessoa/padi-dstm | CommonTypes/IServer.cs | CommonTypes/IServer.cs | using System;
using ServerLib.Transactions;
namespace CommonTypes
{
public interface IServer
{
/// <exception cref="TxException"> </exception>
int ReadValue(int txid, int key);
/// <exception cref="TxException"> </exception>
void WriteValue(int txid, int key, int value);
... | using System;
namespace CommonTypes
{
public interface IServer
{
/// <exception cref="NullReferenceException"> </exception>
int ReadValue(int txid, int key);
void WriteValue(int txid, int key, int value);
/// <exception cref="TxException"> </exception>
void PrepareTra... | mit | C# |
c877df198d094ac5b3402448d335a6a281841d09 | Fix random ability | wwwwwwzx/3DSRNGTool | 3DSRNGTool/Core/StationaryRNG.cs | 3DSRNGTool/Core/StationaryRNG.cs | namespace Pk3DSRNGTool.Core
{
public abstract class StationaryRNG : IGenerator
{
// Background Info (Global variables)
public bool AlwaysSync;
public byte Synchro_Stat;
public bool IV3;
public int TSV;
public bool IsShinyLocked;
public bool ShinyCharm;
... | namespace Pk3DSRNGTool.Core
{
public abstract class StationaryRNG : IGenerator
{
// Background Info (Global variables)
public bool AlwaysSync;
public byte Synchro_Stat;
public bool IV3;
public int TSV;
public bool IsShinyLocked;
public bool ShinyCharm;
... | mit | C# |
9df3dc9218fc9cc1ad7a9841837e9cd81455d62c | Fix Multiprotocol AFI and SAFI decoding | mstrother/BmpListener | BmpListener/Bgp/CapabilityMultiProtocol.cs | BmpListener/Bgp/CapabilityMultiProtocol.cs | using System;
namespace BmpListener.Bgp
{
public class CapabilityMultiProtocol : Capability
{
public CapabilityMultiProtocol(ArraySegment<byte> data) : base(data)
{
Decode(CapabilityValue);
}
public AddressFamily Afi { get; set; }
public SubsequentAddressFa... | using BmpListener.Extensions;
using System;
using System.Linq;
namespace BmpListener.Bgp
{
public class CapabilityMultiProtocol : Capability
{
public CapabilityMultiProtocol(ArraySegment<byte> data) : base(data)
{
var afi = data.ToInt16(2);
var safi = data.ElementAt(4);... | mit | C# |
381258d5824f6ea9d33bd8b2b8d502513b6b2e2d | use HttpRuntime instead of Request, because it is not available when Application starts | bussemac/n2cms,DejanMilicic/n2cms,bussemac/n2cms,VoidPointerAB/n2cms,EzyWebwerkstaden/n2cms,nimore/n2cms,DejanMilicic/n2cms,nimore/n2cms,nicklv/n2cms,n2cms/n2cms,bussemac/n2cms,nicklv/n2cms,nicklv/n2cms,n2cms/n2cms,n2cms/n2cms,SntsDev/n2cms,EzyWebwerkstaden/n2cms,SntsDev/n2cms,n2cms/n2cms,SntsDev/n2cms,EzyWebwerkstaden... | src/Framework/Packaging/Web/Hosting/Util.cs | src/Framework/Packaging/Web/Hosting/Util.cs | /**
Thu, 12 Feb 2009 13:34
This is an ASP.NET VirtualPathProvider that uses DotNetZip to serve an
ASP.NET website out of a ZIP file.
With this VPP, you can zip-up your website content - ASPX, images,
config files, everything - and serve the content directly out of that
ZIP file. This means deploying a new version ... | /**
Thu, 12 Feb 2009 13:34
This is an ASP.NET VirtualPathProvider that uses DotNetZip to serve an
ASP.NET website out of a ZIP file.
With this VPP, you can zip-up your website content - ASPX, images,
config files, everything - and serve the content directly out of that
ZIP file. This means deploying a new version ... | lgpl-2.1 | C# |
9084d2196e821a926d992f17b68e65ab083873b4 | Extend the data stored by MigrationDocument | rapidcore/rapidcore,rapidcore/rapidcore | src/Migration/Internal/MigrationDocument.cs | src/Migration/Internal/MigrationDocument.cs | using System;
using System.Collections.Generic;
using System.Text;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace RapidCore.Mongo.Migration.Internal
{
/// <summary>
/// Mongodb document for storing migrations that have been executed
/// </summary>
public class MigrationDocu... | using System;
using System.Collections.Generic;
using System.Text;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace RapidCore.Mongo.Migration.Internal
{
/// <summary>
/// Mongodb document for storing migrations that have been executed
/// </summary>
public class MigrationDocu... | mit | C# |
247f0a8efa1f948f8aebeadc1351993c51e8e49b | Fix some bugs! | SoftUni-NoSharpers/Project-X,SoftUni-NoSharpers/Project-X | Eventis/Views/Home/Genres.cshtml | Eventis/Views/Home/Genres.cshtml | @model ICollection<Eventis.Models.Eventis.Event>
<!DOCTYPE html>
@{
ViewBag.Title = "Genre";
}
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Genre</title>
</head>
<body>
<div class="row">
@foreach (var item in Model)
{
... | @model ICollection<Eventis.Models.Eventis.Event>
<!DOCTYPE html>
@{
ViewBag.Title = "Genre";
}
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Genre</title>
</head>
<body>
<div class="row">
@foreach (var item in Model)
{
... | mit | C# |
8f6bef0fd8c2c4f0e1203916b7d0643a55bcd8e7 | Fix peutil | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Packager/NSubsys/PeUtility.cs | WalletWasabi.Packager/NSubsys/PeUtility.cs | using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace NSubsys
{
internal class PeUtility : IDisposable
{
public enum SubSystemType : ushort
{
ImageSubSystemWindowsGui = 2,
ImageSubSystemWindowsCui = 3
}
#pragma warning disable IDE1006 // Naming ... | using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace NSubsys
{
internal class PeUtility : IDisposable
{
public enum SubSystemType : ushort
{
ImageSubSystemWindowsGui = 2,
ImageSubSystemWindowsCui = 3
}
[StructLayout(LayoutKind.Explicit)]
pu... | mit | C# |
8266621d6520cf490ad377ac05e5482f50882b98 | fix nits. | Perspex/Perspex,akrisiun/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,Aval... | tests/Avalonia.Controls.UnitTests/Presenters/TextPresenter_Tests.cs | tests/Avalonia.Controls.UnitTests/Presenters/TextPresenter_Tests.cs | using Avalonia.Controls.Presenters;
using Xunit;
namespace Avalonia.Controls.UnitTests.Presenters
{
public class TextPresenter_Tests
{
[Fact]
public void TextPresenter_Can_Contain_Null_With_Password_Char_Set()
{
var target = new TextPresenter
{
P... | using Avalonia.Controls.Presenters;
using Xunit;
namespace Avalonia.Controls.UnitTests.Presenters
{
public class TextPresenter_Tests
{
[Fact]
public void TextPresenter_can_contain_null_with_password_char_set()
{
var target = new TextPresenter
{
P... | mit | C# |
fb35ac8a853d6a2b4e72f9b7449f74ea94fcad8d | Handle paths on Windows properly | mwilliamson/dotnet-mammoth | Mammoth/Couscous/java/net/URI.cs | Mammoth/Couscous/java/net/URI.cs | using System;
namespace Mammoth.Couscous.java.net {
internal class URI {
private readonly Uri _uri;
internal URI(string uri) {
try {
_uri = new Uri(uri, UriKind.RelativeOrAbsolute);
} catch (UriFormatException exception) {
throw new U... | using System;
namespace Mammoth.Couscous.java.net {
internal class URI {
private readonly Uri _uri;
internal URI(string uri) {
try {
_uri = new Uri(uri, UriKind.RelativeOrAbsolute);
} catch (UriFormatException exception) {
throw new U... | bsd-2-clause | C# |
5fdcdb219b4039a42abf955bf8b2f63f5380c8a8 | Use v4 of the movie db api | ronaldme/Watcher,ronaldme/Watcher,ronaldme/Watcher | Watcher.Common/Urls.cs | Watcher.Common/Urls.cs | using System;
using System.Configuration;
namespace Watcher.Common
{
public class Urls
{
private static readonly string SuffixUrl = "?api_key=" + ConfigurationManager.AppSettings.Get("theMovieDb");
private const string PreFixUrl = "http://api.themoviedb.org/4/";
/// <summary>
... | using System;
using System.Configuration;
namespace Watcher.Common
{
public class Urls
{
private const string PreFixUrl = "http://api.themoviedb.org/3/";
private static readonly string SuffixUrl = "?api_key=" + ConfigurationManager.AppSettings.Get("theMovieDb");
/// <summary>
... | mit | C# |
ca861dfd8d3320cca9e280aa0c2c4a4187526d10 | Debug mode: Show the number of garbage collections | codeflo/nanogames,codeflo/nanogames | NanoGames/Application/FpsView.cs | NanoGames/Application/FpsView.cs | // Copyright (c) the authors of nanoGames. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt in the project root.
using NanoGames.Engine;
using System.Collections.Generic;
using System.Diagnostics;
namespace NanoGames.Application
{
/// <summary>
/// A view that measures and draws the cu... | // Copyright (c) the authors of nanoGames. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt in the project root.
using NanoGames.Engine;
using System.Collections.Generic;
using System.Diagnostics;
namespace NanoGames.Application
{
/// <summary>
/// A view that measures and draws the cu... | mit | C# |
7bba06efb22729ee975c97523da9ae546ae1c78f | Handle single/multiple exceptions from avalonia's data error subsystem in ErrorDescriptorToBorderColorConverter.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Converters/ErrorDescriptorToBorderColorConverter.cs | WalletWasabi.Gui/Converters/ErrorDescriptorToBorderColorConverter.cs | using Avalonia.Data.Converters;
using Avalonia.Media;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using WalletWasabi.Models;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.Converters
{
public class ErrorDescriptorToBorderColorConverter : IValueConverter
{
... | using Avalonia.Data.Converters;
using Avalonia.Media;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using WalletWasabi.Models;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.Converters
{
public class ErrorDescriptorToBorderColorConverter : IValueConverter
{
... | mit | C# |
0b835286a322d5530d5f9d69f8a0cc5d3daa2f8a | Fix interpolation | yevhen/Orleankka,OrleansContrib/Orleankka,OrleansContrib/Orleankka,mhertis/Orleankka,yevhen/Orleankka,pkese/Orleankka,pkese/Orleankka,mhertis/Orleankka | Source/Orleankka/CSharp/Actor.cs | Source/Orleankka/CSharp/Actor.cs | using System;
using System.Threading.Tasks;
using Orleans;
namespace Orleankka.CSharp
{
using Services;
using Utility;
public interface IActor
{}
public abstract class Actor : IActorInvoker
{
ActorRef self;
protected Actor()
{}
protected Actor(string id, IAc... | using System;
using System.Threading.Tasks;
using Orleans;
namespace Orleankka.CSharp
{
using Services;
using Utility;
public interface IActor
{}
public abstract class Actor : IActorInvoker
{
ActorRef self;
protected Actor()
{}
protected Actor(string id, IAc... | apache-2.0 | C# |
066400ab412567f680923d966087208ecdd4732d | Add comment | runnersQueue/3minutes | SubFolderTest/TestGit/Program.cs | SubFolderTest/TestGit/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Urho;
using Urho.Gui;
using Urho.Shapes;
namespace TestGit
{
class Program
{
static void Main(string[] args)
{
}
public void MyNoReturnMethod()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Urho;
using Urho.Gui;
using Urho.Shapes;
namespace TestGit
{
class Program
{
static void Main(string[] args)
{
}
public void MyNoReturnMethod()
{
... | mit | C# |
cfe4c58a80f35683832fe5772fc80ce55fea71fc | Rebuild solution. | bigfont/2013-128CG-Vendord,bigfont/2013-128CG-Vendord,bigfont/2013-128CG-Vendord,bigfont/2013-128CG-Vendord | Vendord/DatabaseTests/Program.cs | Vendord/DatabaseTests/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Vendord.SmartDevice.Linked;
namespace DatabaseTests
{
class Program
{
static void Main(string[] args)
{
Database db = new Database();
DbQueryExecutor qe = new DbQueryExecutor(db.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Vendord.SmartDevice.Linked;
namespace DatabaseTests
{
class Program
{
static void Main(string[] args)
{
Database db = new Database();
DbQueryExecutor qe = new DbQueryExecutor(db.... | mit | C# |
38f374af8c4add98f0cf62c6cc5058825cb7d0f5 | Fix missing Button's content | warappa/XamlCSS | XamlCSS.WPF/Dom/NamedNodeList.cs | XamlCSS.WPF/Dom/NamedNodeList.cs | using System.Collections.Generic;
using System.Windows;
using AngleSharp.Dom;
using XamlCSS.Dom;
using System.Linq;
using System.Windows.Controls;
namespace XamlCSS.WPF.Dom
{
public class NamedNodeList : NamedNodeListBase<DependencyObject, DependencyProperty>
{
public NamedNodeList(DomEleme... | using System.Collections.Generic;
using System.Windows;
using AngleSharp.Dom;
using XamlCSS.Dom;
using System.Linq;
using System.Windows.Controls;
namespace XamlCSS.WPF.Dom
{
public class NamedNodeList : NamedNodeListBase<DependencyObject, DependencyProperty>
{
public NamedNodeList(DomElementBase<Depe... | mit | C# |
6d4f8efd69f20bc094e218657af55a780239fce7 | Fix V3005 | patHyatt/XmppBot-for-HipChat | XmppBot.Common/XmppBotCommand.cs | XmppBot.Common/XmppBotCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XmppBot.Common
{
public class XmppBotCommand
{
public XmppBotCommand() { }
public XmppBotCommand(string helpInfo, PluginMethod method)
{
this.HelpInfo = helpInfo;
th... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XmppBot.Common
{
public class XmppBotCommand
{
public XmppBotCommand() { }
public XmppBotCommand(string helpInfo, PluginMethod method)
{
this.HelpInfo = HelpInfo;
th... | mit | C# |
50bde0fe381c6c1d4f160845935e05ea1d2a8c24 | Refactor test to better keep existing toggle values | smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu | osu.Game.Tests/Visual/Settings/TestSceneRestoreDefaultValueButton.cs | osu.Game.Tests/Visual/Settings/TestSceneRestoreDefaultValueButton.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Fra... | // 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Fra... | mit | C# |
db921a045f150126497a34412ffa786ddfc55993 | Fix rounding error in numbers exercise | exercism/xcsharp,exercism/xcsharp | exercises/concept/numbers/.meta/Example.cs | exercises/concept/numbers/.meta/Example.cs | public static class AssemblyLine
{
private const int ProductionRatePerHourForDefaultSpeed = 221;
public static double ProductionRatePerHour(int speed) =>
ProductionRatePerHourForSpeed(speed) * SuccessRate(speed);
private static int ProductionRatePerHourForSpeed(int speed) =>
ProductionRate... | public static class AssemblyLine
{
private const int ProductionRatePerHourForDefaultSpeed = 221;
public static double ProductionRatePerHour(int speed) =>
ProductionRatePerHourForSpeed(speed) * SuccessRate(speed);
private static int ProductionRatePerHourForSpeed(int speed) =>
ProductionRate... | mit | C# |
2c60c6497d18ec428dc6151bc45edfe03bf78208 | Fix an unhandled exception parsing CoinChoose.com JSON | IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner | MultiMiner.Coinchoose.Api/CoinInformation.cs | MultiMiner.Coinchoose.Api/CoinInformation.cs | using Newtonsoft.Json.Linq;
using System;
namespace MultiMiner.Coinchoose.Api
{
public class CoinInformation
{
public string Symbol { get; set; }
public string Name { get; set; }
public string Algorithm { get; set; }
public int CurrentBlocks { get; set; }
public double ... | using Newtonsoft.Json.Linq;
using System;
namespace MultiMiner.Coinchoose.Api
{
public class CoinInformation
{
public string Symbol { get; set; }
public string Name { get; set; }
public string Algorithm { get; set; }
public int CurrentBlocks { get; set; }
public double ... | mit | C# |
67523e748a1b73f8837f17e8c78d263ab96d780b | Remove unused method from interface | NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer | PackageViewModel/Types/ICredentialManager.cs | PackageViewModel/Types/ICredentialManager.cs | using System;
using System.Net;
namespace PackageExplorerViewModel.Types
{
public interface ICredentialManager
{
void Add(ICredentials credentials, Uri feedUri);
ICredentials GetForUri(Uri uri);
}
}
| using System;
using System.Net;
namespace PackageExplorerViewModel.Types
{
public interface ICredentialManager
{
void TryAddUriCredentials(Uri feedUri);
void Add(ICredentials credentials, Uri feedUri);
ICredentials GetForUri(Uri uri);
}
}
| mit | C# |
e647b2bc30b0e3be855e650e282c4dfc8413c444 | Modify assembly GUID | emoacht/Monitorian | Source/Monitorian/Properties/AssemblyInfo.cs | Source/Monitorian/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | mit | C# |
9a349ccfa1a003e6eb0b60462f02328432870351 | Fix StringHash conversion to string. | rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D | Source/Urho3D/CSharp/Container/StringHash.cs | Source/Urho3D/CSharp/Container/StringHash.cs | //
// Copyright (c) 2018 Rokas Kupstys
//
// 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, publi... | //
// Copyright (c) 2018 Rokas Kupstys
//
// 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, publi... | mit | C# |
889f0f52ad57a8513dd29f34b795a0043ab286f5 | Update Switch_Statements.cs | zulaldogan/unity-csharp-beginner | SwitchStatements/Assets/Switch_Statements.cs | SwitchStatements/Assets/Switch_Statements.cs | using UnityEngine;
public class Switch_Statements : MonoBehaviour
{
public int a;
public int b;
public int c;
public int average;
void Start()
{
average = (a + b + c) / 3;
switch (average)
{
case 16:
Debug.Log("Average is 16");
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Switch_Statements : MonoBehaviour
{
public int a ;
public int b ;
public int c ;
public int average;
// Use this for initialization
void Start ()
{
average = (a + b + c) / 3;
/* if(... | mit | C# |
0949661bd4cfa2f84795cac52fe85243dcd86922 | Update AssemblyInfo.cs | faniereynders/WebApiProxy,lust4life/WebApiProxy | WebApiProxy.Tasks/Properties/AssemblyInfo.cs | WebApiProxy.Tasks/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: AssemblyTi... | 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: AssemblyTi... | mit | C# |
65f7c2bbe08b27dc9a7085a21adaa613e64d5a96 | Remove last broker ference | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | src/InEngine.Core/Queuing/Commands/Flush.cs | src/InEngine.Core/Queuing/Commands/Flush.cs | using CommandLine;
using InEngine.Core.Exceptions;
namespace InEngine.Core.Queuing.Commands
{
public class Flush : AbstractCommand
{
[Option("pending", HelpText = "Clear the pending queue.")]
public bool PendingQueue { get; set; }
[Option("failed", HelpText = "Clear the failed queue."... | using CommandLine;
using InEngine.Core.Exceptions;
namespace InEngine.Core.Queuing.Commands
{
public class Flush : AbstractCommand
{
[Option("pending", HelpText = "Clear the pending queue.")]
public bool PendingQueue { get; set; }
[Option("failed", HelpText = "Clear the failed queue."... | mit | C# |
7000f7e79e5cdd94873ec9d0830b3bb2cd067607 | Initialize ImageCircle plugin for iOS | jsauvexamarin/app-crm,jsauvexamarin/app-crm,xamarin-automation-service/app-crm,xamarin-automation-service/app-crm,jsauvexamarin/app-crm,qipengwu/app-crm,qipengwu/app-crm,xamarin-automation-service/app-crm,xamarin/app-crm,qipengwu/app-crm,xamarin/app-crm,qipengwu/app-crm,xamarin/app-crm,xamarin-automation-service/app-cr... | src/MobileApp/XamarinCRM.iOS/AppDelegate.cs | src/MobileApp/XamarinCRM.iOS/AppDelegate.cs |
//
// Copyright 2015 Xamarin Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... |
//
// Copyright 2015 Xamarin Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | mit | C# |
55fe8d2906e19dc4f48e74ed5d8a0ed321bae727 | Create table only on first db connection usage | mibbio/Hotkey-Counter | KeyCounter/App.xaml.cs | KeyCounter/App.xaml.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SQLite;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace KeyCounter
{
/// <summary>
/// Interaction logic for App.xaml
... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SQLite;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace KeyCounter
{
/// <summary>
/// Interaction logic for App.xaml
... | mit | C# |
54fc86ef56f9bc5cd7668383923c1b3f9283cae7 | Fix regions | jannesrsa/Chasm,k2workflow/Chasm,jcdickinson/Chasm | src/SourceCode.Chasm/IO/ChasmRepository..cs | src/SourceCode.Chasm/IO/ChasmRepository..cs | #region License
// Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
#endregion
using System;
using System.Collections.Generic;
using System.IO.Compression;
using System.Threading... | #region License
// Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
#endregion
using System;
using System.Collections.Generic;
using System.IO.Compression;
using System.Threading... | mit | C# |
24ed18605081b20a4b7f1a42ed201ef34c54d6cd | Remove unused using | dirkrombauts/pickles,dirkrombauts/pickles,picklesdoc/pickles,magicmonty/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,magicmonty/pickles,picklesdoc/pickles,magicmonty/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,dirkrombauts/pickles,magicmonty/pickles,ludwigjossieaux/pickles | src/Pickles/Pickles.TestFrameworks/NUnit2/NUnit2SingleResultLoader.cs | src/Pickles/Pickles.TestFrameworks/NUnit2/NUnit2SingleResultLoader.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="NUnit2SingleResultLoader.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed un... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="NUnit2SingleResultLoader.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed un... | apache-2.0 | C# |
261ee7c13de626e788fbabcd782c1a8dcc1df63e | Add FormParameter documentation (closes #13) | felipebz/ndapi | Ndapi/FormParameter.cs | Ndapi/FormParameter.cs | using Ndapi.Core.Handles;
using Ndapi.Enums;
namespace Ndapi
{
/// <summary>
/// Represents a form parameter.
/// </summary>
public class FormParameter : NdapiObject
{
/// <summary>
/// Creates a parameter in the specified form module.
/// </summary>
/// <param name... | using Ndapi.Core.Handles;
using Ndapi.Enums;
namespace Ndapi
{
public class FormParameter : NdapiObject
{
public FormParameter(FormModule module, string name)
{
Create(name, ObjectType.FormParameter, module);
}
internal FormParameter(ObjectSafeHandle handle) : base... | mit | C# |
98ce69d1d32b65abd9983dbd1124cad8f6bc938b | Fix explosion reading out time values from wrong clock | NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,peppy/osu | osu.Game.Rulesets.Catch/UI/HitExplosion.cs | osu.Game.Rulesets.Catch/UI/HitExplosion.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Catch.Skinning.Default;
using osu.Game.Rulesets.Objects.Pooling;
using osu.Game.Skin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Catch.Skinning.Default;
using osu.Game.Rulesets.Objects.Pooling;
using osu.Game.Skin... | mit | C# |
4d976094d1c69613ef581828d638ffdb04a48984 | Switch Guid implementation temporarily to avoid compile time error | ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,peppy/osu | osu.Game/Input/Bindings/RealmKeyBinding.cs | osu.Game/Input/Bindings/RealmKeyBinding.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Input.Bindings;
using osu.Game.Database;
using Realms;
namespace osu.Game.Input.Bindings
{
[MapTo(nameof(KeyBinding))]
public c... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Input.Bindings;
using osu.Game.Database;
using Realms;
namespace osu.Game.Input.Bindings
{
[MapTo(nameof(KeyBinding))]
public c... | mit | C# |
f06f86e22cad91baea0169fe7d0c94346073613c | Allow CSharpNonRecursiveSyntaxWalker override methods to call a Visit of another node | MatthieuMEZIL/roslyn,MatthieuMEZIL/roslyn,MatthieuMEZIL/roslyn | src/Compilers/CSharp/Portable/Syntax/CSharpNonRecursiveSyntaxWalker.cs | src/Compilers/CSharp/Portable/Syntax/CSharpNonRecursiveSyntaxWalker.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Microsoft.CodeAnalysis.CSharp
{
/// <summary>
/// Represents a non-recursive visitor which descends an e... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Microsoft.CodeAnalysis.CSharp
{
/// <summary>
/// Represents a non-recursive visitor which descends an e... | apache-2.0 | C# |
3de2c3711b09c8c472df953a0eb68cd75184d6cc | fix style issue | SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake | src/Snowflake.Plugin.Emulators.RetroArch/RetroArchNetworkController.cs | src/Snowflake.Plugin.Emulators.RetroArch/RetroArchNetworkController.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace Snowflake.Plugin.Emulators.RetroArch
{
public class RetroArchNetworkController : IDisposable
{
public RetroArchNetworkController() : this(55355) { }
... | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace Snowflake.Plugin.Emulators.RetroArch
{
public class RetroArchNetworkController : IDisposable
{
public RetroArchNetworkController() : this(55355) { }
... | mpl-2.0 | C# |
15c57c94ff3b747a64ee4a32fa40fe316f87f000 | Fix IDocumentStorage.InsertMany() for IEnumerable<> | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.Sdk/Documents/Interceptors/DocumentInsertManyCommand.cs | InfinniPlatform.Sdk/Documents/Interceptors/DocumentInsertManyCommand.cs | using System.Collections.Generic;
using System.Linq;
using InfinniPlatform.Sdk.Dynamic;
namespace InfinniPlatform.Sdk.Documents.Interceptors
{
/// <summary>
/// Команда вставки набора документов в хранилище.
/// </summary>
public sealed class DocumentInsertManyCommand : IDocumentWriteCommand
{
... | using System.Collections.Generic;
using InfinniPlatform.Sdk.Dynamic;
namespace InfinniPlatform.Sdk.Documents.Interceptors
{
/// <summary>
/// Команда вставки набора документов в хранилище.
/// </summary>
public sealed class DocumentInsertManyCommand : IDocumentWriteCommand
{
/// <summary>... | agpl-3.0 | C# |
9b9dbe6b30965e880974213b36f550a209e43846 | バージョンアップ。 | Implem/Implem.Pleasanter,Implem/Implem.Pleasanter,Implem/Implem.Pleasanter | Implem.Pleasanter/Properties/AssemblyInfo.cs | Implem.Pleasanter/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Implem.Pleasanter")]
[assembly: AssemblyDescription("Web tool that helps the efficiency of business")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Implem.Pleasanter")]
[assembl... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Implem.Pleasanter")]
[assembly: AssemblyDescription("Web tool that helps the efficiency of business")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Implem.Pleasanter")]
[assembl... | agpl-3.0 | C# |
ff5945c63fc34c0c739b1eb84a31fed92fedc4e1 | Fix ordering bug when chaining Tweens | kevadsett/BAGameJam2016,kevadsett/BAGameJam2016,kevadsett/BAGameJam2016 | Unity/Assets/Code/Tweening/AnimateToPoint.cs | Unity/Assets/Code/Tweening/AnimateToPoint.cs | using UnityEngine;
using System.Collections;
using System;
public class AnimateToPoint : MonoBehaviour {
private SimpleTween tween;
private Vector3 sourcePos;
private Vector3 targetPos;
private Action onComplete;
private float timeScale;
private float timer;
public void Trigger(SimpleTween tween, Vector3 poin... | using UnityEngine;
using System.Collections;
using System;
public class AnimateToPoint : MonoBehaviour {
private SimpleTween tween;
private Vector3 sourcePos;
private Vector3 targetPos;
private Action onComplete;
private float timeScale;
private float timer;
public void Trigger(SimpleTween tween, Vector3 poin... | mit | C# |
3de7b3f60a535b868b59ba9b0318ed7d2a556765 | Change data size again! | teerachail/SoapWithAttachments | WebsiteForSpike/MtomTestSite/Service1.svc.cs | WebsiteForSpike/MtomTestSite/Service1.svc.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace MtomTestSite
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "S... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace MtomTestSite
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "S... | mit | C# |
bde0e857a87808212e35bddc7c5c62bd325a3f10 | Add DirectionTransitDetails | ericnewton76/gmaps-api-net | src/Google.Maps/Direction/DirectionStep.cs | src/Google.Maps/Direction/DirectionStep.cs | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Google.Maps.Direction
{
[JsonObject(MemberSerialization.OptIn)]
public class DirectionStep
{
[JsonProperty("travel_mode")]
public TravelMode TravelMode { get; set; }
[JsonProperty("start_location... | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Google.Maps.Direction
{
[JsonObject(MemberSerialization.OptIn)]
public class DirectionStep
{
[JsonProperty("travel_mode")]
public TravelMode TravelMode { get; set; }
[JsonProperty("start_location... | apache-2.0 | C# |
fee3300fc3b4d65cdcfec156182248b2ce97f407 | Fix ValidateProviderChannelTypes() doc comment | Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Api/Models/ChatBot.cs | src/Tgstation.Server.Api/Models/ChatBot.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Tgstation.Server.Api.Models
{
/// <inheritdoc />
public sealed class ChatBot : Internal.ChatBot
{
/// <summary>
/// Channels the Discord bot should listen/announce in
/// </summary>
public List<ChatChannel> Channels { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Tgstation.Server.Api.Models
{
/// <inheritdoc />
public sealed class ChatBot : Internal.ChatBot
{
/// <summary>
/// Channels the Discord bot should listen/announce in
/// </summary>
public List<ChatChannel> Channels { get; set; }
... | agpl-3.0 | C# |
a93eb5c17cce7d4e0a6e711b71d003382d87aa91 | Initialize LinkCommand with an IAppHArborClient | appharbor/appharbor-cli | src/AppHarbor/Commands/LinkCommand.cs | src/AppHarbor/Commands/LinkCommand.cs | using System;
namespace AppHarbor.Commands
{
public class LinkCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHarborClient _appharborClient;
public LinkCommand(IApplicationConfiguration applicationConfiguration, IAppHarborClient appharborClient)... | using System;
namespace AppHarbor.Commands
{
public class LinkCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
public LinkCommand(IApplicationConfiguration applicationConfiguration)
{
_applicationConfiguration = applicationConfiguration;
}
public void Execute... | mit | C# |
9212c700818f9fca2b3a5091b7cf1640b54b6d78 | Add summary docs | dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap | src/DotNetCore.CAP/ICapTransaction.cs | src/DotNetCore.CAP/ICapTransaction.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
namespace DotNetCore.CAP
{
/// <summary>
/// CAP transaction wrapper, used to wrap dat... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading;
using System.Threading.Tasks;
namespace DotNetCore.CAP
{
/// <summary>
/// CAP transaction wrapper, used to wrap dat... | mit | C# |
e80435564cfe0dbd26aada14e8bf14691c3e9468 | Fix wording in XML doc | cdmihai/msbuild,sean-gilliam/msbuild,AndyGerlicher/msbuild,mono/msbuild,rainersigwald/msbuild,cdmihai/msbuild,AndyGerlicher/msbuild,mono/msbuild,cdmihai/msbuild,mono/msbuild,rainersigwald/msbuild,AndyGerlicher/msbuild,rainersigwald/msbuild,rainersigwald/msbuild,cdmihai/msbuild,mono/msbuild,sean-gilliam/msbuild,sean-gil... | src/Framework/Sdk/SdkResultFactory.cs | src/Framework/Sdk/SdkResultFactory.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace Microsoft.Build.Framework
{
/// <summary>
/// An abstract interface class provided to <see cref="SdkResolver"... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace Microsoft.Build.Framework
{
/// <summary>
/// An abstract interface class provided to <see cref="SdkResolver"... | mit | C# |
0b5eafca3f3c9e82d07cdfb80e1aadda6b08739e | Update the assembly version to 0.6.1 | nohros/must,nohros/must,nohros/must | src/base/common/properties/AssemblyInfo.cs | src/base/common/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: AssemblyTi... | 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: AssemblyTi... | mit | C# |
d1b9168575ea75605cb72a252e8c722a9a991a5d | Change message to indicate player is freed from track | mikelovesrobots/daft-pong,mikelovesrobots/daft-pong | app/Assets/Scripts/AdminModeMessageWindow.cs | app/Assets/Scripts/AdminModeMessageWindow.cs | using UnityEngine;
using System.Collections;
public class AdminModeMessageWindow : MonoBehaviour {
private const float WINDOW_WIDTH = 300;
private const float WINDOW_HEIGHT = 120;
private const float MESSAGE_HEIGHT = 60;
private const float BUTTON_HEIGHT = 30;
private const float BUTTON_WIDTH = 40;... | using UnityEngine;
using System.Collections;
public class AdminModeMessageWindow : MonoBehaviour {
private const float WINDOW_WIDTH = 300;
private const float WINDOW_HEIGHT = 120;
private const float MESSAGE_HEIGHT = 60;
private const float BUTTON_HEIGHT = 30;
private const float BUTTON_WIDTH = 40;... | mit | C# |
48826c2058cf4d1a425cf9534511059dd287aab1 | Add comments. | yeaicc/roslyn,KirillOsenkov/roslyn,xoofx/roslyn,dotnet/roslyn,Hosch250/roslyn,natidea/roslyn,nguerrera/roslyn,jamesqo/roslyn,nguerrera/roslyn,eriawan/roslyn,robinsedlaczek/roslyn,lorcanmooney/roslyn,davkean/roslyn,ljw1004/roslyn,amcasey/roslyn,jasonmalinowski/roslyn,nguerrera/roslyn,kelltrick/roslyn,orthoxerox/roslyn,s... | src/EditorFeatures/Core/Implementation/FindReferences/DefinitionItem.cs | src/EditorFeatures/Core/Implementation/FindReferences/DefinitionItem.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Completion;
namespace Microsoft.CodeAnalysis.Editor.Implementation.FindReferences
{
///... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.Editor.Implementation.FindReferences
{
/// <summary>
/// Information about a sy... | mit | C# |
ccd6a04bd8d46180a2d692a2e52f5b907d623a37 | Fix node size guesstimation | markmeeus/MarcelloDB | MarcelloDB/AllocationStrategies/PredictiveBTreeNodeAllocationStrategy.cs | MarcelloDB/AllocationStrategies/PredictiveBTreeNodeAllocationStrategy.cs | using System;
using MarcelloDB.Index;
namespace MarcelloDB.AllocationStrategies
{
internal class PredictiveBTreeNodeAllocationStrategy<TK, TP> : IAllocationStrategy
{
Node<TK, TP> Node { get; set; }
internal PredictiveBTreeNodeAllocationStrategy(Node<TK, TP> node)
{
this.... | using System;
using MarcelloDB.Index;
namespace MarcelloDB.AllocationStrategies
{
internal class PredictiveBTreeNodeAllocationStrategy<TK, TP> : IAllocationStrategy
{
Node<TK, TP> Node { get; set; }
internal PredictiveBTreeNodeAllocationStrategy(Node<TK, TP> node)
{
this.... | mit | C# |
dfad64c488a6c2894f8db2a9f47740d580911286 | Replace usage of Color.GetColorFromKeyword. | rytmis/dotless,rytmis/dotless,rytmis/dotless,dotless/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,dotless/dotless,rytmis/dotless | src/dotless.Core/Parser/Tree/Keyword.cs | src/dotless.Core/Parser/Tree/Keyword.cs | namespace dotless.Core.Parser.Tree
{
using Infrastructure;
using Infrastructure.Nodes;
using System;
public class Keyword : Node, IComparable
{
public string Value { get; set; }
public Keyword(string value)
{
Value = value;
}
public override No... | namespace dotless.Core.Parser.Tree
{
using Infrastructure;
using Infrastructure.Nodes;
using System;
public class Keyword : Node, IComparable
{
public string Value { get; set; }
public Keyword(string value)
{
Value = value;
}
public override No... | apache-2.0 | C# |
03fd69c754f914e88ec84455674524e665c8d0bb | Handle optional version and fallback | mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard | src/Okanshi.Dashboard/GetMetrics.cs | src/Okanshi.Dashboard/GetMetrics.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Okanshi.Dashboard.Models;
namespace Okanshi.Dashboard
{
public interface IGetMetrics
{
IEnumerable<Metric> Deserialize(string response);
}
public class GetMetrics : IGetMetrics
{
publi... | using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Okanshi.Dashboard.Models;
namespace Okanshi.Dashboard
{
public interface IGetMetrics
{
IEnumerable<Metric> Deserialize(string response);
}
public class GetMetrics : IGetMetrics
{
public IEnumerable<Metric> Deserialize(string r... | mit | C# |
2569c9b28642a04d4fa85fb6e6ba2fcf2d3b752d | Remove credential comment! | cloudfoundry-community/CloudFoundry.Mono,danhigham/CloudFoundry.Mono | Models/ServiceCredential.cs | Models/ServiceCredential.cs | using System;
using System.Runtime.Serialization;
namespace CloudFoundry.Mono.Models
{
[DataContract]
public class ServiceCredential
{
[DataMember]
public String JDBCUrl;
[DataMember]
public String URI;
[DataMember]
public String Hostname;
[DataMember]
public String Port;
[DataMember]
public... | // VCAP_SERVICES={"cleardb-n/a":[{"name":"cleardb-4fddc","label":"cleardb-n/a","tags":[],"plan":"spark","credentials":{"jdbcUrl":"jdbc:mysql://b5ae74fdb3e19d:d38ec28e@us-cdbr-east-04.cleardb.com:3306/ad_a6f52a023ac7f7f","uri":"mysql://b5ae74fdb3e19d:d38ec28e@us-cdbr-east-04.cleardb.com:3306/ad_a6f52a023ac7f7f?reconnect... | mit | C# |
b3a695c248fcdc94ebd7b5ef4b7b66530ba45c38 | 重构MySQL查询执行器的代码。 :snowman: | Zongsoft/Zongsoft.Data | drivers/mysql/MySqlSelectStatementVisitor.cs | drivers/mysql/MySqlSelectStatementVisitor.cs | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | lgpl-2.1 | C# |
f2dc4de3bf162eaf7ab981799413799175710ddd | Update index.cshtml | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/docs/handbook/index.cshtml | input/docs/handbook/index.cshtml | Order: 15
---
This page is deliberately blank.
| Order: 15
---
..
| mit | C# |
bdd9b97f31cdd24b8e99b09bd74d436fa02832b3 | Fix code warning in test | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/UnitTests/GitHub.App/ViewModels/PullRequestCreationViewModelTests.cs | src/UnitTests/GitHub.App/ViewModels/PullRequestCreationViewModelTests.cs | using System.Reactive.Linq;
using System.Threading.Tasks;
using NSubstitute;
using Xunit;
using UnitTests;
using GitHub.Models;
using System;
using GitHub.Services;
using GitHub.ViewModels;
public class PullRequestCreationViewModelTests : TempFileBaseClass
{
[Fact]
public async Task NullDescriptionBecomesEmpt... | using System.Reactive.Linq;
using System.Threading.Tasks;
using NSubstitute;
using Xunit;
using UnitTests;
using GitHub.Models;
using System;
using GitHub.Services;
using GitHub.ViewModels;
public class PullRequestCreationViewModelTests : TempFileBaseClass
{
[Fact]
public async Task NullDescriptionBecomesEmpt... | mit | C# |
1edfcb88fee4e8d7ca8c3c92eb7fa99474aabe51 | Add Guid field to LfPicture model | sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge | src/LfMerge/LanguageForge/Model/LfPicture.cs | src/LfMerge/LanguageForge/Model/LfPicture.cs | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
namespace LfMerge.LanguageForge.Model
{
public class LfPicture : LfFieldBase
{
public string FileName { get; set; }
public LfMultiText Caption { get; set; }
public Guid... | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
namespace LfMerge.LanguageForge.Model
{
public class LfPicture : LfFieldBase
{
public string FileName { get; set; }
public LfMultiText Caption { get; set; }
}
}
| mit | C# |
b9bfc53c537e7b789156c710c9cc2ed12fe6d406 | Add missing directive symbol | hishamco/MarkdownViewEngine | src/MarkdownViewEngine/MarkdownDirectives.cs | src/MarkdownViewEngine/MarkdownDirectives.cs | namespace MarkdownViewEngine
{
public static class MarkdownDirectives
{
public static readonly string Layout = "@Layout";
}
}
| namespace MarkdownViewEngine
{
public static class MarkdownDirectives
{
public static readonly string Layout = "Layout";
}
}
| mit | C# |
797e14b7c1807ec5bcb9b203ab98692eba882d77 | Fix the query string stuff | Squidex/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | src/Squidex/Pipeline/SingleUrlsMiddleware.cs | src/Squidex/Pipeline/SingleUrlsMiddleware.cs | // ==========================================================================
// SingleUrlsMiddleware.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==================================================... | // ==========================================================================
// SingleUrlsMiddleware.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==================================================... | mit | C# |
bc1335c8c5b1b9048bfa1c107e93390d39117ab4 | update copyright year to 2019 | jeremytammik/the_building_coder_samples | BuildingCoder/BuildingCoder/CmdExportIfc.cs | BuildingCoder/BuildingCoder/CmdExportIfc.cs | #region Header
//
// CmdExportIfc.cs - Export current view to IFC
//
// Copyright (C) 2018-2019 by Jeremy Tammik, Autodesk Inc. All rights reserved.
//
// Keywords: The Building Coder Revit API C# .NET add-in.
//
#endregion // Header
#region Namespaces
using System;
using Autodesk.Revit.Attributes;
using... | #region Header
//
// CmdExportIfc.cs - Export current view to IFC
//
// Copyright (C) 2018 Jeremy Tammik, Autodesk Inc. All rights reserved.
//
// Keywords: The Building Coder Revit API C# .NET add-in.
//
#endregion // Header
#region Namespaces
using System;
using Autodesk.Revit.Attributes;
using Autodes... | mit | C# |
ece34e5e99ada3895b014ae6dae8ce3e1a442f2d | Fix for ArgumentNullException when a luatests file had 0 tests | DanTup/TestAdapters,DanTup/TestAdapters | DanTup.TestAdapters/ExternalTestExecutor.cs | DanTup.TestAdapters/ExternalTestExecutor.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Serialization;
namespace DanTup.TestAdapters
{
/// <summary>
/// Base class for external executors of tests that return results in the desired XML format.
/// </su... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Xml.Serialization;
namespace DanTup.TestAdapters
{
/// <summary>
/// Base class for external executors of tests that return results in the desired XML format.
/// </summary>
public abst... | mit | C# |
b0fba1e998a7a458b3268ddaf217cafd8e88943b | include itemsin api get | andrewboudreau/Groceries.Boudreau.Cloud,andrewboudreau/Groceries.Boudreau.Cloud,andrewboudreau/Groceries.Boudreau.Cloud,andrewboudreau/Groceries.Boudreau.Cloud | src/Groceries.Boudreau.Cloud.WebApp/Controllers/ShoppingListController.cs | src/Groceries.Boudreau.Cloud.WebApp/Controllers/ShoppingListController.cs | namespace Groceries.Boudreau.Cloud.Controllers
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Groceries.Boudreau.Cloud.Domain;
using Groceries.Boudreau.Cloud.Database;
using Microsoft.EntityFrameworkCore;
[Ro... | namespace Groceries.Boudreau.Cloud.Controllers
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Groceries.Boudreau.Cloud.Domain;
using Groceries.Boudreau.Cloud.Database;
[Route("api/[controller]")]
public class... | mit | C# |
264ece5130f4cc07d7f2a6edf4d921470db566e0 | Fix Fault; Incorrect check in ctor | HelloKitty/SceneJect,HelloKitty/SceneJect | src/SceneJect.Common/Services/Factory/DepedencyInjectionFactoryService.cs | src/SceneJect.Common/Services/Factory/DepedencyInjectionFactoryService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SceneJect.Common
{
public abstract class DepedencyInjectionFactoryService
{
/// <summary>
/// Service for resolving dependencies.
/// </summary>
protected IResolver resolverService { get; }
/// <summary>
///... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SceneJect.Common
{
public abstract class DepedencyInjectionFactoryService
{
/// <summary>
/// Service for resolving dependencies.
/// </summary>
protected IResolver resolverService { get; }
/// <summary>
///... | mit | C# |
c2a37a16fa404e9ef58d12e38c7b9c9f1d8cb759 | Include BASSmix native library in linker | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework.iOS/Properties/AssemblyInfo.cs | osu.Framework.iOS/Properties/AssemblyInfo.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.Runtime.CompilerServices;
using ObjCRuntime;
// We publish our internal attributes to other sub-projects of the framework.
// Note, that we omit visual tes... | // 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.Runtime.CompilerServices;
using ObjCRuntime;
// We publish our internal attributes to other sub-projects of the framework.
// Note, that we omit visual tes... | mit | C# |
5ee54561773a634e6d61a211388bbc5398c371d1 | Remove finalizer from InputHandler | ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Input/Handlers/InputHandler.cs | osu.Framework/Input/Handlers/InputHandler.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 System.Collections.Concurrent;
using osu.Framework.Platform;
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Inp... | // 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 System.Collections.Concurrent;
using osu.Framework.Platform;
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Inp... | mit | C# |
5fe4bf664c83fb1febb851e1e4e79da0a734842b | Update RestContentAttribute.cs | tiksn/TIKSN-Framework | TIKSN.Core/Web/Rest/RestContentAttribute.cs | TIKSN.Core/Web/Rest/RestContentAttribute.cs | using System;
namespace TIKSN.Web.Rest
{
[AttributeUsage(AttributeTargets.Property)]
public class RestContentAttribute : Attribute
{
public RestContentAttribute(string mediaType = "application/json") => this.MediaType = mediaType;
public string MediaType { get; }
}
}
| using System;
namespace TIKSN.Web.Rest
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class RestContentAttribute : Attribute
{
public RestContentAttribute(string mediaType = "application/json")
{
MediaType = mediaType;
}
public stri... | mit | C# |
ed7d251f29045ea58f15a8df1e6c665a90a20fa3 | Connect CanExecute improvements | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AddWallet/ConnectHardwareWalletViewModel.cs | WalletWasabi.Fluent/ViewModels/AddWallet/ConnectHardwareWalletViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using DynamicData;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Gui;
using WalletWasabi.Gui.Tabs... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using DynamicData;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Gui;
using WalletWasabi.Gui.Tabs... | mit | C# |
28f18c38192dc8d62b0283dcca68d62459e0a956 | Fix perf benchmark after addition of cancellation token | NRules/NRules | bench/NRules.Benchmark/NRules.Benchmark/Expressions/BenchmarkRuleAction.cs | bench/NRules.Benchmark/NRules.Benchmark/Expressions/BenchmarkRuleAction.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Threading;
using BenchmarkDotNet.Attributes;
using NRules.Rete;
using NRules.RuleModel;
using NRules.RuleModel.Builders;
using NRules.Utilities;
namespace NRules.Benchmark.Expressions
{
[BenchmarkCa... | using System;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using BenchmarkDotNet.Attributes;
using NRules.Rete;
using NRules.RuleModel;
using NRules.RuleModel.Builders;
using NRules.Utilities;
namespace NRules.Benchmark.Expressions
{
[BenchmarkCategory("Micro", "Express... | mit | C# |
3c7297fa3a30bc40c2ebf07f09fa964266128ca8 | Fix logic to use the new task based async pattern | x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs,kswoll/WootzJs | WootzJs.Mvc/ControllerActionInvoker.cs | WootzJs.Mvc/ControllerActionInvoker.cs | using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace WootzJs.Mvc
{
public class ControllerActionInvoker : IActionInvoker
{
public Task<ActionResult> InvokeAction(ControllerContext context, MethodInfo action)
{
var parameters = action.Get... | using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace WootzJs.Mvc
{
public class ControllerActionInvoker : IActionInvoker
{
public Task<ActionResult> InvokeAction(ControllerContext context, MethodInfo action)
{
var parameters = action.Get... | mit | C# |
d522342f7567ccd55496cd904f9b5a1e0c7284ab | Fix registration to send nightly | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Jobs/JobHandler.cs | Battery-Commander.Web/Jobs/JobHandler.cs | using FluentScheduler;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Logging;
using System;
namespace BatteryCommander.Web.Jobs
{
internal static class JobHandler
{
public static void WithScheduler(this IApplicationBuilder app, ILoggerFactory loggerFactory)
{
var l... | using FluentScheduler;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Logging;
using System;
namespace BatteryCommander.Web.Jobs
{
internal static class JobHandler
{
public static void WithScheduler(this IApplicationBuilder app, ILoggerFactory loggerFactory)
{
var l... | mit | C# |
b22da8040e41c1a6b527f04f4feee133825cd85c | Bump version to 3.2.1.0 | adjackura/compute-image-windows,ning-yang/compute-image-windows,illfelder/compute-image-windows,GoogleCloudPlatform/compute-image-windows,adjackura/compute-image-windows,illfelder/compute-image-windows,GoogleCloudPlatform/compute-image-windows,ning-yang/compute-image-windows | agent/Common/Properties/VersionInfo.cs | agent/Common/Properties/VersionInfo.cs | /*
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | C# |
c1533dd509b45121ff34ae81f9c8256dcddeaf05 | update assembly version | 3gbywork/CommonUtility | CommonUtility/Properties/AssemblyInfo.cs | CommonUtility/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("CommonUtility")]
[assembly: AssemblyDescription("Common utilities for c#")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("CommonUtility")]
[assembly: AssemblyDescription("Common utilities for c#")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("... | mit | C# |
765ae153ee97fd2b3eee25e58baa7072e7fe4f81 | Update release to 2.2.7 | splunk/splunk-sdk-csharp-pcl | src/Splunk.Client/Properties/AssemblyInfo.cs | src/Splunk.Client/Properties/AssemblyInfo.cs | /*
* Copyright 2014 Splunk, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"): you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright 2014 Splunk, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"): you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | C# |
69ad543d41eefbe3ed04eee7ca5777fca26a3fa1 | Bump version number to 1.2.1.0. | da2x/EdgeDeflector | EdgeDeflector/Properties/AssemblyInfo.cs | EdgeDeflector/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("Edg... | 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("Edg... | mit | C# |
d391738f7121622f4755781a835d147026efb239 | remove unused import | bamboo/unityscript,bamboo/unityscript,bamboo/unityscript,bamboo/unityscript | src/UnityScript.Tests.CSharp/ObsoleteTest.cs | src/UnityScript.Tests.CSharp/ObsoleteTest.cs | namespace UnityScript.Tests.CSharp
{
public class ObsoleteTest
{
[System.Obsolete ("My Warning Text!")]
public void ObsoleteMethod ()
{
}
[System.Obsolete ("My Warning Text!")]
public static void ObsoleteStaticMethod ()
{
}
[System.Obsolete ("My Warning Text!")]
public int Obso... | using Boo.Lang;
namespace UnityScript.Tests.CSharp
{
public class ObsoleteTest
{
[System.Obsolete ("My Warning Text!")]
public void ObsoleteMethod ()
{
}
[System.Obsolete ("My Warning Text!")]
public static void ObsoleteStaticMethod ()
{
}
[System.Obsolete ("My Warning Text!")... | bsd-3-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.