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 |
|---|---|---|---|---|---|---|---|---|
a823eaa5b1fdc06f2a9622365130da786a8fc13a | Update RouteInformation.cs | kobake/AspNetCore.RouteAnalyzer,kobake/AspNetCore.RouteAnalyzer,kobake/AspNetCore.RouteAnalyzer | AspNetCore.RouteAnalyzer/RouteInformation.cs | AspNetCore.RouteAnalyzer/RouteInformation.cs | namespace AspNetCore.RouteAnalyzer
{
public class RouteInformation
{
public string HttpMethod { get; set; } = "GET";
public string Area { get; set; } = "";
public string Path { get; set; } = "";
public string Invocation { get; set; } = "";
public override string ToString... | using System;
using System.Collections.Generic;
using System.Text;
namespace AspNetCore.RouteAnalyzer
{
public class RouteInformation
{
public string Area { get; set; } = "";
public string Path { get; set; } = "";
public string Invocation { get; set; } = "";
public override st... | mit | C# |
69ea76a984a1f5a431ce021220b2dcaae803649f | Revert function sig | evilz/sc2replay-csharp,ascendedguard/sc2replay-csharp | Starcraft2.ReplayParser/replay.game.events/SendResourcesEvent.cs | Starcraft2.ReplayParser/replay.game.events/SendResourcesEvent.cs | // -----------------------------------------------------------------------
// <copyright file="SendResourcesEvent.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
namespace Starcraft2.ReplayParser
{
using Streams;
... | // -----------------------------------------------------------------------
// <copyright file="SendResourcesEvent.cs" company="Microsoft">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------
namespace Starcraft2.ReplayParser
{
using Streams;
... | mit | C# |
a372e06e26dff22cdf97a951d964970f8b9c7ddd | fix resharper nag | IUMDPI/IUMediaHelperApps | Packager/Utilities/Hasher.cs | Packager/Utilities/Hasher.cs | using System.IO;
using System.Linq;
using System.Security.Cryptography;
using Packager.Models.FileModels;
namespace Packager.Utilities
{
public class Hasher : IHasher
{
private string BaseProcessingFolder { get; set; }
public Hasher(string baseProcessingFolder)
{
BaseProces... | using System.IO;
using System.Linq;
using System.Security.Cryptography;
using Packager.Models.FileModels;
namespace Packager.Utilities
{
public class Hasher : IHasher
{
private string BaseProcessingFolder { get; set; }
public Hasher(string baseProcessingFolder)
{
BaseProces... | apache-2.0 | C# |
10034c1def62f808b590422b88aa58c0868adb5f | use Uri class to do string/uri comparisons | ryanvgates/IdentityServer3,delRyan/IdentityServer3,olohmann/IdentityServer3,iamkoch/IdentityServer3,kouweizhong/IdentityServer3,bodell/IdentityServer3,EternalXw/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,jackswei/IdentityServer3,angelapper/IdentityServer3,roflkins/IdentityServer3,huoxudong125/Thinktecture.Ide... | source/Core/Services/Default/DefaultRedirectUriValidator.cs | source/Core/Services/Default/DefaultRedirectUriValidator.cs | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | apache-2.0 | C# |
75a23a77932ea8aaf2455c23972a566b1c8024c8 | throw exception on channel response error | heksesang/Emby.Plugins,SvenVandenbrande/Emby.Plugins,lalmanzar/MediaBrowser.Plugins,Pengwyns/Emby.Plugins,MediaBrowser/Emby.Plugins,lalmanzar/MediaBrowser.Plugins,heksesang/Emby.Plugins,SvenVandenbrande/Emby.Plugins,hamstercat/Emby.Plugins,SvenVandenbrande/Emby.Plugins,hamstercat/Emby.Plugins,MediaBrowser/Emby.Plugins,... | MediaBrowser.Plugins.NextPvr/ChannelResponse.cs | MediaBrowser.Plugins.NextPvr/ChannelResponse.cs | using System;
using MediaBrowser.Controller.LiveTv;
using MediaBrowser.Model.Serialization;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
namespace MediaBrowser.Plugins.NextPvr
{
public class ChannelResponse
{
private readonly CultureInfo _usCulture ... | using MediaBrowser.Controller.LiveTv;
using MediaBrowser.Model.Serialization;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
namespace MediaBrowser.Plugins.NextPvr
{
public class ChannelResponse
{
private readonly CultureInfo _usCulture = new CultureI... | mit | C# |
e24efcf37f37c55eb2bd244e66417f73a3636874 | Bump version to 1.2 | kevinkuszyk/FluentAssertions.Ioc.Ninject,kevinkuszyk/FluentAssertions.Ioc.Ninject | src/FluentAssertions.Ioc.Ninject/Properties/AssemblyInfo.cs | src/FluentAssertions.Ioc.Ninject/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("Fl... | 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("Fl... | apache-2.0 | C# |
81df865e62b21d956e77dd50b8e03ada36718196 | add comment | angeldnd/dap.core.csharp | Scripts/DapCore/context_/property_/IProperty.cs | Scripts/DapCore/context_/property_/IProperty.cs | using System;
using System.Collections.Generic;
namespace angeldnd.dap {
public interface IProperty : IVar {
Data Encode();
bool Decode(Data data);
/*
* Not have logic with DapType check, the format of the data is same,
* still having the "v" as key.
*/
D... | using System;
using System.Collections.Generic;
namespace angeldnd.dap {
public interface IProperty : IVar {
Data Encode();
bool Decode(Data data);
Data EncodeValue();
bool DecodeValue(Data data);
}
public interface IProperty<T> : IVar<T>, IProperty {
}
}
| mit | C# |
a066f2801d080da00a4d94d3c1453abe8d4dc59c | make sure to set the filemanager in all cases | dipeshc/BTDeploy | src/MonoTorrent/MonoTorrent.Client/PieceWriter/PieceData.cs | src/MonoTorrent/MonoTorrent.Client/PieceWriter/PieceData.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace MonoTorrent.Client
{
public class PieceData
{
public ArraySegment<byte> Buffer;
private int count;
private PeerIdInternal id;
private Piece piece;
private int pieceIndex;
private int sta... | using System;
using System.Collections.Generic;
using System.Text;
namespace MonoTorrent.Client
{
public class PieceData
{
public ArraySegment<byte> Buffer;
private int count;
private PeerIdInternal id;
private Piece piece;
private int pieceIndex;
private int sta... | mit | C# |
7d6e27a23ec88138ada829f50e473cea394df189 | Allow conversion of UInt64 based enums | pythonnet/pythonnet,pythonnet/pythonnet,pythonnet/pythonnet | src/runtime/Codecs/EnumPyIntCodec.cs | src/runtime/Codecs/EnumPyIntCodec.cs | using System;
namespace Python.Runtime.Codecs
{
[Obsolete]
public sealed class EnumPyIntCodec : IPyObjectEncoder, IPyObjectDecoder
{
public static EnumPyIntCodec Instance { get; } = new EnumPyIntCodec();
public bool CanDecode(PyType objectType, Type targetType)
{
return... | using System;
namespace Python.Runtime.Codecs
{
[Obsolete]
public sealed class EnumPyIntCodec : IPyObjectEncoder, IPyObjectDecoder
{
public static EnumPyIntCodec Instance { get; } = new EnumPyIntCodec();
public bool CanDecode(PyType objectType, Type targetType)
{
return... | mit | C# |
d79190c936ce0e79cbb7759d1ef7c46facac448f | Update XGroupDragAndDropListBox.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | Core2D.Wpf/Controls/Custom/Lists/XGroupDragAndDropListBox.cs | Core2D.Wpf/Controls/Custom/Lists/XGroupDragAndDropListBox.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.Collections.Immutable;
using System.Windows.Controls;
namespace Core2D.Wpf.Controls.Custom.Lists
{
/// <summary>
/// The <see cref="ListBox"/... | // 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.Collections.Immutable;
using System.Windows.Controls;
namespace Core2D.Wpf.Controls.Custom.Lists
{
/// <summary>
/// The <see cref="ListBox"/... | mit | C# |
ba36b934a503038a46d62e60263af281e9e1e237 | Update WorkingWithContentTypeProperties.cs | aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET | Examples/CSharp/Workbook/WorkingWithContentTypeProperties.cs | Examples/CSharp/Workbook/WorkingWithContentTypeProperties.cs | using Aspose.Cells.WebExtensions;
using System;
namespace Aspose.Cells.Examples.CSharp._Workbook
{
public class WorkingWithContentTypeProperties
{
public static void Run()
{
// ExStart:1
//source directory
string outputDir = RunExamples.Get_OutputD... | using Aspose.Cells.WebExtensions;
using System;
namespace Aspose.Cells.Examples.CSharp._Workbook
{
public class WorkingWithContentTypeProperties
{
public static void Run()
{
// ExStart:1
//source directory
string outputDir = RunExamples.Get_OutputD... | mit | C# |
9a22b6e1df22c8e7de3f8dce967d296a8c662385 | Create first automated acceptance test | lifebeyondfife/Decider | Examples/LeagueGeneration/Program.cs | Examples/LeagueGeneration/Program.cs | /*
Copyright © Iain McDonald 2010-2020
This file is part of Decider.
*/
using System;
using System.Collections.Generic;
using System.Linq;
namespace Decider.Example.LeagueGeneration
{
public class Program
{
static void Main(string[] args)
{
var leagueGeneration = new LeagueGeneration((args.Len... | /*
Copyright © Iain McDonald 2010-2020
This file is part of Decider.
*/
using System;
using System.Collections.Generic;
using System.Linq;
namespace Decider.Example.LeagueGeneration
{
public class Program
{
static void Main(string[] args)
{
var leagueGeneration = new LeagueGeneration((args.Len... | mit | C# |
cfa1ebd7c0d11c574e1967ed947501d16f674921 | Remove DebuggerDisplay attribute not applicable anymore | paiden/Nett | Source/Nett/TomlConverter.cs | Source/Nett/TomlConverter.cs | using System;
namespace Nett
{
internal sealed class TomlConverter<TFrom, TTo> : TomlConverterBase<TFrom, TTo>
{
private readonly Func<TFrom, TTo> convert;
public TomlConverter(Func<TFrom, TTo> convert)
{
if (convert == null) { throw new ArgumentNullException(nameof(conver... | using System;
using System.Diagnostics;
namespace Nett
{
[DebuggerDisplay("{FromType} -> {ToType}")]
internal sealed class TomlConverter<TFrom, TTo> : TomlConverterBase<TFrom, TTo>
{
private readonly Func<TFrom, TTo> convert;
public TomlConverter(Func<TFrom, TTo> convert)
{
... | mit | C# |
e970acad7f21c954a8808f603a07ad884addae5f | Make all strings in loaded TdfNodes lowercase | MHeasell/TAUtil,MHeasell/TAUtil | TAUtil/Tdf/TdfNodeAdapter.cs | TAUtil/Tdf/TdfNodeAdapter.cs | namespace TAUtil.Tdf
{
using System.Collections.Generic;
public class TdfNodeAdapter : ITdfNodeAdapter
{
private readonly Stack<TdfNode> nodeStack = new Stack<TdfNode>();
public TdfNodeAdapter()
{
this.RootNode = new TdfNode();
this.nodeStack.Pus... | namespace TAUtil.Tdf
{
using System.Collections.Generic;
public class TdfNodeAdapter : ITdfNodeAdapter
{
private readonly Stack<TdfNode> nodeStack = new Stack<TdfNode>();
public TdfNodeAdapter()
{
this.RootNode = new TdfNode();
this.nodeStack.Pus... | mit | C# |
a1717f4f1c248609ea7c416fcc3bdb965c915f13 | Improve object store | ermshiperete/undisposed-fody,ermshiperete/undisposed-fody | Undisposed/DisposeTracker.cs | Undisposed/DisposeTracker.cs | // Copyright (c) 2014 Eberhard Beilharz
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Undisposed
{
public static class DisposeTracker
{
private static Dictionary<Type, int> _R... | // Copyright (c) 2014 Eberhard Beilharz
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Collections.Generic;
namespace Undisposed
{
public static class DisposeTracker
{
private static Dictionary<Type, int> _Registrations = new Dictionary<Type, int... | mit | C# |
f742ceecbdab2f559bab7b2dc105c579ab117b17 | Fix incorrect syntax | Seddryck/NBi,Seddryck/NBi | NBi.Core/Batch/BatchRunnerFactory.cs | NBi.Core/Batch/BatchRunnerFactory.cs | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Batch
{
class BatchRunnerFactory
{
public IDecorationCommandImplementation Get(IBatchCommand com... | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Batch
{
class BatchRunnerFactory
{
public IDecorationCommandImplementation Get(IBatchCommand com... | apache-2.0 | C# |
9102c5190183a893fecd883f5754d882020c2825 | remove un-used namespaces. | 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 HelloWorld.Core;
using HelloWorld.Core.NinjectModules;
using Ninject;
class Program
{
static void Main()
{
var kernel = new StandardKernel(new HelloWorldModule());
var manag... |
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... | mit | C# |
8ce57e29ff57553dae72223704332d3e65ccc925 | Correct delegate build error and address bar now updates properly to the navigated page. | xcjs/tray-webview,xcjs/NotificationWebView | NotificationWebView/ViewModels/Browser.cs | NotificationWebView/ViewModels/Browser.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using CefSharp;
using CefSharp.Wpf;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
namespace Noti... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using CefSharp;
using CefSharp.Wpf;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
namespace Noti... | mit | C# |
0fa2667a004baaa37dc98730a308350ef63b7d50 | Update PasAccountApiClientRegistry.cs | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.PAS.Account.Api.ClientV2/DependencyResolution/PasAccountApiClientRegistry.cs | src/SFA.DAS.PAS.Account.Api.ClientV2/DependencyResolution/PasAccountApiClientRegistry.cs | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using SFA.DAS.PAS.Account.Api.ClientV2.Configuration;
using StructureMap;
using System;
using System.Linq.Expressions;
namespace SFA.DAS.PAS.Account.Api.ClientV2.DependencyResolution
{
public class PasAccountApiClientRegistry : Registry... | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using SFA.DAS.PAS.Account.Api.ClientV2.Configuration;
using StructureMap;
namespace SFA.DAS.PAS.Account.Api.ClientV2.DependencyResolution
{
public class PasAccountApiClientRegistry : Registry
{
public PasAccountApiClientRegi... | mit | C# |
ca19bb54799cff783718e3681e2f5005e0de0e7a | Fix broken test | celeron533/marukotoolbox | mp4boxTests/MainFormTests.cs | mp4boxTests/MainFormTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using mp4box.Procedure;
using mp4box.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace mp4box.Tests
{
[TestClass()]
public class MainFormTests
{
[TestMethod()]
public void ffmuxbatTes... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using mp4box.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace mp4box.Tests
{
[TestClass()]
public class MainFormTests
{
[TestMethod()]
public void ffmuxbatTest()
{
... | apache-2.0 | C# |
16b8f8176bb8820c4843adc961f6f9777efa8aad | Fix git push refs | michael-reichenauer/GitMind | GitMind/Utils/Git/Private/GitPush.cs | GitMind/Utils/Git/Private/GitPush.cs | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace GitMind.Utils.Git.Private
{
internal class GitPush : IGitPush
{
private readonly IGitCmd gitCmd;
private static readonly string PushArgs = "push --porcelain origin";
public GitPush(IGitCmd gitCmd)
{
this... | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace GitMind.Utils.Git.Private
{
internal class GitPush : IGitPush
{
private readonly IGitCmd gitCmd;
private static readonly string PushArgs = "push --porcelain";
public GitPush(IGitCmd gitCmd)
{
this.gitCmd... | mit | C# |
a41098b5b577a2fe035c37f62a3a6c10ca5cf8e7 | Bump de la version de l'assembly à 2.0.0.0 pour marquer les gros changements avec les configs de l'application pour les Sessions. | Nutritia/nutritia,Corantin/nutritia,glesaux/nutritia | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations... | mpl-2.0 | C# |
51f92be49b18fca45759ae8164c7376d6a60e8f0 | Add DatumConverterFactoryExtensions for non-generic IDatumConverterFactory | LukeForder/rethinkdb-net,nkreipke/rethinkdb-net,LukeForder/rethinkdb-net,kangkot/rethinkdb-net,bbqchickenrobot/rethinkdb-net,bbqchickenrobot/rethinkdb-net,Ernesto99/rethinkdb-net,Ernesto99/rethinkdb-net,kangkot/rethinkdb-net,nkreipke/rethinkdb-net | rethinkdb-net/DatumConverters/DatumConverterFactoryExtensions.cs | rethinkdb-net/DatumConverters/DatumConverterFactoryExtensions.cs | using System;
namespace RethinkDb
{
public static class DatumConverterFactoryExtensions
{
#region Generic extensions
public static bool TryGet<T>(this IDatumConverterFactory datumConverterFactory, out IDatumConverter<T> datumConverter)
{
return datumConverterFactory.TryGet<... | using System;
namespace RethinkDb
{
public static class DatumConverterFactoryExtensions
{
public static bool TryGet<T>(this IDatumConverterFactory datumConverterFactory, out IDatumConverter<T> datumConverter)
{
return datumConverterFactory.TryGet<T>(datumConverterFactory, out datumC... | apache-2.0 | C# |
2ad9dc56e8b0fd68ebd1f60c00ddf696c572f4b4 | fix native menu cast error. | SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,Perspex/Pe... | src/Avalonia.Controls/NativeMenu.cs | src/Avalonia.Controls/NativeMenu.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using Avalonia.Collections;
using Avalonia.Data;
using Avalonia.LogicalTree;
using Avalonia.Metadata;
namespace Avalonia.Controls
{
public partial class NativeMenu : AvaloniaObject, IEnumerable<NativeMen... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using Avalonia.Collections;
using Avalonia.Data;
using Avalonia.LogicalTree;
using Avalonia.Metadata;
namespace Avalonia.Controls
{
public partial class NativeMenu : AvaloniaObject, IEnumerable<NativeMen... | mit | C# |
cfd032c16c2da6f144520dd59002c013a98a0799 | Update version to 2.2.0 | TheOtherTimDuncan/TOTD | SharedAssemblyInfo.cs | SharedAssemblyInfo.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: AssemblyConfigura... | 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: AssemblyConfigura... | mit | C# |
bad8cae8e001e22f2df5903af9b517422d5b6367 | Add missing RET to reverse patch transpiler | pardeike/Harmony | HarmonyTests/ReversePatching/Assets/ReversePatches.cs | HarmonyTests/ReversePatching/Assets/ReversePatches.cs | using HarmonyLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
namespace HarmonyLibTests.Assets
{
public class Class0Reverse
{
public string Method(string original, int n)
{
var parts = original... | using HarmonyLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.CompilerServices;
namespace HarmonyLibTests.Assets
{
public class Class0Reverse
{
public string Method(string original, int n)
{
var parts = original... | mit | C# |
dcbf91a8ca18886c9a651327079c2a995a484a5f | Update UI look and feel | RubenLaube-Pohto/asp.net-project | Views/ChatView.cshtml | Views/ChatView.cshtml | @model ChatApp.Controllers.ChatMessagesViewModel
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
@using ChatApp.Models
<!DOCTYPE html>
<html>
<head>
<title>ChatApp</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w... | @model ChatApp.Controllers.ChatMessagesViewModel
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
@using ChatApp.Models
<!DOCTYPE html>
<html>
<head>
<title>ChatApp</title>
</head>
<body>
<table>
@foreach (Message msg in Model.OldMessages)
{
<tr>
<td class="aut... | mit | C# |
7ae68c1e1f1fe828c2dd84827c5b94ccf9cd5e76 | change view after completed | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.VisualStudio/UI/Views/PullRequestCreationView.xaml.cs | src/GitHub.VisualStudio/UI/Views/PullRequestCreationView.xaml.cs | using System;
using GitHub.Exports;
using GitHub.UI;
using GitHub.ViewModels;
using System.ComponentModel.Composition;
using ReactiveUI;
using System.Reactive.Subjects;
namespace GitHub.VisualStudio.UI.Views
{
public class GenericPullRequestCreationView : SimpleViewUserControl<IPullRequestCreationViewModel, Gener... | using System;
using GitHub.Exports;
using GitHub.UI;
using GitHub.ViewModels;
using System.ComponentModel.Composition;
using ReactiveUI;
namespace GitHub.VisualStudio.UI.Views
{
public class GenericPullRequestCreationView : SimpleViewUserControl<IPullRequestCreationViewModel, GenericPullRequestCreationView>
{... | mit | C# |
cb43de3d0e329c21077d18c6f7502ee5a275fdf4 | Update BundleConfig.cs | kriasoft/site-sdk,kriasoft/site-sdk,kriasoft/site-sdk,kriasoft/site-sdk | Source/Web/App_Start/BundleConfig.cs | Source/Web/App_Start/BundleConfig.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BundleConfig.cs" company="KriaSoft LLC">
// Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BundleConfig.cs" company="KriaSoft LLC">
// Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ------------------------------------------------... | apache-2.0 | C# |
62c378731985590a01b4a70e9451bf14f2f752a6 | Fix ArrayToString formatting. Fixes #1 | yuriks/SHA2-Csharp | Util.cs | Util.cs | /*
* Copyright (c) 2010 Yuri K. Schlesner
*
* 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, ... | /*
* Copyright (c) 2010 Yuri K. Schlesner
*
* 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, ... | mit | C# |
3f9e66bc657c0abb75d874d0cc90b5ff597bce22 | Bump version number | WombatFromHell/OriginSteamOverlayLauncher | OriginSteamOverlayLauncher/Properties/AssemblyInfo.cs | OriginSteamOverlayLauncher/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("Ori... | 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("Ori... | mit | C# |
d75aa18e20250ce26ad970db1ec1a5b0d0eb3038 | change equality definition to delay type-equality checking | acple/ParsecSharp | ParsecSharp/Core/Interface/IPosition.NetStandard21.cs | ParsecSharp/Core/Interface/IPosition.NetStandard21.cs | #if NETSTANDARD2_1
using System;
namespace ParsecSharp
{
public partial interface IPosition
{
int IComparable<IPosition>.CompareTo(IPosition? other)
=> other is null
? 1 // always greater than null
: this.Line != other.Line ? this.Line.CompareTo(other.Line) :... | #if NETSTANDARD2_1
using System;
namespace ParsecSharp
{
public partial interface IPosition
{
int IComparable<IPosition>.CompareTo(IPosition? other)
=> other is null
? 1 // always greater than null
: this.Line != other.Line ? this.Line.CompareTo(other.Line) :... | mit | C# |
9531946ff0f32104ad94439098d7c8703f7c2535 | Fix MenuButton constructor invocation | akrisiun/xwt,TheBrainTech/xwt,mono/xwt,antmicro/xwt,cra0zy/xwt,lytico/xwt,directhex/xwt,mminns/xwt,hamekoz/xwt,residuum/xwt,steffenWi/xwt,hwthomas/xwt,iainx/xwt,mminns/xwt | Xwt/Xwt/MenuButton.cs | Xwt/Xwt/MenuButton.cs | //
// MenuButton.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... | //
// MenuButton.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# |
eed4af899e1eee78ceada280dd8ce0110be5b7b5 | Update Index.cshtml | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/WebSite/Views/Home/Index.cshtml | src/WebSite/Views/Home/Index.cshtml | @using X.PagedList;
@using X.PagedList.Mvc.Core;
@model IPagedList<Core.ViewModels.PublicationViewModel>
@{
ViewData["Title"] = "Welcome!";
}
@section head {
<meta property="og:title" content="@Core.Settings.Current.WebSiteTitle" />
<meta property="og:type" content="website" />
<meta property="og:url... | @using X.PagedList;
@using X.PagedList.Mvc.Core;
@model IPagedList<Core.ViewModels.PublicationViewModel>
@{
ViewData["Title"] = "Welcome!";
}
@section head {
<meta property="og:title" content="@Core.Settings.Current.WebSiteTitle" />
<meta property="og:type" content="website" />
<meta property="og:url... | mit | C# |
3d7af805a3cd0905fef3bfc15544330d3bdcd912 | Fix `BeatmapMetadata` not using its user param correctly | peppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu | osu.Game/Beatmaps/BeatmapMetadata.cs | osu.Game/Beatmaps/BeatmapMetadata.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 JetBrains.Annotations;
using Newtonsoft.Json;
using osu.Framework.Testing;
using osu.Game.Models;
using osu.Game.Users;
using Realms;
#nullable enab... | // 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 JetBrains.Annotations;
using Newtonsoft.Json;
using osu.Framework.Testing;
using osu.Game.Models;
using osu.Game.Users;
using Realms;
#nullable enab... | mit | C# |
56d97a25945bb3357e2ae393e0191c1504810c62 | Send TimeSpan as Time. | drunkcod/StatsSharp | StatsSharp/IStatsClient.cs | StatsSharp/IStatsClient.cs | using System;
using System.Collections.Generic;
namespace StatsSharp
{
public interface IStatsClient
{
void Send(Metric metric);
void Send(IEnumerable<Metric> metrics);
}
public static class StatsClientExtensions
{
static readonly MetricValue CountOfOne = MetricValue.Counter(1);
public ... | using System.Collections.Generic;
namespace StatsSharp
{
public interface IStatsClient
{
void Send(Metric metric);
void Send(IEnumerable<Metric> metrics);
}
public static class StatsClientExtensions
{
static readonly MetricValue CountOfOne = MetricValue.Counter(1);
public static void Sen... | mit | C# |
671730ed918418b37fef9d8f709f00aa483a5d47 | Rename "Preferences" to "Options" | ryanewtaylor/snagit-jira-output-accessory,ryanewtaylor/snagit-jira-output-accessory | SnagitJiraOutputAccessory/Commands/CommandRegistry.cs | SnagitJiraOutputAccessory/Commands/CommandRegistry.cs | namespace SnagitJiraOutputAccessory.Commands
{
using System;
using System.Collections.Generic;
using System.Linq;
public static class CommandRegistry
{
private static Dictionary<string, CommandInfo> _registry = new Dictionary<string, CommandInfo>()
{
{"AttachToNewIssueC... | namespace SnagitJiraOutputAccessory.Commands
{
using System;
using System.Collections.Generic;
using System.Linq;
public static class CommandRegistry
{
private static Dictionary<string, CommandInfo> _registry = new Dictionary<string, CommandInfo>()
{
{"AttachToNewIssueC... | mit | C# |
1dfc18cb9a20df554ecf55cd59c1114e568d22f9 | Align XSD Doc version number with SHFB | terrajobst/xsddoc | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCopyright(XsdDocMetadata.Copyright)]
[assembly: AssemblyCompany("Immo Landwerth")]
[assembly: AssemblyProduct("XML Schema Documenter")]
[assembly: CLSComplian... | using System;
using System.Reflection;
using System.Reflection.Emit;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCopyright(XsdDocMetadata.Copyright)]
[assembly: AssemblyCompany("Immo Landwerth")]
[assembly: AssemblyProduct("XML Schema Documenter")]
[assembly: CLSComplian... | mit | C# |
8118ef4d218ba9b90ee2aa127861735c0af35f3d | Increment copyright year of projects to 2019 | atata-framework/atata-sample-app-tests | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("© Yevgeniy Shunevych 2019")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("© Yevgeniy Shunevych 2018")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1... | apache-2.0 | C# |
0577394e161a7ee52f543ba1a948331f1d080e80 | Fix of previous commit | Psychobilly87/bari,Psychobilly87/bari,vigoo/bari,Psychobilly87/bari,vigoo/bari,Psychobilly87/bari,vigoo/bari,vigoo/bari | src/core/Bari.Core/cs/Generic/LocalFileSystemDirectoryWatcher.cs | src/core/Bari.Core/cs/Generic/LocalFileSystemDirectoryWatcher.cs | using System.IO;
using System;
namespace Bari.Core.Generic
{
public class LocalFileSystemDirectoryWatcher: IFileSystemDirectoryWatcher
{
private readonly FileSystemWatcher watcher;
private readonly string path;
public event EventHandler<FileSystemChangedEventArgs> Changed;
... | using System.IO;
using System;
namespace Bari.Core.Generic
{
public class LocalFileSystemDirectoryWatcher: IFileSystemDirectoryWatcher
{
private readonly FileSystemWatcher watcher;
private readonly string path;
public event EventHandler<FileSystemChangedEventArgs> Changed;
... | apache-2.0 | C# |
8d9849f6822fe4b2d9c099a05d5f101d969a80a1 | add comments to exif | piedoom/TumblrSharp,piedoom/TumblrSharp | TumblrSharp.Client/Exif.cs | TumblrSharp.Client/Exif.cs | using Newtonsoft.Json;
namespace DontPanic.TumblrSharp.Client
{
/// <summary>
/// Exif
/// </summary>
public class Exif
{
/// <summary>
/// camera
/// </summary>
[JsonProperty("camera")]
public string Camera { get; set; }
/// <summary>
/// i... | using Newtonsoft.Json;
namespace DontPanic.TumblrSharp.Client
{
public class Exif
{
[JsonProperty("camera")]
public string Camera { get; set; }
[JsonProperty("iso")]
public int ISO { get; set; }
[JsonProperty("aperture")]
public string Aperture { get; set; }
... | mit | C# |
64af3e2bcff15470ea42a462552164bb773955ad | Fix minor style issues. | AvaloniaUI/Avalonia,susloparovdenis/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jazzay/Perspex,susloparovdenis/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,OronDF343/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsolte... | src/Markup/Avalonia.Markup.Xaml/Templates/MemberSelector.cs | src/Markup/Avalonia.Markup.Xaml/Templates/MemberSelector.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Controls.Templates;
using Avalonia.Data;
using Avalonia.Markup.Data;
using System;
namespace Avalonia.Markup.Xaml.Templates
{
public ... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Controls.Templates;
using Avalonia.Data;
using Avalonia.Markup.Data;
using System;
namespace Avalonia.Markup.Xaml.Templates
{
public ... | mit | C# |
b2196b8cfed91c67738bd39d068c551c77e683b8 | Add support for XOR in PostgreSQL | SimpleStack/simplestack.orm,SimpleStack/simplestack.orm | src/SimpleStack.Orm.PostgreSQL/PostgreSQLExpressionVisitor.cs | src/SimpleStack.Orm.PostgreSQL/PostgreSQLExpressionVisitor.cs | using System.Linq.Expressions;
using SimpleStack.Orm.Expressions;
namespace SimpleStack.Orm.PostgreSQL
{
/// <summary>A postgre SQL expression visitor.</summary>
/// <typeparam name="T">Generic type parameter.</typeparam>
public class PostgreSQLExpressionVisitor<T>:SqlExpressionVisitor<T>
{
public Postg... | using SimpleStack.Orm.Expressions;
namespace SimpleStack.Orm.PostgreSQL
{
/// <summary>A postgre SQL expression visitor.</summary>
/// <typeparam name="T">Generic type parameter.</typeparam>
public class PostgreSQLExpressionVisitor<T>:SqlExpressionVisitor<T>
{
public PostgreSQLExpressionVisitor(IDialect... | bsd-3-clause | C# |
9362dfd103b4954d5fe9a513d11d4df209166fa1 | Update Program.cs | DelKatey/vig.sq.crypt.gui | VigenereSquareCryptor_GUI/Program.cs | VigenereSquareCryptor_GUI/Program.cs | /*
* Created by SharpDevelop.
* User: delkatey
* Date: 20/11/2015
* Time: 9:19 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Windows.Forms;
namespace VigenereSquareCryptor_GUI
{
/// <summary>
/// Class with program entry point.
/// </summ... | /*
* Created by SharpDevelop.
* User: ongrz
* Date: 20/11/2015
* Time: 9:19 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Windows.Forms;
namespace VigenereSquareCryptor_GUI
{
/// <summary>
/// Class with program entry point.
/// </summary... | mit | C# |
204cc0c3785d7bb9adf5e58bc2b972bf9bf70e56 | Remove bogus onclick | wbish/wirk,brianholley/wirk,wbish/wirk,wbish/roborally-wirk,wbish/roborally-wirk,brianholley/wirk | src/Twirk/Default.aspx.cs | src/Twirk/Default.aspx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using WiRK.Abacus;
using WiRK.Terminator;
namespace WiRK.TwirkIt
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnRunSimulations_OnClick(... | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using WiRK.Abacus;
using WiRK.Terminator;
namespace WiRK.TwirkIt
{
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
btnRunSimulations.Attributes.Add("onclick", "... | mit | C# |
4fad711221e30aa4a0f0702b99ade16795f1ceb0 | Update to Problem 3. Check for a Play Card | SimoPrG/CSharpPart1Homework | Conditional-Statements-Homework/CheckPlayCard/CheckPlayCard.cs | Conditional-Statements-Homework/CheckPlayCard/CheckPlayCard.cs | /*Problem 3. Check for a Play Card
Classical play cards use the following signs to designate the card face: `2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K and A.
Write a program that enters a string and prints “yes” if it is a valid card sign or “no” otherwise. Examples:
character Valid card sign?
5 yes
1 ... | /*Problem 3. Check for a Play Card
Classical play cards use the following signs to designate the card face: `2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K and A.
Write a program that enters a string and prints “yes” if it is a valid card sign or “no” otherwise. Examples:
character Valid card sign?
5 yes
1 ... | mit | C# |
3fcc0fa2a1fe52bdc0d668e340ea7afa680e1262 | Use AndroidClientHandler for android & NSUrlSessionHandler for iOS by default in bit cs client | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/CSharpClient/Bit.CSharpClient.Rest/ViewModel/Implementations/BitHttpClientHandler.cs | src/CSharpClient/Bit.CSharpClient.Rest/ViewModel/Implementations/BitHttpClientHandler.cs | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Bit.ViewModel.Implementations
{
public class BitHttpClientHandler :
#if Android
Xamarin.Android.Net.AndroidClientHandler
#elif iOS
NSUrlSessionHandler
#else
HttpClientH... | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Bit.ViewModel.Implementations
{
public class BitHttpClientHandler : HttpClientHandler
{
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, Can... | mit | C# |
4ad047f877fbabb7a5a01e36a0162038c123a1c5 | Add multi-module support to knapsack shell. This is still a work in progress however. | andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,honestegg/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,andrewdavey/knapsack,andrewdavey/knapsack,damiensawyer/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,andrewdavey/knapsack,honestegg/cassette,damiensawyer/cassette | src/Knapsack.Shell/Program.cs | src/Knapsack.Shell/Program.cs | using System;
using System.IO;
using System.Linq;
using Knapsack.CoffeeScript;
namespace Knapsack.Shell
{
class Program
{
static void Main(string[] args)
{
if (args.Length == 0)
{
Console.WriteLine("Usage: knapsack {path} {output-directory}"... | using System;
using System.IO;
using System.Linq;
using Knapsack.CoffeeScript;
namespace Knapsack.Shell
{
class Program
{
static void Main(string[] args)
{
if (args.Length == 0)
{
Console.WriteLine("Usage: knapsack {path}");
... | mit | C# |
7ccdcf7921d5f12d802574a78dbc853e77f83e0e | Add urls property in ice servers (#485) | twilio/twilio-csharp | src/Twilio/Types/IceServer.cs | src/Twilio/Types/IceServer.cs | using System;
using Newtonsoft.Json;
namespace Twilio.Types
{
/// <summary>
/// Ice Server POCO
/// </summary>
public class IceServer
{
/// <summary>
/// Ice Server credential
/// </summary>
[JsonProperty("credential")]
public string Credential { get; }
... | using System;
using Newtonsoft.Json;
namespace Twilio.Types
{
/// <summary>
/// Ice Server POCO
/// </summary>
public class IceServer
{
/// <summary>
/// Ice Server credential
/// </summary>
[JsonProperty("credential")]
public string Credential { get; }
... | mit | C# |
036d3c84f148a1e091dfd5872e1c84bf82b2f8e7 | Remove unused using statement | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Identity/UserClaimsPrincipalFactory.cs | src/LondonTravel.Site/Identity/UserClaimsPrincipalFactory.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Identity
{
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.Asp... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.LondonTravel.Site.Identity
{
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.As... | apache-2.0 | C# |
62a6460b9f984d0d29f2951e9d2e8159067dee0e | Add Address to BoundActorTarget | SaladbowlCreative/Akka.Interfaced.SlimSocket | core/Akka.Interfaced.SlimSocket.Server/Transport/AkkaSurrogate.cs | core/Akka.Interfaced.SlimSocket.Server/Transport/AkkaSurrogate.cs | using System;
using Akka.Actor;
using ProtoBuf;
using ProtoBuf.Meta;
namespace Akka.Interfaced.SlimSocket.Server
{
public static class AkkaSurrogate
{
[ProtoContract]
public class SurrogateForIRequestTarget
{
[ProtoMember(1)] public int Id;
[ProtoMember(2)] publ... | using System;
using Akka.Actor;
using ProtoBuf;
using ProtoBuf.Meta;
namespace Akka.Interfaced.SlimSocket.Server
{
public static class AkkaSurrogate
{
[ProtoContract]
public class SurrogateForIRequestTarget
{
[ProtoMember(1)] public int Id;
[ProtoConverter]
... | mit | C# |
dc901ee20db936f2529edb2cc27fd62f50db954f | Build fix. | jp2masa/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos | source/Cosmos.Core_Asm/ObjUtilitiesImpl.cs | source/Cosmos.Core_Asm/ObjUtilitiesImpl.cs | using Cosmos.Core;
using IL2CPU.API;
using IL2CPU.API.Attribs;
using System;
using XSharp;
using XSharp.Assembler;
namespace Cosmos.Core_Asm
{
[Plug(Target = typeof(ObjUtilities))]
public static unsafe class ObjUtilitiesImpl
{
[PlugMethod(Assembler = typeof(ObjUtilitiesGetPointer))]
public... | using Cosmos.Core;
using IL2CPU.API.Attribs;
using System;
using XSharp;
using XSharp.Assembler;
namespace Cosmos.Core_Asm
{
[Plug(Target = typeof(ObjUtilities))]
public static unsafe class ObjUtilitiesImpl
{
[PlugMethod(Assembler = typeof(ObjUtilitiesGetPointer))]
public static uint GetPo... | bsd-3-clause | C# |
5c85655e8a2ff8a74c18f6cca9dee83395a01a28 | Update NonceGenerator.cs | dandresini/Thinktecture.IdentityModel,IdentityModel/Thinktecture.IdentityModel,s093294/Thinktecture.IdentityModel,IdentityModel/Thinktecture.IdentityModel,BenAtStatement1/EmbeddedAuthorizationServer,s093294/Thinktecture.IdentityModel,asteffens007/identity_model,mreasy232/Thinktecture.IdentityModel,BenAtStatement1/Embed... | source/Hawk/Core/Helpers/NonceGenerator.cs | source/Hawk/Core/Helpers/NonceGenerator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
namespace Thinktecture.IdentityModel.Hawk.Core.Helpers
{
/// <summary>
/// Generates a nonce to be used by a .NET client.
/// </summary>
public class NonceGenerator
{
private static RNGCr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
namespace Thinktecture.IdentityModel.Hawk.Core.Helpers
{
/// <summary>
/// Generates a nonce to be used by a .NET client.
/// </summary>
public class NonceGenerator
{
/// <summary>
... | bsd-3-clause | C# |
ae52195abebffc3d367c0f63917e6c0f8e82fc1b | Add GitTasks.GitIsDetached method. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Tools/Git/GitTasks.cs | source/Nuke.Common/Tools/Git/GitTasks.cs | // Copyright Matthias Koch 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Core;
using Nuke.Core.Tooling;
namespace Nuke.Common.Tools.Git
{
public static partial class GitTasks
{
private static IProcess S... | // Copyright Matthias Koch 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Core;
using Nuke.Core.Tooling;
namespace Nuke.Common.Tools.Git
{
public static partial class GitTasks
{
private static IProcess S... | mit | C# |
8c88e22d32a4ea91e1f2686a33b31d188fdfafd9 | stop sleeping while waiting for connection | taka-oyama/UniHttp | Assets/UniHttp/Support/HttpStream.cs | Assets/UniHttp/Support/HttpStream.cs | using UnityEngine;
using System.IO;
using System.Net.Sockets;
using System;
using System.Net.Security;
using System.Threading;
namespace UniHttp
{
public class HttpStream : Stream
{
SslClient sslClient;
NetworkStream networkStream;
Stream stream;
public HttpStream(TcpClient tcpClient, Uri uri)
{
this.... | using UnityEngine;
using System.IO;
using System.Net.Sockets;
using System;
using System.Net.Security;
using System.Threading;
namespace UniHttp
{
public class HttpStream : Stream
{
SslClient sslClient;
NetworkStream networkStream;
Stream stream;
public HttpStream(TcpClient tcpClient, Uri uri)
{
this.... | mit | C# |
469a261195e342301f53be6efabaab86cc9c74e0 | Initialize AppDeleteCommand with an IAppHarborClient | appharbor/appharbor-cli | src/AppHarbor/Commands/AppDeleteCommand.cs | src/AppHarbor/Commands/AppDeleteCommand.cs | using System;
namespace AppHarbor.Commands
{
[CommandHelp("Delete application")]
public class AppDeleteCommand : ICommand
{
private readonly IAppHarborClient _appharborClient;
public AppDeleteCommand(IAppHarborClient appharborClient)
{
_appharborClient = appharborClient;
}
public void Execute(string... | using System;
namespace AppHarbor.Commands
{
[CommandHelp("Delete application")]
public class AppDeleteCommand : ICommand
{
public AppDeleteCommand()
{
}
public void Execute(string[] arguments)
{
throw new NotImplementedException();
}
}
}
| mit | C# |
aec00b346ac509a8cd4e790378f3bee4b4fde387 | Add refresh token property in user identity | jerriep/auth0.net,jerriep/auth0.net,auth0/auth0.net,auth0/auth0.net,jerriep/auth0.net | src/Auth0.ManagementApi/Models/Identity.cs | src/Auth0.ManagementApi/Models/Identity.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Describes a 3rd party account for a given <see cref="User"/>.
/// </summary>
/// <remarks>
/// A single <see cref="User"/> may be linked to multiple 3rd party accounts. This object de... | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Describes a 3rd party account for a given <see cref="User"/>.
/// </summary>
/// <remarks>
/// A single <see cref="User"/> may be linked to multiple 3rd party accounts. This object de... | mit | C# |
5d0dd1de611c4879ea1fd17d3e80bdb843a50aa1 | Bump version | rmorrin/FixerSharp | FixerSharp/Properties/AssemblyInfo.cs | FixerSharp/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("Fi... | 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("Fi... | mit | C# |
126fa37bc1a0f6238ac21b6124033be317080e1a | Update copyright | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Properties/AssemblyInfo.cs | src/SyncTrayzor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
cf281db87627ce75ef228b66cb5f574fda389613 | Delete unnecessary string.Concat call in HashUtilities.ComputeFileHash | patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,genail/patchkit-patcher-unity | src/Assets/Scripts/Data/HashUtilities.cs | src/Assets/Scripts/Data/HashUtilities.cs | using System.Collections.Generic;
using System.Data.HashFunction;
using System.IO;
using System.Linq;
using System.Text;
namespace PatchKit.Unity.Patcher.Data
{
internal static class HashUtilities
{
private const ulong Seed = 42;
public static byte[] ComputeHash(byte[] buffer, int offset, int ... | using System.Collections.Generic;
using System.Data.HashFunction;
using System.IO;
using System.Linq;
using System.Text;
namespace PatchKit.Unity.Patcher.Data
{
internal static class HashUtilities
{
private const ulong Seed = 42;
public static byte[] ComputeHash(byte[] buffer, int offset, int ... | mit | C# |
77cd301b6aeaf02c6627473093023d8dadd7d17b | use default files | MichaelPetrinolis/IdentityServer4.Samples,MichaelPetrinolis/IdentityServer4.Samples,IdentityServer/IdentityServer4.Samples,IdentityServer/IdentityServer4.Samples,MichaelPetrinolis/IdentityServer4.Samples,haoyk/IdentityServer4.Samples,IdentityServer/IdentityServer4.Samples,haoyk/IdentityServer4.Samples,haoyk/IdentitySer... | Clients/src/JsOidc/Startup.cs | Clients/src/JsOidc/Startup.cs | using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
namespace JsOidc
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
}
public void Configure(IApplicationBuilder app)
{
... | using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Builder;
namespace JsOidc
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
}
public void Configure(IApplicationBuilder app)
{
... | apache-2.0 | C# |
f6aa3efa928cbcc18f5fc7d03bc86842b543fded | Make sure GetIdValue returns a unique value per object. | ronnymgm/csla-light,ronnymgm/csla-light,BrettJaner/csla,jonnybee/csla,JasonBock/csla,MarimerLLC/csla,rockfordlhotka/csla,JasonBock/csla,MarimerLLC/csla,rockfordlhotka/csla,BrettJaner/csla,jonnybee/csla,rockfordlhotka/csla,JasonBock/csla,ronnymgm/csla-light,jonnybee/csla,MarimerLLC/csla,BrettJaner/csla | Csla20Test/Csla.Test/DataBinding/DataBindingApp/ListObject.cs | Csla20Test/Csla.Test/DataBinding/DataBindingApp/ListObject.cs | using System;
using System.Collections.Generic;
using System.Text;
using Csla.Core;
using Csla;
namespace DataBindingApp
{
[Serializable()]
public class ListObject : BusinessListBase<ListObject, ListObject.DataObject>
{
[Serializable()]
public class DataObject : BusinessBase<DataObject>
... | using System;
using System.Collections.Generic;
using System.Text;
using Csla.Core;
using Csla;
namespace DataBindingApp
{
[Serializable()]
public class ListObject : BusinessListBase<ListObject, ListObject.DataObject>
{
[Serializable()]
public class DataObject : BusinessBase<DataObject>
... | mit | C# |
8157b48e330a50f60c1d7deaac6677dc260fcc75 | read more link | lianzhao/wiki2dict,lianzhao/wiki2dict,lianzhao/wiki2dict | src/Wiki2Dict/Wiki/GetDescriptionAction.cs | src/Wiki2Dict/Wiki/GetDescriptionAction.cs | using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Framework.Logging;
using Newtonsoft.Json;
using Wiki2Dict.Core;
namespace Wiki2Dict.Wiki
{
public class GetDescriptionAction : IDictEntryAction
{
private readonly ILogger _logger;
... | using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Framework.Logging;
using Newtonsoft.Json;
using Wiki2Dict.Core;
namespace Wiki2Dict.Wiki
{
public class GetDescriptionAction : IDictEntryAction
{
private readonly ILogger _logger;
... | mit | C# |
626816735d8aa6cd08144c118c880c0abcb7c41a | fix comment "Upload picture to TwitPic" → "Upload picture to YFrog" | fin-alice/Mystique,azyobuzin/Mystique | Dulcet/ThirdParty/YFrogApi.cs | Dulcet/ThirdParty/YFrogApi.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;
using Dulcet.Network;
using Dulcet.Twitter.Credential;
using Dulcet.Util;
using System.IO;
using System.Runtime.Serialization.Json;
namespace Dulcet.ThirdParty
{
public static class YFrogApi
{
static string Uploa... | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Linq;
using Dulcet.Network;
using Dulcet.Twitter.Credential;
using Dulcet.Util;
using System.IO;
using System.Runtime.Serialization.Json;
namespace Dulcet.ThirdParty
{
public static class YFrogApi
{
static string Uploa... | mit | C# |
8c5f1e002f69f89550807449156a82f8a6bbb4e6 | Fix build failure. | alansav/credentials | src/Credentials/Credentials.cs | src/Credentials/Credentials.cs | namespace Savage.Credentials
{
public interface ICredentials
{
string Username { get; }
string Password { get; }
SaltAndHashedPassword CreateSaltAndHashedPassword();
}
public class Credentials : ICredentials
{
public string Username { get; private set; }
pub... | namespace Savage.Credentials
{
public interface ICredentials
{
string Username { get; }
string Password { get; }
SaltAndHashedPassword CreateSaltAndHashedPassword();
}
public class Credentials : ICredentials
{
public readonly string Username;
public readonly... | mit | C# |
3a5a845adadaa82465f987d72377df5c51381ca6 | Update version to 0.2.2 | pvdstel/cgppm | src/cgppm/Properties/AssemblyInfo.cs | src/cgppm/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... | mpl-2.0 | C# |
386cc12f96c11bbcb9ed09d1a4375695b47b061f | allow write to many collections | kreeben/resin,kreeben/resin | src/Sir.Search/HttpWriter.cs | src/Sir.Search/HttpWriter.cs | using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
namespace Sir.Store
{
/// <summary>
/// Write into a collection.
/// </summary>
public class HttpWriter : IHttpWriter, ILogger
{
public string ContentType =>... | using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
namespace Sir.Store
{
/// <summary>
/// Write into a collection.
/// </summary>
public class HttpWriter : IHttpWriter, ILogger
{
public string ContentType =>... | mit | C# |
03daacb738ecee4b496f2baf9f72eec30de78c0e | Fix generic type name in FixedLengthLineBuilder | forcewake/FlatFile | src/FlatFile.FixedLength/Implementation/FixedLengthLineBuilder.cs | src/FlatFile.FixedLength/Implementation/FixedLengthLineBuilder.cs | namespace FlatFile.FixedLength.Implementation
{
using System.Linq;
using FlatFile.Core;
using FlatFile.Core.Base;
public class FixedLengthLineBuilder :
LineBulderBase<ILayoutDescriptor<IFixedFieldSettingsContainer>, IFixedFieldSettingsContainer>,
IFixedLengthLineBuilder
{
pu... | namespace FlatFile.FixedLength.Implementation
{
using System.Linq;
using FlatFile.Core;
using FlatFile.Core.Base;
public class FixedLengthLineBuilder :
LineBulderBase<ILayoutDescriptor<IFixedFieldSettingsContainer>, IFixedFieldSettingsContainer>,
IFixedLengthLineBuilder
{
pu... | mit | C# |
d772e8bfbc7a87c98092a37d04608f6b867d18b1 | Bump to 0.6 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | 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.AssemblyVersionInformation.Version)]... | 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.AssemblyVersionInformation.Version)]... | mit | C# |
3d5bd2a8ff641a7fdd8f56f5fa719fe78778999f | add addPointNormalized() | yasokada/unity-150906-sineGraph | Assets/graphDrawControl.cs | Assets/graphDrawControl.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic; // for List<>
/*
* v0.1 2015/09/06
* - draw line over Panel
*/
public class graphDrawControl : MonoBehaviour {
private GameObject lineGroup; // for grouping
List<Vector2> my2DPoint;
public GameObject panel;
public Canvas myCanv... | using UnityEngine;
using System.Collections;
using System.Collections.Generic; // for List<>
/*
* v0.1 2015/09/06
* - draw line over Panel
*/
public class graphDrawControl : MonoBehaviour {
private GameObject lineGroup; // for grouping
List<Vector2> my2DPoint;
public GameObject panel;
public Canvas myCanv... | mit | C# |
fffebe96577257cafcada4e18b88dc3b18b4e95e | Set PreserveAsyncOrder to false | exceptionless/Foundatio,Bartmax/Foundatio,wgraham17/Foundatio,FoundatioFx/Foundatio | src/Redis/Tests/SharedConnection.cs | src/Redis/Tests/SharedConnection.cs | using Foundatio.Tests.Utility;
using StackExchange.Redis;
namespace Foundatio.Redis.Tests {
public static class SharedConnection {
private static ConnectionMultiplexer _muxer;
public static ConnectionMultiplexer GetMuxer() {
if (ConnectionStrings.Get("RedisConnectionString") == null)
... | using Foundatio.Tests.Utility;
using StackExchange.Redis;
namespace Foundatio.Redis.Tests {
public static class SharedConnection {
private static ConnectionMultiplexer _muxer;
public static ConnectionMultiplexer GetMuxer() {
if (ConnectionStrings.Get("RedisConnectionString") == null)
... | apache-2.0 | C# |
1d1392daa2761d394e0655fba22a770234b799a7 | Update Note.cs | TylerJaacks/GuitarHeroine | Assets/Scripts/Note.cs | Assets/Scripts/Note.cs | using UnityEngine;
public class Note : MonoBehaviour
{
void Update ()
{
transform.position += transform.forward * Time.deltaTime * -5.0f;
}
}
//HI!
| using UnityEngine;
public class Note : MonoBehaviour
{
void Update ()
{
transform.position += transform.forward * Time.deltaTime * -5.0f;
}
} | mit | C# |
3dfca3509255346b07442897dd97fdc1db7df108 | test change | transsight/testproject,transsight/testproject | src/stress.samples/Program.cs | src/stress.samples/Program.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using st... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using st... | mit | C# |
81c93196fb490c129f29daa265701d8b2c5508c1 | make the default intertab client a bit safer | coderUT/Dragablz,ButchersBoy/Dragablz | Dragablz/DefaultInterTabClient.cs | Dragablz/DefaultInterTabClient.cs | using System;
using System.Linq;
using System.Windows;
using System.Windows.Threading;
using Dragablz.Core;
namespace Dragablz
{
public class DefaultInterTabClient : IInterTabClient
{
public virtual INewTabHost<Window> GetNewHost(IInterTabClient interTabClient, object partition, TabablzControl ... | using System;
using System.Linq;
using System.Windows;
using Dragablz.Core;
namespace Dragablz
{
public class DefaultInterTabClient : IInterTabClient
{
public virtual INewTabHost<Window> GetNewHost(IInterTabClient interTabClient, object partition, TabablzControl source)
{
if... | mit | C# |
84aa6a33263a0e24c14d1b708d216ed8c7266e86 | Build and publish nuget package | RockFramework/Rock.Core | Rock.Core/Properties/AssemblyInfo.cs | Rock.Core/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("Ro... | 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("Ro... | mit | C# |
9f88c4875ae34786ebe17a88f2117e632f5fd852 | Fix namespace & class name | TeamnetGroup/schema2fm | src/ConsoleApp/Table.cs | src/ConsoleApp/Table.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
{
... | mit | C# |
39dbec09af8a2c3f0e61b24e52dae635cbaecb23 | Upgrade assembly version to 2.4.0 | yolanother/DockPanelSuite | WinFormsUI/Properties/AssemblyInfo.cs | WinFormsUI/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Diagnostics.CodeAnalysis;
[assembly: AssemblyTitle("DockPanel Suite for .Net 2.0")]
[assembly: AssemblyDescription(".Net Docking Library for Windows Forms")]
[assembly: AssemblyConf... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Diagnostics.CodeAnalysis;
[assembly: AssemblyTitle("DockPanel Suite for .Net 2.0")]
[assembly: AssemblyDescription(".Net Docking Library for Windows Forms")]
[assembly: AssemblyConf... | mit | C# |
8b84d9458b1ed964479a2ea6408b346d817c63c5 | Update Auto-Censor.cs | DeanCabral/Code-Snippets | Console/Auto-Censor.cs | Console/Auto-Censor.cs | class AutoCensor
{
static void Main(string[] args)
{
GetUserInput();
}
static void GetUserInput()
{
string input = "";
string censor = "";
Console.Write("Word to censor: ");
censor = Console.ReadLine();
... | class AutoCensor
{
static void Main(string[] args)
{
GetUserInput();
}
static void GetUserInput()
{
string input = "";
string censor = "";
Console.Write("Word to censor: ");
censor = Console.ReadLine();
... | mit | C# |
0069814e0e02cc123906f8c7d567c24e1ea89a43 | Update build.cake | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | XPlat/ExposureNotification/build.cake | XPlat/ExposureNotification/build.cake | var TARGET = Argument("t", Argument("target", "ci"));
var SRC_COMMIT = "21db42178a62425beb3a0ba7145741375b9f8aa5";
var SRC_URL = $"https://github.com/xamarin/xamarin.exposurenotification/archive/{SRC_COMMIT}.zip";
var OUTPUT_PATH = (DirectoryPath)"./output/";
var NUGET_VERSION = "0.6.0-preview";
Task("externals")
.... | var TARGET = Argument("t", Argument("target", "ci"));
var SRC_COMMIT = "fcff875013295514a22e71648a7c6ad985dc4f9f";
var SRC_URL = $"https://github.com/xamarin/xamarin.exposurenotification/archive/{SRC_COMMIT}.zip";
var OUTPUT_PATH = (DirectoryPath)"./output/";
var NUGET_VERSION = "0.5.0-preview";
Task("externals")
.... | mit | C# |
5d683f95e0a4aa666cef0a5c99a59b12225d75e7 | Update attributes | ahanusa/Peasy.NET,peasy/Samples,ahanusa/facile.net,peasy/Peasy.NET,peasy/Samples,peasy/Samples | Facile/Properties/AssemblyInfo.cs | Facile/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.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# |
20dd63e53c019c093187a484d2e5a042f5b11baf | Fix Startup | atilatosta/net-sdk-test-1486389033709,atilatosta/net-sdk-test-1486389033709,atilatosta/net-sdk-test-1486389033709 | src/dotnetstarter/Startup.cs | src/dotnetstarter/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.IO;
public class Startup
{
public IConfigurationRoot Configuration { get; }
public Star... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.IO;
public class Startup
{
public IConfigurationRoot Configuration { get; }
public Star... | apache-2.0 | C# |
b887e62d65400ab8c265df225d46117d534267c0 | Store ShowUnicode in FrameworkConfigManager. | ZLima12/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,Tom94/osu-framework,DrabWeb/osu-framewor... | osu.Framework/Configuration/FrameworkConfigManager.cs | osu.Framework/Configuration/FrameworkConfigManager.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Platform;
namespace osu.Framework.Configuration
{
public class FrameworkConfigManager : ConfigManager<FrameworkConfig>
{
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Platform;
namespace osu.Framework.Configuration
{
public class FrameworkConfigManager : ConfigManager<FrameworkConfig>
{
... | mit | C# |
d9a65765a5c92240cc6ff7156ea4b3f62d5a1640 | build fix | jeske/SimpleScene,smoothdeveloper/SimpleScene,Namone/SimpleScene,RealRui/SimpleScene | SimpleScene/Meshes/SSAbstractMesh.cs | SimpleScene/Meshes/SSAbstractMesh.cs | // Copyright(C) David W. Jeske, 2013
// Released to the public domain. Use, modify and relicense at will.
using System;
using System.Collections.Generic;
using OpenTK;
namespace SimpleScene
{
public abstract class SSAbstractMesh {
public delegate bool traverseFn<T>(T state, Vector3 V1, Vector3 V2, Vector3 V3);
... | // Copyright(C) David W. Jeske, 2013
// Released to the public domain. Use, modify and relicense at will.
using System;
using System.Collections.Generic;
using OpenTK;
namespace SimpleScene
{
public abstract class SSAbstractMesh {
public delegate bool traverseFn<T>(T state, Vector3 V1, Vector3 V2, Vector3 V3);
... | apache-2.0 | C# |
bb411b8158de9b4e7392c2b3305416d2a11f04e2 | Update CommandBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/PowerShell/CommandBase.cs | TIKSN.Core/PowerShell/CommandBase.cs | using System;
using System.Management.Automation;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Nito.AsyncEx;
namespace TIKSN.PowerShell
{
public abstract class CommandBase : PSCmdlet, IDisposable
{
protec... | using System;
using System.Management.Automation;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Nito.AsyncEx;
namespace TIKSN.PowerShell
{
public abstract class CommandBase : PSCmdlet
{
protected Cancellat... | mit | C# |
b40c8358a219f2261573e903f7c6bd479ff23b66 | Use standard includes | EamonNerbonne/ExpressionToCode | ExpressionToCodeTest/ApprovalTest.cs | ExpressionToCodeTest/ApprovalTest.cs | using System;
using System.IO;
using System.Runtime.CompilerServices;
using Assent;
namespace ExpressionToCodeTest
{
static class ApprovalTest
{
public static void Verify(string text, [CallerFilePath] string filepath = null, [CallerMemberName] string membername = null)
{
... | using System.IO;
using System.Runtime.CompilerServices;
using Assent;
namespace ExpressionToCodeTest
{
static class ApprovalTest
{
public static void Verify(string text, [CallerFilePath] string filepath = null, [CallerMemberName] string membername = null)
{
var filename = ... | apache-2.0 | C# |
7e492c36cd98a82140a70fb5712f60b05552a6db | Bring back integration test for CosmosDb. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq.Providers.CosmosDb.Tests/GroovySerializationTest.cs | ExRam.Gremlinq.Providers.CosmosDb.Tests/GroovySerializationTest.cs | using System;
using System.Linq;
using ExRam.Gremlinq.Core.Tests;
using FluentAssertions;
using Xunit;
using static ExRam.Gremlinq.Core.GremlinQuerySource;
namespace ExRam.Gremlinq.Providers.CosmosDb.Tests
{
public class GroovySerializationTest : GroovySerializationTest<CosmosDbGroovyGremlinQueryElementVisitor>
... | using System;
using System.Linq;
using ExRam.Gremlinq.Core.Tests;
using FluentAssertions;
using Xunit;
using static ExRam.Gremlinq.Core.GremlinQuerySource;
namespace ExRam.Gremlinq.Providers.CosmosDb.Tests
{
public class GroovySerializationTest : GroovySerializationTest<CosmosDbGroovyGremlinQueryElementVisitor>
... | mit | C# |
80d17aaf49ea9185871875354661f418dd520161 | add category for herokuapp tests | ObjectivityLtd/Test.Automation,ObjectivityBSS/Test.Automation | Objectivity.Test.Automation.NunitTests/Tests/DownloadFilesTests.cs | Objectivity.Test.Automation.NunitTests/Tests/DownloadFilesTests.cs | /*
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
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
... | /*
The MIT License (MIT)
Copyright (c) 2015 Objectivity Bespoke Software Specialists
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
... | mit | C# |
93fb70e0c8bcb4c2d37aef5ef6701aee7709b779 | Add back in the reflection namespace | shiftkey-tester-org-blah-blah/octokit.net,hitesh97/octokit.net,daukantas/octokit.net,naveensrinivasan/octokit.net,gdziadkiewicz/octokit.net,thedillonb/octokit.net,editor-tools/octokit.net,shana/octokit.net,shiftkey-tester/octokit.net,mminns/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,ivandrofly/octokit.net,Sa... | Octokit/Helpers/EnumExtensions.cs | Octokit/Helpers/EnumExtensions.cs | using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using Octokit.Internal;
namespace Octokit
{
static class EnumExtensions
{
[SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase")]
internal static string ToParameter(this ... | using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Octokit.Internal;
namespace Octokit
{
static class EnumExtensions
{
[SuppressMessage("Microsoft.Globalization", "CA1308:NormalizeStringsToUppercase")]
internal static string ToParameter(this Enum prop)
{
... | mit | C# |
fae21101aa54a06c773e089d0e4f4581fa4375d7 | Update Index.cshtml | Bloyteg/RWXViewer,Bloyteg/RWXViewer,Bloyteg/RWXViewer,Bloyteg/RWXViewer | RWXViewer/Views/Home/Index.cshtml | RWXViewer/Views/Home/Index.cshtml | @{
ViewBag.Title = "RWX Viewer by Byte";
}
@section scripts
{
<script src="@Url.Content("~/Scripts/gl-matrix.js")"></script>
<script src="@Url.Content("~/Scripts/knockout-3.1.0.js")"></script>
<script src="@Url.Content("~/Scripts/require.js")" data-main="/Scripts/RWXViewer"></script>
<script src="... | @{
ViewBag.Title = "RWX Viewer by Byte";
}
@section scripts
{
<script src="@Url.Content("~/Scripts/gl-matrix.js")"></script>
<script src="@Url.Content("~/Scripts/knockout-3.1.0.js")"></script>
<script src="@Url.Content("~/Scripts/require.js")" data-main="/Scripts/RWXViewer"></script>
<script src="... | apache-2.0 | C# |
d6051cfd1dae00b2d120c38c828b93b6455cbae5 | Fix indenting. | RogerKratz/nhibernate-core,alobakov/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibernate-core,fredericDelaporte/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,lnu/nhibernate-core,ManufacturingIntelligence/nhibernate-core,ManufacturingIntellig... | src/NHibernate/Intercept/DefaultDynamicLazyFieldInterceptor.cs | src/NHibernate/Intercept/DefaultDynamicLazyFieldInterceptor.cs | using System;
using System.Reflection;
using NHibernate.Proxy.DynamicProxy;
using NHibernate.Util;
namespace NHibernate.Intercept
{
[Serializable]
public class DefaultDynamicLazyFieldInterceptor : IFieldInterceptorAccessor, Proxy.DynamicProxy.IInterceptor
{
public IFieldInterceptor FieldInterceptor { get; set; }
... | using System;
using System.Reflection;
using NHibernate.Proxy.DynamicProxy;
using NHibernate.Util;
namespace NHibernate.Intercept
{
[Serializable]
public class DefaultDynamicLazyFieldInterceptor : IFieldInterceptorAccessor, Proxy.DynamicProxy.IInterceptor
{
public IFieldInterceptor FieldInterceptor { get; set; }
... | lgpl-2.1 | C# |
32d7ed8ea99c6fc2b14eeacb0528a0b7daece9ba | add UdpClient related | yasokada/unity-150923-udpRs232c,yasokada/unity-150831-udpMonitor | Assets/udpMonitorScript.cs | Assets/udpMonitorScript.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
public class udpMonitorScript : MonoBehaviour {
Thread monThr; // monitor Thread
public Toggle ToggleComm;
private string ipadr1;
private strin... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Threading;
public class udpMonitorScript : MonoBehaviour {
Thread monThr; // monitor Thread
public Toggle ToggleComm;
private string ipadr1;
private string ipadr2;
private int port;
void Start () {
ToggleComm.isOn = false; // ... | mit | C# |
ce2e83e6eda099730ac4890030dcc960a90e4906 | Update Count with dapper calls | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork/RepositoryCount.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/RepositoryCount.cs | using System;
using System.Threading.Tasks;
using Dapper;
using Smooth.IoC.Repository.UnitOfWork.Data;
using Smooth.IoC.UnitOfWork;
namespace Smooth.IoC.Repository.UnitOfWork
{
public abstract partial class Repository<TEntity, TPk>
where TEntity : class
where TPk : IComparable
{
publi... | using System;
using System.Threading.Tasks;
using Smooth.IoC.Repository.UnitOfWork.Data;
using Smooth.IoC.UnitOfWork;
namespace Smooth.IoC.Repository.UnitOfWork
{
public abstract partial class Repository<TEntity, TPk>
where TEntity : class
where TPk : IComparable
{
public virtual int ... | mit | C# |
ccb2341434475dced47eddeaff849ab89eeeb5ba | Update default encoding to utf8 for supporting non-us symbols | sdesyllas/MailChimp.Net | MailChimp.Net.Api/PostHelpers.cs | MailChimp.Net.Api/PostHelpers.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace MailChimp.Net.Api
{
class PostHelpers
{
public static string PostJson(string url, string data)
{
var bytes = Encoding.UTF8.GetBytes(data);... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace MailChimp.Net.Api
{
class PostHelpers
{
public static string PostJson(string url, string data)
{
var bytes = Encoding.Default.GetBytes(dat... | mit | C# |
bca75e418da7d73965a0d26b04c12606adb2b42e | add lootEvent.Stop(reason) | Notulp/Pluton,Notulp/Pluton | Pluton/Events/LootEvent.cs | Pluton/Events/LootEvent.cs | using System;
namespace Pluton.Events
{
public class LootEvent : CountedInstance
{
public bool Cancel = false;
public string cancelReason = "A plugin stops you from looting that!";
public readonly Player Looter;
public readonly PlayerLoot pLoot;
public LootEvent(Player... | using System;
namespace Pluton.Events
{
public class LootEvent : CountedInstance
{
public bool Cancel = false;
public string cancelReason = "A plugin stops you from looting that!";
public readonly Player Looter;
public readonly PlayerLoot pLoot;
public LootEvent(Player... | mit | C# |
df7dc7cecdf1f1e020f53f2352f9c115735080a7 | Update assembly version number | sevenshadow/sevenshadow-tagnifi | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Se... | 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("Se... | mit | C# |
fc96711b3464fb46050eb34e04532cc3f4ebd540 | Handle hastebin failure in the CodePaste module | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix/Modules/CodePasteModule.cs | Modix/Modules/CodePasteModule.cs | using Discord.Commands;
using Modix.Services.AutoCodePaste;
using System.Net;
using System.Threading.Tasks;
namespace Modix.Modules
{
[Name("Code Paste"), Summary("Paste some code to the internet.")]
public class CodePasteModule : ModuleBase
{
private CodePasteService _service;
public Cod... | using Discord.Commands;
using Modix.Services.AutoCodePaste;
using System.Threading.Tasks;
namespace Modix.Modules
{
[Name("Code Paste"), Summary("Paste some code to the internet.")]
public class CodePasteModule : ModuleBase
{
private CodePasteService _service;
public CodePasteModule(CodeP... | mit | C# |
36067a1e6cf9135e4ef91e5f6815f573b0c3f8f7 | Bump version | nixxquality/WebMConverter,Yuisbean/WebMConverter,o11c/WebMConverter | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("We... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("We... | mit | C# |
35a8150bbf2e84a0103528253834ea3148c6e4b1 | use SortDirection from issues | darrelmiller/octokit.net,SmithAndr/octokit.net,gabrielweyer/octokit.net,ivandrofly/octokit.net,mminns/octokit.net,adamralph/octokit.net,alfhenrik/octokit.net,khellang/octokit.net,editor-tools/octokit.net,michaKFromParis/octokit.net,thedillonb/octokit.net,shana/octokit.net,bslliw/octokit.net,naveensrinivasan/octokit.net... | Octokit/Models/Request/SearchTerm.cs | Octokit/Models/Request/SearchTerm.cs | namespace Octokit
{
/// <summary>
/// Searching GitHub
/// </summary>
public class SearchTerm
{
public SearchTerm(string term)
{
Term = term;
Page = 1;
PerPage = 100;
}
/// <summary>
/// The search terms. This can be any co... | namespace Octokit
{
/// <summary>
/// Searching GitHub
/// </summary>
public class SearchTerm
{
public SearchTerm(string term)
{
Term = term;
Page = 1;
PerPage = 100;
}
/// <summary>
/// The search terms. This can be any co... | mit | C# |
4e20847855444cb0b559e2672ee603ffd562dceb | Fix failing test ... by removing it | PhilboBaggins/ci-experiments-dotnetcore,PhilboBaggins/ci-experiments-dotnetcore | UnitTestProject1/UnitTest1.cs | UnitTestProject1/UnitTest1.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
Assert.AreEqual(ClassLibrary1.Class1.ReturnFive(), 5);
Assert.AreEqual(ClassLibrary1.C... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
Assert.AreEqual(ClassLibrary1.Class1.ReturnFive(), 5);
Assert.AreEqual(ClassLibrary1.C... | unlicense | C# |
fe25c6fd1bf3a11e65a71d3b875df01229441bee | Convert struct to class | MHeasell/Mappy,MHeasell/Mappy | Mappy/Models/ComboBoxViewModel.cs | Mappy/Models/ComboBoxViewModel.cs | namespace Mappy.Models
{
using System.Collections.Generic;
public class ComboBoxViewModel
{
public static readonly ComboBoxViewModel Empty = new ComboBoxViewModel(new List<string>(), -1);
public ComboBoxViewModel(IList<string> items)
: this(items, items.Count > 0 ? 0 :... | namespace Mappy.Models
{
using System.Collections.Generic;
public struct ComboBoxViewModel
{
public static readonly ComboBoxViewModel Empty = new ComboBoxViewModel(new List<string>(), -1);
public ComboBoxViewModel(IList<string> items)
: this(items, items.Count > 0 ? 0 ... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.