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 |
|---|---|---|---|---|---|---|---|---|
49295d7b350baed1e8d82d4d70ab2964d873bfd1 | bump version to 1.7.1 | Terradue/DotNetGeoJson,Siliconrob/DotNetGeoJson | Terradue.GeoJson/Properties/AssemblyInfo.cs | Terradue.GeoJson/Properties/AssemblyInfo.cs | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.GeoJson.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation,
... | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.GeoJson.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation,
... | agpl-3.0 | C# |
2b44f2ffec18b6dd1796f921c3352a92337cdbf7 | move copyright and author info to top of the file | GStreamer/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,GStreamer/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,GStreamer/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,freedesktop-unofficial-mirror/gs... | sources/custom/Version.cs | sources/custom/Version.cs | //
// Version.cs: Lightweight Version Object for GStreamer
//
// Authors:
// Aaron Bockover <abockover@novell.com>
// Stephan Sundermann <stephansundermann@gmail.com>
//
// Copyright (C) 2006 Novell, Inc.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Les... | // This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will ... | lgpl-2.1 | C# |
7d697130dee5f03eb58ca33cd8af1e8014e428f5 | Read parameters from command line arguments | TeamnetGroup/schema2fm | src/ConsoleApp/Program.cs | src/ConsoleApp/Program.cs | using static System.Console;
namespace ConsoleApp
{
class Program
{
private static void Main(string[] args)
{
if (args.Length != 3)
{
WriteLine("Usage: schema2fm.exe connectionstring schema table");
return;
}
var ... | using static System.Console;
namespace ConsoleApp
{
class Program
{
private static void Main()
{
var connectionString = @"Server=.\SQLEXPRESS;Database=LearnORM;Trusted_Connection=True;";
var schemaName = "dbo";
var tableName = "Book";
var column... | mit | C# |
92fa1ea9410295e0ada133bcc077002abb8a4541 | Update the Empty module template. | jtm789/CMS,andyshao/CMS,lingxyd/CMS,Kooboo/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,andyshao/CMS,techwareone/Kooboo-CMS,jtm789/CMS,jtm789/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,andyshao/CMS,Kooboo/CMS,Kooboo/CMS | Kooboo.CMS/Kooboo.CMS.ModuleArea/Areas/Empty/ModuleAction.cs | Kooboo.CMS/Kooboo.CMS.ModuleArea/Areas/Empty/ModuleAction.cs | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using Kooboo.CMS.Sites.Extension.ModuleArea;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Kooboo.CMS.... | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using Kooboo.CMS.Sites.Extension.ModuleArea;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Kooboo.CMS.... | bsd-3-clause | C# |
efc8ac7bb550b1e4bf107c1164dd535f99fab2e5 | Update year in copyright | OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs | Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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.
[asse... | using System.Reflection;
using System.Resources;
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.
[asse... | mit | C# |
5569cb52e396d0fab1795c50d3e490f0e0c5e124 | Change default version number in GATest | JapaMala/armok-vision,JapaMala/armok-vision,JapaMala/armok-vision | Assets/TestData/GATest.cs | Assets/TestData/GATest.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GATest : MonoBehaviour {
float timer = 1;
// Use this for initialization
void Start ()
{
StartCoroutine (itr ());
}
//for testing
IEnumerator itr ()
{
while (true) {
yield return new WaitForSeconds (timer);
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GATest : MonoBehaviour {
float timer = 1;
// Use this for initialization
void Start ()
{
StartCoroutine (itr ());
}
//for testing
IEnumerator itr ()
{
while (true) {
yield return new WaitForSeconds (timer);
... | mit | C# |
5e7ebf9a96387735ae194426bc647b8fe36fa8a2 | clean startup | LuccaSA/MerQure | samples/MerQure.Samples/Startup.cs | samples/MerQure.Samples/Startup.cs | using MerQure.RbMQ;
using MerQure.RbMQ.Config;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System.IO;
namespace MerQure.Samples
{
public class Startup
{
public IConfiguration Configuration { get; set; }
public Startup()
{
... | using MerQure.RbMQ;
using MerQure.RbMQ.Config;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System.IO;
namespace MerQure.Samples
{
public class Startup
{
public IConfiguration Configuration { get; set; }
pu... | mit | C# |
9392db9466ca1526a1b177144d4cd76e36327303 | Update AlphabetSoup.cs | michaeljwebb/Algorithm-Practice | Coderbyte/AlphabetSoup.cs | Coderbyte/AlphabetSoup.cs | //Take the str string parameter being passed and return the string with the letters in alphabetical order.
using System;
class MainClass {
public static string AlphabetSoup(string str) {
char[] cArray = str.ToCharArray();
Array.Sort<char>(cArray);
string result = "";
for(int i = 0; i < cArra... | using System;
class MainClass {
public static string AlphabetSoup(string str) {
char[] cArray = str.ToCharArray();
Array.Sort<char>(cArray);
string result = "";
for(int i = 0; i < cArray.Length; i++){
result += cArray[i];
str = result;
}
return str;
}
static void... | mit | C# |
c9f11d1fceef8217b05466ce7c2fedcdc965862d | update version | hgupta9/FluentFTP,robinrodricks/FluentFTP,robinrodricks/FluentFTP,worstenbrood/FluentFTP,robinrodricks/FluentFTP | FluentFTP/AssemblyInfo.cs | FluentFTP/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("FluentFTP")]
[assembly: AssemblyDes... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("FluentFTP")]
[assembly: AssemblyDes... | mit | C# |
6b3a3e6f5cce10df4a23955bd86bbab3507647a9 | allow file paths with spaces | jasonracey/ConvertToMp3,jasonracey/ConvertToMp3 | ConvertToMp3/Converter.cs | ConvertToMp3/Converter.cs | using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace ConvertToMp3
{
public class Converter
{
public int ProcessedSourceFiles { get; private set; }
public int TotalSourceFiles { get; private set; }
public string State { get; private set; }
pu... | using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace ConvertToMp3
{
public class Converter
{
public int ProcessedSourceFiles { get; private set; }
public int TotalSourceFiles { get; private set; }
public string State { get; private set; }
pu... | mit | C# |
761fb9376e696bc017ce2352bd2272b03908d70f | Make way for the extended information which can be requested using the Show Droplet request. | JamieH/DigitalOcean-CSharp | DOAPI/Structs/Droplets.cs | DOAPI/Structs/Droplets.cs | using System.Collections.Generic;
namespace DigitalOcean.Structs
{
public class Droplet
{
public int id { get; set; }
public int image_id { get; set; }
public string name { get; set; }
public int region_id { get; set; }
public int size_id { get; set; }
public bo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DigitalOcean.Structs
{
public class Droplet
{
public int id { get; set; }
public string name { get; set; }
public int image_id { get; set; }... | mit | C# |
800311406348df572ff5c7617e74a36a6e8ced10 | Fix ExportItemsFromDownloads.ExportAsGcode | larsbrubaker/MatterControl,larsbrubaker/MatterControl,tellingmachine/MatterControl,rytz/MatterControl,mmoening/MatterControl,mmoening/MatterControl,rytz/MatterControl,jlewin/MatterControl,jlewin/MatterControl,mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,rytz/MatterControl,... | Tests/MatterControl.AutomationTests/ExportItemWindowTests.cs | Tests/MatterControl.AutomationTests/ExportItemWindowTests.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI.Tests;
using MatterHackers.GuiAutomation;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Automation"), Ru... | using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI.Tests;
using MatterHackers.GuiAutomation;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Automation"), Ru... | bsd-2-clause | C# |
b97c63de07571ebf641c119dee78780320627ca8 | Use Uri's for subdocument file and photos | eggapauli/MyDocs,eggapauli/MyDocs | JsonNetDal/SubDocument.cs | JsonNetDal/SubDocument.cs | using MyDocs.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.Storage;
using Logic = MyDocs.Common.Model.Logic;
namespace JsonNetDal
{
public class SubDocument
{
public string Title { get; set; }
public Uri File { g... | using MyDocs.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.Storage;
using Logic = MyDocs.Common.Model.Logic;
namespace JsonNetDal
{
public class SubDocument
{
public string Title { get; set; }
public string File { get; s... | mit | C# |
2b1d536ec9d0f844c9ad4ee8ad0b8670f8fc044c | Fix major bug when getting event handlers | Elders/Cronus,Elders/Cronus | src/Cronus.Core/Eventing/InMemoryEventBus.cs | src/Cronus.Core/Eventing/InMemoryEventBus.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Cronus.Core.Eventing
{
/// <summary>
/// Represents an in memory event messaging destribution
/// </summary>
public class InMemoryEventBus : AbstractEventBus
{
/// <summary>
/// Publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading.Tasks;
namespace Cronus.Core.Eventing
{
/// <summary>
/// Represents an in memory event messaging destribution
/// </summary>
public class InMemo... | apache-2.0 | C# |
90b6259d4ba70237b5a82593ab24850c4bd8041d | Fix ScriptRunner test | filipw/dotnet-script,filipw/dotnet-script | src/Dotnet.Script.Tests/ScriptRunnerTests.cs | src/Dotnet.Script.Tests/ScriptRunnerTests.cs | using System;
using System.Collections.Generic;
using Dotnet.Script.Core;
using Dotnet.Script.DependencyModel.Runtime;
using Dotnet.Script.Shared.Tests;
using Moq;
using Xunit;
namespace Dotnet.Script.Tests
{
public class ScriptRunnerTests
{
[Fact]
public void ResolveAssembly_ReturnsNull_WhenR... | using System;
using System.Collections.Generic;
using Dotnet.Script.Core;
using Dotnet.Script.DependencyModel.Runtime;
using Dotnet.Script.Shared.Tests;
using Moq;
using Xunit;
namespace Dotnet.Script.Tests
{
public class ScriptRunnerTests
{
[Fact]
public void ResolveAssembly_ReturnsNull_WhenR... | mit | C# |
26a4084804b5cd27929a5960d13875c45cedfbc9 | Update RobinManuelThiel.cs | planetxamarin/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamar... | src/Firehose.Web/Authors/RobinManuelThiel.cs | src/Firehose.Web/Authors/RobinManuelThiel.cs | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Authors
{
public class RobinManuelThiel : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts
{
public string FirstName => "Ro... | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Authors
{
public class RobinManuelThiel : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts
{
public string FirstName => "Ro... | mit | C# |
592513d9d65e05f4c8432e18851cfeeb7c04212f | Disable Button Logic | ApplETS/ETSMobile-WindowsPlatforms,ApplETS/ETSMobile-WindowsPlatforms | Ets.Mobile/Ets.Mobile.WindowsPhone/Content/Settings/Options.xaml.cs | Ets.Mobile/Ets.Mobile.WindowsPhone/Content/Settings/Options.xaml.cs | using Ets.Mobile.ViewModel.Contracts.Settings;
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Ets.Mobile.Content.Settings
{
public sealed partial class Options : UserControl
{
public Options()
{
InitializeComponent();
this.Events().DataCo... | using Ets.Mobile.ViewModel.Contracts.Settings;
using System;
using System.Reactive.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Ets.Mobile.Content.Settings
{
public sealed partial class Options : UserControl
{
public Options()
{
InitializeComponent();
... | apache-2.0 | C# |
9e475cc107d9afd9f301518985dfdca6915d1600 | Update RestRepositoryOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Web/Rest/RestRepositoryOptions.cs | TIKSN.Core/Web/Rest/RestRepositoryOptions.cs | using System.Collections.Generic;
using System.Text;
namespace TIKSN.Web.Rest
{
public class RestRepositoryOptions<T>
{
public RestRepositoryOptions()
{
this.MediaType = "application/json";
this.Encoding = Encoding.UTF8;
}
public string ApiKey { get; se... | using System;
using System.Collections.Generic;
using System.Text;
namespace TIKSN.Web.Rest
{
public class RestRepositoryOptions<T>
{
public RestRepositoryOptions()
{
this.MediaType = "application/json";
this.Encoding = Encoding.UTF8;
}
public Guid ApiK... | mit | C# |
820673c1d5201ef910becb7ae175734cdca00327 | Make shouldhaveelement private | blorgbeard/pickles,picklesdoc/pickles,dirkrombauts/pickles,picklesdoc/pickles,blorgbeard/pickles,irfanah/pickles,irfanah/pickles,dirkrombauts/pickles,irfanah/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,dirkrombauts/pickles,picklesdoc/pickles,blorgbeard/pickles,magicmonty/pickles,ludwigjossieaux/pickles,blorgbe... | src/Pickles/Pickles.Test/AssertExtensions.cs | src/Pickles/Pickles.Test/AssertExtensions.cs | using System;
using System.Linq;
using System.Xml.Linq;
using NFluent;
using NFluent.Extensibility;
using NUnit.Framework;
using PicklesDoc.Pickles.Test.Extensions;
namespace PicklesDoc.Pickles.Test
{
public static class AssertExtensions
{
public static void HasAttribute(this ICheck<XElement> check, s... | using System;
using System.Linq;
using System.Xml.Linq;
using NFluent;
using NFluent.Extensibility;
using NUnit.Framework;
using PicklesDoc.Pickles.Test.Extensions;
namespace PicklesDoc.Pickles.Test
{
public static class AssertExtensions
{
public static void HasAttribute(this ICheck<XElement> check, s... | apache-2.0 | C# |
fe0ebb022f840c8c9a346892db4c31ac1584a16d | Change garbage values to sane arguments | ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework | osu.Framework.Benchmarks/BenchmarkLocalisableString.cs | osu.Framework.Benchmarks/BenchmarkLocalisableString.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 BenchmarkDotNet.Attributes;
using osu.Framework.Localisation;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
public class BenchmarkLo... | // 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 BenchmarkDotNet.Attributes;
using osu.Framework.Localisation;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
public class BenchmarkLo... | mit | C# |
beeb556c0c16131a8eee501f548b90f2df575c30 | Set starting RoulettePocket | charvey/CasinoStrats | src/CasinoStrats.Core/RouletteRound.cs | src/CasinoStrats.Core/RouletteRound.cs | using System;
using System.Collections.Generic;
namespace CasinoStrats.Core
{
public class RouletteRound
{
private Dictionary<Tuple<Player, RouletteBet>, decimal> bets;
private RoulettePocket pocket;
public RouletteRound()
{
bets = new Dictionary<Tuple<Player, Roul... | using System;
using System.Collections.Generic;
namespace CasinoStrats.Core
{
public class RouletteRound
{
private Dictionary<Tuple<Player, RouletteBet>, decimal> bets;
private RoulettePocket pocket;
public RouletteRound()
{
bets = new Dictionary<Tuple<Player, Roul... | mit | C# |
10a1557ba86a8b822e11ef1eec370ec3bd0ce75f | Remove goto statements from command line program | Ackara/Daterpillar | src/Daterpillar.CommandLine/Program.cs | src/Daterpillar.CommandLine/Program.cs | using Gigobyte.Daterpillar.Arguments;
using Gigobyte.Daterpillar.Commands;
using System;
namespace Gigobyte.Daterpillar
{
public class Program
{
internal static void Main(string[] args)
{
InitializeWindow();
do
{
var commandLineOptions = new... | using Gigobyte.Daterpillar.Arguments;
using Gigobyte.Daterpillar.Commands;
using System;
namespace Gigobyte.Daterpillar
{
public class Program
{
internal static void Main(string[] args)
{
InitializeWindow();
start:
var options = new Options();
i... | mit | C# |
35d59bb99709231bcb273c5c31671aeaeef29adc | Put the matrix multiplication in the correct order. | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/OpenGl/RenderableBase.cs | SolidworksAddinFramework/OpenGl/RenderableBase.cs | using System;
using System.Collections.Generic;
using System.DoubleNumerics;
namespace SolidworksAddinFramework.OpenGl
{
public abstract class RenderableBase<T> : IRenderable
{
protected readonly T _Data;
protected T _TransformedData;
private Matrix4x4 _Transform = Matrix4x4.Identity;
... | using System;
using System.Collections.Generic;
using System.DoubleNumerics;
namespace SolidworksAddinFramework.OpenGl
{
public abstract class RenderableBase<T> : IRenderable
{
protected readonly T _Data;
protected T _TransformedData;
private Matrix4x4 _Transform = Matrix4x4.Identity;
... | mit | C# |
da29ff480849150d9fc20d90e4b5ef485f04eb27 | Load csproj with xml- tmp workaround for roslyn bug | tzachshabtay/MonoAGS | Source/Editor/AGS.Editor.Desktop/DotnetProject.cs | Source/Editor/AGS.Editor.Desktop/DotnetProject.cs | using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.MSBuild;
namespace AGS.Editor.Desktop
{
public class DotnetProject : IDotnetProject
{
... | using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.MSBuild;
namespace AGS.Editor.Desktop
{
public class DotnetProject : IDotnetProject
{
private Project _project;
... | artistic-2.0 | C# |
84e9227beabef5eff74bd18b4c9b0322f62c1c9b | Update Demo | sunkaixuan/SqlSugar | Src/Asp.Net/SqlServerTest/Demo/DemoE_CodeFirst.cs | Src/Asp.Net/SqlServerTest/Demo/DemoE_CodeFirst.cs | using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest
{
public class DemoE_CodeFirst
{
public static void Init()
{
Console.WriteLine("");
Console.WriteLine("#### CodeFirst Start ####");
SqlSug... | using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OrmTest
{
public class DemoE_CodeFirst
{
public static void Init()
{
SqlSugarClient db = new SqlSugarClient(new ConnectionConfig()
{
DbType = ... | apache-2.0 | C# |
59651be3bb33fbe9f6e3d9b8c5b1ca234749e761 | Update Barbados | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Src/Nager.Date/PublicHolidays/BarbadosProvider.cs | Src/Nager.Date/PublicHolidays/BarbadosProvider.cs | using Nager.Date.Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class BarbadosProvider : CatholicBaseProvider
{
public override IEnumerable<PublicHoliday> Get(int year)
{
//Barbados
//https://en.wik... | using Nager.Date.Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class BarbadosProvider : CatholicBaseProvider
{
public override IEnumerable<PublicHoliday> Get(int year)
{
//Barbados
//https://en.wik... | mit | C# |
de71ad79ddc0978e0ea7cbb277755a6367b8f56e | Remove obsolete comment | GitTools/GitLink,AArnott/PdbGit,ShaiNahum/GitLink | src/GitLink/Properties/AssemblyInfo.cs | src/GitLink/Properties/AssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2014 CatenaLogic. All rights reserved.
// </copyright>
// -------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="CatenaLogic">
// Copyright (c) 2014 - 2014 CatenaLogic. All rights reserved.
// </copyright>
// -------------------------------------------------------... | mit | C# |
bfecc60644715063a68d7115b3864eef4c92dcf6 | Add Contentpropertyattribute for xamarin forms | thomasgalliker/ValueConverters.NET | ValueConverters.Shared/StringToObjectConverter.cs | ValueConverters.Shared/StringToObjectConverter.cs | using System;
using System.Globalization;
#if (NETFX || WINDOWS_PHONE)
using System.Windows;
using System.Windows.Markup;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
using Windows.UI.Xaml.Markup;
#elif (XAMARIN)
using Xamarin.Forms;
#endif
namespace ValueConverters
{
/// <summary>
/// StringToObjectConverter c... | using System;
using System.Globalization;
#if (NETFX || WINDOWS_PHONE)
using System.Windows;
using System.Windows.Markup;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
using Windows.UI.Xaml.Markup;
#elif (XAMARIN)
using Xamarin.Forms;
#endif
namespace ValueConverters
{
/// <summary>
/// StringToObjectConverter c... | mit | C# |
3685b1ef79ed8f2f492ca7dc29b777f20bf7c77e | fix serialization warning from code analysis tool | edyoung/prequel | Prequel/UsageException.cs | Prequel/UsageException.cs | using System;
using System.Runtime.Serialization;
namespace Prequel
{
[Serializable]
public class UsageException : Exception, ISerializable
{
public UsageException()
{
ExitCode = 1;
}
public UsageException(string message) : base(message)
{
E... | using System;
using System.Runtime.Serialization;
namespace Prequel
{
[Serializable]
public class UsageException : Exception
{
public UsageException()
{
ExitCode = 1;
}
public UsageException(string message) : base(message)
{
ExitCode = 1;
... | mit | C# |
ebbb481fea06ca57b8bf16069ac0052272aa2c3c | Print hello world for k10 project. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/MvcSample/Program.cs | samples/MvcSample/Program.cs | using System;
#if NET45
using Microsoft.Owin.Hosting;
#endif
namespace MvcSample
{
public class Program
{
const string baseUrl = "http://localhost:9001/";
public static void Main()
{
#if NET45
using (WebApp.Start<Startup>(new StartOptions(baseUrl)))
{
... | #if NET45
using System;
using Microsoft.Owin.Hosting;
namespace MvcSample
{
public class Program
{
const string baseUrl = "http://localhost:9001/";
public static void Main()
{
using (WebApp.Start<Startup>(new StartOptions(baseUrl)))
{
Console.Wr... | apache-2.0 | C# |
d903b1d4c93cea12e2d1d69f0c6b8d16eb975472 | Add dummy commit | michael-reichenauer/GitMind | GitMind/GitModel/Branch.cs | GitMind/GitModel/Branch.cs | using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace GitMind.GitModel
{
// A Branch
internal class Branch
{
private readonly Repository repository;
private readonly string tipCommitId;
private readonly string firstCommitId;
private readonly string parentComm... | using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
namespace GitMind.GitModel
{
internal class Branch
{
private readonly Repository repository;
private readonly string tipCommitId;
private readonly string firstCommitId;
private readonly string parentCommitId;
priva... | mit | C# |
303a9017a865060ad0bc208efb443ea5632680cf | Clean code | polvila/JS_test,polvila/JS_test,polvila/JS_test | Assets/TestScript.cs | Assets/TestScript.cs | using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.UI;
public class TestScript : MonoBehaviour {
[DllImport("__Internal")]
private static extern void OpenRechargePopup();
public Button btn;
public Text txt;
// Use this for ini... | using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.UI;
public class TestScript : MonoBehaviour {
[DllImport("__Internal")]
private static extern void OpenRechargePopup();
public Button btn;
public Text txt;
// Use this for ini... | mit | C# |
d5029e593ebe831788bfc3de1ee70792aad8ad62 | Fix #1 | uheerme/core,uheerme/core,uheerme/core | Samesound.Core/Channel.cs | Samesound.Core/Channel.cs | using Samesound.Core.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Samesound.Core
{
public class Channel : IDateTrackable
{
public Channel()
{
Musics = new List<... | using Samesound.Core.Interfaces;
using System;
using System.ComponentModel.DataAnnotations;
namespace Samesound.Core
{
public class Channel : IDateTrackable
{
[Key]
public int Id { get; set; }
[Required]
public string Name { get; set; }
[Required]
public strin... | mit | C# |
a30f872792c87bf0eaf47a20dc73bd40cfc748cd | Use MongoDB C# conventions to map object attributes | peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples,peterblazejewicz/asp5-mvc6-examples | MongoMvc/Models/Speaker.cs | MongoMvc/Models/Speaker.cs | using MongoDB.Bson;
using System;
namespace MongoMvc.Models
{
public class Speaker
{
public ObjectId Id { get; set; }
public string Blog { get; set; }
public string First { get; set; }
public string Last { get; set; }
public string Title { get; set; }
... | using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
namespace MongoMvc.Models
{
public class Speaker
{
public ObjectId Id { get; set; }
[BsonElement("blog")]
public string Blog { get; set; }
[BsonElement("first")]
public string ... | mit | C# |
59c2eabb9e2a2ce90a61e3e00a078ed6851bd8e7 | Update ANDGate.cs | irtezasyed007/CSC523-Game-Project | Gates/ANDGate.cs | Gates/ANDGate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSC_523_Game
{
class ANDGate : Gate
{
public ANDGate(Variable [] vars) : base(vars)
{
}
public override bool getResult()
{
bool ass... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSC_523_Game
{
class ANDGate : Gate
{
public ANDGate(Variable [] vars) : base(vars)
{
}
public override bool getResult()
{
bool res... | mit | C# |
c2fec2ec0dd4756f08b0dbc86b0d839f7c4a117b | Add params to OpenApiBodyParameterAttribute | quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag,RSuter/NSwag,RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag,quails4Eva/NSwag | src/NSwag.Annotations/OpenApiBodyParameterAttribute.cs | src/NSwag.Annotations/OpenApiBodyParameterAttribute.cs | //-----------------------------------------------------------------------
// <copyright file="OpenApiBodyParameterAttribute.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, m... | //-----------------------------------------------------------------------
// <copyright file="OpenApiBodyParameterAttribute.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, m... | mit | C# |
6647930968f8f664dd2e677e3175a4c53c2073b6 | Bump version | o11c/WebMConverter,Yuisbean/WebMConverter,nixxquality/WebMConverter | Properties/AssemblyInfo.cs | 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("We... | 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("We... | mit | C# |
1e8f00642df43b4915870f71cd01c4ac35df4546 | Bump version | Naxiz/TeleBotDotNet,LouisMT/TeleBotDotNet | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TeleBotDotNet")]
[assembly: AssemblyDescr... | 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("TeleBotDotNet")]
[assembly: AssemblyDescr... | mit | C# |
70afc72406cc5831bd84b8feaecfdc5d0f1fc379 | upgrade version | ezaurum/dapper | Properties/AssemblyInfo.cs | 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("da... | 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("da... | mit | C# |
1d4d396abe95cb2f10c8a6dc54d1c45f64341d9d | Change release version number to 1.2.0.0 | GLotsapot/HellionSaveEditor | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Resources;
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.
[ass... | 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("He... | mit | C# |
34a54240d724b9b7610ab907f66286c8b9d151c1 | Add classes for prime numbers | sakapon/Samples-2016,sakapon/Samples-2016 | AzureBatchSample/TaskWebJob/Program.cs | AzureBatchSample/TaskWebJob/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Azure.WebJobs;
namespace TaskWebJob
{
// To learn more about Microsoft Azure WebJobs SDK, please see http://go.microsoft.com/fwlink/?LinkID=320976
class Program
{
// Please set the following connection str... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Azure.WebJobs;
namespace TaskWebJob
{
// To learn more about Microsoft Azure WebJobs SDK, please see http://go.microsoft.com/fwlink/?LinkID=320976
class Program
{
// Please set the following connection str... | mit | C# |
035010e8ddb47d42cf69ddc5086e0edfe477339a | put comments in bg-2 | MacsDickinson/blog,MacsDickinson/blog | Snow/_layouts/post.cshtml | Snow/_layouts/post.cshtml | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Snow.ViewModels.PostViewModel>
@using System.Collections.Generic
@{
Layout = "default.cshtml";
}
@section menu {
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav sf-menu">
<li class="current"><a href="/">Blog... | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Snow.ViewModels.PostViewModel>
@using System.Collections.Generic
@{
Layout = "default.cshtml";
}
@section menu {
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav sf-menu">
<li class="current"><a href="/">Blog... | mit | C# |
cca231440e3d592a2e22aa419e4d279cbecb6005 | Bump version to 0.9.0 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
a9a5809e940f2f424958533d6f6e46e133b985f1 | Fix incorrect xmldoc in `MoveSelectionEvent` | smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu | osu.Game/Screens/Edit/Compose/Components/MoveSelectionEvent.cs | osu.Game/Screens/Edit/Compose/Components/MoveSelectionEvent.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Edit;
using osuTK;
namespace osu.Game.Screens.Edit.Compose.Components
{
/// <summary>
/// An event which occurs when a <see cref="Overlay... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Edit;
using osuTK;
namespace osu.Game.Screens.Edit.Compose.Components
{
/// <summary>
/// An event which occurs when a <see cref="Overlay... | mit | C# |
98570a26257fa776257b416add94230b1b2169ab | Fix semi colon problem | bitsummation/pickaxe,bitsummation/pickaxe | DotNetCore/Pickaxe.Console/Interactive.cs | DotNetCore/Pickaxe.Console/Interactive.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Pickaxe.Console
{
internal class Interactive
{
public static void Prompt()
{
var builder = new StringBuilder();
System.Console.Write("pickaxe> ");
... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Pickaxe.Console
{
internal class Interactive
{
public static void Prompt()
{
var builder = new StringBuilder();
System.Console.Write("pickaxe> ");
... | apache-2.0 | C# |
81658e2485350c0f4f29125eaf2279f3030f201b | Add resets when reloading level | neuroidss/nupic.research,ThomasMiconi/htmresearch,ywcui1990/htmresearch,cogmission/nupic.research,ThomasMiconi/htmresearch,ywcui1990/htmresearch,mrcslws/htmresearch,BoltzmannBrain/nupic.research,mrcslws/htmresearch,ThomasMiconi/htmresearch,subutai/htmresearch,BoltzmannBrain/nupic.research,subutai/htmresearch,subutai/ht... | vehicle-control/simulation/Assets/Scripts/CarCollisions.cs | vehicle-control/simulation/Assets/Scripts/CarCollisions.cs | /*
----------------------------------------------------------------------
Numenta Platform for Intelligent Computing (NuPIC)
Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
with Numenta, Inc., for a separate license for this software code, the
following terms and conditions apply:
This pro... | /*
----------------------------------------------------------------------
Numenta Platform for Intelligent Computing (NuPIC)
Copyright (C) 2015, Numenta, Inc. Unless you have an agreement
with Numenta, Inc., for a separate license for this software code, the
following terms and conditions apply:
This pro... | agpl-3.0 | C# |
10467ecceae53fa296f5661dc8a484de07ce9ce9 | Update AssemblyInfo.cs | DHGMS-Solutions/gripewithroslyn | src/Dhgms.GripeWithRoslyn.UnitTests/Properties/AssemblyInfo.cs | src/Dhgms.GripeWithRoslyn.UnitTests/Properties/AssemblyInfo.cs | // Copyright (c) 2019 DHGMS Solutions and Contributors. All rights reserved.
// This file is licensed to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Runtime.CompilerServices;
using Sys... | // Copyright (c) 2019 DHGMS Solutions and Contributors. All rights reserved.
// This file is licensed to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Genera... | mit | C# |
4fe0192a47d23729f65ba26b4a2e6ae209d8898e | Add gu prefix. | JohanLarsson/Gu.Wpf.ValidationScope | Gu.Wpf.ValidationScope/AssemblyAttributes.cs | Gu.Wpf.ValidationScope/AssemblyAttributes.cs | using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Markup;
[assembly: InternalsVisibleTo("Gu.Wpf.ValidationScope.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010081C17142540667A1F595C54AD2B5916395C55177D9770A78B6610298EA5B0442D18B95AE9A789CF9D5C04A88B0E1B... | using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Markup;
[assembly: InternalsVisibleTo("Gu.Wpf.ValidationScope.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010081C17142540667A1F595C54AD2B5916395C55177D9770A78B6610298EA5B0442D18B95AE9A789CF9D5C04A88B0E1B... | mit | C# |
2734d2b2ce543981e89ff9a6c437cc47a6473a89 | Fix async warning | icsharpcode/ResourceFirstTranslations,icsharpcode/ResourceFirstTranslations,icsharpcode/ResourceFirstTranslations | src/ResourcesFirstTranslations/Services/Stubs/DevStubMailService.cs | src/ResourcesFirstTranslations/Services/Stubs/DevStubMailService.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ResourcesFirstTranslations.Services.Stubs
{
public class DevStubMailService : IMailService
{
public Task<bool> SendMailAsync(MailMessage mm, bool supp... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ResourcesFirstTranslations.Services.Stubs
{
public class DevStubMailService : IMailService
{
public async Task<bool> SendMailAsync(MailMessage mm, boo... | mit | C# |
6a1b24c8ea2cbc5e6321cc7424fabbaf9f5c5bc2 | document the IContainerAdapter used to embed other IOCs | timba/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,nataren/NServiceKit,meebey/ServiceStack,ZocDoc/ServiceStack,MindTouch/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,nataren/NServiceKit,timba/NServiceKit,nataren/NServiceKit,nataren/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,MindTouch/NS... | src/ServiceStack.Interfaces/Configuration/IContainerAdapter.cs | src/ServiceStack.Interfaces/Configuration/IContainerAdapter.cs | namespace ServiceStack.Configuration
{
/// <summary>
/// Allow delegation of dependencies to other IOC's
/// </summary>
public interface IContainerAdapter
{
/// <summary>
/// Resolve Property Dependency
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
T TryResolve<T>();... | namespace ServiceStack.Configuration
{
public interface IContainerAdapter
{
T TryResolve<T>();
T Resolve<T>();
}
} | bsd-3-clause | C# |
7ad5426b9beadf2b971a2264b417da184230a563 | Fix the Composer list | KevinJump/uSync,KevinJump/uSync,KevinJump/uSync | uSync8.BackOffice/uSyncBackOfficeComposer.cs | uSync8.BackOffice/uSyncBackOfficeComposer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core;
using Umbraco.Core.Composing;
using uSync8.BackOffice.Configuration;
using uSync8.BackOffice.Services;
using uSync8.BackOffice.SyncHandlers;
using uSync8.Core;
namespace uSync8.BackO... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core;
using Umbraco.Core.Composing;
using uSync8.BackOffice.Configuration;
using uSync8.BackOffice.Services;
using uSync8.BackOffice.SyncHandlers;
using uSync8.Core;
namespace uSync8.BackO... | mpl-2.0 | C# |
23f9e85d7464cd831f853bf2f9e068bedefe888a | Fix exception message for GetRequiredService | sharwell/roslyn,jmarolf/roslyn,AmadeusW/roslyn,reaction1989/roslyn,jasonmalinowski/roslyn,gafter/roslyn,weltkante/roslyn,mgoertz-msft/roslyn,reaction1989/roslyn,tmat/roslyn,stephentoub/roslyn,dotnet/roslyn,eriawan/roslyn,tannergooding/roslyn,agocke/roslyn,bartdesmet/roslyn,heejaechang/roslyn,abock/roslyn,KevinRansom/ro... | src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs | src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.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;
namespace Microsoft.CodeAnalysis.Host
{
/// <summary>
/// Per language services provided by the host environment.
/// </summary>
... | // 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;
namespace Microsoft.CodeAnalysis.Host
{
/// <summary>
/// Per language services provided by the host environment.
/// </summary>
... | mit | C# |
49a6e5f885dd1927ba0f18adbca976a6937a4088 | fix leader stuff in group | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Data/GroupInfo.cs | TCC.Core/Data/GroupInfo.cs | using System.Collections.Generic;
using System.Linq;
using TeraDataLite;
namespace TCC.Data
{
public class GroupInfo
{
public bool InGroup { get; private set; }
public bool IsRaid { get; private set; }
public bool AmILeader => Game.Me.Name == Leader.Name;
private GroupMemberDa... | using System.Collections.Generic;
using System.Linq;
using TeraDataLite;
namespace TCC.Data
{
public class GroupInfo
{
public bool InGroup { get; private set; }
public bool IsRaid { get; private set; }
public bool AmILeader => Game.Me.Name == Leader.Name;
public GroupMemberDat... | mit | C# |
7e11387f0b593163736a567a977df5e8f03b75f7 | Add some documentation. | mcneel/RhinoCycles | LinearWorkflow.cs | LinearWorkflow.cs | /**
Copyright 2014-2016 Robert McNeel and Associates
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 w... | /**
Copyright 2014-2016 Robert McNeel and Associates
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 w... | apache-2.0 | C# |
3c965548269cc15d4b7ab50e230b072640c2d458 | Fix Actipro language to construct the correct set of language services | terrajobst/nquery-vnext | NQuery.Language.ActiproWpf/NQueryLanguage.cs | NQuery.Language.ActiproWpf/NQueryLanguage.cs | using System;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using ActiproSoftware.Text.Implementation;
using NQuery.Language.Services.BraceMatching;
using NQuery.Language.Wpf;
namespace NQuery.Language.ActiproWpf
{
pu... | using System;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using ActiproSoftware.Text.Implementation;
using NQuery.Language.Services.BraceMatching;
namespace NQuery.Language.ActiproWpf
{
public sealed class NQueryLan... | mit | C# |
639f67fb7d3e41f198d8c7bdae58098af823f998 | Fix GetStronglyTypedModularContent test case | Kentico/delivery-sdk-net,Kentico/Deliver-.NET-SDK | KenticoCloud.Delivery.Tests/Models/Item/ContentItemTests.cs | KenticoCloud.Delivery.Tests/Models/Item/ContentItemTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
namespace KenticoCloud.Delivery.Tests
{
[TestFixture]
public class ContentItemTests
{
[TestCase]
public void CastTo_GetStronglyTypedModularCo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
namespace KenticoCloud.Delivery.Tests
{
[TestFixture]
public class ContentItemTests
{
// TODO: Unable to build due to change in visiblity level of Co... | mit | C# |
52ee0a22953e974c137582e41e0d1f7699358271 | Fix comments | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer | LmpClient/Systems/VesselFairingsSys/VesselFairingsSystem.cs | LmpClient/Systems/VesselFairingsSys/VesselFairingsSystem.cs | using LmpClient.Base;
using LmpClient.Systems.TimeSync;
using System;
using System.Collections.Concurrent;
namespace LmpClient.Systems.VesselFairingsSys
{
/// <summary>
/// This class syncs the fairings between players
/// </summary>
public class VesselFairingsSystem : MessageSystem<VesselFairingsSyst... | using System;
using System.Collections.Concurrent;
using LmpClient.Base;
using LmpClient.Systems.TimeSync;
namespace LmpClient.Systems.VesselFairingsSys
{
/// <summary>
/// This class sends some parts of the vessel information to other players. We do it in another system as we don't want to send this informat... | mit | C# |
c1c67e29329989cc9a8747cccf0aa58a878c4d1c | refactor address | eeaquino/DotNetShipping,kylewest/DotNetShipping | DotNetShipping/Address.cs | DotNetShipping/Address.cs | namespace DotNetShipping
{
/// <summary>
/// Summary description for Address.
/// </summary>
public class Address
{
public string City { get; set; }
public string CountryCode { get; set; }
public string Line1 { get; set; }
public string Line2 { get; set; }
public string Line3 { get; set; }
... | namespace DotNetShipping
{
/// <summary>
/// Summary description for Address.
/// </summary>
public class Address
{
#region Fields
public readonly string City;
public readonly string CountryCode;
public readonly string Line1;
public readonly string Line2;
public readonly string Line3;
... | mit | C# |
e4aad30c1fc04ff8dc7cade00c877645857e99f9 | Add fancy links to me and the contributors | jeremycook/PickupMailViewer,jeremycook/PickupMailViewer | PickupMailViewer/Views/Shared/_Layout.cshtml | PickupMailViewer/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
<script type="text/javascript">
var baseUrl = "@Url.Content("~")";
</script>
@Styles.Render("~/Content/css")
@Styles.Render("~/... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
<script type="text/javascript">
var baseUrl = "@Url.Content("~")";
</script>
@Styles.Render("~/Content/css")
@Styles.Render("~/... | mit | C# |
ba09f84fd547945b623b0037a17a8080b979cbb6 | Make AutoLevel instantaneous instead of taking minutes. | Fenex/Pinta,Mailaender/Pinta,jakeclawson/Pinta,PintaProject/Pinta,PintaProject/Pinta,Fenex/Pinta,PintaProject/Pinta,jakeclawson/Pinta,Mailaender/Pinta | Pinta.Effects/Adjustments/AutoLevelEffect.cs | Pinta.Effects/Adjustments/AutoLevelEffect.cs | /////////////////////////////////////////////////////////////////////////////////
// Paint.NET //
// Copyright (C) dotPDN LLC, Rick Brewster, Tom Jackson, and contributors. //
// Portions Copyright (C) Microsoft Corporation. All Rights Reserved. ... | /////////////////////////////////////////////////////////////////////////////////
// Paint.NET //
// Copyright (C) dotPDN LLC, Rick Brewster, Tom Jackson, and contributors. //
// Portions Copyright (C) Microsoft Corporation. All Rights Reserved. ... | mit | C# |
e28b96893804c72245fc4d52c7aa616c1b77a2d8 | Add missing documentation for Pair | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Utils/Pair.cs | Source/Lib/TraktApiSharp/Utils/Pair.cs | namespace TraktApiSharp.Utils
{
/// <summary>A small container containing two values of different types.</summary>
/// <typeparam name="T">The type of the first element in this pair.</typeparam>
/// <typeparam name="U">The type of the second element in this pair.</typeparam>
public sealed class Pair<T,... | namespace TraktApiSharp.Utils
{
public sealed class Pair<T, U>
{
/// <summary>Initializes a new instance of the <see cref="Pair{T,U}" /> class.</summary>
public Pair() { }
/// <summary>Initializes a new instance of the <see cref="Pair{T,U}" /> class.</summary>
/// <param name="... | mit | C# |
f3e45d6187a3f1ff523b2d4026dc794aab2ea26e | update version | gaochundong/Cowboy | Cowboy/SolutionVersion.cs | Cowboy/SolutionVersion.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a C# library for building sockets based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2017 Dennis Gao")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a C# library for building sockets based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2017 Dennis Gao")]
[assembly: Ass... | mit | C# |
e1b646cbd050915b82c59833cfc12edf50ccb746 | Test Commit | Rut0/DataSerializer | DataSerializer/Program.cs | DataSerializer/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataSerializer
{
class Program
{
static void Main(string[] args)
{
Console.ReadLine();
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataSerializer
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
ed933e2c8e1b46aa1970a82efeecea09e3fb2aa8 | Update Pascal's Triangle exercise to latest canonical data | ErikSchierboom/xcsharp,robkeim/xcsharp,robkeim/xcsharp,GKotfis/csharp,exercism/xcsharp,GKotfis/csharp,exercism/xcsharp,ErikSchierboom/xcsharp | exercises/pascals-triangle/PascalsTriangleTest.cs | exercises/pascals-triangle/PascalsTriangleTest.cs | // This file was auto-generated based on version 1.2.0 of the canonical data.
using Xunit;
using System;
public class PascalsTriangleTest
{
[Fact]
public void Zero_rows()
{
Assert.Empty(PascalsTriangle.Calculate(0));
}
[Fact(Skip = "Remove to run test")]
public void Single_row()
{... | // This file was auto-generated based on version 1.0.0 of the canonical data.
using Xunit;
using System;
public class PascalsTriangleTest
{
[Fact]
public void Zero_rows()
{
Assert.Empty(PascalsTriangle.Calculate(0));
}
[Fact(Skip = "Remove to run test")]
public void Single_row()
{... | mit | C# |
8c126fe539332c7099398caed47478ff47cafeaa | fix crash when logging on archer | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Controls/ArcherFocusControl.xaml.cs | TCC.Core/Controls/ArcherFocusControl.xaml.cs | using System;
using System.ComponentModel;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Animation;
using TCC.Data;
namespace TCC.Controls
{
/// <inheritdoc cref="UserControl" />
/// <summary>
/// Logica di interazione p... | using System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Animation;
using TCC.Data;
namespace TCC.Controls
{
/// <inheritdoc cref="UserControl" />
/// <summary>
/// Logica di interazione per ArcherFocusControl.xa... | mit | C# |
a7feda509e6519269601512f044e289679402a32 | Allow clicks on the label to change the radio button. | blackradley/nesscliffe,blackradley/nesscliffe,blackradley/nesscliffe | WebApplication/Helpers/SiteYesNoForHelper.cs | WebApplication/Helpers/SiteYesNoForHelper.cs | using System;
using System.Linq.Expressions;
using System.Web.Mvc;
using System.Web.Mvc.Html;
namespace WebApplication.Helpers
{
public static class SiteYesNoForHelper
{
/// <summary>
/// Extension method to provide consistent radio button layouts.
/// </summary>
public sta... | using System;
using System.Linq.Expressions;
using System.Web.Mvc;
using System.Web.Mvc.Html;
namespace WebApplication.Helpers
{
public static class SiteYesNoForHelper
{
/// <summary>
/// Extension method to provide consistent radio button layouts.
/// </summary>
public sta... | mit | C# |
f5fec8fd225bb3a4c0e173b8a5173b319ed60372 | Simplify island get | wwwwwwzx/3DSRNGTool | 3DSRNGTool/Gen7/Gen7Encounter/FishingArea7.cs | 3DSRNGTool/Gen7/Gen7Encounter/FishingArea7.cs | using Pk3DSRNGTool.Core;
namespace Pk3DSRNGTool
{
public class FishingArea7 : EncounterArea
{
public override int[] Species { get; set; } = new int[2];
public byte NPC;
public bool Longdelay; // 89/97 vs 78
public bool Lapras; // Increase pkm generation delay by 2
publ... | using Pk3DSRNGTool.Core;
namespace Pk3DSRNGTool
{
public class FishingArea7 : EncounterArea
{
public override int[] Species { get; set; } = new int[2];
public byte NPC;
public bool Longdelay; // 89/97 vs 78
public bool Lapras; // Increase pkm generation delay by 2
publ... | mit | C# |
26a836d49531df76714e467ee01ffb213934835c | Fix for json string | DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor | Dataphoria/Dataphoria.Web/Controllers/DataController.cs | Dataphoria/Dataphoria.Web/Controllers/DataController.cs | using Alphora.Dataphor.DAE.REST;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Web.Http;
using System.Web.Http.Cors;
namespace Alphora.Dataphor.Dataphoria.Web.Controllers
{
[RoutePrefix("data")]
[EnableCors("... | using Alphora.Dataphor.DAE.REST;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Cors;
namespace Alphora.Dataphor.Dataphoria.Web.Controllers
{
[RoutePrefix("data")]
[EnableCors("*", "*", "*")]
public class DataControlle... | bsd-3-clause | C# |
d6aa5682db14637ef894c4822e928469204e159d | Remove new line | inputfalken/Sharpy | GeneratorAPI/Generator.cs | GeneratorAPI/Generator.cs | using System;
namespace GeneratorAPI {
public static class Generator {
/// <summary>
/// <para>
/// Contains methods for creating Generators with various Providers.
/// </para>
/// </summary>
public static GeneratorFactory Factory { get; } = new Gene... | using System;
namespace GeneratorAPI {
public static class Generator {
/// <summary>
/// <para>
/// Contains methods for creating Generators with various Providers.
/// </para>
/// </summary>
public static GeneratorFactory Factory { get; } = new Gene... | mit | C# |
5461188c3912a2dd30f97bfad7ca874ab03281eb | Update DateTimeExtensions.cs | keith-hall/Extensions,keith-hall/Extensions | src/DateTimeExtensions.cs | src/DateTimeExtensions.cs | using System;
using System.Globalization;
namespace HallLibrary.Extensions
{
public static class DateTimeExtensions
{
/// <summary>
/// Converts the specified <see cref="DateTime"/> to a <see cref="String"/>, in ISO-8601 format.
/// </summary>
/// <param name="dt">The date to convert.</param>
/// <param na... | using System;
using System.Globalization;
namespace HallLibrary.Extensions
{
public static class DateTimeExtensions
{
public static string ToISO8601String(this DateTime dt)
{ // ISO-8601 date format
return dt.ToString(@"yyyy-MM-ddTHH:mm:ss.fff", CultureInfo.InvariantCulture);
}
}
}
| apache-2.0 | C# |
bf567e6df56fad7ef637a03b274cad2a1afa10fc | Make settings textboxes commit on focus lost | peppy/osu,johnneijzen/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,2yangk23/osu,ppy/osu | osu.Game/Overlays/Settings/SettingsTextBox.cs | osu.Game/Overlays/Settings/SettingsTextBox.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.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings
{
public class SettingsTextBox : SettingsItem<string>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings
{
public class SettingsTextBox : SettingsItem<string>
... | mit | C# |
fd3340c7260bc6d99c0db07f0b5cfb3647e6251d | Update XPathGeometryTypeConverter.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Serializer.Xaml/Converters/XPathGeometryTypeConverter.cs | src/Serializer.Xaml/Converters/XPathGeometryTypeConverter.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
#if NETSTANDARD1_3
using System.ComponentModel;
#endif
using Core2D.Path;
using Core2D.Path.Parser;
using Portable.Xaml.C... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
#if NETSTANDARD1_3
using System.ComponentModel;
#else
using Portable.Xaml.ComponentModel;
#endif
using Core2D.Path;
using... | mit | C# |
069d0a0f5d0007a8cdc78b7adb571340456e9329 | Update NotesRepository.cs | CarmelSoftware/MVCDataRepositoryXML | Models/NotesRepository.cs | Models/NotesRepository.cs | ////// TODO
The repo here will take care of all CRUD operations
| ////// TODO
| mit | C# |
0687754857db6b9a081256db721b011834258528 | Update assembly signature | muojp/ptfluentapi-portable | PivotalTracker.FluentAPI.PCL/Properties/AssemblyInfo.cs | PivotalTracker.FluentAPI.PCL/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("PivotalTracker.FluentAPI.PCL")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigurat... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("PivotalTracker.FluentAPI.PCL")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigurat... | mit | C# |
37bf1aa593da1c0cea441487b2a0a56f996e0bf7 | implement StandardSerializator serialize() | zhanglei4214/Cache.NET | SharpCache/Common/Serialization/StandardSerializator.cs | SharpCache/Common/Serialization/StandardSerializator.cs | namespace SharpCache.Common.Serialization
{
#region Using Directives
using System;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
#endregion
internal class StandardSerializator
{
public static byte[] Serialize(object value)
{
if (!value.G... | namespace SharpCache.Common.Serialization
{
#region Using Directives
using System;
#endregion
internal class StandardSerializator
{
public static byte[] Serialize(object value)
{
throw new NotImplementedException();
}
public static ISerializableCache De... | mit | C# |
b205ddd62147a7d4bad60fc674a8ca5c0ff3496d | Reimplement old style of listing for AccessScopeService | clement911/ShopifySharp,nozzlegear/ShopifySharp | ShopifySharp/Services/AccessScope/AccessScopeService.cs | ShopifySharp/Services/AccessScope/AccessScopeService.cs | using ShopifySharp.Filters;
using ShopifySharp.Infrastructure;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using ShopifySharp.Lists;
namespace ShopifySharp
{
/// <summary>
/// A service for getting the access scopes associated with the access token
/// </summary>... | using ShopifySharp.Filters;
using ShopifySharp.Infrastructure;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace ShopifySharp
{
/// <summary>
/// A service for getting the access scopes associated with the access token
/// </summary>
public class AccessSc... | mit | C# |
e43dba8084b47fc5b9649f49ce4316cf4b855e7c | Update nuget url to https | NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer | Core/NuGetConstants.cs | Core/NuGetConstants.cs | namespace NuGetPe
{
public static class NuGetConstants
{
public static readonly string DefaultFeedUrl = "https://www.nuget.org/api/v2/";
public static readonly string V2LegacyFeedUrl = "https://nuget.org/api/v2/";
public static readonly string PluginFeedUrl = "http://www.myget.org/F/npe... | namespace NuGetPe
{
public static class NuGetConstants
{
public static readonly string DefaultFeedUrl = "http://www.nuget.org/api/v2/";
public static readonly string V2LegacyFeedUrl = "https://nuget.org/api/v2/";
public static readonly string PluginFeedUrl = "http://www.myget.org/F/npe/... | mit | C# |
31230a0ae8bd8a27ccd9355da61ac25ce601b554 | Add interface | MistyKuu/bitbucket-for-visual-studio,MistyKuu/bitbucket-for-visual-studio | Source/GitClientVS.Contracts/Interfaces/Services/IGitWatcher.cs | Source/GitClientVS.Contracts/Interfaces/Services/IGitWatcher.cs | using GitClientVS.Contracts.Models.GitClientModels;
namespace GitClientVS.Contracts.Interfaces.Services
{
public interface IGitWatcher
{
GitRemoteRepository ActiveRepo { get; }
}
} | namespace GitClientVS.Contracts.Interfaces.Services
{
public interface IGitWatcher
{
}
} | mit | C# |
e59bd73db7553c6976e6759afef6cb1699521d62 | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
f1c6ae026b408ceb8657d1facbfa6aeac38d53f7 | Add GetCandles to PatternForm | alexeykuzmin0/DTW | DTW/GUI/PatternForm.cs | DTW/GUI/PatternForm.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GUI
{
public partial class PatternForm : Form
{
Finance.AbstractCandleTokenize... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GUI
{
public partial class PatternForm : Form
{
Finance.AbstractCandleTokenize... | apache-2.0 | C# |
c1af5824a0aa02f924e4178f42e6106c5b380d79 | Bump nuget packages to v2.0.0-beta2 | honestegg/cassette,damiensawyer/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,honestegg/cassette | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Andrew Davey")]
[assembly: AssemblyProduct("Cassette")]
[assembly: AssemblyCopyright("Copyright © 2011 Andrew Davey")]
[assembly: AssemblyInformationalVersion("2.0.0-beta2")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyFileVersion("2.0.0.0"... | using System.Reflection;
[assembly: AssemblyCompany("Andrew Davey")]
[assembly: AssemblyProduct("Cassette")]
[assembly: AssemblyCopyright("Copyright © 2011 Andrew Davey")]
[assembly: AssemblyInformationalVersion("2.0.0-beta1")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyFileVersion("2.0.0.0"... | mit | C# |
63a012ef142bdb2785d0405af641cdffeb153502 | Update SheetFilterType.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/SheetFilterType.cs | main/Smartsheet/Api/Models/SheetFilterType.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// 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
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
e659fc18ba76ae619d376de65b20a6212aadc0e8 | add HitTestContext.layerMask, HitTestContext.maxDistance | fairygui/FairyGUI-unity | Source/Scripts/Core/HitTest/HitTestContext.cs | Source/Scripts/Core/HitTest/HitTestContext.cs | using System.Collections.Generic;
using UnityEngine;
namespace FairyGUI
{
/// <summary>
///
/// </summary>
public class HitTestContext
{
//set before hit test
public static Vector2 screenPoint;
public static Vector3 worldPoint;
public static Vector3 direction;
public static bool forTouch... | using System.Collections.Generic;
using UnityEngine;
namespace FairyGUI
{
/// <summary>
///
/// </summary>
public class HitTestContext
{
//set before hit test
public static Vector2 screenPoint;
public static Vector3 worldPoint;
public static Vector3 direction;
public static bool forTouch... | mit | C# |
f75e6c307df4189a75e56aab01ab0a2ab16c475a | Remove reference to unused "Tasks". | ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog | Take2/NuLog/Targets/ConsoleTarget.cs | Take2/NuLog/Targets/ConsoleTarget.cs | /* © 2017 Ivan Pointer
MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE
Source on GitHub: https://github.com/ivanpointer/NuLog */
using NuLog.LogEvents;
using System;
namespace NuLog.Targets
{
public class ConsoleTarget : LayoutTargetBase
{
public override void Write(LogEvent log... | /* © 2017 Ivan Pointer
MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE
Source on GitHub: https://github.com/ivanpointer/NuLog */
using NuLog.LogEvents;
using System;
using System.Threading.Tasks;
namespace NuLog.Targets
{
public class ConsoleTarget : LayoutTargetBase
{
public ov... | mit | C# |
e9e4427b42f4a8db052d300862b0969206dc84b2 | Update core-setup dependency versions (#3231) | mlorbetske/cli,borgdylan/dotnet-cli,ravimeda/cli,ravimeda/cli,mylibero/cli,johnbeisner/cli,mlorbetske/cli,naamunds/cli,johnbeisner/cli,mylibero/cli,JohnChen0/cli,Faizan2304/cli,AbhitejJohn/cli,AbhitejJohn/cli,blackdwarf/cli,Faizan2304/cli,weshaggard/cli,svick/cli,MichaelSimons/cli,FubarDevelopment/cli,svick/cli,Michael... | build_projects/shared-build-targets-utils/DependencyVersions.cs | build_projects/shared-build-targets-utils/DependencyVersions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.DotNet.Cli.Build
{
public class DependencyVersions
{
public static readonly string CoreCLRVersion = "1.0.2-rc3-24123-01";
public static readonly string SharedFrameworkVersion =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.DotNet.Cli.Build
{
public class DependencyVersions
{
public static readonly string CoreCLRVersion = "1.0.2-rc3-24123-01";
public static readonly string SharedFrameworkVersion =... | mit | C# |
7e321e4833740559a86ae1692122d5db3b654b65 | Fix serialization bug -- Airport cannot be deserialized | karolz-ms/diagnostics-eventflow | AirTrafficControl.Interfaces/Fix.cs | AirTrafficControl.Interfaces/Fix.cs | using System;
using System.Runtime.Serialization;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AirTrafficControl.Interfaces
{
[DataContract]
[KnownType(typeof(Airport))]
public class Fix
{
public Fix(string name, string display... | using System;
using System.Runtime.Serialization;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AirTrafficControl.Interfaces
{
[DataContract]
public class Fix
{
public Fix(string name, string displayName)
{
if (s... | mit | C# |
e2ea92e21f7d3a6fad4459a8cfdaadbbcfead410 | Use framework method to convert rad to deg | smoogipoo/osu,ppy/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.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.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Utils;
using osu.Game.Graphics;
u... | // 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.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods... | mit | C# |
64f62ad1b93060b10392ee0d921ea3e9736624ab | Rename JoystickEvent.PressedJoystickButtons -> PressedButtons | EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,ZLima12/osu-fr... | osu.Framework/Input/Events/JoystickButtonEvent.cs | osu.Framework/Input/Events/JoystickButtonEvent.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Collections.Generic;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Input.States;
namespace osu.Framework.Input.Events
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Collections.Generic;
using osu.Framework.Extensions.TypeExtensions;
using osu.Framework.Input.States;
namespace osu.Framework.Input.Events
{
... | mit | C# |
6534ac8c2cc07212e15326e7f0c409e836fef34e | fix for #56 | rough007/PythLR | CyLR/src/archive/SharpZipArchive.cs | CyLR/src/archive/SharpZipArchive.cs | #if DOT_NET_4_0
using System;
using System.IO;
using ICSharpCode.SharpZipLib.Core;
using ICSharpCode.SharpZipLib.Zip;
namespace CyLR.archive
{
class SharpZipArchive : Archive
{
private readonly ZipOutputStream archive;
public SharpZipArchive(Stream destination, String password)
: ... | #if DOT_NET_4_0
using System;
using System.IO;
using ICSharpCode.SharpZipLib.Core;
using ICSharpCode.SharpZipLib.Zip;
namespace CyLR.archive
{
class SharpZipArchive : Archive
{
private readonly ZipOutputStream archive;
public SharpZipArchive(Stream destination, String password)
: ... | apache-2.0 | C# |
63e7abde53ffa6cea674b65ebf73e6ac19fb81eb | Bump version to 10.2.0.23180 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/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("Hea... | 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("Hea... | mit | C# |
b783daa7e84bac981771818fe213beb2a8ea48c9 | Update StringExtensions.cs | BenjaminAbt/snippets | CSharp/StringExtensions.cs | CSharp/StringExtensions.cs | using System;
namespace SchwabenCode.Core
{
public static class StringExtensions
{
/// <summary>
/// Cuts a string with the given max length
/// </summary>
public static string WithMaxLength(this string value, int maxLength)
{
retu... | using System;
namespace SchwabenCode.StringExtensions
{
public static class StringExtensions
{
/// <summary>
/// Cuts a string with the given max length
/// </summary>
public static string WithMaxLength(this string value, int maxLength)
{
... | mit | C# |
1d2f2e44a73683db188c610009a28e43b508398f | Improve SchemeHandler documentation | battewr/CefSharp,battewr/CefSharp,windygu/CefSharp,illfang/CefSharp,ruisebastiao/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,wangzheng888520/CefSharp,rlmcneary2/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,AJDev77/CefSharp,AJDev77/CefSharp,zhangjingpu/CefSharp,wangzheng888520/CefSharp,joshvera/CefSha... | CefSharp/ISchemeHandler.cs | CefSharp/ISchemeHandler.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public interface ISchemeHandler
{
/// <summary>
/// Processes a custom scheme-based request asynchron... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public interface ISchemeHandler
{
/// <summary>
/// Processes a custom scheme-based request asynchron... | bsd-3-clause | C# |
ce780bf948e9223b38a6255f4de25eeb868b6ac0 | Fix TextInputSource getting created when there's no window for it to use. | RedNesto/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,naoey/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,ppy/osu-frame... | osu.Framework.Desktop/Platform/DesktopGameHost.cs | osu.Framework.Desktop/Platform/DesktopGameHost.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Threading.Tasks;
using osu.Framework.Platform;
using OpenTK;
using osu.Framework.Desktop.Input;
using osu.Framework.Input;
namespace os... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Threading.Tasks;
using osu.Framework.Platform;
using OpenTK;
using osu.Framework.Desktop.Input;
using osu.Framework.Input;
namespace os... | mit | C# |
54f6d569fdc0a5a47ee6cef7e16a35e36fa22950 | Simplify the .pro file names | markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation | packages/QtCreatorBuilder/dev/QtCreatorBuilder.cs | packages/QtCreatorBuilder/dev/QtCreatorBuilder.cs | // <copyright file="QtCreatorBuilder.cs" company="Mark Final">
// Opus package
// </copyright>
// <summary>QtCreator package</summary>
// <author>Mark Final</author>
[assembly: Opus.Core.DeclareBuilder("QtCreator", typeof(QtCreatorBuilder.QtCreatorBuilder))]
// Automatically generated by Opus v0.20
namespace ... | // <copyright file="QtCreatorBuilder.cs" company="Mark Final">
// Opus package
// </copyright>
// <summary>QtCreator package</summary>
// <author>Mark Final</author>
[assembly: Opus.Core.DeclareBuilder("QtCreator", typeof(QtCreatorBuilder.QtCreatorBuilder))]
// Automatically generated by Opus v0.20
namespace ... | bsd-3-clause | C# |
a49d6139f709aad72119ddd290a7c7425b369254 | Add instanceperrequest lifetime scope to all services | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Zk/App_Start/IocConfig.cs | Zk/App_Start/IocConfig.cs | using System.Web.Mvc;
using Autofac;
using Autofac.Integration.Mvc;
using Zk.Models;
using Zk.Services;
using Zk.Repositories;
namespace Zk
{
public static class IocConfig
{
public static void RegisterDependencies()
{
var builder = new ContainerBuilder();
builder.Regist... | using System.Web.Mvc;
using Autofac;
using Autofac.Integration.Mvc;
using Zk.Models;
using Zk.Services;
using Zk.Repositories;
namespace Zk
{
public static class IocConfig
{
public static void RegisterDependencies()
{
var builder = new ContainerBuilder();
builder.Regist... | mit | C# |
6c602edd18faea59c6a9d2351c175fffebe739a1 | Change CaF file system paths | ColdMatter/EDMSuite,ColdMatter/EDMSuite,ColdMatter/EDMSuite,ColdMatter/EDMSuite | DAQ/PHBonesawFileSystem.cs | DAQ/PHBonesawFileSystem.cs | using System;
namespace DAQ.Environment
{
public class PHBonesawFileSystem : DAQ.Environment.FileSystem
{
public PHBonesawFileSystem()
{
Paths.Add("MOTMasterDataPath", "C:\\Users\\cafmot\\Box Sync\\CaF MOT\\MOTData\\MOTMasterData\\");
Paths.Add("scriptListPath", "C:\\Co... | using System;
namespace DAQ.Environment
{
public class PHBonesawFileSystem : DAQ.Environment.FileSystem
{
public PHBonesawFileSystem()
{
Paths.Add("MOTMasterDataPath", "C:\\Users\\cafmot\\Box\\CaF MOT\\MOTData\\MOTMasterData\\");
Paths.Add("scriptListPath", "C:\\Control... | mit | C# |
4e9b3be6feb25a95dc671ca2bf380d975f191c35 | Remove duplication in Command classes. | ryanjfitz/SimpSim.NET | SimpSim.NET.Presentation/Command.cs | SimpSim.NET.Presentation/Command.cs | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
namespace SimpSim.NET.Presentation
{
internal class Command : ICommand
{
protected readonly Action ExecuteAction;
protected readonly Func<bool> CanExecuteFunc;
public Command(Action executeAc... | using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
namespace SimpSim.NET.Presentation
{
internal class Command : ICommand
{
private readonly Action _executeAction;
private readonly Func<bool> _canExecuteFunc;
public Command(Action executeActi... | mit | C# |
ceaa48958e7df7003c1750ed8e8f7aeb568913a6 | use UID.ID as GetHashCode() | dotmos/uGameFramework,dotmos/uGameFramework | Unity/Assets/GameFramework/Modules/ECS/UID.cs | Unity/Assets/GameFramework/Modules/ECS/UID.cs | using System.Collections;
using System.Collections.Generic;
namespace ECS {
/// <summary>
/// Unique ID
/// </summary>
public struct UID {
public int ID;
public UID(int ID) {
this.ID = ID;
}
public void SetID(int ID) {
this.ID = ID;
}
... | using System.Collections;
using System.Collections.Generic;
namespace ECS {
/// <summary>
/// Unique ID
/// </summary>
public struct UID {
public int ID;
public UID(int ID) {
this.ID = ID;
}
public void SetID(int ID) {
this.ID = ID;
}
... | mit | C# |
5cf869cf8edca26496f90c1d54d31062a06816d4 | Fix incorrect nullability specific on `ITrackableConfigManager` | ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Configuration/Tracking/ITrackableConfigManager.cs | osu.Framework/Configuration/Tracking/ITrackableConfigManager.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.Bindables;
namespace osu.Framework.Configuration.Tracking
{
/// <summary>
/// An <see cref="IConfigManager"/> that provides a way to track i... | // 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.Bindables;
namespace osu.Framework.Configuration.Tracking
{
/// <summary>
/// An <see cref="IConfigManager"/> that provides a way to track i... | mit | C# |
9a10ecb3789630bd3715ce5e38ffd2cfe5bc1b24 | Clarify purpose of `APIUserScoreAggregate` | peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game/Online/API/Requests/Responses/APIUserScoreAggregate.cs | osu.Game/Online/API/Requests/Responses/APIUserScoreAggregate.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using Newtonsoft.Json;
using osu.Game.Rulesets.Mods;
using osu.Game.Scoring;
namespace osu.Game.Online.API.Requests.Responses
{
/// ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using Newtonsoft.Json;
using osu.Game.Rulesets.Mods;
using osu.Game.Scoring;
namespace osu.Game.Online.API.Requests.Responses
{
publ... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.