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 |
|---|---|---|---|---|---|---|---|---|
4abb9b86460f90e11b84b10d2846533b8a0914d6 | Bump version to 3.2. | jcheng31/DarkSkyApi,jcheng31/ForecastPCL | DarkSkyApi/Properties/AssemblyInfo.cs | DarkSkyApi/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[asse... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[asse... | mit | C# |
be3359c38b61396df912c15515987ed846231275 | read me add image | cythilya/Dotchi,cythilya/Dotchi,cythilya/Dotchi | Dotchi/Dotchi/Views/Home/Index.cshtml | Dotchi/Dotchi/Views/Home/Index.cshtml | @{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div id="index" class="dotch">
<div class="main">
<h1>吃什麼,どっち</h1>
<h2>讓朋友幫你決定吃什麼</h2>
<div class="inputArea">
<input type="text" class="query" placeholder="請輸入你的美食欲望,例:台北市中山區 火鍋" />
</div>
<a href="#" class="button search"><span>尋找餐廳</span></a>
<a h... | @{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div id="index" class="dotch">
<div class="main">
<h1>吃什麼,どっち</h1>
<h2>讓朋友幫你決定吃什麼</h2>
<div class="inputArea">
<input type="text" class="query" placeholder="請輸入你的美食欲望,例:台北市中山區 火鍋" />
</div>
<a href="#" class="button search"><span>尋找餐廳</span></a>
<a h... | mit | C# |
20c357be01bb6dc79e40fde9a2139c8d985ce2bb | Remove debug logs | flagbug/Espera,punker76/Espera | Espera/Espera.Core/Audio/VlcPlayer.cs | Espera/Espera.Core/Audio/VlcPlayer.cs | using System;
using Vlc.DotNet.Core;
using Vlc.DotNet.Core.Medias;
using Vlc.DotNet.Wpf;
namespace Espera.Core.Audio
{
internal class VlcPlayer : IDisposable
{
private readonly VlcControl player;
public VlcPlayer()
{
if (Environment.Is64BitOperatingSystem)
{
... | using System;
using Vlc.DotNet.Core;
using Vlc.DotNet.Core.Medias;
using Vlc.DotNet.Wpf;
namespace Espera.Core.Audio
{
internal class VlcPlayer : IDisposable
{
private readonly VlcControl player;
public VlcPlayer()
{
if (Environment.Is64BitOperatingSystem)
{
... | mit | C# |
cbde5b30633a599e8535f53ecd2e3e56e2d78f1a | Update Indentation.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecel... | Examples/CSharp/Formatting/ConfiguringAlignmentSettings/Indentation.cs | Examples/CSharp/Formatting/ConfiguringAlignmentSettings/Indentation.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.ConfiguringAlignmentSettings
{
public class Indentation
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cel... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.ConfiguringAlignmentSettings
{
public class Indentation
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDat... | mit | C# |
c0d5d13968b9e2de9a28945050452c044ab2cfe8 | connect and disconnect #46 | richardschneider/net-ipfs-core | src/CoreApi/ISwarmApi.cs | src/CoreApi/ISwarmApi.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Ipfs.CoreApi
{
/// <summary>
/// Manages the swarm of peers.
/// </summary>
/// <remarks>
/// The swarm is a sequence of connected peer nodes.
/// </re... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Ipfs.CoreApi
{
/// <summary>
/// Manages the swarm of peers.
/// </summary>
/// <remarks>
/// The swarm is a sequence of connected peer nodes.
/// </re... | mit | C# |
afe6018bc66f306f4902c5d0727ccc73336d2460 | Update TypeClassMonad.cs | louthy/language-ext,StefanBertels/language-ext,StanJav/language-ext | LanguageExt.Tests/TypeClassMonad.cs | LanguageExt.Tests/TypeClassMonad.cs | using Xunit;
using System.Linq;
using LanguageExt.TypeClasses;
using LanguageExt.ClassInstances;
using static LanguageExt.Prelude;
using static LanguageExt.TypeClass;
using LanguageExt;
namespace LanguageExtTests
{
public class TypeClassMonad
{
[Fact]
public void MonadReturnTest()
{
... | using Xunit;
using System.Linq;
using LanguageExt.TypeClasses;
using LanguageExt.ClassInstances;
using static LanguageExt.Prelude;
using static LanguageExt.TypeClass;
using LanguageExt;
namespace LanguageExtTests
{
public class TypeClassMonad
{
[Fact]
public void MonadReturnTest()
{
... | mit | C# |
e1a22724829831a111147c78c1c44bf7e13dfd23 | fix for GA | autumn009/TanoCSharpSamples | Chap37/ImprovedDefiniteAssignment/ImprovedDefiniteAssignment/Program.cs | Chap37/ImprovedDefiniteAssignment/ImprovedDefiniteAssignment/Program.cs | using System;
MyClass c = new MyClass();
if ((c != null && c.MyMethod(out object obj1)))
{
// obj1は初期化済みと見抜ける
Console.WriteLine(obj1.ToString());
}
if ((c != null && c.MyMethod(out object obj2)) == true)
{
// obj2は初期化済みと見抜けない→見抜ける
Console.WriteLine(obj2.ToString());
}
public class MyClass
{
publi... | MyClass c = new MyClass();
if ((c != null && c.MyMethod(out object obj1)))
{
// obj1は初期化済みと見抜ける
Console.WriteLine(obj1.ToString());
}
if ((c != null && c.MyMethod(out object obj2)) == true)
{
// obj2は初期化済みと見抜けない→見抜ける
Console.WriteLine(obj2.ToString());
}
public class MyClass
{
public bool MyMethod... | mit | C# |
2339765af633aee18b7321f629a11cf527b32380 | Add more words that can be used to indicate that you are submitting your answer. | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays | Assets/Scripts/ComponentSolvers/Modded/Misc/ColorMorseComponentSolver.cs | Assets/Scripts/ComponentSolvers/Modded/Misc/ColorMorseComponentSolver.cs | using System;
using System.Linq;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ColorMorseComponentSolver : ComponentSolver
{
public ColorMorseComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, Co... | using System;
using System.Linq;
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ColorMorseComponentSolver : ComponentSolver
{
public ColorMorseComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, Co... | mit | C# |
61c1a4910487fca0e681c0846cee0211351680be | use registry | quandl/quandl-excel-windows | QuandlShared/QuandlConfig.cs | QuandlShared/QuandlConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace Quandl.Shared
{
public class QuandlConfig
{
private const string RegistrySubKey = @"SOFTWARE\Quandl\ExcelAddin";
public static string ApiKey
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Quandl.Shared
{
public class QuandlConfig
{
public static string ApiKey
{
get { return Properties.Settings.Default.ApiKey; }
set
{
... | mit | C# |
b41726668440d58c48f38ae623c94711cc9cf980 | Change formatting to match C# style | versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla | VersionOne.ServiceHost.ConfigurationTool/Entities/VersionOneSettings.cs | VersionOne.ServiceHost.ConfigurationTool/Entities/VersionOneSettings.cs | using System.Xml.Serialization;
using VersionOne.ServiceHost.ConfigurationTool.Validation;
using VersionOne.ServiceHost.ConfigurationTool.Attributes;
namespace VersionOne.ServiceHost.ConfigurationTool.Entities
{
/// <summary>
/// VersionOne connection settings node backing class.
/// </summary>
[XmlRoo... | using System.Xml.Serialization;
using VersionOne.ServiceHost.ConfigurationTool.Validation;
using VersionOne.ServiceHost.ConfigurationTool.Attributes;
namespace VersionOne.ServiceHost.ConfigurationTool.Entities {
/// <summary>
/// VersionOne connection settings node backing class.
/// </summary>
[XmlRoo... | bsd-3-clause | C# |
967ca1f9bc6183da785ba668da16e4a7652dedbc | Add ISavable to IBusinessBase | MarimerLLC/csla,rockfordlhotka/csla,jonnybee/csla,JasonBock/csla,jonnybee/csla,ronnymgm/csla-light,BrettJaner/csla,ronnymgm/csla-light,rockfordlhotka/csla,JasonBock/csla,BrettJaner/csla,MarimerLLC/csla,JasonBock/csla,ronnymgm/csla-light,BrettJaner/csla,jonnybee/csla,rockfordlhotka/csla,MarimerLLC/csla | Source/Csla/IBusinessBase.cs | Source/Csla/IBusinessBase.cs | using System;
using Csla.Core;
using System.ComponentModel;
using Csla.Security;
using Csla.Rules;
using Csla.Serialization.Mobile;
namespace Csla
{
/// <summary>
/// Consolidated interface of public elements from the
/// BusinessBase type.
/// </summary>
public interface IBusinessBase : IBusinessObject,
... | using System;
using Csla.Core;
using System.ComponentModel;
using Csla.Security;
using Csla.Rules;
using Csla.Serialization.Mobile;
namespace Csla
{
/// <summary>
/// Consolidated interface of public elements from the
/// BusinessBase type.
/// </summary>
public interface IBusinessBase : IBusinessObject,
... | mit | C# |
958451694cf4c7c45d7064363d4f83137ffaa16a | Update dev version to 3.0.0 | Ixonos-USA/SharpDX,davidlee80/SharpDX-1,jwollen/SharpDX,manu-silicon/SharpDX,manu-silicon/SharpDX,RobyDX/SharpDX,dazerdude/SharpDX,mrvux/SharpDX,waltdestler/SharpDX,PavelBrokhman/SharpDX,PavelBrokhman/SharpDX,fmarrabal/SharpDX,waltdestler/SharpDX,mrvux/SharpDX,TechPriest/SharpDX,jwollen/SharpDX,dazerdude/SharpDX,andrew... | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | mit | C# |
bd03df5f9be05306da6f161017a7aeb39b497da5 | Create const for targetdir key | tvdburgt/subtle | Subtle.Registry/Installer.cs | Subtle.Registry/Installer.cs | using Subtle.Model;
using System.Collections;
using System.ComponentModel;
using System.Configuration.Install;
using System.IO;
namespace Subtle.Registry
{
[RunInstaller(true)]
public partial class Installer : System.Configuration.Install.Installer
{
private const string TargetDirKey = "targetdir"... | using Subtle.Model;
using System.Collections;
using System.ComponentModel;
using System.Configuration.Install;
using System.IO;
namespace Subtle.Registry
{
[RunInstaller(true)]
public partial class Installer : System.Configuration.Install.Installer
{
public Installer()
{
Initi... | mit | C# |
cc5f09d32bb3b8a962d79cd8c4707a18a7ba865e | remove test | wilcommerce/Wilcommerce.Catalog.Data.EFCore | Wilcommerce.Catalog.Data.EFCore.Test/ReadModels/CatalogDatabaseTest.cs | Wilcommerce.Catalog.Data.EFCore.Test/ReadModels/CatalogDatabaseTest.cs | using System.Linq;
using Wilcommerce.Catalog.Data.EFCore.ReadModels;
using Wilcommerce.Catalog.Data.EFCore.Test.Fixtures;
using Wilcommerce.Catalog.ReadModels;
using Xunit;
namespace Wilcommerce.Catalog.Data.EFCore.Test.ReadModels
{
public class CatalogDatabaseTest : IClassFixture<CatalogContextFixture>
{
... | using System.Linq;
using Wilcommerce.Catalog.Data.EFCore.ReadModels;
using Wilcommerce.Catalog.Data.EFCore.Test.Fixtures;
using Wilcommerce.Catalog.ReadModels;
using Xunit;
namespace Wilcommerce.Catalog.Data.EFCore.Test.ReadModels
{
public class CatalogDatabaseTest : IClassFixture<CatalogContextFixture>
{
... | mit | C# |
4dffedf5b190720bd70f060c98f666bc56e2c57a | Switch to version 1.2.7 | Abc-Arbitrage/Zebus,Abc-Arbitrage/Zebus.Directory | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.2.7")]
[assembly: AssemblyFileVersion("1.2.7")]
[assembly: AssemblyInformationalVersion("1.2.7")] | using System.Reflection;
[assembly: AssemblyVersion("1.2.6")]
[assembly: AssemblyFileVersion("1.2.6")]
[assembly: AssemblyInformationalVersion("1.2.6")] | mit | C# |
aaf0b3ef16e9ff089f002d393c07dba120a88bbc | Fix AppVeyor | lecaillon/Evolve | test/Evolve.Test/DatabaseFixture.cs | test/Evolve.Test/DatabaseFixture.cs | using System;
using System.Threading;
using Evolve.Test.Utilities;
using Xunit;
namespace Evolve.Test
{
public class DatabaseFixture : IDisposable
{
public DatabaseFixture()
{
MySql = new MySqlDockerContainer();
MsSql = new MsSqlDockerContainer();
Pg = new P... | using System;
using System.Threading;
using Evolve.Test.Utilities;
using Xunit;
namespace Evolve.Test
{
public class DatabaseFixture : IDisposable
{
public DatabaseFixture()
{
#if DEBUG
MySql = new MySqlDockerContainer();
MySql.Start();
MsSql = new MsSqlDoc... | mit | C# |
3536760f9fa3278014d83ce43f04a90a18d5374f | Change redirecturi to tryfunctionspage | projectkudu/TryAppService,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/TryAppService,fashaikh/SimpleWAWS,da... | SimpleWAWS/Authentication/GoogleAuthProvider.cs | SimpleWAWS/Authentication/GoogleAuthProvider.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | apache-2.0 | C# |
46e970c91d9f148c24551d605124fe9e7a289223 | adjust code. | Roommetro/Friendly.WPFStandardControls,Roommetro/Friendly.WPFStandardControls | Project/Test/CaptureTest/Capture.cs | Project/Test/CaptureTest/Capture.cs | using Codeer.Friendly.Windows;
namespace Test.CaptureTest
{
public class Capture
{
WindowsAppFriend app = null;
public void Test()
{
}
}
}
| using Codeer.Friendly.Dynamic;
using Codeer.Friendly.Windows;
using Codeer.Friendly.Windows.Grasp;
using RM.Friendly.WPFStandardControls;
using System.Windows;
using Test.CaptureTest;
namespace Test.CaptureTest
{
public class Capture
{
WindowsAppFriend app = null;
public void Test()
{... | apache-2.0 | C# |
1950126ebe49154bdc8f33239915fc62e869d7dd | Rename parameter | insthync/LiteNetLibManager,insthync/LiteNetLibManager | Scripts/LiteNetLibMessageHandler.cs | Scripts/LiteNetLibMessageHandler.cs | using LiteNetLib;
using LiteNetLib.Utils;
namespace LiteNetLibManager
{
public class LiteNetLibMessageHandler
{
public ushort msgType { get; private set; }
public TransportHandler transportHandler { get; private set; }
public long connectionId { get; private set; }
public NetDa... | using LiteNetLib;
using LiteNetLib.Utils;
namespace LiteNetLibManager
{
public class LiteNetLibMessageHandler
{
public ushort msgType { get; private set; }
public TransportHandler transportHandler { get; private set; }
public long connectionId { get; private set; }
public NetDa... | mit | C# |
7154731be49c9d874e05394bc75ccedc9f402c6c | Use exposed property rather than internal. | Ecu/Part-System | Part.cs | Part.cs | using UnityEngine;
using System.Collections;
[DisallowMultipleComponent]
[ExecuteInEditMode]
public class Part : MonoBehaviour
{
[SerializeField]
private GameObject
_collection = null;
[SerializeField]
private float
_frame = 0.0f;
private bool changed = false;
public string part {
get {
if (_collectio... | using UnityEngine;
using System.Collections;
[DisallowMultipleComponent]
[ExecuteInEditMode]
public class Part : MonoBehaviour
{
[SerializeField]
private GameObject
_collection = null;
[SerializeField]
private float
_frame = 0.0f;
private bool changed = false;
public string part {
get {
if (_collectio... | mit | C# |
27921b99be9131e1b8ee22af4f298cfc01a01536 | Allow `HidePopover()` to be called directly on popover containers | peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework/Extensions/PopoverExtensions.cs | osu.Framework/Extensions/PopoverExtensions.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
#nullable enable
namespace osu.Framework.Extensions
{
public static class PopoverEx... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
#nullable enable
namespace osu.Framework.Extensions
{
public static class PopoverEx... | mit | C# |
6216c1e5f92c3562e7c4252634a9d14d90b08048 | Add NextLine to execution context | SaxxonPike/roton,SaxxonPike/roton | Roton/Emulation/ExecuteCodeContext.cs | Roton/Emulation/ExecuteCodeContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Roton.Emulation
{
internal class ExecuteCodeContext : ICodeSeekable
{
private ICodeSeekable _instructionSource;
public ExecuteCodeContext(int index, ICodeSeekable instructionSource, string name)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Roton.Emulation
{
internal class ExecuteCodeContext : ICodeSeekable
{
private ICodeSeekable _instructionSource;
public ExecuteCodeContext(int index, ICodeSeekable instructionSource, string name)
... | isc | C# |
ce4f7ae34b1c6dc41eff8b6738929950b450d4d5 | Fix AssemblyVersion attribute | bitwalker/SharpTools,bitwalker/SharpTools | SharpTools/Properties/AssemblyInfo.cs | SharpTools/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# |
ecef56fe6de6f79a324b9e20d8e054f402be27e4 | Fix typo. | bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto | Source/Eto.Test/Eto.Test/TestIcons.cs | Source/Eto.Test/Eto.Test/TestIcons.cs | using System;
using System.Reflection;
using Eto.Drawing;
namespace Eto.Test
{
public static class TestIcons
{
#if PCL
static Assembly Assembly { get { return typeof(TestIcons).GetTypeInfo().Assembly; } } // Don't use GetExecutingAssembly, it is not cross-platform safe.
#else
static Assembly Assembly { get { ret... | using System;
using System.Reflection;
using Eto.Drawing;
namespace Eto.Test
{
public static class TestIcons
{
#if PCL
static Assembly Assembly { get { return typeof(TestIcons).GetTypeInfo().Assembly; } } // Don't use GetExecutingAssembly, it is not cross-platform safe.
#else
static Assembly Assembly { get { ret... | bsd-3-clause | C# |
0d4ecc3d4f0002ff79bd5f274838ae64f6d01855 | add whitespace for formatting | kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,IdentityServer/IdentityServer2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktect... | src/OnPremise/WebSite/Areas/Admin/Views/Shared/EditorTemplates/Object.cshtml | src/OnPremise/WebSite/Areas/Admin/Views/Shared/EditorTemplates/Object.cshtml | @using Thinktecture.IdentityServer.Web.Utility
@{
foreach(var prop in this.ViewData.ModelMetadata.Properties)
{
if (prop.ShowForEdit)
{
<div>
@if (prop.TemplateHint == "HiddenInput")
{
@Html.Hidden(prop.PropertyName)
... | @using Thinktecture.IdentityServer.Web.Utility
@{
foreach(var prop in this.ViewData.ModelMetadata.Properties)
{
if (prop.ShowForEdit)
{
<div>
@if (prop.TemplateHint == "HiddenInput")
{
@Html.Hidden(prop.PropertyName)
... | bsd-3-clause | C# |
3c0be1c5f2a98496477189aaff35b89230b4c177 | print console metrics also on sample | ntent-ad/Metrics.NET,ntent-ad/Metrics.NET,etishor/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,MetaG8/Metrics.NET,cvent/Metrics.NET,etishor/Metrics.NET,alhardy/Metrics.NET,MetaG8/Metrics.NET,huoxudong125/Metrics.NET,cvent/Metrics.NET,huoxudong125/Metrics.NET,Liwoj/Metrics.NET,Recognos/Metrics.NET... | Samples/NancyFx.Sample/Program.cs | Samples/NancyFx.Sample/Program.cs | using System;
using System.Diagnostics;
using Metrics;
using Metrics.Samples;
using Nancy.Hosting.Self;
using Newtonsoft.Json;
namespace NancyFx.Sample
{
class Program
{
static void Main(string[] args)
{
Metric.Reports.PrintConsoleReport(TimeSpan.FromSeconds(10));
Json... | using System;
using System.Diagnostics;
using Metrics.Samples;
using Nancy.Hosting.Self;
using Newtonsoft.Json;
namespace NancyFx.Sample
{
class Program
{
static void Main(string[] args)
{
JsonConvert.DefaultSettings = () => new JsonSerializerSettings { Formatting = Formatting.Inde... | apache-2.0 | C# |
b2aee2dec3e9ba60a4f0bece4337b573c08878eb | Destroy the game object to avoid multiple creations | PimDeWitte/UnityMainThreadDispatcher | UnityMainThreadDispatcher.cs | UnityMainThreadDispatcher.cs | /*
Copyright 2015 Get Wrecked B.V. 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 or agreed ... | /*
Copyright 2015 Get Wrecked B.V. 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 or agreed ... | apache-2.0 | C# |
c1f7104f69d563e8ff6ce9866c66d5857d5b7dde | Fix environment custom tokens (cannot be static in model). | nortal/AssemblyVersioning | AssemblyVersioning/Generators/CustomVersionGeneratorModel.cs | AssemblyVersioning/Generators/CustomVersionGeneratorModel.cs | /*
Copyright 2013 Imre Pühvel, AS Nortal
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 agreed to... | /*
Copyright 2013 Imre Pühvel, AS Nortal
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 agreed to... | apache-2.0 | C# |
3294ef159e41d71383d7af3e7a2f26ae386a0b84 | Fix victory delegate clearing in stage | Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Microgames/YuukaWater/Scripts/YuukaWaterController.cs | Assets/Microgames/YuukaWater/Scripts/YuukaWaterController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YuukaWaterController : MonoBehaviour {
public int requiredCompletion = 3;
int completionCounter = 0;
public delegate void VictoryAction();
public static event VictoryAction OnVictory;
private void Awake(... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YuukaWaterController : MonoBehaviour {
public int requiredCompletion = 3;
int completionCounter = 0;
public delegate void VictoryAction();
public static event VictoryAction OnVictory;
public void Notify() {... | mit | C# |
0cb41265d11b01fb7fe170c68eaefce3990cdae1 | Add comments to player | Onosume/battleships-cli-c-sharp | battleships-cli/battleships-cli/Application/GameObjects/Player/Player.cs | battleships-cli/battleships-cli/Application/GameObjects/Player/Player.cs | // battlships-cli
// Player.cs
// Author: Matthew Tinn
namespace battleships_cli.Application.GameObjects.Player
{
/// <summary>
/// The player class
/// Holds the player's score and number of cannonballs remaining
/// </summary>
public class Player
{
private int score;
private ... | // battlships-cli
// Player.cs
// Author: Matthew Tinn
namespace battleships_cli.Application.GameObjects.Player
{
/// <summary>
/// The player class
/// Holds the player's score and number of cannonballs remaining
/// </summary>
public class Player
{
private int score;
private ... | mit | C# |
c8a4805536c424c47b14c8ce569aae852247cebd | Add cascade for TripReadModelValidation | senioroman4uk/PathFinder | PathFinder.Trips.WebApi/Validators/TripReadModelValidator.cs | PathFinder.Trips.WebApi/Validators/TripReadModelValidator.cs | using FluentValidation;
using PathFinder.Trips.WebApi.Models;
using System;
namespace PathFinder.Trips.WebApi.Validators
{
public class TripReadModelValidator:AbstractValidator<TripReadModel>
{
public TripReadModelValidator()
{
RuleFor(model => model.StartPoint).NotNull();
... | using FluentValidation;
using PathFinder.Trips.WebApi.Models;
using System;
namespace PathFinder.Trips.WebApi.Validators
{
public class TripReadModelValidator:AbstractValidator<TripReadModel>
{
public TripReadModelValidator()
{
RuleFor(model => model.StartPoint).NotNull();
... | mit | C# |
f09239ecec801309006994aeccfe5e920d563707 | update vs for release | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/Appleseed.Framework.Core/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/Appleseed.Framework.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 | C# |
421308c5fd0923e0fb54c36697b63460c8a80fce | add logging | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/UnityTools/OnEscapeLeaveGame.cs | Unity/UnityTools/OnEscapeLeaveGame.cs | /**
MIT License
Copyright (c) 2017 NDark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distr... | /**
MIT License
Copyright (c) 2017 NDark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distr... | mit | C# |
073b6f36ae168cf67ffec6b9094ea4b65775673b | Use HTTPS protocol | mike-ward/VSColorOutput | VSColorOutput/VsColorOutputPackage.cs | VSColorOutput/VsColorOutputPackage.cs | using System;
using System.Runtime.InteropServices;
using System.Threading;
using Microsoft.VisualStudio.Shell;
using VSColorOutput.State;
using Task = System.Threading.Tasks.Task;
namespace VSColorOutput
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[Guid(VSColorOutp... | using System;
using System.Runtime.InteropServices;
using System.Threading;
using Microsoft.VisualStudio.Shell;
using VSColorOutput.State;
using Task = System.Threading.Tasks.Task;
namespace VSColorOutput
{
[PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
[Guid(VSColorOutp... | mit | C# |
4a0bed4e1a3aad8c1eac739896107f25d3204292 | Remove unused field. | andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,honestegg/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,andrewdavey/cassette | src/Cassette/Assets/HtmlTemplates/HtmlTemplateModuleContainerBuilder.cs | src/Cassette/Assets/HtmlTemplates/HtmlTemplateModuleContainerBuilder.cs | using System.IO.IsolatedStorage;
using System.Linq;
using Cassette.ModuleBuilding;
namespace Cassette.Assets.HtmlTemplates
{
public class HtmlTemplateModuleContainerBuilder : ModuleContainerBuilder
{
public HtmlTemplateModuleContainerBuilder(IsolatedStorageFile storage, string rootDirectory, s... | using System.IO.IsolatedStorage;
using System.Linq;
using Cassette.ModuleBuilding;
namespace Cassette.Assets.HtmlTemplates
{
public class HtmlTemplateModuleContainerBuilder : ModuleContainerBuilder
{
readonly string applicationRoot;
public HtmlTemplateModuleContainerBuilder(Isolated... | mit | C# |
913b330accdcc604bbd66c764c1113be97272d8e | Add try catch | JoeBiellik/clipup | Windows/Forms/Provider/Preferences.cs | Windows/Forms/Provider/Preferences.cs | using System;
using System.Windows.Forms;
using ClipUp.Sdk.Interfaces;
namespace ClipUp.Windows.Forms.Provider
{
public partial class Preferences : Form
{
public IUploadProvider Provider { get; }
public Preferences(IUploadProvider provider)
{
if (!(provider is IConfigurabl... | using System;
using System.Windows.Forms;
using ClipUp.Sdk.Interfaces;
namespace ClipUp.Windows.Forms.Provider
{
public partial class Preferences : Form
{
public IUploadProvider Provider { get; }
public Preferences(IUploadProvider provider)
{
if (!(provider is IConfigurabl... | mit | C# |
a93b8e2dc9833a8856aa00df163b43b256099f34 | Tweak the endpoint names | adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats | Website/Modules/NetgearApiModule.cs | Website/Modules/NetgearApiModule.cs | using System;
using System.Collections.Generic;
using BroadbandStats.NetgearRouter.Devices;
using Nancy;
using Nancy.Extensions;
namespace BroadbandStats.Website.Modules
{
public sealed class NetgearApiModule : NancyModule
{
private readonly AttachedDevicesParser attachedDevicesParser;
public... | using System;
using System.Collections.Generic;
using BroadbandStats.NetgearRouter.Devices;
using Nancy;
using Nancy.Extensions;
namespace BroadbandStats.Website.Modules
{
public sealed class NetgearApiModule : NancyModule
{
private readonly AttachedDevicesParser attachedDevicesParser;
public... | mit | C# |
02a1bfb0022763a1a183289730319adda9582281 | Remove unnecessary comment | timclipsham/tfs-hipchat | TfsHipChat/CheckinEventService.cs | TfsHipChat/CheckinEventService.cs | using System.IO;
using System.Xml.Serialization;
using Microsoft.TeamFoundation.VersionControl.Common;
namespace TfsHipChat
{
public class CheckinEventService : IEventService
{
private INotifier _notifier;
public CheckinEventService()
{
}
public CheckinE... | using System.IO;
using System.Xml.Serialization;
using Microsoft.TeamFoundation.VersionControl.Common;
namespace TfsHipChat
{
public class CheckinEventService : IEventService
{
private INotifier _notifier;
public CheckinEventService()
{
}
public CheckinE... | mit | C# |
8f59d28d37148b8f1e4517218483ccfb7e8559f8 | modify iceblockmanager | woolparty/DontEatMyFish | DonTouchMyFish/Assets/Assets/Scripts/GameControllers/IceBlockManager.cs | DonTouchMyFish/Assets/Assets/Scripts/GameControllers/IceBlockManager.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class IceBlockManager : MonoBehaviour
{
private List<IceBlock> m_iceBlocks;
private List<IceBlock> m_matchedBlocks;
// Use this for initialization
void Awake ()
{
m_iceBlocks = new List<IceBlock>();
m_ma... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class IceBlockManager : MonoBehaviour
{
private List<IceBlock> m_iceBlocks;
private List<IceBlock> m_matchedBlocks;
// Use this for initialization
void Awake ()
{
m_iceBlocks = new List<IceBlock>();
m_ma... | apache-2.0 | C# |
c58af0433acdc4c0828b17103260d7f680ffc260 | Update AddingWorksheetsToNewExcelFile.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-c... | Examples/CSharp/Worksheets/Management/AddingWorksheetsToNewExcelFile.cs | Examples/CSharp/Worksheets/Management/AddingWorksheetsToNewExcelFile.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Management
{
public class AddingWorksheetsToNewExcelFile
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Ce... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Management
{
public class AddingWorksheetsToNewExcelFile
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDa... | mit | C# |
43ee89e77de2765b16ae435e0721eba9965ac384 | Add NameBR Features | augustocordeiro/NFaker,yanjustino/NFaker | FFaker.net/NameBR.cs | FFaker.net/NameBR.cs | using NFaker.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NFaker
{
public class NameBR
{
private static string NAME_BR = "name_br";
public static string Name
{
get { return string.Format("{0} {1}", FirstName,... | using NFaker.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NFaker
{
public class NameBR : Faker
{
private static string KEY = "name_br";
public static string FirstName
{
get { return Rand(KEY, "first_names"); ... | mit | C# |
40f76704fa958ac784d0df0ebcf76e43902d829e | Change sitemap.xml to reference requested host | Red-Folder/WebCrawl-Functions | WebCrawlProcess/run.csx | WebCrawlProcess/run.csx | #r "Newtonsoft.Json"
using System;
using Red_Folder.WebCrawl;
using Red_Folder.WebCrawl.Data;
using Red_Folder.Logging;
using Newtonsoft.Json;
public static void Run(string request, out object outputDocument, TraceWriter log)
{
var crawlRequest = JsonConvert.DeserializeObject<CrawlRequest>(request);
log.Info($"C... | #r "Newtonsoft.Json"
using System;
using Red_Folder.WebCrawl;
using Red_Folder.WebCrawl.Data;
using Red_Folder.Logging;
using Newtonsoft.Json;
public static void Run(string request, out object outputDocument, TraceWriter log)
{
log.Info($"C# Queue trigger function processed: {crawlRequest.Id}");
var azureLo... | mit | C# |
80caa7211d73836fa6f72f498d03c6b0a7a566cc | Fix - WIP | Red-Folder/WebCrawl-Functions | WebCrawlProcess/run.csx | WebCrawlProcess/run.csx | #r "Newtonsoft.Json"
using System;
using Red_Folder.WebCrawl;
using Red_Folder.WebCrawl.Data;
using Red_Folder.Logging;
using Newtonsoft.Json;
public static void Run(string request, out object outputDocument, TraceWriter log)
{
CrawlRequest crawlRequest = null;
try
{
crawlRequest = JsonConvert.DeserializeObject... | #r "Newtonsoft.Json"
using System;
using Red_Folder.WebCrawl;
using Red_Folder.WebCrawl.Data;
using Red_Folder.Logging;
using Newtonsoft.Json;
public static void Run(string request, out object outputDocument, TraceWriter log)
{
log.Info($"Started");
CrawlRequest crawlRequest = null;
try
{
crawlRequest = Js... | mit | C# |
d4ae8df177b08d04a9105596b1971320d27d5908 | add footer | kreeben/resin,kreeben/resin | src/Sir.HttpServer/Views/_Layout.cshtml | src/Sir.HttpServer/Views/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
</head>
<body>
<style>
textarea {
float: left;
}
a {
text-decoration: none;
color: orangered;
}
a.result-link{
... | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
</head>
<body>
<style>
textarea {
float: left;
}
a {
text-decoration: none;
color: orangered;
}
a.result-link{
... | mit | C# |
a1c11d17ea0f8a9888952161e64a5e520d4402bf | Fix typo | tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,leekelleher/Umbraco-CMS,bjarnef/Umbraco-CMS,abjerner/Umbraco-CMS,mattbrailsford/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,tcmorris/Umbraco-CMS,robertjf/Umbraco-CMS,tcmorris/Umbraco-CMS,tompipe/Umbraco-CMS,robert... | src/Umbraco.Compat7/Compat7Component.cs | src/Umbraco.Compat7/Compat7Component.cs | using System;
using System.Collections.Generic;
using LightInject;
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Components;
using Umbraco.Core.Logging;
using Umbraco.Core.Plugins;
namespace Umbraco.Compat7
{
public class Compat7Component : UmbracoComponentBase, IUmbracoUserComponent
{
pri... | using System;
using System.Collections.Generic;
using LightInject;
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Components;
using Umbraco.Core.Logging;
using Umbraco.Core.Plugins;
namespace Umbraco.Compat7
{
public class Compat7Component : UmbracoComponentBase, IUmbracoUserComponent
{
pri... | mit | C# |
09a10a6cffc5682c49851282da53f5dae7db7ffb | Remove BrowserStack logo from page footer | martincostello/website,martincostello/website,martincostello/website,martincostello/website | src/Website/Views/Shared/_Footer.cshtml | src/Website/Views/Shared/_Footer.cshtml | @model SiteOptions
<hr />
<footer>
<p class="hidden-sm hidden-xs">
© @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year |
<a id="link-status" href="@Model.ExternalLinks.Status.AbsoluteUri" rel="noopener" target="_blank" title="View site uptime information">
Site Status & U... | @model SiteOptions
<hr />
<footer>
<p class="hidden-sm hidden-xs">
© @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year |
<a id="link-status" href="@Model.ExternalLinks.Status.AbsoluteUri" rel="noopener" target="_blank" title="View site uptime information">
Site Status & U... | apache-2.0 | C# |
bb7ab08c9b5b05e229ba36d4de922f5786cf0110 | Update XMLTests.cs | keith-hall/Extensions,keith-hall/Extensions | tests/XMLTests.cs | tests/XMLTests.cs | using System;
using System.Xml.Linq;
using HallLibrary.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class XMLTests
{
[TestMethod]
public void TestToDataTable()
{
var xe = XElement.Parse(@"<root><row><id example='test'>7</id><name><last>Bloggs</last><f... | using System;
using System.Xml.Linq;
using HallLibrary.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class XMLTests
{
[TestMethod]
public void TestToDataTable()
{
var xe = XElement.Parse(@"<root><row><id example='test'>7</id><name><last>Bloggs</last><f... | apache-2.0 | C# |
d50501663533378778df3ef00403b8cbbdc135fa | Update PathSize.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/ViewModels/Shapes/Path/PathSize.cs | src/Core2D/ViewModels/Shapes/Path/PathSize.cs | using System;
using System.Collections.Generic;
using System.Globalization;
namespace Core2D.Path
{
/// <summary>
/// Path size.
/// </summary>
public class PathSize : ObservableObject, IPathSize
{
private double _width;
private double _height;
/// <inheritdoc/>
pu... | using System;
using System.Collections.Generic;
namespace Core2D.Path
{
/// <summary>
/// Path size.
/// </summary>
public class PathSize : ObservableObject, IPathSize
{
private double _width;
private double _height;
/// <inheritdoc/>
public double Width
{
... | mit | C# |
d2ccf4a85a50d5a540f8f5d3f4959f8c8142e30b | Resolve #35 - Configure default options for view engine | csf-dev/ZPT-Sharp,csf-dev/ZPT-Sharp | CSF.Zpt.MVC/ZptViewEngine.cs | CSF.Zpt.MVC/ZptViewEngine.cs | using System;
using System.Web.Mvc;
using CSF.Zpt.Rendering;
using CSF.Zpt.MVC.Rendering;
namespace CSF.Zpt.MVC
{
public class ZptViewEngine : VirtualPathProviderViewEngine
{
#region constants
private static readonly string[] ViewLocations = new [] {
"~/Views/{1}/{0}.pt",
"~/Views/Shared/{0}.... | using System;
using System.Web.Mvc;
using CSF.Zpt.Rendering;
using CSF.Zpt.MVC.Rendering;
namespace CSF.Zpt.MVC
{
public class ZptViewEngine : VirtualPathProviderViewEngine
{
#region constants
private static readonly string[] ViewLocations = new [] {
"~/Views/{1}/{0}.pt",
"~/Views/Shared/{0}.... | mit | C# |
aab51be8ffe3339854dbb3784c38c1c178cdfd71 | Comment unused code | Zeugma440/atldotnet | ATL/Utils/FNV1a.cs | ATL/Utils/FNV1a.cs | // Copyright (c) 2015, 2016 Sedat Kapanoglu
// MIT License - see LICENSE file for details
namespace HashDepot
{
/// <summary>
/// FNV-1a Hash functions
/// </summary>
public static class Fnv1a
{
/// <summary>
/// Calculate 32-bit FNV-1a hash value
/// </summary>
pub... | // Copyright (c) 2015, 2016 Sedat Kapanoglu
// MIT License - see LICENSE file for details
namespace HashDepot
{
/// <summary>
/// FNV-1a Hash functions
/// </summary>
public static class Fnv1a
{
/// <summary>
/// Calculate 32-bit FNV-1a hash value
/// </summary>
pub... | mit | C# |
dde6896fcd51ccc4a878596a899f24c50de7822f | Update HeadlessGameHostTest post-rebase | Tom94/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,NeoAdonis/osu-framework,naoey/osu-framework,peppy/osu-framework,default0/osu-framework,smoogipooo/osu-framework,naoey/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,default0/osu-framework,EVAST9919/osu-framework,ppy/osu-framewo... | osu.Framework.Desktop.Tests/Platform/HeadlessGameHostTest.cs | osu.Framework.Desktop.Tests/Platform/HeadlessGameHostTest.cs | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Desktop.Platform;
using osu.Framework.Platform;
namespace osu.Framework.Desktop.Tests.Platform
{
[TestFixture]
public class HeadlessGameHostTest
{
private class ... | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Desktop.Platform;
using osu.Framework.Platform;
namespace osu.Framework.Desktop.Tests.Platform
{
[TestFixture]
public class HeadlessGameHostTest
{
private class ... | mit | C# |
a7c7bb310fe8a5cd4cd82478d0ffb50c6846a5ca | Update Program.cs | Jungro/Test | TestWinform/Program.cs | TestWinform/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TestWinform
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace TestWinform
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | mit | C# |
56debce03599fa318b8eaa0b450ec5c67313ce32 | Enable developer exception page | surlycoder/truck-router | TruckRouter/Program.cs | TruckRouter/Program.cs | using TruckRouter.Models;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
build... | using TruckRouter.Models;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
buil... | mit | C# |
5c0f102927615362293c36b559d69f742eabd56f | Update LocationsController.cs | shijuvar/react-aspnet,chimpinano/react-aspnet,shijuvar/react-aspnet,shijuvar/react-aspnet,rartola/Test,rartola/Test,rartola/Test,chimpinano/react-aspnet,chimpinano/react-aspnet | ResourceMetadata/ResourceMetadata.API/Controllers/LocationsController.cs | ResourceMetadata/ResourceMetadata.API/Controllers/LocationsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using ResourceMetadata.API.ViewModels;
using ResourceMetadata.Model;
using ResourceMetadata.Service;
using AutoMapper;
using System.Threading;
using Microsoft.AspNet.Identity;
namespace R... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using ResourceMetadata.API.ViewModels;
using ResourceMetadata.Model;
using ResourceMetadata.Service;
using AutoMapper;
using System.Threading;
using Microsoft.AspNet.Identity;
namespace R... | mit | C# |
1546a714dc1e59a9d3f7ffcdb8b7909e32dc5ae1 | Fix NullReferenceException | dimmpixeye/Unity3dTools | Assets/[0]Framework/Editor/SceneProcessors/SceneGenerator.cs | Assets/[0]Framework/Editor/SceneProcessors/SceneGenerator.cs | using System.Linq;
using Homebrew;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine.SceneManagement;
using UnityEngine;
[InitializeOnLoad]
public class SceneGenerator
{
static SceneGenerator()
{
EditorSceneManager.newSceneCreated += SceneCreating;
EditorSceneManager.sceneSaved += SceneSav... | using System.Linq;
using Homebrew;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine.SceneManagement;
using UnityEngine;
[InitializeOnLoad]
public class SceneGenerator
{
static SceneGenerator()
{
EditorSceneManager.newSceneCreated += SceneCreating;
EditorSceneManager.sceneSaved += SceneSav... | mit | C# |
5882eb6c3f8fc4f70db8a55599029688952eb187 | Revert to v3 of the moviedb | ronaldme/Watcher,ronaldme/Watcher,ronaldme/Watcher | Watcher.Common/Urls.cs | Watcher.Common/Urls.cs | using System;
using System.Configuration;
namespace Watcher.Common
{
public class Urls
{
private static readonly string SuffixUrl = "?api_key=" + ConfigurationManager.AppSettings.Get("theMovieDb");
private const string PreFixUrl = "http://api.themoviedb.org/3/";
/// <summary>
... | using System;
using System.Configuration;
namespace Watcher.Common
{
public class Urls
{
private static readonly string SuffixUrl = "?api_key=" + ConfigurationManager.AppSettings.Get("theMovieDb");
private const string PreFixUrl = "http://api.themoviedb.org/4/";
/// <summary>
... | mit | C# |
c9659b32d82f4ea5f511dec22398cd6fcdb1339b | Fix bug with querying ProductPrices in SampleAPI case study | EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB | dotnet_3/cs/rest/SampleProject/src/SampleProject.Application/Orders/PlaceCustomerOrder/ProductPriceProvider.cs | dotnet_3/cs/rest/SampleProject/src/SampleProject.Application/Orders/PlaceCustomerOrder/ProductPriceProvider.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SampleProject.Domain.Products;
using SampleProject.Domain.SharedKernel;
namespace SampleProject.Application.Orders.PlaceCustomerOrder
{
public static class ProductPriceProvider
... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SampleProject.Domain.Products;
using SampleProject.Domain.SharedKernel;
namespace SampleProject.Application.Orders.PlaceCustomerOrder
{
public static class ProductPriceProvider
... | apache-2.0 | C# |
23f02d65665525d27122d549f0a622490899a6e5 | rename test method | dipakboyed/epibook.github.io.Puzzles | EPIUnitTests/DynamicProgramming/KnapsackProblemUnitTest.cs | EPIUnitTests/DynamicProgramming/KnapsackProblemUnitTest.cs | using EPI.DynamicProgramming;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.DynamicProgramming
{
[TestClass]
public class KnapsackProblemUnitTest
{
[TestMethod]
public void MaximizeKnapsackValue()
{
KnapsackProblem.Clock[] store = new KnapsackProblem.C... | using EPI.DynamicProgramming;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.DynamicProgramming
{
[TestClass]
public class KnapsackProblemUnitTest
{
[TestMethod]
public void TestMethod1()
{
KnapsackProblem.Clock[] store = new KnapsackProblem.Clock[]
... | mit | C# |
d3c236002234228eff30bf5d3cb780be26fa9462 | Fix namespace of JsonExceptionHandling | civicsource/webapi-utils,civicsource/http | aspnetcore/JsonExceptionHandling.cs | aspnetcore/JsonExceptionHandling.cs | using System;
using System.Net;
using System.Text;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics;
using Newtonsoft.Json;
namespace Archon.AspNetCore
{
public static class JsonExceptionHandling
{
public static IApplicationBuilder UseJsonExceptionHandling(this IApplicationBuilder app)
... | using System;
using System.Net;
using System.Text;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics;
using Newtonsoft.Json;
namespace Archon.Http
{
public static class JsonExceptionHandling
{
public static IApplicationBuilder UseJsonExceptionHandling(this IApplicationBuilder app)
{
... | mit | C# |
0bb1d6bcf9fdfac3052715a4674385ad9ef5dc52 | Remove redundant code | drewnoakes/boing | Boing/PointMass.cs | Boing/PointMass.cs | using System.Diagnostics;
namespace Boing
{
public sealed class PointMass
{
private Vector2f _force;
public float Mass { get; set; }
public bool IsPinned { get; set; }
public object Tag { get; set; }
public Vector2f Position { get; set; }
public Vector2f Velocit... | using System.Collections.Generic;
using System.Diagnostics;
namespace Boing
{
public sealed class PointMass
{
private Vector2f _force;
public float Mass { get; set; }
public bool IsPinned { get; set; }
public object Tag { get; set; }
public Vector2f Position { get; set;... | apache-2.0 | C# |
06d3a7bf5b45adb6bca6238ca3cfe9331eb9dda6 | Add more RFC 7748 test vectors | ektrah/nsec | tests/Rfc/X25519Tests.cs | tests/Rfc/X25519Tests.cs | using System;
using NSec.Cryptography;
using Xunit;
namespace NSec.Tests.Rfc
{
public static class X25519Tests
{
public static readonly TheoryData<string, string, string> Rfc7748TestVectors = new TheoryData<string, string, string>
{
// Section 5.2
{ "a546e36bf0527c9d3b16... | using System;
using NSec.Cryptography;
using Xunit;
namespace NSec.Tests.Rfc
{
public static class X25519Tests
{
public static readonly TheoryData<string, string, string> Rfc7748TestVectors = new TheoryData<string, string, string>
{
{ "a546e36bf0527c9d3b16154b82465edd62144c0ac1fc5a1... | mit | C# |
13ee16bc7c39a5933c84d67e78dbcbd0fe402650 | add try.catch | sebastus/AzureFunctionForSplunk | shared/sendToSplunk.csx | shared/sendToSplunk.csx | #r "Newtonsoft.Json"
using System;
using System.Dynamic;
using System.Net;
using System.Net.Http.Headers;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public class SingleHttpClientInstance
{
private static readonly HttpClient HttpClient;
static SingleHttpClientInstance()
{
... | #r "Newtonsoft.Json"
using System;
using System.Dynamic;
using System.Net;
using System.Net.Http.Headers;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public class SingleHttpClientInstance
{
private static readonly HttpClient HttpClient;
static SingleHttpClientInstance()
{
... | mit | C# |
852e1eac8b08df7ccbc6430437e9507242767f3d | fix Upgrade_20210924_RemoveParentTokenParentValue spacing | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20210924_RemoveParentTokenParentValue.cs | Signum.Upgrade/Upgrades/Upgrade_20210924_RemoveParentTokenParentValue.cs | using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20210... | using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20210... | mit | C# |
bd8c5dfd11791b74a54a2b131e3b9360b2a92df5 | Improve Enum display. Work Item #1985 | CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork | trunk/Solutions/CslaGenFork/Metadata/ReportObjectNotFound.cs | trunk/Solutions/CslaGenFork/Metadata/ReportObjectNotFound.cs | using System.ComponentModel;
using CslaGenerator.Design;
namespace CslaGenerator.Metadata
{
[TypeConverter(typeof(EnumDescriptionOrCaseConverter))]
public enum ReportObjectNotFound
{
None,
[Description("IsLoaded Property")]
IsLoadedProperty,
ThrowException
}... | using System.ComponentModel;
using CslaGenerator.Design;
namespace CslaGenerator.Metadata
{
[TypeConverter(typeof(EnumDescriptionOrCaseConverter))]
public enum ReportObjectNotFound
{
None,
IsLoadedProperty,
ThrowException
}
} | mit | C# |
f2c29c05f30f093b4b0f1ec3098dc17454defac9 | Fix CF issue | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs | WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs | using System;
using System.Diagnostics;
using NBitcoin.Secp256k1;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
{
// Each proof of a linear relation consists of multiple knowledge of
// representation equations, all sharing a single witness c... | using System;
using System.Diagnostics;
using NBitcoin.Secp256k1;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
{
// Each proof of a linear relation consists of multiple knowledge of
// representation equations, all sharing a single witness c... | mit | C# |
2345e106354dcdc23d89401c40daa066a1d5e40f | Reduce potential value updates when setting localisablestring | ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework... | osu.Framework/Localisation/LocalisationManager_LocalisedBindableString.cs | osu.Framework/Localisation/LocalisationManager_LocalisedBindableString.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Configuration;
using osu.Framework.IO.Stores;
namespace osu.Framework.Localisation
{
public partial class LocalisationMa... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Configuration;
using osu.Framework.IO.Stores;
namespace osu.Framework.Localisation
{
public partial class LocalisationMa... | mit | C# |
0935ac37775e6e4990fe21243d89c8048d78b358 | Create server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | mit | C# |
b7e6151d6839d78fa582d334073448feff9f5389 | Remove default image | grantcolley/wpfcontrols | DevelopmentInProgress.WPFControls/Converters/UriStringToImageConverter.cs | DevelopmentInProgress.WPFControls/Converters/UriStringToImageConverter.cs | //-----------------------------------------------------------------------
// <copyright file="UriStringToImageConverter.cs" company="Development In Progress Ltd">
// Copyright © Development In Progress Ltd 2013. All rights reserved.
// </copyright>
//----------------------------------------------------------------... | //-----------------------------------------------------------------------
// <copyright file="UriStringToImageConverter.cs" company="Development In Progress Ltd">
// Copyright © Development In Progress Ltd 2013. All rights reserved.
// </copyright>
//----------------------------------------------------------------... | apache-2.0 | C# |
dd9cd6fba8330c7c09ff7f618d0e28cbfc222427 | fix cli split arguments method | peace2048/h-opc,hylasoft-usa/h-opc,coassoftwaresystems/h-opc,hylasoft-usa/h-opc,peace2048/h-opc,coassoftwaresystems/h-opc | h-opc-cli/CliUtils.cs | h-opc-cli/CliUtils.cs | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Hylasoft.Opc.Cli
{
internal static class CliUtils
{
/// <summary>
/// Split arguments in a string taking in consideration quotes
/// E.g: 'aaa bbb "cc cc"' => ['aaa', 'bbb', 'cc cc']
/// </summary>... | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Hylasoft.Opc.Cli
{
internal static class CliUtils
{
/// <summary>
/// Split arguments in a string taking in consideration quotes
/// E.g: 'aaa bbb "cc cc"' => ['aaa', 'bbb', 'cc cc']
/// </summary>... | mit | C# |
9ce78d80d0455c3201658dfa4486151ffc7c1486 | Bump version | beekmanlabs/Storage,beekmanlabs/Storage | BeekmanLabs.Storage/Properties/AssemblyInfo.cs | BeekmanLabs.Storage/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.0.1.*")]
[assembly: AssemblyInformationalVersion("0.0.1")]
[assembly: AssemblyTitle("BeekmanLabs.Storage")]
[assembly: AssemblyCompany("Beekman Labs")]
[assembly: AssemblyProduct("BeekmanLabs.Storage")]
[assembly: AssemblyCop... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyInformationalVersion("0.0.0")]
[assembly: AssemblyTitle("BeekmanLabs.Storage")]
[assembly: AssemblyCompany("Beekman Labs")]
[assembly: AssemblyProduct("BeekmanLabs.Storage")]
[assembly: AssemblyCop... | mit | C# |
b07828fdd4f9aedeb7f7ab7229e351381d0b569f | Remove EOL whitespace in Kernel32 NativeMethods. | Sharparam/Colore,WolfspiritM/Colore,CoraleStudios/Colore,danpierce1/Colore | Corale.Colore/Native/Kernel32/NativeMethods.cs | Corale.Colore/Native/Kernel32/NativeMethods.cs | // ---------------------------------------------------------------------------------------
// <copyright file="NativeMethods.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software a... | // ---------------------------------------------------------------------------------------
// <copyright file="NativeMethods.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software ... | mit | C# |
8b7cba25f75ea55924c94d619901026bfcdda673 | Add filter property to trending movies request. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesTrendingRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesTrendingRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies.Common;
internal class TraktMoviesTrendingRequest : TraktGetRequest<TraktPaginationListResult<TraktTrendingMovie>, TraktTrendingMovie>
{
internal Trak... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies.Common;
internal class TraktMoviesTrendingRequest : TraktGetRequest<TraktPaginationListResult<TraktTrendingMovie>, TraktTrendingMovie>
{
internal TraktMoviesTrendingR... | mit | C# |
10e866dc96a9352c9f2481014aa43160a10fbdc1 | update video filename | overtools/OWLib,kerzyte/OWLib | DataTool/ToolLogic/Extract/ExtractAbilities.cs | DataTool/ToolLogic/Extract/ExtractAbilities.cs | using System;
using System.Collections.Generic;
using System.IO;
using DataTool.FindLogic;
using DataTool.Flag;
using OWLib;
using STULib.Types;
using static DataTool.Helper.IO;
using static DataTool.Program;
using static DataTool.Helper.STUHelper;
namespace DataTool.ToolLogic.Extract {
[Tool("extract-abilities",... | using System;
using System.Collections.Generic;
using System.IO;
using DataTool.FindLogic;
using DataTool.Flag;
using OWLib;
using STULib.Types;
using static DataTool.Helper.IO;
using static DataTool.Program;
using static DataTool.Helper.STUHelper;
namespace DataTool.ToolLogic.Extract {
[Tool("extract-abilities",... | mit | C# |
dd4143e8b062c81c59cd79e8d0b3ea40d062b88c | check for null focusedWindow before showing notification | killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit/Utilities/Editor/EditorAssemblyReloadManager.cs | Assets/MixedRealityToolkit/Utilities/Editor/EditorAssemblyReloadManager.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor
{
public static class EditorAssemblyReloadManager
{
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor
{
public static class EditorAssemblyReloadManager
{
... | mit | C# |
8b49aa6fede7b93da529b8a93cc758d252c5e436 | Make CustomRuntimeFunction blueprint easier to read. | thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet | Blueprints/BlueprintDefinitions/Msbuild-NETCore_2_1/CustomRuntimeFunction/template/src/BlueprintBaseName.1/Function.cs | Blueprints/BlueprintDefinitions/Msbuild-NETCore_2_1/CustomRuntimeFunction/template/src/BlueprintBaseName.1/Function.cs | using Amazon.Lambda.Core;
using Amazon.Lambda.RuntimeSupport;
using Amazon.Lambda.Serialization.Json;
using System;
using System.Threading.Tasks;
namespace BlueprintBaseName._1
{
public class Function
{
/// <summary>
/// The main entry point for the custom runtime.
/// </summary>
... | using Amazon.Lambda.Core;
using Amazon.Lambda.RuntimeSupport;
using Amazon.Lambda.Serialization.Json;
using System;
using System.Threading.Tasks;
namespace BlueprintBaseName._1
{
public class Function
{
/// <summary>
/// The main entry point for the custom runtime.
/// </summary>
... | apache-2.0 | C# |
d340efb5d6c70c5bf2f79ada34925b5eda52fe6b | Implement conversion on interactor | tomlane/RailDataEngine,tomlane/RailDataEngine | RailDataEngine.Interactor.Implementations/SaveMovementMessageInteractor.cs | RailDataEngine.Interactor.Implementations/SaveMovementMessageInteractor.cs | using System;
using RailDataEngine.Domain.Interactor.SaveMovementMessageInteractor;
using RailDataEngine.Domain.Services.MovementMessageConversionService;
using RailDataEngine.Domain.Services.MovementMessageDeserializationService;
namespace RailDataEngine.Interactor.Implementations
{
public class SaveMovementMess... | using System;
using RailDataEngine.Domain.Interactor.SaveMovementMessageInteractor;
using RailDataEngine.Domain.Services.MovementMessageConversionService;
using RailDataEngine.Domain.Services.MovementMessageDeserializationService;
namespace RailDataEngine.Interactor.Implementations
{
public class SaveMovementMess... | mit | C# |
9d49947617d9571a0d955db2bb200654e2d97327 | Fix log name | NguyenDanPhuong/MangaRipper,GambitKZ/MangaRipper | MangaRipper.Core/MyLogger.cs | MangaRipper.Core/MyLogger.cs | using NLog;
using System;
namespace MangaRipper.Core
{
public interface IMyLogger
{
void Info(string message);
void Debug(string message);
void Fatal(string message);
void Fatal(Exception ex);
}
public class MyLogger<T> : IMyLogger
{
private static Logger L... | using NLog;
using System;
namespace MangaRipper.Core
{
public interface IMyLogger
{
void Info(string message);
void Debug(string message);
void Fatal(string message);
void Fatal(Exception ex);
}
public class MyLogger<T> : IMyLogger
{
private static Logger L... | mit | C# |
4f97e932629891deb213647016abd195541eb5e8 | Add XML documentation to extension method HttpRequestBase.GetOriginalUrl() and make the method public. | schourode/canonicalize | Canonicalize/HttpRequestBaseExtensions.cs | Canonicalize/HttpRequestBaseExtensions.cs | using System;
using System.Web;
namespace Canonicalize
{
/// <summary>
/// Adds extension methods on <see cref="HttpRequestBase"/>.
/// </summary>
public static class HttpRequestBaseExtensions
{
/// <summary>
/// Gets the original URL requested by the client, without art... | using System;
using System.Web;
namespace Canonicalize
{
internal static class HttpRequestBaseExtensions
{
public static Uri GetOriginalUrl(this HttpRequestBase request)
{
if (request.Url == null || request.Headers == null)
{
return request.Ur... | mit | C# |
4e8da0224e3f779d8ea753a09ffdd296aefaba4d | Add routing rules for profile | BCITer/Jabber,BCITer/Jabber,BCITer/Jabber | JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs | JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace JabberBCIT
{
public class RouteConfig {
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "EditProfile",
url... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace JabberBCIT {
public class RouteConfig {
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
... | mit | C# |
72f9da151b1ffe10975816c3c9210e6b2131a3d8 | Make Transacript internal | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Wabisabi/RegistrationValidationData.cs | WalletWasabi/Wabisabi/RegistrationValidationData.cs | using System.Collections.Generic;
using WalletWasabi.Crypto.ZeroKnowledge;
namespace WalletWasabi.Wabisabi
{
/// <summary>
/// Maintains the state needed to validate the credentials once the coordinator
/// issues them.
/// </summary>
public class RegistrationValidationData
{
internal RegistrationValidationDa... | using System.Collections.Generic;
using WalletWasabi.Crypto.ZeroKnowledge;
namespace WalletWasabi.Wabisabi
{
/// <summary>
/// Maintains the state needed to validate the credentials once the coordinator
/// issues them.
/// </summary>
public class RegistrationValidationData
{
internal RegistrationValidationDa... | mit | C# |
f53ea8a90f49176b7a1779a45b4f75a078e61f05 | Mark ProjectionVersionsHandler as a system projection with ISystemProjection. Apparently we need it | Elders/Cronus,Elders/Cronus | src/Elders.Cronus/Projections/Versioning/Handlers/ProjectionVersionsHandler.cs | src/Elders.Cronus/Projections/Versioning/Handlers/ProjectionVersionsHandler.cs | using System.Runtime.Serialization;
using Elders.Cronus.Projections.Snapshotting;
namespace Elders.Cronus.Projections.Versioning
{
[DataContract(Name = "ad755d78-4ecb-4930-837e-160effbfee14")]
public class ProjectionVersionsHandler : ProjectionDefinition<ProjectionVersionsHandlerState, ProjectionVersionManage... | using System.Runtime.Serialization;
using Elders.Cronus.Projections.Snapshotting;
namespace Elders.Cronus.Projections.Versioning
{
[DataContract(Name = "ad755d78-4ecb-4930-837e-160effbfee14")]
public class ProjectionVersionsHandler : ProjectionDefinition<ProjectionVersionsHandlerState, ProjectionVersionManage... | apache-2.0 | C# |
2fac527bd64538a56a1bf5cbd472d4b58342a6b2 | Update DecimalDataValidation.cs | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-c... | Examples/CSharp/Data/Processing/FilteringAndValidation/DecimalDataValidation.cs | Examples/CSharp/Data/Processing/FilteringAndValidation/DecimalDataValidation.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Processing.Processing.FilteringAndValidation
{
public class DecimalDataValidation
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Processing.Processing.FilteringAndValidation
{
public class DecimalDataValidation
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = ... | mit | C# |
cabd01b78c7130cc69fbfd97016a501fe2a59e37 | Add provider name and provider type into LocationInfo, part 2 | ViveportSoftware/vita_core_csharp,ViveportSoftware/vita_core_csharp | source/Htc.Vita.Core/Diagnostics/LocationManager.DataType.cs | source/Htc.Vita.Core/Diagnostics/LocationManager.DataType.cs | namespace Htc.Vita.Core.Diagnostics
{
public partial class LocationManager
{
/// <summary>
/// Class LocationInfo.
/// </summary>
public class LocationInfo
{
/// <summary>
/// Gets or sets the country code alpha2.
/// </summary>
... | namespace Htc.Vita.Core.Diagnostics
{
public partial class LocationManager
{
/// <summary>
/// Class LocationInfo.
/// </summary>
public class LocationInfo
{
/// <summary>
/// Gets or sets the country code alpha2.
/// </summary>
... | mit | C# |
15560b2852e373f2c1b1b71e456bc8957f42a34a | Clean comments in DistanseMatrixResponseModel | senioroman4uk/PathFinder | PathFinder.Trips.WebApi/Models/DistanseMatrixResponseModel.cs | PathFinder.Trips.WebApi/Models/DistanseMatrixResponseModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PathFinder.Trips.WebApi.Models
{
public class DistanseMatrixResponseModel
{
public List<Row> Rows { get; set; }
public string Status { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PathFinder.Trips.WebApi.Models
{
public class DistanseMatrixResponseModel
{
// public List<string> destination_addresses { get; set; }
// public List<string> origin_addre... | mit | C# |
5179635b2dc855a1873e94da8512476c3bebf255 | add shorthand method for config retrieval | NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu | osu.Game.Rulesets.Mania/Skinning/LegacyManiaColumnElement.cs | osu.Game.Rulesets.Mania/Skinning/LegacyManiaColumnElement.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;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets... | // 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;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Mania.UI;
namespace osu.Game.... | mit | C# |
df4604fbc733ee8fbb0860f40705bae681d67a6f | Update version number to 2014.1 | fringebits/QuantityTypes,donid/QuantityTypes,objorke/QuantityTypes,joseph-bs/QuantityTypes,BadBabyJames/QunityTypes | Source/GlobalAssemblyInfo.cs | Source/GlobalAssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Units for .NET">
// Copyright © Units for .NET. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System.Reflection;
[... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Units for .NET">
// Copyright © Units for .NET. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System.Reflection;
[... | mit | C# |
ed2dc101bb56debd0d4effc65fb1abbd3cc2f078 | Fix MessageBox behaviour | lances101/Wox,Wox-launcher/Wox,lances101/Wox,qianlifeng/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox | Wox.Plugin.SystemPlugins/WebSearch/WebSearchesSetting.xaml.cs | Wox.Plugin.SystemPlugins/WebSearch/WebSearchesSetting.xaml.cs | using System.Windows;
using System.Windows.Controls;
using Wox.Infrastructure.Storage.UserSettings;
namespace Wox.Plugin.SystemPlugins
{
/// <summary>
/// Interaction logic for WebSearchesSetting.xaml
/// </summary>
public partial class WebSearchesSetting : UserControl
{
public WebSearches... | using System.Windows;
using System.Windows.Controls;
using Wox.Infrastructure.Storage.UserSettings;
namespace Wox.Plugin.SystemPlugins
{
/// <summary>
/// Interaction logic for WebSearchesSetting.xaml
/// </summary>
public partial class WebSearchesSetting : UserControl
{
public WebSearches... | mit | C# |
876d9063612e04d38b4367f47f388aae45ebf055 | Fix part of #8 (not properly escaping the pound character) | AvetisG/TubeToTune,kirbyfan64/TubeToTune,AvetisG/TubeToTune,kirbyfan64/TubeToTune,AvetisG/TubeToTune | TubeToTune/Helpers/FileNameGenerationHelper.cs | TubeToTune/Helpers/FileNameGenerationHelper.cs | using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace TubeToTune.Helpers
{
public class FileNameGenerationHelper
{
public static string RemoveIllegalPathCharacters(string path)
{
string regexSearch = new string(Path.GetInvalidFileNameChars()) + new string(Path.GetI... | using System;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace TubeToTune.Helpers
{
public class FileNameGenerationHelper
{
public static string RemoveIllegalPathCharacters(string path)
{
string regexSearch = new string(Path.GetInvalidFileNameChars()) + new string(Path.GetI... | mit | C# |
805045a6eb6bad07bf52e4c5d582df2652ef156e | bump v2.3.1.40 | Gizeta/KanColleCacher | KanColleCacher/Properties/AssemblyInfo.cs | KanColleCacher/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using d_f_32.KanColleCacher;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle(AssemblyInfo.Title)]
[assembly: AssemblyDescription(AssemblyInfo.Description)]
[assembly: Assembl... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using d_f_32.KanColleCacher;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle(AssemblyInfo.Title)]
[assembly: AssemblyDescription(AssemblyInfo.Description)]
[assembly: Assembl... | mit | C# |
d8c850633399923cd0ca0ed38ea4d0e72db78672 | add task attributes | exercism/xcsharp,exercism/xcsharp | exercises/concept/lucians-luscious-lasagna/LuciansLusciousLasagnaTests.cs | exercises/concept/lucians-luscious-lasagna/LuciansLusciousLasagnaTests.cs | using Xunit;
using Exercism.Tests;
public class LasagnaTests
{
[Fact]
[Task(1)]
public void Expected_minutes_in_oven()
{
Assert.Equal(40, new Lasagna().ExpectedMinutesInOven());
}
[Fact(Skip = "Remove this Skip property to run this test")]
[Task(2)]
public void Remaining_minute... | using Xunit;
using Exercism.Tests;
public class LasagnaTests
{
[Fact]
public void Expected_minutes_in_oven()
{
Assert.Equal(40, new Lasagna().ExpectedMinutesInOven());
}
[Fact(Skip = "Remove this Skip property to run this test")]
public void Remaining_minutes_in_oven()
{
As... | mit | C# |
27b48140b5edfc44afb1f74f5cfe022ab4bac631 | Use DateTimeOffset.FromUnixTimeSeconds on netstandard2.0 | khellang/Nzb | src/Nzb/EpochUtility.cs | src/Nzb/EpochUtility.cs | using System;
namespace Nzb
{
internal static class EpochUtility
{
#if NETSTANDARD1_0
private static readonly DateTimeOffset UnixEpoch =
new DateTimeOffset(1970, 1, 1, 0, 0, 0, 0, TimeSpan.Zero);
#endif
public static DateTimeOffset ToUnixEpoch(this long timestamp)
{
#if NE... | using System;
namespace Nzb
{
internal static class EpochUtility
{
private static readonly DateTimeOffset UnixEpoch =
new DateTimeOffset(1970, 1, 1, 0, 0, 0, 0, TimeSpan.Zero);
public static DateTimeOffset ToUnixEpoch(this long timestamp) =>
UnixEpoch.AddSeconds(timest... | mit | C# |
7b9cdb306c0ecc4127267fcf541839b81de21b98 | Rename test PageGenerator_GenerateContentPage_Should.SetTheContentTitleAsTitleOfThePage to PageGenerator_GenerateContentPage_Should.ReplaceATitlePlaceholderWithTheTitle. | bsstahl/PPTail,bsstahl/PPTail | PrehensilePonyTail/PPTail.Generator.T4Html.Test/PageGenerator_GenerateContentPage_Should.cs | PrehensilePonyTail/PPTail.Generator.T4Html.Test/PageGenerator_GenerateContentPage_Should.cs | using PPTail.Entities;
using PPTail.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace PPTail.Generator.T4Html.Test
{
public class PageGenerator_GenerateContentPage_Should
{
[Fact]
public void ReplaceATitlePlaceho... | using PPTail.Entities;
using PPTail.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace PPTail.Generator.T4Html.Test
{
public class PageGenerator_GenerateContentPage_Should
{
[Fact]
public void SetTheContentTitleAs... | mit | C# |
7238112b317a1ccee3cd60bc1ccfdc3e414f5e41 | Remove now-unused auth url endpoints | magoswiat/octokit.net,Sarmad93/octokit.net,shiftkey/octokit.net,gdziadkiewicz/octokit.net,geek0r/octokit.net,rlugojr/octokit.net,shiftkey-tester/octokit.net,adamralph/octokit.net,Sarmad93/octokit.net,octokit-net-test-org/octokit.net,shiftkey/octokit.net,TattsGroup/octokit.net,gabrielweyer/octokit.net,khellang/octokit.n... | Octokit/Helpers/ApiUrls.Authorizations.cs | Octokit/Helpers/ApiUrls.Authorizations.cs | using System;
namespace Octokit
{
public static partial class ApiUrls
{
static readonly Uri _currentUserAuthorizationsEndpoint = new Uri("authorizations", UriKind.Relative);
/// <summary>
/// Returns the <see cref="Uri"/> that returns all of the authorizations for the currently logged... | using System;
namespace Octokit
{
public static partial class ApiUrls
{
static readonly Uri _currentUserAuthorizationsEndpoint = new Uri("authorizations", UriKind.Relative);
/// <summary>
/// Returns the <see cref="Uri"/> that returns all of the authorizations for the currently logged... | mit | C# |
dbeb57dcea4d26bb695a4e57d3fcb69377e2311e | Add tests for sameness in DateTimeFormatInfo | dhoehna/corefx,Priya91/corefx-1,rjxby/corefx,manu-silicon/corefx,kkurni/corefx,gkhanna79/corefx,nbarbettini/corefx,shmao/corefx,SGuyGe/corefx,seanshpark/corefx,dotnet-bot/corefx,zhenlan/corefx,tijoytom/corefx,dhoehna/corefx,mmitche/corefx,alexperovich/corefx,axelheer/corefx,kkurni/corefx,YoupHulsebos/corefx,ellismg/cor... | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoReadOnly.cs | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoReadOnly.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class DateTimeForm... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class DateTimeForm... | mit | C# |
81b8f9df915770eb210b04526a739f39366d453b | Fix flaky histogram aggregation (#4111) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Tests/Aggregations/Bucket/Histogram/HistogramAggregationUsageTests.cs | src/Tests/Tests/Aggregations/Bucket/Histogram/HistogramAggregationUsageTests.cs | using System;
using FluentAssertions;
using Nest;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework.EndpointTests.TestState;
using static Nest.Infer;
namespace Tests.Aggregations.Bucket.Histogram
{
public class HistogramAggregationUsageTests : Aggr... | using System;
using FluentAssertions;
using Nest;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework.EndpointTests.TestState;
using static Nest.Infer;
namespace Tests.Aggregations.Bucket.Histogram
{
public class HistogramAggregationUsageTests : Aggr... | apache-2.0 | C# |
e2f9392f47377bf7c0a2084de2162435434e512d | Build version 2.3.0 | locana/locana | Locana/Properties/AssemblyInfo.cs | Locana/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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("Locana")]
... | using System.Reflection;
using System.Resources;
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("Locana")]
... | mit | C# |
20ef9ff630476e6a5d875a05386552ba33ad5761 | clean up and simplify logic | nats-io/csnats | NATS.Client/Srv.cs | NATS.Client/Srv.cs | // Copyright 2015-2018 The NATS 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | // Copyright 2015-2018 The NATS 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | mit | C# |
b045c00aa3818d2ab64ef94667f458a72ff12458 | introduce IAssemblyBaseDirectoryProvider | isukces/isukces.code | isukces.code/Features/AutoCode/+Interfaces/ICsClassFactory.cs | isukces.code/Features/AutoCode/+Interfaces/ICsClassFactory.cs | using System;
using System.IO;
using System.Reflection;
namespace isukces.code.AutoCode
{
public interface IAutoCodeGenerator
{
void Generate(Type type, IAutoCodeGeneratorContext context);
}
public interface IAssemblyAutoCodeGenerator
{
void AssemblyStart(Assembly assembly, IAutoC... | using System;
using System.Reflection;
namespace isukces.code.AutoCode
{
public interface IAutoCodeGenerator
{
void Generate(Type type, IAutoCodeGeneratorContext context);
}
public interface IAssemblyAutoCodeGenerator
{
void AssemblyStart(Assembly assembly, IAutoCodeGeneratorConte... | mit | C# |
06506ad31cb3bdfd18d1fc4a1cd015124403b1dd | Fix running test multiple times in same .NET runtime instance | caiguihou/myprj_02,shadowmint/fullserializer,karlgluck/fullserializer,jagt/fullserializer,shadowmint/fullserializer,jacobdufault/fullserializer,darress/fullserializer,jagt/fullserializer,Ksubaka/fullserializer,shadowmint/fullserializer,Ksubaka/fullserializer,lazlo-bonin/fullserializer,jacobdufault/fullserializer,zodsof... | Testing/Editor/SpecifiedConverterTests.cs | Testing/Editor/SpecifiedConverterTests.cs | using System;
using FullSerializer.Internal;
using NUnit.Framework;
using System.Collections.Generic;
namespace FullSerializer.Tests {
[fsObject(Converter = typeof(MyConverter))]
public class MyModel {
}
public class MyConverter : fsConverter {
public static bool DidSerialize = false;
... | using System;
using FullSerializer.Internal;
using NUnit.Framework;
using System.Collections.Generic;
namespace FullSerializer.Tests {
[fsObject(Converter = typeof(MyConverter))]
public class MyModel {
}
public class MyConverter : fsConverter {
public static bool DidSerialize = false;
... | mit | C# |
e70eac45b8ae8cf5b4e8c75496005c7198387ee3 | Fix 401 malformed WWW-Authenticate (#4649) | MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4 | src/IdentityServer4/src/Endpoints/Results/ProtectedResourceErrorResult.cs | src/IdentityServer4/src/Endpoints/Results/ProtectedResourceErrorResult.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Threading.Tasks;
using IdentityServer4.Extensions;
using Microsoft.Extensions.Primitives;
using IdentityServer4.Hosting;
using Mi... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Threading.Tasks;
using IdentityServer4.Extensions;
using Microsoft.Extensions.Primitives;
using IdentityServer4.Hosting;
using Mi... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.