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 |
|---|---|---|---|---|---|---|---|---|
50f9d731c96ec389e2955eb6b104a7a6999ef0d9 | remove tab | pocketberserker/free-monad-csharp | CSharp.Monad.Free/F0.cs | CSharp.Monad.Free/F0.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharp.Monad
{
class F0FunctorImpl : Functor<F0>
{
internal F0FunctorImpl() { }
public _1<F0, B> Map<A, B>(Func<A, B> f, _1<F0, A> fa)
{
return F0.Wrap(() => f((fa ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharp.Monad
{
class F0FunctorImpl : Functor<F0>
{
internal F0FunctorImpl() { }
public _1<F0, B> Map<A, B>(Func<A, B> f, _1<F0, A> fa)
{
return F0.Wrap(() => f((fa ... | mit | C# |
4aab312652139417b06c0cfc8f54278c503b2260 | Add create suta button | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/SUTA/List.cshtml | Battery-Commander.Web/Views/SUTA/List.cshtml | @model IEnumerable<SUTA>
@{
ViewBag.Title = "SUTA Tracker";
}
<div class="btn-group">
@Html.ActionLink("Add New", "New", "SUTA", null, new { @class = "btn btn-default" })
</div>
<div id="suta-list">
<div class="page-header">
<h1>@ViewBag.Title</h1>
<table class="table tabl... | @model IEnumerable<SUTA>
@{
ViewBag.Title = "SUTA Tracker";
}
<div id="suta-list">
<div class="page-header">
<h1>@ViewBag.Title</h1>
<table class="table table-striped display nowrap" id="dt" width="100%">
<thead>
<tr>
<th>Details</... | mit | C# |
8b24b861a3cbdf9e2411716e391e60965072ca0d | Make X509 work with ManagedHandler | jterry75/Docker.DotNet,jterry75/Docker.DotNet,ahmetalpbalkan/Docker.DotNet | Docker.DotNet.X509/CertificateCredentials.cs | Docker.DotNet.X509/CertificateCredentials.cs | using System.Net;
using System.Net.Http;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Net.Http.Client;
namespace Docker.DotNet.X509
{
public class CertificateCredentials : Credentials
{
private X509Certificate2 _certificate;
public CertificateCredentials(X509Certificat... | using System.Net.Http;
using System.Security.Cryptography.X509Certificates;
namespace Docker.DotNet.X509
{
public class CertificateCredentials : Credentials
{
private readonly WebRequestHandler _handler;
public CertificateCredentials(X509Certificate2 clientCertificate)
{
_... | apache-2.0 | C# |
80d14aec6ce2f05c4004f4597513fb0a5d5cd6dd | Update build.cake | jamesmontemagno/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins | Connectivity/build.cake | Connectivity/build.cake | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "NuGetPack"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Build").Does (() =>
{
const string sln = "./Connectivity.sln";
const string cfg = "Release";
NuGetRestore (sln);
... | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "Build"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Build").Does (() =>
{
const string sln = "./Connectivity.sln";
const string cfg = "Release";
NuGetRestore (sln);
if... | mit | C# |
4aee03370e4226572070d3e7b609aea175f395d8 | 修正 JIT 问题 | GameFramework/GameFramework,EllanJiang/GameFramework | GameFramework/Base/GameFrameworkException.cs | GameFramework/Base/GameFrameworkException.cs | //------------------------------------------------------------
// Game Framework v3.x
// Copyright © 2013-2017 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using System;
using System.R... | //------------------------------------------------------------
// Game Framework v3.x
// Copyright © 2013-2017 Jiang Yin. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:jiangyin@gameframework.cn
//------------------------------------------------------------
using System;
using System.R... | mit | C# |
f6b2d0453936964a3aec6914b32cb81047217d9f | fix output | Epxoxy/LiveRoku | LiveRoku/helpers/debugex/LogTraceListener.cs | LiveRoku/helpers/debugex/LogTraceListener.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LiveRoku
{
internal class LogTraceListener : System.Diagnostics.TraceListener {
private StringBuilder debugMsgBuilder = new StringBuilder ();
private string path;
p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LiveRoku
{
internal class LogTraceListener : System.Diagnostics.TraceListener {
private StringBuilder debugMsgBuilder = new StringBuilder ();
private string path;
p... | mit | C# |
a6664dbf8c3823887c24ea2eebbc47c2b9c1a131 | Rename missed variable | EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework | osu.Framework.Tests/Audio/SampleChannelVirtualTest.cs | osu.Framework.Tests/Audio/SampleChannelVirtualTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Audio.Sample;
using osu.Framework.Development;
using osu.Framework.Threading;
namespace ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Audio.Sample;
using osu.Framework.Development;
using osu.Framework.Threading;
namespace ... | mit | C# |
2307889bf81762d647718a17d0d4e326782dd4b5 | Fix incorrect cast | peppy/osu-new,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu | osu.Game.Rulesets.Mania/Edit/ManiaSelectionHandler.cs | osu.Game.Rulesets.Mania/Edit/ManiaSelectionHandler.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Allocation;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects;
using osu.Game.Rulesets.Objects;
usi... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Allocation;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects;
using osu.Game.Rulesets.Objects;
usi... | mit | C# |
3b55eeb416c01f1f2ba5d2fa0a8ce0d7a25d6bd7 | Fix test failure by setting beatmap | NeoAdonis/osu,ppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu | osu.Game.Tests/Visual/Editing/TestSceneEditorClock.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorClock.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Osu;
using osu.Game... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.Edit.Components;
using osuTK;
namespace osu.Game.Te... | mit | C# |
974c6fb36c9efc81cdecd8e1cf6f9d9798ca7fd7 | Add clientside code to test channel registration on server | GeorgeHahn/SOVND | SOVND.Client/App.xaml.cs | SOVND.Client/App.xaml.cs | using Charlotte;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using libspotifydotnet;
namespace SOVND.Client
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public... | using Charlotte;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace SOVND.Client
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : App... | epl-1.0 | C# |
43d2bcdc2155f74f0881c8bbdc6a79b2155f406f | Remove Close() call in using statement | appharbor/AppHarbor.Web.Security | AppHarbor.Web.Security/SymmetricEncryption.cs | AppHarbor.Web.Security/SymmetricEncryption.cs | using System.IO;
using System.Security.Cryptography;
namespace AppHarbor.Web.Security
{
public class SymmetricEncryption : Encryption
{
private readonly SymmetricAlgorithm _algorithm;
private readonly byte[] _secretKey;
private readonly byte[] _initializationVector;
public SymmetricEncryption(SymmetricAlgo... | using System.IO;
using System.Security.Cryptography;
namespace AppHarbor.Web.Security
{
public class SymmetricEncryption : Encryption
{
private readonly SymmetricAlgorithm _algorithm;
private readonly byte[] _secretKey;
private readonly byte[] _initializationVector;
public SymmetricEncryption(SymmetricAlgo... | mit | C# |
c6db15922f2de9534e2bdcd60a793eaf863ad6a0 | Update ICorrelationService.cs | tiksn/TIKSN-Framework | TIKSN.Core/Integration/Correlation/ICorrelationService.cs | TIKSN.Core/Integration/Correlation/ICorrelationService.cs | namespace TIKSN.Integration.Correlation
{
/// <summary>
/// Service for generating and parsing <see cref="CorrelationID"/>.
/// </summary>
public interface ICorrelationService
{
/// <summary>
/// Creates <see cref="CorrelationID"/> from string representation.
/// </summary>
... | namespace TIKSN.Integration.Correlation
{
/// <summary>
/// Service for generating and parsing <see cref="Correlation"/>.
/// </summary>
public interface ICorrelationService
{
/// <summary>
/// Creates <see cref="CorrelationID"/> from string representation.
/// </summary>
... | mit | C# |
1961ce832aa0a0b6ea7a7f7c9a8bab4abb3b2257 | Update FastBinaryBondSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/FastBinaryBondSerializer.cs | TIKSN.Core/Serialization/Bond/FastBinaryBondSerializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class FastBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal<T>(T obj)
{
var output = new OutputBuffer();
var writer = new FastBinaryWriter<Out... | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class FastBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal<T>(T obj)
{
var output = new OutputBuffer();
var writer = new FastBinaryWriter<Out... | mit | C# |
ca65c6bd8f0f99b98ad5fee089cb509e60d9a7ac | fix #171 | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Account/ConfirmEmail.cshtml | BTCPayServer/Views/Account/ConfirmEmail.cshtml | @{
ViewData["Title"] = "Confirm email";
}
<section>
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<partial name="_StatusMessage" model="@("Thank you for confirming your email.")" />
</div>
</div>
</div>
</section>
| @{
ViewData["Title"] = "Confirm email";
}
<section>
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<partial name="_StatusMessage" for="@("Thank you for confirming your email.")" />
</div>
</div>
</div>
</section>
| mit | C# |
49a878dc20ce004169333f86021e02f528a6cf9b | Fix comma separator support not actually working | peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,ppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu | osu.Game/Graphics/UserInterface/ScoreCounter.cs | osu.Game/Graphics/UserInterface/ScoreCounter.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.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Graphic... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Graphics.UserInterfac... | mit | C# |
6f22dfbcc1a41a100767a0d5a22797063ff2c0bc | Fix WatchListTests | ermau/Tempest.Social | Desktop/Tempest.Social.Tests/WatchListTests.cs | Desktop/Tempest.Social.Tests/WatchListTests.cs | //
// WatchListTests.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2013 Eric Maupin
//
// 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, includin... | //
// WatchListTests.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2013 Eric Maupin
//
// 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, includin... | mit | C# |
a60919d3bbbf96f65c17921ba8cb1d4c7012e05e | Add new ListActivatableNames() to org.freedesktop.DBus | arfbtwn/dbus-sharp,arfbtwn/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,mono/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp | src/DBus.cs | src/DBus.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
//namespace org.freedesktop.DBus
namespace org.freedesktop.DBus
{
/*
//what's this for?
public class DBusException : ApplicationException
{
}
*/
#if U... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
//namespace org.freedesktop.DBus
namespace org.freedesktop.DBus
{
/*
//what's this for?
public class DBusException : ApplicationException
{
}
*/
#if U... | mit | C# |
b115e346624f6fec9e845cb9d33adc9cc6e26a34 | Set version 0.1.1 | morgen2009/DelegateDecompiler,hazzik/DelegateDecompiler,jaenyph/DelegateDecompiler | src/DelegateDecompiler/Properties/AssemblyInfo.cs | src/DelegateDecompiler/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# |
fa8fc19e9d680e92c0ac777819509f86e9547623 | make serializeUtil visible to Tests | digipost/digipost-api-client-dotnet | Digipost.Api.Client/Properties/AssemblyInfo.cs | Digipost.Api.Client/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("D... | 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("Digipost.Api.Client")]
[assembly: Assemb... | apache-2.0 | C# |
6c7f0e4b23bfa8b2ebc2387b087186b58600200b | Fix GenerateSlug | fujiy/FujiyBlog,fujiy/FujiyBlog,fujiy/FujiyBlog | src/FujiyBlog.Core/Extensions/StringExtensions.cs | src/FujiyBlog.Core/Extensions/StringExtensions.cs | using System.Text;
using System.Text.RegularExpressions;
namespace FujiyBlog.Core.Extensions
{
public static class StringExtensions
{
public static string GenerateSlug(this string text)
{
if (string.IsNullOrWhiteSpace(text))
{
return string.Empty;
... | using System.Text;
using System.Text.RegularExpressions;
namespace FujiyBlog.Core.Extensions
{
public static class StringExtensions
{
public static string GenerateSlug(this string text)
{
text = RemoveAccent(text).ToLower();
text = Regex.Replace(text, @"[^a-z0-9\s-]", ... | mit | C# |
51f69f171192e0534e3221be9f2b41023fac8cf5 | Rename listened table in migration | B1naryStudio/Azimuth,B1naryStudio/Azimuth | Azimuth.Migrations/Migrations/Migration_201409101200_RemoveListenedTableAndAddCounterToPlaylistTable.cs | Azimuth.Migrations/Migrations/Migration_201409101200_RemoveListenedTableAndAddCounterToPlaylistTable.cs |
using FluentMigrator;
namespace Azimuth.Migrations
{
[Migration(201409101200)]
public class Migration_201409101200_RemoveListenedTableAndAddCounterToPlaylistTable: Migration
{
public override void Up()
{
Delete.Table("Listened");
Alter.Table("Playlists").AddColumn(... |
using FluentMigrator;
namespace Azimuth.Migrations
{
[Migration(201409101200)]
public class Migration_201409101200_RemoveListenedTableAndAddCounterToPlaylistTable: Migration
{
public override void Up()
{
Delete.Table("Listened");
Alter.Table("Playlists").AddColumn(... | mit | C# |
5d6f72a9730a078616b51d0f91b181875b1b78d8 | fix build | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Helpers/DelegateTextWriter.cs | src/WeihanLi.Common/Helpers/DelegateTextWriter.cs | using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace WeihanLi.Common.Helpers
{
public class DelegateTextWriter : TextWriter
{
public override Encoding Encoding => Encoding.UTF8;
private readonly Action<string> _onLineWritten;
private readonly Strin... | using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace WeihanLi.Common.Helpers
{
public class DelegateTextWriter : TextWriter
{
public override Encoding Encoding => Encoding.UTF8;
private readonly Action<string> _onLineWritten;
private readonly Strin... | mit | C# |
cc2584876f5ce2c2e47fb6ba5319c58792642547 | Revert "defined scene parameters" | tt-acm/Spectacles.GrasshopperExporter | GHva3c/GHva3c/va3c_Scene.cs | GHva3c/GHva3c/va3c_Scene.cs | using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using Rhino.Geometry;
namespace GHva3c
{
public class va3c_Scene : GH_Component
{
/// <summary>
/// Initializes a new instance of the va3c_Scene class.
/// </summary>
public va3c_Scene()
: ba... | using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using Rhino.Geometry;
namespace GHva3c
{
public class va3c_Scene : GH_Component
{
/// <summary>
/// Initializes a new instance of the va3c_Scene class.
/// </summary>
public va3c_Scene()
: ba... | mit | C# |
9ba8441a3bebe5133c5f5639cb2d6178dc4a7083 | Include Fact attribute on test method | henriqueprj/infixtopostfix | test/MathParser.Tests/InfixLexicalAnalyzerTest.cs | test/MathParser.Tests/InfixLexicalAnalyzerTest.cs | using Xunit;
namespace MathParser.Tests
{
public class InfixLexicalAnalyzerTest
{
[Fact]
public void Expressao_binaria_simples_com_espacos()
{
//var analyzer = new InfixLexicalAnalyzer();
//analyzer.Analyze("2 + 2");
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MathParser.Tests
{
public class InfixLexicalAnalyzerTest
{
public void Expressao_binaria_simples_com_espacos()
{
//var analyzer = new InfixLexic... | mit | C# |
a5e642016966fb44270c21143ca6e7b31b7838ec | Update servicepointmanager to use newer TLS | neuralaxis/synapsecsharpclient | Synapse.RestClient/SynapseRestClientFactory.cs | Synapse.RestClient/SynapseRestClientFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Synapse.RestClient.Transaction;
namespace Synapse.RestClient
{
using User;
using Node;
using System.Net;
public class SynapseRestClientFactory
{
private SynapseApiCred... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Synapse.RestClient.Transaction;
namespace Synapse.RestClient
{
using User;
using Node;
public class SynapseRestClientFactory
{
private SynapseApiCredentials _creds;
... | mit | C# |
d6aeb8e17a33bd4486bb6cc7288d21f510a86ba9 | adjust error message format | acple/ParsecSharp | ParsecSharp/Parser/Parser.Monad.Extensions.cs | ParsecSharp/Parser/Parser.Monad.Extensions.cs | using System;
using System.Runtime.CompilerServices;
using ParsecSharp.Internal;
namespace ParsecSharp
{
public static partial class Parser
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Parser<TToken, TResult> Bind<TToken, T, TResult>(this Parser<TToken, T> parser, Func<T, ... | using System;
using System.Runtime.CompilerServices;
using ParsecSharp.Internal;
namespace ParsecSharp
{
public static partial class Parser
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Parser<TToken, TResult> Bind<TToken, T, TResult>(this Parser<TToken, T> parser, Func<T, ... | mit | C# |
24aa71913800ebd121cbb9fcf2a7cf79d47744dd | Hide mouse cursor. | PlanetLotus/FPS-Sandbox,PlanetLotus/FPS-Sandbox | Assets/NetworkManager.cs | Assets/NetworkManager.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
public class NetworkManager : MonoBehaviour {
public List<string> ChatMessages;
public bool IsOfflineMode;
public GameObject playerControllerPrefab;
public void AddChatMessage(string message) {
PhotonView.Get... | using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
public class NetworkManager : MonoBehaviour {
public List<string> ChatMessages;
public bool IsOfflineMode;
public GameObject playerControllerPrefab;
public void AddChatMessage(string message) {
PhotonView.Get... | mit | C# |
84ab87c2b97358904ef3abab2595c03c56c28ef5 | Update UserSessionScopeStorage.cs | tiksn/TIKSN-Framework | TIKSN.Core/Session/UserSessionScopeStorage.cs | TIKSN.Core/Session/UserSessionScopeStorage.cs | using System;
using System.Collections.Concurrent;
using Microsoft.Extensions.DependencyInjection;
namespace TIKSN.Session
{
public class UserSessionScopeStorage<TIdentity> : IUserSessionScopeStorage<TIdentity>
where TIdentity : IEquatable<TIdentity>
{
private readonly ConcurrentDictionary<TId... | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Concurrent;
namespace TIKSN.Session
{
public class UserSessionScopeStorage<TIdentity> : IUserSessionScopeStorage<TIdentity> where TIdentity : IEquatable<TIdentity>
{
private readonly ConcurrentDictionary<TIdentity, ... | mit | C# |
c77a00d000001f574d5349b3e167017972f3d570 | Update maze-runner test | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity | features/fixtures/Main.cs | features/fixtures/Main.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class Main : MonoBehaviour {
#if UNITY_EDITOR
public static void CreateScene() {
var scene = UnityEditor.SceneManagement.EditorSceneManager.NewScene(UnityEditor.SceneManagement.NewSce... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class Main : MonoBehaviour {
#if UNITY_EDITOR
public static void CreateScene() {
var scene = UnityEditor.SceneManagement.EditorSceneManager.NewScene(UnityEditor.SceneManagement.NewSce... | mit | C# |
1cf43ac2155991869a19ddc8931348d92c52c22b | Update run.cs | ouspg/trytls,ouspg/trytls,ouspg/trytls,ouspg/trytls,ouspg/trytls,ouspg/trytls,ouspg/trytls,ouspg/trytls | stubs/cSharp-Net/run.cs | stubs/cSharp-Net/run.cs | using System;
using System.Net;
//tested with Mono and Visual Studio:
//* Mono: can't recommend using, test if you do not believe
//* Visual Studio (all Ok). Same for F# and Visual Basic Stubs
public class Run
{
static public void Main (String []args)
{
if (args.Length != 2){
Console.WriteLine("UNSUPPO... | using System;
using System.Net;
//tested with Mono and cannot recommend using
public class Run
{
static public void Main (String []args)
{
if (args.Length != 2){
Console.WriteLine("UNSUPPORTED");
Environment.Exit(0);
}
String host, port;
host = args[0];
port = args[1];
try {
... | mit | C# |
20ff63a7db147b054995bf67e0a68a5fb600a01f | Simplify IsParameterSet method | jbe2277/musicmanager | src/MusicManager/MusicManager.Presentation/Converters/ConverterHelper.cs | src/MusicManager/MusicManager.Presentation/Converters/ConverterHelper.cs | using System;
namespace Waf.MusicManager.Presentation.Converters
{
internal static class ConverterHelper
{
public static bool IsParameterSet(string expectedParameter, object actualParameter)
{
return string.Equals(actualParameter as string, expectedParameter, StringComparis... | using System;
namespace Waf.MusicManager.Presentation.Converters
{
internal static class ConverterHelper
{
public static bool IsParameterSet(string expectedParameter, object actualParameter)
{
string parameter = actualParameter as string;
return !string.IsNullO... | mit | C# |
4560266c5b5326b1f6709d816eae2fafaf1df911 | Rename field. | fffej/BobTheBuilder,alastairs/BobTheBuilder | BobTheBuilder/Builder.cs | BobTheBuilder/Builder.cs | using System;
using System.Dynamic;
namespace BobTheBuilder
{
public class DynamicBuilder : DynamicObject
{
private readonly Type _destinationType;
private object _property;
internal DynamicBuilder(Type destinationType)
{
if (destinationType == null)
{
... | using System;
using System.Dynamic;
namespace BobTheBuilder
{
public class DynamicBuilder : DynamicObject
{
private readonly Type _destinationType;
private object property;
internal DynamicBuilder(Type destinationType)
{
if (destinationType == null)
{
... | apache-2.0 | C# |
c1c4e3e562189e9238f2d9f63e1373d69b01ae1e | Update IValidatableModel.cs | Windows-XAML/Template10.Validation | Library/Interfaces.Validation/IValidatableModel.cs | Library/Interfaces.Validation/IValidatableModel.cs | using System;
using System.Collections.ObjectModel;
using Template10.Controls.Validation;
using Template10.Mvvm.Validation;
namespace Template10.Interfaces.Validation
{
public interface IValidatableModel : IBindable
{
bool Validate(bool validateAfter);
void Revert();
void MarkAsClean(... | using System;
using System.Collections.ObjectModel;
using Template10.Controls.Validation;
using Template10.Mvvm.Validation;
namespace Template10.Interfaces.Validation
{
public interface IValidatableModel : IBindable
{
bool Validate();
void Revert();
void MarkAsClean();
Obser... | mit | C# |
c89ec0dda19893397055f75ebf1ff01d859c3dfd | Add missing "using geckofx" for mono build | StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,andrew-polk/BloomDeskt... | src/BloomTests/ProblemReporterDialogTests.cs | src/BloomTests/ProblemReporterDialogTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Bloom;
using Bloom.MiscUI;
using NUnit.Framework;
#if __MonoCS__
using Gecko;
#endif
namespace BloomTests
{
[TestFixture]
#if __MonoCS__
[RequiresSTA]
#endif
public class ProblemReporterDialogTe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Bloom;
using Bloom.MiscUI;
using NUnit.Framework;
namespace BloomTests
{
[TestFixture]
#if __MonoCS__
[RequiresSTA]
#endif
public class ProblemReporterDialogTests
{
[TestFixtureSetUp]
public... | mit | C# |
ea55f8db711a621e5f0710f650bc45fbeb4b8b49 | Update OidcConfigurationController.cs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/Controllers/OidcConfigurationController.cs | src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/Controllers/OidcConfigurationController.cs | using Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
using Microsoft.AspNetCore.Mvc;
namespace Company.WebApplication1.Controllers
{
public class OidcConfigurationController : Controller
{
private readonly ILogger<OidcConfigurationController> logger;
public OidcConfigurationController(... | using Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
using Microsoft.AspNetCore.Mvc;
namespace Company.WebApplication1.Controllers
{
public class OidcConfigurationController : Controller
{
private readonly ILogger<SampleDataController> logger;
public OidcConfigurationController(IClient... | apache-2.0 | C# |
76aff950eb99b176309c1e86a4b44c9beb09fee0 | Add retry parameter to RetryAfterDelay | step-up-labs/firebase-database-dotnet | src/Firebase/Extensions/ObservableExtensions.cs | src/Firebase/Extensions/ObservableExtensions.cs | namespace Firebase.Database.Extensions
{
using System;
using System.Reactive.Linq;
public static class ObservableExtensions
{
/// <summary>
/// Returns a cold observable which retries (re-subscribes to) the source observable on error until it successfully terminates.
/// </sum... | namespace Firebase.Database.Extensions
{
using System;
using System.Reactive.Linq;
public static class ObservableExtensions
{
/// <summary>
/// Returns a cold observable which retries (re-subscribes to) the source observable on error until it successfully terminates.
/// </sum... | mit | C# |
f27e286643afcb79046d1627817cf3ce0653c2cc | Update IsGroupConverter.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D/UI/Avalonia/Converters/IsGroupConverter.cs | src/Core2D/UI/Avalonia/Converters/IsGroupConverter.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using Avalonia.Data.Converters;
using Core2D.Shapes;
namespace Core2D.UI.Avalonia.Converters
{
/// <summary>
///... | // 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 Avalonia.Data.Converters;
using Core2D.Shapes;
using System;
using System.Globalization;
namespace Core2D.UI.Avalonia.Converters
{
/// <summary>
///... | mit | C# |
cce9486464dee71ce0b6ea4500ddeb61606f3711 | Fix edit-manifest cmdlet | Ackara/Buildbox | src/Ncrement.Powershell/Cmdlets/EditManifestCmdlet.cs | src/Ncrement.Powershell/Cmdlets/EditManifestCmdlet.cs | using Acklann.Ncrement.Extensions;
using System.IO;
using System.Management.Automation;
using System.Text;
namespace Acklann.Ncrement.Cmdlets
{
/// <summary>
/// <para type="synopsis">Edit a manifest file.</para>
/// </summary>
/// <seealso cref="Acklann.Ncrement.Cmdlets.ManifestCmdletBase" />
[Cmd... | using Acklann.Ncrement.Extensions;
using System.IO;
using System.Management.Automation;
using System.Text;
namespace Acklann.Ncrement.Cmdlets
{
/// <summary>
/// <para type="synopsis">Edit a manifest file.</para>
/// </summary>
/// <seealso cref="Acklann.Ncrement.Cmdlets.ManifestCmdletBase" />
[Cmd... | mit | C# |
f35ad5928313fc22d8b1d16f9d2cd81629890fc7 | clean up code | asibahi/RoomArrangement | RoomArrangement/Room.cs | RoomArrangement/Room.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RoomArrangement
{
class Room
{
// Meta properties
private readonly int id;
public int ID => id;
private readonly string name;
public string Name => string.Format(
string.IsN... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RoomArrangement
{
class Room
{
// Meta properties
public int ID { get; private set; }
private string name;
public string Name
{
get
{
return string.Format(
string.... | mit | C# |
71c6f3adf83c5a9c11c1aa832893ea21131e0da1 | check IsHidden on PropertyVm creation | mcintyre321/Noodles,mcintyre321/Noodles | Noodles.Web/Helpers/FormFactoryHelperExtensions.cs | Noodles.Web/Helpers/FormFactoryHelperExtensions.cs | using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web.Mvc;
using System.Web.Mvc;
using FormFactory;
namespace Noodles.Helpers
{
public static class FormFactoryHelperExtensions
{
public static PropertyVm ToPropertyVm(this NodeMethodParameter parameter, HtmlHelper Html)
... | using System.Web.Mvc;
using System.Web.Mvc;
using FormFactory;
namespace Noodles.Helpers
{
public static class FormFactoryHelperExtensions
{
public static PropertyVm ToPropertyVm(this NodeMethodParameter parameter, HtmlHelper Html)
{
var vm = new PropertyVm(Html, parameter.Paramete... | mit | C# |
5f9d2ebf02326f505a2a3c4c476659aed225c172 | Add client for simple call | avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors,avinassh/grpc-errors | csharp/Hello/HelloClient/Program.cs | csharp/Hello/HelloClient/Program.cs | using System;
using Grpc.Core;
using Hello;
namespace HelloClient
{
class Program
{
public static void Main(string[] args)
{
Channel channel = new Channel("127.0.0.1:50051", ChannelCredentials.Insecure);
var client = new HelloService.HelloServiceClient(channel);
String user = "Euler";
var reply = ... | using System;
namespace HelloClient
{
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
| mit | C# |
76a2aa46baf34ae8edc3b7a0a884e5b2112107f6 | allow asp.net core retry after initialization failed | zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,303248153/ZKWeb,zkweb-framework/ZKWeb | ZKWeb/ZKWeb.Hosting.AspNetCore/StartupBase.cs | ZKWeb/ZKWeb.Hosting.AspNetCore/StartupBase.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.PlatformAbstractions;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using ZKWebStandard.Ioc;
namespace ZKWeb.Hosting.AspNetCore {
/// <summary>
/// Base startup class ... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.PlatformAbstractions;
using System;
using System.IO;
using System.Threading.Tasks;
using ZKWebStandard.Ioc;
namespace ZKWeb.Hosting.AspNetCore {
/// <summary>
/// Base startup class for Asp.Net Core
/// </... | mit | C# |
0bbbc134859428865d94b81f01572b32c2fce433 | Add code to write split quotes | fredatgithub/MyFavoriteQuotes | SplitXmlFile/Program.cs | SplitXmlFile/Program.cs | using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Xml.Serialization;
using MyFavoriteQuotes.Properties;
using Tools;
namespace SplitXmlFile
{
internal static class Program
{
private static void Main()
{
Action<string> display = Console.WriteLine... | using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using System.Xml.Serialization;
using MyFavoriteQuotes.Properties;
using Tools;
namespace SplitXmlFile
{
internal static class Program
{
private static void Main()
{
Action<string> display = Console.WriteLine... | mit | C# |
37f71675670a73a026eced843d6c57e90556aeae | Test promoting model to shared state. | ZhangLeiCharles/mobile,eatskolnikov/mobile,masterrr/mobile,peeedge/mobile,eatskolnikov/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,masterrr/mobile,peeedge/mobile | Tests/Data/ModelTest.cs | Tests/Data/ModelTest.cs | using System;
using System.Linq;
using NUnit.Framework;
using Toggl.Phoebe.Data;
using XPlatUtils;
namespace Toggl.Phoebe.Tests.Data
{
[TestFixture]
public class ModelTest
{
private class PlainModel : Model
{
}
[TestFixtureSetUp]
public void Init ()
{
... | using System;
using NUnit.Framework;
using Toggl.Phoebe.Data;
namespace Toggl.Phoebe.Tests.Data
{
[TestFixture]
public class ModelTest
{
private class PlainModel : Model
{
}
[Test]
public void TestDefaults ()
{
var model = new PlainModel ();
... | bsd-3-clause | C# |
bd2bca6875eb8928c97fb4f8246913ad1b94b40e | Enable NRT | mavasani/roslyn,sharwell/roslyn,diryboy/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/... | src/Analyzers/CSharp/Analyzers/UseConditionalExpression/CSharpUseConditionalExpressionForReturnDiagnosticAnalyzer.cs | src/Analyzers/CSharp/Analyzers/UseConditionalExpression/CSharpUseConditionalExpressionForReturnDiagnosticAnalyzer.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.
using Microsoft.CodeAnalysis.CSharp.LanguageServices;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.C... | // 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.
#nullable disable
using Microsoft.CodeAnalysis.CSharp.LanguageServices;
using Microsoft.CodeAnalysis.CSharp.Syntax... | mit | C# |
0d07488fc00252eff26123af1b7bd11dfb822a0d | Use ITablatureWebpageImporter for GetTablatureDocumentMethodString(). | GetTabster/Tabster | Tabster/Utilities/Common.cs | Tabster/Utilities/Common.cs | #region
using System.Reflection;
using System.Windows.Forms;
using Tabster.Core.Data.Processing;
#endregion
namespace Tabster.Utilities
{
internal static class Common
{
private static string _copyrightString;
public static string GetTablatureDocumentMethodString(ITablatureWebp... | #region
using System.Reflection;
using System.Windows.Forms;
using Tabster.Core.Parsing;
#endregion
namespace Tabster.Utilities
{
internal static class Common
{
private static string _copyrightString;
public static string GetTablatureDocumentMethodString(ITabParser parser = nu... | apache-2.0 | C# |
e6bb4e3b5a8cfe27985a4a7f5346959d8076754e | Fix issue #586 | dazerdude/SharpDX,fmarrabal/SharpDX,manu-silicon/SharpDX,fmarrabal/SharpDX,sharpdx/SharpDX,weltkante/SharpDX,mrvux/SharpDX,fmarrabal/SharpDX,mrvux/SharpDX,PavelBrokhman/SharpDX,jwollen/SharpDX,dazerdude/SharpDX,PavelBrokhman/SharpDX,dazerdude/SharpDX,weltkante/SharpDX,jwollen/SharpDX,RobyDX/SharpDX,waltdestler/SharpDX,... | Source/SharpDX.Direct2D1/BorderTransform.cs | Source/SharpDX.Direct2D1/BorderTransform.cs | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modi... | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modi... | mit | C# |
c4121655e93e4d442e507a34bb3b74b96a9f45af | add backup channel link | codingteam/codingteam.org.ru,codingteam/codingteam.org.ru | Views/Home/Resources.cshtml | Views/Home/Resources.cshtml | <h1>Resources</h1>
<p>Here is a list of codingteam affiliated online resources:</p>
<ul class="fa-ul">
<li>
<a href="https://github.com/codingteam/">
<i class="fa-li fa fa-github"></i> GitHub organization
</a>
</li>
<li>
<a href="xmpp:codingteam@conference.jabber.ru?joi... | <h1>Resources</h1>
<p>Here is a list of codingteam affiliated online resources:</p>
<ul class="fa-ul">
<li>
<a href="https://github.com/codingteam/">
<i class="fa-li fa fa-github"></i> GitHub organization
</a>
</li>
<li>
<a href="xmpp:codingteam@conference.jabber.ru?joi... | mit | C# |
d0e062f0069bb6e1647a8136dad7892f9059fa63 | fix build | PombeirP/T4Factories | T4Factories.Testbed/Models/CsvFileParser.cs | T4Factories.Testbed/Models/CsvFileParser.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CsvFileParser.cs" company="Developer In The Flow">
// © 2012-2013 Pedro Pombeiro
// </copyright>
// -----------------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CsvFileParser.cs" company="Developer In The Flow">
// © 2012-2013 Pedro Pombeiro
// </copyright>
// -----------------------------------------------------------------------------... | mit | C# |
80054a4687663f8a62f1f53854138ac8fd9e2474 | Fix memory leak caused by undisposed memorystream. | TheBrainTech/xwt,antmicro/xwt,directhex/xwt,sevoku/xwt,mono/xwt,mminns/xwt,residuum/xwt,cra0zy/xwt,iainx/xwt,hwthomas/xwt,steffenWi/xwt,lytico/xwt,hamekoz/xwt,akrisiun/xwt,mminns/xwt | Xwt.Gtk.Windows/GtkWindowsDesktopBackend.cs | Xwt.Gtk.Windows/GtkWindowsDesktopBackend.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xwt.GtkBackend;
using System.Runtime.InteropServices;
using System.Drawing;
using System.IO;
using System.Drawing.Imaging;
namespace Xwt.Gtk.Windows
{
class GtkWindowsDesktopBackend: GtkDesktopBackend
{
Dictionary<string, ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xwt.GtkBackend;
using System.Runtime.InteropServices;
using System.Drawing;
using System.IO;
using System.Drawing.Imaging;
namespace Xwt.Gtk.Windows
{
class GtkWindowsDesktopBackend: GtkDesktopBackend
{
Dictionary<string, ... | mit | C# |
5aac6dd314fad2c821543e29fcd4c6b391c661b1 | Throw 404 when you can't find the node | mcintyre321/Noodles,mcintyre321/Noodles | WebNoodle/NodeHelper.cs | WebNoodle/NodeHelper.cs | using System;
using System.Collections.Generic;
using System.Web;
namespace WebNoodle
{
public static class NodeHelper
{
public static IEnumerable<object> YieldChildren(this object node, string path, bool breakOnNull = false)
{
path = string.IsNullOrWhiteSpace(path) ? "/" : path;
... | using System;
using System.Collections.Generic;
namespace WebNoodle
{
public static class NodeHelper
{
public static IEnumerable<object> YieldChildren(this object node, string path, bool breakOnNull = false)
{
path = string.IsNullOrWhiteSpace(path) ? "/" : path;
yield re... | mit | C# |
a170cf16ad14cc207946d98f1e2c51c2b45d3b95 | Update Sentry DSN | Mpstark/articulate | Articulate/Constants.cs | Articulate/Constants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Articulate
{
static class Constants
{
/// <summary>
/// The DSN used by Raven to report exceptions to a Sentry instance for tracking
/// </summary>
public const string SentryDSN = "h... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Articulate
{
static class Constants
{
/// <summary>
/// The DSN used by Raven to report exceptions to a Sentry instance for tracking
/// </summary>
public const string SentryDSN = "h... | mit | C# |
035b66da8646140633340eee2cbe36d443c68c1a | drop description now indicates that it's money brokensword health penalty increased | lizard-entertainment/runityscape,Cinnamon18/runityscape | Assets/Scripts/Game/Defined/Serialized/ItemList.cs | Assets/Scripts/Game/Defined/Serialized/ItemList.cs | using System.Collections.Generic;
using Scripts.Model.Spells;
using Scripts.Model.Items;
using Scripts.Model.Stats;
using Scripts.Game.Defined.Spells;
using Scripts.Model.Buffs;
using Scripts.Game.Defined.Serialized.Spells;
namespace Scripts.Game.Defined.Serialized.Items.Consumables {
public class Apple : Consuma... | using System.Collections.Generic;
using Scripts.Model.Spells;
using Scripts.Model.Items;
using Scripts.Model.Stats;
using Scripts.Game.Defined.Spells;
using Scripts.Model.Buffs;
using Scripts.Game.Defined.Serialized.Spells;
namespace Scripts.Game.Defined.Serialized.Items.Consumables {
public class Apple : Consuma... | mit | C# |
b62b3a1d2d64aa9194cf6a42e556b6f421e0e1fd | Make FPS counter to a GameComponent | rafaelalmeidatk/MonoGame.Extended,Aurioch/MonoGame.Extended,HyperionMT/MonoGame.Extended,LithiumToast/MonoGame.Extended,cra0zy/MonoGame.Extended,rafaelalmeidatk/MonoGame.Extended | Source/MonoGame.Extended/FramesPerSecondCounter.cs | Source/MonoGame.Extended/FramesPerSecondCounter.cs | using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
namespace MonoGame.Extended
{
public class FramesPerSecondCounter : DrawableGameComponent
{
public FramesPerSecondCounter(Game game, int maximumSamples = 100)
:base(game)
{
MaximumSample... | using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
namespace MonoGame.Extended
{
public class FramesPerSecondCounter : IUpdate
{
public FramesPerSecondCounter(int maximumSamples = 100)
{
MaximumSamples = maximumSamples;
}
private re... | mit | C# |
02766064079a43c83d180578e214f437bbbd4f9f | Fix merge issue | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Web/Views/EmployerCommitments/SubmitCommitmentEntry.cshtml | src/SFA.DAS.EAS.Web/Views/EmployerCommitments/SubmitCommitmentEntry.cshtml | @using SFA.DAS.EAS.Web.Models
@model SubmitCommitmentViewModel
@{
var targetName = string.IsNullOrWhiteSpace(Model.HashedCommitmentId) ? "SubmitNewCommitmentEntry" : "SubmitExistingCommitmentEntry";
}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Instructions for ... | @using SFA.DAS.EAS.Web.Models
@model SubmitCommitmentViewModel
@{
var targetName = string.IsNullOrWhiteSpace(Model.HashedCommitmentId) ? "SubmitNewCommitmentEntry" : "SubmitExistingCommitmentEntry";
}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Instructions for ... | mit | C# |
cc74269fd45041f30583fd275564787daa4081d0 | Update AssemblyInfo.cs | Sitefinity/Less | Telerik.Sitefinity.Less/Properties/AssemblyInfo.cs | Telerik.Sitefinity.Less/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Web;
using System.Web.UI;
using Telerik.Sitefinity.Less;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembl... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Web;
using System.Web.UI;
using Telerik.Sitefinity.Less;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembl... | mit | C# |
0521c5f58871ffa3f00ecf2ced4582737d88a2c3 | Use pattern matching | thomasgalliker/ValueConverters.NET | ValueConverters.Shared/BoolToValueConverterBase.cs | ValueConverters.Shared/BoolToValueConverterBase.cs | using System.Globalization;
using System;
#if NETFX || WINDOWS_PHONE
using System.Windows;
using System.Windows.Data;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
#endif
namespace ValueConverters
{
/// <summary>
/// Source:
/// http://geekswithblogs.net/codingbloke/archive/2010/0... | using System.Globalization;
using System;
#if NETFX || WINDOWS_PHONE
using System.Windows;
using System.Windows.Data;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
#endif
namespace ValueConverters
{
/// <summary>
/// Source:
/// http://geekswithblogs.net/codingbloke/archive/2010/0... | mit | C# |
aad3111d03eca22bb366daa3cfdbf283e341c463 | Fix tests failing due to not being updated with new behaviour | ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework.Tests/Localisation/CultureInfoHelperTest.cs | osu.Framework.Tests/Localisation/CultureInfoHelperTest.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.Globalization;
using NUnit.Framework;
using osu.Framework.Localisation;
namespace osu.Framework.Tests.Localisation
{
[TestFixture]
public class Cult... | // 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.Globalization;
using NUnit.Framework;
using osu.Framework.Localisation;
namespace osu.Framework.Tests.Localisation
{
[TestFixture]
public class Cult... | mit | C# |
f680aca3b5bea622baed1beed198b2468c051b1f | Add comment | 60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope | QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs | QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* Debug.cs *
* 本檔案用於宣告偵錯相關工具物件 *
********************************************************************
*/
using System;
using... | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* Debug.cs *
* 本檔案用於宣告偵錯相關工具物件 *
********************************************************************
*/
using System;
using... | apache-2.0 | C# |
509ed1718d371da35b68627710973b345d60aab2 | Update ZoomHelper.cs | wieslawsoltes/PanAndZoom,PanAndZoom/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom | src/Avalonia.Controls.PanAndZoom/ZoomHelper.cs | src/Avalonia.Controls.PanAndZoom/ZoomHelper.cs | using System;
namespace Avalonia.Controls.PanAndZoom
{
/// <summary>
/// Zoom helper methods.
/// </summary>
public static class ZoomHelper
{
/// <summary>
/// Calculate scrollable properties.
/// </summary>
/// <param name="bounds">The view bounds.</param>
... | using System;
namespace Avalonia.Controls.PanAndZoom
{
/// <summary>
/// Zoom helper methods.
/// </summary>
public static class ZoomHelper
{
/// <summary>
/// Calculate scrollable properties.
/// </summary>
/// <param name="bounds">The view bounds.</param>
... | mit | C# |
1ce92e0330ea1abc9d2860e127490eaf9f10e664 | Handle Mongo ObjectId references better | ermshiperete/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge | src/LfMerge/LanguageForge/Model/LfAuthorInfo.cs | src/LfMerge/LanguageForge/Model/LfAuthorInfo.cs | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using MongoDB.Bson;
namespace LfMerge.LanguageForge.Model
{
public class LfAuthorInfo : LfFieldBase
{
public ObjectId? CreatedByUserRef { get; set; }
public DateTime Crea... | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
namespace LfMerge.LanguageForge.Model
{
public class LfAuthorInfo : LfFieldBase
{
public string CreatedByUserRef { get; set; }
public DateTime CreatedDate { get; set; }
... | mit | C# |
2093baa2d382c244bf3d3c70016a7fb9976560e2 | add GetUserId with default value | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Services/IUserIdProvider.cs | src/WeihanLi.Common/Services/IUserIdProvider.cs | using WeihanLi.Extensions;
namespace WeihanLi.Common.Services
{
public interface IUserIdProvider
{
string GetUserId();
}
public static class UserIdProviderExtensions
{
public static T GetUserId<T>(this IUserIdProvider userIdProvider)
{
return userIdProvider.Get... | using WeihanLi.Extensions;
namespace WeihanLi.Common.Services
{
public interface IUserIdProvider
{
string GetUserId();
}
public static class UserIdProviderExtensions
{
public static T GetUserId<T>(this IUserIdProvider userIdProvider)
{
return userIdProvider.Get... | mit | C# |
9180ab4442a25925192da08a7ea5d42ebe7e7af7 | Reset commit to not break backwards compatibility mode | aaronpowell/Umbraco-CMS,abryukhov/Umbraco-CMS,WebCentrum/Umbraco-CMS,NikRimington/Umbraco-CMS,leekelleher/Umbraco-CMS,hfloyd/Umbraco-CMS,tompipe/Umbraco-CMS,dawoe/Umbraco-CMS,aaronpowell/Umbraco-CMS,rasmuseeg/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,tcmorris/Umbraco-CMS,abryukhov/Umbraco-CMS... | src/Umbraco.Core/Models/TagCacheStorageType.cs | src/Umbraco.Core/Models/TagCacheStorageType.cs | namespace Umbraco.Core.Models
{
public enum TagCacheStorageType
{
Csv,
Json
}
} | namespace Umbraco.Core.Models
{
public enum TagCacheStorageType
{
Json,
Csv
}
}
| mit | C# |
d1fc6e405c3ce91a05ba0276646fd63748ce02f8 | fix test url | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Spa/NakedObjects.Spa.Selenium.Test/tests/TestConfig.cs | Spa/NakedObjects.Spa.Selenium.Test/tests/TestConfig.cs |
namespace NakedObjects.Selenium
{
public static class TestConfig
{
//public const string BaseUrl = "http://localhost:49998/";
public const string BaseUrl = "http://nakedobjectstest.azurewebsites.net/";
}
}
|
namespace NakedObjects.Selenium
{
public static class TestConfig
{
public const string BaseUrl = "http://localhost:49998/";
//public const string BaseUrl = "http://nakedobjectstest.azurewebsites.net/";
}
}
| apache-2.0 | C# |
ee0f3c5090f9b520f8601cea1133a9731b16905c | increment minor version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
0e7a1c8eec0bc0bb8d61fb247456754326e21051 | Remove unused using. | weltkante/roslyn,dotnet/roslyn,jamesqo/roslyn,kelltrick/roslyn,heejaechang/roslyn,MichalStrehovsky/roslyn,MichalStrehovsky/roslyn,mavasani/roslyn,diryboy/roslyn,jkotas/roslyn,sharwell/roslyn,AlekseyTs/roslyn,gafter/roslyn,tannergooding/roslyn,MattWindsor91/roslyn,bkoelman/roslyn,CaptainHayashi/roslyn,tmat/roslyn,mavasa... | src/Compilers/Core/Portable/AdditionalTextFile.cs | src/Compilers/Core/Portable/AdditionalTextFile.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespace Microsoft.CodeA... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespac... | mit | C# |
1ed06e4bb391b4c8d73cd15cc9af74c629e37bd5 | Add implementation details to MySQLSchemaAggregator | Ackara/Daterpillar | src/Daterpillar.NET/Data/MySQLSchemaAggregator.cs | src/Daterpillar.NET/Data/MySQLSchemaAggregator.cs | using System.Data;
namespace Gigobyte.Daterpillar.Data
{
public class MySQLSchemaAggregator : SchemaAggregatorBase
{
public MySQLSchemaAggregator(IDbConnection connection) : base(connection)
{
}
protected override string GetColumnInfoQuery(string tableName)
{
... | using System;
using System.Data;
namespace Gigobyte.Daterpillar.Data
{
public class MySQLSchemaAggregator : SchemaAggregatorBase
{
public MySQLSchemaAggregator(IDbConnection connection) : base(connection)
{
}
protected override string GetColumnInfoQuery(string tableName)
... | mit | C# |
60e69f5b8dccb55eb1e34a778a99a042f0165c18 | Fix bug where quest NPC dialog caused a crash because the requested NPC was never set | ethanmoffat/EndlessClient | EOLib/Domain/Interact/MapNPCActions.cs | EOLib/Domain/Interact/MapNPCActions.cs | using AutomaticTypeMapper;
using EOLib.Domain.Interact.Quest;
using EOLib.Domain.NPC;
using EOLib.IO.Repositories;
using EOLib.Net;
using EOLib.Net.Communication;
namespace EOLib.Domain.Interact
{
[AutoMappedType]
public class MapNPCActions : IMapNPCActions
{
private readonly IPacketSendService _p... | using AutomaticTypeMapper;
using EOLib.Domain.NPC;
using EOLib.IO.Repositories;
using EOLib.Net;
using EOLib.Net.Communication;
namespace EOLib.Domain.Interact
{
[AutoMappedType]
public class MapNPCActions : IMapNPCActions
{
private readonly IPacketSendService _packetSendService;
private r... | mit | C# |
f9ca48054b89faa433f0577820964be2b45d4242 | Switch the load order so that metadata comes first in the dom | paynecrl97/Glimpse,sorenhl/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,SusanaL/Glimpse,flcdrg/Glimpse,codevlabs/Glimpse,codevlabs/Glimpse,rho24/Glimpse,rho24/Glimpse,paynecrl97/Glimpse,elkingtonmcb/Glimpse,codevlabs/Glimpse,SusanaL/Glimpse,Glimpse/Glimpse,Glimpse/Glimpse,paynecrl97/Glimpse,SusanaL/Glimpse,flcdrg/Glimpse,pay... | source/Glimpse.Core2/Extensibility/ScriptOrder.cs | source/Glimpse.Core2/Extensibility/ScriptOrder.cs | namespace Glimpse.Core2.Extensibility
{
public enum ScriptOrder
{
IncludeBeforeClientInterfaceScript,
ClientInterfaceScript,
IncludeAfterClientInterfaceScript,
IncludeBeforeRequestDataScript,
RequestMetadataScript,
RequestDataScript,
IncludeAfterRequestD... | namespace Glimpse.Core2.Extensibility
{
public enum ScriptOrder
{
IncludeBeforeClientInterfaceScript,
ClientInterfaceScript,
IncludeAfterClientInterfaceScript,
IncludeBeforeRequestDataScript,
RequestDataScript,
RequestMetadataScript,
IncludeAfterRequestD... | apache-2.0 | C# |
20c83223770615646981a3049c91c8dab69e2e99 | Clean file | appharbor/ConsolR,appharbor/ConsolR | Hosting/BootStrapper.cs | Hosting/BootStrapper.cs | using System.Web.Routing;
using SignalR;
[assembly: WebActivator.PostApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapper), "PreApplicationStart")]
namespace ConsolR.Hosting
{
public static class Bootstrapper
{
public static void PreApplicationStart()
{
var routes = RouteTable.Routes;
routes.MapHt... | using System.Web.Routing;
using ConsolR.Hosting;
using SignalR;
[assembly: WebActivator.PostApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapper), "PreApplicationStart")]
namespace ConsolR.Hosting
{
public static class Bootstrapper
{
public static void PreApplicationStart()
{
var routes = RouteTable.R... | mit | C# |
afa11beacb0c2d74067295003d42a2cba0492f1a | work on vessel warp | KerbaeAdAstra/KerbalFuture | KerbalFuture/SpaceFolderFlightDrive.cs | KerbalFuture/SpaceFolderFlightDrive.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
using KerbalFuture;
namespace KerbalFuture
{
class FlightDrive : VesselModule
{
private static Vector3d vesPos;
private static double vesHeight;
private static CelestialBody vesBody;
pri... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
using KerbalFuture;
namespace KerbalFuture
{
class FlightDrive : VesselModule
{
private static Vector3d vesPos;
private static double vesHeight;
private static CelestialBody vesBody;
... | mit | C# |
1cd10fc1fd3108930c58afa9fbd3b770a5d1103a | Remove unused field. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Modules/Games/Services/GamesService.cs | src/MitternachtBot/Modules/Games/Services/GamesService.cs | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
using Mitternacht.Modules.Games.Common;
using Mitternacht.Services;
namespace Mitternacht.Modules.Games.Services {
public class GamesService : IMService {
private readonly IBotConfigProvider _bcp;
public readonly Concur... | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
using Mitternacht.Modules.Games.Common;
using Mitternacht.Services;
namespace Mitternacht.Modules.Games.Services {
public class GamesService : IMService {
private readonly IBotConfigProvider _bcp;
public readonly Concur... | mit | C# |
a6ccbc7d7ecc865c84d5386aeb3ff84ec1ff6d83 | Update PraramterHelper.cs | isdaniel/ElectronicInvoice_TW | src/ElectronicInvoice.Produce/Helper/PraramterHelper.cs | src/ElectronicInvoice.Produce/Helper/PraramterHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace ElectronicInvoice.Produce.Infrastructure.Helper
{
public class PraramterHelper
{
/// <summary>
/// 將字典轉成相對應參數字串
/// </summary>
/// <param name="dirc"></param>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace ElectronicInvoice.Produce.Infrastructure.Helper
{
public class PraramterHelper
{
/// <summary>
/// 將字典轉成相對應參數字串
/// </summary>
/// <param name="dirc"></param>
... | apache-2.0 | C# |
838cd975c6c31c55e303594139e32454eba6996d | Make the FNF exception light up more robust | AlekseyTs/roslyn,davkean/roslyn,jasonmalinowski/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,swaroop-sridhar/roslyn,dotnet/roslyn,panopticoncentral/roslyn,VSadov/roslyn,mavasani/roslyn,diryboy/roslyn,dotnet/roslyn,VSadov/roslyn,bartdesmet/roslyn,aelij/roslyn,DustinCampbell/roslyn,agocke/roslyn,mgoertz-msft/roslyn,Dustin... | src/Compilers/Shared/DesktopShim.cs | src/Compilers/Shared/DesktopShim.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Reflection;
namespace Roslyn.Utilities
{
/// <summary>
/// This is a bridge for APIs that are only available on Desktop
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Reflection;
namespace Roslyn.Utilities
{
/// <summary>
/// This is a bridge for APIs that are only available on Desktop
... | mit | C# |
c0bf26b2a1a889de988c1c1e375ac2947fdd4615 | Add new formats to ResponseFormat.cs | Ackara/Mockaroo.NET | src/Mockaroo.Core/ResponseFormat.cs | src/Mockaroo.Core/ResponseFormat.cs | namespace Gigobyte.Mockaroo
{
/// <summary>
/// The Mockaroo server HTTP response format.
/// </summary>
public enum ResponseFormat
{
/// <summary>
/// Comma separated values. The first row will contain the field names. Subsequent rows will
/// contain the generated data val... | namespace Gigobyte.Mockaroo
{
/// <summary>
/// The Mockaroo server HTTP response format.
/// </summary>
public enum ResponseFormat
{
/// <summary>
/// Comma separated values. The first row will contain the field names. Subsequent rows will
/// contain the generated data val... | mit | C# |
4ea7cefa59f423395bb74b58316e6fb00aa4a94d | increase version | MPZMail/MpzMail.Api,MahmutOhneC/MpzMail.Api | MpzMail.Api/Properties/AssemblyInfo.cs | MpzMail.Api/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("Mp... | 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("Mp... | apache-2.0 | C# |
8f4213994da35a84551f4aa546ed99cd63518ed0 | Fix bug: Clearing the cache says "All items have been cleared from the recent packages list." Work items: 986 | xoofx/NuGet,indsoft/NuGet2,dolkensp/node.net,mono/nuget,xero-github/Nuget,anurse/NuGet,antiufo/NuGet2,indsoft/NuGet2,themotleyfool/NuGet,jholovacs/NuGet,themotleyfool/NuGet,alluran/node.net,RichiCoder1/nuget-chocolatey,kumavis/NuGet,zskullz/nuget,mrward/nuget,jholovacs/NuGet,jmezach/NuGet2,GearedToWar/NuGet2,ctaggart/n... | src/Options/GeneralOptionControl.cs | src/Options/GeneralOptionControl.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using NuGet.VisualStudio;
namespace NuGet.Options {
public partial class GeneralOptionControl : UserControl {
private IRecentPackageRepository _recentPackageRepository;
private IProductUpdateSettings _p... | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using NuGet.VisualStudio;
namespace NuGet.Options {
public partial class GeneralOptionControl : UserControl {
private IRecentPackageRepository _recentPackageRepository;
private IProductUpdateSettings _p... | apache-2.0 | C# |
f0e56a1455be4ede45bc9a4683227f6b84cf0fa0 | Change a-Z to a-zA-Z as reccomended | r2i-sitecore/dotless,rytmis/dotless,dotless/dotless,dotless/dotless,modulexcite/dotless,rytmis/dotless,modulexcite/dotless,rytmis/dotless,modulexcite/dotless,r2i-sitecore/dotless,rytmis/dotless,rytmis/dotless,r2i-sitecore/dotless,modulexcite/dotless,rytmis/dotless,r2i-sitecore/dotless,modulexcite/dotless,r2i-sitecore/d... | src/dotless.Core/Parser/Tree/Url.cs | src/dotless.Core/Parser/Tree/Url.cs | namespace dotless.Core.Parser.Tree
{
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Infrastructure;
using Infrastructure.Nodes;
using Utils;
using Exceptions;
public class Url : Node
{
public Node Value { get; set; }
... | namespace dotless.Core.Parser.Tree
{
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Infrastructure;
using Infrastructure.Nodes;
using Utils;
using Exceptions;
public class Url : Node
{
public Node Value { get; set; }
... | apache-2.0 | C# |
c5471cc62ebe67750c990c40fbe9bf0e40537259 | Comment out the environment message for the time being | Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glim... | src/Glimpse.Agent.AspNet/Internal/Inspectors/AspNet/EnvironmentInspector.cs | src/Glimpse.Agent.AspNet/Internal/Inspectors/AspNet/EnvironmentInspector.cs | using System;
using Glimpse.Agent.AspNet.Messages;
using Glimpse.Agent.Inspectors;
using Microsoft.AspNet.Http;
namespace Glimpse.Agent.AspNet.Internal.Inspectors.AspNet
{
public class EnvironmentInspector : Inspector
{
private readonly IAgentBroker _broker;
private EnvironmentMessage _message... | using System;
using Glimpse.Agent.AspNet.Messages;
using Glimpse.Agent.Inspectors;
using Microsoft.AspNet.Http;
namespace Glimpse.Agent.AspNet.Internal.Inspectors.AspNet
{
public class EnvironmentInspector : Inspector
{
private readonly IAgentBroker _broker;
private EnvironmentMessage _message... | mit | C# |
945b4161685d5c5ddfd4e9cad0aff77106a6fdd7 | Fix - Settaggio dello stato di "In Sede" quando prenoto un mezzo | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/GestioneMezzi/SetMezzoPrenotato.cs | src/backend/SO115App.Persistence.MongoDB/GestioneMezzi/SetMezzoPrenotato.cs | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Servizi.CQRS.Commands.GestioneSoccorso.GestionePartenza.SetMezzoPrenotato;
using SO115App.Models.Servizi.Infrastruttura.Composizione;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Gac;
using Sys... | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Servizi.CQRS.Commands.GestioneSoccorso.GestionePartenza.SetMezzoPrenotato;
using SO115App.Models.Servizi.Infrastruttura.Composizione;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Gac;
using Sys... | agpl-3.0 | C# |
1a69a43b3546ec07fbae1fa05aabe282e759da7d | adjust polar polygons to use the polar vector class change type of polar vector values to double | opcon/Substructio,opcon/Substructio | Core/Math/PolarVector.cs | Core/Math/PolarVector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK;
namespace Substructio.Core.Math
{
public class PolarVector
{
public double Radius { get; set; }
public double Azimuth { get; set; }
public PolarVector(doub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK;
namespace Substructio.Core.Math
{
class PolarVector
{
public float Radius { get; set; }
public float Azimuth { get; set; }
public PolarVector(float azimuth... | mit | C# |
2e4ddad18dc9797e3c79625396948de7778fcfd0 | Add setter | bartlomiejwolk/AnimationPathAnimator | PathEvents/NodeEvent.cs | PathEvents/NodeEvent.cs | using UnityEngine;
namespace ATP.SimplePathAnimator.Events {
[System.Serializable]
public class NodeEvent {
[SerializeField]
private string methodName;
[SerializeField]
private string methodArg;
public string MethodName {
get { return methodName; }
... | using UnityEngine;
namespace ATP.SimplePathAnimator.Events {
[System.Serializable]
public class NodeEvent {
[SerializeField]
private string methodName;
[SerializeField]
private string methodArg;
public string MethodName {
get { return methodName; }
... | mit | C# |
45da0497c54668b5c57f77e6a9ad2c830cc68ff5 | Make Platform.Linux.Native.dlopen() private. | ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,peppy/osu-framework,Tom94/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework... | osu.Framework/Platform/Linux/Native/Library.cs | osu.Framework/Platform/Linux/Native/Library.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
[DllImport("l... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
[DllImport("l... | mit | C# |
b4f8aba0fbc410b9251c6c67a9402c28f43924f1 | Fix comments | DaveSenn/Extend | .Src/Extend/System.Type/Type.IsMicrosoftType.cs | .Src/Extend/System.Type/Type.IsMicrosoftType.cs | #region Usings
using System;
using System.Linq;
using System.Reflection;
#endregion
namespace Extend
{
/// <summary>
/// Class containing some extension methods for <see cref="Type" />.
/// </summary>
public static partial class TypeEx
{
/// <summary>
/// Checks if th giv... | #region Usings
using System;
using System.Linq;
using System.Reflection;
#endregion
namespace Extend
{
/// <summary>
/// Class containing some extension methods for <see cref="Type" />.
/// </summary>
public static partial class TypeEx
{
/// <summary>
/// Checks if th egi... | mit | C# |
08ad6c9280beca5df1c562cedb4111457946c2ec | Change greetings | mormond/WhoWasIn,mormond/WhoWasIn | Dialogs/RootDialog.cs | Dialogs/RootDialog.cs | namespace whoWasIn.Dialogs
{
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using whoWasIn.Services.LUISService;
[Serializable]
public class RootDialog : IDialog<object>
{
... | namespace whoWasIn.Dialogs
{
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using System;
using System.Net.Http;
using System.Threading.Tasks;
using whoWasIn.Services.LUISService;
[Serializable]
public class RootDialog : IDialog<object>
{
... | mit | C# |
fd6ff72ca9a3b2011d5c1fceb9ffa9f8e2324196 | Add xaml attributes | l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1 | Source/Eto.Serialization.Xaml/Properties/AssemblyInfo.cs | Source/Eto.Serialization.Xaml/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Windows.Markup;
[assembly: AssemblyTitle("Eto.Forms Xaml serializer")]
[assembly: AssemblyDescription("Eto.Forms Xaml serializer")]
[assembly: XmlnsDefinition(Eto.Serialization.Xaml.EtoXamlSchemaContext.EtoFormsNamespace, "Eto.Forms", AssemblyName="Eto")]
[assembly: XmlnsDefinit... | using System.Reflection;
[assembly: AssemblyTitle("Eto.Forms Xaml serializer")]
[assembly: AssemblyDescription("Eto.Forms Xaml serializer")]
| bsd-3-clause | C# |
33af9b5ef6a556349cbee000d1898351445460c6 | Fix TeamCity integration build | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/test/src/Cg/ProjectModel/CgProjectFileTypeTests.cs | resharper/resharper-unity/test/src/Cg/ProjectModel/CgProjectFileTypeTests.cs | using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.Cg.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.Resources.Shell;
using NUnit.Framework;
namespace JetBrains.ReSharper.Plugins.Unity.Tests.Cg.ProjectModel
{
[TestFixture]
public class CgProjec... | using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.Cg.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.Resources.Shell;
using NUnit.Framework;
namespace JetBrains.ReSharper.Plugins.Unity.Tests.Cg.ProjectModel
{
[TestFixture]
public class CgProjec... | apache-2.0 | C# |
09bd0b8ede3891bd75bf44d918b2d4aeb8014974 | Make amplitude processor public again | ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Audio/BassAmplitudeProcessor.cs | osu.Framework/Audio/BassAmplitudeProcessor.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using ManagedBass;
using osu.Framework.Audio.Mixing.Bass;
using osu.Framework.Audio.Track;
namespace osu.Framework.Audio
{
/// <summary>
/// Co... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using ManagedBass;
using osu.Framework.Audio.Mixing.Bass;
using osu.Framework.Audio.Track;
namespace osu.Framework.Audio
{
/// <summary>
/// Co... | mit | C# |
ba4a8474b75a0cf155bf695ad10c4e3e235d57c3 | Remove excess licence header | smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Graphics/UserInterface/Caret.cs | osu.Framework/Graphics/UserInterface/Caret.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Containers;
using osuTK;
namespace osu.Framework.Graphics.UserInterface
{
/// <summary>
/// A UI component generally used to show th... | // 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.
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.... | mit | C# |
cf192c84a8d528f23c949aa70210e1c300fa53e2 | make catcher field readonly | smoogipooo/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,EVAST9919/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu | osu.Game.Rulesets.Catch/Mods/CatchModRelax.cs | osu.Game.Rulesets.Catch/Mods/CatchModRelax.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
u... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
u... | mit | C# |
a1798fd38d29e8cc25a0919025b78bd4e1f24e39 | Fix bad ctor implementation | ppy/osu,NeoAdonis/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,ppy/osu,peppy/osu,smoogipooo/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu | osu.Game/Rulesets/Objects/PathControlPoint.cs | osu.Game/Rulesets/Objects/PathControlPoint.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.Rulesets.Objects.Types;
using osuTK;
namespace osu.Game.Rulesets.Objects
{
public class PathControlPoint ... | // 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.Rulesets.Objects.Types;
using osuTK;
namespace osu.Game.Rulesets.Objects
{
public class PathControlPoint ... | mit | C# |
482f04940c1325bb9bb6815c3433be6e0ed25f70 | optimize HasComponent function | pokettomonstaa/NewBark,pokettomonstaa/NewBark | Assets/Scripts/Extensions/GameObjectExtension.cs | Assets/Scripts/Extensions/GameObjectExtension.cs | using UnityEngine;
public static class GameObjectExtension
{
public static bool HasComponent<T>(this GameObject obj) where T : Component
{
return obj.TryGetComponent(typeof(T), out _);
}
}
| using UnityEngine;
public static class GameObjectExtension
{
public static bool HasComponent<T>(this GameObject obj) where T : Component
{
return obj.GetComponent<T>() != null;
}
}
| mit | C# |
146ea97487f1cb0b81f7cad65fe9c9caffcfc716 | fix input text sort | n0nick/pewpew | PewPew/Game/Target.cs | PewPew/Game/Target.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PewPew.Game
{
public class TargetType
{
public string inputText;
public System.Windows.Media.SolidColorBrush color;
public string fileName;
}
class Tar... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PewPew.Game
{
public class TargetType
{
public string inputText;
public System.Windows.Media.SolidColorBrush color;
public string fileName;
}
class Tar... | mit | C# |
c19035fccc746e50cbcfc36fbb7d88ed799a9975 | Use TimeSpan instead of an int for the countdown time | space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.Server/GameObjects/EntitySystems/RoundEndSystem.cs | Content.Server/GameObjects/EntitySystems/RoundEndSystem.cs | using System;
using System.Threading;
using Content.Server.Interfaces.GameTicking;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.Timing;
using Robust.Shared.IoC;
using Timer = Robust.Shared.Timers.Timer;
namespace Content.Server.GameObjects.EntitySystems
{
public class RoundEndSystem : En... | using System;
using System.Threading;
using Content.Server.Interfaces.GameTicking;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.Timing;
using Robust.Shared.IoC;
using Timer = Robust.Shared.Timers.Timer;
namespace Content.Server.GameObjects.EntitySystems
{
public class RoundEndSystem : En... | mit | C# |
23730ebaa1c43fa8fa0cfbbffaf28da24c809e57 | Revert scratch | cyotek/Cyotek.Windows.Forms.ColorPicker | Cyotek.Windows.Forms.ColorPicker.Demo/Program.cs | Cyotek.Windows.Forms.ColorPicker.Demo/Program.cs | using System;
using System.Windows.Forms;
namespace Cyotek.Windows.Forms.ColorPicker.Demo
{
// Cyotek Color Picker controls library
// Copyright © 2013-2015 Cyotek Ltd.
// http://cyotek.com/blog/tag/colorpicker
// Licensed under the MIT License. See license.txt for the full text.
// If you use this code i... | using System;
using System.Windows.Forms;
namespace Cyotek.Windows.Forms.ColorPicker.Demo
{
// Cyotek Color Picker controls library
// Copyright © 2013-2015 Cyotek Ltd.
// http://cyotek.com/blog/tag/colorpicker
// Licensed under the MIT License. See license.txt for the full text.
// If you use this code i... | mit | C# |
d82cd631010a97dd32628f4093154f3ed62110c4 | remove dead code | woopsa-protocol/Woopsa,woopsa-protocol/Woopsa,woopsa-protocol/Woopsa,fabien-chevalley/Woopsa,fabien-chevalley/Woopsa,fabien-chevalley/Woopsa,woopsa-protocol/Woopsa,woopsa-protocol/Woopsa,fabien-chevalley/Woopsa,woopsa-protocol/Woopsa,fabien-chevalley/Woopsa,fabien-chevalley/Woopsa | Sources/DotNet/Woopsa/Utils/JsonSerializer.cs | Sources/DotNet/Woopsa/Utils/JsonSerializer.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Runtime.Serialization.Json;
namespace Woopsa
{
public static class JsonSerializer
{
public static string Serialize(object obj)
{
retur... | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Runtime.Serialization.Json;
namespace Woopsa
{
public static class JsonSerializer
{
public static string Serialize(object obj)
{
retur... | mit | C# |
1ff4fbed696075435582a51264762dfe1466a944 | Update Demo | sunkaixuan/SqlSugar | Src/Asp.Net/SqlServerTest/Demo/Demo6_Queue.cs | Src/Asp.Net/SqlServerTest/Demo/Demo6_Queue.cs | using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class Demo6_Queue
{
public static void Init()
{
Console.WriteLine("");
Console.WriteLine("#### Queue Start ####... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class Demo6_Queue
{
public static void Init()
{
}
}
}
| apache-2.0 | C# |
37044fa8f62d80c60c586ac568acc455929f492c | Update SiteVar.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/Landscapes/SiteVar.cs | src/Landscapes/SiteVar.cs | // Copyright 2004-2006 University of Wisconsin
// All rights reserved.
//
// Contributors:
// James Domingo, UW-Madison, Forest Landscape Ecology Lab
using Landis.SpatialModeling;
using System.Diagnostics;
namespace Landis.Landscapes
{
public abstract class SiteVar<T>
{
private ILandsc... | // Copyright 2004-2006 University of Wisconsin
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.... | apache-2.0 | C# |
63e00b40f27e044126eb5acc53e887b25dd633d8 | Make LogEventFormatter public | vostok/core | Vostok.Core/Logging/Logs/LogEventFormatter.cs | Vostok.Core/Logging/Logs/LogEventFormatter.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
namespace Vostok.Logging.Logs
{
public static class LogEventFormatter
{
private static readonly Regex Pattern = new Regex(@"(?<!{){@?(?<arg>[^ :{}]+)(?<format>:[^}]+)?}"... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
namespace Vostok.Logging.Logs
{
internal static class LogEventFormatter
{
private static readonly Regex Pattern = new Regex(@"(?<!{){@?(?<arg>[^ :{}]+)(?<format>:[^}]+)?... | mit | C# |
8794c473a6527f0eafa789a6c922c5325f02b2fc | Update InventoryComponent.cs | williambl/Haunt | Haunt/Assets/Scripts/Items/InventoryComponent.cs | Haunt/Assets/Scripts/Items/InventoryComponent.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InventoryComponent : MonoBehaviour {
[Header("Properties"]
public Item holdingitem;
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InventoryComponent : MonoBehaviour {
[Header("Properties:"]
public Item holdingitem;
}
| mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.