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 |
|---|---|---|---|---|---|---|---|---|
5382706466d36bdd02a000f0a9928c909f2df114 | test fix | fschwiet/DreamNJasmine | NJasmine.Tests/PassingFixtures/test_name_joins_specification.cs | NJasmine.Tests/PassingFixtures/test_name_joins_specification.cs | using NJasmine;
using NUnit.Framework;
namespace NJasmineTests.PassingFixtures
{
[Explicit]
[RunExternal(true, ExpectedStrings = new string[]
{
@"NJasmineTests.PassingFixtures.test_name_joins_specification, simple test",
@"NJasmineTests.PassingFixtures.test_name_joins_specificatio... | using NJasmine;
using NUnit.Framework;
namespace NJasmineTests.PassingFixtures
{
[Explicit]
[RunExternal(true, ExpectedStrings = new string[]
{
@"NJasmineTests.FailingFixtures.test_name_joins_specification, simple test",
@"NJasmineTests.FailingFixtures.test_name_joins_specificatio... | mit | C# |
f16a415fe784efc36745e049e28fe51f2794c8f9 | Add 'fix squiggly' to the test case | karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/R... | src/R/Editor/Application.Test/Validation/ErrorTagTest.cs | src/R/Editor/Application.Test/Validation/ErrorTagTest.cs | using System.Diagnostics.CodeAnalysis;
using Microsoft.R.Editor.Application.Test.TestShell;
using Microsoft.R.Editor.ContentType;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.R.Editor.Application.Test.Validation {
[ExcludeFromCodeCoverage]
[TestClass]
public class ErrorTagTest {... | using System.Diagnostics.CodeAnalysis;
using Microsoft.R.Editor.Application.Test.TestShell;
using Microsoft.R.Editor.ContentType;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.R.Editor.Application.Test.Validation {
[ExcludeFromCodeCoverage]
[TestClass]
public class ErrorTagTest {... | mit | C# |
8b4fcf1a0896d7b35c0e4a3efae74d0fbcff19bf | Fix direction icons (#10592) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Client/UserInterface/Controls/DirectionIcon.cs | Content.Client/UserInterface/Controls/DirectionIcon.cs | using Robust.Client.Graphics;
using Robust.Client.UserInterface.Controls;
namespace Content.Client.UserInterface.Controls;
/// <summary>
/// Simple control that shows an arrow pointing in some direction.
/// </summary>
/// <remarks>
/// The actual arrow and other icons are defined in the style sheet.
/// </re... | using Robust.Client.Graphics;
using Robust.Client.UserInterface.Controls;
namespace Content.Client.UserInterface.Controls;
/// <summary>
/// Simple control that shows an arrow pointing in some direction.
/// </summary>
/// <remarks>
/// The actual arrow and other icons are defined in the style sheet.
/// </re... | mit | C# |
8093645ae7a8be223af4a43cdd21eccf90964ff9 | Allow the scope popping code to work correctly when all you have is the Interface. | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT | LINQToTTree/LinqToTTreeInterfacesLib/IGeneratedCode.cs | LINQToTTree/LinqToTTreeInterfacesLib/IGeneratedCode.cs |
namespace LinqToTTreeInterfacesLib
{
/// <summary>
/// Interface for implementing an object that will contain a complete single query
/// </summary>
public interface IGeneratedCode
{
/// <summary>
/// Add a new statement to the current spot where the "writing" currsor is p... |
namespace LinqToTTreeInterfacesLib
{
/// <summary>
/// Interface for implementing an object that will contain a complete single query
/// </summary>
public interface IGeneratedCode
{
/// <summary>
/// Add a new statement to the current spot where the "writing" currsor is p... | lgpl-2.1 | C# |
0f94de5e73e00c6195c524122666206ac4249bdb | Fix adding to list | OlegAxenow/Method.Injection | Method.Inject.Spec/Injections/DoWorkInjectionDirect.cs | Method.Inject.Spec/Injections/DoWorkInjectionDirect.cs | using Method.Inject.Spec.Types;
namespace Method.Inject.Spec.Injections
{
/// <summary>
/// Test direct type injection (without interfaces).
/// </summary>
public class DoWorkInjectionDirect : MethodInjection
{
public virtual void DoWork(BaseType instance, string parameter)
{
instance.CallsLog.Add(GetType(... | using Method.Inject.Spec.Types;
namespace Method.Inject.Spec.Injections
{
public class DoWorkInjectionDirect : MethodInjection
{
public virtual void DoWork(BaseType instance, string parameter)
{
instance.CallsLog.Add(GetType().Name + ".DoWork(" + parameter + ")");
}
}
} | mit | C# |
e321d6c370e794e13316c818cb12f37601e3926b | Disable a test hanging on TeamCity for Linux | gmartin7/libpalaso,ermshiperete/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,glasseyes/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,glasseyes/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,gtryus/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,gmartin7/l... | SIL.Windows.Forms.Tests/Progress/LogBox/LogBoxTests.cs | SIL.Windows.Forms.Tests/Progress/LogBox/LogBoxTests.cs | using System;
using NUnit.Framework;
namespace SIL.Windows.Forms.Tests.Progress.LogBox
{
[TestFixture]
public class LogBoxTests
{
private Windows.Forms.Progress.LogBox progress;
[Test]
[Category("KnownMonoIssue")] // this test hangs on TeamCity for Linux
public void ShowLogBox()
{
Console.WriteLine("Sh... | using System;
using NUnit.Framework;
namespace SIL.Windows.Forms.Tests.Progress.LogBox
{
[TestFixture]
public class LogBoxTests
{
private Windows.Forms.Progress.LogBox progress;
[Test]
public void ShowLogBox()
{
Console.WriteLine("Showing LogBox");
using (var e = new LogBoxFormForTest())
{
prog... | mit | C# |
42b7bfe4e70ed7282881958471201b5f0b2ce2c2 | Add extension method to call Fetch on destination instance, e.g. _myFolder.Fetch ('dropbox://myfile.png') | stampsy/Stampsy.ImageSource | Extensions.cs | Extensions.cs | using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
namespace Stampsy.ImageSource
{
public static class Extensions
{
public static Task<TRequest> Fetch<TRequest> (this IDestination<TRequest> destination, Uri url)
where TRequest : Request
{
return Imag... | using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
namespace Stampsy.ImageSource
{
internal static class Extensions
{
public static IObservable<T> SurroundWith<T> (this IObservable<T> a, IObservable<T> b)
{
return b.Concat (a).Concat (b);
}
publ... | mit | C# |
03fd813e824c0dd34817f95a6fd04907f8a9fc62 | Update SingleNodeQueueProvider.cs | danielgerlag/workflow-core | src/WorkflowCore/Services/DefaultProviders/SingleNodeQueueProvider.cs | src/WorkflowCore/Services/DefaultProviders/SingleNodeQueueProvider.cs | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using WorkflowCore.Interface;
namespace WorkflowCore.Services
{
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
/// <summary>
/// ... | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using WorkflowCore.Interface;
namespace WorkflowCore.Services
{
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
/// <summary>
/// ... | mit | C# |
8fb1f8f55e5d369e571b4645aa7c7ec6ef38c37b | Access operator for array is now "item" | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs | src/reni2/FeatureTest/Reference/ArrayElementType.cs | src/reni2/FeatureTest/Reference/ArrayElementType.cs | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayElementType1]
[Target(@"
a: 'Text';
t: a type item;
t dump_print
")]
[Output("(bit)*8[text_item]")]
public sealed class ArrayElementType : CompilerTest {}... | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayElementType1]
[Target(@"
a: 'Text';
t: a type >>;
t dump_print
")]
[Output("(bit)*8[text_item]")]
public sealed class ArrayElementType : CompilerTest {}
} | mit | C# |
1bcf9e1d8006be0f7a8d207bc121bc544b5279c5 | Update LogPile.cs | joshyy/LogPile | LogPile/LogPile.cs | LogPile/LogPile.cs | /*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdict... | using System;
using System.IO;
using System.Reflection;
public class LogPile {
//defaults - use config file to customize
static string dateFormatFileNm = "yyyy-MM-dd"; //easily control file name rollover by using H, m or s in dateFormatFileNm. Default is daily.
static string dateFormatLog = "yyyy-MM-dd HH:mm:... | unlicense | C# |
56fe07b5f9c0b653b581a431ae2d25bcd958cec1 | remove DEBUG check | ssg/SimpleBase,ssg/SimpleBase | benchmark/EncoderBenchmarks.cs | benchmark/EncoderBenchmarks.cs | using System;
using BenchmarkDotNet.Attributes;
using SimpleBase;
namespace benchmark;
public class EncoderBenchmarks
{
private readonly byte[] buffer = new byte[64];
[Benchmark(Baseline = true)]
public string DotNet_Base64() => Convert.ToBase64String(buffer);
[Benchmark]
public string SimpleBa... | using System;
using BenchmarkDotNet.Attributes;
using SimpleBase;
namespace benchmark;
#if DEBUG
#error Benchmarks on DEBUG mode aren't supported. Switch to "Release" configuration and try again.
#endif
public class EncoderBenchmarks
{
private readonly byte[] buffer = new byte[64];
[Benchmark(Baseline = tru... | apache-2.0 | C# |
4838ea9150063b4c43d6e957cad59c10cd061381 | test commit | XzXzTeam/BookShop | Model/Book.cs | Model/Book.cs | namespace Model
{
public class Book : PersistableObject
{
public string Name { get; set; }
public string Publisher { get; set; }
}
}
| namespace Model
{
public class Book : PersistableObject
{
public string Name { get; set; }
}
}
| epl-1.0 | C# |
701b53256beb9114a05887aa8d0899e040b20e59 | Add scorev2 to mods | stanriders/den0bot,stanriders/den0bot | den0bot.Modules.Osu/Osu/Types/Mods.cs | den0bot.Modules.Osu/Osu/Types/Mods.cs | // den0bot (c) StanR 2019 - MIT License
using System;
namespace den0bot.Modules.Osu.Osu.Types
{
/// <summary>
/// Bitwise list of all mods
/// </summary>
[Flags]
public enum Mods
{
None = 0,
NF = 1,
EZ = 2,
TD = 4, // previously NoVideo, now TouchDevice
HD = 8,
HR = 16,
SD = 32,
DT = 64,
HT = ... | // den0bot (c) StanR 2019 - MIT License
using System;
namespace den0bot.Modules.Osu.Osu.Types
{
/// <summary>
/// Bitwise list of all mods
/// </summary>
[Flags]
public enum Mods
{
None = 0,
NF = 1,
EZ = 2,
TD = 4, // previously NoVideo, now TouchDevice
HD = 8,
HR = 16,
SD = 32,
DT = 64,
HT = ... | mit | C# |
bc90793b1c59da7ca83bb9a5ca4b6ae1fcd62c72 | Trim whitespace | 2yangk23/osu,EVAST9919/osu,DrabWeb/osu,naoey/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,naoey/osu,johnneijzen/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,Frontear/osuKyzer,naoey/osu,smoogipoo/osu,D... | osu.Game/Overlays/Settings/Sections/Gameplay/GeneralSettings.cs | osu.Game/Overlays/Settings/Sections/Gameplay/GeneralSettings.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Gameplay
{
publi... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Gameplay
{
publi... | mit | C# |
4a65ecb408417b2b0c642ed63e96c1281e15a9e3 | remove limitation on AppSettings table value column | luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboi... | src/Abp.Zero.Common/Configuration/Setting.cs | src/Abp.Zero.Common/Configuration/Setting.cs | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
namespace Abp.Configuration
{
/// <summary>
/// Represents a setting for a tenant or user.
/// </summary>
[Table("AbpSettings")]
public cl... | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
namespace Abp.Configuration
{
/// <summary>
/// Represents a setting for a tenant or user.
/// </summary>
[Table("AbpSettings")]
public cl... | mit | C# |
6a213c5d39826ff3a83765e59432c6dc14696840 | Prepare for new implementation of Aggregate Atomic Action | Elders/Cronus,Elders/Cronus | src/Elders.Cronus/Properties/AssemblyInfo.cs | src/Elders.Cronus/Properties/AssemblyInfo.cs | // <auto-generated/>
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitleAttribute("Elders.Cronus")]
[assembly: AssemblyDescriptionAttribute("Elders.Cronus")]
[assembly: ComVisibleAttribute(false)]
[assembly: AssemblyProductAttribute("Elders.Cronus")]
[assembly: AssemblyCopyrightAtt... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyTitleAttribute("Elders.Cronus")]
[assembly: AssemblyDescriptionAttribute("Elders.Cronus")]
[assembly: AssemblyProductAttribute("Elders.Cronus")]
[assembly: AssemblyVersionAttribute("2.0.0")]
[assembly: AssemblyInformationalVersionAttribute("2.0.0")]
[as... | apache-2.0 | C# |
b81cf35f72fd202acfd4ff2d2ba5fc1f71c8fe3d | Fix C# 9 syntax | mattwcole/gelf-extensions-logging | src/Gelf.Extensions.Logging/TcpGelfClient.cs | src/Gelf.Extensions.Logging/TcpGelfClient.cs | using System.IO;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Gelf.Extensions.Logging
{
public class TcpGelfClient : IGelfClient
{
private readonly ReaderWriterLockSlim _lockSlim = new();
private readonly GelfLoggerOptions _option... | using System.IO;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Gelf.Extensions.Logging;
public class TcpGelfClient : IGelfClient
{
private readonly ReaderWriterLockSlim _lockSlim = new();
private readonly GelfLoggerOptions _options;
private T... | mit | C# |
08993d4437df83b22b01ed54158b1e50c0b49c06 | Update AssemblyVersion to 4.0.0.0 (see #142) | mganss/HtmlSanitizer | src/HtmlSanitizer/Properties/AssemblyInfo.cs | src/HtmlSanitizer/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
#if !NETSTANDARD
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)... | using System.Reflection;
using System.Runtime.InteropServices;
#if !NETSTANDARD
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)... | mit | C# |
9bbf7d68eefca8499b71725629dfcd9d17fb2dd3 | increase version no | gigya/microdot | SolutionVersion.cs | SolutionVersion.cs | #region Copyright
// Copyright 2017 Gigya 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
//
// THI... | #region Copyright
// Copyright 2017 Gigya 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
//
// THI... | apache-2.0 | C# |
f7c3193a7739e288ffa47a44832de08e919c5944 | Return a value, in fact a float (using managed DBus extensions) | tmds/Tmds.DBus | TestServer.cs | TestServer.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
using org.freedesktop.DBus;
using System.IO;
using System.Net;
using System.Net.Sockets;
using Mono.Unix;
public class TestServer
{
//TODO: complete this t... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
using org.freedesktop.DBus;
using System.IO;
using System.Net;
using System.Net.Sockets;
using Mono.Unix;
public class TestServer
{
//TODO: complete this t... | mit | C# |
68c212e814b0ac38db25a29bd9f6cfc953514f34 | Enable raven db in master | Vavro/DragonContracts,Vavro/DragonContracts | DragonContracts/DragonContracts/Base/RavenDbController.cs | DragonContracts/DragonContracts/Base/RavenDbController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using DragonContracts.Indexes;
using DragonContracts.Models;
using Raven.Client;
using Raven.Client... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using DragonContracts.Indexes;
using DragonContracts.Models;
using Raven.Client;
using Raven.Client... | mit | C# |
cd2023d09699ce2cee27665f0f5e36e9b8914d66 | update font (#720) | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/_Head.cshtml | input/_Head.cshtml | <link rel="apple-touch-icon" sizes="180x180" href="@Context.GetLink("/assets/img/favicons/apple-touch-icon.png")">
<link rel="icon" type="image/png" sizes="32x32" href="@Context.GetLink("/assets/img/favicons/favicon-32x32.png")">
<link rel="icon" type="image/png" sizes="16x16" href="@Context.Get... | <link rel="apple-touch-icon" sizes="180x180" href="@Context.GetLink("/assets/img/favicons/apple-touch-icon.png")">
<link rel="icon" type="image/png" sizes="32x32" href="@Context.GetLink("/assets/img/favicons/favicon-32x32.png")">
<link rel="icon" type="image/png" sizes="16x16" href="@Context.Get... | mit | C# |
2d0bc8d0e628fa064d640c700c4e2296af6daaab | добавить поле old_amount | vknet/vk,vknet/vk | VkNet/Model/Price.cs | VkNet/Model/Price.cs | using System;
using Newtonsoft.Json;
using VkNet.Utils;
namespace VkNet.Model
{
/// <summary>
/// Цена.
/// </summary>
[Serializable]
public class Price
{
/// <summary>
/// Целочисленное значение цены, умноженное на 100.
/// </summary>
[JsonProperty("amount")]
public long? Amount { get; set; }
/// ... | using System;
using VkNet.Utils;
namespace VkNet.Model
{
/// <summary>
/// Цена.
/// </summary>
[Serializable]
public class Price
{
/// <summary>
/// Целочисленное значение цены, умноженное на 100.
/// </summary>
public long? Amount { get; set; }
/// <summary>
/// Валюта.
/// </summary>
public ... | mit | C# |
51107acdffd3978fe73840fdaa137f651de7e561 | Improve section behaviour. | Damnae/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,Nabile-Rahmani/osu,ppy/osu,naoey/osu,2yangk23/osu,naoey/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ZLima12/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,Drezi126/osu,DrabWeb/osu,p... | osu.Game/Users/Profile/ProfileSection.cs | osu.Game/Users/Profile/ProfileSection.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Ga... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Graphics.Spr... | mit | C# |
a8756915bb0199fff6d3acc9194215255dd2b31b | Remove invalid characters from slug, but keep in title. | VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate | BlogTemplate/Services/SlugGenerator.cs | BlogTemplate/Services/SlugGenerator.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlogTemplate.Models;
namespace BlogTemplate.Services
{
public class SlugGenerator
{
private BlogDataStore _dataStore;
public SlugGenerator(Bl... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlogTemplate.Models;
namespace BlogTemplate.Services
{
public class SlugGenerator
{
private BlogDataStore _dataStore;
public SlugGenerator(Bl... | mit | C# |
fbefa0d91e4563adc0533e3089f03049d5d1116e | Change default dps update rate to 0 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/CactbotOverlayConfig.cs | CactbotOverlay/CactbotOverlayConfig.cs | using RainbowMage.OverlayPlugin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Cactbot {
public class CactbotOverlayConfig : OverlayConfigBase {
public static string CactbotAssemblyUri {
get { r... | using RainbowMage.OverlayPlugin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace Cactbot {
public class CactbotOverlayConfig : OverlayConfigBase {
public static string CactbotAssemblyUri {
get { r... | apache-2.0 | C# |
5fda5b8c0b63d308b9a7b43c64b7c0cdd5ba8342 | Edit AssemblyInfo | Vtek/Bartender | Cheers.Cqrs/Properties/AssemblyInfo.cs | Cheers.Cqrs/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("Cheers.Cqrs")]
[assembly: AssemblyDescription("Cheers CQRS contracts")]
[assembly: AssemblyConfig... | 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("Cheers.Cqrs")]
[assembly: AssemblyDescription("Cheers CQRS contracts")]
[assembly: AssemblyConfig... | mit | C# |
33abb512316fba3a563f329498ca8f7c8496c459 | Update Result.cs | nmarazov/Team-Sazerac | OOPTeamwork/OOPTeamwork/Core/Result.cs | OOPTeamwork/OOPTeamwork/Core/Result.cs | using System;
namespace OOPTeamwork.Core
{
public static class Result
{
private static int playerOneNumOfWins;
private static int playerTwoNumOfWins;
public static void PlayerWin(int playerNum)
{
if (playerNum == 1)
{
playerOneNumOfWins++... | using System;
using System.Text;
namespace OOPTeamwork.Core
{
public class Result
{
private static Result instance;
private int playerOneNumOfWins;
private int playerTwoNumOfWins;
private Result()
{
}
public static Result Instance
{
... | mit | C# |
84b6f3ac32c6a99e6547ab11096efd7118cd521c | update clock label | kaseya/Room-Booking-IoT | RB-IoT-App/RB-IoT-App/MainPage.xaml.cs | RB-IoT-App/RB-IoT-App/MainPage.xaml.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls... | apache-2.0 | C# |
4f11f0730259acae29ec165bedf43887fbdab02a | Support different byte encoders for authentication data. | rob-blackbourn/JetBlack.MessageBus | JetBlack.MessageBus.TopicBus/Adapters/TypedClient.cs | JetBlack.MessageBus.TopicBus/Adapters/TypedClient.cs | using System;
using System.Net.Sockets;
using System.Reactive.Concurrency;
using System.Threading;
using JetBlack.MessageBus.Common.IO;
using JetBlack.MessageBus.TopicBus.Messages;
namespace JetBlack.MessageBus.TopicBus.Adapters
{
public class TypedClient<TData> : TypedClient<TData, TData>
{
public Ty... | using System;
using System.Net.Sockets;
using System.Reactive.Concurrency;
using System.Threading;
using JetBlack.MessageBus.Common.IO;
using JetBlack.MessageBus.TopicBus.Messages;
namespace JetBlack.MessageBus.TopicBus.Adapters
{
public class TypedClient<TData> : Client
{
public event EventHandler<Da... | mit | C# |
2491583c2463295c80c0ee06b8e4ad839a47795c | Enable tests running on !Windows too. | bojanrajkovic/pingu | src/Pingu.Tests/ToolHelper.cs | src/Pingu.Tests/ToolHelper.cs | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Pingu.Tests
{
class ToolHelper
{
public static ProcessResult RunPngCheck(string path)
{
var asm = typeof(ToolHelper).GetTypeInfo().Assembly;
var assemblyDir = Path.GetDirect... | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Pingu.Tests
{
class ToolHelper
{
public static ProcessResult RunPngCheck(string path)
{
var asm = typeof(ToolHelper).GetTypeInfo().Assembly;
var assemblyDir = Path.GetDirect... | mit | C# |
7dc244d6446ec5dd01b578e24fa0a2682a89fa7a | Annotate return types | bowencode/Squirrel.Windows,markwal/Squirrel.Windows,Katieleeb84/Squirrel.Windows,markuscarlen/Squirrel.Windows,Katieleeb84/Squirrel.Windows,1gurucoder/Squirrel.Windows,flagbug/Squirrel.Windows,willdean/Squirrel.Windows,punker76/Squirrel.Windows,aneeff/Squirrel.Windows,kenbailey/Squirrel.Windows,Suninus/Squirrel.Windows... | src/Squirrel/NativeMethods.cs | src/Squirrel/NativeMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Squirrel
{
static class NativeMethods
{
[DllImport("version.dll", SetLastError = true)]
[return:MarshalAs(UnmanagedType.Bool)] pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace Squirrel
{
static class NativeMethods
{
[DllImport("version.dll", SetLastError = true)]
public static extern bool GetFileVersionIn... | mit | C# |
76e2836875985193f5fa33d5707c5c8b570e3f87 | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.BluetoothServicesBthPort/ValuesOut.cs | RegistryPlugin.BluetoothServicesBthPort/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.BluetoothServicesBthPort
{
public class ValuesOut:IValueOut
{
public ValuesOut(string btname, string address, DateTimeOffset? lastSeenKey)
{
Name = btname;
Address = address;
... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.BluetoothServicesBthPort
{
public class ValuesOut:IValueOut
{
public ValuesOut(string btname, string address, DateTimeOffset? lastSeenKey)
{
Name = btname;
Address = address;
... | mit | C# |
def2e56d849c821a47bfec9aaa05cd6ea35c8ca3 | Fix for supporting Items without weights. | aliostad/RandomGen,aliostad/RandomGen | src/RandomGen/Fluent/IRandom.cs | src/RandomGen/Fluent/IRandom.cs | using System;
using System.Collections.Generic;
namespace RandomGen.Fluent
{
public interface IRandom : IFluentInterface
{
INumbers Numbers { get; }
INames Names { get; }
ITime Time { get; }
IText Text { get; }
IInternet Internet { get; }
IPhoneNumbers PhoneNumb... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RandomGen.Fluent
{
public interface IRandom : IFluentInterface
{
INumbers Numbers { get; }
INames Names { get; }
ITime Time { get; }
IText Text { get; }
IInternet Internet { ... | mit | C# |
61de3c75402f55704c07da9128778f35b374a52f | Replace accidental tab with spaces | ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu | osu.Game.Rulesets.Osu/Skinning/OsuSkinConfiguration.cs | osu.Game.Rulesets.Osu/Skinning/OsuSkinConfiguration.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.
namespace osu.Game.Rulesets.Osu.Skinning
{
public enum OsuSkinConfiguration
{
HitCirclePrefix,
HitCircleOverlap,
SliderBorderSize,
... | // 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.
namespace osu.Game.Rulesets.Osu.Skinning
{
public enum OsuSkinConfiguration
{
HitCirclePrefix,
HitCircleOverlap,
SliderBorderSize,
... | mit | C# |
efbdf7a4f0544f168d321959fc6745a27ef07381 | Update BinanceCrossCollateralWallet.cs | JKorf/Binance.Net | Binance.Net/Objects/Spot/Futures/BinanceCrossCollateralWallet.cs | Binance.Net/Objects/Spot/Futures/BinanceCrossCollateralWallet.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Binance.Net.Objects.Spot.Futures
{
/// <summary>
/// Cross colateral wallet info
/// </summary>
public class BinanceCrossCollateralWallet
{
/// <summary>
/// Total cross collateral
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Binance.Net.Objects.Spot.Futures
{
/// <summary>
/// Cross colateral wallet info
/// </summary>
public class BinanceCrossCollateralWallet
{
/// <summary>
/// Total cross collateral
/// </summary>
... | mit | C# |
c1d185063424bd77f5b7897141c2a3e394c8add8 | remove debug messages | MrLeebo/unitystation,Necromunger/unitystation,Necromunger/unitystation,MrLeebo/unitystation,fomalsd/unitystation,fomalsd/unitystation,Lancemaker/unitystation,Necromunger/unitystation,MrLeebo/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,Lancemaker/unitystation,fomalsd/unitystat... | UnityProject/Assets/Scripts/Messages/Client/PostToChatMessage.cs | UnityProject/Assets/Scripts/Messages/Client/PostToChatMessage.cs | using System.Collections;
using InputControl;
using UnityEngine;
using UnityEngine.Networking;
using System;
using PlayGroup;
/// <summary>
/// Attempts to send a chat message to the server
/// </summary>
public class PostToChatMessage : ClientMessage<PostToChatMessage>
{
public ChatChannel Channels;
public string ... | using System.Collections;
using InputControl;
using UnityEngine;
using UnityEngine.Networking;
using System;
using PlayGroup;
/// <summary>
/// Attempts to send a chat message to the server
/// </summary>
public class PostToChatMessage : ClientMessage<PostToChatMessage>
{
public ChatChannel Channels;
public string ... | agpl-3.0 | C# |
b2247ea59c9972f95098d13b43699640fe70da45 | Update integrity hash for moment.min.js | martincostello/api,martincostello/api,martincostello/api | src/API/Pages/Shared/_Scripts.cshtml | src/API/Pages/Shared/_Scripts.cshtml | <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.0/js/bootstrap.bundle.min.js" integrity="sha512-9GacT4119eY3AcosfWtHMsT5JyZudrexyEVzTBWV3viP/YfB9e2pEy3N7WXL3SV6ASXpTU0vzzSxsbfsuUH4sQ==" crossorigin="anonymous" referrerpolicy="no-referrer" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/... | <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.0/js/bootstrap.bundle.min.js" integrity="sha512-9GacT4119eY3AcosfWtHMsT5JyZudrexyEVzTBWV3viP/YfB9e2pEy3N7WXL3SV6ASXpTU0vzzSxsbfsuUH4sQ==" crossorigin="anonymous" referrerpolicy="no-referrer" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/... | mit | C# |
f06445f0d412ea41d2f1d82b518907289bc1a4ed | Load next level after 0.33 seconds to prvent button from being stuck and animation to finish | antila/castle-game-jam-2016 | Assets/Demo/Scripts/UI/GameScreen.cs | Assets/Demo/Scripts/UI/GameScreen.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameScreen : MonoBehaviour {
bool allowLevelLoad = true;
string nextLevel;
void OnEnable() {
allowLevelLoad = true;
}
public void LoadScene(string sceneName)
{
... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameScreen : MonoBehaviour {
bool allowLevelLoad = true;
void OnEnable() {
allowLevelLoad = true;
}
public void LoadScene(string sceneName)
{
if (allowLevelLoad) {
... | mit | C# |
866cfefd809975e106e791872ef8cdd099413bda | remove unused using | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Models/TwoFactorProvider.cs | src/Core/Models/TwoFactorProvider.cs | using Bit.Core.Enums;
using Newtonsoft.Json;
using System.Collections.Generic;
using U2F.Core.Utils;
namespace Bit.Core.Models
{
public class TwoFactorProvider
{
public bool Enabled { get; set; }
public Dictionary<string, object> MetaData { get; set; } = new Dictionary<string, object>();
... | using Bit.Core.Enums;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using U2F.Core.Utils;
namespace Bit.Core.Models
{
public class TwoFactorProvider
{
public bool Enabled { get; set; }
public Dictionary<string, object> MetaData { get; set; } = new Dictionary<string, ob... | agpl-3.0 | C# |
664c824f8bfa49beb72300ec869a8004d23243c7 | Use Dictionary and removes setter | lunet-io/markdig | src/Markdig/MarkdownParserContext.cs | src/Markdig/MarkdownParserContext.cs | using System.Collections.Generic;
namespace Markdig
{
/// <summary>
/// Provides a context that can be used as part of parsing Markdown documents.
/// </summary>
public sealed class MarkdownParserContext
{
/// <summary>
/// Gets or sets the context property collection.
/// <... | using System.Collections.Generic;
namespace Markdig
{
/// <summary>
/// Provides a context that can be used as part of parsing Markdown documents.
/// </summary>
public sealed class MarkdownParserContext
{
/// <summary>
/// Gets or sets the context property collection.
/// <... | bsd-2-clause | C# |
25be7265f20d4a4651cd607cabe4cd6797c77169 | Add DebuggerHidden attribute so VS doesn't break when `Break on User-Unhandled Exceptions` is checked | illfang/CefSharp,twxstar/CefSharp,windygu/CefSharp,haozhouxu/CefSharp,yoder/CefSharp,wangzheng888520/CefSharp,AJDev77/CefSharp,gregmartinhtc/CefSharp,battewr/CefSharp,rlmcneary2/CefSharp,windygu/CefSharp,wangzheng888520/CefSharp,battewr/CefSharp,jamespearce2006/CefSharp,zhangjingpu/CefSharp,gregmartinhtc/CefSharp,Harag... | CefSharp.Example/AsyncBoundObject.cs | CefSharp.Example/AsyncBoundObject.cs | // Copyright © 2010-2015 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.
using System;
using System.Diagnostics;
using System.Threading;
namespace CefSharp.Example
{
public class AsyncBoundObject
{
//We... | // Copyright © 2010-2015 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.
using System;
using System.Threading;
namespace CefSharp.Example
{
public class AsyncBoundObject
{
public void Error()
{
... | bsd-3-clause | C# |
19c2f56cd3a386dce970c7191dff463282d981c6 | Fix #15 - When an error occurs in Channel initialization, do not terminate the Channels observable | pragmatrix/NEventSocket,danbarua/NEventSocket,danbarua/NEventSocket,pragmatrix/NEventSocket | src/NEventSocket/OutboundListener.cs | src/NEventSocket/OutboundListener.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="OutboundListener.cs" company="Dan Barua">
// (C) Dan Barua and contributors. Licensed under the Mozilla Public License.
// </copyright>
// --------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="OutboundListener.cs" company="Dan Barua">
// (C) Dan Barua and contributors. Licensed under the Mozilla Public License.
// </copyright>
// --------------------------------------... | mpl-2.0 | C# |
caba78cb5d0ebd67053537e634d613fae733933c | Copy score during submission process to ensure it isn't modified | peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu | osu.Game/Screens/Play/SoloPlayer.cs | osu.Game/Screens/Play/SoloPlayer.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.Diagnostics;
using osu.Game.Online.API;
using osu.Game.Online.Rooms;
using osu.Game.Online.Solo;
using osu.Game.Rulesets;
using osu.Game.Scorin... | // 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.Diagnostics;
using osu.Game.Online.API;
using osu.Game.Online.Rooms;
using osu.Game.Online.Solo;
using osu.Game.Rulesets;
using osu.Game.Scorin... | mit | C# |
f6d1b5803ff263c67b4ee8d52b5ab174653b6d85 | Fix potential NRE | SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake | src/Snowflake.Support.Scraping.Primitives/ResultCuller.cs | src/Snowflake.Support.Scraping.Primitives/ResultCuller.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Snowflake.Extensibility;
using Snowflake.Scraping;
using Snowflake.Scraping.Extensibility;
using Snowflake.Support.Scraping.Primitives.Utility;
using F23.StringSimilarity;
namespace Snowflake.Support.Scraping.Primitives
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Snowflake.Extensibility;
using Snowflake.Scraping;
using Snowflake.Scraping.Extensibility;
using Snowflake.Support.Scraping.Primitives.Utility;
using F23.StringSimilarity;
namespace Snowflake.Support.Scraping.Primitives
{
... | mpl-2.0 | C# |
c6fe8587e3c6c023db6fe81f77a75ee4de33a612 | Read build from VersionCode | ppy/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,ZLima12/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,2yangk23/osu,NeoAdonis/osu,pep... | osu.Android/OsuGameAndroid.cs | osu.Android/OsuGameAndroid.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 Android.App;
using osu.Game;
namespace osu.Android
{
public class OsuGameAndroid : OsuGame
{
public override Version AssemblyVersion... | // 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 Android.App;
using osu.Game;
namespace osu.Android
{
public class OsuGameAndroid : OsuGame
{
public override Version AssemblyVersion... | mit | C# |
6cae42be6f80004c92acb2b299da24d8379b471a | Update UnicodeTypeMaps.cs | SixLabors/Fonts | tests/SixLabors.Fonts.Tests/Unicode/UnicodeTypeMaps.cs | tests/SixLabors.Fonts.Tests/Unicode/UnicodeTypeMaps.cs | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using SixLabors.Fonts.Unicode;
namespace SixLabors.Fonts.Tests.Unicode
{
internal static class UnicodeTypeMaps
{
public static readonly Dictionary<string, BidiCharacterType> ... | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using SixLabors.Fonts.Unicode;
namespace SixLabors.Fonts.Tests.Unicode
{
public static class UnicodeTypeMaps
{
public static readonly Dictionary<string, BidiCharacterType> Bi... | apache-2.0 | C# |
3aad578ae24d9f7bc35af44fa0e40c7d496a7deb | Update index.cshtml | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/docs/handbook/index.cshtml | input/docs/handbook/index.cshtml | Order: 15
---
..
| Order: 15
---
| mit | C# |
950d94455153ed462add1c0a3b9200abb25ff4a5 | Fix Connection_Player handler | ethanmoffat/EndlessClient | EOLib/Net/Handlers/ConnectionPlayerHandler.cs | EOLib/Net/Handlers/ConnectionPlayerHandler.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Threading.Tasks;
using EOLib.Net.Communication;
using EOLib.Net.PacketProcessing;
namespace EOLib.Net.Handlers
{
/// <summary>
/// Handles incoming CONNEC... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Threading.Tasks;
using EOLib.Net.Communication;
using EOLib.Net.PacketProcessing;
namespace EOLib.Net.Handlers
{
/// <summary>
/// Handles incoming CONNEC... | mit | C# |
dc3aaf40562da13babb0a88716bf91caceff48b0 | fix spelling error | loresoft/ShellTools | Source/ShellTools/Commands/CopyPathCommand.cs | Source/ShellTools/Commands/CopyPathCommand.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows.Forms;
using ShellTools.Utility;
namespace ShellTools.Commands
{
public class CopyPathCommand : ShellCommandBase
{
public override bool TryCommand(ShellToolsArguments arguments, out int errorCode)
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows.Forms;
using ShellTools.Utility;
namespace ShellTools.Commands
{
public class CopyPathCommand : ShellCommandBase
{
public override bool TryCommand(ShellToolsArguments arguments, out int errorCode)
... | apache-2.0 | C# |
e6d3f54cf7e992b7320a4e5796d3ee56f31def95 | Change the way version is displayed | omniSpectrum/omniBill | appCS/omniBill/Pages/AboutPage.xaml.cs | appCS/omniBill/Pages/AboutPage.xaml.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.W... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.W... | epl-1.0 | C# |
bb4ae4b6eb07402ced04a046e0bbd53e8283ebc9 | Update AssemblyInfo.cs | faniereynders/WebApiProxy,lust4life/WebApiProxy | WebApiProxy.Server/Properties/AssemblyInfo.cs | WebApiProxy.Server/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# |
aad25cd839aa42c0a4bc6baa76f56e05cd0ae5a6 | Correct comment on Math.Clamp | mattbenic/Numeric | Numeric/Math.cs | Numeric/Math.cs | /*
Copyright(c) 2014 Matt Benic
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, subl... | /*
Copyright(c) 2014 Matt Benic
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, subl... | mit | C# |
bbd9c56e5d021a4cdec09bb0af76503b328de547 | Fix for docking delay | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer | Client/Systems/VesselDockSys/VesselDockMessageSender.cs | Client/Systems/VesselDockSys/VesselDockMessageSender.cs | using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaClient.Network;
using LunaClient.VesselUtilities;
using LunaCommon.Message.Client;
using LunaCommon.Message.Data.Vessel;
using LunaCommon.Message.Interface;
using System.Threading;
namespace LunaClient.Systems.VesselDockSys
{
public class VesselDoc... | using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaClient.Network;
using LunaClient.VesselUtilities;
using LunaCommon.Message.Client;
using LunaCommon.Message.Data.Vessel;
using LunaCommon.Message.Interface;
using System.Threading;
namespace LunaClient.Systems.VesselDockSys
{
public class VesselDoc... | mit | C# |
cdaf9c270104d4863d182f6a33da5e1fc8489506 | Update LimitNumberOfPagesGenerated.cs | aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.... | Examples/CSharp/Articles/LimitNumberOfPagesGenerated.cs | Examples/CSharp/Articles/LimitNumberOfPagesGenerated.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class LimitNumberOfPagesGenerated
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class LimitNumberOfPagesGenerated
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Metho... | mit | C# |
01a0d41de694fb0c4c7dcbfebb53dd3d21b7681c | 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# |
4d30761ce3131eccaab114285018f5ab0cc54a79 | Fix 1M score being possible with only GREATs in mania | UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu | osu.Game.Rulesets.Mania/Judgements/ManiaJudgement.cs | osu.Game.Rulesets.Mania/Judgements/ManiaJudgement.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.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Judgements
{
public class ManiaJudgement : Judgement
{
... | // 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.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Judgements
{
public class ManiaJudgement : Judgement
{
... | mit | C# |
20eee3f4125748411b344fb1737294cc7317d6c9 | Update NormalBullet.cs | lizardmamba/TowerDefense | Assets/Scripts/Bullet/NormalBullet.cs | Assets/Scripts/Bullet/NormalBullet.cs | using UnityEngine;
/*
** Inherit from bullet class.
** Controls the normal bullet behaviour.
*/
public class NormalBullet : Bullet {
#region FIELDS
public float speed = 5.0f; // Bullet speed.
private float distance; // Distance between the bullet and the target.
priva... | using UnityEngine;
/*
** Inherit from bullet class.
** Controls the normal bullet behaviour.
*/
public class NormalBullet : Bullet {
#region FIELDS
public float speed = 5.0f; // Bullet speed.
private float distance; // Distance between the bullet and the target.
priva... | mit | C# |
8230a3bcde10c0e61dfec09d0704305325ecfa24 | Remove excessive logging | sportingsolutions/SS.Integration.UnifiedDataAPIClient.DotNet,sportingsolutions/SS.Integration.UnifiedDataAPIClient.DotNet | SportingSolutions.Udapi.Sdk/Actors/FaultControllerActor.cs | SportingSolutions.Udapi.Sdk/Actors/FaultControllerActor.cs | using System;
using System.Collections.Generic;
using Akka.Actor;
using log4net;
using SportingSolutions.Udapi.Sdk.Events;
using SportingSolutions.Udapi.Sdk.Model.Message;
using SdkErrorMessage = SportingSolutions.Udapi.Sdk.Events.SdkErrorMessage;
namespace SportingSolutions.Udapi.Sdk.Actors
{
public class FaultC... | using System;
using System.Collections.Generic;
using Akka.Actor;
using log4net;
using SportingSolutions.Udapi.Sdk.Events;
using SportingSolutions.Udapi.Sdk.Model.Message;
using SdkErrorMessage = SportingSolutions.Udapi.Sdk.Events.SdkErrorMessage;
namespace SportingSolutions.Udapi.Sdk.Actors
{
public class FaultC... | apache-2.0 | C# |
34d5167ec370c2fe60dd9d5c7a9d9cbeb9b432ba | Remove old render process code that showed a message box for purpose of attaching the debugger - was commented out Preferred method is to use the --renderer-startup-dialog command line flag https://github.com/cefsharp/CefSharp/blob/master/CefSharp.Example/CefExample.cs#L35 | Livit/CefSharp,haozhouxu/CefSharp,dga711/CefSharp,Haraguroicha/CefSharp,joshvera/CefSharp,ruisebastiao/CefSharp,ITGlobal/CefSharp,jamespearce2006/CefSharp,battewr/CefSharp,twxstar/CefSharp,joshvera/CefSharp,Haraguroicha/CefSharp,yoder/CefSharp,windygu/CefSharp,AJDev77/CefSharp,ITGlobal/CefSharp,Livit/CefSharp,rlmcneary... | CefSharp.BrowserSubprocess/Program.cs | CefSharp.BrowserSubprocess/Program.cs | // Copyright © 2010-2015 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.
using System;
using System.Collections.Generic;
using System.Linq;
using CefSharp.Internals;
namespace CefSharp.BrowserSubprocess
{
public cl... | // Copyright © 2010-2015 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using CefSharp.Internals;
namespace CefSharp.Brows... | bsd-3-clause | C# |
a75836d2d9e73e0469abaa99770c873aed50acb7 | Update demo | sunkaixuan/SqlSugar | Src/Asp.Net/SqlServerTest/Program.cs | Src/Asp.Net/SqlServerTest/Program.cs | using OrmTest.PerformanceTesting;
using OrmTest.UnitTest;
using System;
namespace OrmTest
{
class Program
{
/// <summary>
/// Set up config.cs file and start directly F5
/// 设置Config.cs文件直接F5启动例子
/// </summary>
/// <param name="args"></param>
static void Main(st... | using OrmTest.PerformanceTesting;
using OrmTest.UnitTest;
using System;
namespace OrmTest
{
class Program
{
static void Main(string[] args)
{
//OldTestMain.Init();
//Demo
Demo0_SqlSugarClient.Init();
Demo1_Queryable.Init();
Demo2_Upd... | apache-2.0 | C# |
60ec619d684cf503dd434446ff9f7b69652b41c9 | Add URL to stuff info | pjf/StuffManager | StuffManager/Commands/InfoCommand.cs | StuffManager/Commands/InfoCommand.cs | using System;
using System.Linq;
namespace StuffManager.Commands
{
public static class InfoCommand
{
private static string Truncate(string s, int l)
{
if (s.Length < l)
return s;
s = s.Substring(0, l - 3);
return s + "...";
}
... | using System;
using System.Linq;
namespace StuffManager.Commands
{
public static class InfoCommand
{
private static string Truncate(string s, int l)
{
if (s.Length < l)
return s;
s = s.Substring(0, l - 3);
return s + "...";
}
... | mit | C# |
de99ff8eef28b6ccd98f0080e9699ed7232c9363 | update assemblyInfo | ceee/ReadSharp,alexeib/ReadSharp | ReadSharp/Properties/AssemblyInfo.cs | ReadSharp/Properties/AssemblyInfo.cs | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ReadSharp")]
[assembly: AssemblyDescription("Extract meaningful website contents... | 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... | mit | C# |
ffedc905f02e516eb755138b59969dbfb343bb62 | Change Json Serializer in VfsStatEntry to use lower case. This makes it inline with the format C9 uses (https://github.com/c9/vfs-http-adapter) | oliver-feng/kudu,oliver-feng/kudu,EricSten-MSFT/kudu,badescuga/kudu,MavenRain/kudu,kali786516/kudu,juvchan/kudu,barnyp/kudu,YOTOV-LIMITED/kudu,sitereactor/kudu,WeAreMammoth/kudu-obsolete,kenegozi/kudu,EricSten-MSFT/kudu,MavenRain/kudu,dev-enthusiast/kudu,duncansmart/kudu,sitereactor/kudu,shibayan/kudu,kenegozi/kudu,chr... | Kudu.Contracts/Editor/VfsStatEntry.cs | Kudu.Contracts/Editor/VfsStatEntry.cs | using System;
using System.Runtime.Serialization;
namespace Kudu.Contracts.Editor
{
/// <summary>
/// Represents a directory structure. Used by <see cref="VfsControllerBase"/> to browse
/// a Kudu file system or the git repository.
/// </summary>
[DataContract]
public class VfsStatEntry
{
... | using System;
namespace Kudu.Contracts.Editor
{
/// <summary>
/// Represents a directory structure. Used by <see cref="VfsControllerBase"/> to browse
/// a Kudu file system or the git repository.
/// </summary>
public class VfsStatEntry
{
public string Name { get; set; }
publi... | apache-2.0 | C# |
a061707849d715621bf158b10879fe98e7561f2f | Combine all image layers for flavor objects | k-t/SharpHaven | MonoHaven.Client/Resources/Tileset.cs | MonoHaven.Client/Resources/Tileset.cs | using System.Collections.Generic;
using MonoHaven.Graphics;
using MonoHaven.Resources.Layers;
using MonoHaven.Utils;
namespace MonoHaven.Resources
{
public class Tileset
{
private static TextureAtlas atlas;
private readonly WeightList<TextureRegion> groundTiles;
private readonly WeightList<TextureRegion> flav... | using System.Collections.Generic;
using MonoHaven.Graphics;
using MonoHaven.Resources.Layers;
namespace MonoHaven.Resources
{
public class Tileset
{
private static TextureAtlas atlas;
private readonly WeightList<TextureRegion> groundTiles;
private readonly WeightList<TextureRegion> flavorObjects;
private r... | mit | C# |
7ca8911f32b969054867acd0405a7b96f0ce6f2a | Make the about window have a space in the application name | amweiss/vigilant-cupcake | VigilantCupcake/SubForms/AboutBox.cs | VigilantCupcake/SubForms/AboutBox.cs | using System;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
namespace VigilantCupcake.SubForms {
partial class AboutBox : Form {
public AboutBox() {
InitializeComponent();
this.Text = String.Format("About {0}", AssemblyTitle);
this.labelProduct... | using System;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
namespace VigilantCupcake.SubForms {
partial class AboutBox : Form {
public AboutBox() {
InitializeComponent();
this.Text = String.Format("About {0}", AssemblyTitle);
this.labelProduct... | mit | C# |
168d7c6229873b0c56b6606e01fa79e5e19f2c32 | Use fixed AssemblyVersion within minor and patch releases (#270) | maxwellb/csharp-driver,trurl123/csharp-driver,datastax/csharp-driver,maxwellb/csharp-driver,datastax/csharp-driver,mintsoft/csharp-driver | src/Cassandra/Properties/AssemblyInfo.cs | src/Cassandra/Properties/AssemblyInfo.cs | //
// Copyright (C) 2012-2016 DataStax 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 app... | //
// Copyright (C) 2012-2016 DataStax 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 app... | apache-2.0 | C# |
7e96bd9cfba325b3cbbafffbbfcabc3f9b37cd0e | add userAgent with current version included | Yubico/yubico-dotnet-client | YubicoDotNetClient/YubicoValidate.cs | YubicoDotNetClient/YubicoValidate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.IO;
namespace YubicoDotNetClient
{
class YubicoValidate
{
public static YubicoResponse validate(String[] urls)
{
Task<YubicoResponse>[]... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.IO;
namespace YubicoDotNetClient
{
class YubicoValidate
{
public static YubicoResponse validate(String[] urls)
{
Task<YubicoResponse>[]... | bsd-2-clause | C# |
c5636f4ab818d1445f11d53cb0bd09a8a367876e | tidy botwinmodule | jchannon/Botwin | src/BotwinModule.cs | src/BotwinModule.cs | namespace Botwin
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
public class BotwinModule
{
public List<Tuple<string, string, Func<HttpRequest, HttpResponse, RouteData, Task>>> Rout... | namespace Botwin
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
public class BotwinModule
{
public List<Tuple<string, string, Func<HttpRequest, HttpResponse, RouteData, Task>>> Rout... | mit | C# |
cdce2a118024dad2eede94474957bf825068c057 | Bump version | gkonings/Umbraco-CMS,Phosworks/Umbraco-CMS,rasmusfjord/Umbraco-CMS,base33/Umbraco-CMS,lars-erik/Umbraco-CMS,KevinJump/Umbraco-CMS,WebCentrum/Umbraco-CMS,NikRimington/Umbraco-CMS,nul800sebastiaan/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,neilgaietto/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,TimoPerplex/Umbraco-CM... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
[assembly: AssemblyVersion("1.0.*")]
... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
[assembly: AssemblyVersion("1.0.*")]
... | mit | C# |
7ab45c1b22fdf5877383b3ba7ba97e15b95dda37 | Fix water level | Feriority/oculus_hackathon,Feriority/oculus_hackathon,Feriority/oculus_hackathon | Assets/Scripts/Underwater.cs | Assets/Scripts/Underwater.cs | using UnityEngine;
using System.Collections;
public class Underwater : MonoBehaviour {
//This script enables underwater effects. Attach to main camera.
//Define variable
public int underwaterLevel = 25;
//The scene's default fog settings
private bool defaultFog;
private Color defaultFogColor;
private float... | using UnityEngine;
using System.Collections;
public class Underwater : MonoBehaviour {
//This script enables underwater effects. Attach to main camera.
//Define variable
public int underwaterLevel = 20;
//The scene's default fog settings
private bool defaultFog;
private Color defaultFogColor;
private float... | mit | C# |
06ff942b7cf9e19931d0e6256895fa0ff3ee915c | Fix nullable for EdmDate | ginach/msgraph-sdk-dotnet,garethj-msft/msgraph-sdk-dotnet | src/Microsoft.Graph/Models/Generated/RecurrenceRange.cs | src/Microsoft.Graph/Models/Generated/RecurrenceRange.cs | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | mit | C# |
1390453ec9ff58eaef0eceb2ee84a1b45b6f6bda | Fix msearch NRE | KodrAus/elasticsearch-net,azubanov/elasticsearch-net,jonyadamit/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,KodrAus/elasticsearch-net,elastic/elasticsearch-net,RossLieberman/NEST,azubanov/elasticsearch-net,cstlaurent/elasticsearch-net,CSGOpenSource/elasticsearch-net,TheFireCookie/elasticsea... | src/Nest/Search/MultiSearch/MultiSearchJsonConverter.cs | src/Nest/Search/MultiSearch/MultiSearchJsonConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Reflection;
using Elasticsearch.Net.Serialization;
using Nest.Resolvers;
using Elasticsearch.Net;
namespace Nest
{
internal class MultiSearchJsonConverter : JsonConverter
{
public ove... | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Reflection;
using Elasticsearch.Net.Serialization;
using Nest.Resolvers;
using Elasticsearch.Net;
namespace Nest
{
internal class MultiSearchJsonConverter : JsonConverter
{
public ove... | apache-2.0 | C# |
145a90434aa447e01e435445d373b890846330f4 | set default timeout wait time for analysis to 30s | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.Shared/Options/RoslynExtensionsOptions.cs | src/OmniSharp.Shared/Options/RoslynExtensionsOptions.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace OmniSharp.Options
{
public class RoslynExtensionsOptions : OmniSharpExtensionsOptions
{
public bool EnableDecompilationSupport { get; set; }
public bool EnableAnalyzersSupport { get; set; }
pu... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace OmniSharp.Options
{
public class RoslynExtensionsOptions : OmniSharpExtensionsOptions
{
public bool EnableDecompilationSupport { get; set; }
public bool EnableAnalyzersSupport { get; set; }
pu... | mit | C# |
5c8423bcf79dbf3edde373025039dcf6e853ffe4 | Reset VM to be Service based | darrelmiller/HypermediaClients,darrelmiller/HypermediaClients | SwitchApp/WpfSwitchClient/App.xaml.cs | SwitchApp/WpfSwitchClient/App.xaml.cs | using System;
using System.Net.Http;
using System.Windows;
using SwitchClient.Classic;
using SwitchClient.Hyper;
namespace WpfSwitchClient
{
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
var client = new HttpClient()
{... | using System;
using System.Net.Http;
using System.Windows;
using SwitchClient.Classic;
using SwitchClient.Hyper;
namespace WpfSwitchClient
{
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
var client = new HttpClient()
{... | apache-2.0 | C# |
e3479b049a079729b8be4d26e4efeb7f5aa20a40 | Rename variable | appharbor/appharbor-cli | src/AppHarbor/CommandDispatcher.cs | src/AppHarbor/CommandDispatcher.cs | using System;
using System.IO;
using System.Linq;
using Castle.MicroKernel;
namespace AppHarbor
{
public class CommandDispatcher
{
private readonly IAliasMatcher _aliasMatcher;
private readonly ITypeNameMatcher _typeNameMatcher;
private readonly IKernel _kernel;
public CommandDispatcher(IAliasMatcher alias... | using System;
using System.IO;
using System.Linq;
using Castle.MicroKernel;
namespace AppHarbor
{
public class CommandDispatcher
{
private readonly IAliasMatcher _aliasMatcher;
private readonly ITypeNameMatcher _typeNameMatcher;
private readonly IKernel _kernel;
public CommandDispatcher(IAliasMatcher alias... | mit | C# |
e42193649406e4ba72aaf9bb00cd0cec9ba9d91a | add warning about name server synchronisation to manual dns plugin | Lone-Coder/letsencrypt-win-simple | src/main/Plugins/ValidationPlugins/Dns/Manual/Manual.cs | src/main/Plugins/ValidationPlugins/Dns/Manual/Manual.cs | using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
{
class Manual : DnsValidation<ManualOptions, Manual>
{
private IInputService _input;
public Manual(ILogService log, IInputService input, ManualOptions options, string identifier) : base(log, options, identif... | using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
{
class Manual : DnsValidation<ManualOptions, Manual>
{
private IInputService _input;
public Manual(ILogService log, IInputService input, ManualOptions options, string identifier) : base(log, options, identif... | apache-2.0 | C# |
996dfe03f839ad273afb8552f1d4d11d6f357de4 | implement method tryGet to get existing instances out of a lifetime scope | pragmatrix/Konstruktor2 | Konstruktor2/ILifetimeScope.cs | Konstruktor2/ILifetimeScope.cs | using System;
namespace Konstruktor2
{
public interface ILifetimeScope : IDisposable
{
// Resolve roots and all pined instances that refer to it.
object resolveRoot(Type t);
// Resolve in this scope or parent scopes,
// create a new instance in this scope if it is not existing yet.
object r... | using System;
namespace Konstruktor2
{
public interface ILifetimeScope : IDisposable
{
// Resolve roots and all pined instances that refer to it.
object resolveRoot(Type t);
// Resolve in this scope or parent scopes,
// create a new instance in this scope if it is not existing yet.
object r... | bsd-3-clause | C# |
fdf4206b99de14bacb19bc4d857d2dfae5ea56bf | normalize IBU | BeerMath/BeerMath.Net,BeerMath/BeerMath.Net | src/BeerMathLib/Bitterness/Ibu.cs | src/BeerMathLib/Bitterness/Ibu.cs | namespace BeerMath
{
public class Ibu : BeerValue
{
public Ibu(decimal raw)
{
Value = raw;
}
}
} | namespace BeerMath
{
public class Ibu : BeerValue
{
// private constructor so consumers cannot create
private Ibu() { }
public Ibu(decimal raw)
{
Value = raw;
}
}
} | mit | C# |
155cfd22311b84d526be5791c687b6b425cd04f2 | Remove server header form http responses | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Web/Global.asax.cs | src/SFA.DAS.EAS.Web/Global.asax.cs | using System;
using System.Security.Claims;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using FluentValidation.Mvc;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.Azure;
using NLog;
u... | using System;
using System.Security.Claims;
using System.Web.Helpers;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using FluentValidation.Mvc;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.Azure;
using NLog;
using NLog.Targets;... | mit | C# |
622233519d752d1bf2f80d4a09bfcf302859fc02 | make test more tollerant | maximn/google-maps,maximn/google-maps | GoogleMapsApi.Test/IntegrationTests/ElevationTests.cs | GoogleMapsApi.Test/IntegrationTests/ElevationTests.cs | using System.Linq;
using GoogleMapsApi.Entities.Common;
using GoogleMapsApi.Entities.Elevation.Request;
using NUnit.Framework;
namespace GoogleMapsApi.Test.IntegrationTests
{
[TestFixture]
public class ElevationTests : BaseTestIntegration
{
[Test]
public void Elevation_ReturnsCorrectElevat... | using System.Linq;
using GoogleMapsApi.Entities.Common;
using GoogleMapsApi.Entities.Elevation.Request;
using NUnit.Framework;
namespace GoogleMapsApi.Test.IntegrationTests
{
[TestFixture]
public class ElevationTests : BaseTestIntegration
{
[Test]
public void Elevation_ReturnsCorrectElevat... | bsd-2-clause | C# |
2ebc7300e9c5588dc8e3ff76810e867398306471 | Fix typo | jsgoupil/quickbooks-sync,jsgoupil/quickbooks-sync | src/QbXml/QbXmlResponseOptions.cs | src/QbXml/QbXmlResponseOptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QbSync.QbXml.Objects;
namespace QbSync.QbXml
{
public class QbXmlResponseOptions
{
/// <summary>
/// Used to interpret the UTC offset of <see cref="DATETIMETYPE"/> values returned in QuickBooks response... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QbSync.QbXml.Objects;
namespace QbSync.QbXml
{
public class QbXmlResponseOptions
{
/// <summary>
/// Used to interpret the UTC offset of <see cref="DATETIMETYPE"/> values returned in QuickBooks response... | mit | C# |
14178900af44bb58f31a8d5c4649c3b6a9c936f4 | Make sure stopwatch is started at initialisation (see #18). | RobThree/IdGen | IdGen/StopwatchTimeSource.cs | IdGen/StopwatchTimeSource.cs | using System;
using System.Diagnostics;
namespace IdGen
{
/// <summary>
/// Provides time data to an <see cref="IdGenerator"/>. This timesource uses a <see cref="Stopwatch"/> for timekeeping.
/// </summary>
public abstract class StopwatchTimeSource : ITimeSource
{
private static readonly S... | using System;
using System.Diagnostics;
namespace IdGen
{
/// <summary>
/// Provides time data to an <see cref="IdGenerator"/>. This timesource uses a <see cref="Stopwatch"/> for timekeeping.
/// </summary>
public abstract class StopwatchTimeSource : ITimeSource
{
private static readonly S... | mit | C# |
1a16484badde5d5c91a89def51c6c89933a5680b | update assembly-info version | polylingo/l20n.cs | src/L20n/Properties/AssemblyInfo.cs | src/L20n/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("L20n")]
[assembly: AssemblyDescription("L20n C# Implementation")]
[assembly: AssemblyConfiguration... | 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("L20n")]
[assembly: AssemblyDescription("L20n C# Implementation")]
[assembly: AssemblyConfiguration... | mit | C# |
7f44be63e84c8734ef35d6b74935739546adfdad | Fix typo in StoreStats for SizeInBytes | KodrAus/elasticsearch-net,SeanKilleen/elasticsearch-net,amyzheng424/elasticsearch-net,faisal00813/elasticsearch-net,NickCraver/NEST,joehmchan/elasticsearch-net,gayancc/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,abibell/elasticsearch-net,TheFireCookie/elasticsearch-net,cstlaurent/elastic... | src/Nest/Domain/Stats/StoreStats.cs | src/Nest/Domain/Stats/StoreStats.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Nest
{
[JsonObject]
public class StoreStats
{
[JsonProperty(PropertyName = "size")]
public string Size { get; set; }
[JsonProperty(PropertyName = "size_in_bytes")]
public dou... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Nest
{
[JsonObject]
public class StoreStats
{
[JsonProperty(PropertyName = "size")]
public string Size { get; set; }
[JsonProperty(PropertyName = "size_in_byes")]
public double SizeInBytes... | apache-2.0 | C# |
f11049d597e2884faae723002f64a223e9f25b74 | Add some test coverage | Xeeynamo/KingdomHearts | OpenKh.Tests/kh2/IdxTests.cs | OpenKh.Tests/kh2/IdxTests.cs | using OpenKh.Common;
using OpenKh.Kh2;
using System.IO;
using System.Linq;
using Xunit;
namespace OpenKh.Tests.kh2
{
public class IdxTests
{
[Theory]
[InlineData("test", 0x338BCFAC)]
[InlineData("hello world!", 0xFD8495B7)]
[InlineData("00battle.bin", 0x2029C445)]
publi... | using OpenKh.Kh2;
using Xunit;
namespace OpenKh.Tests.kh2
{
public class IdxTests
{
[Theory]
[InlineData("test", 0x338BCFAC)]
[InlineData("hello world!", 0xFD8495B7)]
[InlineData("00battle.bin", 0x2029C445)]
public void CalculateHash32(string text, uint hash)
{
... | mit | C# |
1330c7315d04b988854ff7425825ff225cf15d07 | Make QueryExtensions class internal. | mdavid/nuget,mdavid/nuget | src/VisualStudio/QueryExtensions.cs | src/VisualStudio/QueryExtensions.cs | using System.Collections.Generic;
using System.Linq;
namespace NuGet.VisualStudio {
/// <summary>
/// This method attempts to retrieve all elements from the specified IQueryable, taking into account
/// the fact that the IQueryable may come from OData service feed, which imposes a server-side pag... | using System.Collections.Generic;
using System.Linq;
namespace NuGet.VisualStudio {
/// <summary>
/// This method attempts to retrieve all elements from the specified IQueryable, taking into account
/// the fact that the IQueryable may come from OData service feed, which imposes a server-side pag... | apache-2.0 | C# |
4ffa4369f0720c97aea467286544ad1c71b7891e | Change service name to LogSearchShipper - closes #41 | modulexcite/LogSearchShipper,cityindex/LogSearchShipper | src/LogSearchShipper/Program.cs | src/LogSearchShipper/Program.cs | using System;
using System.Threading;
using log4net;
using log4net.Config;
using LogSearchShipper.Core;
using Topshelf;
namespace LogSearchShipper
{
internal class MainClass
{
private static readonly ILog _log = LogManager.GetLogger(typeof (MainClass));
public static void Main(string[] args)
{
XmlConfigura... | using System;
using System.Threading;
using log4net;
using log4net.Config;
using LogSearchShipper.Core;
using Topshelf;
namespace LogSearchShipper
{
internal class MainClass
{
private static readonly ILog _log = LogManager.GetLogger(typeof (MainClass));
public static void Main(string[] args)
{
XmlConfigura... | apache-2.0 | C# |
6a3a2d2359aeed366367fa12a8c163cc87a16e33 | include HttpResponseMessage.ReasonPhrase in JwtTokenRefresher unauthorized exception from connector/state service | msft-shahins/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder | CSharp/Library/Microsoft.Bot.Connector.Shared/JwtTokenRefresher.cs | CSharp/Library/Microsoft.Bot.Connector.Shared/JwtTokenRefresher.cs | using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Bot.Connector
{
public class JwtTokenRefresher : DelegatingHandler
{
private readonly MicrosoftAppCredentials credentials;
public JwtTokenRefresher(MicrosoftAppCred... | using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Bot.Connector
{
public class JwtTokenRefresher : DelegatingHandler
{
private readonly MicrosoftAppCredentials credentials;
public JwtTokenRefresher(MicrosoftAppCred... | mit | C# |
ea557800cd2930197d1231a5ee7ae3ddeaa503dd | Fix error when accessing HttpContext.Request | serilog-web/classic | src/SerilogWeb.Classic/Classic/Enrichers/HttpRequestUserAgentEnricher.cs | src/SerilogWeb.Classic/Classic/Enrichers/HttpRequestUserAgentEnricher.cs | // Copyright 2015 Serilog Contributors
//
// 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 a... | // Copyright 2015 Serilog Contributors
//
// 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 a... | apache-2.0 | C# |
b675162716c4478467cb1ff3d939a224e1f44785 | add talkserviceextension extension | takenet/messaginghub-client-csharp | src/Takenet.MessagingHub.Client/Extensions/ServiceContainerExtensions.cs | src/Takenet.MessagingHub.Client/Extensions/ServiceContainerExtensions.cs | using System;
using Takenet.MessagingHub.Client.Extensions.ArtificialIntelligence;
using Takenet.MessagingHub.Client.Extensions.AttendanceForwarding;
using Takenet.MessagingHub.Client.Extensions.Broadcast;
using Takenet.MessagingHub.Client.Extensions.Bucket;
using Takenet.MessagingHub.Client.Extensions.Contacts;
using... | using System;
using Takenet.MessagingHub.Client.Extensions.AttendanceForwarding;
using Takenet.MessagingHub.Client.Extensions.Broadcast;
using Takenet.MessagingHub.Client.Extensions.Bucket;
using Takenet.MessagingHub.Client.Extensions.Contacts;
using Takenet.MessagingHub.Client.Extensions.Delegation;
using Takenet.Mes... | apache-2.0 | C# |
6a09ae8b80240e75363aeb56c8fd2505833b62b6 | Fix failing test | peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework | osu.Framework.Tests/Visual/Audio/TestSceneLoopingSample.cs | osu.Framework.Tests/Visual/Audio/TestSceneLoopingSample.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.Audio.Sample;
using osu.Framework.Audio.Track;
namespace osu.Framework.Tests.Visual.Audio
{
... | // 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.Audio.Sample;
using osu.Framework.Audio.Track;
namespace osu.Framework.Tests.Visual.Audio
{
... | mit | C# |
6c43a986fb5c17dff4080fa653af983278514e4d | fix issue with trailing null symbol | Alexx999/SwfSharp | SwfSharp/Tags/MetadataTag.cs | SwfSharp/Tags/MetadataTag.cs | using System.Text;
using SwfSharp.Utils;
namespace SwfSharp.Tags
{
public class MetadataTag : SwfTag
{
public string Metadata { get; set; }
public MetadataTag() : this(0)
{
}
public MetadataTag(int size)
: base(TagType.Metadata, size)
{
}
... | using System.Text;
using SwfSharp.Utils;
namespace SwfSharp.Tags
{
public class MetadataTag : SwfTag
{
public string Metadata { get; set; }
public MetadataTag() : this(0)
{
}
public MetadataTag(int size)
: base(TagType.Metadata, size)
{
}
... | mit | C# |
7adf8aa8bb50fe9175417e4c89bc0c39962e6437 | Rewrite using expression-bodied function member. | AIWolfSharp/AIWolf_NET | AIWolfLib/ShuffleExtensions.cs | AIWolfLib/ShuffleExtensions.cs | //
// ShuffleExtensions.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Collections.Generic;
using System.Linq;
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// IEnumerableインターフ... | //
// ShuffleExtensions.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Collections.Generic;
using System.Linq;
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// IEnumerableインターフ... | mit | C# |
72407ff49686624c725f7e2d5e1e43871c4b3dd5 | Update version. | Grabacr07/KanColleViewer | source/Grabacr07.KanColleViewer/Properties/AssemblyInfo.cs | source/Grabacr07.KanColleViewer/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("提督業も忙しい!")]
[assembly: AssemblyDescription("提督業も忙しい!")]
[assembly: AssemblyCompany("grabacr.net")]
[assembly: AssemblyProduct("KanColleViewer")]
[assembly: AssemblyCopyright("Copyright © 2013 Grabacr0... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("提督業も忙しい!")]
[assembly: AssemblyDescription("提督業も忙しい!")]
[assembly: AssemblyCompany("grabacr.net")]
[assembly: AssemblyProduct("KanColleViewer")]
[assembly: AssemblyCopyright("Copyright © 2013 Grabacr0... | mit | C# |
86508fb39abd6e3c722d4473d2b3e470c284e3b3 | Update to default Razor snippet we use to help with Block List editor | robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,arknu/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,bjarnef/Umbraco-CMS,mattbrailsford/Umbrac... | src/Umbraco.Web.UI/Views/Partials/BlockList/Default.cshtml | src/Umbraco.Web.UI/Views/Partials/BlockList/Default.cshtml | @inherits UmbracoViewPage<BlockListModel>
@using Umbraco.Core.Models.Blocks
@{
if (!Model.Any()) { return; }
}
<div class="umb-block-list">
@foreach (var block in Model)
{
if (block?.ContentUdi == null) { continue; }
var data = block.Content;
@Html.Partial("BlockList/Compo... | @inherits UmbracoViewPage<BlockListModel>
@using Umbraco.Core.Models.Blocks
@{
if (Model?.Layout == null || !Model.Layout.Any()) { return; }
}
<div class="umb-block-list">
@foreach (var layout in Model.Layout)
{
if (layout?.Udi == null) { continue; }
var data = layout.Data;
... | mit | C# |
fe0a77148c32d110099e626591dae22a1ee9b408 | Fix line-endings. | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/Controllers/ConcertsController.cs | src/CGO.Web/Controllers/ConcertsController.cs | using System;
using System.Linq;
using System.Web.Mvc;
using CGO.Domain;
namespace CGO.Web.Controllers
{
public class ConcertsController : Controller
{
private readonly IConcertDetailsService concertDetailsService;
private readonly IConcertsSeasonService concertsSeasonService;
... | using System;
using System.Linq;
using System.Web.Mvc;
using CGO.Domain;
namespace CGO.Web.Controllers
{
public class ConcertsController : Controller
{
private readonly IConcertDetailsService concertDetailsService;
private readonly IConcertsSeasonService concertsSeasonService;
... | mit | C# |
04b8aa4bacae7036a71274f76cfbc499efe8bd62 | Add a dev oauth app config similar to how desktop does it (https://github.com/desktop/desktop/blob/master/docs/technical/oauth.md) | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | src/GitHub.Api/Application/ApplicationInfo.cs | src/GitHub.Api/Application/ApplicationInfo.cs | #pragma warning disable 436
namespace GitHub.Unity
{
static partial class ApplicationInfo
{
#if DEBUG
public const string ApplicationName = "GitHub for Unity Debug";
public const string ApplicationProvider = "GitHub";
public const string ApplicationSafeName = "GitHubUnity-dev";
#else
... | #pragma warning disable 436
namespace GitHub.Unity
{
static partial class ApplicationInfo
{
#if DEBUG
public const string ApplicationName = "GitHub for Unity Debug";
public const string ApplicationProvider = "GitHub";
public const string ApplicationSafeName = "GitHubUnity-dev";
#else
... | mit | C# |
f3fec77e7d9a9447b57d755eb1b2f11203d81c70 | Add missing PublicAPI attributes to IHeadset | WolfspiritM/Colore,CoraleStudios/Colore | Corale.Colore/Core/IHeadset.cs | Corale.Colore/Core/IHeadset.cs | // ---------------------------------------------------------------------------------------
// <copyright file="IHeadset.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and as... | // ---------------------------------------------------------------------------------------
// <copyright file="IHeadset.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and as... | mit | C# |
0f7fbbe8ddcb413e4eeeadc79cef776d6b52d402 | Add Goerli to Chain | Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum | src/Nethereum.Signer/Chain.cs | src/Nethereum.Signer/Chain.cs | namespace Nethereum.Signer
{
public enum Chain
{
MainNet = 1,
Morden = 2,
Ropsten = 3,
Rinkeby = 4,
Goerli = 5,
RootstockMainNet = 30,
RootstockTestNet = 31,
Kovan = 42,
ClassicMainNet = 61,
ClassicTestNet = 62,
Private = 1... | namespace Nethereum.Signer
{
public enum Chain
{
MainNet = 1,
Morden = 2,
Ropsten = 3,
Rinkeby = 4,
RootstockMainNet = 30,
RootstockTestNet = 31,
Kovan = 42,
ClassicMainNet = 61,
ClassicTestNet = 62,
Private = 1337
}
} | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.