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 |
|---|---|---|---|---|---|---|---|---|
bb19658aef139129c6c285b48f252c6d467f4998 | add flag to prevent VS test runner using excessive parallelism with integration tests | gdziadkiewicz/octokit.net,takumikub/octokit.net,gabrielweyer/octokit.net,dlsteuer/octokit.net,thedillonb/octokit.net,hitesh97/octokit.net,TattsGroup/octokit.net,SmithAndr/octokit.net,cH40z-Lord/octokit.net,shana/octokit.net,rlugojr/octokit.net,naveensrinivasan/octokit.net,shiftkey/octokit.net,SamTheDev/octokit.net,nsrn... | Octokit.Tests.Integration/Properties/AssemblyInfo.cs | Octokit.Tests.Integration/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
// 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("Octokit.Tests.Integration")... | 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("Octokit.Tests.Integration")]
[assembly: ... | mit | C# |
0e8caaa3de94ebad081c4e79f0cb41615e032ddc | Convert seconds to actual minutes (works up to an hour...) | DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17 | Proto/Assets/Scripts/Leaderboard/LeaderboardEntry.cs | Proto/Assets/Scripts/Leaderboard/LeaderboardEntry.cs | using UnityEngine;
using UnityEngine.UI;
public class LeaderboardEntry : MonoBehaviour
{
[SerializeField] private Text _name;
[SerializeField] private Text _time;
[SerializeField] private Text _penality;
public void SetInfo(Score score)
{
_name.text = score.Name;
var... | using UnityEngine;
using UnityEngine.UI;
public class LeaderboardEntry : MonoBehaviour
{
[SerializeField] private Text _name;
[SerializeField] private Text _time;
[SerializeField] private Text _penality;
public void SetInfo(Score score)
{
_name.text = score.Name;
_ti... | mit | C# |
b5cf93417ce1e989b55ce314e406d09c8ff3723b | Revert "Something new from Peter" | JPegasus/Testing | TestingApplication/TestingApplication/TestProgram.cs | TestingApplication/TestingApplication/TestProgram.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestingApplication
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World\nPress any key to close...")... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestingApplication
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World\nPress any key to close...")... | mit | C# |
76ac3c9c1a9adb3be976eb874bbcc60b1cacc168 | Add ToQueryString extension | zapadi/redmine-net-api | src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs | src/redmine-net-api/Extensions/NameValueCollectionExtensions.cs | /*
Copyright 2011 - 2017 Adrian Popescu
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 2011 - 2017 Adrian Popescu
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# |
e56c8988078c11494f13419be79ff68bb162096c | Add support for listing invoice items via invoice and pending | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Services/InvoiceItems/InvoiceItemListOptions.cs | src/Stripe.net/Services/InvoiceItems/InvoiceItemListOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
public class InvoiceItemListOptions : ListOptionsWithCreated
{
[JsonProperty("customer")]
public string CustomerId { get; set; }
[JsonProperty("invoice")]
public string InvoiceId { get; set; }
[JsonProperty("pending")]
... | namespace Stripe
{
using Newtonsoft.Json;
public class InvoiceItemListOptions : ListOptionsWithCreated
{
[JsonProperty("customer")]
public string CustomerId { get; set; }
}
}
| apache-2.0 | C# |
1d6849c578418bc6d9255b38011af8a9531239d5 | Return null in IsValue for PropertyValueLevel.Inter and Object | hfloyd/Umbraco-CMS,abjerner/Umbraco-CMS,leekelleher/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,tcmorris/Umbraco-CMS,hfloyd/Umbraco-CMS,arknu/Umbraco-CMS,tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,leekelleher/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSqua... | src/Umbraco.Core/PropertyEditors/PropertyValueConverterBase.cs | src/Umbraco.Core/PropertyEditors/PropertyValueConverterBase.cs | using System;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Core.PropertyEditors
{
/// <summary>
/// Provides a default overridable implementation for <see cref="IPropertyValueConverter"/> that does nothing.
/// </summary>
public abstract class PropertyValueConverterBase : IPropertyVal... | using System;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Core.PropertyEditors
{
/// <summary>
/// Provides a default overridable implementation for <see cref="IPropertyValueConverter"/> that does nothing.
/// </summary>
public abstract class PropertyValueConverterBase : IPropertyVal... | mit | C# |
942d52afdeee442e7f561502bff753c4f041522a | bump version to 0.10.0 | kalyanraman/WebApiContrib.IoC.CastleWindsor,WebApiContrib/WebApiContrib.IoC.CastleWindsor,WebApiContrib/WebApiContrib.IoC.CastleWindsor,modulexcite/WebApiContrib.IoC.CastleWindsor | src/WebApiContrib.IoC.CastleWindsor/Properties/AssemblyInfo.cs | src/WebApiContrib.IoC.CastleWindsor/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("Web... | 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("Web... | mit | C# |
efa5475d56e702c1045a37fb64f0af9aa7ce7144 | improve text of event time now | leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | Joinrpg/Views/Shared/DisplayTemplates/EventTime.cshtml | Joinrpg/Views/Shared/DisplayTemplates/EventTime.cshtml | @model DateTime?
@{
if (Model == null)
{
return;
}
var val = (DateTime) Model;
var now = DateTime.UtcNow;
if (val > now)
{
@val.ToShortDateString()
return;
}
var span = now.Subtract(val);
if (span.Days > 180)
{
@val.ToShortDat... | @model DateTime?
@{
if (Model == null)
{
return;
}
var val = (DateTime) Model;
var now = DateTime.UtcNow;
if (val > now)
{
@val.ToShortDateString()
return;
}
var span = now.Subtract(val);
if (span.Days > 180)
{
@val.ToShortDat... | mit | C# |
110cd3b196d5f71ea65e3908ea4e56effe074484 | test commit | altimesh/hybridizer-basic-samples,altimesh/hybridizer-basic-samples | HybridizerBasicSamples/1.Simple/HelloWorld/HelloWorld/Program.cs | HybridizerBasicSamples/1.Simple/HelloWorld/HelloWorld/Program.cs | using Hybridizer.Runtime.CUDAImports;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace HelloWorld
{
class Program
{
[EntryPoint("run")]
public static void Run(int N, double[] a, double[] b)
{
Parallel.For(0, N, i => { a[i] += b[i]; });
... | using Hybridizer.Runtime.CUDAImports;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace HelloWorld
{
class Program
{
[EntryPoint("run")]
public static void Run(int N, double[] a, double[] b)
{
Parallel.For(0, N, i => { a[i] += b[i]; });
... | mit | C# |
d413a0e72f034df77674134daa525adf70e1e941 | Add RelayStateChanged event type | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/SyncThing/ApiClient/EventType.cs | src/SyncTrayzor/SyncThing/ApiClient/EventType.cs | using Newtonsoft.Json;
namespace SyncTrayzor.SyncThing.ApiClient
{
[JsonConverter(typeof(DefaultingStringEnumConverter))]
public enum EventType
{
Unknown,
Starting,
StartupComplete,
Ping,
DeviceDiscovered,
DeviceConnected,
DeviceDisconnected,
... | using Newtonsoft.Json;
namespace SyncTrayzor.SyncThing.ApiClient
{
[JsonConverter(typeof(DefaultingStringEnumConverter))]
public enum EventType
{
Unknown,
Starting,
StartupComplete,
Ping,
DeviceDiscovered,
DeviceConnected,
DeviceDisconnected,
... | mit | C# |
ddce3dfa286a05fa2a0804b564d6b2970c46d16e | Fix build error. | helix-toolkit/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit,JeremyAnsel/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX.Shared/Controls/IRenderCanvas.cs | Source/HelixToolkit.Wpf.SharpDX.Shared/Controls/IRenderCanvas.cs | #if COREWPF
using HelixToolkit.SharpDX.Core;
using RelayExceptionEventArgs = HelixToolkit.SharpDX.Core.Utilities.RelayExceptionEventArgs;
#endif
namespace HelixToolkit.Wpf.SharpDX
{
namespace Controls
{
using System;
using Utilities;
/// <summary>
/// Canvas holds the RenderHo... | #if COREWPF
using HelixToolkit.SharpDX.Core;
#endif
namespace HelixToolkit.Wpf.SharpDX
{
namespace Controls
{
using System;
using Utilities;
/// <summary>
/// Canvas holds the RenderHost. Provide entry point or render surface for RenderHost to render to.
/// </summary>
... | mit | C# |
c0e1a8afd40eae94652701ce01f79acec5f8b615 | Increase default timeout time to one minute | RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate | Tests/Boxed.Templates.Test/Framework/CancellationTokenFactory.cs | Tests/Boxed.Templates.Test/Framework/CancellationTokenFactory.cs | namespace Boxed.Templates.Test
{
using System;
using System.Threading;
public static class CancellationTokenFactory
{
public static CancellationToken GetCancellationToken(TimeSpan? timeout) =>
GetCancellationToken(timeout ?? TimeSpan.FromMinutes(1));
public static Cancellat... | namespace Boxed.Templates.Test
{
using System;
using System.Threading;
public static class CancellationTokenFactory
{
public static CancellationToken GetCancellationToken(TimeSpan? timeout) =>
GetCancellationToken(timeout ?? TimeSpan.FromSeconds(30));
public static Cancella... | mit | C# |
0972dedddfbcc2b9e1bdc9e900211db895f4a14d | Revert "Remove animator not initialized warning" | stlgamedev/gateway2dwest,IGDAStl/gateway2dwest,IGDAStl/gateway2dwest,IGDAStl/gateway2dwest,stlgamedev/gateway2dwest,stlgamedev/gateway2dwest | Assets/Scripts/PlayerMovement.cs | Assets/Scripts/PlayerMovement.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PlayerMovement : MonoBehaviour
{
public float movementSpeed = 2.0f;
public InputHelper inputHelper;
public int playerID = 0; //Setting foundation for multiple players
Animator animator;
Rigidbody2D rb;
// Use thi... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PlayerMovement : MonoBehaviour
{
public float movementSpeed = 2.0f;
public InputHelper inputHelper;
public int playerID = 0; //Setting foundation for multiple players
Animator animator;
Rigidbody2D rb;
// Use thi... | apache-2.0 | C# |
48cda1c95b46d870d8ecf0c5c1335ba8f954a899 | Set adminModeTriggerer back to 180 seconds | mikelovesrobots/daft-pong,mikelovesrobots/daft-pong | app/Assets/Scripts/AdminModeTriggerer.cs | app/Assets/Scripts/AdminModeTriggerer.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AdminModeTriggerer : MonoBehaviour {
private const float WAIT_TIME = 180f;
public ActionBase AdminModeAction;
public void Initialize() {
StartCoroutine(WaitThenEnterAdminMode());
}
public IEnumerat... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AdminModeTriggerer : MonoBehaviour {
private const float WAIT_TIME = 10f;
public ActionBase AdminModeAction;
public void Initialize() {
StartCoroutine(WaitThenEnterAdminMode());
}
public IEnumerato... | mit | C# |
eb2ff2e42790fe38da28f0bfdcb2677ea4b191e4 | Remove empty line | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Behaviors/FocusNextItemBehavior.cs | WalletWasabi.Fluent/Behaviors/FocusNextItemBehavior.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.LogicalTree;
using ReactiveUI;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
namespace WalletWasabi.Fluent.Behaviors
{
internal class FocusNextItemBehavior : DisposingBehavior<Control>
{
public static readonly StyledProperty<boo... | using Avalonia;
using Avalonia.Controls;
using Avalonia.LogicalTree;
using ReactiveUI;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
namespace WalletWasabi.Fluent.Behaviors
{
internal class FocusNextItemBehavior : DisposingBehavior<Control>
{
public static readonly StyledProperty<boo... | mit | C# |
edbb62f58144f6b0b45022e330eefc09e40e88d5 | Fix error with JournalShipyardSell.cs | mwerle/EDDiscovery,jthorpe4/EDDiscovery,jgoode/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery | EDDiscovery/EliteDangerous/JournalEvents/JournalShipyardSell.cs | EDDiscovery/EliteDangerous/JournalEvents/JournalShipyardSell.cs | /*
* Copyright © 2016 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 applicable law... | /*
* Copyright © 2016 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 applicable law... | apache-2.0 | C# |
bdb74aa76ca215cb6352400a0b4756b850734903 | Refactor tests. | JohanLarsson/Gu.Wpf.UiAutomation | Gu.Wpf.UiAutomation.UnitTests/Extensions/EnumeranbleExtTests.cs | Gu.Wpf.UiAutomation.UnitTests/Extensions/EnumeranbleExtTests.cs | namespace Gu.Wpf.UiAutomation.UnitTests.Extensions
{
using System;
using System.Linq;
using NUnit.Framework;
[TestFixture]
public class EnumeranbleExtTests
{
[TestCase("", false, 0)]
[TestCase("1, 2", false, 0)]
[TestCase("1", true, 1)]
public void TryGetSingle(... | namespace Gu.Wpf.UiAutomation.UnitTests.Extensions
{
using NUnit.Framework;
[TestFixture]
public class EnumeranbleExtTests
{
[TestCase(new int[0], false, 0)]
[TestCase(new[] { 1, 2 }, false, 0)]
[TestCase(new[] { 1 }, true, 1)]
public void TryGetSingle(int[] ints, bool ... | mit | C# |
b8043ac4fb3730d854408677f57448a540d67b9d | Update operations | lury-lang/lury-ir | LuryIR/Compiling/IR/Operation.cs | LuryIR/Compiling/IR/Operation.cs | //
// Operation.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to dea... | //
// Operation.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to dea... | mit | C# |
194f086f42b7c9e16964833cf5249a33046e3e72 | add stupid lock for download | alkozko/MyStem.Sharp | MyStem.Sharp/MyStemDownloader.cs | MyStem.Sharp/MyStemDownloader.cs | using System;
using System.IO;
using System.IO.Compression;
using System.Net;
namespace MyStem.Sharp
{
public class MyStemDownloader
{
private readonly Uri _url;
private readonly string _baseFolder;
private static readonly object Lockobj = new object();
public MyStemDownloade... | using System;
using System.IO;
using System.IO.Compression;
using System.Net;
namespace MyStem.Sharp
{
public class MyStemDownloader
{
private readonly Uri _url;
private readonly string _baseFolder;
public MyStemDownloader(string url = @"http://download.cdn.yandex.net/mystem/mystem-3.... | mit | C# |
783d94b5e5ef2d1d7c1e53ac08ad708ac7cfcf31 | Increment recordCount in thread-safe in ScanParallel example. | YuvalItzchakov/aerospike-client-csharp | AerospikeDemo/ScanParallel.cs | AerospikeDemo/ScanParallel.cs | /*
* Copyright 2012-2015 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements.
*
* 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 Lice... | /*
* Copyright 2012-2014 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements.
*
* 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 Lice... | apache-2.0 | C# |
e7c181a86989fe948f269786d1c24e744208ba3f | Update CameraEffectControlScript.cs | krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Camera/CameraEffectControlScript.cs | UnityProject/Assets/Scripts/Camera/CameraEffectControlScript.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CameraEffects
{
public class CameraEffectControlScript : MonoBehaviour
{
public DrunkCamera drunkCamera;
public GlitchEffect glitchEffect;
public NightVisionCamera nightVisionCamera;
public HologramCamera hologramCa... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CameraEffects
{
public class CameraEffectControlScript : MonoBehaviour
{
public DrunkCamera drunkCamera;
public GlitchEffect glitchEffect;
public NightVisionCamera nightVisionCamera;
public void ToggleDrunkEffectSta... | agpl-3.0 | C# |
78a38bd6deb3bb886dc91b27ee9b2adaaed3229f | fix culture | klinkby/klinkby.checksum | Properties/CommonAssemblyInfo.cs | Properties/CommonAssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Mads Klinkby")]
[assembly: AssemblyProduct("Klinkby")]
[assembly: AssemblyCo... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Mads Klinkby")]
[assembly: AssemblyProduct("Klinkby")]
[assembly: AssemblyCopyright("Copyright © Mad... | mit | C# |
b1d55dbd8769d68517bccf135f6757670e2fc76e | Update Program.cs | NMSLanX/Natasha | samples/Core20/Program.cs | samples/Core20/Program.cs | using Microsoft.CodeAnalysis;
using Natasha;
using Natasha.CSharp;
using System;
namespace Core20
{
class Program
{
static void Main(string[] args)
{
string text = @"namespace HelloWorld
{
public class Test
{
public Test(){
Name=""111"";
}
... | using Natasha;
using Natasha.CSharp;
using System;
namespace Core20
{
class Program
{
static void Main(string[] args)
{
string text = @"namespace HelloWorld
{
public class Test
{
public Test(){
Name=""111"";
}
public string Name;
... | mpl-2.0 | C# |
9bdd473c6cc470b6de9e27bb09b0c4accbd3bdde | Add test data for Dewey table to DbInitializer. | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Data/DbInitializer.cs | src/Open-School-Library/Data/DbInitializer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System.Threading.Tasks;
using Open_School_Library.Models.DatabaseModels;
namespace Open_School_Library.Data
{
public class DbInitializer
{
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System.Threading.Tasks;
using Open_School_Library.Models.DatabaseModels;
namespace Open_School_Library.Data
{
public class DbInitializer
{
publi... | mit | C# |
dd8ec6df0cbb10e24932a67610fc8e35f7f95681 | Update version number | BrianLima/UWPHook | UWPHook/Properties/AssemblyInfo.cs | UWPHook/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
dbb4ebacef027f27a8c96271249d08ce5ed32e5e | 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# |
191f2c2884893961c126b03f40975cfd74a97440 | 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# |
7cec913127e149d8fa915b0ee1eadfa2aba510e7 | Replace tab indentation with spaces. | WebApiContrib/WebApiContrib.IoC.StructureMap,bingnz/WebApiContrib.IoC.StructureMap,jcalder/WebApiContrib.IoC.StructureMap | src/WebApiContrib.IoC.StructureMap/StructureMapResolver.cs | src/WebApiContrib.IoC.StructureMap/StructureMapResolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http.Controllers;
using System.Web.Http.Dependencies;
using System.Web.Http.Dispatcher;
using StructureMap;
using System.Net.Http;
namespace WebApiContrib.IoC.StructureMap
{
public class StructureMapDependencyScope : IDependencySc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http.Controllers;
using System.Web.Http.Dependencies;
using System.Web.Http.Dispatcher;
using StructureMap;
using System.Net.Http;
namespace WebApiContrib.IoC.StructureMap
{
public class StructureMapDependencyScope : IDependencyScope... | mit | C# |
b91f5864f59e9e14f0c2a2c729853ae3573ffa64 | Fix command prefix | Chris-Johnston/CSSBot | CSSBot/GlobalConfiguration.cs | CSSBot/GlobalConfiguration.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml.Serialization;
namespace CSSBot
{
/// <summary>
/// This class should be used for containing Configuration classes
/// or classes that depend on the configuration and that should
/// be re-used
//... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml.Serialization;
namespace CSSBot
{
/// <summary>
/// This class should be used for containing Configuration classes
/// or classes that depend on the configuration and that should
/// be re-used
//... | mit | C# |
41a3df8e7ee6c711b894df0f49d7d8a815209208 | Refactor `StopwatchAsserter` of Atata.IntegrationTests project | atata-framework/atata,atata-framework/atata | test/Atata.IntegrationTests/StopwatchAsserter.cs | test/Atata.IntegrationTests/StopwatchAsserter.cs | using System.Diagnostics;
namespace Atata.IntegrationTests;
public sealed class StopwatchAsserter : IDisposable
{
private readonly TimeSpan _expectedTime;
private readonly TimeSpan _upperToleranceTime;
private readonly Stopwatch _watch;
public StopwatchAsserter(TimeSpan expectedTime, TimeSpan uppe... | using System;
using System.Diagnostics;
using NUnit.Framework;
namespace Atata.IntegrationTests
{
public sealed class StopwatchAsserter : IDisposable
{
private readonly TimeSpan _expectedTime;
private readonly TimeSpan _upperToleranceTime;
private readonly Stopwatch _watch;
... | apache-2.0 | C# |
e11d3b0ca108b171a2a71d19afefc8eeb6f9a7ed | Save ip after recording, check ip on index, version 1.0 | erooijak/athousandcounts,erooijak/athousandcounts,erooijak/athousandcounts | AThousandCounts/Views/Count/_Count.cshtml | AThousandCounts/Views/Count/_Count.cshtml | <div class="span7">
<div id="button" class="tile quadro triple-vertical bg-lightPink bg-active-lightBlue" style="padding:10px; text-align: center;">
Your number is... <br /><br />
<span class="COUNT">@(Model)!!!</span><br /><br />
Click this pink square to record a three second video of... | <div class="span7">
<div id="button" class="tile quadro triple-vertical bg-lightPink bg-active-lightBlue" style="padding:10px; text-align: center;">
Your number is... <br /><br />
<span class="COUNT">@(Model)!!!</span><br /><br />
Click this pink square to record a three second video of... | mit | C# |
e694bc895c79d5e3da8e0e6c1cde8e0614306177 | Fix invalid logics | insthync/unity-utilities | Assets/UnityUtilities/Scripts/Misc/PhysicsIgnoreByLayers.cs | Assets/UnityUtilities/Scripts/Misc/PhysicsIgnoreByLayers.cs | using UnityEngine;
public class PhysicsIgnoreByLayers : MonoBehaviour
{
[System.Serializable]
public struct LayerPair
{
public string layer1;
public string layer2;
}
public LayerPair[] layerPairs;
void Awake()
{
for (int i = 0; i < layerPairs.Length; ++i)
{... | using UnityEngine;
public class PhysicsIgnoreByLayers : MonoBehaviour
{
[System.Serializable]
public struct LayerPair
{
public string layer1;
public string layer2;
}
public LayerPair[] layerPairs;
void Awake()
{
for (int i = 0; i < layerPairs.Length; ++i)
{... | mit | C# |
e02e795c5ab114e88af075376330a841e4ff3b04 | Add EntityProcessingSystem utility constructor | isurakka/ecs | ECS/EntityProcessingSystem.cs | ECS/EntityProcessingSystem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ECS
{
public abstract class EntityProcessingSystem : EntitySystem
{
public EntityProcessingSystem(Aspect aspect)
: base(aspect)
{
}
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ECS
{
public abstract class EntityProcessingSystem : EntitySystem
{
public EntityProcessingSystem(Aspect aspect)
: base(aspect)
{
}
protec... | apache-2.0 | C# |
c22263418e47811a58a2e6acb4943ab9d5e8da62 | Disable test that requires console to run | reubeno/NClap | NClap.Tests/ConsoleInput/BasicConsoleInputAndOutputTests.cs | NClap.Tests/ConsoleInput/BasicConsoleInputAndOutputTests.cs | using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NClap.ConsoleInput;
using NClap.Utilities;
namespace NClap.Tests.ConsoleInput
{
[TestClass]
public class BasicConsoleInputAndOutputTests
{
[TestMethod]
public void DefaultObjectIsSingleton()
... | using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NClap.ConsoleInput;
using NClap.Utilities;
namespace NClap.Tests.ConsoleInput
{
[TestClass]
public class BasicConsoleInputAndOutputTests
{
[TestMethod]
public void DefaultObjectIsSingleton()
... | mit | C# |
b9952588eff6d1af934226a1c8844421ec0e4d45 | Fix tests for CI | mdileep/NFugue | tests/NFugue.Tests/Staccato/UnknownTokenTests.cs | tests/NFugue.Tests/Staccato/UnknownTokenTests.cs | using FluentAssertions;
using NFugue.Parsing;
using NFugue.Staccato;
using System;
using Xunit;
namespace Staccato.Tests
{
public class UnknownTokenTests : IDisposable
{
private readonly StaccatoParser parser = new StaccatoParser();
[Fact]
public void Should_ignore_unknown_token_by_de... | using FluentAssertions;
using NFugue.Parsing;
using NFugue.Playing;
using System;
using Xunit;
namespace Staccato.Tests
{
public class UnknownTokenTests : IDisposable
{
private readonly Player player = new Player();
[Fact]
public void Should_ignore_unknown_token_by_default()
{... | apache-2.0 | C# |
ddd68d54622218d090aa85668954ad553306b200 | add docs | justcoding121/Windows-User-Action-Hook,titanium007/EventHook,titanium007/Windows-User-Action-Hook | EventHook/EventHookFactory.cs | EventHook/EventHookFactory.cs | using System;
using EventHook.Helpers;
namespace EventHook
{
/// <summary>
/// A factory class core to the management of various watchers
/// that all shares the same synchronization objects.
/// Use this class to get instances of differant watchers.
/// This factory instance should be disposed o... | using System;
using EventHook.Helpers;
namespace EventHook
{
public class EventHookFactory : IDisposable
{
private readonly SyncFactory syncFactory = new SyncFactory();
public void Dispose()
{
syncFactory.Dispose();
}
public ApplicationWatcher GetApplicati... | mit | C# |
f44843b6fc2e2c62f70da2dc49d64c7bb98e0e6d | Update MainPageViewModel.cs | softlion/XamarinFormsGesture | Demo/DemoApp/DemoApp/MainPageViewModel.cs | Demo/DemoApp/DemoApp/MainPageViewModel.cs | using System;
using System.Windows.Input;
using Vapolia.Lib.Ui;
using Xamarin.Forms;
namespace DemoApp
{
public class MainPageViewModel : BindableObject
{
private readonly INavigation navigation;
private Point pan, pinch;
private double rotation, scale;
public Point Pan { get ... | using System;
using System.Windows.Input;
using Vapolia.Lib.Ui;
using Xamarin.Forms;
namespace DemoApp
{
public class MainPageViewModel : BindableObject
{
private readonly INavigation navigation;
private Point pan, pinch;
private double rotation, scale;
public Point Pan { get ... | apache-2.0 | C# |
8ce16747d94bab06d3bb955ea2cbf244dab2c291 | change root to standard | ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth | GalleryMVC_With_Auth/Resources/Defines.cs | GalleryMVC_With_Auth/Resources/Defines.cs | namespace GalleryMVC_With_Auth.Resources
{
public static class Defines
{
public const string DbConnName = "DBcon";
public const string NPasswd = "Новый пароль";
public const string ConfNewPasswd = "Подтвердите новый пароль";
public const string CurPasswd = "Текущий(старый) парол... | namespace GalleryMVC_With_Auth.Resources
{
public static class Defines
{
public const string DbConnName = "DBcon";
public const string NPasswd = "Новый пароль";
public const string ConfNewPasswd = "Подтвердите новый пароль";
public const string CurPasswd = "Текущий(старый) парол... | apache-2.0 | C# |
8717177630c21de81b6bc253682b22c33f989844 | check for internet connection | PoLaKoSz/CodeHub,aalok05/CodeHub | CodeHub/ViewModels/CommitsViewmodel.cs | CodeHub/ViewModels/CommitsViewmodel.cs | using CodeHub.Helpers;
using CodeHub.Services;
using GalaSoft.MvvmLight.Ioc;
using Octokit;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;
namespace CodeHub.ViewModels
{
publi... | using CodeHub.Services;
using GalaSoft.MvvmLight.Ioc;
using Octokit;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;
namespace CodeHub.ViewModels
{
public class CommitsViewmode... | mit | C# |
649cc2168210027b07c63f76da3116fa387221ed | change version to 0.5 | dimaaan/NOpt | NOpt/Properties/AssemblyInfo.cs | NOpt/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NOpt")]
[assembly: AssemblyDescription("Command line arguments parser")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NOpt")]
[assembly: AssemblyCopyright("Copyright © 2015")]... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NOpt")]
[assembly: AssemblyDescription("Command line arguments parser")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NOpt")]
[assembly: AssemblyCopyright("Copyright © 2015")]... | mit | C# |
ac3fc1f55e0e1c91577124b6e199742bc0744255 | Update MailtrapSender.cs | anthonyvscode/FluentEmail,anthonyvscode/FluentEmail,lukencode/FluentEmail,lukencode/FluentEmail | FluentEmail.Mailtrap/MailtrapSender.cs | FluentEmail.Mailtrap/MailtrapSender.cs | using System.Net;
using System.Net.Mail;
using System.Threading;
using System.Threading.Tasks;
using FluentEmail.Core;
using FluentEmail.Core.Interfaces;
using FluentEmail.Core.Models;
using FluentEmail.Smtp;
namespace FluentEmail.Mailtrap
{
public class MailtrapSender : ISender
{
private readonly Smt... | using System;
using System.Net;
using System.Net.Http;
using System.Net.Mail;
using System.Threading;
using System.Threading.Tasks;
using FluentEmail.Core;
using FluentEmail.Core.Interfaces;
using FluentEmail.Core.Models;
using FluentEmail.Smtp;
namespace FluentEmail.Mailtrap
{
public class MailtrapSender : ISend... | mit | C# |
e7ef719a30ae2bfaedf0897209b5958a2e8c7b53 | Update for cli build | WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework | Framework.Cli/Command/CommandDeploy.cs | Framework.Cli/Command/CommandDeploy.cs | namespace Framework.Cli.Command
{
using Framework.Cli.Config;
using System;
using System.IO;
public class CommandDeploy : CommandBase
{
public CommandDeploy(AppCli appCli)
: base(appCli, "deploy", "Deploy app to Azure git")
{
}
protected internal overr... | namespace Framework.Cli.Command
{
using Framework.Cli.Config;
using System;
using System.IO;
public class CommandDeploy : CommandBase
{
public CommandDeploy(AppCli appCli)
: base(appCli, "deploy", "Deploy app to Azure git")
{
}
protected internal overr... | mit | C# |
a2b859f778bf76c1e36134adaf24b66d8012587a | Make RuntimeSchema throw instead of asserting | jdubrule/bond,sapek/bond,gencer/bond,gencer/bond,jdubrule/bond,tstein/bond,gencer/bond,Microsoft/bond,sapek/bond,jdubrule/bond,chwarr/bond,tstein/bond,tstein/bond,jdubrule/bond,Microsoft/bond,jdubrule/bond,sapek/bond,Microsoft/bond,Microsoft/bond,gencer/bond,sapek/bond,tstein/bond,chwarr/bond,sapek/bond,Microsoft/bond,... | cs/src/core/RuntimeSchema.cs | cs/src/core/RuntimeSchema.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Bond
{
using System;
using System.Diagnostics;
public struct RuntimeSchema
{
readonly SchemaDef schemaDef;
readonly TypeDef t... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Bond
{
using System.Diagnostics;
public struct RuntimeSchema
{
readonly SchemaDef schemaDef;
readonly TypeDef typeDef;
p... | mit | C# |
7f605b2ac8b48e451df090b649416b349e6a2623 | comment for "Side" | bpfz/SharprWowApi | SharprWowApi/Models/Guild/GuildRoot.cs | SharprWowApi/Models/Guild/GuildRoot.cs | using System;
using System.Collections.Generic;
namespace SharprWowApi.Models.Guild
{
public class GuildRoot
{
public long LastModified { get; set; }
public string Name { get; set; }
public string Realm { get; set; }
public string Battlegroup { get; set; }
public in... | using System;
using System.Collections.Generic;
namespace SharprWowApi.Models.Guild
{
public class GuildRoot
{
public long LastModified { get; set; }
public string Name { get; set; }
public string Realm { get; set; }
public string Battlegroup { get; set; }
public in... | unlicense | C# |
f7ec1dca8bb6487c4577ef8d534f677efffa23fb | Fix new object was added into collection instead of the one we made just above. | fanCDA/ProjectCDA-WPF | ProjectCDA/Data/DataSource.cs | ProjectCDA/Data/DataSource.cs | using System.Collections.ObjectModel;
using System.ComponentModel;
namespace ProjectCDA.Data
{
public class DataSource : INotifyPropertyChanged
{
private ObservableCollection<TwoPages> _Schedule;
public DataSource()
{
AddSomeDummyData();
}
public Observabl... | using System.Collections.ObjectModel;
using System.ComponentModel;
namespace ProjectCDA.Data
{
public class DataSource : INotifyPropertyChanged
{
private ObservableCollection<TwoPages> _Schedule;
public DataSource()
{
AddSomeDummyData();
}
public Observabl... | mit | C# |
49f3049f88df5e3e4704679cdb2242ed873d236b | Reformat ILargeFiles | coryrwest/B2.NET | src/ILargeFiles.cs | src/ILargeFiles.cs | using B2Net.Models;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace B2Net {
public interface ILargeFiles {
Task<B2CancelledFile> CancelLargeFile(string fileId, CancellationToken cancelToken = default(CancellationToken));
Task<B2File> FinishLargeFile(string fileId... | using B2Net.Models;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace B2Net
{
public interface ILargeFiles
{
Task<B2CancelledFile> CancelLargeFile(string fileId, CancellationToken cancelToken = default(CancellationToken));
Task<B2File> FinishLargeFile(string... | mit | C# |
23fda18077f2fee242c7d056863eb8d96f007384 | increase version to 1.0 because it's ready. no changes. | gregsdennis/ThingFilter | ThingFilter/Properties/AssemblyInfo.cs | ThingFilter/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Filter.Portable")]
[assembly: AssemblyDescription("")]
... | using System.Resources;
using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Filter.Portable")]
[assembly: AssemblyDescription("")]
... | mit | C# |
f0623b30d4b4873959bac0d62c91fea7b369561e | Enable suggestions for types in reference assemblies by default | gafter/roslyn,davkean/roslyn,reaction1989/roslyn,sharwell/roslyn,tannergooding/roslyn,AmadeusW/roslyn,KevinRansom/roslyn,sharwell/roslyn,heejaechang/roslyn,swaroop-sridhar/roslyn,physhi/roslyn,tannergooding/roslyn,heejaechang/roslyn,genlu/roslyn,agocke/roslyn,AlekseyTs/roslyn,stephentoub/roslyn,heejaechang/roslyn,eriaw... | src/Workspaces/Core/Portable/SymbolSearch/SymbolSearchOptions.cs | src/Workspaces/Core/Portable/SymbolSearch/SymbolSearchOptions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.SymbolSearch
{
internal static class SymbolSearchOptions
{
private co... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.SymbolSearch
{
internal static class SymbolSearchOptions
{
private co... | mit | C# |
e97734332e0fc2d94b7642498cc879c3d0fd8219 | Bump version...again...because I'm not good with nuget | Deadpikle/NetSparkle,Deadpikle/NetSparkle | AssemblyInfo.cs | AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
93e3b03833f07b97b3fb8bb271fea7d0bb6d2398 | remove discus from drafts | boyarincev/boyarincev.net,boyarincev/boyarincev.net | Snow/themes/snowbyte/_layouts/post.cshtml | Snow/themes/snowbyte/_layouts/post.cshtml | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Snow.ViewModels.PostViewModel>
@using System.Collections.Generic
@using Snow.Enums
@{
Layout = "default.cshtml";
}
<div class="post">
<h1>@Model.Title</h1>
<div class="meta">
<p class="posted">@Model.PostDate.ToString("dd MMM yyyy")</p>
... | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Snow.ViewModels.PostViewModel>
@using System.Collections.Generic
@{
Layout = "default.cshtml";
}
<div class="post">
<h1>@Model.Title</h1>
<div class="meta">
<p class="posted">@Model.PostDate.ToString("dd MMM yyyy")</p>
<ul class="categor... | mit | C# |
dfec4ccd1f1e61fb20a4c1a48d3a713794e659cc | Revert "Add test for resolving nested types with namespaces" | furesoft/cecil,mono/cecil,kzu/cecil,joj/cecil,gluck/cecil,cgourlay/cecil,jbevain/cecil,sailro/cecil,fnajera-rac-de/cecil,ttRevan/cecil,xen2/cecil,saynomoo/cecil,SiliconStudio/Mono.Cecil | Test/Mono.Cecil.Tests/NestedTypesTests.cs | Test/Mono.Cecil.Tests/NestedTypesTests.cs | using System;
using Mono.Cecil;
using NUnit.Framework;
namespace Mono.Cecil.Tests {
[TestFixture]
public class NestedTypesTests : BaseTestFixture {
[Test]
public void NestedTypes ()
{
TestCSharp ("NestedTypes.cs", module => {
var foo = module.GetType ("Foo");
Assert.AreEqual ("Foo", foo.Name);
... | using System;
using Mono.Cecil;
using NUnit.Framework;
namespace Mono.Cecil.Tests {
[TestFixture]
public class NestedTypesTests : BaseTestFixture {
[Test]
public void NestedTypes ()
{
TestCSharp ("NestedTypes.cs", module => {
var foo = module.GetType ("Foo");
Assert.AreEqual ("Foo", foo.Name);
... | mit | C# |
10dfedd73cb5f3c8d0868a645737bcafdbfb3417 | fix tests | Topicomb/Forum,Topicomb/Forum | test/Topicomb.Forum.FunctionalTests/MiddlewaresTests.cs | test/Topicomb.Forum.FunctionalTests/MiddlewaresTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.Framework.Caching.Memory;
using Microsoft.Framework.DependencyInjection;
using Microsoft.AspNet.TestHost;
using Topicomb.Forum.Models;
using Xunit;
namespace Topicomb.Forum.Func... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.Framework.Caching.Memory;
using Microsoft.Framework.DependencyInjection;
using Microsoft.AspNet.TestHost;
using Topicomb.Forum.Models;
using Xunit;
namespace Topicomb.Forum.Func... | apache-2.0 | C# |
c2ddce2e289f1f06648e600d4a180efbea951a8b | Add at CompositeAnnouncer Error(Exception exception) implementation | spaccabit/fluentmigrator,spaccabit/fluentmigrator | src/FluentMigrator.Runner/Announcers/CompositeAnnouncer.cs | src/FluentMigrator.Runner/Announcers/CompositeAnnouncer.cs | #region License
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
... | #region License
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
... | apache-2.0 | C# |
0cbaa0a50cbe121f9aea99c6a8ac4b0989bf56f5 | Update to correct property (#11253) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Widgets/Views/ContentCard.cshtml | src/OrchardCore.Modules/OrchardCore.Widgets/Views/ContentCard.cshtml | @inject OrchardCore.ContentManagement.Display.IContentItemDisplayManager ContentItemDisplayManager
@inject OrchardCore.ContentManagement.Metadata.IContentDefinitionManager ContentDefinitionManager
@{
var contentDefinitions = ContentDefinitionManager.ListTypeDefinitions();
//Set Model (Current Shape) as Child c... | @inject OrchardCore.ContentManagement.Display.IContentItemDisplayManager ContentItemDisplayManager
@inject OrchardCore.ContentManagement.Metadata.IContentDefinitionManager ContentDefinitionManager
@{
var contentDefinitions = ContentDefinitionManager.ListTypeDefinitions();
//Set Model (Current Shape) as Child c... | bsd-3-clause | C# |
c6d393e5855dd65d7a23a2af004c176afc7017a0 | add support for unchanged billing_cycle_anchor | shirley-truong-volusion/stripe.net,Raganhar/stripe.net,AvengingSyndrome/stripe.net,AvengingSyndrome/stripe.net,haithemaraissia/stripe.net,craigmckeachie/stripe.net,stripe/stripe-dotnet,haithemaraissia/stripe.net,matthewcorven/stripe.net,matthewcorven/stripe.net,duckwaffle/stripe.net,chickenham/stripe.net,chickenham/str... | src/Stripe/Services/Subscriptions/StripeSubscriptionCreateOptions.cs | src/Stripe/Services/Subscriptions/StripeSubscriptionCreateOptions.cs | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using Stripe.Infrastructure;
namespace Stripe
{
public class StripeSubscriptionCreateOptions
{
[JsonProperty("plan")]
public string PlanId { get; set; }
[JsonProperty("coupon")]
public string CouponId { get... | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using Stripe.Infrastructure;
namespace Stripe
{
public class StripeSubscriptionCreateOptions
{
[JsonProperty("plan")]
public string PlanId { get; set; }
[JsonProperty("coupon")]
public string CouponId { get... | apache-2.0 | C# |
3134b4d58ac655450c4868679785d12a86e9d18e | Disable test BeginSend_AsyncOperationCompletes_Success | SGuyGe/corefx,vidhya-bv/corefx-sorting,dsplaisted/corefx,axelheer/corefx,jhendrixMSFT/corefx,manu-silicon/corefx,dhoehna/corefx,shmao/corefx,YoupHulsebos/corefx,josguil/corefx,shahid-pk/corefx,adamralph/corefx,parjong/corefx,janhenke/corefx,krytarowski/corefx,JosephTremoulet/corefx,josguil/corefx,Jiayili1/corefx,josgui... | src/System.Net.Sockets.Legacy/tests/FunctionalTests/UdpClientTest.cs | src/System.Net.Sockets.Legacy/tests/FunctionalTests/UdpClientTest.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Net.Test.Common;
using System.Threading;
using Xunit;
namespace System.Net.Sockets.Tests
{
public class UdpClientTest
{
// Port 8 is una... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Net.Test.Common;
using System.Threading;
using Xunit;
namespace System.Net.Sockets.Tests
{
public class UdpClientTest
{
// Port 8 is una... | mit | C# |
d610d564edec73b12d91d019ad1daddccc26e686 | Fix warning in build script | thomaslevesque/Linq.Extras | build.cake | build.cake | #tool nuget:?package=NUnit.ConsoleRunner&version=3.4.1
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument<string>("target", "Default");
var configuration = Argument<st... | #tool nuget:?package=NUnit.ConsoleRunner&version=3.4.1
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument<string>("target", "Default");
var configuration = Argument<st... | apache-2.0 | C# |
b71fadc10182a087411221752b4a88326513bd1d | Add autofocus to AccessCode entry so invalid entry will force focus onto the input field | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Web/Views/Account/Confirm.cshtml | src/SFA.DAS.EmployerUsers.Web/Views/Account/Confirm.cshtml | @model SFA.DAS.EmployerUsers.Web.Models.AccessCodeViewModel
@{
var invalidAttributes = Model.Valid ? "aria-invalid=\"true\" aria-labeledby=\"invalidMessage\"" : "";
}
<h1 class="heading-large">Register</h1>
@if (!Model.Valid)
{
<div id="invalidMessage" class="error" style="margin-bottom: 10px;">
<p... | @model SFA.DAS.EmployerUsers.Web.Models.AccessCodeViewModel
<h1 class="heading-large">Register</h1>
@if (!Model.Valid)
{
<div class="error" style="margin-bottom: 10px;">
<p class="error-message">
Invalid Code
</p>
</div>
}
<form method="post">
<fieldset>
<legend class... | mit | C# |
4c7c1b738481fc5ff0609e6d7bf3fa2f3a3d715d | Update WebViewJSRuntime.cs (#40943) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Components/WebView/WebView/src/Services/WebViewJSRuntime.cs | src/Components/WebView/WebView/src/Services/WebViewJSRuntime.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Text.Json;
using Microsoft.JSInterop;
using Microsoft.JSInterop.Infrastructure;
namespace Microsoft.AspNetCore.Components.WebView.Services;
internal class WebViewJSRun... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Text.Json;
using Microsoft.JSInterop;
using Microsoft.JSInterop.Infrastructure;
namespace Microsoft.AspNetCore.Components.WebView.Services;
internal class WebViewJSRun... | apache-2.0 | C# |
b724bfd2526195b5deb9c297b763c609e473c857 | Fix flattening aggregator | NRules/NRules,prashanthr/NRules | src/NRules/NRules.RuleModel/Aggregators/FlatteningAggregator.cs | src/NRules/NRules.RuleModel/Aggregators/FlatteningAggregator.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace NRules.RuleModel.Aggregators
{
/// <summary>
/// Aggregator that projects each matching fact into a collection and creates a new fact for each element in that collection.
/// </summary>
/// <typeparam name="TSource">Type of so... | using System;
using System.Collections.Generic;
using System.Linq;
namespace NRules.RuleModel.Aggregators
{
/// <summary>
/// Aggregator that projects each matching fact into a collection and creates a new fact for each element in that collection.
/// </summary>
/// <typeparam name="TSource">Type of so... | mit | C# |
28b839caa3a2160546520cf4fa16a805e2cdd28c | Add unit test for annual calendar | lukeryannetnz/quartznet-dynamodb,lukeryannetnz/quartznet-dynamodb | src/QuartzNET-DynamoDB.Tests/Unit/CalendarSerialisationTests.cs | src/QuartzNET-DynamoDB.Tests/Unit/CalendarSerialisationTests.cs | using System;
using Quartz.Impl.Calendar;
using Xunit;
namespace Quartz.DynamoDB.Tests
{
/// <summary>
/// Tests the DynamoCalendar serialisation for all quartz derived calendar types.
/// </summary>
public class CalendarSerialisationTests
{
/// <summary>
/// Tests that the descrip... | using System;
using Quartz.Impl.Calendar;
using Xunit;
namespace Quartz.DynamoDB.Tests
{
/// <summary>
/// Tests the DynamoCalendar serialisation for all quartz derived calendar types.
/// </summary>
public class CalendarSerialisationTests
{
/// <summary>
/// Tests that the descrip... | apache-2.0 | C# |
f15eaf8bcac6271b87d74b72d30ce5f7869e615e | Make ResponseContentType setter public | ZocDoc/ServiceStack,timba/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,NServiceKit/NServiceKit,timba/NServiceKit,nataren/NServiceKit,NServiceKit/NServiceKit,MindTouch/NServiceKit,timb... | src/ServiceStack.ServiceInterface/Testing/MockRequestContext.cs | src/ServiceStack.ServiceInterface/Testing/MockRequestContext.cs | using System;
using System.Collections.Generic;
using System.Net;
using Funq;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.Auth;
using ServiceStack.WebHost.Endpoints;
namespace ServiceStack.ServiceInterface.Testing
{
public class MockRequestContext : IRequestContext
{
public Mock... | using System;
using System.Collections.Generic;
using System.Net;
using Funq;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.Auth;
using ServiceStack.WebHost.Endpoints;
namespace ServiceStack.ServiceInterface.Testing
{
public class MockRequestContext : IRequestContext
{
public Mock... | bsd-3-clause | C# |
34b40904118cdf71f28dab33d776690cbf6779fe | Add test that checks if a path only consisting of an enumerable accessor works ("[0]") | Domysee/Pather.CSharp | test/Pather.CSharp.UnitTests/ResolverTests.cs | test/Pather.CSharp.UnitTests/ResolverTests.cs | using FluentAssertions;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Pather.CSharp.UnitTests
{
public class ResolverTests
{
public ResolverTests()
{
}
[Fact]
public voi... | using FluentAssertions;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Pather.CSharp.UnitTests
{
public class ResolverTests
{
public ResolverTests()
{
}
[Fact]
public voi... | mit | C# |
aa79758db5250ff63b7b398260649aabefa62fb1 | Remove unnecessary float literal | NeoAdonis/osu,naoey/osu,2yangk23/osu,EVAST9919/osu,johnneijzen/osu,DrabWeb/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ZLima12/osu,naoey/osu,UselessToucan/osu,DrabWeb/osu,ppy/osu,peppy/osu-new,naoey/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,... | osu.Game.Rulesets.Catch/Judgements/CatchJudgement.cs | osu.Game.Rulesets.Catch/Judgements/CatchJudgement.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Catch.Judgements
{
public c... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects.Types;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Catch.Judgements
{
public c... | mit | C# |
028909353c8dc5b027a05ae5fb995ee278db9ede | Revert one more change | ppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu | osu.Game/Rulesets/UI/Scrolling/ScrollingPlayfield.cs | osu.Game/Rulesets/UI/Scrolling/ScrollingPlayfield.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.Bindables;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Skinning;
using osuTK;
namespace osu.Game.Rulese... | // 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.Bindables;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Skinning;
using osuTK;
namespace osu.Game.Rulese... | mit | C# |
715a5ca943b9d8fbd0dfb9499afd2d40f051132c | Bump version | damianh/LimitsMiddleware,damianh/LimitsMiddleware,tugberkugurlu/Owin.Limits | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Damian Hickey")]
[assembly: AssemblyProduct("Owin.Limits")]
[assembly: AssemblyCopyright("Copyright © Damian Hickey 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.1.0")... | using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Damian Hickey")]
[assembly: AssemblyProduct("Owin.Limits")]
[assembly: AssemblyCopyright("Copyright © Damian Hickey 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.0.0")... | mit | C# |
841c9e4f92d20f4a7b4aa11b5f1f13e9ab2bf1cb | refactor diffindo.cs | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/Cards/Spells/Transfigurations/Diffindo.cs | Assets/Scripts/Cards/Spells/Transfigurations/Diffindo.cs | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class Diffindo : GenericSpell {
//private List<GenericCard> SelectedCards;
public override void OnPlayAction()
{
//Move ALL invalid colliders to ignoreraycast layer
_Player.DisableAllCards... | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class Diffindo : GenericSpell {
//private List<GenericCard> SelectedCards;
public override void OnPlayAction()
{
//Move ALL invalid colliders to ignoreraycast layer
_Player.DisableAllCards... | mit | C# |
876bca410bb3c7972995445ad8d36513cf49734c | update info | chinaboard/PureCat | PureCat/Message/Spi/Internals/StatusUpdateTask.cs | PureCat/Message/Spi/Internals/StatusUpdateTask.cs | using PureCat.Message.Spi.Heartbeat;
using PureCat.Message.Spi.Heartbeat.Extend;
using PureCat.Util;
using System.Text;
using System.Threading;
namespace PureCat.Message.Spi.Internals
{
public class StatusUpdateTask
{
internal readonly NodeStatusInfo _nodeInfo = null;
public Statu... | using PureCat.Message.Spi.Heartbeat;
using PureCat.Message.Spi.Heartbeat.Extend;
using PureCat.Util;
using System.Text;
using System.Threading;
namespace PureCat.Message.Spi.Internals
{
public class StatusUpdateTask
{
internal readonly NodeStatusInfo _nodeInfo = null;
public Statu... | mit | C# |
52220024638f64dd43f9af2a19dd5744dc124800 | Add missing header | rasmus/EventFlow | Source/EventFlow.Tests/UnitTests/ReadStores/TestAsyncReadModel.cs | Source/EventFlow.Tests/UnitTests/ReadStores/TestAsyncReadModel.cs | // The MIT License (MIT)
//
// Copyright (c) 2015-2019 Rasmus Mikkelsen
// Copyright (c) 2015-2019 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software... | using System.Threading;
using System.Threading.Tasks;
using EventFlow.Aggregates;
using EventFlow.ReadStores;
using EventFlow.TestHelpers.Aggregates;
using EventFlow.TestHelpers.Aggregates.Events;
namespace EventFlow.Tests.UnitTests.ReadStores
{
public class TestAsyncReadModel : IReadModel, IAmAsyncReadModelFor<T... | mit | C# |
c2fbadfc01477901bff677263b899476dfe43af8 | Change icon classes. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/IconClasses.cs | source/Nuke.Common/IconClasses.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Git;
using Nuke.Common.IO;
using Nuke.Common.Tools.CoverallsNet;
using Nuke.Common.Tools.DocFx;
using Nuke.Common.Tools... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Common;
using Nuke.Common.Git;
using Nuke.Common.IO;
using Nuke.Common.Tools.CoverallsNet;
using Nuke.Common.Tools.DocFx;
using Nuke.Common.Tools... | mit | C# |
0565b1bac50b1ff2cf73ef7bf7b0e8ece5c519fc | remove legacy endpoint from tests | Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek | services/api/Tweek.ApiService.SmokeTests/ITweekApi.cs | services/api/Tweek.ApiService.SmokeTests/ITweekApi.cs | using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using RestEase;
using FSharpUtils.Newtonsoft;
namespace Tweek.ApiService.SmokeTests
{
public interface ITweekApi
{
[Get("api/v1/keys/{keyPath}")]
Task<JToken> GetConfigurations([Pa... | using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using RestEase;
using FSharpUtils.Newtonsoft;
namespace Tweek.ApiService.SmokeTests
{
public interface ITweekApi
{
[Get("configurations/{keyPath}")]
Task<JToken> GetConfigurations(... | mit | C# |
ea197b168a26c50e0384a94d55d13b7b3a4ec15c | add CachePath(forgotten | sassembla/Autoya,sassembla/Autoya,sassembla/Autoya | Assets/Editor/AssetGraph-1.4-release/UnityEngine.AssetGraph/EditorRuntimeSupport/AssetGraphBasePath.cs | Assets/Editor/AssetGraph-1.4-release/UnityEngine.AssetGraph/EditorRuntimeSupport/AssetGraphBasePath.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using System.IO;
using System.Linq;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace UnityEngine.AssetGraph
{
#if UNITY_EDITOR
public class AssetGraphBasePath : ScriptableObject
{
private static string s_... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using System.IO;
using System.Linq;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace UnityEngine.AssetGraph
{
#if UNITY_EDITOR
public class AssetGraphBasePath : ScriptableObject
{
private static string s_... | mit | C# |
0f4f41e9d76217d6893c7950ebdfcb04f080dcaa | support for issue #1 has now been resolved. | fluentcassandra/fluentcassandra,fluentcassandra/fluentcassandra,fluentcassandra/fluentcassandra | FluentCassandra/Connection/FailoverConnectionProvider.cs | FluentCassandra/Connection/FailoverConnectionProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
namespace FluentCassandra
{
public class FailoverConnectionProvider : ConnectionProvider
{
private int _currentIndex;
/// <summary>
///
/// </summary>
/// <param name="builder"></param>
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
namespace FluentCassandra
{
public class FailoverConnectionProvider : ConnectionProvider
{
private int _currentIndex;
/// <summary>
///
/// </summary>
/// <param name="builder"></param>
publ... | apache-2.0 | C# |
08a7905e116dbb722fe910c1963c705bc3d41fe8 | Use CloudFlare CF-Connecting-IP to access user ip address | bcjobs/infrastructure | Infra.Authentications.Identity/Services/Authenticator.cs | Infra.Authentications.Identity/Services/Authenticator.cs | using Infra.Authentications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Net;
using System.Security.Claims;
using System.Threading;
using Infra.Events;
namespace Infra.Authentications.Identity.Services
{
public class Authenticator : IAuthenticator
{
... | using Infra.Authentications;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Net;
using System.Security.Claims;
using System.Threading;
using Infra.Events;
namespace Infra.Authentications.Identity.Services
{
public class Authenticator : IAuthenticator
{
... | mit | C# |
91be8d2552ff10084750e17fa114b9f342643fdc | Make DateTimeOffsetConverter internal | carbon/Amazon | src/Amazon.DynamoDb/JsonConverters/DateTimeOffsetConverter.cs | src/Amazon.DynamoDb/JsonConverters/DateTimeOffsetConverter.cs | using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Amazon.DynamoDb.JsonConverters
{
internal class DateTimeOffsetConverter : JsonConverter<DateTimeOffset>
{
public override DateTimeOffset Read(
ref Utf8JsonReader reader,
Type typeToConvert,
... | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Amazon.DynamoDb.JsonConverters
{
public class DateTimeOffsetConverter : JsonConverter<DateTimeOffset>
{
public override DateTimeOffset Read(
ref Utf8Js... | mit | C# |
c891fa0d28310cade91b235277ef91627c4ea084 | Add extension method for StatefulModel.MultipleDisposable. | Grabacr07/MetroTrilithon | source/MetroTrilithon/Lifetime/DisposableExtensions.cs | source/MetroTrilithon/Lifetime/DisposableExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using StatefulModel;
namespace MetroTrilithon.Lifetime
{
public static class DisposableExtensions
{
/// <summary>
/// <see cref="IDisposable"/> オブジェクトを、指定した <see cref="IDisposableHolder.CompositeDisposable"/> に追加しま... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MetroTrilithon.Lifetime
{
public static class DisposableExtensions
{
/// <summary>
/// <see cref="IDisposable"/> オブジェクトを、指定した <see cref="IDisposableHolder.CompositeDisposable"/> に追加します。
/// </summary>
... | mit | C# |
c283cdaee5c407a8500c9d63810b92e76f100707 | fix test | zpisgod/CIDemo,zpisgod/CIDemo | src/CIDemo.Tests/Controllers/HomeControllerTest.cs | src/CIDemo.Tests/Controllers/HomeControllerTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CIDemo;
using CIDemo.Controllers;
namespace CIDemo.Tests.Controllers
{
[TestClass]
public class HomeControllerTest
{
[TestMethod]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CIDemo;
using CIDemo.Controllers;
namespace CIDemo.Tests.Controllers
{
[TestClass]
public class HomeControllerTest
{
[TestMethod]
... | mit | C# |
2368943e38b45d978a2fcf3d4c70eadcf00b0afa | Update AppSettings.cs | Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz,Microsoft/HealthClinic.biz | src/MyHealth.Client.Core/AppSettings.cs | src/MyHealth.Client.Core/AppSettings.cs | using System;
namespace MyHealth.Client.Core
{
public static class AppSettings
{
public static string ServerlUrl = "http://YOUR_WEB.azurewebsites.net/";
public static string MobileAPIUrl = "https://YOUR_WEB_MOBILE.azurewebsites.net";
public static int DefaultPatientId = __YOURPATIENTID__;
... | using System;
namespace MyHealth.Client.Core
{
public static class AppSettings
{
public static string ServerlUrl = "http://YOUR_WEB.azurewebsites.net/";
public static string MobileAPIUrl = "https://YOUR_WEB_MOBILE.azurewebsites.net";
public static int DefaultPatientId = __YOUR_PATIENT_ID__;... | mit | C# |
e9fb1bf1b04e361e8606fa99bbdc2e291e3721ad | Update DatabasesTool.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D/UI/Avalonia/Dock/Tools/DatabasesTool.cs | src/Core2D/UI/Avalonia/Dock/Tools/DatabasesTool.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 DMC = Dock.Model.Controls;
namespace Core2D.UI.Avalonia.Dock.Tools
{
/// <summary>
/// Databases view.
/// </summary>
public class Databases... | // 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 DMC=Dock.Model.Controls;
namespace Core2D.UI.Avalonia.Dock.Tools
{
/// <summary>
/// Databases view.
/// </summary>
public class DatabasesTo... | mit | C# |
edddb9dfbd148f1b551dd1d1a2ba62a5e7b08f6b | Fix ToString for Automata with more than one accepting state | nlowe/EECS4100,nlowe/EECS4100 | src/AutomataConverter/Automata.cs | src/AutomataConverter/Automata.cs | using System.Collections.Generic;
using System.Linq;
namespace AutomataConverter
{
public abstract class Automata
{
public readonly int Cardinality;
public readonly string ValidTokens;
public readonly IEnumerable<int> AcceptingStates;
public readonly int StartState;
publ... | using System.Collections.Generic;
using System.Linq;
namespace AutomataConverter
{
public abstract class Automata
{
public readonly int Cardinality;
public readonly string ValidTokens;
public readonly IEnumerable<int> AcceptingStates;
public readonly int StartState;
publ... | mit | C# |
214393cd8c1b4c6cfe00fba5a5ada6de3070ab16 | Put `DelegateMethodILEmitter` in a namespace (#1257) | gregkalapos/corert,shrah/corert,sandreenko/corert,gregkalapos/corert,sandreenko/corert,yizhang82/corert,mjp41/corert,yizhang82/corert,sandreenko/corert,yizhang82/corert,sandreenko/corert,tijoytom/corert,gregkalapos/corert,mjp41/corert,mjp41/corert,shrah/corert,tijoytom/corert,gregkalapos/corert,yizhang82/corert,shrah/c... | src/Common/src/TypeSystem/IL/Stubs/DelegateMethodILEmitter.cs | src/Common/src/TypeSystem/IL/Stubs/DelegateMethodILEmitter.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 Internal.TypeSystem;
using Debug = System.Diagnostics.Debug;
namespace Internal.IL.Stubs
{
public static... | // 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 Internal.IL;
using Internal.IL.Stubs;
using Internal.TypeSystem;
using Debug = System.Diagnostics.Debug;
pub... | mit | C# |
d036c11d957dc6b4c2dc49f7149886bbc28269c9 | Fix a bug in the unit tests. | dipeshc/BTDeploy | src/MonoTorrent.Tests/Client/InitialSeedingModeTest.cs | src/MonoTorrent.Tests/Client/InitialSeedingModeTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MonoTorrent.Client.Messages.FastPeer;
using MonoTorrent.Client.Messages.Standard;
using MonoTorrent.Common;
using NUnit.Framework;
namespace MonoTorrent.Client
{
[TestFixture]
public class InitialSeedingModeTest
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MonoTorrent.Client.Messages.FastPeer;
using MonoTorrent.Client.Messages.Standard;
using MonoTorrent.Common;
using NUnit.Framework;
namespace MonoTorrent.Client
{
[TestFixture]
public class InitialSeedingModeTest
{
... | mit | C# |
ecec47bb4e9c15fc2c32e2d2cff18abb95d97fa1 | Remove obsolete code | MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailAr... | src/Package/Impl/DataInspect/VariableGridWindowPane.cs | src/Package/Impl/DataInspect/VariableGridWindowPane.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.R.Package.Windows;
using static System.FormattableString;
n... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.R.Package.Shell;
using Microsoft.VisualStudio.R.Package.Wind... | mit | C# |
fb5cf21e28767b0ea5c3f0350452ce344c95f1c2 | Revert "Demo commit" | bhoeijmakers/PnP,bhoeijmakers/PnP,bhoeijmakers/PnP | Components/Core.PeoplePicker/Core.PeoplePickerWeb/PeoplePickerUser.cs | Components/Core.PeoplePicker/Core.PeoplePickerWeb/PeoplePickerUser.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace Contoso.Core.PeoplePickerWeb
{
[DataContract]
public class PeoplePickerUser
{
[DataMember]
internal int LookupId;
[DataMember]
internal string ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace Contoso.Core.PeoplePickerWeb
{
[DataContract]
public class PeoplePickerUser
{
[DataMember]
internal int LookupId;
[DataMember]
internal string ... | apache-2.0 | C# |
813cd0e809917898cb012d49db2c757ede575282 | handle absent claims principal on deserialization | buybackoff/IdentityServer3.EntityFramework,faithword/IdentityServer3.EntityFramework,IdentityServer/IdentityServer3.EntityFramework | Source/Core.EntityFramework/Serialization/ClaimsPrincipalConverter.cs | Source/Core.EntityFramework/Serialization/ClaimsPrincipalConverter.cs | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* 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 la... | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* 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 la... | apache-2.0 | C# |
dd8ce08b9eb4bc4c68ce2d7ac8fe38693c0a7103 | Update server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.Models.Question;
using Promact.Trappist.Repository.Questions;
using System;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionsController : Controller
{
private readonly IQuestionRepository ... | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.Models.Question;
using Promact.Trappist.Repository.Questions;
using System;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionsController : Controller
{
private readonly IQuestionRepository ... | mit | C# |
56d67edf6fb0032f24cf22bda90eb2964fd91b30 | Update MergeCellsInNamedRange.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-as... | Examples/CSharp/Data/AddOn/NamedRanges/MergeCellsInNamedRange.cs | Examples/CSharp/Data/AddOn/NamedRanges/MergeCellsInNamedRange.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class MergeCellsInNamedRange
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Exa... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class MergeCellsInNamedRange
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(S... | mit | C# |
55e2128b6fa3ae379d522edd7e3d74dff48e7cc1 | Add web driver extensions (#5) | javnov/axe-selenium-csharp | Globant.Selenium.Axe/Globant.Selenium.Axe/WebDriverExtensions.cs | Globant.Selenium.Axe/Globant.Selenium.Axe/WebDriverExtensions.cs | using OpenQA.Selenium;
using System;
namespace Globant.Selenium.Axe
{
public static class WebDriverExtensions
{
public static AxeResult Analyze(this IWebDriver webDriver)
{
if (webDriver == null)
throw new ArgumentNullException(nameof(webDriver));
AxeBu... | namespace Globant.Selenium.Axe
{
public static class WebDriverExtensions
{
}
}
| mit | C# |
2842d645b814171f861b070f6d5197bd1ee9dcb3 | Update ForeignExchangeEntity.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/ForeignExchange/Data/ForeignExchangeEntity.cs | TIKSN.Core/Finance/ForeignExchange/Data/ForeignExchangeEntity.cs | using System.Collections.Generic;
using TIKSN.Data;
namespace TIKSN.Finance.ForeignExchange.Data
{
public class ForeignExchangeEntity : IEntity<int>
{
public ForeignExchangeEntity()
{
ExchangeRates = new HashSet<ExchangeRateEntity>();
}
public int ID { get; set; }
... | using System.Collections.Generic;
using TIKSN.Data;
namespace TIKSN.Finance.ForeignExchange.Data
{
public class ForeignExchangeEntity : IEntity<int>
{
public ForeignExchangeEntity()
{
ExchangeRates = new HashSet<ExchangeRateEntity>();
}
public int ID { get; set; }
... | mit | C# |
9d7245892dfef52530f1644115d6b4e41e93c2f9 | Update TestSerilogLoggingSetup.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/DependencyInjection/TestSerilogLoggingSetup.cs | TIKSN.UnitTests.Shared/DependencyInjection/TestSerilogLoggingSetup.cs | using Serilog;
using TIKSN.Analytics.Logging.Serilog;
using Xunit.Abstractions;
namespace TIKSN.DependencyInjection.Tests
{
public class TestSerilogLoggingSetup : SerilogLoggingSetupBase
{
private readonly ITestOutputHelper _testOutputHelper;
public TestSerilogLoggingSetup(ITestOutputHelper te... | using Serilog;
using TIKSN.Analytics.Logging.Serilog;
using Xunit.Abstractions;
namespace TIKSN.DependencyInjection.Tests
{
public class TestSerilogLoggingSetup : SerilogLoggingSetupBase
{
private readonly ITestOutputHelper _testOutputHelper;
public TestSerilogLoggingSetup(ITestOutputHelper te... | mit | C# |
97dd15b1d37436f5bc40d422b41deac6d6646eff | Modify File userAuth/Droid/Resources/AltActivity.cs | ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate,ARCNanotech/userAuthenticate | userAuth/Droid/Resources/AltActivity.cs | userAuth/Droid/Resources/AltActivity.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace userAuth.Droid
{
[BroadcastReceiver (Label = "userAuth.Droid", Icon = "@drawable/icon", AltLa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace userAuth.Droid
{
[BroadcastReceiver (Label = "userAuth.Droid", Icon = "@drawable/icon", AltLa... | mit | C# |
f44489c59d4e4cf918a3f6171e366e1322dd29ee | Add check if a file supports animations | agens-no/iMessageStickerUnity | Assets/Stickers/Editor/StickerEditorUtility.cs | Assets/Stickers/Editor/StickerEditorUtility.cs | using System.Globalization;
namespace Agens.Stickers
{
public static class StickerEditorUtility
{
/// <summary>
/// Checks the file extension of a filename
/// </summary>
/// <param name="fileName">filename with extension or full path of a file</param>
/// <returns>True... | using System.Globalization;
namespace Agens.Stickers
{
public static class StickerEditorUtility
{
/// <summary>
/// Checks the file extension of a filename
/// </summary>
/// <param name="fileName">filename with extension or full path of a file</param>
/// <returns>True... | mit | C# |
2cdc133a2001487cbc944c537e2a6c7b9ca0f970 | remove unnecessary debug log. | hecomi/uREPL | Assets/uREPL/Scripts/GuiParts/ComponentItem.cs | Assets/uREPL/Scripts/GuiParts/ComponentItem.cs | using UnityEngine;
using UnityEngine.UI;
namespace uREPL
{
public class ComponentItem : MonoBehaviour
{
[HideInInspector]
public Component component;
public Toggle toggle;
public GameObject checkbox;
public Text nameText;
public Transform fieldsView;
public GameObject noAvailableFieldText;
public string t... | using UnityEngine;
using UnityEngine.UI;
namespace uREPL
{
public class ComponentItem : MonoBehaviour
{
[HideInInspector]
public Component component;
public Toggle toggle;
public GameObject checkbox;
public Text nameText;
public Transform fieldsView;
public GameObject noAvailableFieldText;
public string t... | mit | C# |
918f277921e4d58a2021e51fd5bdfe74121ca2b8 | Add Id to Item. | wangjun/windows-app,wangjun/windows-app | wallabag/wallabag.Shared/Models/Item.cs | wallabag/wallabag.Shared/Models/Item.cs | using System;
namespace wallabag.Models
{
public class Item
{
public string Id { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public Uri Url { get; set; }
public bool IsRead { get; set; }
public bool IsFavourite { get; set; ... | using System;
using SQLite;
namespace wallabag.Models
{
[Table("Items")]
public class Item
{
public string Title { get; set; }
public string Content { get; set; }
public Uri Url { get; set; }
public bool IsRead { get; set; }
public bool IsFavourite { get; set; }
... | mit | C# |
a39ab63b6d2e9d219e55aaec708d4b493a9be2b3 | Fix catch block in Main | lou1306/CIV,lou1306/CIV | CIV/Program.cs | CIV/Program.cs | using System;
using System.Diagnostics;
using CIV.Formats;
using CIV.Common;
using static System.Console;
namespace CIV
{
[Flags]
enum ExitCodes : int
{
Success = 0,
FileNotFound = 1,
ParsingFailed = 2,
VerificationFailed = 4
}
class Program
{
static void Main(string[] a... | using System;
using System.Diagnostics;
using CIV.Formats;
using static System.Console;
namespace CIV
{
[Flags]
enum ExitCodes : int
{
Success = 0,
FileNotFound = 1,
ParsingFailed = 2,
VerificationFailed = 4
}
class Program
{
static void Main(string[] args)
{
... | mit | C# |
0be830173ef3aadff9bf7472a147b14e5cbafab6 | Increase version. | DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS | DanTup.DartAnalysis/Properties/AssemblyInfo.cs | DanTup.DartAnalysis/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assembly: AssemblyProduct("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assem... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assembly: AssemblyProduct("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assem... | mit | C# |
9530bd5a48c8119e0042c38c83b311c4659d8155 | Update BlogManager App Drawer With New Route | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Web/Areas/Admin/Views/BlogManager/_AppDrawer.cshtml | Portal.CMS.Web/Areas/Admin/Views/BlogManager/_AppDrawer.cshtml | @model Portal.CMS.Web.Areas.Admin.ViewModels.BlogManager.AppDrawerViewModel
@{
Layout = "";
}
<div id="blog-manager-panel" class="panel-overlay animated fadeInRight">
<div class="panel-title">
<h4>Blog Manager</h4>
<div class="panel-action right" onclick="ClosePanels();"><span class="fa fa-rem... | @model Portal.CMS.Web.Areas.Admin.ViewModels.BlogManager.AppDrawerViewModel
@{
Layout = "";
}
<div id="blog-manager-panel" class="panel-overlay animated fadeInRight">
<div class="panel-title">
<h4>Blog Manager</h4>
<div class="panel-action right" onclick="ClosePanels();"><span class="fa fa-rem... | mit | C# |
1f0a81d586bfb502da9a2e9c7eb34442349696b7 | Refactor Detection Collection Extensions | wangkanai/Detection | src/DependencyInjection/DetectionCollectionExtensions.cs | src/DependencyInjection/DetectionCollectionExtensions.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Wangkanai.Detection.DependencyInjection.Options;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Contains extension ... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Wangkanai.Detection.DependencyInjection.Options;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Contains extension ... | apache-2.0 | C# |
3d3991f847158cc55678d1b432bcb4283244ec51 | Remove unused delegate definition | weblinq/WebLinq,weblinq/WebLinq,atifaziz/WebLinq,atifaziz/WebLinq | src/Core/Collections/Map.cs | src/Core/Collections/Map.cs | #region Copyright (c) 2016 Atif Aziz. 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 ap... | #region Copyright (c) 2016 Atif Aziz. 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 ap... | apache-2.0 | C# |
f8f4a486fd02b73aa602362e8ee2e1ad2361d17b | Change service extension return type | toddams/RazorLight,toddams/RazorLight | src/RazorLight/Extensions/ServiceCollectionExtensions.cs | src/RazorLight/Extensions/ServiceCollectionExtensions.cs | using System;
using System.Reflection;
using Microsoft.AspNetCore.Razor.Language;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using RazorLight.Caching;
using RazorLight.Compilation;
using RazorLight.DependencyInj... | using System;
using System.Reflection;
using Microsoft.AspNetCore.Razor.Language;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using RazorLight.Caching;
using RazorLight.Compilation;
using RazorLight.DependencyInj... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.