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 |
|---|---|---|---|---|---|---|---|---|
eb81bb36846dfadc19846d29a4ca3f476f6bf85b | Fix a comment | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverter/Models/Th135/LevelFlags.cs | ThScoreFileConverter/Models/Th135/LevelFlags.cs | //-----------------------------------------------------------------------
// <copyright file="LevelFlags.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//-------------------------... | //-----------------------------------------------------------------------
// <copyright file="LevelFlag.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//--------------------------... | bsd-2-clause | C# |
d1edafb142a9aefe62809194cbae897e6d1d1281 | Update UI/ConferencesIO.UI.Web/Views/Home/Index.cshtml | tekconf/tekconf,tekconf/tekconf | UI/ConferencesIO.UI.Web/Views/Home/Index.cshtml | UI/ConferencesIO.UI.Web/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<h3>We suggest the following steps:</h3>
| @{
ViewBag.Title = "Home Page";
}
<h3>We suggest the following:</h3>
| mit | C# |
d6c0ad052513d5f0a1b368dfb1830f8a7afe86f4 | Fix new version notification | lyftzeigen/SnakeBattle | Launcher/Updater.cs | Launcher/Updater.cs | using System;
using System.Net;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Launcher
{
public static class Updater
{
static readonly string version = "v1.1.0";
public static void CheckUpdates()
{
var t = new Task(new Action(CompareWithGitHub));
... | using System;
using System.Net;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Launcher
{
public static class Updater
{
static readonly string version = "v1.1.0";
public static void CheckUpdates()
{
var t = new Task(new Action(CompareWithGitHub));
... | mit | C# |
0e6f9ca22cea350d4a813641acb52270f04f134e | Update assembly titles | mstrother/BmpListener | BMPClient/Properties/AssemblyInfo.cs | BMPClient/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("BM... | 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("Tc... | mit | C# |
e1ef093e0117aee017bd063ef580e43882e633e9 | Add CornerRadius Attached Property | shannan1989/ShannanWPF | DoingWell/Controls/ControlsHelper.cs | DoingWell/Controls/ControlsHelper.cs | using System.Windows;
using System.Windows.Media;
namespace Shannan.DoingWell.Controls
{
class ControlsHelper : DependencyObject
{
public static Brush GetFocusBorderBrush(DependencyObject obj)
{
return (Brush)obj.GetValue(FocusBorderBrushProperty);
}
public static ... | using System.Windows;
using System.Windows.Media;
namespace Shannan.DoingWell.Controls
{
class ControlsHelper : DependencyObject
{
public static Brush GetFocusBorderBrush(DependencyObject obj)
{
return (Brush)obj.GetValue(FocusBorderBrushProperty);
}
public static ... | apache-2.0 | C# |
2b202f4a98d0a6adc0e2ec3af76f1bc229a769e3 | Add Backlight as a supported Led. | WolfspiritM/Colore,danpierce1/Colore,CoraleStudios/Colore | Corale.Colore/Razer/Mouse/Led.cs | Corale.Colore/Razer/Mouse/Led.cs | // ---------------------------------------------------------------------------------------
// <copyright file="Led.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 associa... | // ---------------------------------------------------------------------------------------
// <copyright file="Led.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 associa... | mit | C# |
94d9c303c224189ce22a9c22c1627ddd93206e6f | Add delay to observable. | slashdotdash/Duplicity | src/Duplicity/Duplicator.cs | src/Duplicity/Duplicator.cs | using System;
using System.IO;
using System.Reactive.Linq;
using Duplicity.DuplicationStrategy;
namespace Duplicity
{
/// <summary>
/// Duplicates file system changes in one directory to another.
/// </summary>
/// <remarks>Assumes that targetDirectory contains the same files/folders as the observable... | using System;
using System.IO;
using System.Reactive.Linq;
using Duplicity.DuplicationStrategy;
namespace Duplicity
{
/// <summary>
/// Duplicates file system changes in one directory to another.
/// </summary>
/// <remarks>Assumes that targetDirectory contains the same files/folders as the observable... | mit | C# |
4ddd08cc9733abfa7859840782c331109e5b5627 | Change interop calls to directly pinvoke. | orbitcowboy/MIEngine,rajkumar42/MIEngine,caslan/MIEngine,edumunoz/MIEngine,csiusers/MIEngine,pieandcakes/MIEngine,wesrupert/MIEngine,edumunoz/MIEngine,caslan/MIEngine,chuckries/MIEngine,xingshenglu/MIEngine,devilman3d/MIEngine,wiktork/MIEngine,caslan/MIEngine,csiusers/MIEngine,orbitcowboy/MIEngine,Microsoft/MIEngine,we... | src/MICore/NativeMethods.cs | src/MICore/NativeMethods.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
namespace MICore
{
internal class NativeMethods
{
private const string Libc = "libc";
[Dl... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
namespace MICore
{
internal class NativeMethods
{
// TODO: It would be better to route these to th... | mit | C# |
189042a175ce3f46d9e0f9d21d2c22e24039d283 | Fix build | MetacoSA/NBitcoin,MetacoSA/NBitcoin,NicolasDorier/NBitcoin | NBitcoin/Utils/ThreadSafeList.cs | NBitcoin/Utils/ThreadSafeList.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NBitcoin
{
public class ThreadSafeList<T> : IEnumerable<T>
{
private List<T> _Behaviors;
private object _lock = new object();
private Lazy<List<T>> _EnumeratorList;
public ThreadSafeList()
{
_Behaviors = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NBitcoin
{
public class ThreadSafeList<T> : IEnumerable<T>
{
private List<T> _Behaviors;
private object _lock = new object();
private Lazy<List<T>> _EnumeratorList;
public ThreadSafeList()
{
_Behaviors = ... | mit | C# |
66212a22b0506f357817007f13a7b1e194b13de8 | Refactor TodoRepository and include Add and Remove methods | OkraFramework/Okra-Todo | Okra-Todo/Data/TodoRepository.cs | Okra-Todo/Data/TodoRepository.cs | using System;
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Okra.TodoSample.Data
{
[Export(typeof(ITodoRepository))]
public class TodoRepository : ITodoRepository
{
private IList<TodoItem> todoItems;
... | using System;
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Okra.TodoSample.Data
{
[Export(typeof(ITodoRepository))]
public class TodoRepository : ITodoRepository
{
public TodoItem GetTodoItemById(string id... | apache-2.0 | C# |
885ce1464d84f35c0ca8b16aef4ccf5245d99081 | use fields for sub processes | Pondidum/Stronk,Pondidum/Stronk | src/Stronk/ConfigBuilder.cs | src/Stronk/ConfigBuilder.cs | using System.Linq;
using System.Reflection;
using Stronk.PropertyWriters;
namespace Stronk
{
public class ConfigBuilder
{
private readonly IStronkConfig _options;
private readonly ConverterSelector _converterSelector;
private readonly ValueSelector _valueSelector;
private readonly ConversionProcess _convers... | using System.Linq;
using System.Reflection;
using Stronk.PropertyWriters;
namespace Stronk
{
public class ConfigBuilder
{
private readonly IStronkConfig _options;
public ConfigBuilder(IStronkConfig options)
{
_options = options;
}
public void Populate(object target)
{
LogPopulationStart(target);... | lgpl-2.1 | C# |
c82c0d995f48e9b4b89b798a82f8fcece4e03d44 | Update run.csx | rfennell/vNextBuild,rfennell/vNextBuild,ChrisLGardner/vNextBuild,ChrisLGardner/vNextBuild,rfennell/vNextBuild,ChrisLGardner/vNextBuild,rfennell/vNextBuild,ChrisLGardner/vNextBuild | AzureFunctions/VSTSExtensionGate/run.csx | AzureFunctions/VSTSExtensionGate/run.csx | #r "Newtonsoft.Json"
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using Newtonsoft.Json.Linq;
using System.Net.Http.Formatting;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
//... | #r "Newtonsoft.Json"
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using Newtonsoft.Json.Linq;
using System.Net.Http.Formatting;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
//... | mit | C# |
3908e816d3649cf52f79baab1e6b3e1d4deea5d4 | Rename again! | DartVS/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS,modulexcite/DartVS | DanTup.DartVS.Vsix/DartProjectTracker.cs | DanTup.DartVS.Vsix/DartProjectTracker.cs | using System;
using System.Collections.Concurrent;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
namespace DanTup.DartVS
{
/// <summary>
/// Tracks which open projects ar possible Dart projects so that they can be analysed.
/// </summ... | using System;
using System.Collections.Concurrent;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
namespace DanTup.DartVS
{
/// <summary>
/// Tracks which open projects ar possible Dart projects so that they can be analysed.
/// </summ... | mit | C# |
72f8e8b75d43e3d2aabd17f8f9f776fed1132330 | Fix broken build | gideonkorir/jaeger4net | src/Jaeger4Net/Reporters/NoopReporter.cs | src/Jaeger4Net/Reporters/NoopReporter.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Jaeger4Net.Reporters
{
class NoopReporter : IReporter
{
public void Dispose()
{
}
public int Report(Span span)
=> 0;
}
}
| using System;
using System.Collections.Generic;
using System.Text;
namespace Jaeger4Net.Reporters
{
class NoopReporter : IReporter
{
public void Dispose()
{
}
public int Report(Span span)
{
}
}
}
| mit | C# |
45e4004e91ac3e54c4f01585c47986f46d2af83b | Remove GetSign() (this was stupid). | chtoucas/Narvalo.NET,chtoucas/Narvalo.NET | src/Narvalo.Finance/Numerics/Decimal$.cs | src/Narvalo.Finance/Numerics/Decimal$.cs | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Finance.Numerics
{
using System;
internal static class DecimalExtensions
{
//private const int SIGN_MASK = unchecked((int)0x80000000);
//private const byte DEC... | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Finance.Numerics
{
using System;
internal static class DecimalExtensions
{
private const int SIGN_MASK = unchecked((int)0x80000000);
//private const byte DECIM... | bsd-2-clause | C# |
ad3173410a61bedf6d0fb395a4cc81bfd7adfd1f | Correct `Options.ArrayDiff` documentation | wbish/jsondiffpatch.net | Src/JsonDiffPatchDotNet/Options.cs | Src/JsonDiffPatchDotNet/Options.cs | namespace JsonDiffPatchDotNet
{
public sealed class Options
{
public Options()
{
ArrayDiff = ArrayDiffMode.Efficient;
TextDiff = TextDiffMode.Efficient;
MinEfficientTextDiffLength = 50;
}
/// <summary>
/// Specifies how arrays are diffed. The default is Efficient.
/// </summary>
public ArrayD... | namespace JsonDiffPatchDotNet
{
public sealed class Options
{
public Options()
{
ArrayDiff = ArrayDiffMode.Efficient;
TextDiff = TextDiffMode.Efficient;
MinEfficientTextDiffLength = 50;
}
/// <summary>
/// Specifies how arrays are diffed. The default is Simple.
/// </summary>
public ArrayDiff... | mit | C# |
a69e7491618de288c379afc56817f46f451ccab3 | Make boxes not take focus ever | lytico/xwt,antmicro/xwt,mono/xwt,hwthomas/xwt,TheBrainTech/xwt | Xwt.XamMac/Xwt.Mac/BoxBackend.cs | Xwt.XamMac/Xwt.Mac/BoxBackend.cs | //
// BoxBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrictio... | //
// BoxBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrictio... | mit | C# |
0eaf453f769ad32008d8541f875f87041cf65393 | Update IDupDetector.cs | unruledboy/SharpDups | Logic/IDupDetector.cs | Logic/IDupDetector.cs | using System.Collections.Generic;
using Xnlab.SharpDups.Model;
namespace Xnlab.SharpDups.Logic
{
public interface IDupDetector
{
(List<Duplicate> duplicates, IList<string> failedToProcessFiles) Find(IEnumerable<string> files, int workers, int quickHashSize = 3, int bufferSize = 0);
}
}
| using System.Collections.Generic;
using Xnlab.SharpDups.Model;
namespace Xnlab.SharpDups.Logic
{
public interface IDupDetector
{
(List<Duplicate> duplicates, IList<string> failedToProcessFiles) Find(IEnumerable<string> files, int workers, int quickHashSize = 3, int bufferSize = 0);
}
}
| apache-2.0 | C# |
6ee1ce2e1bb48b6e595f0f5ed0d11bedaec09dce | Add OnSuspending log | DanieleScipioni/TestApp | TestAppUWP.AppShell/App.xaml.cs | TestAppUWP.AppShell/App.xaml.cs | using System;
using System.Diagnostics;
using System.IO;
using TestAppUWP.AppShell.Samples.RootNavigation;
using TestAppUWP.Logic.Logs;
using TestAppUWP.Samples.CertTutorial;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Storage;
using Windows.UI.Xaml;
namespace TestAppUWP.A... | using System;
using System.Diagnostics;
using System.IO;
using TestAppUWP.AppShell.Samples.RootNavigation;
using TestAppUWP.Logic.Logs;
using TestAppUWP.Samples.CertTutorial;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Storage;
using Windows.UI.Xaml;
namespace TestAppUWP.A... | mit | C# |
5d0db6250b39f85cce2653edab728cc3e8e60aaa | Support commit listing for single file within repository | thedillonb/GitHubSharp | Controllers/CommitsController.cs | Controllers/CommitsController.cs | using System;
using GitHubSharp.Models;
using System.Collections.Generic;
namespace GitHubSharp.Controllers
{
public class CommitsController : Controller
{
public string FilePath { get; set; }
public RepositoryController RepositoryController { get; private set; }
public CommitControll... | using System;
using GitHubSharp.Models;
using System.Collections.Generic;
namespace GitHubSharp.Controllers
{
public class CommitsController : Controller
{
public RepositoryController RepositoryController { get; private set; }
public CommitController this[string key]
{
get ... | mit | C# |
9b702296fb46e2e96748d7cc835d733a86c83fd7 | Update AssemblyInfo.cs | wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter | WavFile/Properties/AssemblyInfo.cs | WavFile/Properties/AssemblyInfo.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.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled throu... | 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("Wa... | mit | C# |
b46e4be02b60facf704a2ed9face814d218ffee1 | update snippets | matt-gibbs/azbits,matt-gibbs/azbits,matt-gibbs/azbits,matt-gibbs/azbits,matt-gibbs/azbits | demo/HelloApp/HelloApp/Program.cs | demo/HelloApp/HelloApp/Program.cs |
using System;
namespace HelloApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("hi");
Console.ReadKey();
}
}
}
/*
// Hello demo
using System;
using Demo;
namespace HelloApp
{
class Program
{
static... |
using System;
namespace HelloApp
{
class Program
{
static void Main(string[] args)
{
Console.Write("hi");
Console.ReadKey();
}
}
}
/*
using System;
using Demo;
namespace HelloApp
{
class Program
{
static void Main(strin... | mit | C# |
062e9128489e7fa4cb7d35a89c91abe23e110244 | fix BoldText() and ItalicText() | Notulp/Pluton,Notulp/Pluton | Pluton/StringExtensions.cs | Pluton/StringExtensions.cs | using System;
namespace Pluton
{
public static class StringExtensions
{
public static string BoldText(this string self)
{
return String.Format("<b>{0}</b>", self);
}
public static string ColorText(this string self, string color)
{
return String.... | using System;
namespace Pluton
{
public static class StringExtensions
{
public static string BoldText(this string self)
{
return String.Format("<b>self</b>", self);
}
public static string ColorText(this string self, string color)
{
return String... | mit | C# |
0a3f54147bfd11ff5d64aafa7cfb1d2214766afe | Bump version to 0.4.3 | FatturaElettronicaPA/FatturaElettronicaPA | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// 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("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | using System.Reflection;
using System.Resources;
// 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("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | bsd-3-clause | C# |
d9efeabf530b690ecd0dfb71ea57a26b9c5e65db | Change contact default | stewartmatheson/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,stewartmatheson/CollAction,stewartmatheson/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,stewartmatheson/CollAction | src/CollAction/Views/Home/Contact.cshtml | src/CollAction/Views/Home/Contact.cshtml | @{
ViewData["Title"] = "Contact";
}
<h2>@ViewData["Title"].</h2>
<h3>@ViewData["Message"]</h3>
<address>
TODO: Address here<br />
TODO: Address here<br />
<abbr title="Phone">...</abbr>
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.com</a><br ... | @{
ViewData["Title"] = "Contact";
}
<h2>@ViewData["Title"].</h2>
<h3>@ViewData["Message"]</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@... | agpl-3.0 | C# |
9c0887ab7e0a36b9b0ac003e0511aced0d7a422b | fix unit tests for GitVersionTask | ParticularLabs/GitVersion,GitTools/GitVersion,gep13/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,dazinator/GitVersion,dazinator/GitVersion,gep13/GitVersion,ParticularLabs/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion | src/GitVersionTask.Tests/TestTaskBase.cs | src/GitVersionTask.Tests/TestTaskBase.cs | using System.Collections.Generic;
using System.Linq;
using GitTools.Testing;
using GitVersion.BuildServers;
using GitVersionCore.Tests.Helpers;
using GitVersionTask.Tests.Helpers;
using LibGit2Sharp;
using Microsoft.Build.Framework;
namespace GitVersion.MSBuildTask.Tests
{
public class TestTaskBase : TestBase
... | using System.Collections.Generic;
using System.Linq;
using GitTools.Testing;
using GitVersion.BuildServers;
using GitVersionCore.Tests.Helpers;
using GitVersionTask.Tests.Helpers;
using LibGit2Sharp;
using Microsoft.Build.Framework;
namespace GitVersion.MSBuildTask.Tests
{
public class TestTaskBase : TestBase
... | mit | C# |
474ebe36ce5bee1c4ccc50829a63f0e8299070a0 | Add xml comments to ExecutionResult (#1615) | graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet | src/GraphQL/Execution/ExecutionResult.cs | src/GraphQL/Execution/ExecutionResult.cs | using System;
using System.Collections.Generic;
using GraphQL.Execution;
using GraphQL.Instrumentation;
using GraphQL.Language.AST;
namespace GraphQL
{
public class ExecutionResult
{
/// <summary>
/// Returns the data from the graph resolvers. This property is serialized as part of the GraphQL ... | using System;
using System.Collections.Generic;
using GraphQL.Instrumentation;
using GraphQL.Language.AST;
namespace GraphQL
{
public class ExecutionResult
{
public object Data { get; set; }
public ExecutionErrors Errors { get; set; }
public string Query { get; set; }
public ... | mit | C# |
0c0dfd0903ab185c5404564bd148b7e32e0769b8 | Add multi-touch events. | roblillack/monoberry,roblillack/monoberry,roblillack/monoberry,roblillack/monoberry | libblackberry/screen/Context.cs | libblackberry/screen/Context.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace BlackBerry.Screen
{
public class Context : IDisposable
{
[DllImport ("screen")]
static extern int screen_create_context (out IntPtr pctx, ContextType flags);
[DllImport ("screen")]
static ext... | using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace BlackBerry.Screen
{
public class Context : IDisposable
{
[DllImport ("screen")]
static extern int screen_create_context (out IntPtr pctx, ContextType flags);
[DllImport ("screen")]
static ext... | mit | C# |
e6aca3116dafd3bcebebf1246e43f2e3c2378897 | clean up code | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/ConsoleTest/Program.cs | Src/ConsoleTest/Program.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleTest
{
internal class Program
{
private static readonly HttpClient HttpClient = new HttpClient {BaseAddress = new Uri("https://www.baidu.com") };
priva... | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleTest
{
internal class Program
{
private static readonly HttpClient HttpClient = new HttpClient {BaseAddress = new Uri("https://www.baidu.com") };
priva... | mit | C# |
5e5f69ba98eeb1a0eef7cc621454aedb8605936d | send opponent pokemon too. | NextLight/PokeBattle_Server | PokeBattle/PokeBattle/Program.cs | PokeBattle/PokeBattle/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PokeBattle
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Waiting for 2 players.");
Player[] players = new Player[2] { n... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PokeBattle
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Waiting for 2 players.");
Player[] players = new Player[2] { n... | mit | C# |
73f19dbc3cbe33915d2c65ae9558ed665fdfd704 | add (c) header | buserror/aften,buserror/aften,buserror/aften | bindings/cs/FrameEventArgs.cs | bindings/cs/FrameEventArgs.cs | /********************************************************************************
* Copyright (C) 2007 by Prakash Punnoor *
* prakash@punnoor.de *
* ... | using System;
namespace Aften
{
/// <summary>
/// EventArgs for frame related events
/// </summary>
public class FrameEventArgs : EventArgs
{
private readonly int m_nFrameNumber;
private readonly int m_nSize;
private readonly Status m_Status;
/// <summary>
/// Gets the status.
/// </summary>
/// <... | lgpl-2.1 | C# |
53df95d329bcf0175761de8b8492c88822feeda1 | make Scope class extensible | maul-esel/CobaltAHK,maul-esel/CobaltAHK | CobaltAHK/ExpressionTree/Scope.cs | CobaltAHK/ExpressionTree/Scope.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace CobaltAHK.ExpressionTree
{
public class Scope
{
public Scope() : this(null)
{
LoadBuiltinFunctions();
}
public Scope(Scope parentScope)
{
parent = parentScope;
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace CobaltAHK.ExpressionTree
{
public class Scope
{
public Scope() : this(null)
{
LoadBuiltinFunctions();
}
public Scope(Scope parentScope) {
parent = parentScope;
}
pr... | mit | C# |
95586bd5cbcc0f4ade9ea5c38220448a61bd6bec | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
e8d28c0262a0d20ce5cf636bc2f00aeb1ea29d6e | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
65e30fbaefabe2e2a81481ab3897e00e8cf56c8b | Add SendFlowResponse to ISurveyMonkeyApi | bcemmett/SurveyMonkeyApi | SurveyMonkey/ISurveyMonkeyApi.cs | SurveyMonkey/ISurveyMonkeyApi.cs | using System.Collections.Generic;
namespace SurveyMonkey
{
public interface ISurveyMonkeyApi
{
int RequestsMade { get; }
int QuotaAllotted { get; }
int QuotaUsed { get; }
//Endpoints
List<Survey> GetSurveyList();
List<Survey> GetSurveyList(GetSurveyListSettings ... | using System.Collections.Generic;
namespace SurveyMonkey
{
public interface ISurveyMonkeyApi
{
int RequestsMade { get; }
int QuotaAllotted { get; }
int QuotaUsed { get; }
//Endpoints
List<Survey> GetSurveyList();
List<Survey> GetSurveyList(GetSurveyListSettings ... | mit | C# |
175f241011b1082016d1b3b48ec53339cd49b940 | Fix whitespace in tests | meshulam/tempoiq-net,mrgaaron/tempoiq-net,TempoIQ/tempoiq-net,TempoIQ/tempoiq-net,jcc333/tempoiq-net,selecsosi/tempoiq-net | TempoIQNUnit/AggregationTests.cs | TempoIQNUnit/AggregationTests.cs | using System;
using System.Collections.Generic;
using TempoIQ;
using TempoIQ.Models;
using TempoIQ.Queries;
using NUnit.Framework;
using NodaTime;
namespace TempoIQNUnit
{
[TestFixture]
public class AggregationTests
{
[Test]
public void EqualsTest()
{
var max = new Ag... | using System;
using System.Collections.Generic;
using TempoIQ;
using TempoIQ.Models;
using TempoIQ.Queries;
using NUnit.Framework;
using NodaTime;
namespace TempoIQNUnit
{
[TestFixture]
public class AggregationTests
{
[Test]
public void EqualsTest()
{
var max = new Ag... | mit | C# |
f41ab37b6f81b11582aee65b883a0292cfff5f23 | Set version 1.0.13 of MtApi (MT5) | vdemydiuk/mtapi,vdemydiuk/mtapi,vdemydiuk/mtapi | MtApi5/Properties/AssemblyInfo.cs | MtApi5/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# |
93e91f49b3bca8c9b4edbef6d312e597a7be4c11 | Make MovementController a monobehavior | GaiaOnlineCommunity/GaiaOnline.Unity.Library,GaiaOnlineCommunity/GaiaOnline.Unity.Library | src/GaiaOnline.Game.Client/Controller/MovementController.cs | src/GaiaOnline.Game.Client/Controller/MovementController.cs | using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
namespace GaiaOnline
{
public abstract class MovementController : MonoBehaviour
{
/// <summary>
/// Returns the current input direction.
/// </summary>
/// <returns>The direction of the input.</returns>
public abstract V... | using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
namespace GaiaOnline
{
public abstract class MovementController
{
/// <summary>
/// Returns the current input direction.
/// </summary>
/// <returns>The direction of the input.</returns>
public abstract Vector2 GetInputD... | agpl-3.0 | C# |
92dcb4272fe4f4769ebd69bc79c93a3202f04835 | move code ILineSegmentList, ILineSegment, | LayoutFarm/PixelFarm | src/PixelFarm/PixelFarm.PrimitiveDrawing/TextMeasurement.cs | src/PixelFarm/PixelFarm.PrimitiveDrawing/TextMeasurement.cs | //MIT, 2020, WinterDev
namespace PixelFarm.Drawing
{
public struct TextBufferSpan
{
public readonly int start;
public readonly int len;
char[] _rawString;
public TextBufferSpan(char[] rawCharBuffer)
{
_rawString = rawCharBuffer;
this.len = rawC... | //MIT, 2020, WinterDev
namespace PixelFarm.Drawing
{
public struct TextBufferSpan
{
public readonly int start;
public readonly int len;
char[] _rawString;
public TextBufferSpan(char[] rawCharBuffer)
{
_rawString = rawCharBuffer;
this.len = rawC... | bsd-2-clause | C# |
4582934f3c654fb9e74435baaadfd138ed9bbe02 | Set default values to prevent designer code generation. | KN4CK3R/ReClass.NET,jesterret/ReClass.NET,jesterret/ReClass.NET,KN4CK3R/ReClass.NET,jesterret/ReClass.NET,KN4CK3R/ReClass.NET | ReClass.NET/UI/PlaceholderTextBox.cs | ReClass.NET/UI/PlaceholderTextBox.cs | using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace ReClassNET.UI
{
public class PlaceholderTextBox : TextBox
{
private Font fontBackup;
private Color foreColorBackup;
private Color backColorBackup;
/// <summary>
/// The color of the placeholder text.
... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace ReClassNET.UI
{
public class PlaceholderTextBox : TextBox
{
private Font fontBackup;
private Color foreColorBackup;
private Color backColorBackup;
/// <summary>
/// The color of the placeholder text.
/// </summary>
public Color... | mit | C# |
e5f8628e792b3e32e265a3c9ce75bd3aab7c5923 | Set default target path gizmo curve color | bartlomiejwolk/AnimationPathAnimator | TargetAnimationPath.cs | TargetAnimationPath.cs | using UnityEngine;
namespace ATP.AnimationPathTools {
public class TargetAnimationPath : AnimationPath {
/// <summary>
/// Color of the gizmo curve.
/// </summary>
private Color gizmoCurveColor = Color.magenta;
}
}
| namespace ATP.AnimationPathTools {
public class TargetAnimationPath : AnimationPath {
}
}
| mit | C# |
cd0c3ba22122b4083c8cc31b2c830db215eaa4fe | Convert Distance to Expression Bodied Member | BillWagner/TourOfCSharp6 | TourOfCSharp6/Point.cs | TourOfCSharp6/Point.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TourOfCSharp6
{
public class Point
{
public double X { get; set; }
public double Y { get; set; }
public double Distance => Math.Sqrt(X * X + Y * Y);
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TourOfCSharp6
{
public class Point
{
public double X { get; set; }
public double Y { get; set; }
public double Distance
{
get
{
... | mit | C# |
398c1ab5e071066e3e36605d85905eb4ed6c8913 | Bump version to 0.7.3 | ar3cka/Journalist | src/SolutionInfo.cs | src/SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.7.3")]
[assembly: AssemblyInformationalVersionAttribute("0.7.3")]
[assembly: AssemblyFileVersionAttribute("0.7.3")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.7.2")]
[assembly: AssemblyInformationalVersionAttribute("0.7.2")]
[assembly: AssemblyFileVersionAttribute("0.7.2")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | apache-2.0 | C# |
efd911290807692f4b3f8f433bf4c67d9d220825 | modify adjustconverter | kyoryo/test | Grabacr07.KanColleViewer/Views/Converters/AdjustConverter.cs | Grabacr07.KanColleViewer/Views/Converters/AdjustConverter.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using System.Windows.Media;
using Grabacr07.KanColleWrapper.Models;
using Settings2 = Grabacr07.KanColleViewer.Models.Settings;
namespace Grabacr07... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using System.Windows.Media;
using Grabacr07.KanColleWrapper.Models;
namespace Grabacr07.KanColleViewer.Views.Converters
{
public class AdjustCo... | mit | C# |
8c19cec6da58985572ffb818dbe87abd8017c17e | Fix Referencing Values on Module Objects. | seaboy1234/PineTreeLanguage | PineTree.Interpreter/Runtime/Environment/ExecutionContext.cs | PineTree.Interpreter/Runtime/Environment/ExecutionContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PineTree.Interpreter.Native;
using PineTree.Interpreter.Native.Function;
namespace PineTree.Interpreter.Runtime.Environment
{
public class ExecutionContext : PineTreeEnvironment
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PineTree.Interpreter.Native;
using PineTree.Interpreter.Native.Function;
namespace PineTree.Interpreter.Runtime.Environment
{
public class ExecutionContext : PineTreeEnvironment
{
... | mit | C# |
08cfe16233f9ef04d0814e548ec2fc5105b4ab66 | Update IExchangeRatesProvider.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/ForeignExchange/IExchangeRatesProvider.cs | TIKSN.Core/Finance/ForeignExchange/IExchangeRatesProvider.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Finance.ForeignExchange
{
public interface IExchangeRatesProvider
{
Task<IEnumerable<ExchangeRate>> GetExchangeRatesAsync(DateTimeOffset asOn, CancellationToken cancellationToken);
... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Finance.ForeignExchange
{
public interface IExchangeRatesProvider
{
Task<IEnumerable<ExchangeRate>> GetExchangeRatesAsync(DateTimeOffset asOn, CancellationToken cancellationToken);
... | mit | C# |
3fe20dc258c3c6ddc6a3cf9681ae8aa19b94c649 | Update LanguageLocalizationParameters.cs | tiksn/TIKSN-Framework | TIKSN.LanguageLocalization/LanguageLocalizationParameters.cs | TIKSN.LanguageLocalization/LanguageLocalizationParameters.cs | using System.Reflection;
namespace TIKSN.Localization
{
public static class LanguageLocalizationParameters
{
public static string GetDefaultCultureName() =>
typeof(LanguageLocalizationParameters).GetTypeInfo().Assembly.GetName().CultureName;
}
}
| using System.Reflection;
namespace TIKSN.Localization
{
public static class LanguageLocalizationParameters
{
public static string GetDefaultCultureName()
{
return typeof(LanguageLocalizationParameters).GetTypeInfo().Assembly.GetName().CultureName;
}
}
} | mit | C# |
7894b67794323e100db60ce9d49706add036ee10 | Check with generated cause identifiers | MCGPPeters/Eru,MCGPPeters/Eru | src/Eru/Validation/Validation.cs | src/Eru/Validation/Validation.cs | namespace Eru.Validation
{
using System;
using System.Collections.Generic;
using System.Linq;
public static class Validation
{
private static Either<TCauseIdentifier[], TRight> Assert<TRight, TCauseIdentifier>(TRight source,
params Property<TCauseIdentifier, TRight>[] propertie... | namespace Eru.Validation
{
using System;
using System.Collections.Generic;
using System.Linq;
public static class Validation
{
private static Either<TCauseIdentifier[], TRight> Assert<TRight, TCauseIdentifier>(TRight source,
params Property<TCauseIdentifier, TRight>[] propertie... | mit | C# |
e87b71d99e4c8d4063525428114848e9afe412a7 | Revert "bump version again to 1.3.76.0" | agileharbor/shipStationAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | bsd-3-clause | C# |
cf787d1f8bcc259c121fceb6595a706aa959c64e | build 0.0.9 | rachmann/qboAccess,rachmann/qboAccess,rachmann/qboAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "QuickBooksOnlineAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ]
[ assembly : Assemb... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "QuickBooksOnlineAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ]
[ assembly : Assemb... | bsd-3-clause | C# |
826064eff4be84ca12bd53e51e2f7c1da66bec2b | test the levels. | isqo/3DFlappyBird | Assets/Camera/cMoveCamera.cs | Assets/Camera/cMoveCamera.cs | using Assets.Levels.Level2;
using Assets.Levels.Level3;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets
{
public class cMoveCamera : MonoBehaviour
{
public float lookSensitivity = 2.0f;
public float BehindThePlayerZAxis ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets
{
public class cMoveCamera : MonoBehaviour
{
public float lookSensitivity = 2.0f;
public float BehindThePlayerZAxis = -2.0f;
private float yRotation;
privat... | mit | C# |
f55d21879878704fc9ce6f599fa7cf69eb57682a | Remove Handlers from IWebBrowserInternal (minor issue created when merging in master) | ruisebastiao/CefSharp,windygu/CefSharp,Haraguroicha/CefSharp,haozhouxu/CefSharp,wangzheng888520/CefSharp,VioletLife/CefSharp,gregmartinhtc/CefSharp,jamespearce2006/CefSharp,VioletLife/CefSharp,AJDev77/CefSharp,NumbersInternational/CefSharp,zhangjingpu/CefSharp,zhangjingpu/CefSharp,battewr/CefSharp,rover886/CefSharp,Num... | CefSharp/Internals/IWebBrowserInternal.cs | CefSharp/Internals/IWebBrowserInternal.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.
using System.Collections.Generic;
namespace CefSharp.Internals
{
public interface IWebBrowserInternal : IWebBrowser
{
IDictionary... | // 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.
using System.Collections.Generic;
namespace CefSharp.Internals
{
public interface IWebBrowserInternal : IWebBrowser
{
ILifeSpanHa... | bsd-3-clause | C# |
51a63210ca1c927e1343178ca903e6231823f10e | Use StringEnumConvert for Approvals.VerifyJson / VerifyMe | mattgwagner/CertiPay.Common | CertiPay.Common.Testing/TestExtensions.cs | CertiPay.Common.Testing/TestExtensions.cs | namespace CertiPay.Common.Testing
{
using ApprovalTests;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Ploeh.AutoFixture;
public static class TestExtensions
{
private static readonly Fixture _fixture = new Fixture { };
private static readonly JsonSerializerSet... | namespace CertiPay.Common.Testing
{
using ApprovalTests;
using Newtonsoft.Json;
using Ploeh.AutoFixture;
public static class TestExtensions
{
private static readonly Fixture _fixture = new Fixture { };
/// <summary>
/// Runs ApprovalTests's VerifyJson against a JSON.net se... | mit | C# |
295d54b328b2945ae895ebc950d9579bef39f786 | adjust code layout | devlights/MyHelloWorld | MyHelloWorld/HelloWorld.StdOut/Program.cs | MyHelloWorld/HelloWorld.StdOut/Program.cs |
namespace HelloWorld.StdOut
{
using System;
using System.Collections.Generic;
using System.Linq;
using Ninject;
using Ninject.Parameters;
using HelloWorld.Core;
using HelloWorld.Core.NinjectModules;
class Program
{
static void Main()
{
var kernel = new StandardKernel(new HelloWor... |
namespace HelloWorld.StdOut
{
using System;
using System.Collections.Generic;
using System.Linq;
using Ninject;
using Ninject.Parameters;
using HelloWorld.Core;
using HelloWorld.Core.NinjectModules;
class Program
{
static void Main()
{
var kernel = new StandardKernel(new HelloWorl... | mit | C# |
dd13bcb9fdf17b1196c0c7aed38da059e8986481 | Add missing updated_at and created_at properties. | clement911/ShopifySharp,nozzlegear/ShopifySharp,addsb/ShopifySharp | ShopifySharp/Entities/ShopifyMetaField.cs | ShopifySharp/Entities/ShopifyMetaField.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopifySharp
{
public class ShopifyMetaField : ShopifyObject
{
/// <summary>
/// The date and time when the metafield was created.
/// </... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopifySharp
{
public class ShopifyMetaField : ShopifyObject
{
/// <summary>
/// Identifier for the metafield (maximum of 30 characters).
... | mit | C# |
8db44315204f31a29989ad09a2fd59fd49c93062 | Fix bug in pinmode usage The device.PinMode was being set from internal members which had not been stored yet. Would result in Relay module not working as expected. | penoud/GrovePi,penoud/GrovePi,karan259/GrovePi,karan259/GrovePi,karan259/GrovePi,karan259/GrovePi,rpedersen/GrovePi,rpedersen/GrovePi,rpedersen/GrovePi,karan259/GrovePi,karan259/GrovePi,rpedersen/GrovePi,rpedersen/GrovePi,karan259/GrovePi,rpedersen/GrovePi,penoud/GrovePi,karan259/GrovePi,penoud/GrovePi,rpedersen/GroveP... | Software/CSharp/GrovePi/Sensors/Sensor.cs | Software/CSharp/GrovePi/Sensors/Sensor.cs | using System;
namespace GrovePi.Sensors
{
public abstract class Sensor<TSensorType> where TSensorType : class
{
protected readonly IGrovePi Device;
protected readonly Pin Pin;
internal Sensor(IGrovePi device, Pin pin, PinMode pinMode)
{
if (device == null) throw ne... | using System;
namespace GrovePi.Sensors
{
public abstract class Sensor<TSensorType> where TSensorType : class
{
protected readonly IGrovePi Device;
protected readonly Pin Pin;
internal Sensor(IGrovePi device, Pin pin, PinMode pinMode)
{
if (device == null) throw ne... | mit | C# |
0ef136bf5782ade4fe55538af238d88ef26a63ff | Fix the startup process of the HelloWorld GettingStarted source. | xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp | GettingStarted/HelloWorld.cs | GettingStarted/HelloWorld.cs | using System;
using PepperSharp;
namespace GettingStarted
{
public class HelloWorld : Instance
{
public HelloWorld (IntPtr handle) : base(handle)
{
Initialize += OnInitialize;
}
private void OnInitialize(object sender, InitializeEventArgs args)
{
... | using System;
using PepperSharp;
namespace GettingStarted
{
public class HelloWorld : Instance
{
public override bool Init(int argc, string[] argn, string[] argv)
{
LogToConsoleWithSource(PPLogLevel.Log, "GettingStarted.HelloWorld", "HelloWorld from C#");
return true;
... | mit | C# |
e11d15257ded3b874e7afdf491ee51f917b22829 | Update RelativePathAdapterTest.cs | farans/SquishIt,jetheredge/SquishIt,wolfgang42/SquishIt,AlexCuse/SquishIt,wolfgang42/SquishIt,Worthaboutapig/SquishIt,Worthaboutapig/AC-SquishIt,0liver/SquishIt,jetheredge/SquishIt,AlexCuse/SquishIt,0liver/SquishIt,wolfgang42/SquishIt,0liver/SquishIt,jetheredge/SquishIt,jetheredge/SquishIt,wolfgang42/SquishIt,Worthabou... | SquishIt.Tests/RelativePathAdapterTest.cs | SquishIt.Tests/RelativePathAdapterTest.cs | using System;
using NUnit.Framework;
using SquishIt.Framework.CSS;
namespace SquishIt.Tests
{
[TestFixture]
public class RelativePathAdapterTest
{
[Test]
public void Between_Throws_If_No_Common_Root()
{
var from = "C:\\asdfasdfasdf\\asdfasdrqwettadsf";
var t... | using System;
using NUnit.Framework;
using SquishIt.Framework.CSS;
namespace SquishIt.Tests
{
[TestFixture]
public class RelativePathAdapterTest
{
[Test]
public void Between_Throws_If_No_Common_Root()
{
var from = "C:\\asdfasdfasdf\\asdfasdrqwettadsf";
var t... | mit | C# |
da1cc19cd75c3fcbfa4e537f858bd89c524fa707 | Test SIT jenkins build | emilti/TravelAlbum,emilti/TravelAlbum,emilti/TravelAlbum | TravelCatalog/Views/Shared/_Layout.cshtml | TravelCatalog/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 - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-i... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-i... | mit | C# |
912b3d15b5eadb5f1f8dc2781c60b31950888054 | Revert "Now with "yield" in GetaNum()" | flodis/C-Sharp-Fragments | Enum/EnumListLambda.cs | Enum/EnumListLambda.cs | using System.Collections;
class IENumDemo
{
/// <summary>
/// Create a cosinus table enumerator with 0..360 deg values
/// </summary>
private IEnumerator costable = new Func<List<float>>(() =>
{
List<float> nn = new List<float>();
for (int v = 0; v < 360; v++)
... | using System.Collections;
class IENumDemo
{
/// <summary>
/// Create a cosinus table enumerator with 0..360 deg values
/// </summary>
private IEnumerator costable = new Func<List<float>>(() =>
{
List<float> nn = new List<float>();
for (int v = 0; v < 360; v++)
... | mit | C# |
27e6a13fa6d278f53468087c8954328dec2e8937 | Update Contact seed data per first/last name change | bradyholt/aspnet-core-react-template,bradyholt/aspnet-core-react-template,bradyholt/aspnet-core-react-template,bradyholt/aspnet-core-react-template,bradyholt/aspnet-core-react-template | api/Models/DefaultDbContextInitializer.cs | api/Models/DefaultDbContextInitializer.cs | using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace aspnetCoreReactTemplate.Models
{
public class DefaultDbContextInitializer : IDefaultDbContextInitializer
{
privat... | using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace aspnetCoreReactTemplate.Models
{
public class DefaultDbContextInitializer : IDefaultDbContextInitializer
{
privat... | mit | C# |
1211a1926f5c0ed60ee1ea3cb92bf66778ce4e12 | Add another hat | ArcticEcho/Hatman | Hatman/Commands/Hat.cs | Hatman/Commands/Hat.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Text.RegularExpressions;
using ChatExchangeDotNet;
namespace Hatman.Commands
{
class Hat : ICommand
{
private readonly Regex ptn = new Regex(@"(?i)\bhats?\b", Extensions.RegOpts);
private readonly HashSet<string> ha... | using System;
using System.Collections.Generic;
using System.Net;
using System.Text.RegularExpressions;
using ChatExchangeDotNet;
namespace Hatman.Commands
{
class Hat : ICommand
{
private readonly Regex ptn = new Regex(@"(?i)^hats?\b", Extensions.RegOpts);
private readonly HashSet<string> hat... | isc | C# |
ab8fa87fc0ea4596abafffb052d7a1896b8d5308 | Update OMCode.cs | ADAPT/ADAPT | source/ADAPT/Documents/OMCode.cs | source/ADAPT/Documents/OMCode.cs | /*******************************************************************************
* Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | /*******************************************************************************
* Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | epl-1.0 | C# |
0c5c39758c1dae78955c76f9c8409863332007ed | Fix auth sample | alaatm/Sejil,alaatm/Sejil,alaatm/Sejil,alaatm/Sejil,alaatm/Sejil | sample/SampleBasicAuth/Startup.cs | sample/SampleBasicAuth/Startup.cs | // Copyright (C) 2017 Alaa Masoud
// See the LICENSE file in the project root for more information.
using Bazinga.AspNetCore.Authentication.Basic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.D... | // Copyright (C) 2017 Alaa Masoud
// See the LICENSE file in the project root for more information.
using Bazinga.AspNetCore.Authentication.Basic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.D... | apache-2.0 | C# |
5ee6eb6141ff6c34697c8a14ce1cb39ddc12da0f | Add Transfer Funds | jzebedee/lcapi | LCAPI/LCAPI/Account.cs | LCAPI/LCAPI/Account.cs | using System.Threading.Tasks;
using LendingClub.Models;
namespace LendingClub
{
public class Account : ApiBase
{
public string InvestorId { get; }
public string Url => $"{BaseUrl}/accounts/{InvestorId}";
public Account(string apiKey, string investorId) : base(apiKey)
{
... | using System.Threading.Tasks;
using LendingClub.Models;
namespace LendingClub
{
public class Account : ApiBase
{
public string InvestorId { get; }
public string Url => $"{BaseUrl}/accounts/{InvestorId}";
public Account(string apiKey, string investorId) : base(apiKey)
{
... | agpl-3.0 | C# |
67ae7784cad8622afd5c599b99c353bafc1fdab1 | Update IZoomService.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D/Input/IZoomService.cs | src/Draw2D/Input/IZoomService.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.
namespace Draw2D.Input
{
public interface IZoomService
{
IInputService InputService { get; set; }
double ZoomSpeed { get; set; }
d... | // 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.
namespace Draw2D.Input
{
public interface IZoomService
{
double ZoomSpeed { get; set; }
double ZoomX { get; set; }
double ZoomY { ... | mit | C# |
4a4d9b0dc6ef79a48c5718ae6d3e211095f0aa02 | Update description to match mania mirror implementation | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game.Rulesets.Osu/Mods/OsuModMirror.cs | osu.Game.Rulesets.Osu/Mods/OsuModMirror.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Bindables;
using osu.Game.Configuration;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Obje... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Bindables;
using osu.Game.Configuration;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Obje... | mit | C# |
792f62229422ed5b15624fc83e66c24b00085765 | Fix style | jagt/fullserializer,zodsoft/fullserializer,jagt/fullserializer,nuverian/fullserializer,Ksubaka/fullserializer,darress/fullserializer,Ksubaka/fullserializer,lazlo-bonin/fullserializer,shadowmint/fullserializer,jacobdufault/fullserializer,karlgluck/fullserializer,jacobdufault/fullserializer,caiguihou/myprj_02,shadowmint/... | Testing/Editor/PropertiesTests.cs | Testing/Editor/PropertiesTests.cs | using NUnit.Framework;
namespace FullSerializer.Tests.PropertiesTests {
public class Model {
[fsProperty]
public int Getter { get { return 3; } }
[fsIgnore]
public int _setValue;
[fsProperty]
public int Setter { set { _setValue = value; } }
}
public clas... | using NUnit.Framework;
namespace FullSerializer.Tests.PropertiesTests {
public class Model {
[fsProperty]
public int Getter { get { return 3; } }
[fsIgnore]
public int _setValue;
[fsProperty]
public int Setter { set { _setValue = value; } }
}
public class MemberSerializationTests {
... | mit | C# |
85c0e02808a18de74fd1acb4f1b8b3cdd6ecbfd8 | Add marker | mstrother/BmpListener | src/BmpListener/Bgp/BgpHeader.cs | src/BmpListener/Bgp/BgpHeader.cs | using System;
using System.Linq;
namespace BmpListener.Bgp
{
public class BgpHeader
{
public BgpHeader(byte[] data, int offset)
{
Decode(data, offset);
}
public byte[] Marker { get; } = new byte[16];
public int Length { get; private set; }
public Bg... | using System;
namespace BmpListener.Bgp
{
public class BgpHeader
{
public BgpHeader(byte[] data, int offset)
{
Decode(data, offset);
}
public int Length { get; private set; }
public BgpMessageType Type { get; private set; }
public void Decode(byte[... | mit | C# |
589e987a52a04a0eeafa5337d888b7c66a9462ad | Update version to 2016.0.0 beta1. | Bloomcredit/SSH.NET,sshnet/SSH.NET,miniter/SSH.NET | src/Renci.SshNet/Properties/CommonAssemblyInfo.cs | src/Renci.SshNet/Properties/CommonAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.")]
[assembly: AssemblyCompany("Renci")]
[assembly: AssemblyProduct("SSH.NET")]
[assembly: AssemblyCopyright("Copyright Renci 2010-20... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.")]
[assembly: AssemblyCompany("Renci")]
[assembly: AssemblyProduct("SSH.NET")]
[assembly: AssemblyCopyright("Copyright Renci 2010-20... | mit | C# |
bdf8106cd2f4d7cdb97dd12a3128002796f4e3fb | Improve test naming | tommarien/zenini | src/Zenini.Tests/Model/An_IniSettings_instance.cs | src/Zenini.Tests/Model/An_IniSettings_instance.cs | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Shouldly;
using Zenini.Model;
namespace Zenini.Tests.Model
{
[TestFixture]
public class An_IniSettings_instance
{
[SetUp]
public void Setup()
{
sectionOne = new Section("SectionOne", new D... | using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Shouldly;
using Zenini.Model;
namespace Zenini.Tests.Model
{
[TestFixture]
public class An_IniSettings_instance
{
[SetUp]
public void Setup()
{
sectionOne = new Section("SectionOne", new D... | mit | C# |
5df5478eb5a6db3c48fdea0d1f1d7a41b05c87c5 | Make ToBuffer internal, as was intended. | jskeet/edulinq,jskeet/edulinq,zhangz/edulinq,jskeet/edulinq,iainholder/edulinq,iainholder/edulinq,pyaria/edulinq,zhangz/edulinq,pyaria/edulinq | src/Edulinq/ToBuffer.cs | src/Edulinq/ToBuffer.cs | #region Copyright and license information
// Copyright 2010-2011 Jon Skeet
//
// 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
... | #region Copyright and license information
// Copyright 2010-2011 Jon Skeet
//
// 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
... | apache-2.0 | C# |
b908e15c49728f788fa6da1907c443da2a98f16b | Update Sentry DSN | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Program.cs | Battery-Commander.Web/Program.cs | namespace BatteryCommander.Web
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLevel { get; } = new LoggingLevelSwitch(Se... | namespace BatteryCommander.Web
{
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Core;
public class Program
{
public static LoggingLevelSwitch LogLevel { get; } = new LoggingLevelSwitch(Se... | mit | C# |
3d318cbfba9acd1704bd1dc1076e423144ddce9f | Bump 0.15.1 | lstefano71/Nowin,pysco68/Nowin,Bobris/Nowin,pysco68/Nowin,et1975/Nowin,et1975/Nowin,modulexcite/Nowin,pysco68/Nowin,modulexcite/Nowin,lstefano71/Nowin,lstefano71/Nowin,Bobris/Nowin,et1975/Nowin,Bobris/Nowin,modulexcite/Nowin | Nowin/Properties/AssemblyInfo.cs | Nowin/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Nowin")]
[assembly: AssemblyDescription("... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Nowin")]
[assembly: AssemblyDescription("... | mit | C# |
7e4309e9df3155b7f72b6c5f07e44d6697fa3957 | Add test for inherited ignores | ericsink/sqlite-net,praeclarum/sqlite-net,arlm/sqlite-net | tests/IgnoreTest.cs | tests/IgnoreTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using SQLite;
#if NETFX_CORE
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SetUp = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestInitializeAttribute;
using TearDown = Microsoft.VisualStudio.TestPlatform.UnitTestFramewo... | using System;
using System.Collections.Generic;
using System.Linq;
using SQLite;
#if NETFX_CORE
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SetUp = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestInitializeAttribute;
using TearDown = Microsoft.VisualStudio.TestPlatform.UnitTestFramewo... | mit | C# |
6b1b728c50087f8e0964941008392d9a25c4deac | Update AnalysisResults.cs | smith-chem-wisc/MetaMorpheus,rmillikin/MetaMorpheus,hoffmann4/MetaMorpheus,XRSHEERAN/MetaMorpheus,lonelu/MetaMorpheus,lschaffer2/MetaMorpheus,zrolfs/MetaMorpheus | InternalLogic/AnalysisResults.cs | InternalLogic/AnalysisResults.cs | using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace InternalLogicEngineLayer
{
public class AnalysisResults : MyResults
{
#region Public Constructors
public AnalysisResults(AnalysisEngine s, List<NewPsmWithFdr>[] allResultingIdentifications, List<ProteinGroup> pr... | using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace InternalLogicEngineLayer
{
public class AnalysisResults : MyResults
{
#region Public Constructors
public AnalysisResults(AnalysisEngine s, List<NewPsmWithFdr>[] allResultingIdentifications, List<ProteinGroup> pr... | mit | C# |
4cbe71f4882cec9d87b1739bb7ed7c40c422c438 | Fix formatting of table load errors | TheBerkin/Rant | Rant/Vocabulary/RantTableLoadException.cs | Rant/Vocabulary/RantTableLoadException.cs | using System;
using Rant.Localization;
namespace Rant.Vocabulary
{
/// <summary>
/// Thrown when Rant encounters an error while loading a dictionary table.
/// </summary>
public sealed class RantTableLoadException : Exception
{
internal RantTableLoadException(string origin, int line, int col, string messageTy... | using System;
using Rant.Localization;
namespace Rant.Vocabulary
{
/// <summary>
/// Thrown when Rant encounters an error while loading a dictionary table.
/// </summary>
public sealed class RantTableLoadException : Exception
{
internal RantTableLoadException(string origin, int line, int col, string messageTy... | mit | C# |
e6f1114bc14301e3791b720ac1b540c17dce51c0 | Add COTP.ReadTSDU test | killnine/s7netplus,daGnutt/s7netplus | S7.Net.UnitTest/ProtocolTests.cs | S7.Net.UnitTest/ProtocolTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using S7.Net;
using System.IO;
using System.Threading.Tasks;
namespace S7.Net.UnitTest
{
[TestClass]
public class ProtocolUnitTest
{
[TestMethod]
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using S7.Net;
using System.IO;
using System.Threading.Tasks;
namespace S7.Net.UnitTest
{
[TestClass]
public class ProtocolUnitTest
{
[TestMethod]
publi... | mit | C# |
54bb5ad7fa1f82e283bf1a0eeb8ffd86318087d9 | remove old copied code | akatakritos/SassSharp | SassSharp/Ast/SassSyntaxTree2.cs | SassSharp/Ast/SassSyntaxTree2.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SassSharp.Ast
{
public class SassSyntaxTree2
{
public RootNode Root { get; private set; }
public SassSyntaxTree2(RootNode root)
{
this.Root = root;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SassSharp.Ast
{
public class SassSyntaxTree2
{
private IEnumerable<RuleNode> enumerable;
public RootNode Root { get; private set; }
public SassSyntaxTree2(Roo... | mit | C# |
b1ed51e72c313594fcfcb4a02cfe8d14d2f61ad0 | Fix missing using directive | qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox,lances101/Wox,qianlifeng/Wox,qianlifeng/Wox,lances101/Wox | Wox.Infrastructure/Logger/Log.cs | Wox.Infrastructure/Logger/Log.cs | using NLog;
using Wox.Infrastructure.Exception;
namespace Wox.Infrastructure.Logger
{
public class Log
{
private static NLog.Logger logger = LogManager.GetCurrentClassLogger();
public static void Error(System.Exception e)
{
#if DEBUG
throw e;
#else
while (e.Inn... | using NLog;
namespace Wox.Infrastructure.Logger
{
public class Log
{
private static NLog.Logger logger = LogManager.GetCurrentClassLogger();
public static void Error(System.Exception e)
{
#if DEBUG
throw e;
#else
while (e.InnerException != null)
{
... | mit | C# |
e45fa431e957a64f7407a3a8a8958443bef80b1c | Fix updating screenshots for quicksave | jefftimlin/BetterLoadSaveGame | src/SaveWatcher.cs | src/SaveWatcher.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace BetterLoadSaveGame
{
class SaveWatcher : IDisposable
{
private FileSystemWatcher _watcher;
public event FileSystemEventHandler OnSave;
public SaveWatcher()
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace BetterLoadSaveGame
{
class SaveWatcher : IDisposable
{
private FileSystemWatcher _watcher;
public event FileSystemEventHandler OnSave;
public SaveWatcher()
{
... | mit | C# |
a10a52b38693149c829b8035f23e60b4bd0b3cc7 | make wallet an ITransactionMonitor | ArsenShnurkov/BitSharp | BitSharp.Core/Wallet/Wallet.cs | BitSharp.Core/Wallet/Wallet.cs | using BitSharp.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Core.Wallet
{
public class Wallet : ITransactionMonitor
{
// addresses
private readonly List<WalletAddress> addresses;
... | using BitSharp.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Core.Wallet
{
public class Wallet
{
// addresses
private readonly List<WalletAddress> addresses;
// current point... | unlicense | C# |
5c55933dd9c2c3ab414c063976f9e666d9cb22ce | Add Image and description to Book model | msmilkoff/Bookman,msmilkoff/Bookman | Bookman/Bookman.Models/Book.cs | Bookman/Bookman.Models/Book.cs | namespace Bookman.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class Book
{
private ICollection<Review> reviews;
public Book()
{
this.reviews = new HashSet<Review>();
}
[Key]
public int Id {... | namespace Bookman.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class Book
{
private ICollection<Review> reviews;
public Book()
{
this.reviews = new HashSet<Review>();
}
[Key]
public int Id {... | mit | C# |
892482e94e165be8aea689b8d9b6573613c7b890 | Update default publishing url to point to v2 feed. | chocolatey/nuget-chocolatey,GearedToWar/NuGet2,xoofx/NuGet,jholovacs/NuGet,xoofx/NuGet,xoofx/NuGet,antiufo/NuGet2,alluran/node.net,jholovacs/NuGet,jholovacs/NuGet,OneGet/nuget,antiufo/NuGet2,xoofx/NuGet,mrward/nuget,themotleyfool/NuGet,mrward/NuGet.V2,indsoft/NuGet2,OneGet/nuget,OneGet/nuget,ctaggart/nuget,antiufo/NuGe... | Common/NuGetConstants.cs | Common/NuGetConstants.cs | using System;
namespace NuGet
{
public static class NuGetConstants
{
public static readonly string DefaultFeedUrl = "https://go.microsoft.com/fwlink/?LinkID=230477";
public static readonly string V1FeedUrl = "https://go.microsoft.com/fwlink/?LinkID=206669";
public static read... | using System;
namespace NuGet
{
public static class NuGetConstants
{
public static readonly string DefaultFeedUrl = "https://go.microsoft.com/fwlink/?LinkID=230477";
public static readonly string V1FeedUrl = "https://go.microsoft.com/fwlink/?LinkID=206669";
public static read... | apache-2.0 | C# |
ffdc6c2d6a2f83420f9572b75c058c2babdcf500 | bump version of the Granados assembly | poderosaproject/poderosa,ttdoda/poderosa,poderosaproject/poderosa,ttdoda/poderosa,ttdoda/poderosa,poderosaproject/poderosa,poderosaproject/poderosa,poderosaproject/poderosa,ttdoda/poderosa | Granados/AssemblyInfo.cs | Granados/AssemblyInfo.cs | /*
Copyright (c) 2005 Poderosa Project, All Rights Reserved.
This file is a part of the Granados SSH Client Library that is subject to
the license included in the distributed package.
You may not use this file except in compliance with the license.
* $Id: AssemblyInfo.cs,v 1.6 2011/10/27 23:21:56 kzmi Exp $
*/
us... | /*
Copyright (c) 2005 Poderosa Project, All Rights Reserved.
This file is a part of the Granados SSH Client Library that is subject to
the license included in the distributed package.
You may not use this file except in compliance with the license.
* $Id: AssemblyInfo.cs,v 1.6 2011/10/27 23:21:56 kzmi Exp $
*/
us... | apache-2.0 | C# |
8e9ccd22fd04e70ac282c49d8b49fe04a0bc98e1 | Fix bookmark NullRef when loading for the first time | PlayScriptRedux/monomac,dlech/monomac | samples/macdoc/BookmarkManager.cs | samples/macdoc/BookmarkManager.cs | using System;
using System.IO;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace macdoc
{
public enum BookmarkEventType {
Added,
Deleted,
Modified
}
public class BookmarkManagerEventsArgs : EventArgs
{
public BookmarkManager.Entry Entry { get; set; }
public BookmarkEventType E... | using System;
using System.IO;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace macdoc
{
public enum BookmarkEventType {
Added,
Deleted,
Modified
}
public class BookmarkManagerEventsArgs : EventArgs
{
public BookmarkManager.Entry Entry { get; set; }
public BookmarkEventType E... | apache-2.0 | C# |
771df86f66ae777b7e616c70f0fa15ebc77a18f3 | Allow message TimeStamp to be set when deserializing | Intelliflo/JustSaying,eric-davis/JustSaying,Intelliflo/JustSaying | JustSaying.Models/Message.cs | JustSaying.Models/Message.cs | using System;
namespace JustSaying.Models
{
public abstract class Message
{
protected Message()
{
TimeStamp = DateTime.UtcNow;
Id = Guid.NewGuid();
}
public Guid Id { get; set; }
public DateTime TimeStamp { get; set; }
public string Raisi... | using System;
namespace JustSaying.Models
{
public abstract class Message
{
protected Message()
{
TimeStamp = DateTime.UtcNow;
Id = Guid.NewGuid();
}
public Guid Id { get; set; }
public DateTime TimeStamp { get; private set; }
public stri... | apache-2.0 | C# |
c5a57de76391d05ec02d096d58d81aac9c75849a | Add UnionWith to Maps. | garbervetsky/analysis-net | Backend/Utils/Map.cs | Backend/Utils/Map.cs | // Copyright (c) Edgardo Zoppi. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Backend.Model;
using Model;
namespace Backend.Utils
{
public cla... | // Copyright (c) Edgardo Zoppi. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Backend.Model;
using Model;
namespace Backend.Utils
{
public cla... | mit | C# |
b133b90baf2ae6cf22298e8397f3620f04e8dac5 | build 7.1.9.0 | agileharbor/channelAdvisorAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assem... | bsd-3-clause | C# |
2023f608bb90b76673d5419256d866842e99b332 | Define icons for new task classes. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/IconClasses.cs | source/Nuke.Common/IconClasses.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.ChangeLog;
using Nuke.Common.Git;
using Nuke.Common.Gitter;
using Nuke.Common.IO;
using Nuke.Common.Tools.CoverallsNet;... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Git;
using Nuke.Common.IO;
using Nuke.Common.Tools.CoverallsNet;
using Nuke.Common.Tools.DocFx;
using Nuke.Common.Tools... | mit | C# |
6165f6940ddbab7d320c88d008a58fedae491aed | fix tests mistake | raphaelheitor/calendary | src.test/DateTimeExtensionTest.cs | src.test/DateTimeExtensionTest.cs | using System;
using NUnit.Framework;
using ExtensionMethods;
namespace src.test
{
[TestFixture]
class DateTimeExtensionTest
{
[Test]
public void GivenADateShouldReturnTomorrowDate()
{
var d1 = new DateTime(2016, 9, 5);
Assert.AreEqual(new DateTi... | using System;
using NUnit.Framework;
using ExtensionMethods;
namespace src.test
{
[TestFixture]
class DateTimeExtensionTest
{
[Test]
public void GivenADateShouldReturnTomorrowDate()
{
var d1 = new DateTime(2016, 9, 5);
Assert.AreEqual(d1.Tomorro... | apache-2.0 | C# |
01c86dcf5ae8a8e5e449850754eb86dda94512b1 | Bump version to 0.6.3 | ar3cka/Journalist | src/SolutionInfo.cs | src/SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.6.3")]
[assembly: AssemblyInformationalVersionAttribute("0.6.3")]
[assembly: AssemblyFileVersionAttribute("0.6.3")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.6.2")]
[assembly: AssemblyInformationalVersionAttribute("0.6.2")]
[assembly: AssemblyFileVersionAttribute("0.6.2")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | apache-2.0 | C# |
3382b24673a04bd5d3404a004cb5eb88f8e87d29 | Remove duplicate OnClickHandler | iridinite/shiftdrive | Client/TextButton.cs | Client/TextButton.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace ShiftDrive {
/// <summary>
/// Represents an interactive text button.
/// </summary>
internal sealed class TextButton : Button {
public string Caption { ... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace ShiftDrive {
internal delegate void OnClickHandler(Control sender);
/// <summary>
/// Represents an interactive text button.
/// </summary>
internal sealed c... | bsd-3-clause | C# |
d833f5bfbb39e2a65f0825bf42d559faac3b0e10 | Rename Load() to Instance for DependencyContext | rakeshsinghranchi/core-setup,janvorli/core-setup,weshaggard/core-setup,zamont/core-setup,ravimeda/core-setup,chcosta/core-setup,vivmishra/core-setup,schellap/core-setup,chcosta/core-setup,vivmishra/core-setup,janvorli/core-setup,ramarag/core-setup,karajas/core-setup,karajas/core-setup,joperezr/core-setup,ramarag/core-s... | DependencyContext.cs | DependencyContext.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Reflection;
using System.Collections.Generic;
namespace Microsoft.Extensions.DependencyModel
{
... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Reflection;
using System.Collections.Generic;
namespace Microsoft.Extensions.DependencyModel
{
... | mit | C# |
47eaf8ed9878a157298fee20c48d96f193308ae5 | Check if preset specified by Config file exists first Whoops! Can't believe I forgot to check for this. Thanks, Sajid! | Radfordhound/HedgeLib,Radfordhound/HedgeLib | HedgeEdit/Config.cs | HedgeEdit/Config.cs | using System;
using System.IO;
using System.Windows.Forms;
using System.Xml.Linq;
using HedgeLib;
namespace HedgeEdit
{
public static class Config
{
// Variables/Constants
public static string InputPreset = DefaultInputPreset;
public static readonly string ConfigDir = Path.Combine(Env... | using System;
using System.IO;
using System.Windows.Forms;
using System.Xml.Linq;
using HedgeLib;
namespace HedgeEdit
{
public static class Config
{
// Variables/Constants
public static string InputPreset = DefaultInputPreset;
public static readonly string ConfigDir = Path.Combine(Env... | mit | C# |
216c705ecc344d9f386c811483f0da8b598ca7fe | Fix the PyGILState_STATE type | pythonnet/pythonnet,QuantConnect/pythonnet,pythonnet/pythonnet,pythonnet/pythonnet,QuantConnect/pythonnet,QuantConnect/pythonnet | src/runtime/native/PyGILState.cs | src/runtime/native/PyGILState.cs | namespace Python.Runtime.Native;
/// <remarks><c>PyGILState_STATE</c></remarks>
enum PyGILState
{
PyGILState_LOCKED,
PyGILState_UNLOCKED
}
| using System;
using System.Runtime.InteropServices;
namespace Python.Runtime.Native;
/// <remarks><c>PyGILState_STATE</c></remarks>
[StructLayout(LayoutKind.Sequential)]
struct PyGILState
{
IntPtr handle;
}
| mit | C# |
7fd38d82ee5b1c65df102d0a81d3e508f2db1c41 | Bump version to 0.22 | mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
65fac8a2f6c1ed3a6548bad6c9e56e6b79b3351a | remove some text | BlairwareDevelopment/Kickball,BlairwareDevelopment/Kickball,BlairwareDevelopment/Kickball | Kickball/Views/Home/Index.cshtml | Kickball/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web appons using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
<div ... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | mit | C# |
671925413940c26c29d9de0b9e51b7bceac92114 | Add content search paths to MacGameController in Mac Test project to fix issues with font assets not being found. | mono/CocosSharp,mono/CocosSharp | tests/tests/MacGameController.cs | tests/tests/MacGameController.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.OpenGL;
using CGRect = System.Drawing.RectangleF;
using CocosSharp;
namespace tests
{
public partial class MacGameController : MonoMac.AppKit.NSWindowController
{
#region... |
using System;
using System.Collections.Generic;
using System.Linq;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.OpenGL;
using CGRect = System.Drawing.RectangleF;
using CocosSharp;
namespace tests
{
public partial class MacGameController : MonoMac.AppKit.NSWindowController
{
#region... | mit | C# |
8971240608d8bde1cee4b2abcb1460a6072746e7 | Fix wrong percentages | Catel/Catel.Benchmarks | src/Catel.BenchmarkCombiner/Models/SlowerBenchmarkSummary.cs | src/Catel.BenchmarkCombiner/Models/SlowerBenchmarkSummary.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="FasterBenchmarkSummary.cs" company="Catel development team">
// Copyright (c) 2008 - 2017 Catel development team. All rights reserved.
// </copyright>
// -----------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="FasterBenchmarkSummary.cs" company="Catel development team">
// Copyright (c) 2008 - 2017 Catel development team. All rights reserved.
// </copyright>
// -----------------------... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.