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 |
|---|---|---|---|---|---|---|---|---|
c04462ff6f8bac339862f315437fc6a34cf50d86 | Make changing the Uniform.Value update HasChanged | smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework | osu.Framework/Graphics/Shaders/Uniform.cs | osu.Framework/Graphics/Shaders/Uniform.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.OpenGL;
namespace osu.Framework.Graphics.Shaders
{
public class Uniform<T> : IUniformWithValue<T>
where T : struct
{
... | // 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.OpenGL;
namespace osu.Framework.Graphics.Shaders
{
public class Uniform<T> : IUniformWithValue<T>
where T : struct
{
... | mit | C# |
8efad1a0d214cbd620a05195ab9b9415c02df607 | Remove unused references | OlsonDev/PersonalWebApp,OlsonDev/PersonalWebApp | TagHelpers/IconTagHelper.cs | TagHelpers/IconTagHelper.cs | using System.IO;
using System.Xml.Linq;
using Microsoft.AspNet.Razor.TagHelpers;
using Microsoft.Extensions.PlatformAbstractions;
namespace PersonalWebApp.TagHelpers {
[HtmlTargetElement("icon", TagStructure = TagStructure.WithoutEndTag, Attributes = "name")]
public class IconTagHelper : TagHelper {
priva... | using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using Microsoft.AspNet.Razor.TagHelpers;
using Microsoft.AspNet.Server.Kestrel;
using Microsoft.Extensions.PlatformAbstractions;
namespace ... | mit | C# |
f11ca38cf85fdf31b42e087d536a8c61cacbc2dc | Change short name of the extension | Azure/azure-iot-hub-vs-cs,Azure/azure-iot-hub-vs-cs,Azure/azure-iot-hub-vs-cs | AzureIoTHubConnectedServiceLibrary/Provider.cs | AzureIoTHubConnectedServiceLibrary/Provider.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;
using System.Threading.Tasks;
using Micro... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See license.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;
using System.Threading.Tasks;
using Micro... | mit | C# |
4f872abf04064470c1d873c9050b2e721b3c2894 | remove dead code | bradphelan/SketchSolve.NET,bradphelan/SketchSolve.NET,bradphelan/SketchSolve.NET | SketchSolveC#/Circle.cs | SketchSolveC#/Circle.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SketchSolve
{
public class Circle : IEnumerable<Parameter>
{
public Point center = new Point (0, 0);
public Parameter rad = new Parameter (0);... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SketchSolve
{
public class Circle : IEnumerable<Parameter>
{
public Point center = new Point (0, 0);
public Parameter rad = new Parameter (0);... | bsd-3-clause | C# |
fcbac431148b8f0e538cfae330dd49bc898e0c03 | correct the assembly information for SQLiteNG | N3X15/VoxelSim,OpenSimian/opensimulator,ft-/opensim-optimizations-wip-extras,ft-/opensim-optimizations-wip-tests,QuillLittlefeather/opensim-1,AlexRa/opensim-mods-Alex,ft-/arribasim-dev-extras,bravelittlescientist/opensim-performance,TomDataworks/opensim,N3X15/VoxelSim,rryk/omp-server,QuillLittlefeather/opensim-1,OpenSi... | OpenSim/Data/SQLiteNG/Properties/AssemblyInfo.cs | OpenSim/Data/SQLiteNG/Properties/AssemblyInfo.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | bsd-3-clause | C# |
45571fd2475781a2d04bc4cd90cc43be4717a887 | Write test to ensure characters are normalized. | boumenot/Grobid.NET | test/Grobid.PdfToXml.Test/TokenBlockFactoryTest.cs | test/Grobid.PdfToXml.Test/TokenBlockFactoryTest.cs | using System;
using FluentAssertions;
using iTextSharp.text.pdf.parser;
using Xunit;
namespace Grobid.PdfToXml.Test
{
public class TokenBlockFactoryTest
{
[Fact]
public void FactoryShouldNormalizeUnicodeStrings()
{
var stub = new TextRenderInfoStub
... | using System;
using FluentAssertions;
using Xunit;
namespace Grobid.PdfToXml.Test
{
public class TokenBlockFactoryTest
{
[Fact]
public void TestA()
{
var stub = new TextRenderInfoStub();
var testSubject = new TokenBlockFactory(100, 100);
... | apache-2.0 | C# |
5f70ac64967c1fd80618c58647f76d9201679a25 | add token for token email request | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk | SnapMD.VirtualCare.ApiModels/EmailUserRequest.cs | SnapMD.VirtualCare.ApiModels/EmailUserRequest.cs | using SnapMD.VirtualCare.ApiModels.Enums;
namespace SnapMD.VirtualCare.ApiModels
{
/// <summary>
/// Request Model for sending email to user.
/// </summary>
public class EmailUserRequest
{
/// <summary>
/// Gets or sets the email.
/// </summary>
/// <value>
... | using SnapMD.VirtualCare.ApiModels.Enums;
namespace SnapMD.VirtualCare.ApiModels
{
/// <summary>
/// Request Model for sending email to user.
/// </summary>
public class EmailUserRequest
{
/// <summary>
/// Gets or sets the email.
/// </summary>
/// <value>
... | apache-2.0 | C# |
9b8810717224b6778aaf890c47bc5fe6a3f325a1 | change resolution to 1024x768 | tekkenfreak3/Apphack6 | Jump.cs | Jump.cs | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace JumpGame
{
public class Jump : Game
{
GraphicsDeviceManager graphics;
public Jump()
{
graphics = new GraphicsDeviceManager(this);
... | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace JumpGame
{
public class Jump : Game
{
GraphicsDeviceManager graphics;
public Jump()
{
graphics = new GraphicsDeviceManager(this);
... | isc | C# |
b8f2db7941e3562076bf314888b230066d78a71f | Add Dustin to Contact page. | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
bccb7be389234410c0501ee3794f5a59fa27268d | Fix property | fredatgithub/WinFormTemplate | WinFormTemplate/FormOptions.cs | WinFormTemplate/FormOptions.cs | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
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, merg... | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
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, merg... | mit | C# |
a46bd6bd999bc45087eb2bad592f129ab3fb329c | support for namespaces in argslist for xsd2codemirror.exe | q42jaap/xsd2codemirror | xsd2codemirror/Program.cs | xsd2codemirror/Program.cs | using SimpleSchemaParser;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace xsd2codemirror
{
public static class Program
{
public static void Usage()
{
Console.WriteLine("Usage:");
Console.WriteLine("xsd2codemirror.exe [-v] path-to-xsd");
}
... | using SimpleSchemaParser;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace xsd2codemirror
{
public static class Program
{
public static void Usage()
{
Console.WriteLine("Usage:");
Console.WriteLine("xsd2codemirror.exe [-v] path-to-xsd");
}
... | mit | C# |
6f93df0b9dbd1317b072c61b124fb50b30017b41 | Fix ticks causing hold note misses | smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu | osu.Game.Rulesets.Mania/UI/OrderedHitPolicy.cs | osu.Game.Rulesets.Mania/UI/OrderedHitPolicy.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rule... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rule... | mit | C# |
9d4a818e8165c24dda2f9462f8116eb51bd4a876 | Update run.csx | vunvulear/Stuff,vunvulear/Stuff,vunvulear/Stuff | Azure/azure-function-extractgpslocation-onedrive-drawwatermark-git-ci-integration/Az.Function/PictureCSharp/run.csx | Azure/azure-function-extractgpslocation-onedrive-drawwatermark-git-ci-integration/Az.Function/PictureCSharp/run.csx | #r "Microsoft.Azure.WebJobs.Extensions.ApiHub"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExifLib;
using System.IO;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
public static void Run(Stream inputFil... | #r "Microsoft.Azure.WebJobs.Extensions.ApiHub"
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExifLib;
using System.IO;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
public static void Run(Stream inputFil... | apache-2.0 | C# |
835f9d3caefca607c291fe76e9a3e83fbb46e4c4 | Fix formatting | eriawan/roslyn,diryboy/roslyn,weltkante/roslyn,bartdesmet/roslyn,wvdd007/roslyn,eriawan/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,weltkante/roslyn,dotnet/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,eriawan/roslyn,sharwell/roslyn,b... | src/Features/Core/Portable/SplitOrMergeIfStatements/Nested/AbstractSplitIntoNestedIfStatementsCodeRefactoringProvider.cs | src/Features/Core/Portable/SplitOrMergeIfStatements/Nested/AbstractSplitIntoNestedIfStatementsCodeRefactoringProvider.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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis... | // 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.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis... | mit | C# |
6083f8dff055297b0df8f709883df7df5f3718aa | Add check for datetime min | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Application/Queries/GetHMRCLevyDeclaration/GetHMRCLevyDeclarationQueryHandler.cs | src/SFA.DAS.EmployerApprenticeshipsService.Application/Queries/GetHMRCLevyDeclaration/GetHMRCLevyDeclarationQueryHandler.cs | using System;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EAS.Application.Queries.AccountTransactions.GetLastLevyDeclaration;
using SFA.DAS.EAS.Application.Validation;
using SFA.DAS.EAS.Domain.Interfaces;
namespace SFA.DAS.EAS.Application.Queries.GetHMRCLevyDeclaration
{
public class GetHMRCLevyDec... | using System;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EAS.Application.Queries.AccountTransactions.GetLastLevyDeclaration;
using SFA.DAS.EAS.Application.Validation;
using SFA.DAS.EAS.Domain.Interfaces;
namespace SFA.DAS.EAS.Application.Queries.GetHMRCLevyDeclaration
{
public class GetHMRCLevyDec... | mit | C# |
56d666417406af4e9792756f68fbf6e84997130c | fix namespace | RapidScada/scada,RapidScada/scada,RapidScada/scada,RapidScada/scada | ScadaAgent/ScadaAgentCommon.UI/RemoteLogBox.cs | ScadaAgent/ScadaAgentCommon.UI/RemoteLogBox.cs | using Scada.UI;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Scada.Agent.UI
{
public class RemoteLogBox : LogBox
{
/// <summary>
/// Initializes a new instance of the class.
/// </summary>
... | using Scada.UI;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ScadaAgentCommon.UI
{
public class RemoteLogBox : LogBox
{
/// <summary>
/// Initializes a new instance of the class.
/// </summary>
... | apache-2.0 | C# |
720c9217121f2d8278de37ce6fe4c6d9e346337d | bump package version | simonpinn/Neo4jClient.Extension,profet23/Neo4jClient.Extension,CormacdeBarra/Neo4jClient.Extension,neutmute/Neo4jClient.Extension | SolutionItems/Properties/AssemblyInfoGlobal.cs | SolutionItems/Properties/AssemblyInfoGlobal.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCopyright("Copyright 2014")]
[assembly: AssemblyVersion("0.1.0.0")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyInformationalVersion("0.1.0.2-beta-tx")] // trigger p... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCopyright("Copyright 2014")]
[assembly: AssemblyVersion("0.1.0.0")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyInformationalVersion("0.1.0.1-beta-tx")] // trigger p... | mit | C# |
7396f7b0c230abc6d0e1e7b87be87216c2722fe4 | remove Tag in Post and Page model | csyntax/BlogSystem | Source/BlogSystem.Data/ApplicationDbContext.cs | Source/BlogSystem.Data/ApplicationDbContext.cs | namespace BlogSystem.Data
{
using System;
using System.Linq;
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
using Contracts;
using Models;
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext()
... | namespace BlogSystem.Data
{
using System;
using System.Linq;
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
using Contracts;
using Models;
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext()
... | mit | C# |
583c67e9105cbc67569e3ec39030a9170ea4fffc | bump to version 1.5.14 | Terradue/DotNetOpenSearch | Terradue.OpenSearch/Properties/AssemblyInfo.cs | Terradue.OpenSearch/Properties/AssemblyInfo.cs | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar 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... | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar 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... | agpl-3.0 | C# |
b611488e4af26376dd88fe5b22d125af3e6cebb7 | Update LegendaryDroppedPopup.cs | prrovoss/THUD | plugins/Prrovoss/LegendaryDroppedPopup.cs | plugins/Prrovoss/LegendaryDroppedPopup.cs | using Turbo.Plugins.Default;
namespace Turbo.Plugins.Prrovoss
{
public class LegendaryDroppedPopup : BasePlugin, ILootGeneratedHandler
{
public void OnLootGenerated(IItem item, bool gambled)
{
if (item.Quality >= ItemQuality.Legendary)
Hud.RunOnPlugin<PopupNotifica... | using Turbo.Plugins.Default;
namespace Turbo.Plugins.Prrovoss
{
public class LegendaryDroppedPopup : BasePlugin, ILootGeneratedHandler
{
public void OnLootGenerated(IItem item, bool gambled)
{
if (item.Quality >= ItemQuality.Legendary)
Hud.RunOnPlugin<PopupNotifica... | mit | C# |
7e5f5f84f044444c906e80fda702b9d8dab93697 | Update version number for future v2.2 release | Zeugma440/atldotnet | ATL/Properties/AssemblyInfo.cs | ATL/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: Assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: Assemb... | mit | C# |
9b17dccfeb0046605c303c38cfdf9398b80dae07 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
2fbd26b4bfb57bde52dfe75ecc259b09e7628de5 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
eb18d3fdb5e0f41217146e895409bb822fadaa99 | Add [Serializable] attribute | dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute | Source/NSubstitute/Exceptions/MissingSequenceNumberException.cs | Source/NSubstitute/Exceptions/MissingSequenceNumberException.cs | using System;
using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
[Serializable]
public class MissingSequenceNumberException : SubstituteException
{
public MissingSequenceNumberException() { }
protected MissingSequenceNumberException(SerializationInfo info, StreamingConte... | using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
[Serializable]
public class MissingSequenceNumberException : SubstituteException
{
public MissingSequenceNumberException() { }
protected MissingSequenceNumberException(SerializationInfo info, StreamingContext context) : ... | bsd-3-clause | C# |
c420d3d29b5010dec9203479b6f647ed26ff5876 | Simplify Login() action - no explicit return necessary | GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet | aspnet/4-auth/Controllers/SessionController.cs | aspnet/4-auth/Controllers/SessionController.cs | // Copyright(c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | // Copyright(c) 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | apache-2.0 | C# |
c8cebf88dc090bbcb9d6b74bdc77b78f84073a50 | Update AssemblyInfo.cs | PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom | src/Wpf.Controls.PanAndZoom/Properties/AssemblyInfo.cs | src/Wpf.Controls.PanAndZoom/Properties/AssemblyInfo.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Wpf.Controls.PanAndZoom")]
[assembly: AssemblyDescr... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
[assembly: AssemblyTitle("Wpf.Controls.PanAndZoo... | mit | C# |
6e14e7cc482874361e489f7b2a8bff990e155d77 | Update DoubleExceptionPreventionForLog.cs | maniero/SOpt,bigown/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,bigown/SOpt,maniero/SOpt,bigown/SOpt,bigown/SOpt,maniero/SOpt,bigown/SOpt,maniero/SOpt,bigown/SOpt,bigown/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,bigown/SOpt,bigown/SOpt,bigown/SOpt,maniero/SOpt,manie... | CSharp/Exception/DoubleExceptionPreventionForLog.cs | CSharp/Exception/DoubleExceptionPreventionForLog.cs | catch (Exception ex) when (!(ex is DbException) && !(ex is EntityException)) {
//faz o que deseja aqui
}
//melhor
catch (ex is DbException)) {
//faz o que deseja aqui
} catch (ex is EntityException) {
//faz o que deseja aqui
} catch (Exception ex) {
//faz o que deseja aqui
}
//http://pt.stackoverflow... | catch (Exception ex) when (!(ex is SQLException) && !(ex is EntityException)) {
//faz o que deseja aqui
}
//melhor
catch (ex is SQLException)) {
//faz o que deseja aqui
} catch (ex is EntityException) {
//faz o que deseja aqui
} catch (Exception ex) {
//faz o que deseja aqui
}
//http://pt.stackoverfl... | mit | C# |
81280dfd257fe482e0baeab20c828849b26837a8 | Use editable skin structure in combo colour picker | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu | osu.Game/Screens/Edit/Setup/ColoursSection.cs | osu.Game/Screens/Edit/Setup/ColoursSection.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Screens.Edit.... | // 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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Graphi... | mit | C# |
a0b7f07c8f1ff33baac4a60801c0dd70d816928c | update comment. | sassembla/Autoya,sassembla/Autoya,sassembla/Autoya | Assets/AutoyaSample/11_Resources/LoadResourcesSample.cs | Assets/AutoyaSample/11_Resources/LoadResourcesSample.cs | using System;
using System.Collections;
using AutoyaFramework;
using AutoyaFramework.AssetBundles;
using AutoyaFramework.Settings.AssetBundles;
using UnityEngine;
using UnityEngine.UI;
public class LoadResourcesSample : MonoBehaviour
{
public Image image;
private Sprite sprite;
void Start()
{
... | using System;
using System.Collections;
using AutoyaFramework;
using AutoyaFramework.AssetBundles;
using AutoyaFramework.Settings.AssetBundles;
using UnityEngine;
using UnityEngine.UI;
public class LoadResourcesSample : MonoBehaviour
{
public Image image;
private Sprite sprite;
void Start()
{
... | mit | C# |
2fdfe5e667b92664f6e8a7d16d60871d450150ec | Update Custom field to the correct POCO representation | commercetools/commercetools-dotnet-sdk | commercetools.NET/Carts/CustomLineItemDraft.cs | commercetools.NET/Carts/CustomLineItemDraft.cs | using System.Collections.Generic;
using commercetools.Common;
using commercetools.CustomFields;
using Newtonsoft.Json;
namespace commercetools.Carts
{
/// <summary>
/// API representation for creating a new CustomLineItem.
/// </summary>
/// <see href="http://dev.commercetools.com/http-api-projects-... | using System.Collections.Generic;
using commercetools.Common;
using commercetools.CustomFields;
using Newtonsoft.Json;
namespace commercetools.Carts
{
/// <summary>
/// API representation for creating a new CustomLineItem.
/// </summary>
/// <see href="http://dev.commercetools.com/http-api-projects-... | mit | C# |
99e1d589c9fc5fd61ee215842d4c72cbd3add11d | Replace erroneous coopyright info | siwater/Cloudworks,siwater/Cloudworks,siwater/Cloudworks | Citrix.Cloudworks.Agent.Host/Properties/AssemblyInfo.cs | Citrix.Cloudworks.Agent.Host/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("Ci... | 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("Ci... | mit | C# |
114c71592c87809626beb354c73a6e3ef32a7ed1 | Remove unnecessary argument exception documentation on user info | cronofy/cronofy-csharp | src/Cronofy/ICronofyUserInfoClient.cs | src/Cronofy/ICronofyUserInfoClient.cs | namespace Cronofy
{
using System;
/// <summary>
/// Interface for a Cronofy client base that manages the
/// access token and any shared client methods.
/// </summary>
public interface ICronofyUserInfoClient
{
/// <summary>
/// Gets the user info belonging to the account.
... | namespace Cronofy
{
using System;
/// <summary>
/// Interface for a Cronofy client base that manages the
/// access token and any shared client methods.
/// </summary>
public interface ICronofyUserInfoClient
{
/// <summary>
/// Gets the user info belonging to the account.
... | mit | C# |
c1ac6a5c3ad934e719f3c83d5dc69f1023d8a222 | remove conversationID from ExampleConversation | watson-developer-cloud/unity-sdk,watson-developer-cloud/unity-sdk,kimberlysiva/unity-sdk,watson-developer-cloud/unity-sdk,scottdangelo/unity-sdk,scottdangelo/unity-sdk,kimberlysiva/unity-sdk | Examples/ServiceExamples/Scripts/ExampleConversation.cs | Examples/ServiceExamples/Scripts/ExampleConversation.cs | /**
* Copyright 2015 IBM Corp. 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
*
* Unless required by applicable law ... | /**
* Copyright 2015 IBM Corp. 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
*
* Unless required by applicable law ... | apache-2.0 | C# |
95e8ee2e1387423fd8b0db190214c966043fcedf | Fix to pass ThConverterEventArgsTests | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverter/Models/ThConverterEventArgs.cs | ThScoreFileConverter/Models/ThConverterEventArgs.cs | //-----------------------------------------------------------------------
// <copyright file="ThConverterEventArgs.cs" company="None">
// (c) 2014-2015 IIHOSHI Yoshinori
// </copyright>
//-----------------------------------------------------------------------
namespace ThScoreFileConverter.Models
{
using Syst... | //-----------------------------------------------------------------------
// <copyright file="ThConverterEventArgs.cs" company="None">
// (c) 2014-2015 IIHOSHI Yoshinori
// </copyright>
//-----------------------------------------------------------------------
namespace ThScoreFileConverter.Models
{
using Syst... | bsd-2-clause | C# |
a6e95b8677825a9dde286e47da608ee26d5e79ad | Improve when there is no carrier | janssenr/MyParcelApi.Net | src/MyParcelApi.Net/Models/Carrier.cs | src/MyParcelApi.Net/Models/Carrier.cs | namespace MyParcelApi.Net.Models
{
public enum Carrier
{
None = 0,
PostNl = 1,
BPost = 2
}
}
| namespace MyParcelApi.Net.Models
{
public enum Carrier
{
PostNl = 1,
BPost = 2
}
}
| mit | C# |
19d8e79c819603ed1cb5b8caf09f7b2b864fa631 | Update OWIN project | mvno/Okanshi,mvno/Okanshi,mvno/Okanshi | src/Okanshi.Owin/OkanshiMiddleware.cs | src/Okanshi.Owin/OkanshiMiddleware.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using AppFunc = System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>;
namespace Okanshi.Owin
{
/// <summary>
/// The Okanshi middleware
/// </summary>
public class OkanshiMiddleware
{
... | using System.Collections.Generic;
using System.Threading.Tasks;
using AppFunc = System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>;
namespace Okanshi.Owin
{
/// <summary>
/// The Okanshi middleware
/// </summary>
public class OkanshiMiddleware
{
... | mit | C# |
b25eb453d9b83ac80a16d351aef0dee338b861f8 | Remove use of All() | martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle005.cs | src/ProjectEuler/Puzzles/Puzzle005.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | apache-2.0 | C# |
42795d9f3ef6000b0da43d2864258574a9401921 | add UpdateInfo() | yasokada/unity-160820-Inventory-UI | Assets/InventoryCS.cs | Assets/InventoryCS.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using NS_SampleData;
using NS_MyStringUtil;
/*
* - add UpdateInfo()
* - add [MyStringUtil.cs]
* - add OpenURL()
* v0.1 2016 Aug. 21
* - add MoveColumn()
* - add MoveRow()
* - add SampleData.cs
* - add UI components (unique ID, Ca... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using NS_SampleData;
using NS_MyStringUtil;
/*
* - add [MyStringUtil.cs]
* - add OpenURL()
* v0.1 2016 Aug. 21
* - add MoveColumn()
* - add MoveRow()
* - add SampleData.cs
* - add UI components (unique ID, Case No, Row, Column, Abou... | mit | C# |
a6f151dd9e8300d8c6153beddf4883af76f4f678 | Check for shots going out of bounds and kill them | mlepage/karmbat | Assets/Scripts/ShotControl.cs | Assets/Scripts/ShotControl.cs | using UnityEngine;
using System.Collections;
public class ShotControl : MonoBehaviour {
public float speed = 0.2f;
private bool inBlock;
private int life = 3;
void Start () {
}
void Update () {
// Old position
Vector3 position = transform.position;
// Move
transform.Translate(Vector3.up * speed);... | using UnityEngine;
using System.Collections;
public class ShotControl : MonoBehaviour {
public float speed = 0.2f;
private bool inBlock;
private int life = 3;
void Start () {
}
void Update () {
// Old position
Vector3 position = transform.position;
// Move
transform.Translate(Vector3.up * speed);... | apache-2.0 | C# |
0938deebf88779c5161df8907867743b72423658 | Fix build | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Helpers/TaskHelper.cs | src/WeihanLi.Common/Helpers/TaskHelper.cs | // Copyright (c) Weihan Li. All rights reserved.
// Licensed under the Apache license.
namespace WeihanLi.Common.Helpers;
public static class TaskHelper
{
#if ValueTaskSupport
/// <summary>
/// A cached completed value task
/// </summary>
public static ValueTask CompletedValueTask =>
#if NET6_0_OR_GR... | // Copyright (c) Weihan Li. All rights reserved.
// Licensed under the Apache license.
namespace WeihanLi.Common.Helpers;
public static class TaskHelper
{
#if ValueTaskSupport
/// <summary>
/// A cached completed value task
/// </summary>
public static ValueTask CompletedValueTask =>
#if NET6_0_OR_GR... | mit | C# |
c9b3ad32bcd678b6683ba5eb3b1b2c1fb6864ef7 | 更改version 描述文字 | yozora-hitagi/Saber,yozora-hitagi/Saber | Saber/Helper/ErrorReporting.cs | Saber/Helper/ErrorReporting.cs | using System;
using System.Windows.Threading;
using NLog;
using Saber.Infrastructure;
using Saber.Infrastructure.Exception;
namespace Saber.Helper
{
public static class ErrorReporting
{
private static void Report(Exception e)
{
var logger = LogManager.GetLogger("UnHandledException"... | using System;
using System.Windows.Threading;
using NLog;
using Saber.Infrastructure;
using Saber.Infrastructure.Exception;
namespace Saber.Helper
{
public static class ErrorReporting
{
private static void Report(Exception e)
{
var logger = LogManager.GetLogger("UnHandledException"... | mit | C# |
5f05f95c45b3b36f10140a7307d4548396ab49d3 | Add more style extension methods | kswoll/WootzJs,x335/WootzJs,x335/WootzJs,x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs | WootzJs.Mvc/StyleExtensions.cs | WootzJs.Mvc/StyleExtensions.cs | using WootzJs.Mvc.Views;
using WootzJs.Mvc.Views.Css;
namespace WootzJs.Mvc
{
public static class StyleExtensions
{
public static T WithBold<T>(this T control) where T : Control
{
control.Style.Font.Weight = new CssFontWeight(CssFontWeightType.Bold);
return control;
... | using WootzJs.Mvc.Views;
using WootzJs.Mvc.Views.Css;
namespace WootzJs.Mvc
{
public static class StyleExtensions
{
public static T WithBold<T>(this T control) where T : Control
{
control.Style.Font.Weight = new CssFontWeight(CssFontWeightType.Bold);
return control;
... | mit | C# |
46018f13a117471076ec77a4859f20975b98f411 | Refactor AssemblyHelper and handle missing members | danielchalmers/WpfAboutView | WpfAboutView/AssemblyHelper.cs | WpfAboutView/AssemblyHelper.cs | using System;
using System.IO;
using System.Reflection;
namespace WpfAboutView
{
internal static class AssemblyHelper
{
/// <summary>
/// Returns the assembly's Company attribute, or <c>null</c> if one isn't supplied.
/// </summary>
internal static string GetCompany(this Assemb... | using System;
using System.IO;
using System.Reflection;
namespace WpfAboutView
{
internal static class AssemblyHelper
{
internal static string GetCompany(this Assembly _assembly) => _assembly.GetCustomAttribute<AssemblyCompanyAttribute>().Company;
internal static string GetCopyright(this Asse... | mit | C# |
46e72fc838d0a728cb2d8420ae7895aa03dc80d7 | Fix rule target | msawczyn/EFDesigner,msawczyn/EFDesigner,msawczyn/EFDesigner | src/Dsl/CustomCode/Rules/ModelAttributeAddRules.cs | src/Dsl/CustomCode/Rules/ModelAttributeAddRules.cs | using Microsoft.VisualStudio.Modeling;
namespace Sawczyn.EFDesigner.EFModel
{
[RuleOn(typeof(ModelAttribute), FireTime = TimeToFire.TopLevelCommit)]
internal class ModelAttributeAddRules : AddRule
{
public override void ElementAdded(ElementAddedEventArgs e)
{
base.ElementAdded(e);
... | using Microsoft.VisualStudio.Modeling;
namespace Sawczyn.EFDesigner.EFModel
{
[RuleOn(typeof(ModelClass), FireTime = TimeToFire.TopLevelCommit)]
internal class ModelAttributeAddRules : AddRule
{
public override void ElementAdded(ElementAddedEventArgs e)
{
base.ElementAdded(e);
... | mit | C# |
d9270a297e87aada1ea1b8efc0d6ec9f4e3bb861 | Add LogCallback to TAPNetTest | juhovh/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,eyecreate/tapcfg,eyecreate/tapcfg,juhovh/tapcfg,juhovh/tapcfg,eyecreate/tapcfg,eyecreate/tapcfg,juhovh/tapcfg,zhanleewo/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,zhanleewo/tapcfg,zhanleewo/tapcfg,eyecreate/tapcfg | src/demos/TAPNetTest.cs | src/demos/TAPNetTest.cs | /**
* tapcfg - A cross-platform configuration utility for TAP driver
* Copyright (C) 2008-2009 Juho Vähä-Herttua
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* v... | /**
* tapcfg - A cross-platform configuration utility for TAP driver
* Copyright (C) 2008-2009 Juho Vähä-Herttua
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* v... | lgpl-2.1 | C# |
70e0f6961642850e9a4d7d27988ceb9b1b8dd866 | test cases | jefking/King.A-Trak | King.ATrak.Test/Windows/FileItemTests.cs | King.ATrak.Test/Windows/FileItemTests.cs | namespace King.ATrak.Test.Windows
{
using King.ATrak.Windows;
using NUnit.Framework;
using System;
[TestFixture]
public class FileItemTests
{
[Test]
public void Constructor()
{
new FileItem("C:\\happy", "temp.csv");
}
[Test]
[Expecte... | namespace King.ATrak.Test.Windows
{
using King.ATrak.Windows;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[TestFixture]
public class FileItemTests
{
[Test]
public void... | mit | C# |
e64e4778d379bc1251d42a6d79d08863d5d7c163 | Add ConfigureAwait false | martijn00/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager,mike-rowley/XamarinMediaManager | MediaManager/Media/MediaExtractorBase.cs | MediaManager/Media/MediaExtractorBase.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace MediaManager.Media
{
public abstract class MediaExtractorBase : IMediaExtractor
{
public virtual async Task<IMediaItem> CreateMediaItem(string url)
{
var medi... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace MediaManager.Media
{
public abstract class MediaExtractorBase : IMediaExtractor
{
public virtual async Task<IMediaItem> CreateMediaItem(string url)
{
var medi... | mit | C# |
b8b17f0999a1cc2e757a33f57ad3c3f6edd82609 | Handle URL's with or without a / suffix | IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner | MultiMiner.MobileMiner.Api/ApiContext.cs | MultiMiner.MobileMiner.Api/ApiContext.cs | using System.Net;
using System.Web.Script.Serialization;
namespace MultiMiner.MobileMiner.Api
{
public class ApiContext
{
static public void SubmitMiningStatistics(string url, MiningStatistics miningStatistics)
{
if (!url.EndsWith("/"))
url = url + "/";
... | using System.Net;
using System.Web.Script.Serialization;
namespace MultiMiner.MobileMiner.Api
{
public class ApiContext
{
static public void SubmitMiningStatistics(string url, MiningStatistics miningStatistics)
{
string fullUrl = url + "/api/MiningStatisticsInput";
usin... | mit | C# |
d381da81d6bf57f05dd3f3430de6c8c936932292 | Add method doc to IImproveAssetCache | EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,OpenSimian/opensimulator,ft-/arribasim-dev-extras,Michelle-Argus/ArribasimExtract,ft-/opensim-optimizations-wip-extras,RavenB/opensim,ft-/opensim-optimizations-wip,M-O-S-E-S/opensim,ft-/opensim-optimizations-wip-tests,Michelle-Argus/ArribasimExtract,QuillLittlefeather/opensim-1,ft-/... | OpenSim/Framework/IImprovedAssetCache.cs | OpenSim/Framework/IImprovedAssetCache.cs | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | bsd-3-clause | C# |
bf6b5f1176977d1c3f5068c9a33f9c7f5681b1fe | bump version to 2.14.0 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
0346f2baa1967d0d01311d3fc6337e46b7388f13 | Revert "Fix Throttler LocalCache Dependency" | rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,dfaruque/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,WasimAhm... | Serenity.Core/Authorization/Throttler.cs | Serenity.Core/Authorization/Throttler.cs | using Serenity.Abstractions;
using System;
namespace Serenity
{
public class Throttler
{
public Throttler(string key, TimeSpan duration, int limit)
{
Key = key;
Duration = duration;
Limit = limit;
CacheKey = "Throttling:" + key + ":" ... | using Serenity.Abstractions;
using System;
namespace Serenity
{
public class Throttler
{
public Throttler(string key, TimeSpan duration, int limit)
{
Key = key;
Duration = duration;
Limit = limit;
CacheKey = "Throttling:" + key + ":" ... | mit | C# |
531d325142fc7e15e722bd27a3d2d1c23cb75f76 | Fix test namespace (#1430) | open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet | test/OpenTelemetry.Tests/Instrumentation/PropertyFetcherTest.cs | test/OpenTelemetry.Tests/Instrumentation/PropertyFetcherTest.cs | // <copyright file="PropertyFetcherTest.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.ap... | // <copyright file="PropertyFetcherTest.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.ap... | apache-2.0 | C# |
e907c3e500d6f200dbeb331657b370ec8f46ddd4 | Update logging.cs | AntiTcb/Discord.Net,LassieME/Discord.Net,Confruggy/Discord.Net,RogueException/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
{
// Note: This is the light client, it only supports REST calls.
private DiscordSocketClient _client;
static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult();
public async Task Start()
{
_client = new Di... | mit | C# |
74a5b9a7d3bd51eadb3372dd1ca002335fe400db | Disable dupfinder because of Hg.Net | vCipher/Cake.Hg | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.Hg",
repositoryOwner: "cake-contrib",
repositoryName: "Cake.Hg... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cak... | mit | C# |
b7451e8b563769c7b75c0df062ca76f607799e42 | Bump shared version | thinktecture/relayserver,thinktecture/relayserver,thinktecture/relayserver | Shared/AssemblyInfo.shared.cs | Shared/AssemblyInfo.shared.cs | using System.Reflection;
// WARNING: This file is shared between all RelayServer .NET projects
[assembly: AssemblyCompany("Thinktecture AG")]
[assembly: AssemblyProduct("Thinktecture RelayServer")]
[assembly: AssemblyCopyright("Copyright © Thinktecture AG 2015 - 2020. All rights reserved.")]
[assembly: AssemblyTradem... | using System.Reflection;
// WARNING: This file is shared between all RelayServer .NET projects
[assembly: AssemblyCompany("Thinktecture AG")]
[assembly: AssemblyProduct("Thinktecture RelayServer")]
[assembly: AssemblyCopyright("Copyright © Thinktecture AG 2015 - 2020. All rights reserved.")]
[assembly: AssemblyTradem... | bsd-3-clause | C# |
aa735a1ee3c6d709ad53c36df873d9ab1a8c6a23 | Bump version | Naxiz/NFU | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NFU")]
[assembly: AssemblyDescription("")... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NFU")]
[assembly: AssemblyDescription("")... | mit | C# |
4610d8592feded4b7ea030bc7f5800695b4e3267 | Increase version number & add 2014 copyright | MaartenStaa/mow-chat,MaartenStaa/mow-chat | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mo... | 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("Mo... | mit | C# |
016dea5ada32defbf30b75760d2f9b16d44d9309 | Bump version to 1.2.4.0 | EliotVU/Unreal-Library | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle( "UELib" )]
[assembly: AssemblyDescription... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle( "UELib" )]
[assembly: AssemblyDescription... | mit | C# |
b664fc2a65dc1cc95e24c56e6393a1375c29d983 | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | autofac/Autofac.Extras.DomainServices | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.DomainServices")]
[assembly: ComVisible(false)] | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.DomainServices")]
[assembly: AssemblyDescription("Autofac Integration for RIA Services")]
[assembly: ComVisible(false)] | mit | C# |
dd4ba3735a5ca695b09352451562c2b984ea4c6b | Bump version | o11c/WebMConverter,nixxquality/WebMConverter,Yuisbean/WebMConverter | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("We... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("We... | mit | C# |
882dd714fbdaa4085b96973902b75be34daf78fe | update nuget package | jjchiw/gelf4net,jjchiw/gelf4net | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("gelf4net")]
[assembly: AssemblyFileVersion("2.0.3.11")]
[assembly: AssemblyVersion("2.0.3.11")]
[assembly: AssemblyCopyright("Copyright 2015")]
[assembly: ComVisible(false)]
| using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("gelf4net")]
[assembly: AssemblyFileVersion("2.0.3.10")]
[assembly: AssemblyVersion("2.0.3.10")]
[assembly: AssemblyCopyright("Copyright 2015")]
[assembly: ComVisible(false)]
| mit | C# |
9306dd5e30f8c1671606ef161d7235ceec133455 | Apply changes from removal of GLWrapper | ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game/Graphics/Sprites/LogoAnimation.cs | osu.Game/Graphics/Sprites/LogoAnimation.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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Rendering;
using osu.Framework.Graphics.Shaders;
using osu.F... | // 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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Rendering;
using osu.Framework.Graphics.Shaders;
using osu.F... | mit | C# |
0ece5504f9ed92451ae532b723194293c7615146 | Add comment. | RockFramework/Rock.Messaging,bfriesen/Rock.Messaging,peteraritchie/Rock.Messaging | Rock.Messaging/Rock.StaticDependencyInjection/ExportAttribute.cs | Rock.Messaging/Rock.StaticDependencyInjection/ExportAttribute.cs | // Leave this file blank. (Except, of course, for this comment.) | mit | C# | |
3c0d6088da262e1f407fea262a531a46bd41446d | fix problem resulting from the client terminating the connection abruptly without following the default protocol | PedDavid/qip,PedDavid/qip,PedDavid/qip | Server/WebSockets/StringWebSockets/StringWebSocketsOperations.cs | Server/WebSockets/StringWebSockets/StringWebSocketsOperations.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
using WebSockets.Models;
using WebSockets.Operations;
namespace WebSockets.StringWebSockets {
public class StringWe... | using Newtonsoft.Json;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading;
using System.Threading.Tasks;
using WebSockets.Models;
using WebSockets.Operations;
namespace WebSockets.StringWebSockets {
public class StringWebSocketsOperations {
private readon... | mit | C# |
400745c91792ca760f674cfa74764ef38200b497 | Fix tests | tzachshabtay/MonoAGS | Source/Engine/AGS.Engine/Serialization/Contracts/ContractRoom.cs | Source/Engine/AGS.Engine/Serialization/Contracts/ContractRoom.cs | using System;
using ProtoBuf;
using AGS.API;
using System.Collections.Generic;
using Autofac;
namespace AGS.Engine
{
[ProtoContract(AsReferenceDefault = true)]
public class ContractRoom : IContract<IRoom>
{
public ContractRoom()
{
}
[ProtoMember(1)]
public string ID { get; set; }
[ProtoMember(2)]
p... | using System;
using ProtoBuf;
using AGS.API;
using System.Collections.Generic;
using Autofac;
namespace AGS.Engine
{
[ProtoContract(AsReferenceDefault = true)]
public class ContractRoom : IContract<IRoom>
{
public ContractRoom()
{
}
[ProtoMember(1)]
public string ID { get; set; }
[ProtoMember(2)]
p... | artistic-2.0 | C# |
87e8074cd267f9f8676fa7f7f5ecc18ae3a56029 | Use a const for excess length | ZLima12/osu,naoey/osu,peppy/osu-new,UselessToucan/osu,EVAST9919/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,NeoAdonis/osu,naoey/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,ppy/osu,johnneijzen/osu,ppy/osu,ZLima12/osu,johnneijzen/osu,2yangk23/osu,N... | osu.Game/Beatmaps/WorkingBeatmap_VirtualBeatmapTrack.cs | osu.Game/Beatmaps/WorkingBeatmap_VirtualBeatmapTrack.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using osu.Framework.Audio.Track;
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Beatmaps
{
public partial class WorkingBeatmap
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using osu.Framework.Audio.Track;
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Beatmaps
{
public partial class WorkingBeatmap
{
... | mit | C# |
12d396a51359dcec41f24a34aa8424f43d5acc2f | Use `-1` to specify default buffer size | ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/IO/LineBufferedReader.cs | osu.Game/IO/LineBufferedReader.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 System.Text;
namespace osu.Game.IO
{
/// <summary>
/// A <see cref="StreamReader"/>-like decorator (with more limited API) ... | // 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 System.Text;
namespace osu.Game.IO
{
/// <summary>
/// A <see cref="StreamReader"/>-like decorator (with more limited API) ... | mit | C# |
762a1576fd052f1177ed0244d5cd110ec14e816d | make the sample 2.4 friendly | antoniusriha/gtk-sharp,orion75/gtk-sharp,orion75/gtk-sharp,openmedicus/gtk-sharp,antoniusriha/gtk-sharp,Gankov/gtk-sharp,antoniusriha/gtk-sharp,openmedicus/gtk-sharp,akrisiun/gtk-sharp,sillsdev/gtk-sharp,orion75/gtk-sharp,sillsdev/gtk-sharp,antoniusriha/gtk-sharp,sillsdev/gtk-sharp,akrisiun/gtk-sharp,openmedicus/gtk-sh... | sample/test/TestComboBox.cs | sample/test/TestComboBox.cs | // TestCombo.cs
//
// Author: Mike Kestner (mkestner@novell.com)
//
// Copyright (c) 2005, Novell, Inc.
//
using System;
using Gtk;
namespace WidgetViewer {
public class TestComboBox
{
static Window window = null;
public static Gtk.Window Create ()
{
window = new Window ("GtkComboBox");
win... | // TestCombo.cs
//
// Author: Mike Kestner (mkestner@novell.com)
//
// Copyright (c) 2005, Novell, Inc.
//
using System;
using Gtk;
namespace WidgetViewer {
public class TestComboBox
{
static Window window = null;
public static Gtk.Window Create ()
{
window = new Window ("GtkComboBox");
win... | lgpl-2.1 | C# |
d62e2e9f721ce06aa050ff35449900ae0372e8e3 | Fix errors for IDFlags (EnterEffect, LeaveEffect etc..) | Trojaner25/Rocket-Regions,Trojaner25/Rocket-Safezone | Model/Flag/IDFlag.cs | Model/Flag/IDFlag.cs | using System;
using Rocket.API;
using Rocket.API.Extensions;
namespace RocketRegions.Model.Flag
{
public abstract class IDFlag : RegionFlag
{
public override string Usage => "<ID>";
public override bool ParseValue(IRocketPlayer caller, Region region, string[] command, out string shownValue, G... | using System;
using Rocket.API;
using Rocket.API.Extensions;
namespace RocketRegions.Model.Flag
{
public abstract class IDFlag : RegionFlag
{
public override string Usage => "<ID>";
public override bool ParseValue(IRocketPlayer caller, Region region, string[] command, out string shownValue, G... | agpl-3.0 | C# |
6f93aa6131838cc9f64ca79be6195ffe4828a374 | Fix incomplete comment | UselessToucan/osu,Damnae/osu,Nabile-Rahmani/osu,DrabWeb/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,Drezi126/osu,UselessToucan/osu,naoey/osu,johnneijzen/osu,NeoAdonis/osu,DrabWeb/osu,naoey/osu,2yangk23/osu,ppy/osu,ZLima12/osu,johnneijzen/osu,DrabWeb/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,Frontear/osuKyzer,smoogipooo/osu... | osu.Game/Rulesets/Mods/Mod.cs | osu.Game/Rulesets/Mods/Mod.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Graphics;
using System;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// The base class for gameplay modifiers.
/// </summary>... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Graphics;
using System;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// The base class for gameplay modifiers.
/// </summary>... | mit | C# |
65bf7af8513605b6db2b85133e2977c1c55db8f1 | Update UserAgents | Kingloo/Rdr | RdrLib/UserAgents.cs | RdrLib/UserAgents.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace RdrLib
{
public static class UserAgents
{
public const string HeaderName = "User-Agent";
#pragma warning disable CA1707
public const string Firefox_102_Windows = nameof(Firefox_102_Windows);
public const string Firefox_91_ESR_Linu... | using System.Linq;
namespace RdrLib.Common
{
public static class UserAgents
{
public const string HeaderName = "User-Agent";
public const string Firefox_94_Windows = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0";
public const string Edge_96_Windows = "Mozilla/5.0 (Windows NT... | unlicense | C# |
d00d5119e8572934b9025114ca456943b954a752 | Update sample | newky2k/MonoTouch.Dialog,benoitjadinon/MonoTouch.Dialog,migueldeicaza/MonoTouch.Dialog,jstedfast/MonoTouch.Dialog,ClusterReplyBUS/MonoTouch.Dialog,hisystems/MonoTouch.Dialog,Milan1992/MonoTouch.Dialog,danmiser/MonoTouch.Dialog | Sample/DemoStyled.cs | Sample/DemoStyled.cs | using System;
using System.IO;
using MonoTouch.UIKit;
using MonoTouch.Dialog;
using MonoTouch.Dialog.Utilities;
using System.Threading;
using System.Drawing;
namespace Sample
{
public partial class AppDelegate
{
public void DemoStyled ()
{
var imageBackground = new Uri ("file://" + Path.GetFullPath ("backgro... | using System;
using System.IO;
using MonoTouch.UIKit;
using MonoTouch.Dialog;
using System.Threading;
namespace Sample
{
public partial class AppDelegate
{
public void DemoStyled ()
{
var backgroundImage = new StyledStringElement ("Image downloaded") {
BackgroundUri = new Uri ("http://www.google.com/imag... | mit | C# |
9226f0abbca34bd14e6c3571ea7a4426cf9abf57 | Implement equality correctly in `Live` | ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game/Database/Live.cs | osu.Game/Database/Live.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using JetBrains.Annotations;
namespace osu.Game.Database
{
/// <summary>
/// A wrapper to provide access to database backed classes in a thread-saf... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using JetBrains.Annotations;
namespace osu.Game.Database
{
/// <summary>
/// A wrapper to provide access to database backed classes in a thread-saf... | mit | C# |
2381e716b771c8df8e8681baef7c70f3bc93dfca | Use collection initializer | khellang/Middleware,khellang/Middleware | src/ProblemDetails/Mvc/ProblemDetailsApplicationModelProvider.cs | src/ProblemDetails/Mvc/ProblemDetailsApplicationModelProvider.cs | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using MvcProblemDetails = Microsoft.AspNetCore.Mvc.ProblemDetails;
namespace Hellang.Middleware.ProblemDetails.M... | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using MvcProblemDetails = Microsoft.AspNetCore.Mvc.ProblemDetails;
namespace Hellang.Middleware.ProblemDetails.M... | mit | C# |
e960ca6fdbda6a57db0e32fe521ec7fcedefa584 | Handle null in ConfigureKestrelServerOptions.cs | dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,m... | src/Umbraco.Web.Common/Security/ConfigureKestrelServerOptions.cs | src/Umbraco.Web.Common/Security/ConfigureKestrelServerOptions.cs | using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.Extensions.Options;
using Umbraco.Cms.Core.Configuration.Models;
namespace Umbraco.Cms.Web.Common.Security
{
public class ConfigureKestrelServerOptions : IConfigureOptions<KestrelServerOptions>
{
private readonly IOptions<RuntimeSettings> ... | using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.Extensions.Options;
using Umbraco.Cms.Core.Configuration.Models;
namespace Umbraco.Cms.Web.Common.Security
{
public class ConfigureKestrelServerOptions : IConfigureOptions<KestrelServerOptions>
{
private readonly IOptions<RuntimeSettings> ... | mit | C# |
159acf1cfb919611d2e56b5931be860625e6fff6 | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
a5b264ee45bb1d0da11b29613afb866d0473ba9a | Fix xml doc | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.Http.Abstractions/Middlewares/IDefaultAppLayer.cs | InfinniPlatform.Http.Abstractions/Middlewares/IDefaultAppLayer.cs | namespace InfinniPlatform.Http.Middlewares
{
/// <summary>
/// Marker interface for internal implementations of <see cref="IAppLayer"/>.
/// </summary>
public interface IDefaultAppLayer : IAppLayer
{
}
} | namespace InfinniPlatform.Http.Middlewares
{
public interface IDefaultAppLayer : IAppLayer
{
}
} | agpl-3.0 | C# |
a22e6cf46b2fd8833b7dc20600e54f0fba04daec | Remove printing of invocation in case of non-zero exit code. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/Tooling/ProcessExtensions.cs | source/Nuke.Core/Tooling/ProcessExtensions.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.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core.Utilities;
namespace Nuke.Core.To... | // 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.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core.Utilities;
namespace Nuke.Core.To... | mit | C# |
a5ac0bcc74734d1478b20d02d92ae2096a027b73 | Fix the usage string and an error path | sbennett1990/signify.cs | SignifyCS/Main.cs | SignifyCS/Main.cs | /*
* Copyright (c) 2017 Scott Bennett <scottb@fastmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "... | /*
* Copyright (c) 2017 Scott Bennett <scottb@fastmail.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "... | isc | C# |
25427c2c198ba5bebda8281b79d5b4f7e76613d2 | Bump version to 9.0.1.0. | jthorpe4/EDDiscovery,jgoode/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,mwerle/EDDiscovery | EDDiscovery/Properties/AssemblyInfo.cs | EDDiscovery/Properties/AssemblyInfo.cs | /*
* Copyright © 2015 - 2017 EDDiscovery development team
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright © 2015 - 2017 EDDiscovery development team
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | C# |
a677091e838febe3c9ff0ea05548b9cd9587a542 | Create directory for error screenshot if it does not exist | cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium | Src/MvcPages/BrowserCamera/Storage/FileSystemScreenshotStorage.cs | Src/MvcPages/BrowserCamera/Storage/FileSystemScreenshotStorage.cs | using System;
using System.Drawing.Imaging;
using System.IO;
using Tellurium.MvcPages.Utils;
namespace Tellurium.MvcPages.BrowserCamera.Storage
{
public class FileSystemScreenshotStorage : IScreenshotStorage
{
private readonly string screenshotDirectoryPath;
public FileSystemScreenshotStorage... | using System;
using System.Drawing.Imaging;
using System.IO;
using Tellurium.MvcPages.Utils;
namespace Tellurium.MvcPages.BrowserCamera.Storage
{
public class FileSystemScreenshotStorage : IScreenshotStorage
{
private readonly string screenshotDirectoryPath;
public FileSystemScreenshotStorage... | mit | C# |
857b463b6d4bd94cad2e244b04a9e33e15d62ecd | make EventLoopScheduler thread background and cancellable until dueTime. | atsushieno/mono-reactive,paulcbetts/mono-reactive,jorik041/mono-reactive | System.Reactive/System.Reactive.Concurrency/EventLoopScheduler.cs | System.Reactive/System.Reactive.Concurrency/EventLoopScheduler.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Reactive.Disposables;
namespace System.Reactive.Concurrency
{
public sealed class EventLoopScheduler : IScheduler, IDisposable
{
public EventLoopScheduler ()
: this ((ts) => new Thread (ts) { IsBac... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Reactive.Disposables;
namespace System.Reactive.Concurrency
{
public sealed class EventLoopScheduler : IScheduler, IDisposable
{
public EventLoopScheduler ()
: this ((ts) => new Thread (ts))
{
... | mit | C# |
340a8800751e00dcb95352990d55bfac720f3178 | Fix small typo in C# Numbers Concept Exercise | exercism/xcsharp,exercism/xcsharp | exercises/concept/numbers/NumbersTest.cs | exercises/concept/numbers/NumbersTest.cs | using Xunit;
public class AssemblyLineTest
{
[Fact]
public void ProductionRatePerHourForSpeedZero() =>
Assert.Equal(0.0, AssemblyLine.ProductionRatePerHour(0));
[Fact]
public void ProductionRatePerHourForSpeedOne() =>
Assert.Equal(221.0, AssemblyLine.ProductionRatePerHour(1));
[Fa... | using Xunit;
public class AssemblyLineTest
{
[Fact]
public void ProductionRatePerHourForSpeedZero() =>
Assert.Equal(0.0, AssemblyLine.ProductionRatePerHour(0));
[Fact]
public void ProductionRatePerHourForSpeedOne() =>
Assert.Equal(221.0, AssemblyLine.ProductionRatePerHour(1));
[Fa... | mit | C# |
fb5d92bdc02f1ed2af73fc26bbee67be20a2bb99 | Change our cached task to a field | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCache.cs | src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCache.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Mvc.Internal
{
public static class TaskCache
{
/// <summary>
/// ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Mvc.Internal
{
public static class TaskCache
{
#if NET451
static readonly ... | apache-2.0 | C# |
cb8aafa55db9664d1db384723757126a9aff7bef | declare GreaterThanZeroRuleTests public | ahanusa/facile.net,peasy/Peasy.NET,ahanusa/Peasy.NET | src/Peasy/Peasy.Tests/Rules/GreaterThanZeroRuleTests.cs | src/Peasy/Peasy.Tests/Rules/GreaterThanZeroRuleTests.cs | using Peasy.Rules;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
namespace Peasy.Tests.Rules
{
[TestClass]
public class GreaterThanZeroRuleTests
{
[TestMethod]
public void Returns_True()
{
var greaterThanZeroRule = new GreaterThanZeroRule(1, "foo")... | using Peasy.Rules;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
namespace Peasy.Tests.Rules
{
[TestClass]
class GreaterThanZeroRuleTests
{
[TestMethod]
public void Returns_True()
{
var greaterThanZeroRule = new GreaterThanZeroRule(1, "foo");
... | mit | C# |
5c97135eb5e62456be36e856f7311829719d0e99 | update version info | estorski/langlay | Langlay.App/Properties/AssemblyInfo.cs | Langlay.App/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("La... | 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("La... | mit | C# |
bdf13d3fb1795e8593305247c3023fba717ccb87 | Test Win8.1 | przemekwa/LiczbyNaSlowaNET | LiczbyNaSlowaNET_Testy/ThreadSafety.cs | LiczbyNaSlowaNET_Testy/ThreadSafety.cs | using LiczbyNaSlowaNET;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace LiczbyNaSlowaNET_Testy
{
[TestClass]
public class ThreadSafety
... | using LiczbyNaSlowaNET;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace LiczbyNaSlowaNET_Testy
{
[TestClass]
public class ThreadSafety
... | mit | C# |
8f3ecb6d08ffac0d58d6a5907e8db908fdeb64ca | Fix bug in timer | p-dahlback/ld-35 | Assets/Scripts/_Game/GameOverlayManager.cs | Assets/Scripts/_Game/GameOverlayManager.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class GameOverlayManager : MonoBehaviour
{
public DoubleEndedProgressController shapeShiftProgress;
public Text timerText;
public Text lifeText;
public HeartBeat lifeHeart;
public Text waveText;
public GameObject fadeOverlay;
// Use thi... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class GameOverlayManager : MonoBehaviour
{
public DoubleEndedProgressController shapeShiftProgress;
public Text timerText;
public Text lifeText;
public HeartBeat lifeHeart;
public Text waveText;
public GameObject fadeOverlay;
// Use thi... | apache-2.0 | C# |
c46a0cb56c241628b4d986f2db24085b40918be2 | add integrated if test | sdcb/sdmap | sdmap/test/sdmap.test/IfTest.cs | sdmap/test/sdmap.test/IfTest.cs | using sdmap.Compiler;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace sdmap.test.IntegratedTest
{
public class IfTest
{
[Fact]
public void TrueWillEmit()
{
var code = "sql v1{#if(A){H... | using sdmap.Compiler;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace sdmap.test.IntegratedTest
{
public class IfTest
{
[Fact]
public void TrueWillEmit()
{
var code = "sql v1{#if(A){H... | mit | C# |
47d081a8ab1bba9c4af9b746b17ee17a79dd13fa | Remove check for either next or previous page, since the table might be empty. | nozzlegear/ShopifySharp,clement911/ShopifySharp | ShopifySharp/Lists/LinkHeaderParser.cs | ShopifySharp/Lists/LinkHeaderParser.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace ShopifySharp.Lists
{
public static class LinkHeaderParser
{
private static Regex _regexPrevLink = new Regex(@"<(https://[^>]*)>\s*;\s*rel=""previous""", RegexOptions.Co... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace ShopifySharp.Lists
{
public static class LinkHeaderParser
{
private static Regex _regexPrevLink = new Regex(@"<(https://[^>]*)>\s*;\s*rel=""previous""", RegexOptions.Co... | mit | C# |
6c645b8c868686fffb86576bf0c0f2b666aa8df3 | Remove not implemented query option for now | dnauck/License.Manager,dnauck/License.Manager | src/License.Manager.Core/ServiceModel/GetLicense.cs | src/License.Manager.Core/ServiceModel/GetLicense.cs | //
// Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de
//
// Author:
// Daniel Nauck <d.nauck(at)nauck-it.de>
//
// 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 with... | //
// Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de
//
// Author:
// Daniel Nauck <d.nauck(at)nauck-it.de>
//
// 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 with... | mit | C# |
c8cda2ffb6c50d6430dfd2fbae2a39cb20d7da91 | Fix NH-1644 by Alexandre Payment | alobakov/nhibernate-core,RogerKratz/nhibernate-core,alobakov/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,hazzik/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,ngbrown/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,nh... | src/NHibernate/Driver/OracleLiteDataClientDriver.cs | src/NHibernate/Driver/OracleLiteDataClientDriver.cs | using System.Data;
using NHibernate.AdoNet;
using NHibernate.SqlTypes;
namespace NHibernate.Driver
{
/// <summary>
/// A NHibernate Driver for using the Oracle.DataAccess.Lite DataProvider
/// </summary>
public class OracleLiteDataClientDriver : ReflectionBasedDriver, IEmbeddedBatcherFactoryProvider
{
... | using System.Data;
using NHibernate.AdoNet;
using NHibernate.SqlTypes;
namespace NHibernate.Driver
{
/// <summary>
/// A NHibernate Driver for using the Oracle.DataAccess.Lite DataProvider
/// </summary>
public class OracleLiteDataClientDriver : ReflectionBasedDriver, IEmbeddedBatcherFactoryProvider
{
... | lgpl-2.1 | C# |
3a238a246d69e72c2bb3f5fe3e56d586c94127ce | Fix order of views | ajbeaven/postal,vip32/postal,Lybecker/postal,andrewdavey/postal,andrewdavey/postal,hermanho/postal | src/Samples/WebSample/Views/Emails/MultiPart.cshtml | src/Samples/WebSample/Views/Emails/MultiPart.cshtml | To: test@example.org
From: test@example.org
Subject: Multi-part email example
Views: Text,Html | To: test@example.org
From: test@example.org
Subject: Multi-part email example
Views: Html,Text | mit | C# |
328b1e0d0888df7ec944c4d706a246c3ae8bddfd | improve shouldly helpers | joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.Web.Test/ShouldlyFieldValueViewModelExtensions.cs | JoinRpg.Web.Test/ShouldlyFieldValueViewModelExtensions.cs | using System.Diagnostics;
using JoinRpg.Web.Models;
using Shouldly;
namespace JoinRpg.Web.Test
{
internal static class ShouldlyFieldValueViewModelExtensions
{
//Attributes in this class will cause debugger to stop on exception in caller of that method
//and thats probably what we like to see
... | using JoinRpg.Web.Models;
using Shouldly;
namespace JoinRpg.Web.Test
{
internal static class ShouldlyFieldValueViewModelExtensions
{
public static void ShouldNotHaveValue(this FieldValueViewModel field) =>
field.Value.ShouldBeNull();
public static void ShouldBeEditable(this FieldVa... | mit | C# |
f5c45d15ca419ca3c424d79dd8c55a8a61885af2 | Fix code anlyzer issues | paiden/Nett | Source/Nett/Properties/AssemblyInfo.cs | Source/Nett/Properties/AssemblyInfo.cs | using System;
using System.Resources;
using System.Runtime.CompilerServices;
[assembly: NeutralResourcesLanguage("en")]
[assembly: CLSCompliant(true)]
[assembly: InternalsVisibleTo("Nett.Tests.Internal")]
[assembly: InternalsVisibleTo("Nett.Coma.Tests.Internal")]
[assembly: InternalsVisibleTo("Nett.Coma")]
[assembly:... | using System;
using System.Resources;
using System.Runtime.CompilerServices;
// 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: NeutralResourcesLanguage("en")]
// Version... | mit | C# |
70bf2a3169204fcf4d94010bb9d6f8af94708cf0 | Fix Test 1057 | ronnyek/linq2db,linq2db/linq2db,MaceWindu/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db | Tests/Linq/UserTests/Issue1057Tests.cs | Tests/Linq/UserTests/Issue1057Tests.cs | using System;
using System.Linq;
using System.Collections.Generic;
using System.Linq.Expressions;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
[ActiveIssue(1057)]
public class Issue1057Tests : TestBase
{
[Table, InheritanceMappi... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Linq.Expressions;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
[ActiveIssue(1057)]
public class Issue1057Tests : TestBase
{
[Table, InheritanceMappi... | mit | C# |
bed4e9d2b376259ffc53caca488117c263a0a846 | use public name instead of reflected property name | Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core | test/OperationsExampleTests/Get/GetRelationshipTests.cs | test/OperationsExampleTests/Get/GetRelationshipTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Bogus;
using JsonApiDotNetCore.Models.Operations;
using JsonApiDotNetCoreExample.Data;
using OperationsExampleTests.Factories;
using Xunit;
namespace OperationsExampleTests
{
public class GetRel... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Bogus;
using JsonApiDotNetCore.Models.Operations;
using JsonApiDotNetCoreExample.Data;
using OperationsExampleTests.Factories;
using Xunit;
namespace OperationsExampleTests
{
public class GetRel... | mit | C# |
0b6a3ae2baa144c5bd726ec047a6365d709a4f2f | Sort usings. | MavenRain/kudu,chrisrpatterson/kudu,sitereactor/kudu,shibayan/kudu,dev-enthusiast/kudu,barnyp/kudu,dev-enthusiast/kudu,projectkudu/kudu,dev-enthusiast/kudu,uQr/kudu,oliver-feng/kudu,bbauya/kudu,uQr/kudu,juvchan/kudu,duncansmart/kudu,barnyp/kudu,shrimpy/kudu,shanselman/kudu,sitereactor/kudu,chrisrpatterson/kudu,shibayan... | Kudu.Services.Web/App_Start/NinjectMVC3.cs | Kudu.Services.Web/App_Start/NinjectMVC3.cs | [assembly: WebActivator.PreApplicationStartMethod(typeof(Kudu.Services.Web.App_Start.NinjectMVC3), "Start")]
[assembly: WebActivator.ApplicationShutdownMethodAttribute(typeof(Kudu.Services.Web.App_Start.NinjectMVC3), "Stop")]
namespace Kudu.Services.Web.App_Start {
using Kudu.Core.Editor;
using Kudu.Core.Sourc... | [assembly: WebActivator.PreApplicationStartMethod(typeof(Kudu.Services.Web.App_Start.NinjectMVC3), "Start")]
[assembly: WebActivator.ApplicationShutdownMethodAttribute(typeof(Kudu.Services.Web.App_Start.NinjectMVC3), "Stop")]
namespace Kudu.Services.Web.App_Start {
using System.Reflection;
using Microsoft.Web.... | apache-2.0 | C# |
5a5d6d6de533260392ee3f6573fc37ac9a301018 | Update the application %appdata% folder | xavierfoucrier/gmail-notifier,xavierfoucrier/gmail-notifier | code/Core.cs | code/Core.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using notifier.Properties;
namespace notifier {
static class Core {
#region #attributes
#endregion
#region #methods
/// <summary>
/// Class constructor
/// </summary>
static Core() {
// initialize the applicatio... | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using notifier.Properties;
namespace notifier {
static class Core {
#region #attributes
#endregion
#region #methods
/// <summary>
/// Class constructor
/// </summary>
static Core() {
// initialize the applicatio... | mit | C# |
1891e81539749e86fc25f49644be7996918e9827 | change todo format :) | jamesology/PackingHelper | PackingHelper/PackingHelper.Cli/Program.cs | PackingHelper/PackingHelper.Cli/Program.cs | using System;
using System.IO;
using log4net;
using log4net.Config;
namespace PackingHelper.Cli
{
class Program
{
static void Main(string[] args)
{
XmlConfigurator.Configure(new FileInfo("PackingHelper.Cli.log4net.config"));
var log = LogManager.GetLogger("main");
... | using System;
using System.IO;
using log4net;
using log4net.Config;
namespace PackingHelper.Cli
{
class Program
{
static void Main(string[] args)
{
XmlConfigurator.Configure(new FileInfo("PackingHelper.Cli.log4net.config"));
var log = LogManager.GetLogger("main");
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.