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
e4fd4728d2e103db74ccbf6b978dde1c40aef417
Fix brazier image loading bug
MoyTW/MTW_AncestorSpirits
Source/MTW_AncestorSpirits/Building_Brazier.cs
Source/MTW_AncestorSpirits/Building_Brazier.cs
using RimWorld; using Verse; using UnityEngine; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MTW_AncestorSpirits { [StaticConstructorOnStartup] class Building_Brazier : Building { private CompFlickable flickableComp; private static Graphi...
using RimWorld; using Verse; using UnityEngine; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MTW_AncestorSpirits { class Building_Brazier : Building { private CompFlickable flickableComp; private static Graphic graphicOn; private stat...
mit
C#
19e8e1eafbc7de491db98290ce27f3c1522146d8
Remove DocumentationRepository NotImplementedException() calls
Ontica/Empiria.Extended
Storage/Integration/DocumentationRepository.cs
Storage/Integration/DocumentationRepository.cs
/* Empiria Storage ******************************************************************************************* * * * Module : Document Management Component : Domain Layer ...
/* Empiria Storage ******************************************************************************************* * * * Module : Document Management Component : Domain Layer ...
agpl-3.0
C#
37803f6362a9055b2020d497dee25a558f200980
Resolve #423 -- Added direction data in coords command (#983)
LeagueSandbox/GameServer
GameServerLib/Chatbox/Commands/CoordsCommand.cs
GameServerLib/Chatbox/Commands/CoordsCommand.cs
using GameServerCore; using LeagueSandbox.GameServer.Logging; using log4net; using System.Numerics; using System; namespace LeagueSandbox.GameServer.Chatbox.Commands { public class CoordsCommand : ChatCommandBase { private readonly ILog _logger; private readonly IPlayerManager _playerManager; ...
using GameServerCore; using LeagueSandbox.GameServer.Logging; using log4net; namespace LeagueSandbox.GameServer.Chatbox.Commands { public class CoordsCommand : ChatCommandBase { private readonly ILog _logger; private readonly IPlayerManager _playerManager; public override string Comma...
agpl-3.0
C#
a24fac79011ccb878da898942ef2e3f94735a559
Update some access modifiers to fix CA1401 violations
EMarshal/LockShowWindowContents
LockShowWindowContents/Helpers/NativeMethods.cs
LockShowWindowContents/Helpers/NativeMethods.cs
// <copyright file="NativeMethods.cs" company="Éli Marshal"> // Copyright (c) Éli Marshal. All rights reserved. // </copyright> namespace LockShowWindowContents.Helpers { using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; /// <summary> /// Contains native methods for Sys...
// <copyright file="NativeMethods.cs" company="Éli Marshal"> // Copyright (c) Éli Marshal. All rights reserved. // </copyright> namespace LockShowWindowContents.Helpers { using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; /// <summary> /// Contains native methods for Sys...
isc
C#
bf3f20a818b5c452da1060780f7a515f172d076e
Write out the number of arguments in the allocate instruction (I think we'll need these)
Logicalshift/Reason
LogicalShift.Reason/Solvers/ClauseCompiler.cs
LogicalShift.Reason/Solvers/ClauseCompiler.cs
using LogicalShift.Reason.Api; using System; using System.Collections.Generic; using System.Linq; namespace LogicalShift.Reason.Solvers { /// <summary> /// Methods for compiling clauses to a bytecode program /// </summary> public static class ClauseCompiler { /// <summary> /// Comp...
using LogicalShift.Reason.Api; using System; using System.Collections.Generic; using System.Linq; namespace LogicalShift.Reason.Solvers { /// <summary> /// Methods for compiling clauses to a bytecode program /// </summary> public static class ClauseCompiler { /// <summary> /// Comp...
apache-2.0
C#
13044abd9a4d3c401d8259af9fef9512faf37f2e
Fix type of the serialized resource version
k-t/SharpHaven
MonoHaven.Lib/Resources/ResourceSerializer.cs
MonoHaven.Lib/Resources/ResourceSerializer.cs
using System; using System.Collections.Generic; using System.IO; using C5; namespace MonoHaven.Resources { public class ResourceSerializer { private const string Signature = "Haven Resource 1"; private readonly TreeDictionary<string, IDataLayerSerializer> serializers; public ResourceSerializer() { seria...
using System; using System.Collections.Generic; using System.IO; using C5; namespace MonoHaven.Resources { public class ResourceSerializer { private const string Signature = "Haven Resource 1"; private readonly TreeDictionary<string, IDataLayerSerializer> serializers; public ResourceSerializer() { seria...
mit
C#
84c0ff1e9cd1a425c67837cb56676ce4ff4052d5
simplify method to fill MongoDB with data
Team-LemonDrop/NBA-Statistics
NBAStatistics.Data.FillMongoDB/FillMongoDB.cs
NBAStatistics.Data.FillMongoDB/FillMongoDB.cs
using MongoDB.Bson; using MongoDB.Driver; using NBAStatistics.Models; using NBAStatistics.Data.FillMongoDB.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBAStatistics.Data.FillMongoDB { public class FillMongoDB { ...
using MongoDB.Bson; using MongoDB.Driver; using NBAStatistics.Models; using NBAStatistics.Data.FillMongoDB.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBAStatistics.Data.FillMongoDB { public class FillMongoDB { ...
mit
C#
d4cb1c078cbfdb409191290015a0bda6e78d08a1
fix StateMachineBuildHierarchy Test
appccelerate/statemachine
source/Appccelerate.StateMachine.Facts/Machine/StateMachineBuildHierarchyTest.cs
source/Appccelerate.StateMachine.Facts/Machine/StateMachineBuildHierarchyTest.cs
//------------------------------------------------------------------------------- // <copyright file="StateMachineBuildHierarchyTest.cs" company="Appccelerate"> // Copyright (c) 2008-2017 Appccelerate // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in...
//------------------------------------------------------------------------------- // <copyright file="StateMachineBuildHierarchyTest.cs" company="Appccelerate"> // Copyright (c) 2008-2017 Appccelerate // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in...
apache-2.0
C#
8df8a167abd82dc53c2a33f0ea8b2326fb8d7855
Update SerializationRestFactory.cs
tiksn/TIKSN-Framework
TIKSN.Core/Web/Rest/SerializationRestFactory.cs
TIKSN.Core/Web/Rest/SerializationRestFactory.cs
using System; using System.Collections.Generic; using TIKSN.Serialization; namespace TIKSN.Web.Rest { public class SerializationRestFactory : ISerializerRestFactory, IDeserializerRestFactory { private readonly IDictionary<string, Tuple<ISerializer<string>, IDeserializer<string>>> map; public S...
using System; using System.Collections.Generic; using TIKSN.Serialization; namespace TIKSN.Web.Rest { public class SerializationRestFactory : ISerializerRestFactory, IDeserializerRestFactory { private readonly IDictionary<string, Tuple<ISerializer<string>, IDeserializer<string>>> map; public S...
mit
C#
7a3cc5207ead6d56ce0d114d8093ca23feb94994
Extend color selector example
residuum/xwt,iainx/xwt,lytico/xwt,hamekoz/xwt,mminns/xwt,mono/xwt,sevoku/xwt,directhex/xwt,steffenWi/xwt,akrisiun/xwt,TheBrainTech/xwt,mminns/xwt,cra0zy/xwt,hwthomas/xwt,antmicro/xwt
TestApps/Samples/Samples/ColorSelectorSample.cs
TestApps/Samples/Samples/ColorSelectorSample.cs
// // ColorSelectorSample.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without r...
// // ColorSelectorSample.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without r...
mit
C#
06606dd8767f3181eb8394d81d6a6c1b904efc96
Fix regression with collection functions (not properly encoding the "IN" portion)
couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net
src/Couchbase.Lite/Query/QueryTernaryExpression.cs
src/Couchbase.Lite/Query/QueryTernaryExpression.cs
// // QueryTernaryExpression.cs // // Author: // Jim Borden <jim.borden@couchbase.com> // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy...
// // QueryTernaryExpression.cs // // Author: // Jim Borden <jim.borden@couchbase.com> // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy...
apache-2.0
C#
2be00db09bfefd185d2f4960152a613f4eb6d06a
remove Destination from connection to make generic
LagoVista/DeviceAdmin
src/LagoVista.IoT.DeviceAdmin/Models/Connection.cs
src/LagoVista.IoT.DeviceAdmin/Models/Connection.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LagoVista.IoT.DeviceAdmin.Models { public class Connection { public String NodeKey { get; set; } public String NodeName { get; set; } public String NodeType { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LagoVista.IoT.DeviceAdmin.Models { public class Connection { public String DestinationKey { get; set; } public String DestinationName { get; set; } public String DestinationType {...
mit
C#
070270f1b2b640a8293a957ca0d77a1c6f8f9405
test - ToClr, FromClr
iolevel/peachpie,peachpiecompiler/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie,peachpiecompiler/peachpie,iolevel/peachpie,iolevel/peachpie,iolevel/peachpie-concept,iolevel/peachpie-concept
src/Tests/Peachpie.Runtime.Tests/PhpValue.Tests.cs
src/Tests/Peachpie.Runtime.Tests/PhpValue.Tests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Pchp.Core; namespace Peachpie.Runtime.Tests { [TestClass] public class PhpValueTest { [TestMethod] public void StringLongConversion() { Assert.AreEqual(Pchp.Core.Convert.StringToLongInteger("1"), 1);...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Pchp.Core; namespace Peachpie.Runtime.Tests { [TestClass] public class PhpValueTest { [TestMethod] public void StringLongConversion() { Assert.AreEqual(Pchp.Core.Convert.StringToLongInteger("1"), 1);...
apache-2.0
C#
5faa74ebca05b9656c1c5fda5e41a6cf419b31d0
Update StructuredLoggerCheckerUtil.cs
jasonmalinowski/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,mavasani/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,...
src/Tools/BuildBoss/StructuredLoggerCheckerUtil.cs
src/Tools/BuildBoss/StructuredLoggerCheckerUtil.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 disable using System; using System.IO; using System.Linq; using Microsoft.Build.Logging.StructuredLogger...
// 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 System; using System.IO; using System.Linq; using Microsoft.Build.Logging.StructuredLogger...
mit
C#
7c6eb461ca925c6eb006f587ca1ad94c6a4f00ef
fix build after merge
dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CM...
src/Umbraco.Core/Packaging/PackageMigrationPlan.cs
src/Umbraco.Core/Packaging/PackageMigrationPlan.cs
using System; using Umbraco.Cms.Core.Composing; using Umbraco.Cms.Core.Migrations; using Umbraco.Extensions; namespace Umbraco.Cms.Core.Packaging { /// <summary> /// Base class for package migration plans /// </summary> public abstract class PackageMigrationPlan : MigrationPlan, IDiscoverable { ...
using System; using Umbraco.Cms.Core.Composing; using Umbraco.Cms.Core.Migrations; using Umbraco.Extensions; namespace Umbraco.Cms.Core.Packaging { /// <summary> /// Base class for package migration plans /// </summary> public abstract class PackageMigrationPlan : MigrationPlan, IDiscoverable { ...
mit
C#
0f6f7428564a2fd3fac0f0ebbc6ada098312415d
apply pattern to switch
bgTeamDev/bgTeam.Core,bgTeamDev/bgTeam.Core
src/bgTeam.Prometheus.Impl/PrometheusExtensions.cs
src/bgTeam.Prometheus.Impl/PrometheusExtensions.cs
using System; using Prometheus; namespace bgTeam.Prometheus.Impl { public static class PrometheusExtensions { public static IDisposable MeasureDuration<T>(this T @this, params string[] labels) where T : Collector { switch (@this) { case Histo...
using System; using Prometheus; namespace bgTeam.Prometheus.Impl { public static class PrometheusExtensions { public static IDisposable MeasureDuration<T>(this T @this, params string[] labels) where T : Collector { switch (typeof(T)) { case T...
mit
C#
2ffa2555550f11fda1988794b2fa72cdf3206bfb
Update Viktor.cs
FireBuddy/adevade
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
mit
C#
329b2468fc874aab65d6afc11f6af0530c8865c9
Allow Extensions for Media
clusta/scaffoldr
ScaffoldR/Media.cs
ScaffoldR/Media.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ScaffoldR { public class Media { [JsonProperty("source")] public string Source { get; set; } [JsonProperty("uri")] public string...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ScaffoldR { public class Media { [JsonProperty("source")] public string Source { get; set; } [JsonProperty("uri")] public string...
apache-2.0
C#
bcc556e7ea8159d9a6e9d522db5fda9befc43d3a
Move details to first column on evals list Fixes #86
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Evaluations/List.cshtml
Battery-Commander.Web/Views/Evaluations/List.cshtml
@model IEnumerable<Evaluation> <h2>Evaluations @Html.ActionLink("Add New", "New", "Evaluations", null, new { @class = "btn btn-default" })</h2> <table class="table table-striped"> <thead> <tr> <th></th> <th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Ratee)</th> <th>@...
@model IEnumerable<Evaluation> <h2>Evaluations @Html.ActionLink("Add New", "New", "Evaluations", null, new { @class = "btn btn-default" })</h2> <table class="table table-striped"> <thead> <tr> <th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Ratee)</th> <th>@Html.DisplayNameFor(_ ...
mit
C#
e70fde432c01b7ff233b3b1a8de7a49a11bdb82f
Change message about AnalysisContext
SpotLabsNET/roslyn-analyzers,qinxgit/roslyn-analyzers,pakdev/roslyn-analyzers,srivatsn/roslyn-analyzers,tmeschter/roslyn-analyzers-1,dotnet/roslyn-analyzers,jasonmalinowski/roslyn-analyzers,mattwar/roslyn-analyzers,Anniepoh/roslyn-analyzers,modulexcite/roslyn-analyzers,natidea/roslyn-analyzers,jaredpar/roslyn-analyzers...
NewAnalyzerTemplate/NewAnalyzerTemplate/NewAnalyzerTemplate/DiagnosticAnalyzer.cs
NewAnalyzerTemplate/NewAnalyzerTemplate/NewAnalyzerTemplate/DiagnosticAnalyzer.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. /*This tutorial is going to guide you to write a diagnostic analyzer that enforces the placement of a single space between the if keyword of an if statement a...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. /*This tutorial is going to guide you to write a diagnostic analyzer that enforces the placement of a single space between the if keyword of an if statement a...
mit
C#
348839846a1acae12393910ef61107122c611a09
increase version
gigya/microdot
SolutionVersion.cs
SolutionVersion.cs
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
apache-2.0
C#
ae891facb7cd003b5d2732a3e2e86455a0cd3e64
Update AngryProfessor.cs
costincaraivan/hackerrank,costincaraivan/hackerrank
algorithms/implementation/C#/AngryProfessor.cs
algorithms/implementation/C#/AngryProfessor.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; class Solution { static void Main(String[] args) { int t = Convert.ToInt32(Console.ReadLine()); for(int a0 = 0; a0 < t; a0++){ string[] tokens_n = Console.ReadLine().Split(' '); int...
mit
C#
3ddefadbe87272ad1f0eff6a743bb8c27d1a67b5
Update SharpVk.Glfw AssemblyInfo
FacticiusVir/SharpVk
SharpVk/SharpVk.Glfw/Properties/AssemblyInfo.cs
SharpVk/SharpVk.Glfw/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("Sh...
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("Sh...
mit
C#
695d4c3173ad1f277c6cb43d955befc014c7c69e
Prepare for next development iteration.
SolinkCorp/Solink.AddIn.Helpers
Solink.AddIn.Helpers/Properties/AssemblyInfo.cs
Solink.AddIn.Helpers/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#
b6788916856c16d1246450bd1308c16c504eb7f9
Update enum for VS 2017
Sam13/cake,cake-build/cake,mholo65/cake,gep13/cake,robgha01/cake,daveaglick/cake,gep13/cake,mholo65/cake,Sam13/cake,vlesierse/cake,cake-build/cake,Julien-Mialon/cake,phenixdotnet/cake,adamhathcock/cake,patriksvensson/cake,robgha01/cake,ferventcoder/cake,devlead/cake,patriksvensson/cake,thomaslevesque/cake,adamhathcock/...
src/Cake.Common/Tools/NuGet/NuGetMSBuildVersion.cs
src/Cake.Common/Tools/NuGet/NuGetMSBuildVersion.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. namespace Cake.Common.Tools.NuGet { /// <summary> /// NuGet MSBuild version /// </summary> public e...
// 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. namespace Cake.Common.Tools.NuGet { /// <summary> /// NuGet MSBuild version /// </summary> public e...
mit
C#
dac9b00b907b1259d45783f05edd011345d02f3c
Update BaseShapeIconConverter.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Converters/BaseShapeIconConverter.cs
src/Core2D/Converters/BaseShapeIconConverter.cs
#nullable enable using System; using System.Globalization; using Avalonia; using Avalonia.Data.Converters; using Core2D.ViewModels.Shapes; namespace Core2D.Converters; public class BaseShapeIconConverter : IValueConverter { public static BaseShapeIconConverter Instance = new(); public object? Convert(object...
#nullable enable using System; using System.Globalization; using Avalonia; using Avalonia.Data.Converters; using Core2D.ViewModels.Shapes; namespace Core2D.Converters; public class BaseShapeIconConverter : IValueConverter { public static BaseShapeIconConverter Instance = new(); public object? Convert(object...
mit
C#
9bdbd17964ea71ea1c51a4b7c94f942483a835ce
Fix setup not being able to start for first 10s
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
Updater/Program.cs
Updater/Program.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Updater { class Program { static void Main(string[] args) { if (args.Length == 0) { T...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Updater { class Program { static void Main(string[] args) { if (args.Length == 0) { T...
mit
C#
8965d1c6f8e2b2bc9d1eb2882b2029769200da4d
Fix spelling of SuccessfulShards in CatSnapshots
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Cat/CatSnapshots/CatSnapshotsRecord.cs
src/Nest/Cat/CatSnapshots/CatSnapshotsRecord.cs
using System.Runtime.Serialization; using Elasticsearch.Net.Utf8Json; namespace Nest { [DataContract] public class CatSnapshotsRecord : ICatRecord { [DataMember(Name ="duration")] public Time Duration { get; set; } [DataMember(Name ="end_epoch")] [JsonFormatter(typeof(StringLongFormatter))] public long ...
using System.Runtime.Serialization; using Elasticsearch.Net.Utf8Json; namespace Nest { [DataContract] public class CatSnapshotsRecord : ICatRecord { [DataMember(Name ="duration")] public Time Duration { get; set; } [DataMember(Name ="end_epoch")] [JsonFormatter(typeof(StringLongFormatter))] public long ...
apache-2.0
C#
8a95913afaaefa158131dd28d966d53d3e8b3125
Fix test
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/UnitTests/GitHub.Exports/VSServicesTests.cs
src/UnitTests/GitHub.Exports/VSServicesTests.cs
using System; using GitHub.Services; using Microsoft.TeamFoundation.Git.Controls.Extensibility; using NSubstitute; using Xunit; public class VSServicesTests { public class TheCloneMethod : TestBaseClass { [Theory] [InlineData(true, CloneOptions.RecurseSubmodule)] [InlineData(false, Clo...
using System; using GitHub.Services; using Microsoft.TeamFoundation.Git.Controls.Extensibility; using NSubstitute; using Xunit; public class VSServicesTests { public class TheCloneMethod : TestBaseClass { [Theory] [InlineData(true, CloneOptions.RecurseSubmodule)] [InlineData(false, Clo...
mit
C#
7ca6e77dd447fdd9bd4d8f4ed4fe5340c6e2cdd1
Correct domain name to example domain
openengsb/loom-csharp
bridge/ServiceTestConsole/Program.cs
bridge/ServiceTestConsole/Program.cs
/*** * Licensed to the Austrian Association for Software Tool Integration (AASTI) * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. The AASTI licenses this file to you under the Apache License, * Version...
/*** * Licensed to the Austrian Association for Software Tool Integration (AASTI) * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. The AASTI licenses this file to you under the Apache License, * Version...
apache-2.0
C#
995c610dcca9b1dfd74af355ea980fcaf5e0f241
mark clock implementations as sealed
alhardy/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,huoxudong125/Metrics.NET,Recognos/Metrics.NET,Recognos/Metrics.NET,DeonHeyns/Metrics.NET,Liwoj/Metrics.NET,ntent-ad/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,huoxudong125...
Src/Metrics/Utils/Clock.cs
Src/Metrics/Utils/Clock.cs
 using System; namespace Metrics.Utils { public abstract class Clock { private sealed class SystemClock : Clock { public override long Nanoseconds { get { return DateTime.UtcNow.Ticks * 100L; } } } public sealed class TestClock : Clock { private...
 using System; namespace Metrics.Utils { public abstract class Clock { private class SystemClock : Clock { public override long Nanoseconds { get { return DateTime.UtcNow.Ticks * 100L; } } } public class TestClock : Clock { private long nanoseco...
apache-2.0
C#
a99d2bb7401915d547b5446d8bb3c837dcc05a26
Update XPathFinder.cs
thelgevold/xpathitup
XPathFinder/XPathFinder.cs
XPathFinder/XPathFinder.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XPathItUp { public class XPathFinder { public static Finder Find { get { Finder finder = new Finder(); return finder; ...
/* Copyright (C) 2010 Torgeir Helgevold This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed ...
mit
C#
842a66aae1045f9df29bbf80bf993ab259962984
change the text a little
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Views/Home/About.cshtml
AstroPhotoGallery/AstroPhotoGallery/Views/Home/About.cshtml
@{ ViewBag.Title = "About"; } <h2>@ViewBag.Title</h2> <br /> <div class="panel panel-default"> <div class="panel-heading resume-heading"> <div class="row"> <div class="col-sm-12"> <div> <div class="well well-sm text-center" style="font-size: 25px; word-w...
@{ ViewBag.Title = "About"; } <h2>@ViewBag.Title</h2> <br /> <div class="panel panel-default"> <div class="panel-heading resume-heading"> <div class="row"> <div class="col-sm-12"> <div> <div class="well well-sm text-center" style="font-size: 25px; word-w...
mit
C#
ee43c3effcd64781e4d9d604385c734af92de91d
Add missing documentation comment.
txdv/CppSharp,SonyaSa/CppSharp,mohtamohit/CppSharp,inordertotest/CppSharp,mydogisbox/CppSharp,ddobrev/CppSharp,zillemarco/CppSharp,ktopouzi/CppSharp,mydogisbox/CppSharp,txdv/CppSharp,xistoso/CppSharp,nalkaro/CppSharp,nalkaro/CppSharp,KonajuGames/CppSharp,SonyaSa/CppSharp,xistoso/CppSharp,mydogisbox/CppSharp,inordertote...
src/Generator/Passes/PassBuilder.cs
src/Generator/Passes/PassBuilder.cs
using System.Collections.Generic; using System.Linq; using CppSharp.Passes; namespace CppSharp { /// <summary> /// This class is used to build passes that will be run against the AST /// that comes from C++. /// </summary> public class PassBuilder { public List<TranslationUnitPass> Pas...
using System.Collections.Generic; using System.Linq; using CppSharp.Passes; namespace CppSharp { /// <summary> /// This class is used to build passes that will be run against the AST /// that comes from C++. /// </summary> public class PassBuilder { public List<TranslationUnitPass> Pas...
mit
C#
b8b869e8b76ce041fb065071cfe637141353f5d2
Remove now unused property
peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,Nabile-Rahmani/osu,smoogipooo/osu,johnneijzen/osu,DrabWeb/osu,EVAST9919/osu,smoogipoo/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,2yangk23/osu,2yangk23/osu,johnneijzen/osu,naoey/osu,UselessToucan/osu,DrabWeb/osu,ZLima12/osu,Frontear/osuKyzer,ZLima12/osu,Useles...
osu.Game.Rulesets.Mania/Beatmaps/StageDefinition.cs
osu.Game.Rulesets.Mania/Beatmaps/StageDefinition.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 osu.Game.Rulesets.Mania.UI; namespace osu.Game.Rulesets.Mania.Beatmaps { /// <summary> /// Defines properties for each stage in a <see cref="Mani...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Mania.UI; namespace osu.Game.Rulesets.Mania.Beatmaps { /// <summary> /// Defines properties for each stage in a <see cref="Mani...
mit
C#
c65f792838e247755ec37e6cb48a7c8ec8586fb0
Refactor TypeRefHash
secana/PeNet
src/PeNet/Header/Net/TypeRefHash.cs
src/PeNet/Header/Net/TypeRefHash.cs
using System; using System.Linq; using System.Security.Cryptography; using System.Text; namespace PeNet.Header.Net { public class TypeRefHash { public MetaDataTablesHdr? MdtHdr { get; } public MetaDataStreamString? MdsStream { get; } public TypeRefHash(MetaDataTablesHdr? mdtHdr, MetaD...
using System; using System.Linq; using System.Security.Cryptography; using System.Text; namespace PeNet.Header.Net { public class TypeRefHash { public MetaDataTablesHdr? MdtHdr { get; } public MetaDataStreamString? MdsStream { get; } public TypeRefHash(MetaDataTablesHdr? mdtHdr, MetaD...
apache-2.0
C#
ad16632c8ebfc781c9cfdd63b7c1080096da2c98
Comment code that should be commented
JetBrains/resharper-workshop,yskatsumata/resharper-workshop,yskatsumata/resharper-workshop,JetBrains/resharper-workshop,gorohoroh/resharper-workshop,gorohoroh/resharper-workshop,yskatsumata/resharper-workshop,gorohoroh/resharper-workshop,JetBrains/resharper-workshop
3-Editing/1-Code_completion/1.3-Smart_completion.cs
3-Editing/1-Code_completion/1.3-Smart_completion.cs
namespace JetBrains.ReSharper.Koans.Editing { // Smart Completion // // Narrows candidates to those that best suit the current context // // Ctrl+Alt+Space (VS) // Ctrl+Shift+Space (IntelliJ) public class SmartCompletion { // 1. Start typing: string s = // Automatic...
namespace JetBrains.ReSharper.Koans.Editing { // Smart Completion // // Narrows candidates to those that best suit the current context // // Ctrl+Alt+Space (VS) // Ctrl+Shift+Space (IntelliJ) public class SmartCompletion { // 1. Start typing: string s = // Automatic...
apache-2.0
C#
da667f5251eec16aefd4b2d254ab76ff363da42f
Update Viktor.cs
FireBuddy/adevade
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
mit
C#
4fc56ab529f0712485922717d6d256ad8f32d2f3
Fix safety test description
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Common/Migrations/Configuration.cs
BatteryCommander.Common/Migrations/Configuration.cs
namespace BatteryCommander.Common.Migrations { using BatteryCommander.Common.Models; using System.Data.Entity.Migrations; internal sealed class Configuration : DbMigrationsConfiguration<BatteryCommander.Common.DataContext> { public Configuration() { AutomaticMigrationsEnable...
namespace BatteryCommander.Common.Migrations { using BatteryCommander.Common.Models; using System.Data.Entity.Migrations; internal sealed class Configuration : DbMigrationsConfiguration<BatteryCommander.Common.DataContext> { public Configuration() { AutomaticMigrationsEnable...
mit
C#
a462d81fef65540afe15e0e772b3276cac320aea
Rename settings to I do nothing
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Shell/Commands/ToolCommands.cs
WalletWasabi.Gui/Shell/Commands/ToolCommands.cs
using System.Composition; using AvalonStudio.Commands; using AvalonStudio.Documents; using AvalonStudio.Extensibility; using AvalonStudio.Shell; using ReactiveUI; using System.IO; using System.Linq; using WalletWasabi.Gui.Tabs.WalletManager; namespace WalletWasabi.Gui.Shell.Commands { internal class ToolCommands { ...
using System.Composition; using AvalonStudio.Commands; using AvalonStudio.Documents; using AvalonStudio.Extensibility; using AvalonStudio.Shell; using ReactiveUI; using System.IO; using System.Linq; using WalletWasabi.Gui.Tabs.WalletManager; namespace WalletWasabi.Gui.Shell.Commands { internal class ToolCommands { ...
mit
C#
5bc04b1402ed49164b5a344946aa5c27d4a9ae6e
Test QuoteConstant will only be for NET35
theraot/Theraot
Tests/System/Linq/Expressions/ExpressionTest_Quote.net35.cs
Tests/System/Linq/Expressions/ExpressionTest_Quote.net35.cs
// <auto-generated /> // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, ...
// <auto-generated /> // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, ...
mit
C#
99b61722383e4f6bfcd260d01ab76e0fad83ee7a
Add Bitrise custom summary draft
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/OutputSinks/BitriseOutputSink.cs
source/Nuke.Common/OutputSinks/BitriseOutputSink.cs
// Copyright 2018 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using JetBrains.Annotations; using Nuke.Common.Utilities; namespace Nuke.Common.OutputSinks { [UsedImplici...
// Copyright 2018 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using JetBrains.Annotations; using Nuke.Common.Utilities; namespace Nuke.Common.OutputSinks { [UsedImplici...
mit
C#
fdaa05460f39fc591394a808b654dcafb4be6d24
Increment assembly version.
MatthewKing/SkypeQuoteCreator
source/SkypeQuoteCreator/Properties/AssemblyInfo.cs
source/SkypeQuoteCreator/Properties/AssemblyInfo.cs
[assembly: System.Reflection.AssemblyTitle("Skype Quote Creator")] [assembly: System.Reflection.AssemblyCompany("Matthew King")] [assembly: System.Reflection.AssemblyProduct("SkypeQuoteCreator")] [assembly: System.Reflection.AssemblyCopyright("Copyright © Matthew King 2013")] [assembly: System.Runtime.InteropServices...
[assembly: System.Reflection.AssemblyTitle("Skype Quote Creator")] [assembly: System.Reflection.AssemblyCompany("Matthew King")] [assembly: System.Reflection.AssemblyProduct("SkypeQuoteCreator")] [assembly: System.Reflection.AssemblyCopyright("Copyright © Matthew King 2013")] [assembly: System.Runtime.InteropServices...
mit
C#
e8843254d3fc421115257ff912a4e08a7e4cf843
Add input management to ShipManager
Voxelgon/Voxelgon,Voxelgon/Voxelgon
Assets/Plugins/Voxelgon/Spacecraft/ShipManager.cs
Assets/Plugins/Voxelgon/Spacecraft/ShipManager.cs
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using Voxelgon; [RequireComponent (typeof (Rigidbody))] public class ShipManager : MonoBehaviour { public float portTransCutoff = 5; //input Variables public float linAxis; public float latAxis; public float yawAxis; ...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using Voxelgon; [RequireComponent (typeof (Rigidbody))] public class ShipManager : MonoBehaviour { public float portTransCutoff = 5; //Setup Variables for gathering Ports public enum Direction{ YawLeft, YawRight, ...
apache-2.0
C#
1e9a5f462ad5e5db4ed29dc9c4c0f477453cbc83
Adjust namespaces for Data.NHibernate4 unit tests.
aranasoft/cobweb
src/Tests/Data.NHibernate4.Tests/CompileTests.cs
src/Tests/Data.NHibernate4.Tests/CompileTests.cs
using System; using System.Data; using System.Linq; using NHibernate; namespace Cobweb.Data.NHibernate.Tests { /// <summary> /// These tests are not executed by NUnit. They are here for compile-time checking. 'If it builds, ship it.' /// </summary> public class CompileTests { internal clas...
using System; using System.Data; using System.Linq; using Cobweb.Data; using Cobweb.Data.NHibernate; using NHibernate; namespace Data.NHibernate.Tests { /// <summary> /// These tests are not executed by NUnit. They are here for compile-time checking. 'If it builds, ship it.' /// </summary> public ...
bsd-3-clause
C#
59d4744c84c2fa35b26b54722f0c9f650587e9e5
Extend the boxing/unboxing test with a primitive value unbox
jonathanvdc/ecsc
tests/cs/boxing/Boxing.cs
tests/cs/boxing/Boxing.cs
using System; public struct Foo : ICloneable { public int CloneCounter { get; private set; } public object Clone() { CloneCounter++; return this; } } public static class Program { public static ICloneable BoxAndCast<T>(T Value) { return (ICloneable)Value; } pu...
using System; public struct Foo : ICloneable { public int CloneCounter { get; private set; } public object Clone() { CloneCounter++; return this; } } public static class Program { public static ICloneable BoxAndCast<T>(T Value) { return (ICloneable)Value; } pu...
mit
C#
48887ebf49e0bdd33581bb587385bc63897a7e57
Fix issue with test class
generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork
Smoother.IoC.Dapper.Repository.UnitOfWork.Tests/TestClasses/Migrations/MigrateDb.cs
Smoother.IoC.Dapper.Repository.UnitOfWork.Tests/TestClasses/Migrations/MigrateDb.cs
using System.Data; using System.Data.SQLite; using System.Reflection; using FakeItEasy; using FakeItEasy.Core; using SimpleMigrations; using SimpleMigrations.VersionProvider; using Smoother.IoC.Dapper.Repository.UnitOfWork.Data; using Smoother.IoC.Dapper.Repository.UnitOfWork.UoW; namespace Smoother.IoC.Dapper.FastCR...
using System.Data; using System.Data.SQLite; using System.Reflection; using FakeItEasy; using FakeItEasy.Core; using SimpleMigrations; using SimpleMigrations.VersionProvider; using Smoother.IoC.Dapper.Repository.UnitOfWork.Data; using Smoother.IoC.Dapper.Repository.UnitOfWork.UoW; namespace Smoother.IoC.Dapper.FastCR...
mit
C#
3e37ac8e84045cab392cb877506eaa0df3a44cfb
Prepare for next release
Puzzlepart/PnP-Sites-Core,comblox/PnP-Sites-Core,comblox/PnP-Sites-Core,PieterVeenstra/PnP-Sites-Core,phillipharding/PnP-Sites-Core,m-carter1/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,Puzzlepart/PnP-Sites-Core,m-carter1/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,phillipharding/PnP-Sites-Core,Oad...
Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs
Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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. [asse...
using System.Reflection; using System.Resources; 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. [asse...
mit
C#
440cf8d2f54e9df44080923f458b3db272cf35b0
Remove not used import
Lc5/CurrencyRates,Lc5/CurrencyRates,Lc5/CurrencyRates
CurrencyRates.Web/Installers/ContextInstaller.cs
CurrencyRates.Web/Installers/ContextInstaller.cs
namespace CurrencyRates.Web.Installers { using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using CurrencyRates.Model; public class ContextInstaller : IWindsorInstaller { public void Install(IWindsorContainer conta...
namespace CurrencyRates.Web.Installers { using Castle.Facilities.WcfIntegration; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using CurrencyRates.Model; public class ContextInstaller : IWindsorInstaller { ...
mit
C#
25ad63d7fa6a892616aff6622c2f297fb8362a7a
Extend the indexing test
jonathanvdc/ecsc
tests/cs/index/Index.cs
tests/cs/index/Index.cs
using System; using System.Collections.Generic; public static class Program { public static void Main() { int[] arr = new int[1]; arr[0] = 1; Console.WriteLine(arr[0]); var list = new List<int>() { 0 }; list[0] = 1; Console.WriteLine(list[0]); } }
using System; public static class Program { public static void Main() { int[] arr = new int[1]; arr[0] = 1; Console.WriteLine(arr[0]); } }
mit
C#
4fb2c2d6cc731e990880acda7a8492ccf8c99e03
Modify mappings for Departments
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.Services/Departments/DepartmentsMappings.cs
src/Diploms.Services/Departments/DepartmentsMappings.cs
using AutoMapper; using Diploms.Core; using Diploms.Dto.Departments; namespace Diploms.Services.Departments { public class DepartmentsMappings : Profile { public DepartmentsMappings() { CreateMap<DepartmentEditDto, Department>(); CreateMap<Department, DepartmentEditDto>(...
using AutoMapper; using Diploms.Core; using Diploms.Dto.Departments; namespace Diploms.Services.Departments { public class DepartmentsMappings : Profile { public DepartmentsMappings() { CreateMap<DepartmentEditDto, Department>(); } } }
mit
C#
3c62b9c84bb9a8164efd2f63c30c38f54d31f653
Fix NH-2840 - SetFirstResult and SetMaxResults do not work correctly on Oracle (ODP.NET)
ngbrown/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,lnu/nhibernate-core,hazzik/nhibernate-core,fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,lnu/nhibernate-core,nhibernate/nhibernate-core,alobakov/nhibernate-core,alobakov/...
src/NHibernate/Param/QueryTakeParameterSpecification.cs
src/NHibernate/Param/QueryTakeParameterSpecification.cs
using System; using System.Collections.Generic; using System.Data; using System.Linq; using NHibernate.Engine; using NHibernate.SqlCommand; using NHibernate.Type; namespace NHibernate.Param { /// <summary> /// Autogenerated parameter for <see cref="IQuery.SetMaxResults"/>. /// </summary> public class QueryTakePara...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using NHibernate.Engine; using NHibernate.SqlCommand; using NHibernate.Type; namespace NHibernate.Param { /// <summary> /// Autogenerated parameter for <see cref="IQuery.SetMaxResults"/>. /// </summary> public class ...
lgpl-2.1
C#
6d539f72447d99e8b18bcd05359834e32faf75fa
Change "Folder Watcher" widget default size
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/FolderWatcher/Settings.cs
DesktopWidgets/Widgets/FolderWatcher/Settings.cs
using System; using System.ComponentModel; using DesktopWidgets.Classes; namespace DesktopWidgets.Widgets.FolderWatcher { public class Settings : WidgetSettingsBase, IEventWidget { public Settings() { Width = 384; Height = 216; } [Category("General")] ...
using System; using System.ComponentModel; using DesktopWidgets.Classes; namespace DesktopWidgets.Widgets.FolderWatcher { public class Settings : WidgetSettingsBase, IEventWidget { [Category("General")] [DisplayName("Folder Check Interval")] public TimeSpan FolderCheckInterval { get; s...
apache-2.0
C#
37611b467b6dec0f659eee2b9b127170668e0e97
Repair error in Console Writeline
pkindalov/beginner_exercises
DisplayCurrentTime/DisplayCurrentTime/Program.cs
DisplayCurrentTime/DisplayCurrentTime/Program.cs
using System; class Program { static void Main() { Console.WriteLine(DateTime.Now); } }
using System; class Program { static void Main() { Console.WriteLine("Hello, C#!"); } }
mit
C#
9161300ea8f1ab11b3c594b84c706b80dcc8e742
Allow internal classes to set the value of a XmlNode.
nohros/must,nohros/must,nohros/must
src/base/common/configuration/common/XmlElementsNode.cs
src/base/common/configuration/common/XmlElementsNode.cs
using System; using System.Xml; namespace Nohros.Configuration { /// <summary> /// Provides a default implementation of the <see cref="IXmlElementsNode"/> /// interface. /// </summary> public partial class XmlElementsNode : AbstractHierarchicalConfigurationNode, IX...
using System; using System.Xml; namespace Nohros.Configuration { /// <summary> /// Provides a default implementation of the <see cref="IXmlElementsNode"/> /// interface. /// </summary> public partial class XmlElementsNode : AbstractHierarchicalConfigurationNode, IX...
mit
C#
786da529363496eb6acfb1d5edad33351abecf44
Add Reset event to Form
praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui
Ooui/Form.cs
Ooui/Form.cs
using System; namespace Ooui { public class Form : Element { public event EventHandler Submitted { add => AddEventListener ("submit", value); remove => RemoveEventListener ("submit", value); } public event EventHandler Reset { add => AddEventListener...
using System; namespace Ooui { public class Form : Element { public event EventHandler Submitted { add => AddEventListener ("submit", value); remove => RemoveEventListener ("submit", value); } public Form () : base ("form") { } } ...
mit
C#
fd7107667471ab7fb47d1fa53eeccdf18d18f5c9
Improve zoom panning
EvanHahn/Unity-RTS-camera
RTSCamera.cs
RTSCamera.cs
using UnityEngine; using System.Collections; public class RTSCamera : MonoBehaviour { public bool disablePanning = false; public bool disableSelect = false; public bool disableZoom = false; public float maximumZoom = 1f; public float minimumZoom = 20f; public Color selectColor = Color.green; public float sel...
using UnityEngine; using System.Collections; public class RTSCamera : MonoBehaviour { public bool disablePanning = false; public bool disableSelect = false; public float maximumZoom = 1f; public float minimumZoom = 20f; public Color selectColor = Color.green; public float selectLineWidth = 2f; private reado...
mit
C#
c809b662c08b0c843d3b8d2360ddd027e93b0dcc
Add remarks about non-UI thread
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.Exports/Services/ITeamExplorerContext.cs
src/GitHub.Exports/Services/ITeamExplorerContext.cs
using System; using System.ComponentModel; using GitHub.Models; namespace GitHub.Services { /// <summary> /// Responsible for watching the active repository in Team Explorer. /// </summary> /// <remarks> /// A <see cref="PropertyChanged"/> event is fired when moving to a new repository. /// A ...
using System; using System.ComponentModel; using GitHub.Models; namespace GitHub.Services { /// <summary> /// Responsible for watching the active repository in Team Explorer. /// </summary> /// <remarks> /// A <see cref="PropertyChanged"/> event is fired when moving to a new repository. /// A ...
mit
C#
4db6c08be5d9c903daffc8141e133c24f945171f
remove superfluous test
Pondidum/Jess,Pondidum/Jess
Jess.Tests/Acceptance/Hydration/WhenHydrating.cs
Jess.Tests/Acceptance/Hydration/WhenHydrating.cs
using System.Net.Http; using Jess.Tests.Util; using Shouldly; using Xunit; namespace Jess.Tests.Acceptance.Hydration { public class WhenHydrating : AcceptanceBase { public WhenHydrating() { Remote.RespondsTo( "/candidate/ref/123", request => new DehydratedResponse(Resource.PersonWithOneRef)); Rem...
using System.Net.Http; using Jess.Tests.Util; using Shouldly; using Xunit; namespace Jess.Tests.Acceptance.Hydration { public class WhenHydrating : AcceptanceBase { public WhenHydrating() { Remote.RespondsTo( "/candidate/ref/123", request => new DehydratedResponse(Resource.PersonWithOneRef)); Rem...
lgpl-2.1
C#
6a80922767f0088a750efe3820017bb2a891ba94
Delete stuff
TeamLeoTolstoy/Leo
Game/StopTheBunny/Score.cs
Game/StopTheBunny/Score.cs
namespace StopTheBunny { using System; public class Score { private int scorePoints; public Score() { } public Score(int score) { this.ScorePoints = score; } public int ScorePoints { get { ...
namespace StopTheBunny { using System; public class Score { private int scorePoints; public Score() { } public Score(int score) { this.ScorePoints = score; } public int ScorePoints { get { ...
mit
C#
6fbf25e8f6c60665f3951abe3c2d94f8a9734898
reduce looping, use defaultInstanceCreator on null param
Pondidum/Finite,Pondidum/Finite
Finite/StateProviders/ManualStateProvider.cs
Finite/StateProviders/ManualStateProvider.cs
using System; using System.Collections.Generic; using System.Linq; using Finite.Infrastructure; using Finite.InstanceCreators; namespace Finite.StateProviders { public class ManualStateProvider<T> : IStateProvider<T> { private readonly IInstanceCreator _instanceCreator; private readonly IDictionary<Type, State<T...
using System; using System.Collections.Generic; using System.Linq; using Finite.Infrastructure; using Finite.InstanceCreators; namespace Finite.StateProviders { public class ManualStateProvider<T> : IStateProvider<T> { private readonly IInstanceCreator _instanceCreator; private readonly IDictionary<Type, State<T...
lgpl-2.1
C#
0ccfa73a6a1e51ab01ec0ff8f0b8e7a916cf36f2
Add bindings in settings viewmodel for user alert
dukemiller/twitch-tv-viewer
twitch-tv-viewer/ViewModels/SettingsViewModel.cs
twitch-tv-viewer/ViewModels/SettingsViewModel.cs
using System; using System.Collections.ObjectModel; using System.Windows.Input; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using twitch_tv_viewer.Repositories; namespace twitch_tv_viewer.ViewModels { internal class SettingsViewModel : ViewModelBase { private ObservableCollection<strin...
using System; using System.Collections.ObjectModel; using System.Windows.Input; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using twitch_tv_viewer.Repositories; namespace twitch_tv_viewer.ViewModels { internal class SettingsViewModel : ViewModelBase { private ObservableCollection<strin...
mit
C#
32325a28b410cab11b5f9c9ad995bcac881d58e0
update project version
hermsdorff/ODataSelectToWebAPI,hermsdorff/ODataSelectToWebAPI
ODataSelectForWebAPI1/Properties/AssemblyInfo.cs
ODataSelectForWebAPI1/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("OD...
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("OD...
bsd-3-clause
C#
12548e04cb10199151cdaf85b01fcaf393bca3b7
Make GetAndFlatten public
gdziadkiewicz/octokit.net,dampir/octokit.net,adamralph/octokit.net,fffej/octokit.net,octokit-net-test/octokit.net,M-Zuber/octokit.net,mminns/octokit.net,kdolan/octokit.net,TattsGroup/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,SLdragon1989/octokit.net,dlsteuer/octokit.net,gdziadkiewicz/octokit.net,octokit/oct...
Octokit.Reactive/Helpers/ConnectionExtensions.cs
Octokit.Reactive/Helpers/ConnectionExtensions.cs
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; namespace Octokit.Reactive.Internal { public static class ConnectionExtensions { public static IObservable<T> GetAndFlattenAllPages<T>(this IConnection connection, Uri url) { ...
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; namespace Octokit.Reactive.Internal { internal static class ConnectionExtensions { public static IObservable<T> GetAndFlattenAllPages<T>(this IConnection connection, Uri url, IDictionary<...
mit
C#
04c562014eea077b581fb1a7d4c05695789839f8
check string for CoordinateFormatter
CGX-GROUP/DotSpatial,CGX-GROUP/DotSpatial,CGX-GROUP/DotSpatial
Source/DotSpatial.Controls/CoordinateFormatter.cs
Source/DotSpatial.Controls/CoordinateFormatter.cs
using System; using System.Text.RegularExpressions; using DotSpatial.Serialization; using GeoAPI.Geometries; namespace DotSpatial.Controls { public class CoordinateFormatter : SerializationFormatter { public override object FromString(string value) { value = value.Trim(); ...
using System; using DotSpatial.Serialization; using GeoAPI.Geometries; namespace DotSpatial.Controls { public class CoordinateFormatter : SerializationFormatter { public override object FromString(string value) { var xyzm = value.Split(','); double x = parse(xyzm[0]); ...
mit
C#
8d787c688e2b0b06e4e3f05922d4a4696cdea610
set event fire date to datetime.now
albx/CorePatterns
src/CorePatterns/Events/DomainEvent.cs
src/CorePatterns/Events/DomainEvent.cs
using System; namespace CorePatterns.Events { /// <summary> /// Represents a generic domain event /// </summary> public abstract class DomainEvent { /// <summary> /// Get the aggregate's id which raise the event /// </summary> public Guid AggregateId { get; } ...
using System; namespace CorePatterns.Events { /// <summary> /// Represents a generic domain event /// </summary> public abstract class DomainEvent { /// <summary> /// Get the aggregate's id which raise the event /// </summary> public Guid AggregateId { get; } ...
mit
C#
21a0b6bdfdcae74a9923632187e3d4d49c258a2a
add missing fields to seal status
rajanadar/VaultSharp
src/VaultSharp/Backends/System/Models/SealStatus.cs
src/VaultSharp/Backends/System/Models/SealStatus.cs
using Newtonsoft.Json; namespace VaultSharp.Backends.System.Models { /// <summary> /// Represents the Seal status of the Vault. /// </summary> public class SealStatus { /// <summary> /// Gets or sets a value indicating about the <see cref="SealStatus"/>. /// </summary> ...
using Newtonsoft.Json; namespace VaultSharp.Backends.System.Models { /// <summary> /// Represents the Seal status of the Vault. /// </summary> public class SealStatus { /// <summary> /// Gets or sets a value indicating about the <see cref="SealStatus"/>. /// </summary> ...
apache-2.0
C#
0032f358fb95647936eee1a0e3c9208ee9a98454
Fix Mahmoud Ali author filter (#400)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/MahmoudAli.cs
src/Firehose.Web/Authors/MahmoudAli.cs
using Firehose.Web.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ServiceModel.Syndication; namespace Firehose.Web.Authors { public class MahmoudAli : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Mahmoud"; ...
using Firehose.Web.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ServiceModel.Syndication; namespace Firehose.Web.Authors { public class MahmoudAli : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Mahmoud"; ...
mit
C#
e6bcea5f7e9117bffd083a2143bf7550dbc73c9c
Remove unused class variable
schwamster/HttpService,schwamster/HttpService
src/HttpService/HttpService.cs
src/HttpService/HttpService.cs
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using System.Net.Http; using Microsoft.AspNetCore.Authentication; namespace HttpService { public class HttpService : IHttpService { private readonly IContextReader _tokenExtractor; private HttpClient _client; public HttpService(IHttpContextAccess...
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using System.Net.Http; using Microsoft.AspNetCore.Authentication; namespace HttpService { public class HttpService : IHttpService { private readonly IContextReader _tokenExtractor; private HttpClient _tracedClient; private HttpClient _client; p...
mit
C#
29d6d939f65223c05d1f8befa533e8de9fc13073
Remove new line.
sharwell/roslyn,KirillOsenkov/roslyn,abock/roslyn,khyperia/roslyn,heejaechang/roslyn,cston/roslyn,wvdd007/roslyn,DustinCampbell/roslyn,weltkante/roslyn,pdelvo/roslyn,jkotas/roslyn,shyamnamboodiripad/roslyn,tvand7093/roslyn,mgoertz-msft/roslyn,MattWindsor91/roslyn,kelltrick/roslyn,MichalStrehovsky/roslyn,davkean/roslyn,...
src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorage.cs
src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorage.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.IO; using System.Threading; using System.Threading.Tasks; namespace Microsoft.CodeAnalysis.Host { public interface IPersisten...
// 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.IO; using System.Threading; using System.Threading.Tasks; namespace Microsoft.CodeAnalysis.Host { public interface IPersiste...
mit
C#
ce2630e984c0b6179f6cdb1349b0a141d4796398
move to 3.9.9.4
MutonUfoAI/pgina,daviddumas/pgina,daviddumas/pgina,daviddumas/pgina,MutonUfoAI/pgina,MutonUfoAI/pgina
Plugins/pgSMB2/pgSMB2/Properties/AssemblyInfo.cs
Plugins/pgSMB2/pgSMB2/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: As...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: As...
bsd-3-clause
C#
e41c1d077038219a01fa2b4fef7f49944ec57ee1
Fix the handler to allow it usage with httpclientfactory
criteo/zipkin4net,criteo/zipkin4net
Src/zipkin4net/Src/Transport/Http/TracingHandler.cs
Src/zipkin4net/Src/Transport/Http/TracingHandler.cs
using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using zipkin4net.Propagation; namespace zipkin4net.Transport.Http { public class TracingHandler : DelegatingHandler { private readonly IInjector<HttpHeaders> _injector; private readonly string _se...
using System; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using zipkin4net.Propagation; namespace zipkin4net.Transport.Http { public class TracingHandler : DelegatingHandler { private readonly IInjector<HttpHeaders> _injector; private readonly string _se...
apache-2.0
C#
bbb35a9e939cc19ac6070f7679d680191407921e
Fix formatting.
ridercz/ValidationToolkit
Altairis.ValidationToolkit/YearOffsetAttribute.cs
Altairis.ValidationToolkit/YearOffsetAttribute.cs
using System; using System.ComponentModel.DataAnnotations; namespace Altairis.ValidationToolkit { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public sealed class YearOffsetAttribute : ValidationAttribute { public YearOffsetAttribute(int beforeCurrent, int afterCurrent, Func<str...
using System; using System.ComponentModel.DataAnnotations; namespace Altairis.ValidationToolkit { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public sealed class YearOffsetAttribute : ValidationAttribute { public YearOffsetAttribute(int beforeCurrent, int afterCurrent, Func<str...
mit
C#
dd6052b1696cf890e0d91e5daccf9414587e1005
Remove Id from ICommand
kennytordeur/CQRS
src/Torken.CQRS.Interfaces/ICommand.cs
src/Torken.CQRS.Interfaces/ICommand.cs
namespace Torken.CQRS.Interfaces { public interface ICommand { } }
using System; namespace Torken.CQRS.Interfaces { public interface ICommand { Guid Id { get; } } }
mit
C#
c8fc4d9e44889d9730866b6bcca68bf055c54fc7
Bump version to 0.4.5
fsprojects/Paket.VisualStudio,mrinaldi/Paket.VisualStudio,baronfel/Paket.VisualStudio,hmemcpy/Paket.VisualStudio
src/Paket.VisualStudio/Properties/AssemblyInfo.cs
src/Paket.VisualStudio/Properties/AssemblyInfo.cs
// <auto-generated/> using System.Reflection; using System.Runtime.CompilerServices; [assembly: InternalsVisibleToAttribute("Paket.VisualStudio.Tests")] [assembly: AssemblyTitleAttribute("Paket.VisualStudio")] [assembly: AssemblyProductAttribute("Paket.VisualStudio")] [assembly: AssemblyDescriptionAttribute("Manage y...
// <auto-generated/> using System.Reflection; using System.Runtime.CompilerServices; [assembly: InternalsVisibleToAttribute("Paket.VisualStudio.Tests")] [assembly: AssemblyTitleAttribute("Paket.VisualStudio")] [assembly: AssemblyProductAttribute("Paket.VisualStudio")] [assembly: AssemblyDescriptionAttribute("Manage y...
mit
C#
8e59a019b50c428fb50478c292c96b1a7cd57aa4
Update GameMaster.cs
erdenbatuhan/Venture
Assets/Scripts/GameMaster.cs
Assets/Scripts/GameMaster.cs
// // GameMaster.cs // Venture // // Created by Batuhan Erden. // Copyright © 2016 Batuhan Erden. All rights reserved. // using UnityEngine; using System.Collections; using System.Collections.Generic; public class GameMaster : MonoBehaviour { private const int COIN_VALUE = 1; public const string CONSOLE_INITI...
// // GameMaster.cs // A Vaila Ball - Computer // // Created by Batuhan Erden. // Copyright © 2016 Batuhan Erden. All rights reserved. // using UnityEngine; using System.Collections; using System.Collections.Generic; public class GameMaster : MonoBehaviour { private const int COIN_VALUE = 1; public const stri...
mit
C#
f77e60d90b4f04c768feee6ca380a7621e150aaf
Update Knight.cs (#42)
BosslandGmbH/BuddyWing.DefaultCombat
trunk/DefaultCombat/Routines/Basic/Knight.cs
trunk/DefaultCombat/Routines/Basic/Knight.cs
// Copyright (C) 2011-2016 Bossland GmbH // See the file LICENSE for the source code's detailed license using Buddy.BehaviorTree; using DefaultCombat.Core; using DefaultCombat.Helpers; namespace DefaultCombat.Routines { public class Knight : RotationBase { public override string Name { get { re...
// Copyright (C) 2011-2016 Bossland GmbH // See the file LICENSE for the source code's detailed license using Buddy.BehaviorTree; using DefaultCombat.Core; using DefaultCombat.Helpers; namespace DefaultCombat.Routines { public class Knight : RotationBase { public override string Name { get { re...
apache-2.0
C#
4dc0b83b280395bc114c5530fa9843a244804f9b
Add commandline switch to benchmark to avoid need for rebuilds
andrasm/prometheus-net
Benchmark.NetCore/Program.cs
Benchmark.NetCore/Program.cs
using BenchmarkDotNet.Running; namespace Benchmark.NetCore { internal class Program { private static void Main(string[] args) { // Give user possibility to choose which benchmark to run. // Can be overridden from the command line with the --filter option. ne...
using BenchmarkDotNet.Running; namespace Benchmark.NetCore { internal class Program { private static void Main(string[] args) { //BenchmarkRunner.Run<MetricCreationBenchmarks>(); //BenchmarkRunner.Run<SerializationBenchmarks>(); //BenchmarkRunner.Run<LabelBe...
mit
C#
7bf7e9ab16c68f00e49bc45748c65707150a8de5
Check for invalid chars in uploaded file name - Resolves #579
n2cms/n2cms,VoidPointerAB/n2cms,EzyWebwerkstaden/n2cms,DejanMilicic/n2cms,n2cms/n2cms,nicklv/n2cms,nimore/n2cms,nimore/n2cms,SntsDev/n2cms,nimore/n2cms,EzyWebwerkstaden/n2cms,DejanMilicic/n2cms,EzyWebwerkstaden/n2cms,SntsDev/n2cms,nicklv/n2cms,bussemac/n2cms,VoidPointerAB/n2cms,bussemac/n2cms,bussemac/n2cms,SntsDev/n2c...
src/Framework/N2/Configuration/RootFileSystemFolderCollection.cs
src/Framework/N2/Configuration/RootFileSystemFolderCollection.cs
using System.Collections.Generic; using System.Configuration; using System.Text.RegularExpressions; using System.Web; using System.Web.Hosting; namespace N2.Configuration { [ConfigurationCollection(typeof(FolderElement))] public class RootFileSystemFolderCollection : FileSystemFolderCollection { ...
using System.Collections.Generic; using System.Configuration; using System.Text.RegularExpressions; namespace N2.Configuration { [ConfigurationCollection(typeof(FolderElement))] public class RootFileSystemFolderCollection : FileSystemFolderCollection { public RootFileSystemFolderCollection...
lgpl-2.1
C#
c4efc8121f4f3ccf9e38710cbfcca43ebed18ec5
Increase the default Cloud Files connection limit
rackerlabs/rax-vsix
Rackspace.VisualStudio.CloudExplorer/Files/CloudFilesEndpointNode.cs
Rackspace.VisualStudio.CloudExplorer/Files/CloudFilesEndpointNode.cs
namespace Rackspace.VisualStudio.CloudExplorer.Files { using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.VSDesigner.ServerExplorer; using net.openstack.Core.Domain; using net.openstack.Providers.Rackspace; public class...
namespace Rackspace.VisualStudio.CloudExplorer.Files { using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.VSDesigner.ServerExplorer; using net.openstack.Core.Domain; using net.openstack.Providers.Rackspace; public class...
apache-2.0
C#
40dcddb49a9b2b7e094d79fed4ae8d79e895e3f4
fix print typo and fix issue where path change could be the first one, being index 0, we therefore need the error case to be -1
Willster419/RelicModManager,Willster419/RelhaxModpack,Willster419/RelhaxModpack
RelhaxModpack/RelhaxModpack/Automation/AutomationCompareDirectory.cs
RelhaxModpack/RelhaxModpack/Automation/AutomationCompareDirectory.cs
using RelhaxModpack.Utilities.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RelhaxModpack.Automation.Tasks { public class AutomationCompareDirectory : AutomationCompare { public AutomationCompareDirectory(string dir...
using RelhaxModpack.Utilities.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RelhaxModpack.Automation.Tasks { public class AutomationCompareDirectory : AutomationCompare { public AutomationCompareDirectory(string dir...
apache-2.0
C#
cf09805f8baf075a1b54cab37cab0920a83f4fda
Resolve #17
Seaal/disclose
src/Disclose/IDataStore.cs
src/Disclose/IDataStore.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Disclose.DiscordClient; namespace Disclose { public interface IDataStore { Task<TData> GetServerData<TData>(IServer server, string key); Task SetServerData<TData>(IServer server, string key, ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Disclose.DiscordClient; namespace Disclose { public interface IDataStore { TData GetServerData<TData>(IServer server, string key); void SetServerData<TData>(IServer server, string key, TData ...
mit
C#
7ac6edcb667c3acdb2ed9f0ad6c1843eede9ed8e
Make fields private
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/DrawDemo/DrawCanvas.cs
src/DrawDemo/DrawCanvas.cs
using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; namespace DrawDemo { public class DrawCanvas : Canvas { private bool _draw = false; private Point _point; protected override void OnMouseEnter(MouseEventArgs e) { ...
using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; namespace DrawDemo { public class DrawCanvas : Canvas { bool _draw = false; Point _point; protected override void OnMouseEnter(MouseEventArgs e) { base.OnMo...
mit
C#
3d8d3c8518d41eb8288c3fde3d81d3bf2e3eb74d
Add code for animation switching
Barleytree/NitoriWare,uulltt/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,plrusek/NitoriWare
Assets/Resources/Microgames/RockBand/Scripts/RockBandContoller.cs
Assets/Resources/Microgames/RockBand/Scripts/RockBandContoller.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RockBandContoller : MonoBehaviour { public static RockBandContoller instance; public RockBandNote[] notes; public Animator kyoani; private State state; public enum State { Default, Victory, Failure, Hit } vo...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RockBandContoller : MonoBehaviour { public static RockBandContoller instance; public RockBandNote[] notes; public State state; public enum State { Default, Victory, Failure } void Awake() { instance = this; ...
mit
C#
237a8040255473a81c68c5d01191eaf896ccb8ab
Simplify AddAuthentication call
JasonBock/csla,rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,JasonBock/csla,MarimerLLC/csla,rockfordlhotka/csla,JasonBock/csla
Samples/ProjectTracker/ProjectTracker.Ui.Blazor.Server/Startup.cs
Samples/ProjectTracker/ProjectTracker.Ui.Blazor.Server/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Csla.Blazor; using Csla.Configuration; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Authorization;...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Csla.Blazor; using Csla.Configuration; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Authorization;...
mit
C#
782b158852aa5bc9cceae37be4f9f282666009a2
Update Elise.cs
metaphorce/leaguesharp
MetaSmite/Champions/Elise.cs
MetaSmite/Champions/Elise.cs
using System; using LeagueSharp; using LeagueSharp.Common; using SharpDX; namespace MetaSmite.Champions { public static class Elise { internal static Spell champSpell; private static Menu Config = MetaSmite.Config; private static double totalDamage; private static double spellD...
using System; using LeagueSharp; using LeagueSharp.Common; using SharpDX; namespace MetaSmite.Champions { public static class Elise { internal static Spell champSpell; private static Menu Config = MetaSmite.Config; private static double totalDamage; private static double spellD...
mit
C#
708e4238d4c31696da3673f85ef509794e6fd1a1
Remove missed empty xml comment.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/EncoderBase.cs
WalletWasabi/Gma/QrCodeNet/Encoding/DataEncodation/EncoderBase.cs
namespace Gma.QrCodeNet.Encoding.DataEncodation { public abstract class EncoderBase { internal EncoderBase() { } protected virtual int GetDataLength(string content) => content.Length; /// <summary> /// Returns the bit representation of input data. /// </summary> internal abstract BitList GetDataBits...
namespace Gma.QrCodeNet.Encoding.DataEncodation { public abstract class EncoderBase { internal EncoderBase() { } protected virtual int GetDataLength(string content) => content.Length; /// <summary> /// Returns the bit representation of input data. /// </summary> internal abstract BitList GetDataBits...
mit
C#
3fde05d6550f1ed792cf2736f2d989de60b47537
fix comment
Tom94/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framewo...
osu.Framework/Input/Bindings/IScrollBindingHandler.cs
osu.Framework/Input/Bindings/IScrollBindingHandler.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 namespace osu.Framework.Input.Bindings { /// <summary> /// A drawable that handles scroll actions. /// </summary> /// <typeparam name="T">The t...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE namespace osu.Framework.Input.Bindings { /// <summary> /// A drawable that handles mouse wheel actions. /// </summary> /// <typeparam name="T">...
mit
C#
83d8153c164c99069f131a95bca6e1238264f171
Make TestCaseSmoothedEdges rotation frame-rate independent
EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework
osu.Framework.Tests/Visual/TestCaseSprites/TestCaseSmoothedEdges.cs
osu.Framework.Tests/Visual/TestCaseSprites/TestCaseSmoothedEdges.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.Shapes; using osu.Framework.Graphics.Sprites; using osu.Framework.Testing; using osuTK; using osuTK.Graphics; ...
// 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.Shapes; using osu.Framework.Graphics.Sprites; using osu.Framework.Testing; using osuTK; using osuTK.Graphics; ...
mit
C#
98f3810a4276caa0bef6adf95499288b7f0a6398
Correct namespace of DotConnnectOracleDbFactory
spaccabit/fluentmigrator,vgrigoriu/fluentmigrator,dealproc/fluentmigrator,schambers/fluentmigrator,DefiSolutions/fluentmigrator,lcharlebois/fluentmigrator,MetSystem/fluentmigrator,IRlyDontKnow/fluentmigrator,mstancombe/fluentmig,drmohundro/fluentmigrator,tommarien/fluentmigrator,akema-fr/fluentmigrator,spaccabit/fluent...
src/FluentMigrator.Runner/Processors/DotConnectOracle/DotConnectOracleDbFactory.cs
src/FluentMigrator.Runner/Processors/DotConnectOracle/DotConnectOracleDbFactory.cs
#region License // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // /...
#region License // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2....
apache-2.0
C#
6a0ae974de25258e91573ffbd395e681349a6243
remove unused fields
gregsochanik/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,knocte/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wr...
src/SevenDigital.Api.Wrapper.Unit.Tests/EndpointResolution/OAuth/UrlSignerTests.cs
src/SevenDigital.Api.Wrapper.Unit.Tests/EndpointResolution/OAuth/UrlSignerTests.cs
using System; using System.Collections.Generic; using FakeItEasy; using NUnit.Framework; using SevenDigital.Api.Wrapper.EndpointResolution.OAuth; namespace SevenDigital.Api.Wrapper.Unit.Tests.EndpointResolution.OAuth { [TestFixture] public class UrlSignerTests { private string _consumerKey = "key"; ...
using System; using System.Collections.Generic; using FakeItEasy; using NUnit.Framework; using SevenDigital.Api.Wrapper.EndpointResolution.OAuth; namespace SevenDigital.Api.Wrapper.Unit.Tests.EndpointResolution.OAuth { [TestFixture] public class UrlSignerTests { private string _consumerKey = "key"; ...
mit
C#
fe3e54268c5a8f36f33d8f9e475396398178df3e
Clear Game.unity
sfc-sdp/GameCanvas-Unity
Assets/Scripts/Game.cs
Assets/Scripts/Game.cs
using GameCanvas; public class Game : GameBase { override public void Start() { // ここに初期化処理を書きます } override public void Calc() { // ここに更新処理を書きます } override public void Draw() { // ここに描画処理を書きます } override public void Pause() { // ここに中断処理を書き...
using System; using GameCanvas; using UnityEngine; public class Game : GameBase { private int frame; override public void Start() { frame = 0; } override public void Calc() { ++frame; if (frame > 50) frame = 0; } override public void Draw() { // ...
mit
C#
ec79f8a73247d99964f4e95e7af39f6ade4f548e
Allow console to be transparent again.
eightyeight/t3d-bones,eightyeight/t3d-bones
console/profiles.cs
console/profiles.cs
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restrictio...
mit
C#
058d87009294889495552ad21230875787157346
Disable Context_based_client_method test. Having DbContext property on entity is not supported.
azabluda/InfoCarrier.Core
test/InfoCarrier.Core.FunctionalTests/InMemory/Query/SimpleQueryInfoCarrierTest.cs
test/InfoCarrier.Core.FunctionalTests/InMemory/Query/SimpleQueryInfoCarrierTest.cs
// Copyright (c) on/off it-solutions gmbh. All rights reserved. // Licensed under the MIT license. See license.txt file in the project root for license information. namespace InfoCarrier.Core.FunctionalTests.InMemory.Query { using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkC...
// Copyright (c) on/off it-solutions gmbh. All rights reserved. // Licensed under the MIT license. See license.txt file in the project root for license information. namespace InfoCarrier.Core.FunctionalTests.InMemory.Query { using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkC...
mit
C#
8c96a1a3fe456f38362e1d8a2f50881df48fad9c
Update AssemblyInfo.cs
tiernano/b2uploader
B2Uploader/Properties/AssemblyInfo.cs
B2Uploader/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("B2...
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("B2...
mit
C#
e6cf424ffa0f9c5e9770dff5580d53e91a53c229
comment out schedule for now as its not being used
Appleseed/base,Appleseed/base
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/Constants.cs
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/Constants.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { public class Constants { #region App Config Values // Test Set...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { public class Constants { #region App Config Values // Test Set...
apache-2.0
C#
5fdae42bafceb2362697222a2cb5d7a47c72a4ab
fix SpawnPopupDialog
henrybauer/AutoAsparagus
AutoAsparagus/ASPInstallChecker.cs
AutoAsparagus/ASPInstallChecker.cs
/* * Originally based on the InstallChecker from the Kethane mod for Kerbal Space Program. * This version is based off taraniselsu's version from https://github.com/Majiir/Kethane/blob/b93b1171ec42b4be6c44b257ad31c7efd7ea1702/Plugin/InstallChecker.cs * * Original is (C) Copyright Majiir. * CC0 Public Domain (http...
/* * Originally based on the InstallChecker from the Kethane mod for Kerbal Space Program. * This version is based off taraniselsu's version from https://github.com/Majiir/Kethane/blob/b93b1171ec42b4be6c44b257ad31c7efd7ea1702/Plugin/InstallChecker.cs * * Original is (C) Copyright Majiir. * CC0 Public Domain (http...
apache-2.0
C#
02a84bcedd3736db179023928e6c61d3d4fc055b
Simplify MfA sample an add Addresses and InstantMessaging
xamarin/Xamarin.Mobile,xamarin/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,nexussays/Xamarin.Mobile,moljac/Xamarin.Mobile,orand/Xamarin.Mobile
MonoDroid/Samples/ContactsSample/Activity1.cs
MonoDroid/Samples/ContactsSample/Activity1.cs
using System; using System.Text; using Android.App; using Android.Database; using Android.Net; using Android.OS; using Android.Provider; using Android.Widget; using Xamarin.Contacts; using System.Linq; namespace ContactsSample { [Activity(Label = "ContactsSample", MainLauncher = true, Icon = "@drawable/icon")] publ...
using System.Text; using Android.App; using Android.Database; using Android.Net; using Android.OS; using Android.Provider; using Android.Widget; using Xamarin.Contacts; using System.Linq; namespace ContactsSample { [Activity(Label = "ContactsSample", MainLauncher = true, Icon = "@drawable/icon")] public class Activ...
apache-2.0
C#
1bae096d861fd19ccb3c2a7d66c277295b2dfc6f
Fix unused imports noise
peterblazejewicz/aspnet5-docker-boilerplate
AspNetDockerBoilerplate/Startup.cs
AspNetDockerBoilerplate/Startup.cs
using Microsoft.AspNet.Builder; namespace AspNetDockerBoilerplate { public class Startup { // For more information on how to configure your application, visit http://go.microsoft.com/fwlink/?LinkID=398940 public void Configure(IApplicationBuilder app) { app.UseWelcomePage()...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using Microsoft.Framework.DependencyInjection; namespace AspNetDockerBoilerplate { public class Startup { // For more information on how to confi...
unlicense
C#
9022dbc8f774275bebb318ac22464570bbbe0027
Add LineRenderers
EightBitBoy/EcoRealms
Assets/Scripts/Map/GridRenderer.cs
Assets/Scripts/Map/GridRenderer.cs
using UnityEngine; using System.Collections; namespace ecorealms.map { public class GridRenderer : MonoBehaviour { private int linesX; private int linesY; public void Setup(int chunksX, int chunksY, int tilesX, int tilesY) { this.linesX = chunksX * tilesX; this.linesY = chunksY * tilesY; Initializ...
using UnityEngine; using System.Collections; public class GridRenderer : MonoBehaviour { private int linesX; private int linesY; public void Setup(int chunksX, int chunksY, int tilesX, int tilesY) { this.linesX = chunksX * tilesX; this.linesY = chunksY * tilesY; Initialize(); } private void Initialize(...
apache-2.0
C#