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 |
|---|---|---|---|---|---|---|---|---|
028e60f13009ea0af0bf375a97c742dec46de403 | Resolve #133 - Cast and stage are now registered automatically | csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay | CSF.Screenplay/Integration/IntegrationFactory.cs | CSF.Screenplay/Integration/IntegrationFactory.cs | using System;
using CSF.Screenplay.Scenarios;
namespace CSF.Screenplay.Integration
{
/// <summary>
/// Factory type for the creation of a sceeenplay integration.
/// </summary>
public class IntegrationFactory
{
/// <summary>
/// Factory method which creates a new implementation of <see cref="IScreen... | using System;
using CSF.Screenplay.Scenarios;
namespace CSF.Screenplay.Integration
{
/// <summary>
/// Factory type for the creation of a sceeenplay integration.
/// </summary>
public class IntegrationFactory
{
/// <summary>
/// Factory method which creates a new implementation of <see cref="IScreen... | mit | C# |
f0034d16a76564b305799369f6319e2c14632a5a | Update assembly info | Vtek/Bartender | Cheers.ServiceLocator/Properties/AssemblyInfo.cs | Cheers.ServiceLocator/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Cheers.Locator")]
[assembly: AssemblyDescription("Cheers Locator contracts")]
[assembly: Assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Cheers.Locator")]
[assembly: AssemblyDescription("Cheers Locator contracts")]
[assembly: Assembly... | mit | C# |
b9953a876f8a040cfb5a5b83bcb5b7b1a8910590 | remove leftover debug print | Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer | 140-speedrun-timer/Resources.cs | 140-speedrun-timer/Resources.cs | using System.IO;
using System.Reflection;
using UnityEngine;
namespace SpeedrunTimerMod
{
class Resources
{
public static Resources Instance => _instance;
static readonly Resources _instance = new Resources();
public AudioClip CheatBeep { get; private set; }
private Resources() { }
public void LoadAllRe... | using System.IO;
using System.Reflection;
using UnityEngine;
namespace SpeedrunTimerMod
{
class Resources
{
public static Resources Instance => _instance;
static readonly Resources _instance = new Resources();
public AudioClip CheatBeep { get; private set; }
private Resources() { }
public void LoadAllRe... | unlicense | C# |
38e39490f70c8f38bd07ab6fbffb2dd34a9cf2c1 | Use 'Name' defined via ParameterAttribute first, then member name. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/ParameterAttribute.cs | source/Nuke.Core/ParameterAttribute.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Linq.Expressions;
using JetBrains.Annotations;
using Nuke.Core.Execution;
using Nuke.Core.Injection;
namespace Nuke.Core
{
/// <inheritdoc/... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Linq.Expressions;
using JetBrains.Annotations;
using Nuke.Core.Execution;
using Nuke.Core.Injection;
namespace Nuke.Core
{
/// <inheritdoc/... | mit | C# |
4a5d76546520902c096f6709cfd18c223d9fd293 | fix cake file | IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework | build.cake | build.cake | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var packPath ... | var target = Argument("target", "Default");
var configuration = Argument<string>("configuration", "Release");
///////////////////////////////////////////////////////////////////////////////
// GLOBAL VARIABLES
///////////////////////////////////////////////////////////////////////////////
var packPath ... | apache-2.0 | C# |
17ed9a81135af0528dbef6a61af95cf5137a75fa | Reset build script | kingstonrichard/kingstonrichard.github.io,kingstonrichard/kingstonrichard.github.io | build.cake | build.cake | #tool "nuget:?package=Wyam&version=2.2.7"
#addin "nuget:?package=Cake.Wyam&version=2.2.7"
var target = Argument("target", "Build");
Task("Build")
.Does(() =>
{
Wyam();
});
Task("Preview")
.Does(() =>
{
Wyam(new WyamSettings
{
Preview = true,
Watch =... | #tool "nuget:?package=Wyam&version=2.2.7"
#addin "nuget:?package=Cake.Wyam&version=2.2.7"
var target = Argument("target", "Build");
Task("Build")
.Does(() =>
{
Wyam();
});
Task("Preview")
.Does(() =>
{
Wyam(new WyamSettings
{
Preview = true,
Watch =... | mit | C# |
1a03ef13f4dd29556c629907902425206d4df135 | Revert "Allow running on mono if possible. (non windows)" | naoey/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,peppy/osu-new,smoogipooo/osu,naoey/osu,ppy/osu,ZLima12/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,DrabWeb/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,DrabWeb/osu,naoey/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,peppy... | build.cake | build.cake | #addin "nuget:?package=CodeFileSanity"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools"
#tool "nuget:?package=NVika.MSBuild"
#tool "nuget:?package=NuGet.CommandLine"
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
////////////////////////////////////////////////... | #addin "nuget:http://localhost:8081/repository/hm?package=CodeFileSanity&version=1.0.10"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools"
#tool "nuget:?package=NVika.MSBuild"
#tool "nuget:?package=NuGet.CommandLine"
///////////////////////////////////////////////////////////////////////////////
// ARGUMENT... | mit | C# |
8650dad74a5032e4c4bf2c5e94535b45b17ef32f | Add FsCheck tests to build script | mcliment/CsBenc,mcliment/CsBenc | build.cake | build.cake | #addin Cake.Coveralls
#tool "nuget:?package=OpenCover"
#tool "nuget:?package=ReportGenerator"
#tool "nuget:?package=coveralls.net"
var target = Argument("target", "Default");
var coverallsToken = EnvironmentVariable("COVERALLS_REPO_TOKEN");
var hasCoveralls = !string.IsNullOrEmpty(coverallsToken);
Task("Clean")
... | #addin Cake.Coveralls
#tool "nuget:?package=OpenCover"
#tool "nuget:?package=ReportGenerator"
#tool "nuget:?package=coveralls.net"
var target = Argument("target", "Default");
var coverallsToken = EnvironmentVariable("COVERALLS_REPO_TOKEN");
var hasCoveralls = !string.IsNullOrEmpty(coverallsToken);
Task("Clean")
... | mit | C# |
eb05e5224084ade446e040f9e589656ae0dafb51 | change DependencyObjectExtensionMethods | TakeAsh/cs-WpfUtility | WpfUtility/DependencyObjectExtensionMethods.cs | WpfUtility/DependencyObjectExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace WpfUtility {
public static class DependencyObjectExtensionMethods {
/// <summary>
/// Attempts to find and return an object that has the specified name. The search sta... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace WpfUtility {
public static class DependencyObjectExtensionMethods {
public static T FindName<T>(this DependencyObject obj, string name)
where T : class {
... | mit | C# |
00bafc38749e5c264929c88e9ba2d68b2e109775 | add AddPropertyChanged() | TakeAsh/cs-WpfUtility | WpfUtility/DependencyObjectExtensionMethods.cs | WpfUtility/DependencyObjectExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows;
namespace WpfUtility {
public static class DependencyObjectExtensionMethods {
/// <summary>
/// Attempts to find and return an object that has the ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace WpfUtility {
public static class DependencyObjectExtensionMethods {
/// <summary>
/// Attempts to find and return an object that has the specified name. The search sta... | mit | C# |
d940753647502d71b5582e9b8c85d0ff0f7ac893 | reduce loc + less execution effort | xfleckx/BeMoBI,xfleckx/MF_Unity3D_Utilities,xfleckx/BeMoBI | Editor/CustomObjectAlignment.cs | Editor/CustomObjectAlignment.cs | using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class CustomObjectAlignment : EditorWindow {
private const string WindowTitle = "Alignment Tools";
[MenuItem("Window/MF_CustomAlignment")]
// Use this for initialization
st... | using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class CustomObjectAlignment : EditorWindow {
[MenuItem("Window/MF_CustomAlignment")]
// Use this for initialization
static void Init () {
var window = EditorWindow.GetWindo... | mit | C# |
cebdc32ac8f81f5d9febafb578a3987a139b43af | Change email subj | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Events/SUTARequestChanged.cs | Battery-Commander.Web/Events/SUTARequestChanged.cs | using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using BatteryCommander.Web.Models;
using BatteryCommander.Web.Queries;
using BatteryCommander.Web.Services;
using FluentEmail.Core;
using FluentEmail.Core.Models;
using MediatR;
namespace BatteryCommander.Web.Even... | using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using BatteryCommander.Web.Models;
using BatteryCommander.Web.Queries;
using BatteryCommander.Web.Services;
using FluentEmail.Core;
using FluentEmail.Core.Models;
using MediatR;
namespace BatteryCommander.Web.Even... | mit | C# |
ba9e6662d02511e9d09e3e8024f4489cf584c070 | Fix "Apply Metered License" | asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET | Examples/CSharp/Quick-Start/ApplyMeteredLicense.cs | Examples/CSharp/Quick-Start/ApplyMeteredLicense.cs | using Aspose.Words;
using Aspose.Words.Examples.CSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharp.Quick_Start
{
class ApplyMeteredLicense
{
public static void Run()
{
try
{
//ExStart:ApplyMeter... | using Aspose.Words;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharp.Quick_Start
{
class ApplyMeteredLicense
{
public static void Run()
{
try
{
//ExStart:ApplyMeteredLicense
// set met... | mit | C# |
a93e98d4ebd15955ec59e9b7b71e2b1eaa519329 | Update model to reflect compass change (#12) | cosential/cosential-client-csharp | Models/OpportunityCompetitor.cs | Models/OpportunityCompetitor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cosential.Integrations.Compass.Client.Models
{
public class OpportunityCompetitor
{
public int CompetitionID { get; set; }
public int OpportunityID { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cosential.Integrations.Compass.Client.Models
{
public class OpportunityCompetitor
{
public int CompetitionID { get; set; }
public int OpportunityID { get; set; }
... | apache-2.0 | C# |
d473535e4754d50429e1939eea4251ff56695330 | fix order of default nfo filter. | mdougher/NFO_Helper | NFO_Helper/source/NFO_Filter.cs | NFO_Helper/source/NFO_Filter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NFO_Helper
{
public class NFO_Filter
{
// filter will contain a list of 'properties' (string) that are requested for this NFO.
protected List<string> NFO_PropertyList {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NFO_Helper
{
public class NFO_Filter
{
// filter will contain a list of 'properties' (string) that are requested for this NFO.
protected List<string> NFO_PropertyList {... | mit | C# |
effb7060e3e4cd283702e319418da6713e02ec97 | Add AutoQSS | HittPre/Hipre | PreAntiStun/PreAntiStun/Properties/AssemblyInfo.cs | PreAntiStun/PreAntiStun/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# |
4b8c9bd2b12cc911dba5f7ec60c80aa38ba7a76c | Fix test on mono | JonCanning/FAKE,philipcpresley/FAKE,pacificIT/FAKE,MichalDepta/FAKE,mglodack/FAKE,pmcvtm/FAKE,ArturDorochowicz/FAKE,pacificIT/FAKE,wooga/FAKE,mfalda/FAKE,satsuper/FAKE,brianary/FAKE,leflings/FAKE,pmcvtm/FAKE,mfalda/FAKE,JonCanning/FAKE,featuresnap/FAKE,xavierzwirtz/FAKE,warnergodfrey/FAKE,MiloszKrajewski/FAKE,naveensri... | src/test/Test.Fake.Deploy/PackageMgt/TestData.cs | src/test/Test.Fake.Deploy/PackageMgt/TestData.cs | namespace Test.Fake.Deploy.PackageMgt
{
public static class TestData
{
public const string TestDataDir = "./TestData";
}
} | namespace Test.Fake.Deploy.PackageMgt
{
public static class TestData
{
public const string TestDataDir = "TestData";
}
} | apache-2.0 | C# |
99450ce9db42b662f0d350fc0947a7712da54cb6 | Fix open file messages on Windows | awaescher/RepoZ,awaescher/RepoZ | grr/Messages/OpenFileMessage.cs | grr/Messages/OpenFileMessage.cs | using RepoZ.Ipc;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
namespace grr.Messages
{
[System.Diagnostics.DebuggerDisplay("{GetRemoteCommand()}")]
public class OpenFileMessage : FileMessage
{
public OpenFileMessage(RepositoryFilterOptions filt... | using RepoZ.Ipc;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
namespace grr.Messages
{
[System.Diagnostics.DebuggerDisplay("{GetRemoteCommand()}")]
public class OpenFileMessage : FileMessage
{
public OpenFileMessage(RepositoryFilterOptions filt... | mit | C# |
13e8b0f61273b45774b823f0214fe5067cc60044 | Add .NET 7 benchmark | RehanSaeed/Serilog.Exceptions,RehanSaeed/Serilog.Exceptions | Benchmarks/Serilog.Exceptions.Benchmark/DestructuringBenchmark.cs | Benchmarks/Serilog.Exceptions.Benchmark/DestructuringBenchmark.cs | namespace Serilog.Exceptions.Benchmark;
using System;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using Serilog.Exceptions.Destructurers;
[KeepBenchmarkFiles]
[MemoryDiagnoser]
[MinColumn]
[MaxColumn]
[HtmlExporter]
[CsvMeasurementsExporter]
[RPlotExporter]
[SimpleJ... | namespace Serilog.Exceptions.Benchmark;
using System;
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using Serilog.Exceptions.Destructurers;
[KeepBenchmarkFiles]
[MemoryDiagnoser]
[MinColumn]
[MaxColumn]
[HtmlExporter]
[CsvMeasurementsExporter]
[RPlotExporter]
[SimpleJ... | mit | C# |
1b144fc857167e7613e460c43ebf0554428ca9df | Revert "Fixed up ShouldMap." | HeadspringLabs/bulk-writer,ChrisMissal/bulk-writer | src/BulkWriter/Internal/TypeExtensions.cs | src/BulkWriter/Internal/TypeExtensions.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection;
namespace BulkWriter.Internal
{
public static class TypeExtensions
{
public static PropertyMapping[] BuildMappings(this Type type) => type.GetRunti... | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection;
namespace BulkWriter.Internal
{
public static class TypeExtensions
{
public static PropertyMapping[] BuildMappings(this Type type) => type.GetRunti... | apache-2.0 | C# |
13e0dd5458f9896c86d42655aa790b9592431c7c | Check for a valid image handle when loading resources in the editor. | FloodProject/flood,FloodProject/flood,FloodProject/flood | src/Editor/Editor.Client/GUI/GuiWindow.cs | src/Editor/Editor.Client/GUI/GuiWindow.cs | using System;
using Flood.GUI.Controls;
using Flood.GUI.Renderers;
using Flood.GUI.Skins;
namespace Flood.Editor.Client.Gui
{
public abstract class GuiWindow : IDisposable
{
/// <summary>
/// Native GUI window.
/// </summary>
public Window NativeWindow { get; set; }
/... | using System;
using Flood.GUI.Controls;
using Flood.GUI.Renderers;
using Flood.GUI.Skins;
namespace Flood.Editor.Client.Gui
{
public abstract class GuiWindow : IDisposable
{
/// <summary>
/// Native GUI window.
/// </summary>
public Window NativeWindow { get; set; }
/... | bsd-2-clause | C# |
22ae2c8faaa28827ca7cf4595739a8dd4213cd2b | Bump version to 0.2.0 | simplyio/shortcoder | src/Shortcoder/Properties/AssemblyInfo.cs | src/Shortcoder/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# |
4f9b4c46df878805949842b4497d2c86c623e630 | Update JsonDirective.cs | timheuer/alexa-skills-dotnet,stoiveyp/alexa-skills-dotnet | Alexa.NET/Response/Directive/JsonDirective.cs | Alexa.NET/Response/Directive/JsonDirective.cs | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Alexa.NET.Response.Directive
{
public class JsonDirective:IDirective
{
public JsonDirective() { }
public JsonDirective(string type)
{
Type = type;
}
[JsonPr... | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Alexa.NET.Response.Directive
{
public class JsonDirective:IDirective
{
public JsonDirective() { }
public JsonDirective(string type)
{
Type = type;
}
public ... | mit | C# |
a84127c768fcf35741ab7e3988fde72f9a04e66e | Make benchmark more complex. | Perspex/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,susloparovdenis/Avalonia,wieslawsoltes/Perspex,akrisiun/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,susloparovdenis/Perspex,wieslawsoltes/Perspex,jkoritzinsky... | tests/Perspex.Benchmarks/Styling/ApplyStyling.cs | tests/Perspex.Benchmarks/Styling/ApplyStyling.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Linq;
using BenchmarkDotNet.Attributes;
using Perspex.Controls;
using Perspex.Styling;
using Perspex.UnitTests;
using Perspex.V... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Linq;
using BenchmarkDotNet.Attributes;
using Perspex.Controls;
using Perspex.UnitTests;
using Perspex.VisualTree;
namespace P... | mit | C# |
4f7c984521f0a396244a8bba85f9092acf76deea | Build fix? (not sure why travis doesn't see this file) | evolutional/flatbuffers-net | FlatBuffers-net/FieldTypeMetadata.cs | FlatBuffers-net/FieldTypeMetadata.cs | namespace FlatBuffers
{
public static class FieldTypeMetaData
{
public const string Index = "id";
public const string Required = "required";
}
} | namespace FlatBuffers
{
public static class FieldTypeMetaData
{
public const string Index = "id";
public const string Required = "required";
}
} | apache-2.0 | C# |
63d3be93e8fa516ebc0f4241c90426fec1798b8c | rename one small funny string dude | Babelz/SaNi,Babelz/SaNi,Babelz/SaNi,Babelz/SaNi | vs2013/editor/SyntaxDefinitionBuilder/Program.cs | vs2013/editor/SyntaxDefinitionBuilder/Program.cs | using SyntaxDefinitionBuilder.GLSL;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyntaxDefinitionBuilder
{
internal sealed class Program
{
private static void Main(string[] args)
{
GLS... | using SyntaxDefinitionBuilder.GLSL;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SyntaxDefinitionBuilder
{
internal sealed class Program
{
private static void Main(string[] args)
{
GLS... | mit | C# |
4cb128bd45e95ed9af6441b13948ce2cb29e148e | Improve AssemblyInfo | mikhail-barg/NLog.Windows.Forms,NLog/NLog.Windows.Forms | NLog.Windows.Forms/Properties/AssemblyInfo.cs | NLog.Windows.Forms/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("NL... | 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("NL... | bsd-3-clause | C# |
059996606ea68ed2bca70c5f5346efbc561fb646 | test fix | OmniSharp/omnisharp-vim,OmniSharp/omnisharp-vim,AndBicScadMedia/omnisharp-vim,OmniSharp/omnisharp-vim,den-mentiei/omnisharp-vim,nosami/omnisharp-vim,anurse/omnisharp-vim | OmniSharp.Tests/FindUsages/IntegrationTest.cs | OmniSharp.Tests/FindUsages/IntegrationTest.cs | using System.Linq;
using NUnit.Framework;
using Nancy.Testing;
using OmniSharp.FindUsages;
using OmniSharp.Solution;
using Should;
namespace OmniSharp.Tests.FindUsages
{
[TestFixture]
public class IntegrationTest
{
[Test]
public void Should_find_usages_of_class()
{
cons... | using System.Linq;
using NUnit.Framework;
using Nancy.Testing;
using OmniSharp.FindUsages;
using OmniSharp.Solution;
using Should;
namespace OmniSharp.Tests.FindUsages
{
[TestFixture]
public class IntegrationTest
{
[Test]
public void Should_find_usages_of_class()
{
cons... | mit | C# |
81a8e0387845ddd7d115d10cca264c3cd1ff83b9 | Build fix: Forgot to commit Project.SkipCompiling change | jeffman/RopeSnake | RopeSnake.Tests/Core/ProjectTests.cs | RopeSnake.Tests/Core/ProjectTests.cs | using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RopeSnake.Core;
using Newtonsoft.Json.Linq;
namespace RopeSnake.Tests.Core
{
[TestClass]
public class ProjectTests
{
[TestMethod]
public void LoadPr... | using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RopeSnake.Core;
using Newtonsoft.Json.Linq;
namespace RopeSnake.Tests.Core
{
[TestClass]
public class ProjectTests
{
[TestMethod]
public void LoadPr... | mit | C# |
78c62f7bcb752e990c4d8ade37e3b89b295fe548 | update license | tainicom/Aether | Source/Elementary/Radiums/IRadium.cs | Source/Elementary/Radiums/IRadium.cs | #region License
// Copyright 2015 Kastellanos Nikolaos
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace tainicom.Aether.Elementary.Radiums
{
public interface IRadium<T>:IAether where T: struct
{
T Value { get; set; }
}
}
| apache-2.0 | C# |
ff0e49ba5001264019f90157e393b36a0bcf04ca | fix compile test issue | nHydrate/nHydrate | Source/NetCoreTestHarness/Program.cs | Source/NetCoreTestHarness/Program.cs | using nHydrate.ModelManagement;
namespace NetCoreTestHarness
{
class Program
{
static void Main(string[] args)
{
var rootFolder = @"C:\code\nHydrateTestAug\ModelProject";
var modelName = "Model1.nhydrate";
bool wasLoaded;
var model = FileManagemen... | using nHydrate.ModelManagement;
namespace NetCoreTestHarness
{
class Program
{
static void Main(string[] args)
{
var rootFolder = @"C:\code\nHydrateTestAug\ModelProject";
var modelName = "Model1.nhydrate";
var model = FileManagement.Load(rootFolder, modelName... | mit | C# |
7af70ca49ef8f1a70053c2cbd737ad483c88fa35 | Update Source/TinyHandler.Samples/Sample.cs | ApmeM/TinyHandler,emilcardell/TinyHandler | Source/TinyHandler.Samples/Sample.cs | Source/TinyHandler.Samples/Sample.cs | using System;
using StructureMap;
namespace TinyHandler.Samples
{
public class Sample
{
public Sample()
{
//Run once
Setup();
HandlerCentral.Process(new TestObject());
}
public void Setup()
{
ObjectFacto... | using System;
using StructureMap;
namespace TinyHandler.Samples
{
public class Sample
{
public Sample()
{
//Run once
Setup();
HandlerCentral.Process(new TestObject());
}
public void Setup()
{
ObjectFacto... | mit | C# |
1668e06103bd5cfea84912529e02be0b07f3a51e | Update project settings | sakapon/KLibrary-Labs | CoreLab/Core/Properties/AssemblyInfo.cs | CoreLab/Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("KLibrary.Labs.Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assem... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyC... | mit | C# |
3f1fb14312d5ed22959a1d4bd4d4bca9f3fbc0fa | Multiply integers and reals | ajlopez/ClojSharp | Src/ClojSharp.Core/Forms/Multiply.cs | Src/ClojSharp.Core/Forms/Multiply.cs | namespace ClojSharp.Core.Forms
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Language;
public class Multiply : BaseForm
{
public override int RequiredArity
{
get { return 0; }
}
... | namespace ClojSharp.Core.Forms
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Language;
public class Multiply : BaseForm
{
public override int RequiredArity
{
get { return 0; }
}
... | mit | C# |
5a9795eb424bea409d5dfca497568ecc4d4c3b59 | fix usings | Chaser324/unity-build-actions | UnityBuild-ZipFile/Editor/ZipFileOperation.cs | UnityBuild-ZipFile/Editor/ZipFileOperation.cs | using Ionic.Zip;
using System.IO;
using UnityEditor;
using UnityEngine;
namespace SuperSystems.UnityBuild
{
public class ZipFileOperation : BuildAction, IPreBuildAction, IPreBuildPerPlatformAction, IPostBuildAction, IPostBuildPerPlatformAction
{
public string inputPath = "$BUILDPATH";
public string outputPat... | using Ionic.Zip;
using System.IO;
namespace SuperSystems.UnityBuild
{
public class ZipFileOperation : BuildAction, IPreBuildAction, IPreBuildPerPlatformAction, IPostBuildAction, IPostBuildPerPlatformAction
{
public string inputPath = "$BUILDPATH";
public string outputPath = "$BUILDPATH";
public string ou... | mit | C# |
1ca079abdf8e09a4c3dc08c84f906e6efc8fc529 | Switch submenu to Splash | plrusek/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/Menu/GameMenu.cs | Assets/Scripts/Menu/GameMenu.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Attach to every menu animator
public class GameMenu : MonoBehaviour
{
public static SubMenu subMenu = SubMenu.Splash;
//public static SubMenu subMenu = SubMenu.Credits; //Debug purposes
public static bool shifting;
publi... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Attach to every menu animator
public class GameMenu : MonoBehaviour
{
//public static SubMenu subMenu = SubMenu.Splash;
public static SubMenu subMenu = SubMenu.Credits; //Debug purposes
public static bool shifting;
publi... | mit | C# |
1bf9a6a54a4e6a42c6342f58ef3378aba2e52753 | Fix file extension name in OszArchive when opening osu files. | Meowtrix/osu-Auto-Mapping-Toolkit | Training/DataGenerator/OszArchive.cs | Training/DataGenerator/OszArchive.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
namespace Meowtrix.osuAMT.Training.DataGenerator
{
class OszArchive : Archive, IDisposable
{
public ZipArchive archive;
public OszArchive(Stream stream)
{
archi... | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
namespace Meowtrix.osuAMT.Training.DataGenerator
{
class OszArchive : Archive, IDisposable
{
public ZipArchive archive;
public OszArchive(Stream stream)
{
archi... | mit | C# |
aed63e67f6f1d7caaa2b45afe2601b35d9eaabbb | Update logging.cs | AntiTcb/Discord.Net,LassieME/Discord.Net,RogueException/Discord.Net,Confruggy/Discord.Net | docs/guides/samples/logging.cs | docs/guides/samples/logging.cs | using Discord;
using Discord.Rest;
public class Program
{
private DiscordSocketClient _client;
static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult();
public async Task Start()
{
_client = new DiscordSocketClient(new DiscordSocketConfig() {
LogLevel = LogSever... | using Discord;
using Discord.Rest;
public class Program
{
private DiscordSocketClient _client;
static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult();
public async Task Start()
{
_client = new DiscordSocketClient(new DiscordSocketConfig() {
LogLevel = LogSever... | mit | C# |
6c297ab3dab3dfb28f23951a45857b10316ff460 | Add comment | liddictm/BrawlManagers,libertyernie/BrawlManagers,liddictm/BrawlManagers,libertyernie/BrawlManagers | BrawlManagerLib/CustomSSSwithSDSL.cs | BrawlManagerLib/CustomSSSwithSDSL.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BrawlManagerLib {
/// <summary>
/// Allows read-write access to Custom SSS code, and read-only access to all Stage-Dependent Song Loader instances.
/// This class will store the entire codeset, split between ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BrawlManagerLib {
public class CustomSSSwithSDSL : CustomSSS {
public CustomSSSwithSDSL(string[] s) : base(s) {
SongsByStage = SDSLScanner.SongsByStage(this);
}
public CustomSSSwithSDSL(byte[] data) : base(data) ... | mit | C# |
7a9d46c7ae502252d660b4a457225b3de45207d7 | Fix invalid SetCustomTypeAction constructor | commercetools/commercetools-dotnet-sdk | commercetools.NET/Categories/UpdateActions/SetCustomTypeAction.cs | commercetools.NET/Categories/UpdateActions/SetCustomTypeAction.cs | using System;
using commercetools.Common;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace commercetools.Categories.UpdateActions
{
/// <summary>
/// This action sets or removes the custom type for an existing category.
/// </summary>
/// <remarks>
/// This action overwrites any exist... | using commercetools.Common;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace commercetools.Categories.UpdateActions
{
/// <summary>
/// This action sets or removes the custom type for an existing category.
/// </summary>
/// <remarks>
/// This action overwrites any existing custom typ... | mit | C# |
146386efbd822ca382e3f3f3be6acec422c4106c | Add base action property ordering | danielchalmers/DesktopWidgets | DesktopWidgets/Actions/ActionBase.cs | DesktopWidgets/Actions/ActionBase.cs | using System;
using System.ComponentModel;
using System.Windows;
using DesktopWidgets.Classes;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Actions
{
public abstract class ActionBase
{
[PropertyOrder(0)]
[DisplayName("Delay")]
public TimeSpan Delay { get; s... | using System;
using System.ComponentModel;
using System.Windows;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Actions
{
public abstract class ActionBase
{
[DisplayName("Delay")]
public TimeSpan Delay { get; set; } = TimeSpan.FromSeconds(0);
[DisplayName("Show Errors")]
... | apache-2.0 | C# |
af065f3e5309d917009c69bc7a8cea647df16a75 | Make Permission WriteMutes available with guild permission ManageMessages. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Models/PagePermission.cs | MitternachtWeb/Models/PagePermission.cs | using Discord;
using System;
namespace MitternachtWeb.Models {
[Flags]
public enum BotLevelPermission {
None = 0b_0000_0000,
ReadBotConfig = 0b_0000_0001,
WriteBotConfig = 0b_0000_0011,
ReadAllGuildConfigs = 0b_0000_0100,
WriteAllGuildConfigs = 0b_0000_1100,
ReadAllModeratio... | using Discord;
using System;
namespace MitternachtWeb.Models {
[Flags]
public enum BotLevelPermission {
None = 0b_0000_0000,
ReadBotConfig = 0b_0000_0001,
WriteBotConfig = 0b_0000_0011,
ReadAllGuildConfigs = 0b_0000_0100,
WriteAllGuildConfigs = 0b_0000_1100,
ReadAllModeratio... | mit | C# |
e66dce152444b8ba588881b403e7512b8b84cc04 | Update test relevant test cases. | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/ql/test/utils/model-generator/theorems/TheoremSummaries.cs | csharp/ql/test/utils/model-generator/theorems/TheoremSummaries.cs | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace Summaries;
public class Theorems1<T> {
public T Prop {
get { throw null; }
set { throw null; }
}
public Theorems1(T t) { throw null; }
public T Get() { throw null; }
pub... | using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
namespace Summaries;
public class Theorems1<T> {
public T Prop {
get { throw null; }
set { throw null; }
}
public Theorems1(T t) { throw null; }
public T Get() { throw null; }
pub... | mit | C# |
5f830dd6b00c022479d76cf4b24caf451506e43b | Reword grr message for macOS | awaescher/RepoZ,awaescher/RepoZ | grr/Messages/ChangeToDirectoryMessage.cs | grr/Messages/ChangeToDirectoryMessage.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using RepoZ.Ipc;
namespace grr.Messages
{
[System.Diagnostics.DebuggerDisplay("{GetRemoteCommand()}")]
public class ChangeToDirectoryMessage : DirectoryMessage
{
public ChangeToDirectoryMessage(Repos... | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using RepoZ.Ipc;
namespace grr.Messages
{
[System.Diagnostics.DebuggerDisplay("{GetRemoteCommand()}")]
public class ChangeToDirectoryMessage : DirectoryMessage
{
public ChangeToDirectoryMessage(Repos... | mit | C# |
259d39c6adf5bb51dc1835c992af62e2e3dac427 | Stop playing the track in editor to avoid unused member warning | smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu-new,nyaamara/osu,johnneijzen/osu,peppy/osu,peppy/osu,DrabWeb/osu,Damnae/osu,naoey/osu,Drezi126/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,RedNesto/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,tacchinotacchi/osu,EVAST9919/osu,ZLima12/osu,DrabWeb/osu,smoogipoo/o... | osu.Game/Screens/Edit/Editor.cs | osu.Game/Screens/Edit/Editor.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 OpenTK.Graphics;
using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Screens.Backgrounds;
namespace osu.Game.Screens.Edit
{
intern... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Screens.Backgrounds;
namespace osu.Game.Screens.Edit
{
intern... | mit | C# |
36dc905e51069f1d9f4363dc31fd65377bb59ba5 | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.android/SplashScreen.cs | bstrkr.mobile/bstrkr.android/SplashScreen.cs | using Android.App;
using Android.Content.PM;
using Cirrious.MvvmCross.Droid.Views;
namespace bstrkr.android
{
[Activity(
Label = "bstrkr.android",
MainLauncher = true,
Icon = "@drawable/icon",
Theme = "@style/Theme.Splash",
NoHistory = true,
ScreenOrientation = ScreenOrientation.Portrait)]
public ... | using Android.App;
using Android.Content.PM;
using Cirrious.MvvmCross.Droid.Views;
namespace bstrkr.android
{
[Activity(
Label = "bstrkr.android"
, MainLauncher = true
, Icon = "@drawable/icon"
, Theme = "@style/Theme.Splash"
, NoHistory = true
, ScreenOrientation = ScreenOrientation.Portrait)]
pu... | bsd-2-clause | C# |
c59a2bf9bb6bce70906c6fd3b3e99417ff314249 | Fix tests crashing if a ruleset doesn't provide a NoFail mod | smoogipoo/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,ZLima12/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,peppy/osu,peppy/osu,peppy/osu-new,johnneijzen/o... | osu.Game/Tests/Visual/PlayerTestScene.cs | osu.Game/Tests/Visual/PlayerTestScene.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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Testing;
using osu.Game.Configuration;
using ... | // 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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Testing;
using osu.Game.Configuration;
using ... | mit | C# |
ce850fab3d0006797e9b3e36fabc91c13433bff7 | Change date type of MaxDownloadingItems to byte and change to get only | witoong623/TirkxDownloader,witoong623/TirkxDownloader | Framework/Interface/IDownloader.cs | Framework/Interface/IDownloader.cs | using System.Collections.Generic;
using TirkxDownloader.Models;
namespace TirkxDownloader.Framework.Interface
{
public delegate void DownloadCompleteHandler(GeneralDownloadItem downloadInfo);
/// <summary>
/// Implementation that implement this interface should implement PropertyChanged Event for data-bi... | using System.Collections.Generic;
using TirkxDownloader.Models;
namespace TirkxDownloader.Framework.Interface
{
public delegate void DownloadCompleteHandler(GeneralDownloadItem downloadInfo);
/// <summary>
/// Implementation that implement this interface should implement PropertyChanged Event for data-bi... | mit | C# |
2342a50841bcfc8a3d6c0a363b5410a0f9d539e3 | Read connection string from configuration | peterblazejewicz/azure-aspnet5-examples,peterblazejewicz/azure-aspnet5-examples | src/QueueGettingStarted/Program.cs | src/QueueGettingStarted/Program.cs | using System;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using Microsoft.Extensions.Configuration;
namespace QueueGettingStarted
{
public class Program
{
public static void Main(string[] args)
{
// configuration
var builder = new Co... | using System;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using Microsoft.Extensions.Configuration;
namespace QueueGettingStarted
{
public class Program
{
public static void Main(string[] args)
{
// configuration
var builder = new Co... | mit | C# |
aa7dd82daad4a53184b25f68960b16c127a3e63f | remove unneeded code (replace with stub) | StefanoFiumara/Harry-Potter-Unity | Assets/Editor/AssetManager.cs | Assets/Editor/AssetManager.cs | using System.Linq;
using JetBrains.Annotations;
using UnityEditor;
using UnityEngine;
namespace Assets.Editor
{
[UsedImplicitly]
public class AssetManager : MonoBehaviour
{
/*[MenuItem("HP-TCG Card Management/Do Work")] */
/// <summary>
/// Template for applying changes to all car... | using System.Linq;
using JetBrains.Annotations;
using UnityEditor;
using UnityEngine;
namespace Assets.Editor
{
[UsedImplicitly]
public class AssetManager : MonoBehaviour
{
[MenuItem("HP-TCG Card Management/Add Outline Prefabs"), UsedImplicitly]
public static void AddPhotonViews()
... | mit | C# |
28b573f80078a37d78f475d74cd2f160e202a288 | Document FixedTimeStepUpdater | drewnoakes/boing | Boing/FixedTimeStepUpdater.cs | Boing/FixedTimeStepUpdater.cs | #region License
// Copyright 2015-2017 Drew Noakes, Krzysztof Dul
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | #region License
// Copyright 2015-2017 Drew Noakes, Krzysztof Dul
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | apache-2.0 | C# |
5f1f8ec0ef9d666fafa109196644691be877e713 | Fix IPC Source getting read from the incorrect location | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu | osu.Game.Tournament/Models/StableInfo.cs | osu.Game.Tournament/Models/StableInfo.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.IO;
using Newtonsoft.Json;
using osu.Framework.Platform;
using osu.Game.Tournament.IO;
namespace osu.Game.Tournament.Models
{
/// <summary... | // 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.IO;
using Newtonsoft.Json;
using osu.Framework.Platform;
using osu.Game.Tournament.IO;
namespace osu.Game.Tournament.Models
{
/// <summary... | mit | C# |
661721146a477586715c7f94916dfa0c0d38175c | store format version in collectionroot | markmeeus/MarcelloDB | Marcello/Records/CollectionRoot.cs | Marcello/Records/CollectionRoot.cs | using System;
using Marcello.Serialization;
namespace Marcello.Records
{
internal class CollectionRoot
{
const int CURRENT_FORMAT_VERSION = 1;
internal Int32 FormatVersion { get; set;}
internal Int64 NamedRecordIndexAddress { get; set;}
internal Int64 Head { get; set;}
in... | using System;
using Marcello.Serialization;
namespace Marcello.Records
{
internal class CollectionRoot
{
internal Int64 NamedRecordIndexAddress { get; set;}
internal Int64 Head { get; set;}
internal CollectionRoot()
{
this.Head = ByteSize;
}
internal static int By... | mit | C# |
87c4e2efb5503eaccb2090b967bf87aa7953ded4 | Update ConfigWindow.cs | mmd-for-unity-proj/mmd-for-unity | Editor/Config/ConfigWindow.cs | Editor/Config/ConfigWindow.cs | using UnityEngine;
using UnityEditor;
namespace MMD
{
public class ConfigWindow : EditorWindow
{
private static Config config;
private static string path;
[MenuItem("MMD for Unity/Config")]
public static void Init()
{
GetWindow<ConfigWindow>("MFU Config");
... | using UnityEngine;
using UnityEditor;
namespace MMD
{
public class ConfigWindow : EditorWindow
{
private static Config config;
private static string path;
[MenuItem("Plugins/MMD Loader/Config")]
public static void Init()
{
GetWindow<ConfigWindow>("MFU Confi... | bsd-3-clause | C# |
2174e89e0542aa71bbd5af2a243fe276386bdb91 | Bump to v1.5.1 | toehead2001/pdn-barcode | Barcode/Properties/AssemblyInfo.cs | Barcode/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Barcode Effect")]
[assembly: AssemblyDescription("Barcode Generator")]
[assembly: AssemblyConfiguration("Barcode|Code 39|POSTNET|UPC")]
[assembly: AssemblyCompany("toe_head2001")]
[assembly: AssemblyProduct("Barcode Effect")]
[as... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Barcode Effect")]
[assembly: AssemblyDescription("Barcode Generator")]
[assembly: AssemblyConfiguration("Barcode|Code 39|POSTNET|UPC")]
[assembly: AssemblyCompany("toe_head2001")]
[assembly: AssemblyProduct("Barcode Effect")]
[as... | mit | C# |
bc1b2c3ead40a229f992cbab0a0685e5d9c6eec7 | Address review comment | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/ql/test/library-tests/controlflow/graph/ExtractorOptions.cs | csharp/ql/test/library-tests/controlflow/graph/ExtractorOptions.cs | // semmle-extractor-options: /langversion:8.0 | // semmle-extractor-options: /langversion:8.0
#nullable enable
| mit | C# |
f1e5a963467622333e4b68fc4a7f4d8b8547d172 | Add DI for ILuceneStatisticsService. | ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton | src/CK.Glouton.Web/Startup.cs | src/CK.Glouton.Web/Startup.cs | using CK.Glouton.Lucene;
using CK.Glouton.Model.Lucene;
using CK.Glouton.Service;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace CK.Glouton.Web
{
public class Startup
{
public S... | using CK.Glouton.Lucene;
using CK.Glouton.Model.Lucene;
using CK.Glouton.Service;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace CK.Glouton.Web
{
public class Startup
{
public S... | mit | C# |
4a47d3762cb749f2ef67f842f0b69150ef46b6d8 | Update IDisjointIntervalSet.cs | marsop/ephemeral | Interfaces/IDisjointIntervalSet.cs | Interfaces/IDisjointIntervalSet.cs | using System;
using System.Collections.Generic;
namespace ephemeral
{
/// <summary>
/// Collection of disjoint IIntervals
/// </summary>
public interface IDisjointIntervalSet : IList<IInterval>
{
/// <summary>
/// True if all the contained intervals are contiguous or if empty
... | using System;
using System.Collections.Generic;
namespace ephemeral
{
/// <summary>
/// Collection of disjoint IIntervals
/// </summary>
public interface IDisjointIntervalSet : IList<IInterval>
{
bool IsContiguous { get; }
/// <summary>
/// Sum of durations of the enclosed ... | mit | C# |
a8e66fcd548e37515062351a9fd111cacd48e67b | Update ViewBase.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D.Editor/ViewBase.cs | src/Core2D.Editor/ViewBase.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 Core2D.Editor.Views.Interfaces;
namespace Core2D.Editor
{
/// <summary>
/// View base class.
/// </summary>
/// <typeparam name="T">The type... | // 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 Core2D.Editor.Views.Interfaces;
namespace Core2D.Editor
{
/// <summary>
/// View base class.
/// </summary>
/// <typeparam name="T">The type... | mit | C# |
67ed010fcedea2151648a60166a6c9bc010c31d5 | Add UserName to LogEntries When Authenticated | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Web/Global.asax.cs | Portal.CMS.Web/Global.asax.cs | using LogBook.Services;
using LogBook.Services.Models;
using Portal.CMS.Web.Architecture.Helpers;
using Portal.CMS.Web.Architecture.ViewEngines;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Razor;
using System.Web.Routing;
using System.Web.WebPages;
namespace Portal.CMS.Web
{
public class... | using LogBook.Services;
using LogBook.Services.Models;
using Portal.CMS.Web.Architecture.ViewEngines;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Razor;
using System.Web.Routing;
using System.Web.WebPages;
namespace Portal.CMS.Web
{
public class MvcApplication : System.Web.HttpApplicatio... | mit | C# |
a635ed5beb614a7b4d3d619839881167449d27f0 | Clarify inline comment | peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework/Graphics/UserInterface/DirectorySelectorDirectory.cs | osu.Framework/Graphics/UserInterface/DirectorySelectorDirectory.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.IO;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Input.Events;
using osu.Framework.Ext... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.IO;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Input.Events;
using osu.Framework.Ext... | mit | C# |
1d256f3b5168776d693d6f1f45b0b04ac143cc44 | Fix potential crash in old .NET versions | MHeasell/SnappyMap,MHeasell/SnappyMap | SnappyMap/IO/SectionConfig.cs | SnappyMap/IO/SectionConfig.cs | namespace SnappyMap.IO
{
using System;
using System.Collections.Generic;
using System.Linq;
using SnappyMap.Data;
[Serializable]
public struct SectionMapping
{
public SectionMapping(SectionType type, params string[] sections)
: this()
{
... | namespace SnappyMap.IO
{
using System;
using System.Collections.Generic;
using System.Linq;
using SnappyMap.Data;
[Serializable]
public struct SectionMapping
{
public SectionMapping(SectionType type, params string[] sections)
: this()
{
... | mit | C# |
8f8211fd184707186ca60e43ed7b95460cb687f6 | Split out divider update in timer | eightlittlebits/elbgb | elbgb.gameboy/Timer.cs | elbgb.gameboy/Timer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace elbgb.gameboy
{
class Timer
{
public static class Registers
{
public const ushort DIV = 0xFF04;
public const ushort TIMA = 0xFF05;
public const ushort TMA = 0xFF06;
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace elbgb.gameboy
{
class Timer
{
public static class Registers
{
public const ushort DIV = 0xFF04;
public const ushort TIMA = 0xFF05;
public const ushort TMA = 0xFF06;
public ... | mit | C# |
c01abb9b6e7990f466e0cf94eb3f8de6d7b5146f | Remove unused using statements | akatakritos/PygmentSharp | src/PygmentSharp/PygmentSharp.UnitTests/Lexers/CSharpLexerTests.cs | src/PygmentSharp/PygmentSharp.UnitTests/Lexers/CSharpLexerTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NFluent;
using PygmentSharp.Core;
using PygmentSharp.Core.Lexers;
using Xunit;
namespace PygmentSharp.UnitTests.Lexers
{
public class CSharpLexerTests
{
[Fact]
public void GetsCorrectTokensWhenSourceCon... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NFluent;
using PygmentSharp.Core;
using PygmentSharp.Core.Lexers;
using Xunit;
namespace PygmentSharp.UnitTests.Lexers
{
public class CSharpLexerTests
{
[Fact]
... | mit | C# |
b54311c4f678f1a652f21ad2bfded4101360a120 | Tweak CLS no-go, not really a thing | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Shared/DisplayTemplates/CLS.cshtml | Battery-Commander.Web/Views/Shared/DisplayTemplates/CLS.cshtml | @using BatteryCommander.Web.Models
@model Soldier
<div>
<a href="@Url.Action("Details", "Soldier", new { Model.Id })">
@if (Model.ClsQualified)
{
<span class="label label-success">GO</span>
}
else if (Model.ClsQualificationDate.HasValue)
{
<span class... | @using BatteryCommander.Web.Models
@model Soldier
<div>
<a href="@Url.Action("Details", "Soldier", new { Model.Id })">
@if (Model.ClsQualified)
{
<span class="label label-success">GO</span>
}
else if (Model.ClsQualificationDate.HasValue)
{
<span class... | mit | C# |
a82df3e455e96bd18b925e0226b8a68e783dbe5d | Replace \n and \r | LanguagePatches/LanguagePatches-Framework | LanguagePatches/TranslationList.cs | LanguagePatches/TranslationList.cs | /**
* Language Patches Framework
* Translates the game into different Languages
* Copyright (c) 2016 Thomas P.
* Licensed under the terms of the MIT License
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace LanguagePatches
{
/// <summary>... | /**
* Language Patches Framework
* Translates the game into different Languages
* Copyright (c) 2016 Thomas P.
* Licensed under the terms of the MIT License
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace LanguagePatches
{
/// <summary>... | mit | C# |
1366a1135a518db8c3199150545ef1d0f20a475d | Add image link to movie | DevChampsBR/MeDaUmFilme | src/MeDaUmFilme.Consulta/Movie.cs | src/MeDaUmFilme.Consulta/Movie.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MeDaUmFilme
{
public class Movie
{
public string Title { get; set; }
public string Year { get; set; }
public string Poster { get; set; }
public string Type { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MeDaUmFilme
{
public class Movie
{
public string Title { get; set; }
public string Year { get; set; }
}
public class OmdbResult
{
public List<Movie> Search { get; set... | mit | C# |
e994464595cd30bb09c5db60d20b18dd1e4d86aa | Remove unnecessary code, add start command | Figglewatts/LSDStay | LSDStay/Program.cs | LSDStay/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace LSDStay
{
class Program
{
public static IntPtr PSXOffset = new IntPtr(0x171A5C);
public static IntPtr LocationTimeOffset = new IntPtr(0x8AC70);
private st... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LSDStay
{
class Program
{
public static IntPtr PSXOffset = new IntPtr(0x171A5C);
public static IntPtr LocationTimeOffset = new IntPtr(0x8AC70);
static uint DELETE = 0x00010000;
s... | mit | C# |
f43be866b229516d400a6aefaca305457357ed75 | Remove test comment | opcon/QuickFont,opcon/QuickFont | QuickFont.Shared/ViewportHelper.cs | QuickFont.Shared/ViewportHelper.cs | using System;
using OpenTK;
using OpenTK.Graphics;
#if OPENGL_ES
using OpenTK.Graphics.ES20;
#else
using OpenTK.Graphics.OpenGL4;
#endif
namespace QuickFont
{
public struct Viewport
{
public float X, Y, Width, Height;
public Viewport(float X, float Y, float Width, float Height) { this.X = X; t... | using System;
using OpenTK;
using OpenTK.Graphics;
#if OPENGL_ES
using OpenTK.Graphics.ES20;
#else
using OpenTK.Graphics.OpenGL4;
#endif
namespace QuickFont
{
public struct Viewport
{
public float X, Y, Width, Height;
public Viewport(float X, float Y, float Width, float Height) { this.X = X; t... | mit | C# |
e04ee2c47fb312df1ae79f50c9199518c977453d | create file if not exists | xwipeoutx/EnumGenie,xwipeoutx/EnumGenie | src/EnumGenie.Core/Writers/FileWriter.cs | src/EnumGenie.Core/Writers/FileWriter.cs | using System.Collections.Generic;
using System.IO;
namespace EnumGenie.Writers
{
public class FileWriter : IWriter
{
private readonly string _file;
private readonly IEnumWriter _enumWriter;
public FileWriter(string file, IEnumWriter enumWriter)
{
_file = file;
... | using System.Collections.Generic;
using System.IO;
namespace EnumGenie.Writers
{
public class FileWriter : IWriter
{
private readonly string _file;
private readonly IEnumWriter _enumWriter;
public FileWriter(string file, IEnumWriter enumWriter)
{
_file = file;
... | mit | C# |
24d4deab9a3335bb58cb82f780a9b37cffcabd9c | Format file, remove outcommented code. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Services/DbService.cs | src/MitternachtBot/Services/DbService.cs | using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database;
namespace Mitternacht.Services {
public class DbService {
private readonly DbContextOptions _options;
public DbService(IBotCredentials creds) {
var optionsBuilder = new DbContextOptionsBuilder();
optionsBuilder.UseSqlite(creds.DbConn... | using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database;
namespace Mitternacht.Services
{
public class DbService
{
private readonly DbContextOptions _options;
public DbService(IBotCredentials creds)
{
var optionsBuilder = new DbContextOptionsBuilder();
... | mit | C# |
48999fad88808aefbaacd9ca0ff86516105565b2 | Add ToString() to BoundTableRelation | terrajobst/nquery-vnext | src/NQuery/Binding/BoundTableRelation.cs | src/NQuery/Binding/BoundTableRelation.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NQuery.Symbols;
namespace NQuery.Binding
{
internal sealed class BoundTableRelation : BoundRelation
{
private readonly TableInstanceSymbol _tableInstance;
public BoundTableRelation(TableInstanceSymbol tableInstance)
... | using System;
using System.Collections.Generic;
using System.Linq;
using NQuery.Symbols;
namespace NQuery.Binding
{
internal sealed class BoundTableRelation : BoundRelation
{
private readonly TableInstanceSymbol _tableInstance;
public BoundTableRelation(TableInstanceSymbol tableInstance)
... | mit | C# |
82fdbc8efe443091cb0d8eeab4fe4b8613e9d0c9 | Remove default license. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.CodeGeneration/Model/Tool.cs | source/Nuke.CodeGeneration/Model/Tool.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace Nuke.CodeGeneration.Model
{
[U... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace Nuke.CodeGeneration.Model
{
[U... | mit | C# |
a11c91a614d1cf37371fad68a78a2e648761bb88 | Initialize GitRepositoryConfigurer with a TextReader | appharbor/appharbor-cli | src/AppHarbor/GitRepositoryConfigurer.cs | src/AppHarbor/GitRepositoryConfigurer.cs | using System;
using System.IO;
using System.Linq;
using AppHarbor.Model;
namespace AppHarbor
{
public class GitRepositoryConfigurer : IGitRepositoryConfigurer
{
private readonly IFileSystem _fileSystem;
private readonly IGitCommand _gitCommand;
private readonly TextReader _reader;
private readonly TextWrite... | using System;
using System.IO;
using System.Linq;
using AppHarbor.Model;
namespace AppHarbor
{
public class GitRepositoryConfigurer : IGitRepositoryConfigurer
{
private readonly IFileSystem _fileSystem;
private readonly IGitCommand _gitCommand;
private readonly TextWriter _writer;
public static string Defa... | mit | C# |
ad6b7b43ec4b3e95c2b93a3170747e58c998ba6e | Change namespace for ByteSizeTypeConverter | omar/ByteSize | src/ByteSizeLib/ByteSizeTypeConverter.cs | src/ByteSizeLib/ByteSizeTypeConverter.cs | using System;
using System.ComponentModel;
using System.Globalization;
namespace ByteSizeLib
{
/// <summary>
/// Provides a type converter to convert <see cref="ByteSize"/> objects to and from <see cref="string"/> objects.
/// </summary>
public class ByteSizeTypeConverter : TypeConverter
{
... | using ByteSizeLib;
using System.Globalization;
namespace System.ComponentModel
{
/// <summary>
/// Provides a type converter to convert <see cref="ByteSize"/> objects to and from <see cref="string"/> objects.
/// </summary>
public class ByteSizeTypeConverter : TypeConverter
{
/// <inheritd... | mit | C# |
72ee87c298b7ef0b6719c38b3e2520af32c511ea | Update dependnecy tracking to group by type better | onovotny/SignService,onovotny/SignService,onovotny/SignService | src/SignService/Utils/TelemetryLogger.cs | src/SignService/Utils/TelemetryLogger.cs | using System;
using System.Globalization;
using System.IO;
using System.Linq;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
namespace SignService.Utils
{
public interface ITelemetryLogger
{
void OnSignFile(string file, string toolName);
void TrackSignT... | using System;
using System.Globalization;
using System.IO;
using System.Linq;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
namespace SignService.Utils
{
public interface ITelemetryLogger
{
void OnSignFile(string file, string toolName);
void TrackSignT... | mit | C# |
75c26de3586b78bb950180e182c4508fe2d3b820 | Bump NetCore provider version | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.NetCore.Common/Messages/RaygunClientMessage.cs | Mindscape.Raygun4Net.NetCore.Common/Messages/RaygunClientMessage.cs | namespace Mindscape.Raygun4Net
{
public class RaygunClientMessage
{
public RaygunClientMessage()
{
Name = "Raygun4Net.NetCore";
Version = "6.3.1";
ClientUrl = @"https://github.com/MindscapeHQ/raygun4net";
}
public string Name { get; set; }
public string Version { get; set; }... | namespace Mindscape.Raygun4Net
{
public class RaygunClientMessage
{
public RaygunClientMessage()
{
Name = "Raygun4Net.NetCore";
Version = "6.2.0";
ClientUrl = @"https://github.com/MindscapeHQ/raygun4net";
}
public string Name { get; set; }
public string Version { get; se... | mit | C# |
2ec9a5c5c78b2e9ee6f655901507f64eacadc317 | Update PushalotOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotOptions.cs | TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotOptions.cs | using System.Collections.Generic;
namespace TIKSN.Analytics.Telemetry.Pushalot
{
public class PushalotOptions
{
public PushalotOptions()
{
this.EventAuthorizationTokens = new List<string>();
this.ExceptionAuthorizationTokens = new List<string>();
this.Metric... | using System.Collections.Generic;
namespace TIKSN.Analytics.Telemetry.Pushalot
{
public class PushalotOptions
{
public PushalotOptions()
{
EventAuthorizationTokens = new List<string>();
ExceptionAuthorizationTokens = new List<string>();
MetricAuthorizationTo... | mit | C# |
b51b07c3a90c0dc1635984f9346175746c5e3da7 | Fix unstable multiplayer room ordering when selection is made | smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu | osu.Game/Screens/OnlinePlay/Components/SelectionPollingComponent.cs | osu.Game/Screens/OnlinePlay/Components/SelectionPollingComponent.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.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Online.Ro... | // 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.Collections.Generic;
using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Online.Rooms;
namespace osu... | mit | C# |
9b50902452f06dc9a4623e2d736a8c4cb916955c | Fix Log4Net path for loading config file | jacobpovar/MassTransit,jacobpovar/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,SanSYS/MassTransit | src/Loggers/MassTransit.Log4NetIntegration/Logging/Log4NetLogger.cs | src/Loggers/MassTransit.Log4NetIntegration/Logging/Log4NetLogger.cs | // Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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.... | // Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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# |
b1ac8cdd8f5fe72f7fa36e46b6ed6cfec379bc16 | Update AllTypes.cs | pushrbx/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,pushrbx/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex | src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types/AllTypes.cs | src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types/AllTypes.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | mit | C# |
006b3110721dfd698cb98df2fa2f6bb7e5ed6062 | fix AudioBufferList.ToString and simplify [empty] case | cwensley/maccore,mono/maccore,jorik041/maccore | src/AudioToolbox/AudioBufferList.cs | src/AudioToolbox/AudioBufferList.cs | //
// AudioBufferList.cs: AudioBufferList wrapper class
//
// Author:
// AKIHIRO Uehara (u-akihiro@reinforce-lab.com)
//
// Copyright 2010 Reinforce Lab.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to d... | //
// AudioBufferList.cs: AudioBufferList wrapper class
//
// Author:
// AKIHIRO Uehara (u-akihiro@reinforce-lab.com)
//
// Copyright 2010 Reinforce Lab.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to d... | apache-2.0 | C# |
4d95506c9b9d57f2c1f473468aa22e934801e988 | Update ClientContext.cs | hprose/hprose-dotnet | src/Hprose.RPC/ClientContext.cs | src/Hprose.RPC/ClientContext.cs | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | mit | C# |
d636fb5495097bb09994a73afb1eec13ee0216e7 | add some home page text | yfann/AuthorizationServer,IdentityModel/AuthorizationServer,s093294/Thinktecture.AuthorizationServer,IdentityModel/AuthorizationServer,yfann/AuthorizationServer,s093294/Thinktecture.AuthorizationServer | source/WebHost/Views/Home/Index.cshtml | source/WebHost/Views/Home/Index.cshtml | @{
ViewBag.Title = "Index";
}
<div class="hero-unit">
<h1>AuthorizationServer</h1>
<p>We secure your APIs</p>
<p>
<a href="@Url.Action("Index", "Home", new { area = "Admin" })"
class="btn btn-primary btn-large">Configure</a>
</p>
</div>
| @{
ViewBag.Title = "Index";
}
<div>
<p>This page intentionally left blank.</p>
</div>
| bsd-3-clause | C# |
298d6b0a2d7d12563384c0237949b54cd76d71f9 | Swap category and status filter positions on the Index page. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Views/Home/Index.cshtml | src/CompetitionPlatform/Views/Home/Index.cshtml | @model CompetitionPlatform.Models.ProjectViewModels.ProjectListIndexViewModel
@{
ViewData["Title"] = "Projects";
}
<div class="projects-filter-buttons">
<div class="col-md-12">
<a asp-area="" asp-controller="Home" asp-action="Index" class="btn btn-primary btn-sm">All Projects</a>
<a asp-area=... | @model CompetitionPlatform.Models.ProjectViewModels.ProjectListIndexViewModel
@{
ViewData["Title"] = "Projects";
}
<div class="projects-filter-buttons">
<div class="col-md-12">
<a asp-area="" asp-controller="Home" asp-action="Index" class="btn btn-primary btn-sm">All Projects</a>
<a asp-area=... | mit | C# |
e0303e58098a54830879ba890296d6a9c57b5baa | Update SharedAssemblyInfo.cs | hallihan/azure-sdk-for-net,travismc1/azure-sdk-for-net,arijitt/azure-sdk-for-net,arijitt/azure-sdk-for-net,hallihan/azure-sdk-for-net | src/HDInsight/SharedAssemblyInfo.cs | src/HDInsight/SharedAssemblyInfo.cs | // Copyright (c) Microsoft Corporation
// 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
//
// THIS CODE IS PROVIDED *A... | // Copyright (c) Microsoft Corporation
// 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
//
// THIS CODE IS PROVIDED *A... | apache-2.0 | C# |
d4894496d1a91e583f22a13bda8057e06cd680be | Add a generic GracefulDictionary | mrahhal/GracefulExpandoObject,mrahhal/GracefulExpandoObject | src/GracefulExpandoObject/GracefulDictionary.cs | src/GracefulExpandoObject/GracefulDictionary.cs | using System.Collections.Generic;
namespace MR
{
public class GracefulDictionary : GracefulDictionary<string, object>
{
}
public class GracefulDictionary<TKey, TValue> : IDictionary<TKey, TValue>
{
protected Dictionary<TKey, TValue> _map = new Dictionary<TKey, TValue>();
public TValue this[TKey key]
{
... | using System.Collections.Generic;
namespace MR
{
public class GracefulDictionary : IDictionary<string, object>
{
protected Dictionary<string, object> _map = new Dictionary<string, object>();
public object this[string key]
{
get
{
object val = null;
_map.TryGetValue(key, out val);
return val;... | mit | C# |
0b5067d74e5c290bdc73785a304fa7acc4fcde9c | Update access modifiers for metadata class | nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,x335/scriptsharp | src/Libraries/Web/Html/TokenList.cs | src/Libraries/Web/Html/TokenList.cs | // TokenList.cs
// Script#/Libraries/Web
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
namespace System.Html {
[IgnoreNamespace]
[Imported]
public sealed class TokenList {
private ... | // TokenList.cs
// Script#/Libraries/Web
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
namespace System.Html {
[IgnoreNamespace]
[Imported]
public class TokenList {
internal TokenL... | apache-2.0 | C# |
0ef9e2fc67e3d1eeac2e6065ab16fdbe86239cd1 | Update LayoutSetting.cs | ChillyFlashER/OpenInput | src/OpenInput/Mechanics/Layout/LayoutSetting.cs | src/OpenInput/Mechanics/Layout/LayoutSetting.cs | namespace OpenInput.Mechanics.Layout
{
using System.Reflection;
public struct LayoutSetting
{
private readonly Layout layout;
private readonly PropertyInfo property;
internal LayoutSetting(
Layout layout,
PropertyInfo property,
string... | namespace OpenInput.Mechanics.Layout
{
using System.Reflection;
public struct LayoutSetting
{
private readonly Layout layout;
private readonly PropertyInfo property;
internal LayoutSetting(
Layout layout,
PropertyInfo property,
string... | mit | C# |
20674a7a04eda229ec8de4d3b0b2185b451a805c | update test | martinlindhe/Punku | PunkuTests/Strings/Invert.cs | PunkuTests/Strings/Invert.cs | using System;
using NUnit.Framework;
using Punku;
[TestFixture]
[Category ("Strings")]
public class Strings_Invert
{
[Test]
public void Test01 ()
{
Assert.AreEqual (Punku.Strings.Invert.InvertStringStatic ("ellwll"), "voodoo");
}
[Test]
public void Test02 ()
{
Assert.AreEqual (Punku.Strings.Invert.InvertS... | using System;
using NUnit.Framework;
using Punku;
[TestFixture]
[Category ("Strings")]
public class Strings_Invert
{
[Test]
public void Test01 ()
{
Assert.AreEqual (Punku.Strings.Invert.InvertEnglish ("ellwll"), "voodoo");
}
[Test]
public void Test02 ()
{
Assert.AreEqual (Punku.Strings.Invert.InvertEnglis... | mit | C# |
3546f8237dc044e821a8659ff9786a4c880cc6f7 | Add comments to Farity.Placeholder | farity/farity | Farity/Placeholder.cs | Farity/Placeholder.cs | namespace Farity
{
/// <summary>
/// A placeholder used to provide dummy arguments to a function in order to place arguments properly
/// in the case of partial application of a function.
/// </summary>
public class Placeholder
{
/// <summary>
/// Returns a new <seealso cref="Pl... | namespace Farity
{
public class Placeholder
{
internal Placeholder()
{
}
}
} | mit | C# |
131917a844fe5305707f74fa93305aab7bb5ebfa | Use https://xamarin.com for HttpClient to avoid a 302 from gmail.com | xamarin/monotouch-samples,xamarin/monotouch-samples,xamarin/monotouch-samples | HttpClient/NetHttp.cs | HttpClient/NetHttp.cs | //
// This file contains the sample code to use System.Net.HttpClient
// using the HTTP handler selected in the IDE UI (or given to mtouch)
//
using System;
using System.Reflection;
using System.Threading.Tasks;
using System.Net.Http;
namespace HttpClientSample
{
public class NetHttp
{
AppDelegate ad;
public N... | //
// This file contains the sample code to use System.Net.HttpClient
// using the HTTP handler selected in the IDE UI (or given to mtouch)
//
using System;
using System.Reflection;
using System.Threading.Tasks;
using System.Net.Http;
namespace HttpClientSample
{
public class NetHttp
{
AppDelegate ad;
public N... | mit | C# |
d9c3348b859ce8957980fb4ed115ab97203759c6 | Bump up version number for v0.3_SP2010 release. | NunoEdgarGub1/Dynamite,NunoEdgarGub1/Dynamite,GSoft-SharePoint/Dynamite,GSoft-SharePoint/Dynamite,AkechiNEET/Dynamite,AkechiNEET/Dynamite,GSoft-SharePoint/Dynamite-2010,GSoft-SharePoint/Dynamite-2010 | Source/CommonAssemblyInfo.cs | Source/CommonAssemblyInfo.cs | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [as... | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [as... | mit | C# |
358cf76409e1a314fe6e3aee37f9af3cb26d278e | Correct "\000" to "\0" | Archie-Yang/PcscDotNet | src/PcscDotNet/SCardReaderGroupExtensions.cs | src/PcscDotNet/SCardReaderGroupExtensions.cs | namespace PcscDotNet
{
/// <summary>
/// Extension methods of SCardReaderGroup.
/// </summary>
public static class SCardReaderGroupExtensions
{
/// <summary>
/// Defined value of SCardReaderGroup.All.
/// </summary>
private const string All = "SCard$AllReaders\0";
... | namespace PcscDotNet
{
/// <summary>
/// Extension methods of SCardReaderGroup.
/// </summary>
public static class SCardReaderGroupExtensions
{
/// <summary>
/// Defined value of SCardReaderGroup.All.
/// </summary>
private const string All = "SCard$AllReaders\000";
... | mit | C# |
edd32bcec43207869b29a6977b65322934975c5d | Update Page.cs | otrain13/FutileTemplate,otrain13/FutileTemplate | Unity/Assets/Scripts/Page.cs | Unity/Assets/Scripts/Page.cs | using System;
public class AbstractPage : FContainer
{
public AbstractPage ()
{
}
virtual public void Start()
{
}
virtual public void Destroy()
{
}
}
| using System;
public class BMHPage : FContainer
{
public BMHPage ()
{
}
virtual public void Start()
{
}
virtual public void Destroy()
{
}
}
| mit | C# |
03e73a1c0dbbed42d83931584279accf5381347f | Load CSS Async | manishramanan15/denann,manishramanan15/denann,manishramanan15/denann | Views/Partials/Styles.cshtml | Views/Partials/Styles.cshtml | @*@Styles.Render("~/bundles/styles")*@
<script type="text/javascript">
function load_css_async(filename) {
var cb = function () {
var l = document.createElement('link'); l.rel = 'stylesheet';
l.href = filename;
var h = document.getElementsByTagName('head')[0]; h.pare... | @Styles.Render("~/bundles/styles")
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900i... | mit | C# |
961ab1d69ab2af4c8a2a563daaecfa26052487fe | Stop using IL generation | jagrem/slang,jagrem/slang,jagrem/slang | src/Compiler/Clr/Compilation/IL/Generator.cs | src/Compiler/Clr/Compilation/IL/Generator.cs | using System;
using slang.Compiler.Clr.Compilation.Definitions;
namespace slang.Compiler.Clr.Compilation.IL
{
public static class Generator
{
public static void GenerateAssembly(AssemblyDefinition assemblyDefinition)
{
throw new NotSupportedException("IL generation is somewhat fla... | using System.Reflection;
using System.Reflection.Emit;
using slang.Compiler.Clr.Compilation.Definitions;
using System;
namespace slang.Compiler.Clr.Compilation.IL
{
public static class Generator
{
public static void GenerateAssembly(AssemblyDefinition definition)
{
var assemblyBuil... | mit | C# |
b6ff87ebbc352fe07500af09f1de1f2e0f7e2da1 | move some stuff around. | jonnii/chinchilla | src/Chinchilla/Configuration/ISubscriptionConfiguration.cs | src/Chinchilla/Configuration/ISubscriptionConfiguration.cs | using System.Collections.Generic;
namespace Chinchilla.Configuration
{
public interface ISubscriptionConfiguration : IEndpointConfiguration
{
uint PrefetchSize { get; }
ushort PrefetchCount { get; }
IEnumerable<string> EndpointNames { get; }
IDeliveryStrategy BuildDeliveryStr... | using System.Collections.Generic;
namespace Chinchilla.Configuration
{
public interface ISubscriptionConfiguration : IEndpointConfiguration
{
IEnumerable<string> EndpointNames { get; }
uint PrefetchSize { get; }
ushort PrefetchCount { get; }
IDeliveryStrategy BuildDeliveryStr... | apache-2.0 | C# |
a675aed05126ab7e5b44536489dd88afcfef2b57 | Update ReactionCallback.cs | foxbot/Discord.Addons.InteractiveCommands,foxbot/Discord.Addons.InteractiveCommands | src/Discord.Addons.InteractiveCommands/ReactionCallback.cs | src/Discord.Addons.InteractiveCommands/ReactionCallback.cs | using System;
using System.Threading.Tasks;
namespace Discord.Addons.InteractiveCommands
{
public class ReactionCallback
{
public bool ResumeAfterExecution { get; set; }
public Func<IUser, Task> Callback { get; set; }
}
}
| using System;
using System.Threading.Tasks;
namespace Discord.Addons.ReactionCallbacks
{
public class ReactionCallback
{
public bool ResumeAfterExecution { get; set; }
public Func<IUser, Task> Callback { get; set; }
}
}
| isc | C# |
fc9fc98c1db42ef5da2f8143090796799c5989a4 | Add Expected Exception Tests | rprouse/nunit-tests,rprouse/nunit-tests,rprouse/nunit-tests | nunit-v3/ExpectedExceptionTests.cs | nunit-v3/ExpectedExceptionTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace nunit.v3
{
[TestFixture]
public class ExpectedExceptionTests
{
[Test]
public void ThrowsException()
{
Assert.Throws<Argum... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace nunit.v3
{
[TestFixture]
public class ExpectedExceptionTests
{
[Test]
public void ThrowsException()
{
Assert.Throws<Argum... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.