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 |
|---|---|---|---|---|---|---|---|---|
0f4c90fb0c727e5059d610a3fd78d6306063f97f | add version information to home page (see #2822) | IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4 | host/Views/Home/Index.cshtml | host/Views/Home/Index.cshtml | @{
var version = typeof(HomeController).Assembly.GetName().Version.ToString();
}
<div class="welcome-page">
<div class="row page-header">
<div class="col-sm-10">
<h1>
<img class="icon" src="~/icon.jpg">
Welcome to IdentityServer4
<small>(build... | <div class="welcome-page">
<div class="row page-header">
<div class="col-sm-10">
<h1>
<img class="icon" src="~/icon.jpg">
Welcome to IdentityServer4
@*<small>(build {version})</small>*@
</h1>
</div>
</div>
<div class="r... | apache-2.0 | C# |
e84863aa6e4e6cf892314dc22e313699896d4603 | fix Buffer segmentation | acple/ParsecSharp | ParsecSharp/Data/Internal/Buffer.cs | ParsecSharp/Data/Internal/Buffer.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ParsecSharp.Internal
{
public sealed class Buffer<TToken> : IReadOnlyList<TToken>
{
private readonly TToken[] _buffer;
private readonly int _index;
private readonly Lazy<Buffer<TToke... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ParsecSharp.Internal
{
public sealed class Buffer<TToken> : IReadOnlyList<TToken>
{
private readonly TToken[] _buffer;
private readonly Lazy<Buffer<TToken>> _next;
public TToken this... | mit | C# |
7792acba260d01a004a660f0039cb0eb5006d295 | Update AssemblyInfo app version | CalebChalmers/KAGTools | KAGTools/Properties/AssemblyInfo.cs | KAGTools/Properties/AssemblyInfo.cs | using System.Reflection;
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 with an assembly.
[assembly: AssemblyTitle("KAG Tools")]
[assem... | using System.Reflection;
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 with an assembly.
[assembly: AssemblyTitle("KAG Tools")]
[assem... | mit | C# |
1f5b1e0811f281c38b1d3e413fc772aa23736327 | Remove unnecessary usings in TcpKeepAliveSettings | Azure/amqpnetlite,ChugR/amqpnetlite | src/Net/TcpKeepAliveSettings.cs | src/Net/TcpKeepAliveSettings.cs | namespace Amqp
{
public class TcpKeepAliveSettings
{
public ulong KeepAliveTime
{
get;
set;
}
public ulong KeepAliveInterval
{
get;
set;
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Amqp
{
public class TcpKeepAliveSettings
{
public ulong KeepAliveTime
{
get;
set;
}
public ulong KeepAliveInterval
{
... | apache-2.0 | C# |
2b92a61f591ad8afe38e275cc3f63457027d50cf | update to layer 72 | OpenTl/OpenTl.Schema | src/OpenTl.Schema/SchemaInfo.cs | src/OpenTl.Schema/SchemaInfo.cs | namespace OpenTl.Schema
{
public static class SchemaInfo
{
public static int SchemaVersion { get; } = 72;
}
} | namespace OpenTl.Schema
{
public static class SchemaInfo
{
public static int SchemaVersion { get; } = 70;
}
} | mit | C# |
c1045b0b315498897dea80c12ddda90d34436252 | remove unused code | IUMDPI/IUMediaHelperApps | Packager/Utilities/Hashing/Hasher.cs | Packager/Utilities/Hashing/Hasher.cs | using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using Packager.Models.FileModels;
using Packager.Models.SettingsModels;
namespace Packager.Utilities.Hashing
{
public class Hasher : IHasher
{
public Hasher(IProgramSettings pro... | using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using Packager.Models.FileModels;
using Packager.Models.SettingsModels;
namespace Packager.Utilities.Hashing
{
public class Hasher : IHasher
{
public Hasher(IProgramSettings pro... | apache-2.0 | C# |
13cd75a778d590f65edd45190a6e91f953731684 | Bump version to 0.34.1-beta | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)]
[assembly: AssemblyFileVersion(Sys... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)]
[assembly: AssemblyFileVersion(Sys... | mit | C# |
1ec2bccf2839020730a5ec609465e6bf138f2132 | Bump version to 0.30.10 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
63ea463f5d40a6bd244bb5b47cf2328a8f53e0d7 | Make this internal. It's not supposed to be part of the API | mono/Mono.Nat | Mono.Nat/SemaphoreSlimExtensions.cs | Mono.Nat/SemaphoreSlimExtensions.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Mono.Nat
{
static class SemaphoreSlimExtensions
{
class SemaphoreSlimDisposable : IDisposable
{
SemaphoreSlim Semaphore;
public SemaphoreSlimDisposable (SemaphoreSlim semaphore)
{
Semaphore = semaphore;
}
public v... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Mono.Nat
{
public static class SemaphoreSlimExtensions
{
class SemaphoreSlimDisposable : IDisposable
{
SemaphoreSlim Semaphore;
public SemaphoreSlimDisposable (SemaphoreSlim semaphore)
{
Semaphore = semaphore;
}
p... | mit | C# |
54699edefbf79b2e7e1311debddc8d41beeb53b1 | fix startup #2928 | Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,qianlifeng/Wox | Wox.Infrastructure/Constant.cs | Wox.Infrastructure/Constant.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
namespace Wox.Infrastructure
{
public static class Constant
{
public const string Wox = "Wox";
public static readonly string WoxExecutable = $"{Wox}.exe";
public const string P... | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
namespace Wox.Infrastructure
{
public static class Constant
{
public const string Wox = "Wox";
public const string Plugins = "Plugins";
private static Assembly Assembly = Asse... | mit | C# |
50ae9d782204f3c9a7eee93785203d96308e16c4 | Add supression for generated xaml class | oliver-feng/nuget,rikoe/nuget,rikoe/nuget,mono/nuget,jholovacs/NuGet,dolkensp/node.net,mrward/NuGet.V2,mrward/NuGet.V2,themotleyfool/NuGet,mrward/NuGet.V2,anurse/NuGet,indsoft/NuGet2,chester89/nugetApi,GearedToWar/NuGet2,oliver-feng/nuget,jholovacs/NuGet,pratikkagda/nuget,zskullz/nuget,atheken/nuget,jholovacs/NuGet,cho... | NuPack.Dialog/GlobalSuppressions.cs | NuPack.Dialog/GlobalSuppressions.cs | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project. Project-level
// suppressions either have no target or are given a specific target
// and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in t... | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project. Project-level
// suppressions either have no target or are given a specific target
// and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in t... | apache-2.0 | C# |
ca86524c922012b32e7a1420c54b49d96a6df3d6 | Add locking on join/leave operations | peppy/osu-new,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu | osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs | osu.Game/Online/RealtimeMultiplayer/MultiplayerRoom.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
namespace osu.Game.Online.RealtimeMultiplayer
{
[Serializable]
public class MultiplayerRoom
{
private... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
namespace osu.Game.Online.RealtimeMultiplayer
{
[Serializable]
public class MultiplayerRoom
{
private... | mit | C# |
1b33c637951db005cb35b653ebf5422820cbdc8f | Add testing support | Miruken-DotNet/Miruken | Source/Miruken/Callback/Resolving.cs | Source/Miruken/Callback/Resolving.cs | namespace Miruken.Callback
{
using System;
using System.Linq;
using Policy;
public class Resolving : Inquiry, IResolveCallback
{
private readonly object _callback;
private bool _handled;
public Resolving(object key, object callback)
: base(key, true)
{
... | namespace Miruken.Callback
{
using System;
using System.Linq;
using Policy;
public class Resolving : Inquiry, IResolveCallback
{
private readonly object _callback;
private bool _handled;
public Resolving(object key, object callback)
: base(key, true)
{
... | mit | C# |
221a99d886cfe9aaacf6515dcd65c0c0673b90e1 | fix StatusPill not setting text when initially set with NONE | johnneijzen/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,DrabWeb/osu,peppy/osu,EVAST9919/osu,naoey/osu,EVAST9919/osu,ZLima12/osu,naoey/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,smoogipooo/osu,UselessToucan/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,Dra... | osu.Game/Beatmaps/Drawables/BeatmapSetOnlineStatusPill.cs | osu.Game/Beatmaps/Drawables/BeatmapSetOnlineStatusPill.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics.Sprites;
using OpenTK.... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics.Sprites;
using OpenTK.... | mit | C# |
812181190e36ef71da107d299c99e111f18cb909 | Update SelectionLayer.cs | johnneijzen/osu,peppy/osu,2yangk23/osu,naoey/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,Frontear/osuKyzer,ppy/osu,ppy/osu,Nabile-Rahmani/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,DrabWeb/osu,NeoAdonis/osu,peppy/osu,naoey/osu,peppy/osu-new,2yangk23/osu,ppy/osu,smoogipooo/os... | osu.Game/Rulesets/Edit/Layers/Selection/SelectionLayer.cs | osu.Game/Rulesets/Edit/Layers/Selection/SelectionLayer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Game.Rulesets.UI;
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using ... | mit | C# |
dc8f796edbff4f36a691edb2d1600dbafc950fe8 | Remove useless App startup. | CaptainHayashi/ironfrost | ironfrost/App.xaml.cs | ironfrost/App.xaml.cs | using System;
using System.Threading.Tasks;
using System.Windows;
namespace ironfrost
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
| using System;
using System.Threading.Tasks;
using System.Windows;
namespace ironfrost
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
... | mit | C# |
a67ced29a346e9fd200cfdf17b0da71ef322d889 | Remove sensitive information | qianlifeng/Wox,Wox-launcher/Wox,lances101/Wox,lances101/Wox,Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox | Wox.Core/Properties/AssemblyInfo.cs | Wox.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("Wo... | 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("Wo... | mit | C# |
2fb524e35cbc1e79f360aac998f5271f0bff456e | Delete unnecessary nullable int. | ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton | src/CK.Glouton.Web/Controllers/StatisticsController.cs | src/CK.Glouton.Web/Controllers/StatisticsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CK.Glouton.Lucene;
using CK.Glouton.Model.Lucene;
using Microsoft.AspNetCore.Mvc;
namespace CK.Glouton.Web.Controllers
{
[Route("api/stats")]
public class StatisticsController : Controller
{
priv... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CK.Glouton.Lucene;
using CK.Glouton.Model.Lucene;
using Microsoft.AspNetCore.Mvc;
namespace CK.Glouton.Web.Controllers
{
[Route("api/stats")]
public class StatisticsController : Controller
{
priv... | mit | C# |
783b302743fbf3a9922a880eda258a09c49aca44 | Correct exception message. | honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette,honestegg/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette | src/Cassette.Web/PlaceholderReplacingResponseFilter.cs | src/Cassette.Web/PlaceholderReplacingResponseFilter.cs | using System;
using System.IO;
using System.Text;
using System.Web;
namespace Cassette.Web
{
class PlaceholderReplacingResponseFilter : MemoryStream
{
public PlaceholderReplacingResponseFilter(HttpResponseBase response, IPlaceholderTracker placeholderTracker)
{
this.resp... | using System;
using System.IO;
using System.Text;
using System.Web;
namespace Cassette.Web
{
class PlaceholderReplacingResponseFilter : MemoryStream
{
public PlaceholderReplacingResponseFilter(HttpResponseBase response, IPlaceholderTracker placeholderTracker)
{
this.resp... | mit | C# |
2758078fe1d8113b6a3c74de0090c0a2f3f36df3 | Bump version to 0.30.11 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
845cf33e4b1791a638594a4ef542090b19af9ce8 | Use Shouldy | ermshiperete/GitVersion,alexhardwicke/GitVersion,RaphHaddad/GitVersion,DanielRose/GitVersion,ermshiperete/GitVersion,alexhardwicke/GitVersion,TomGillen/GitVersion,pascalberger/GitVersion,dpurge/GitVersion,distantcam/GitVersion,Philo/GitVersion,dazinator/GitVersion,MarkZuber/GitVersion,ParticularLabs/GitVersion,ermshipe... | src/GitVersionCore.Tests/BuildServers/VsoAgentTests.cs | src/GitVersionCore.Tests/BuildServers/VsoAgentTests.cs | using GitVersion;
using NUnit.Framework;
using Shouldly;
[TestFixture]
public class VsoAgentTests
{
[Test]
public void Develop_branch()
{
var versionBuilder = new VsoAgent();
var vsVersion = versionBuilder.GenerateSetVersionMessage("0.0.0-Unstable4");
// Assert.AreEqual("##vso[tas... | using GitVersion;
using NUnit.Framework;
[TestFixture]
public class VsoAgentTests
{
[Test]
public void Develop_branch()
{
var versionBuilder = new VsoAgent();
var vsVersion = versionBuilder.GenerateSetVersionMessage("0.0.0-Unstable4");
// Assert.AreEqual("##vso[task.setvariable va... | mit | C# |
06c20b7cc2e219cd7e279d9171e0b7465c03ed83 | Update src/FluentNHibernate/MappingModel/EqualityExtensions.cs | hzhgis/ss,lingxyd/fluent-nhibernate,narnau/fluent-nhibernate,hzhgis/ss,lingxyd/fluent-nhibernate,HermanSchoenfeld/fluent-nhibernate,owerkop/fluent-nhibernate,HermanSchoenfeld/fluent-nhibernate,chester89/fluent-nhibernate,oceanho/fluent-nhibernate,owerkop/fluent-nhibernate,bogdan7/nhibernate,narnau/fluent-nhibernate,che... | src/FluentNHibernate/MappingModel/EqualityExtensions.cs | src/FluentNHibernate/MappingModel/EqualityExtensions.cs | using System.Collections.Generic;
using System.Linq;
namespace FluentNHibernate.MappingModel
{
public static class EqualityExtensions
{
public static bool ContentEquals<TKey, TValue>(this IDictionary<TKey, TValue> left, IDictionary<TKey, TValue> right)
{
if (left.Count != r... | using System.Collections.Generic;
using System.Linq;
namespace FluentNHibernate.MappingModel
{
public static class EqualityExtensions
{
public static bool ContentEquals<TKey, TValue>(this IDictionary<TKey, TValue> left, IDictionary<TKey, TValue> right)
{
if (left.Count() !=... | bsd-3-clause | C# |
469ac7f48d4b432b83136887cc322e63252ed600 | Print information about the exception when the bot fails to log in to the forum. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Modules/Forum/Services/ForumService.cs | src/MitternachtBot/Modules/Forum/Services/ForumService.cs | using System;
using System.Threading.Tasks;
using Mitternacht.Services;
using NLog;
namespace Mitternacht.Modules.Forum.Services {
public class ForumService : IMService {
private readonly IBotCredentials _creds;
private readonly Logger _log;
public GommeHDnetForumAPI.Forum Forum { get; private set; }
public... | using System;
using System.Threading.Tasks;
using Mitternacht.Services;
using NLog;
namespace Mitternacht.Modules.Forum.Services {
public class ForumService : IMService {
private readonly IBotCredentials _creds;
private readonly Logger _log;
public GommeHDnetForumAPI.Forum Forum { get; private set; }
public... | mit | C# |
03b5d4bde86a2b53943b6a270b053e53015e6b9d | improve GetAsync extension method | geeklearningio/gl-dotnet-storage | src/GeekLearning.Storage/IStoreExtensions.cs | src/GeekLearning.Storage/IStoreExtensions.cs | namespace GeekLearning.Storage
{
using GeekLearning.Storage;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
public static class IStoreExtensions
{
public static Task<IFileReference[]> ListAsync(this IStore stor... | namespace GeekLearning.Storage
{
using GeekLearning.Storage;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
public static class IStoreExtensions
{
public static Task<IFileReference[]> ListAsync(this IStore stor... | mit | C# |
04cc8f883a26b35a4d26ee90994dd5d73096cf5c | Add error handling for the client | 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);
// ideally you should check for errors ... | 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 = ... | mit | C# |
8f4ec6f1463ea04942a9afd8510bece33f96c1d5 | Update token (#946) | nkdAgility/vsts-sync-migration | src/MigrationTools/Tests/TestingConstants.cs | src/MigrationTools/Tests/TestingConstants.cs | namespace MigrationTools.Tests
{
public static class TestingConstants
{
public static string AccessToken { get { return AccessTokenRaw.Replace(@"fake", ""); } }
public static readonly string AccessTokenRaw = "4u7zrnz4fsdhiro7x4iefakeomevirytzb3tlzva6nnmvbiv3wyh34dq";
}
} | namespace MigrationTools.Tests
{
public static class TestingConstants
{
public static string AccessToken { get { return AccessTokenRaw.Replace(@"fake", ""); } }
public static readonly string AccessTokenRaw = "ilgcnn2fkz455l5vciz3x34fqyfake3o5hq4myjta3zoas4bfvyaljba";
}
} | mit | C# |
205e67868f662d2b22511323ff18c1c72b9763d0 | Fix flaky test | Abc-Arbitrage/ZeroLog | src/ZeroLog.Tests/Appenders/AppenderTests.cs | src/ZeroLog.Tests/Appenders/AppenderTests.cs | using System;
using System.Threading.Tasks;
using NUnit.Framework;
using ZeroLog.Appenders;
using ZeroLog.Configuration;
using ZeroLog.Formatting;
using ZeroLog.Tests.Support;
namespace ZeroLog.Tests.Appenders;
[TestFixture]
public class AppenderTests
{
private FailingAppender _appender;
private FormattedLog... | using System;
using System.Threading.Tasks;
using NUnit.Framework;
using ZeroLog.Appenders;
using ZeroLog.Configuration;
using ZeroLog.Formatting;
using ZeroLog.Tests.Support;
namespace ZeroLog.Tests.Appenders;
[TestFixture]
public class AppenderTests
{
private FailingAppender _appender;
private FormattedLog... | mit | C# |
802ba10995d6a44d8ae58b16d212ee7b5e0ce976 | Update version to 1.0.0.85 | Ridermansb/wox.skype | Wox.Skype/Properties/AssemblyInfo.cs | Wox.Skype/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("Wo... | 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("Wo... | mit | C# |
9e1578624d13a59b0e4ffb780ba9c856021ec68b | Correct copy on the home page | Kentico/cloud-boilerplate-net,Kentico/cloud-boilerplate-net,Kentico/cloud-boilerplate-net | src/content/CloudBoilerplateNet/Views/Home/Index.cshtml | src/content/CloudBoilerplateNet/Views/Home/Index.cshtml | @model IEnumerable<Article>
@{
ViewData["Title"] = "Home Page";
}
<div class="header clearfix">
<nav>
<ul class="nav nav-pills pull-right">
<li role="presentation" class="active"><a href="/">Home</a></li>
<li role="presentation"><a href="https://kenticocloud.com/" target="_blank... | @model IEnumerable<Article>
@{
ViewData["Title"] = "Home Page";
}
<div class="header clearfix">
<nav>
<ul class="nav nav-pills pull-right">
<li role="presentation" class="active"><a href="/">Home</a></li>
<li role="presentation"><a href="https://kenticocloud.com/" target="_blank... | mit | C# |
f55b3faa6e0c4cbebe04e92c28c171b8f897ecab | Decrease allocations in stack serializer | gregsdennis/Manatee.Json,gregsdennis/Manatee.Json | Manatee.Json/Serialization/Internal/AutoRegistration/StackSerializationDelegateProvider.cs | Manatee.Json/Serialization/Internal/AutoRegistration/StackSerializationDelegateProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Manatee.Json.Serialization.Internal.AutoRegistration
{
internal class StackSerializationDelegateProvider : SerializationDelegateProviderBase
{
public override bool CanHandle(Type type)
{
return typ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Manatee.Json.Serialization.Internal.AutoRegistration
{
internal class StackSerializationDelegateProvider : SerializationDelegateProviderBase
{
public override bool CanHandle(Type type)
{
return typ... | mit | C# |
4fda84f3b21bd8772fbf0a33a4dc6085b9fea6a9 | Update SubscriptionOptions.cs | Shuttle/Shuttle.Esb | Shuttle.Esb/Configuration/Options/SubscriptionOptions.cs | Shuttle.Esb/Configuration/Options/SubscriptionOptions.cs | using System.Collections.Generic;
namespace Shuttle.Esb
{
public enum SubscribeType
{
Normal = 0,
Ensure = 1,
Ignore = 2
}
public class SubscriptionOptions
{
public const string SectionName = "Shuttle:Subscription";
public SubscribeType SubscribeType { get... | using System.Collections.Generic;
namespace Shuttle.Esb
{
public enum SubscribeType
{
Normal = 0,
Ensure = 1,
Ignore = 2
}
public class SubscriptionOptions
{
public const string SectionName = "Shuttle:Subscription";
public SubscribeType SubscribeType { get... | bsd-3-clause | C# |
230948d19d809fc288c6f30ef1f5be7c05cd6de8 | Refactor UInt32Type test. | victorbush/ego.nefsedit | VictorBush.Ego.NefsLib.Tests/DataTypes/UInt32TypeTest.cs | VictorBush.Ego.NefsLib.Tests/DataTypes/UInt32TypeTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using VictorBush.Ego.NefsLib.DataTypes;
namespace VictorBush.Ego.NefsLib.Tests.DataTypes
{
[TestClass]
public class UInt32TypeTest
{
[TestMethod]
public void ToString_CorrectStringReturned()
{
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using VictorBush.Ego.NefsLib.DataTypes;
namespace VictorBush.Ego.NefsLib.Tests.DataTypes
{
[TestClass]
public class UInt32TypeTest
{
[TestMethod]
public void TestUInt32Type()
{
FileStream... | mit | C# |
1dde1ed5f0ab4db413ba28e27f096fc98dd73af6 | Add version to assembly | kipusoep/Archetype,tomfulton/Archetype,kgiszewski/Archetype,kjac/Archetype,tomfulton/Archetype,Nicholas-Westby/Archetype,tomfulton/Archetype,kgiszewski/Archetype,kipusoep/Archetype,imulus/Archetype,imulus/Archetype,kipusoep/Archetype,Nicholas-Westby/Archetype,Nicholas-Westby/Archetype,kgiszewski/Archetype,imulus/Archet... | app/Umbraco/Umbraco.Archetype/Properties/AssemblyInfo.cs | app/Umbraco/Umbraco.Archetype/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Archetype")]
[assembly: AssemblyDescription("Archetype's supporting code library for Umbraco")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Imulus")]
[assembly: AssemblyProduct("Archetype")]
[assembly: Assem... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Archetype")]
[assembly: AssemblyDescription("Archetype's supporting code library for Umbraco")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Imulus")]
[assembly: AssemblyProduct("Archetype")]
[assembly: Assem... | mit | C# |
5b8ed3f7f488d654eae22b1a93e8eb801c365096 | Add comments. | petrborzutzky/ATNET2016,mozdren/ATNET2016,MatusHromulak/ATNET2016 | ServiceBus/SharedLibs/DataContracts/Address.cs | ServiceBus/SharedLibs/DataContracts/Address.cs | using System;
using System.Runtime.Serialization;
namespace SharedLibs.DataContracts
{
/// <summary>
/// General Data Contract for Address
/// </summary>
[DataContract]
public class Address : DTO
{
/// <summary>
/// Adress ID
/// </summary>
[DataMe... | using System;
using System.Runtime.Serialization;
namespace SharedLibs.DataContracts
{
/// <summary>
/// General Data Contract for Address
/// </summary>
[DataContract]
public class Address : DTO
{
/// <summary>
/// Adress ID
/// </summary>
[DataMe... | mit | C# |
8242142bb1e9a7d551c5e116b66f32acdbcb6419 | Add mouse event for trackball | sakapon/Samples-2016,sakapon/Samples-2016 | Wpf3DSample/DiceRotationWpf/EventsExtension.cs | Wpf3DSample/DiceRotationWpf/EventsExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Input;
namespace DiceRotationWpf
{
public class EventsExtension<TElement> where TElement : UIElement
{
public TElement Target { get; }
Point M... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Input;
namespace DiceRotationWpf
{
public class EventsExtension<TElement> where TElement : UIElement
{
public TElement Target { get; }
Point M... | mit | C# |
7819cbd72a4e50f0ea0c166d271952c959c7fd7e | Add InvWeekOfMonth | eleven41/Eleven41.Helpers | Eleven41.Helpers/DateTimeHelper.cs | Eleven41.Helpers/DateTimeHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Eleven41.Helpers
{
public static class DateTimeHelper
{
// Our base is the same as the standard unix file base
private static DateTime _base = new DateTime(1970, 1, 1);
public static DateTime FromUnixTime(int dt)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Eleven41.Helpers
{
public static class DateTimeHelper
{
// Our base is the same as the standard unix file base
private static DateTime _base = new DateTime(1970, 1, 1);
public static DateTime FromUnixTime(int dt)
... | mit | C# |
4cf6db248864972056c79ef88ef4e9741614f184 | remove unused field | cbovar/ConvNetSharp | src/ConvNetSharp.Flow/Ops/Assign.cs | src/ConvNetSharp.Flow/Ops/Assign.cs | using System;
using ConvNetSharp.Volume;
namespace ConvNetSharp.Flow.Ops
{
/// <summary>
/// Assignment: valueOp = op
/// </summary>
/// <typeparam name="T"></typeparam>
public class Assign<T> : Op<T> where T : struct, IEquatable<T>, IFormattable
{
public Assign(Op<T> valueOp, Op<T... | using System;
using ConvNetSharp.Volume;
namespace ConvNetSharp.Flow.Ops
{
/// <summary>
/// Assignment: valueOp = op
/// </summary>
/// <typeparam name="T"></typeparam>
public class Assign<T> : Op<T> where T : struct, IEquatable<T>, IFormattable
{
private long _lastComputeStep;
... | mit | C# |
07c9cf2a4b9133a218323a4817a6e0d6b69e15f1 | Add method to calculate time | MelHarbour/HeadRaceTiming-Site,MelHarbour/HeadRaceTiming-Site,MelHarbour/HeadRaceTiming-Site | HeadRaceTiming-Site/Models/Crew.cs | HeadRaceTiming-Site/Models/Crew.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace HeadRaceTimingSite.Models
{
public class Crew
{
public int CrewId { get; set; }
public string Name { get; set; }
public int Sta... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace HeadRaceTimingSite.Models
{
public class Crew
{
public int CrewId { get; set; }
public string Name { get; set; }
public int Sta... | mit | C# |
444f79040b7a3d074a922d884ab8308127df54b0 | Add Plamen | promusic1974/TestingGitPlamen | HiGitPlamen/HiGitPlamen/Program.cs | HiGitPlamen/HiGitPlamen/Program.cs | using System;
namespace HiGitPlamen
{
class Program
{
static void Main()
{
Console.WriteLine("Git,hello!");
Console.WriteLine("Plamen Git");
}
}
}
| using System;
namespace HiGitPlamen
{
class Program
{
static void Main()
{
Console.WriteLine("Git,hello!");
}
}
}
| mit | C# |
2e3f1a6d81af8898901f470ed869ffa0f30b90c9 | Document Opera 26 problems | freenet/wintray,freenet/wintray | Browsers/Opera.cs | Browsers/Opera.cs | using System;
using System.Diagnostics;
using System.IO;
using Microsoft.Win32;
namespace FreenetTray.Browsers
{
class Opera : IBrowser
{
private readonly string _path;
private readonly bool _isInstalled;
public Opera()
{
/*
* TODO: Opera 26 adds launc... | using System;
using System.Diagnostics;
using System.IO;
using Microsoft.Win32;
namespace FreenetTray.Browsers
{
class Opera : IBrowser
{
private readonly string _path;
private readonly bool _isInstalled;
public Opera()
{
// Key present with Opera 21.
v... | mit | C# |
c44d780d768684eef14910ee84812f7991ebf009 | Remove virtual from GetResponse | irii/Bundler,irii/Bundler | Bundler/Bundle.cs | Bundler/Bundle.cs | using System;
using System.Linq;
using Bundler.Infrastructure;
using Bundler.Internals;
namespace Bundler {
public class Bundle : IBundle {
protected readonly IContentTransformer[] ContentTransformers;
public string ContentType { get; }
public string TagFormat { get; }
public IBun... | using System;
using System.Linq;
using Bundler.Infrastructure;
using Bundler.Internals;
namespace Bundler {
public class Bundle : IBundle {
protected readonly IContentTransformer[] ContentTransformers;
public string ContentType { get; }
public string TagFormat { get; }
public IBun... | mit | C# |
5c64376e58b97aa3ebd95e7d85c8d3cd996dfef0 | Update MapLargeSDKTest.cs | MapLarge/MapLargeSDK,MapLarge/MapLargeSDK,MapLarge/MapLargeSDK,MapLarge/MapLargeSDK | csharp/ConsoleTest/MapLargeSDKTest.cs | csharp/ConsoleTest/MapLargeSDKTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.maplarge.api;
namespace ConsoleTest {
class MapLargeSDKTest {
static void Main(string[] args) {
//DEFAULT CREDENTIALS
string server = "http://server.maplarge.com/";
string user... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.maplarge.api;
namespace ConsoleTest {
class MapLargeSDKTest {
static void Main(string[] args) {
//DEFAULT CREDENTIALS
string server = "http://leeapi.maplarge.com/";
string user... | mit | C# |
31e4a58d5578b49a34dd62e713c50c04fb46571e | update TableViewRefreshView init frame var | masterrr/mobile,peeedge/mobile,ZhangLeiCharles/mobile,ZhangLeiCharles/mobile,peeedge/mobile,eatskolnikov/mobile,masterrr/mobile,eatskolnikov/mobile,eatskolnikov/mobile | Ross/Views/TableViewRefreshView.cs | Ross/Views/TableViewRefreshView.cs | using System;
using CoreGraphics;
using UIKit;
using Toggl.Ross.Theme;
namespace Toggl.Ross.Views
{
public class TableViewRefreshView : UIRefreshControl
{
const int sideSize = 5;
public TableViewRefreshView ()
{
this.Apply (Style.TableViewHeader);
}
public... | using System;
using CoreGraphics;
using UIKit;
using Toggl.Ross.Theme;
namespace Toggl.Ross.Views
{
public class TableViewRefreshView : UIRefreshControl
{
public TableViewRefreshView ()
{
this.Apply (Style.TableViewHeader);
}
public void AdaptToTableView (UITableVi... | bsd-3-clause | C# |
e21a5842a30b39ef44c8846120e50dbef4aed48b | Update RandomTiles.cs #15 | UnityCommunity/UnityLibrary | Scripts/2D/Tilemaps/RandomTiles.cs | Scripts/2D/Tilemaps/RandomTiles.cs | // tested with unity version: 2017.2.0b4
// info: Fills tilemap with random tiles
// usage: Attach this script to empty gameobject, assign some tiles, then press play
using UnityEngine;
using UnityEngine.Tilemaps;
namespace UnityLibary
{
public class RandomTiles : MonoBehaviour
{
public int width = 32... | // Requires: Unity 5.5.0a1 or later
// Fills tilemap with random tiles
// Usage: Attach this script to Tilemap layer, assign tiles, hit play
using UnityEngine;
public class RandomTiles : MonoBehaviour
{
public Tile[] tiles;
void Start()
{
RandomTileMap();
}
void RandomTileMap()
{
... | mit | C# |
55753c24383912615e028c5384d454dc4d856b52 | Test commit | Trimack93/Inzynierka | WpfApplication1/MainWindow.xaml.cs | WpfApplication1/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
d7057af49f2e136b2a5f8246cc32e56d6ebc28e7 | Fix border highlight effects gets the wrong effect node | JeremyAnsel/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit,helix-toolkit/helix-toolkit | Source/HelixToolkit.SharpDX.SharedModel/Element3D/PostEffects/PostEffectMeshBorderHighlight.cs | Source/HelixToolkit.SharpDX.SharedModel/Element3D/PostEffects/PostEffectMeshBorderHighlight.cs | #if NETFX_CORE
namespace HelixToolkit.UWP
#else
namespace HelixToolkit.Wpf.SharpDX
#endif
{
using Model.Scene;
/// <summary>
/// Highlight the border of meshes
/// </summary>
public class PostEffectMeshBorderHighlight : PostEffectMeshOutlineBlur
{
protected override SceneNode OnCreateSc... | #if NETFX_CORE
namespace HelixToolkit.UWP
#else
namespace HelixToolkit.Wpf.SharpDX
#endif
{
using Model.Scene;
/// <summary>
/// Highlight the border of meshes
/// </summary>
public class PostEffectMeshBorderHighlight : PostEffectMeshOutlineBlur
{
protected override SceneNode OnCreateSc... | mit | C# |
023e9ceba967cff37b0c2374e250169b2ab729e6 | fix terrible version check typo | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | plugin/CactbotOverlay/PluginLoader.cs | plugin/CactbotOverlay/PluginLoader.cs | using System.Windows.Forms;
using RainbowMage.OverlayPlugin;
using Advanced_Combat_Tracker;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Cactbot
{
public class PluginLoader : IActPluginV1, IOverlayAddonV2
{
private static AssemblyResolver asmResolver;
... | using System.Windows.Forms;
using RainbowMage.OverlayPlugin;
using Advanced_Combat_Tracker;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Cactbot
{
public class PluginLoader : IActPluginV1, IOverlayAddonV2
{
private static AssemblyResolver asmResolver;
... | apache-2.0 | C# |
2c9e45a77b2eec2a97de7b6e9f06a2d2b5cb5c82 | Increment version number | axomic/openasset-rest-cs | OpenAsset.RestClient.Library/Properties/AssemblyInfo.cs | OpenAsset.RestClient.Library/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("Op... | 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("Op... | mit | C# |
f8b16595a200ca9535cc9e59d92f856ab794e133 | remove empty method. | indsoft/NuGet2,pratikkagda/nuget,xoofx/NuGet,dolkensp/node.net,themotleyfool/NuGet,alluran/node.net,kumavis/NuGet,rikoe/nuget,jmezach/NuGet2,rikoe/nuget,anurse/NuGet,RichiCoder1/nuget-chocolatey,oliver-feng/nuget,antiufo/NuGet2,RichiCoder1/nuget-chocolatey,alluran/node.net,mono/nuget,GearedToWar/NuGet2,oliver-feng/nuge... | test/Core.Test/NullSettingsTest.cs | test/Core.Test/NullSettingsTest.cs | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
namespace NuGet.Test
{
public class NullSettingsTest
{
public static IEnumerable<object[]> WriteOperationsData
{
get
{
var settings = NullSettings.Instance;
... | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
namespace NuGet.Test
{
public class NullSettingsTest
{
public static IEnumerable<object[]> WriteOperationsData
{
get
{
var settings = NullSettings.Instance;
... | apache-2.0 | C# |
94cc33bee8afc6be56243081b44680c0d11c4419 | Remove garbage test. | bfriesen/Rock.Logging,RockFramework/Rock.Logging | Rock.Logging.IntegrationTests/FileConfigurationTests.cs | Rock.Logging.IntegrationTests/FileConfigurationTests.cs | namespace Rock.Logging.IntegrationTests
{
public class FileConfigurationTests
{
}
} | using System;
using NUnit.Framework;
using System.Configuration;
namespace Rock.Logging.IntegrationTests
{
public class FileConfigurationTests
{
[Test]
public void Foo()
{
var factory = (ILoggerFactory)ConfigurationManager.GetSection("rock.logging");
var logger ... | mit | C# |
59541ada664016bc3e0135fa0b63f13779f068dc | Add test for getNextToken() | ilovepi/Compiler,ilovepi/Compiler | compiler/frontend/test/LexerTest.cs | compiler/frontend/test/LexerTest.cs | using NUnit.Framework;
using System;
namespace compiler.frontend.test
{
[TestFixture]
public class LexerTest
{
Lexer lex;
[Test]
//[DeploymentItem("LexerTest1.txt", "targetFolder")]
public void nextTest()
{
lex = new Lexer(TestContext.CurrentContext.Tes... | using NUnit.Framework;
using System;
namespace compiler.frontend.test
{
[TestFixture]
public class LexerTest
{
Lexer lex;
[Test]
//[DeploymentItem("LexerTest1.txt", "targetFolder")]
public void TestMethod()
{
lex = new Lexer(TestContext.CurrentContext.T... | mit | C# |
d6cdd0d1732599ce5597464f3b85cf468a443454 | Update SetFileCheckedOut.cs | kilasuit/PnP-PowerShell,OfficeDev/PnP-PowerShell,iiunknown/PnP-PowerShell | Commands/Files/SetFileCheckedOut.cs | Commands/Files/SetFileCheckedOut.cs | using System.Management.Automation;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
namespace SharePointPnP.PowerShell.Commands.Files
{
[Cmdlet("Set", "PnPFileCheckedOut")]
[CmdletAlias("Set-SPOFileCheckedOut")]
[CmdletHelp("Checks out a file",
Category = Cm... | using System.Management.Automation;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
namespace SharePointPnP.PowerShell.Commands.Files
{
[Cmdlet("Set", "PnPFileCheckedOut")]
[CmdletAlias("Set-SPOFileCheckedOut")]
[CmdletHelp("Checks out a file",
Category = Cm... | mit | C# |
92bdee84c64c83179a2cb1bcec50a9043595e9ab | teste a | Thiago-Caramelo/patchsearch | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace PatchSearch
{
// teste
class Program
{
static void Main(string[] args)
{
if (args == null || args.Length == 0)
{
return;
}
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace PatchSearch
{
class Program
{
static void Main(string[] args)
{
if (args == null || args.Length == 0)
{
return;
}
// ob... | mit | C# |
2ae59017f186f2186ec647a22e0833a8c57cdcb6 | Improve `CallSiteKind.Inferred` comment | stephentoub/roslyn,jasonmalinowski/roslyn,mgoertz-msft/roslyn,weltkante/roslyn,sharwell/roslyn,heejaechang/roslyn,sharwell/roslyn,ErikSchierboom/roslyn,physhi/roslyn,jmarolf/roslyn,KirillOsenkov/roslyn,AmadeusW/roslyn,genlu/roslyn,tannergooding/roslyn,brettfo/roslyn,diryboy/roslyn,eriawan/roslyn,mgoertz-msft/roslyn,wvd... | src/Features/Core/Portable/ChangeSignature/CallSiteKind.cs | src/Features/Core/Portable/ChangeSignature/CallSiteKind.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.
#nullable enable
namespace Microsoft.CodeAnalysis.ChangeSignature
{
internal enum CallSiteKind
{
/... | // 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 enable
namespace Microsoft.CodeAnalysis.ChangeSignature
{
internal enum CallSiteKind
{
/... | mit | C# |
ee414bcaee02f9325bc4b3cf6621464ba9bab054 | Fix test bug | yfakariya/msgpack-rpc-cli,yonglehou/msgpack-rpc-cli | test/MsgPack.Rpc.UnitTest/Rpc/RpcTimeoutExceptionTest.cs | test/MsgPack.Rpc.UnitTest/Rpc/RpcTimeoutExceptionTest.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// 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... | apache-2.0 | C# |
dc9192cfbddf4d10249edb105936dc549d7eef27 | Normalize DateTime to microsecond-resolution in unit test | smarkets/IronSmarkets | IronSmarkets.Tests/DateTimeTests.cs | IronSmarkets.Tests/DateTimeTests.cs | // Copyright (c) 2011 Smarkets Limited
//
// 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, pu... | // Copyright (c) 2011 Smarkets Limited
//
// 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, pu... | mit | C# |
7b69884e9b234c73e671a0179052c5787ee8e999 | Hide the 'reply' button in the manager interface for now. | truRating/Piranha,DH0/Piranha,PiranhaCMS/Piranha,truRating/Piranha,truRating/Piranha,timbrown81/Piranha,PiranhaCMS/Piranha,DH0/Piranha,timbrown81/Piranha,cnascimento/Piranha,PiranhaCMS/Piranha,cnascimento/Piranha,timbrown81/Piranha,DH0/Piranha,cnascimento/Piranha | Piranha/Areas/Manager/Views/Comment/List.cshtml | Piranha/Areas/Manager/Views/Comment/List.cshtml | @model List<Piranha.Entities.Comment>
@{
Layout = "" ;
}
<table class="list">
<tr>
<td><strong>@Piranha.Resources.Global.Title</strong></td>
<td><strong>@Piranha.Resources.Comment.Author</strong></td>
<td><strong>@Piranha.Resources.Global.Status</strong></td>
<td class=... | @model List<Piranha.Entities.Comment>
@{
Layout = "" ;
}
<table class="list">
<tr>
<td><strong>@Piranha.Resources.Global.Title</strong></td>
<td><strong>@Piranha.Resources.Comment.Author</strong></td>
<td><strong>@Piranha.Resources.Global.Status</strong></td>
<td class=... | mit | C# |
5b5e755050c649c6aadaf5ad5f61123e36123eb2 | Fix ShopifyPaymentsDispute.NetworkReasonCode typo | clement911/ShopifySharp,nozzlegear/ShopifySharp | ShopifySharp/Entities/ShopifyPaymentsDispute.cs | ShopifySharp/Entities/ShopifyPaymentsDispute.cs | using Newtonsoft.Json;
using System;
namespace ShopifySharp
{
/// <summary>
/// An object representing a Shopify payments dispute.
/// </summary>
public class ShopifyPaymentsDispute : ShopifyObject
{
[JsonProperty("order_id")]
public long? OrderId { get; set; }
[JsonPropert... | using Newtonsoft.Json;
using System;
namespace ShopifySharp
{
/// <summary>
/// An object representing a Shopify payments dispute.
/// </summary>
public class ShopifyPaymentsDispute : ShopifyObject
{
[JsonProperty("order_id")]
public long? OrderId { get; set; }
[JsonPropert... | mit | C# |
ccbf34725d6148682d7d29bf2b6a3c295d231f2b | Increase the message notification delay slightly. | adamzolotarev/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless | Source/Core/Pipeline/080_NotifySignalRAction.cs | Source/Core/Pipeline/080_NotifySignalRAction.cs | #region Copyright 2014 Exceptionless
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// http://w... | #region Copyright 2014 Exceptionless
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// http://w... | apache-2.0 | C# |
91ee250f20f13bf911ad89cd00d1f4ddc6288364 | Add comments for XBox360GamepadState enum | mina-asham/XBox360ControllerManager | XBox360ControllerManager/XBox360GamepadState.cs | XBox360ControllerManager/XBox360GamepadState.cs | namespace XBox360ControllerManager
{
/// <summary>
/// Represents the state of the gamepad when <see cref="XBox360.GetGamepad"/> is called
/// </summary>
public enum XBox360GamepadState : ushort
{
/// <summary>
/// Gamepad is currently connected
/// </summary>
Connec... | namespace XBox360ControllerManager
{
public enum XBox360GamepadState : ushort
{
Connected = 0x0000,
NotConnected = 0x048F
}
}
| mit | C# |
fad41fd1fce945133b6085302c4ea5d81dc082e8 | change version to 1.3.1 | jittuu/NSupport | NSupport/Properties/AssemblyInfo.cs | NSupport/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NSupport")]
[assembly: AssemblyDescriptio... | 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("NSupport")]
[assembly: AssemblyDescriptio... | mit | C# |
57b1affe08359891d4f7cc5f2d6281526713824c | Change Spot.Board from generic Board to specific LocalBoard | Curdflappers/UltimateTicTacToe | Assets/Resources/Scripts/Architecture/Spot.cs | Assets/Resources/Scripts/Architecture/Spot.cs | using System;
public class Spot
{
Location loc;
LocalBoard board;
Player owner;
bool enabled;
public Location Loc { get { return loc; } }
public LocalBoard Board {
get { return board; }
set { board = value; }
}
public Player Owner
{
get { return owner; }
... | using System;
public class Spot
{
Location loc;
Board board;
Player owner;
bool enabled;
public Location Loc { get { return loc; } }
public Board Board {
get { return board; }
set { board = value; }
}
public Player Owner
{
get { return owner; }
set
... | mit | C# |
1e5efe755937a65d71be0ad625eca98a995882d2 | Send game state to client. | Mikuz/Battlezeppelins,Mikuz/Battlezeppelins | Battlezeppelins/Controllers/GameController.cs | Battlezeppelins/Controllers/GameController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Battlezeppelins.Models;
namespace Battlezeppelins.Controllers
{
public class GameController : BaseController
{
public ActionResult Metadata()
{
Game game = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Battlezeppelins.Models;
namespace Battlezeppelins.Controllers
{
public class GameController : BaseController
{
public ActionResult Metadata()
{
Game game = ... | apache-2.0 | C# |
57e936e6bda2a9f9f60cc9329ab5ad559679a2bc | Fix formatting in events so it will build | mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker | Ductus.FluentDocker/Model/HostEvents/Event.cs | Ductus.FluentDocker/Model/HostEvents/Event.cs | namespace Ductus.FluentDocker.Model.HostEvents
{
/// <summary>
/// Base evnet emitte by the docker dameon using e.g. docker events.
/// </summary>
/// <remarks>
/// See docker documentation https://docs.docker.com/engine/reference/commandline/events/
/// </remarks>
public class Event
{
/// <summary>... | namespace Ductus.FluentDocker.Model.HostEvents
{
/// <summary>
/// Base evnet emitte by the docker dameon using e.g. docker events.
/// </summary>
/// <remarks>
/// See docker documentation https://docs.docker.com/engine/reference/commandline/events/
/// </remarks>
public class Event
{
... | apache-2.0 | C# |
59ef65ba05dfda9e31ff63eced6435a670f5ac49 | Fix LogicApp Description language | fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,project... | SimpleWAWS/Controllers/TemplatesController.cs | SimpleWAWS/Controllers/TemplatesController.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Hosting;
using System.Web.Http;
using SimpleWAWS.Models;
namespace SimpleWAWS.Controllers
{
public class TemplatesController : ApiController
{
public IEn... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Hosting;
using System.Web.Http;
using SimpleWAWS.Models;
namespace SimpleWAWS.Controllers
{
public class TemplatesController : ApiController
{
public IEn... | apache-2.0 | C# |
654e2d69030ccc394636bcad2d3a725b8e991ea0 | fix the response | Inumedia/SlackAPI | SlackAPI/RPCMessages/ChannelInviteResponse.cs | SlackAPI/RPCMessages/ChannelInviteResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
[RequestPath("channels.invite")]
public class ChannelInviteResponse : Response
{
public Channel channel;
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
[RequestPath("channels.invite")]
public class ChannelInviteResponse : Response
{
}
}
| mit | C# |
c78f3f94a1412590f5bc4580dd3a3c48016ee46e | Add constructors in ConstIterator | henrikfroehling/RangeIt | Source/Lib/RangeIt/Iterators/ConstIterator.cs | Source/Lib/RangeIt/Iterators/ConstIterator.cs | namespace RangeIt.Iterators
{
using Interfaces;
using System;
using System.Collections;
public sealed class ConstIterator : IConstIterator
{
private ConstIterator() { }
public ConstIterator(ArrayList arrayList)
{
}
public ConstIterator(Queue queue)
... | namespace RangeIt.Iterators
{
using Interfaces;
using System;
using System.Collections;
public sealed class ConstIterator : IConstIterator
{
public object Current
{
get
{
throw new NotImplementedException();
}
}
p... | mit | C# |
1fb1cf6896a19653dcb1bda2378fbb536e8c093f | Make AbuseFilter class read-only. Might put all HTML form post hacks into a separate package. | CXuesong/WikiClientLibrary | WikiClientLibrary/AbuseFilters/AbuseFilter.cs | WikiClientLibrary/AbuseFilters/AbuseFilter.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using Newtonsoft.Json;
using WikiClientLibrary.Sites;
namespace WikiClientLibrary.AbuseFilters
{
[JsonObject(MemberSerialization.OptIn)]
public sealed class AbuseFilter
{
public static readonl... | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace WikiClientLibrary.AbuseFilters
{
[JsonObject(MemberSerialization.OptIn)]
public sealed class AbuseFilter
{
private ICollection<string> _Actions;
[JsonProperty]
public int Id { get; ... | apache-2.0 | C# |
24dd11986989ef28fd996e73275d14118ba40f80 | verify empty data in unit test before test | nevtum/PortForward | PortForwardApp/Tests/ClientTests.cs | PortForwardApp/Tests/ClientTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PortForward;
using PortForward.Utilities;
namespace PortForwardApp.Tests
{
[TestClass]
public class ClientTests
{
[TestMethod]
public void ShouldEchoRequest()
{
TestData data = new TestData();
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PortForward;
using PortForward.Utilities;
namespace PortForwardApp.Tests
{
[TestClass]
public class ClientTests
{
[TestMethod]
public void ShouldEchoRequest()
{
TestData data = new TestData();
... | apache-2.0 | C# |
a8f3fc0f7e474c0913a0d9be3aade1dcd8d7766a | Remove Inject from BlockOtherPlayerLobbyJoinEventPayloadHandler | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Ship/Handlers/Payload/BlockOtherPlayerLobbyJoinEventPayloadHandler.cs | src/Booma.Proxy.Client.Unity.Ship/Handlers/Payload/BlockOtherPlayerLobbyJoinEventPayloadHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
using SceneJect.Common;
namespace Booma.Proxy
{
public sealed class BlockOtherPlayerLobbyJoinEventPayloadHandler : GameMessageHandler<BlockOtherPlayerJoinedLobbyEve... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
using SceneJect.Common;
namespace Booma.Proxy
{
[Injectee]
public sealed class BlockOtherPlayerLobbyJoinEventPayloadHandler : GameMessageHandler<BlockOtherPlayerJo... | agpl-3.0 | C# |
5d68996dc6612cdb7dc252b2e6d8c22267ed36a6 | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.USBSTOR/ValuesOut.cs | RegistryPlugin.USBSTOR/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.USBSTOR
{
public class ValuesOut : IValueOut
{
public ValuesOut(string manufacturer, string title, string version, string serialNumber, DateTimeOffset? timestamp,
string deviceName, DateTimeOffset? installed, DateT... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.USBSTOR
{
public class ValuesOut : IValueOut
{
public ValuesOut(string manufacturer, string title, string version, string serialNumber, DateTimeOffset? timestamp,
string deviceName, DateTimeOffset? installed, DateT... | mit | C# |
3b5a840338fd2d0e30e26a3e2dfc12ff0918d1c1 | Switch to 1.4.5 | Abc-Arbitrage/Zebus,biarne-a/Zebus | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.4.5")]
[assembly: AssemblyFileVersion("1.4.5")]
[assembly: AssemblyInformationalVersion("1.4.5")]
| using System.Reflection;
[assembly: AssemblyVersion("1.4.4")]
[assembly: AssemblyFileVersion("1.4.4")]
[assembly: AssemblyInformationalVersion("1.4.4")]
| mit | C# |
bc85e984941593081f1dacf002e4ff08a8eb5fa2 | implement backingfield property support | Pondidum/Stronk,Pondidum/Stronk | src/Stronk/Extensions.cs | src/Stronk/Extensions.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Reflection;
using Stronk.ValueConversion;
namespace Stronk
{
public static class Extensions
{
public static void FromAppConfig(this object target)
{
var converters = new IValueConverter[]
{
new ... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Reflection;
using Stronk.ValueConversion;
namespace Stronk
{
public static class Extensions
{
public static void FromAppConfig(this object target)
{
var converters = new IValueConverter[]
{
new ... | lgpl-2.1 | C# |
edeff3f04f94cf720893dfb76a93ee5cdb848e66 | Fix SimpleLogManager | YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata/Logging/SimpleLogManager.cs | src/Atata/Logging/SimpleLogManager.cs | using System;
using System.Linq;
using System.Text;
namespace Atata
{
public class SimpleLogManager : LogManagerBase
{
private Action<string> writeLineAction;
public SimpleLogManager(Action<string> writeLineAction = null, string screenshotsFolderPath = null)
: base(screenshotsFold... | using System;
using System.Text;
namespace Atata
{
public class SimpleLogManager : LogManagerBase
{
private Action<string> writeLineAction;
public SimpleLogManager(Action<string> writeLineAction = null, string screenshotsFolderPath = null)
: base(screenshotsFolderPath)
{
... | apache-2.0 | C# |
15bb5cf88fae4b9a36655ee7decda5e69370bb91 | fix bug introduced in dropdownitem the clears :selected psuedo class | SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,grokys/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,grokys/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,SuperJMN... | src/Avalonia.Controls/DropDownItem.cs | src/Avalonia.Controls/DropDownItem.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 System;
namespace Avalonia.Controls
{
/// <summary>
/// A selectable item in a <see cref="DropDown"/>.
/// </summary>
public class ... | // 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 System;
namespace Avalonia.Controls
{
/// <summary>
/// A selectable item in a <see cref="DropDown"/>.
/// </summary>
public class ... | mit | C# |
3f2f8eaf535de487c7ac4fc7032ecf0011b4b771 | Allow strict Fake to permit access to overridden Object methods | thomaslevesque/FakeItEasy,blairconrad/FakeItEasy,blairconrad/FakeItEasy,FakeItEasy/FakeItEasy,FakeItEasy/FakeItEasy,thomaslevesque/FakeItEasy | src/FakeItEasy/Core/StrictFakeRule.cs | src/FakeItEasy/Core/StrictFakeRule.cs | namespace FakeItEasy.Core
{
using System;
using static FakeItEasy.ObjectMembers;
internal class StrictFakeRule : IFakeObjectCallRule
{
private readonly StrictFakeOptions options;
public StrictFakeRule(StrictFakeOptions options)
{
this.options = options;
... | namespace FakeItEasy.Core
{
using System;
using static FakeItEasy.ObjectMembers;
internal class StrictFakeRule : IFakeObjectCallRule
{
private readonly StrictFakeOptions options;
public StrictFakeRule(StrictFakeOptions options)
{
this.options = options;
... | mit | C# |
160e651c8053d6c8ee24919d663eedc51fcb4916 | Update IQueryCommand.cs | Flepper/flepper,Flepper/flepper | Flepper.QueryBuilder/Commands/Interfaces/IQueryCommand.cs | Flepper.QueryBuilder/Commands/Interfaces/IQueryCommand.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Flepper.QueryBuilder
{
/// <summary>
/// Query Command Interface
/// </summary>
public interface IQueryCommand
{
/// <summary>
/// Build a query
/// </summary>
/// <returns></returns>
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Flepper.QueryBuilder
{
/// <summary>
/// Query Command Interface
/// </summary>
public interface IQueryCommand
{
/// <summary>
/// Build a query
/// </summary>
/// <returns></returns>
... | mit | C# |
e8b53c136c872cced760740599a21bfa7a0e2d42 | update package description | jobeland/GeneticAlgorithm | NeuralNetwork.GeneticAlgorithm/Properties/AssemblyInfo.cs | NeuralNetwork.GeneticAlgorithm/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("Ne... | 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("Ne... | mit | C# |
f561243f495be0452151dcc0b155b6e5cdbd3b4a | Set default value to BackgroundColor | Xeeynamo/KingdomHearts | OpenKh.Tools.LayoutViewer/Properties/Settings.Designer.cs | OpenKh.Tools.LayoutViewer/Properties/Settings.Designer.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | mit | C# |
b163475f2932f83921b45f1270927b08448ff775 | bump version | anobleperson/GitVersion,distantcam/GitVersion,distantcam/GitVersion,TomGillen/GitVersion,alexhardwicke/GitVersion,GeertvanHorrik/GitVersion,openkas/GitVersion,dazinator/GitVersion,pascalberger/GitVersion,GitTools/GitVersion,FireHost/GitVersion,Kantis/GitVersion,ermshiperete/GitVersion,Philo/GitVersion,dpurge/GitVersion... | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("GitFlowVersion")]
[assembly: AssemblyProduct("GitFlowVersion")]
[assembly: AssemblyVersion("0.1.9")]
[assembly: AssemblyFileVersion("0.1.9")]
| using System.Reflection;
[assembly: AssemblyTitle("GitFlowVersion")]
[assembly: AssemblyProduct("GitFlowVersion")]
[assembly: AssemblyVersion("0.1.8")]
[assembly: AssemblyFileVersion("0.1.8")]
| mit | C# |
f5744ebe936e4966718c887b3d1bcc29408713ef | Resolve #182 - Add remaining missing tests for macro substitution | csf-dev/ZPT-Sharp,csf-dev/ZPT-Sharp | Tests/Test.CSF.Zpt/Metal/TestMacroExtensionSubstitutor.cs | Tests/Test.CSF.Zpt/Metal/TestMacroExtensionSubstitutor.cs | using System;
using NUnit.Framework;
using Ploeh.AutoFixture;
using CSF.Zpt.Metal;
using Moq;
using CSF.Zpt.Rendering;
using CSF.Zpt;
using System.Linq;
namespace Test.CSF.Zpt.Metal
{
[TestFixture]
public class TestMacroExtensionSubstitutor
{
#region fields
private IFixture _autoFixture;
private M... | using System;
using NUnit.Framework;
namespace Test.CSF.Zpt.Metal
{
[TestFixture]
public class TestMacroExtensionSubstitutor
{
#region tests
[Test]
[Ignore("This test needs to be written - see #182")]
public void FillSlot_copies_define_slot_attribute_if_it_is_not_redefined()
{
// Arra... | mit | C# |
f1c8aedc44ed0ce66d258cc2bceb38300bb89dc1 | load via Templates for file watcher | mcintyre321/Noodles,mcintyre321/Noodles | Noodles.Example.Web/App_Code/RegisterVirtualPathProvider.cs | Noodles.Example.Web/App_Code/RegisterVirtualPathProvider.cs | namespace Noodles.Example
{
public class RegisterVirtualPathProvider
{
public static void AppInitialize()
{
System.Web.Hosting.HostingEnvironment.RegisterVirtualPathProvider(new EmbeddedResourceVirtualPathProvider.Vpp()
{
{typeof(AspMvc.ActionResultExtension).Assembly... | namespace Noodles.Example
{
public class RegisterVirtualPathProvider
{
public static void AppInitialize()
{
System.Web.Hosting.HostingEnvironment.RegisterVirtualPathProvider(new EmbeddedResourceVirtualPathProvider.Vpp()
{
{typeof(AspMvc.ActionResultExtension).Assembly... | mit | C# |
53773caca0c3d770291b0b8f2173d57e031c5faa | use new name | sjrawlins/JobSearchScorecard | Droid/MainActivity.cs | Droid/MainActivity.cs | using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using JobSearchScorecard;
namespace JobSearchScorecard.Droid
{
[Activity (Label = "JobSearchScorecard.Droid", Icon = "@drawable/icon... | using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace JobScorecard.Droid
{
[Activity (Label = "JobScorecard.Droid", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChan... | bsd-3-clause | C# |
03428f390c0cedf0bfd59510d1e7533451cb31b2 | Add Student support | aloisdg/edx-csharp | edX/Module4/Program.cs | edX/Module4/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Module4
{
class Program
{
struct Student
{
private readonly string _firstName;
private readonly string _lastName;
private readonly int _age;
private readonly DateTime _birt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Module4
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
6fa0448036e44ef677957e8038e1dcb9936a1214 | Update _Footer.cshtml | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/_Footer.cshtml | input/_Footer.cshtml | <div class="container bottom-footer">
<div class="col-lg-10 col-sm-10 col-xs-12">
<ul class="list-inline">
<li class="list-inline-item">
<a href="/donate" target="_blank">Donate</a>
</li>
<li class="list-inline-item">
<a href="/sponsorship" target... | <div class="container bottom-footer">
<div class="col-lg-10 col-sm-10 col-xs-12">
<ul class="list-inline">
<li class="list-inline-item">
<a href="/donate" target="_blank">Donate</a>
</li>
<li class="list-inline-item">
<a href="/sponsorship" target... | mit | C# |
d1fbb5c8bb2e02a701014166ba8dff83f60e2a70 | Fix failed build | ndrmc/cats,ndrmc/cats,ndrmc/cats | Tests/Cats.Tests/ControllersTests/CurrencyControllerTest.cs | Tests/Cats.Tests/ControllersTests/CurrencyControllerTest.cs | using System;
using System.Collections.Generic;
using System.Web.Mvc;
using Cats.Areas.EarlyWarning.Controllers;
using Cats.Areas.Settings.Controllers;
using Cats.Services.EarlyWarning;
using Kendo.Mvc.UI;
using Moq;
using NUnit.Framework;
using Cats.Models;
namespace Cats.Tests.ControllersTests
{ [TestFixture]
p... | using System;
using System.Collections.Generic;
using System.Web.Mvc;
using Cats.Areas.EarlyWarning.Controllers;
using Cats.Services.EarlyWarning;
using Kendo.Mvc.UI;
using Moq;
using NUnit.Framework;
using Cats.Models;
namespace Cats.Tests.ControllersTests
{ [TestFixture]
public class CurrencyControllerTest
{... | apache-2.0 | C# |
653a2cc02ab1b6c97f336865bb226fc94a08d6f9 | fix typo | DelcoigneYves/Xamarin.GoogleAnalytics | build.cake | build.cake | #addin nuget:https://nuget.org/api/v2/?package=Cake.FileHelpers&version=1.0.3.2
#addin nuget:https://nuget.org/api/v2/?package=Cake.Xamarin&version=1.2.3
var TARGET = Argument ("target", Argument ("t", "Default"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
var li... | #addin nuget:https://nuget.org/api/v2/?package=Cake.FileHelpers&version=1.0.3.2
#addin nuget:https://nuget.org/api/v2/?package=Cake.Xamarin&version=1.2.3
var TARGET = Argument ("target", Argument ("t", "Default"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
var li... | mit | C# |
c930f10770f173a62e09f169715a4ea18f06f9bb | Reduce requirements of code coverage due to platform specific behaviors | SceneGate/Yarhl | build.cake | build.cake | #load "nuget:?package=PleOps.Cake&version=0.7.0"
Task("Define-Project")
.Description("Fill specific project information")
.Does<BuildInfo>(info =>
{
info.CoverageTarget = 90; // can't be 100 due to platform-specific code paths
info.AddLibraryProjects("Yarhl");
info.AddLibraryProjects("Yarhl.Media"... | #load "nuget:?package=PleOps.Cake&version=0.7.0"
Task("Define-Project")
.Description("Fill specific project information")
.Does<BuildInfo>(info =>
{
info.AddLibraryProjects("Yarhl");
info.AddLibraryProjects("Yarhl.Media");
info.AddTestProjects("Yarhl.UnitTests");
info.AddTestProjects("Yarhl.Int... | mit | C# |
7c7f482d413411915be73a50bf05f669ecb80b1e | add description in assemblyinfo | FrankyBoy/idgen.net | idgen.net/Properties/AssemblyInfo.cs | idgen.net/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("idgen.net")]
[assembly: AssemblyDescription("generator ... | 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... | apache-2.0 | C# |
a80efc0a74d868f0d6e118c36a45e1567ec0f7c2 | Update AssemblyInfo version from 31 to 33 | ITGlobal/CefSharp,jamespearce2006/CefSharp,ruisebastiao/CefSharp,rover886/CefSharp,joshvera/CefSharp,illfang/CefSharp,zhangjingpu/CefSharp,Haraguroicha/CefSharp,battewr/CefSharp,jamespearce2006/CefSharp,AJDev77/CefSharp,jamespearce2006/CefSharp,haozhouxu/CefSharp,illfang/CefSharp,AJDev77/CefSharp,Livit/CefSharp,ITGloba... | CefSharp/Properties/AssemblyInfo.cs | CefSharp/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using CefSharp;
using System;
[assembly: AssemblyTitle("CefSharp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using CefSharp;
using System;
[assembly: AssemblyTitle("CefSharp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assemb... | bsd-3-clause | C# |
ec47333b52d3a1796d419f31bd59ecbb9eb8a264 | Update DocumentView.cs | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D.Editor/Views/DocumentView.cs | src/Core2D.Editor/Views/DocumentView.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;
namespace Core2D.Editor.Views
{
/// <summary>
/// Document view.
/// </summary>
public class DocumentView : ViewBase<ProjectEditor>
... | // 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;
namespace Core2D.Editor.Views
{
/// <summary>
/// Document view.
/// </summary>
public class DocumentView : ViewBase<ProjectEditor>
... | mit | C# |
40eca9566125da5ee6d498445feba9e37e5ef373 | Fix build. | 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,space-wizards/space-station-14,space-wizards/space-station-14-content | Content.Client/Chat/ChatFilterUI.cs | Content.Client/Chat/ChatFilterUI.cs | using Robust.Client.Graphics;
using Robust.Client.Graphics.Drawing;
using Robust.Client.Interfaces.Graphics;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.Utility;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Maths;
using Robus... | using Robust.Client.Graphics;
using Robust.Client.Graphics.Drawing;
using Robust.Client.Interfaces.Graphics;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.Utility;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Maths;
using Robus... | mit | C# |
139c2eba32f79fb1f67c04179a74110eeb514d86 | Update test.csx | palladin/MBrace.Core,mbraceproject/MBrace.Core,palladin/MBrace.Core,dsyme/MBrace.Core,dsyme/MBrace.Core,mbraceproject/MBrace.Core | src/MBrace.Thespian/test.csx | src/MBrace.Thespian/test.csx | #r "../../bin/FSharp.Core.dll"
#r "../../bin/FsPickler.dll"
#r "../../bin/Vagabond.dll"
#r "../../bin/Argu.dll"
#r "../../bin/Newtonsoft.Json.dll"
#r "../../bin/MBrace.Core.dll"
#r "../../bin/MBrace.Runtime.dll"
#r "../../bin/MBrace.Thespian.dll"
#r "../../bin/MBrace.Flow.dll"
#r "../../bin/MBrace.Flow.CSharp.dll"
#r ... | #r "../../bin/FSharp.Core.dll"
#r "../../bin/FsPickler.dll"
#r "../../bin/Vagabond.dll"
#r "../../bin/Argu.dll"
#r "../../bin/Newtonsoft.Json.dll"
#r "../../bin/MBrace.Core.dll"
#r "../../bin/MBrace.Runtime.dll"
#r "../../bin/MBrace.Thespian.dll"
#r "../../bin/MBrace.Flow.dll"
#r "../../bin/MBrace.Flow.CSharp.dll"
#r ... | apache-2.0 | C# |
a5a025de6867edbfb70cf13df58353da4ea044cc | Add proper tests | UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,peppy/osu-new,johnneijzen/osu,peppy/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,EVA... | osu.Game.Tests/Visual/Online/TestSceneShowMoreButton.cs | osu.Game.Tests/Visual/Online/TestSceneShowMoreButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Overlays.Profile.Sections;
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
namespace osu.Game.Tests.Visual.Online
{
pub... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Overlays.Profile.Sections;
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
namespace osu.Game.Tests.Visual.Online
{
pub... | mit | C# |
e3f8883713d8bb1479030992fd44d540b3f60f97 | Add debris pickup behavior | zorbathut/luminance | Assets/Script/Notamari.cs | Assets/Script/Notamari.cs | using UnityEngine;
using UnityEngine.Assertions;
using System.Collections;
public class Notamari : MonoBehaviour
{
public Transform m_CameraAnchor;
public float m_MovementForce = 10f;
Rigidbody m_RigidBody;
void Start()
{
Assert.IsNotNull(m_CameraAnchor);
m_Rigi... | using UnityEngine;
using UnityEngine.Assertions;
using System.Collections;
public class Notamari : MonoBehaviour
{
public Transform m_CameraAnchor;
public float m_MovementForce = 10f;
Rigidbody m_RigidBody;
void Start()
{
Assert.IsNotNull(m_CameraAnchor);
m_Rigi... | mit | C# |
a50b69ea22a26d7dfa6ba67de3ee18c7cbc2a6ff | Update RyanDavis.cs | beraybentesen/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin... | src/Firehose.Web/Authors/RyanDavis.cs | src/Firehose.Web/Authors/RyanDavis.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class RyanDavis : IAmAXamarinMVP, IFilterMyBlogPosts
{
public IEnumerable<Uri> FeedUris
{
get { yield... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class RyanDavis : IAmAXamarinMVP, IFilterMyBlogPosts
{
public IEnumerable<Uri> FeedUris
{
get { yield... | mit | C# |
338e5284dc991332b88d2ef28dd93b17efe2ed82 | Update #283 - Remove unneed usign statements | Glimpse/Glimpse,sorenhl/Glimpse,codevlabs/Glimpse,codevlabs/Glimpse,Glimpse/Glimpse,dudzon/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,rho24/Glimpse,rho24/Glimpse,gabrielweyer/Glimpse,codevlabs/Glimpse,gabrielweyer/Glimpse,SusanaL/Glimpse,sorenhl/Glimpse,sorenhl/Glimpse,elkingtonmcb/Glimpse,paynecrl97/Glimpse,elkingtonmc... | source/Glimpse.EF/Inspector/EntityFrameworkInspector.cs | source/Glimpse.EF/Inspector/EntityFrameworkInspector.cs | using Glimpse.Core.Extensibility;
using Glimpse.EF.Inspector.Core;
namespace Glimpse.EF.Inspector
{
public class EntityFrameworkInspector : IInspector
{
public void Setup(IInspectorContext context)
{
EntityFrameworkExecutionBlock.Instance.Execute();
}
}
} | using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Config;
using System.Reflection;
using Glimpse.Core.Extensibility;
using Glimpse.EF.AlternateType;
using Glimpse.EF.Inspector.Core;
namespace Glimpse.EF.Inspector
{
public class EntityFrameworkInspector : IInspector
{
public ... | apache-2.0 | C# |
3369df540ddfc46981980fe6dbc308968d0652f3 | Update ClickTabOrPillAttribute trigger | atata-framework/atata-bootstrap,atata-framework/atata-bootstrap | src/Atata.Bootstrap/Triggers/ClickTabOrPillAttribute.cs | src/Atata.Bootstrap/Triggers/ClickTabOrPillAttribute.cs | using System;
using OpenQA.Selenium;
namespace Atata.Bootstrap
{
public class ClickTabOrPillAttribute : TriggerAttribute
{
private bool isInitialized;
private UIComponent navItemComponent;
public ClickTabOrPillAttribute(TriggerEvents on = TriggerEvents.BeforeAccess, TriggerP... | using System;
using OpenQA.Selenium;
namespace Atata.Bootstrap
{
public class ClickTabOrPillAttribute : TriggerAttribute
{
private bool isInitialized;
private UIComponent navItemComponent;
public ClickTabOrPillAttribute(TriggerEvents on = TriggerEvents.BeforeAccess, TriggerP... | apache-2.0 | C# |
ee99963aa959cdcc0757468aaf92b455901464ee | Update DrawNode.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/DrawNode.cs | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/DrawNode.cs | #nullable enable
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Style;
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes;
internal abstract class DrawNode : IDrawNode
{
public ShapeStyleViewModel? Style { get; set; }
public bool ScaleThickness { get; set; }
public bool ScaleS... | #nullable enable
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Style;
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes;
internal abstract class DrawNode : IDrawNode
{
public ShapeStyleViewModel? Style { get; set; }
public bool ScaleThickness { get; set; }
public bool ScaleS... | mit | C# |
e72add7b6795f0bb49ec2feded4264167bccf024 | remove unused using statement | NHSChoices/location-service,NHSChoices/location-service | src/GoatTrip.RestApi/Services/LocationQueryValidator.cs | src/GoatTrip.RestApi/Services/LocationQueryValidator.cs | namespace GoatTrip.RestApi.Services {
public class LocationQueryValidator
: ILocationQueryValidator {
public bool IsValid(string query) {
if (!IsMinumumLength(query))
return false;
return true;
}
private static bool IsMinumumLength(string... | namespace GoatTrip.RestApi.Services {
using Controllers;
public class LocationQueryValidator
: ILocationQueryValidator {
public bool IsValid(string query) {
if (!IsMinumumLength(query))
return false;
return true;
}
private static bool... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.