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
2d0b38c32d292b139c2bf71101c650320cfdb8d7
Reformat Bootstrapper to remove tabs
lmno/cupster,lmno/cupster,lmno/cupster
webstats/Modules/Bootstrapper.cs
webstats/Modules/Bootstrapper.cs
/* * Created by SharpDevelop. * User: Lars Magnus * Date: 14.06.2014 * Time: 23:23 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Configuration; using System.IO; using Nancy; using Nancy.TinyIoc; using SubmittedData; namespace Modules { /// ...
/* * Created by SharpDevelop. * User: Lars Magnus * Date: 14.06.2014 * Time: 23:23 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Configuration; using System.IO; using Nancy; using Nancy.TinyIoc; using SubmittedData; namespace Modules { /// <su...
mit
C#
f2e0e21971c5f952e2843d3c3207b42fccbd8d04
Check if lists exist before loading properties
OfficeDev/PnP-PowerShell,kilasuit/PnP-PowerShell
Commands/Lists/GetList.cs
Commands/Lists/GetList.cs
using System.Management.Automation; using Microsoft.SharePoint.Client; using SharePointPnP.PowerShell.CmdletHelpAttributes; using SharePointPnP.PowerShell.Commands.Base.PipeBinds; using System.Linq.Expressions; using System; using System.Linq; using System.Collections.Generic; using SharePointPnP.PowerShell.Commands.B...
using System.Management.Automation; using Microsoft.SharePoint.Client; using SharePointPnP.PowerShell.CmdletHelpAttributes; using SharePointPnP.PowerShell.Commands.Base.PipeBinds; using System.Linq.Expressions; using System; using System.Linq; using System.Collections.Generic; using SharePointPnP.PowerShell.Commands.B...
mit
C#
29c039e7db5f11736af7afc8840cdf5d299ef4d8
Remove bin obj
fredatgithub/WebScreenshot
ConsoleAppDemo/Program.cs
ConsoleAppDemo/Program.cs
using System; using System.Drawing.Imaging; using Alx.Web; namespace ConsoleAppDemo { class Program { static void Main() { Console.WriteLine("Application started"); string url = "http://www.bbc.co.uk/news"; var device = Devices.Desktop; var path = string.Format(@"C:\...
using System; using System.Drawing.Imaging; using Alx.Web; namespace ConsoleAppDemo { class Program { static void Main() { Console.WriteLine("Application started"); string url = "http://www.bbc.co.uk/news"; var device = Devices.Desktop; var path = string.Format(@"C:\...
mit
C#
f70a2bcd908d460be3bb2a099569d68b872b0270
set version to 1.0.0.11
deniszykov/commandline
ConsoleApp.CommandLine/Properties/AssemblyInfo.cs
ConsoleApp.CommandLine/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("Command-line Utilities")] [assembly: Asse...
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("Command-line Utilities")] [assembly: Asse...
mit
C#
a6c90a774a372bd27b25df0777570324ee5f3450
Add host.name constant
criteo/zipkin4net,criteo/zipkin4net
Criteo.Profiling.Tracing/Annotation/CommonTags.cs
Criteo.Profiling.Tracing/Annotation/CommonTags.cs
using Criteo.Profiling.Tracing.Tracers.Zipkin.Thrift; namespace Criteo.Profiling.Tracing.Annotation { public static class CommonTags { public static readonly string HttpStatusCode = zipkinCoreConstants.HTTP_STATUS_CODE; public static readonly string HttpMethod = zipkinCoreConstants.HTTP_METHOD...
using Criteo.Profiling.Tracing.Tracers.Zipkin.Thrift; namespace Criteo.Profiling.Tracing.Annotation { public static class CommonTags { public static readonly string HttpStatusCode = zipkinCoreConstants.HTTP_STATUS_CODE; public static readonly string HttpMethod = zipkinCoreConstants.HTTP_METHOD...
apache-2.0
C#
c97927e13030e9ccc6d0bb1f0c2e481c8df1c6e5
Update AssemblyInfo.cs
ogaudefroy/Microsoft.AnalysisServices.AdomdClient.Abstractions
Microsoft.AnalysisServices.AdomdClient.Abstractions/Properties/AssemblyInfo.cs
Microsoft.AnalysisServices.AdomdClient.Abstractions/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft.AnalysisServices.AdomdClient.Abstractions")] [assembly: AssemblyDescription("Set of abstraction classes for AdomdClient")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Olivier GA...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Microsoft.AnalysisServices.AdomdClient.Abstractions")] [assembly: AssemblyDescription("Set of abstraction classes for AdomdClient")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Olivier GAUDEFROY, Arnau...
mit
C#
0cb9f26939b799e2ac38002061601415199d894b
Make Notice Bold
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <h2 style="color: blue">PLEASE NOTE: The Analytical Lab will be closed on July 4th and 5th.</h2> <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <p class="lead">PLEASE NOTE: The Analytical Lab will be closed on July 4th and 5th.</p> <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Sciences.</p> <...
mit
C#
b22afc7aa8a6cf996e64709af99dc31f709d54d4
Bump version to 3.1.0
Coding-Enthusiast/Watch-Only-Bitcoin-Wallet
WatchOnlyBitcoinWallet/Properties/AssemblyInfo.cs
WatchOnlyBitcoinWallet/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#
1c0d76561dffcce5ec2b60ec4aaa753e097673a9
Remove duplicate addresses before converting to dictionary
et1975/Nowin,pysco68/Nowin,et1975/Nowin,modulexcite/Nowin,modulexcite/Nowin,Bobris/Nowin,lstefano71/Nowin,Bobris/Nowin,pysco68/Nowin,pysco68/Nowin,lstefano71/Nowin,et1975/Nowin,lstefano71/Nowin,modulexcite/Nowin,Bobris/Nowin
Nowin/IpIsLocalChecker.cs
Nowin/IpIsLocalChecker.cs
using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; namespace Nowin { public class IpIsLocalChecker : IIpIsLocalChecker { readonly Dictionary<IPAddress, bool> _dict; public IpIsLocalChecker() { var host = Dns.GetHostEntry(Dns.Get...
using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; namespace Nowin { public class IpIsLocalChecker : IIpIsLocalChecker { readonly Dictionary<IPAddress, bool> _dict; public IpIsLocalChecker() { var host = Dns.GetHostEntry(Dns.Get...
mit
C#
9c30c797a53843b43664903de2d2141d080cc845
Remove RemoveExcessiveDelimiters
PawelStroinski/LambdastylePrototype,PawelStroinski/LambdastylePrototype,PawelStroinski/LambdastylePrototype,PawelStroinski/LambdastylePrototype
Interpreter/Predicates/OuterId.cs
Interpreter/Predicates/OuterId.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace LambdastylePrototype.Interpreter.Predicates { class OuterId : PredicateElement { public override bool AppliesAt(PredicateContext context) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace LambdastylePrototype.Interpreter.Predicates { class OuterId : PredicateElement { public override bool AppliesAt(PredicateContext context) ...
mit
C#
508c53aad97c08ac51dde776e8e63f2bb0040f4e
Update AssemblyInfo.cs
Oceanswave/NiL.JS,nilproject/NiL.JS,Oceanswave/NiL.JS,Oceanswave/NiL.JS,nilproject/NiL.JS,nilproject/NiL.JS
NiL.JS/Properties/AssemblyInfo.cs
NiL.JS/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #if DEV [assembly: AssemblyTitleAttribute("NiL.JS for Developers")] [assembly: AssemblyProductAttribute("NiL.JS Dev")] #else [assembly: AssemblyTitleAttribute("NiL.JS")] [assembly: AssemblyProductAttribute("NiL.JS")] ...
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #if DEV [assembly: AssemblyTitleAttribute("NiL.JS for Developers")] [assembly: AssemblyProductAttribute("NiL.JS Dev")] #else [assembly: AssemblyTitleAttribute("NiL.JS")] [assembly: AssemblyProductAttribute("NiL.JS")] ...
bsd-3-clause
C#
10886030b0e90574272a157b3375961a87a029c5
test exception
mauris/GitHub.NET-Updater
UnitTester/VersionTest.cs
UnitTester/VersionTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using UpdaterVersion = Github.Updater.Version; namespace UnitTester { [TestClass] public class VersionTest { [TestMethod] public void TestVersion1() { UpdaterVersion version = new UpdaterVersion("1.0.5-be...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using UpdaterVersion = Github.Updater.Version; namespace UnitTester { [TestClass] public class VersionTest { [TestMethod] public void TestVersion1() { UpdaterVersion version = new UpdaterVersion("1.0.5-be...
bsd-3-clause
C#
ec03c4f928d5644fc242fc8bad04bc2c1b6aa657
Rollback transaction on exception.
SilkStack/Silk.Data.SQL.ORM
Silk.Data.SQL.ORM/Queries/TransactionQueryExecutor.cs
Silk.Data.SQL.ORM/Queries/TransactionQueryExecutor.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Silk.Data.SQL.Providers; namespace Silk.Data.SQL.ORM.Queries { public class TransactionQueryExecutor : IORMQueryExecutor { public List<object> ExecuteQueries(IEnumerable<ORMQuery> queries, IDataProvider dataProvider) {...
using System.Collections.Generic; using System.Threading.Tasks; using Silk.Data.SQL.Providers; namespace Silk.Data.SQL.ORM.Queries { public class TransactionQueryExecutor : IORMQueryExecutor { public List<object> ExecuteQueries(IEnumerable<ORMQuery> queries, IDataProvider dataProvider) { using (var...
mit
C#
1d310ad42a676b2cb6383684a9a303bfa7c84cda
Change default attributeStyle to lower for search
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.API/ModelBindings/SearchOptionsModelBinding.cs
WebAPI.API/ModelBindings/SearchOptionsModelBinding.cs
using System; using System.Net.Http; using System.Web.Http.Controllers; using System.Web.Http.ModelBinding; using WebAPI.Domain.InputOptions; namespace WebAPI.API.ModelBindings { public class SearchOptionsModelBinding : IModelBinder { public bool BindModel(HttpActionContext actionContext, ModelBinding...
using System; using System.Net.Http; using System.Web.Http.Controllers; using System.Web.Http.ModelBinding; using WebAPI.Domain.InputOptions; namespace WebAPI.API.ModelBindings { public class SearchOptionsModelBinding : IModelBinder { public bool BindModel(HttpActionContext actionContext, ModelBinding...
mit
C#
dcd385e0450d17b02a6d0970ba1c914559027546
Mark Convention.Lifecycle(...) overloads as [Obsolete]. Usages should be limited as a step towards merging Lifecycle into Convention.
fixie/fixie
src/Fixie/Convention.cs
src/Fixie/Convention.cs
namespace Fixie { using System; using Conventions; /// <summary> /// Base class for all Fixie conventions. Subclass Convention to customize test discovery and execution. /// </summary> public class Convention { public Convention() { Config = new Configuration();...
namespace Fixie { using System; using Conventions; /// <summary> /// Base class for all Fixie conventions. Subclass Convention to customize test discovery and execution. /// </summary> public class Convention { public Convention() { Config = new Configuration();...
mit
C#
1f18248be5995770ec2fe2cc62188cfaa6231f74
update dependency nuget.commandline to v6.2.1
FantasticFiasco/mvvm-dialogs
build/build.cake
build/build.cake
#tool nuget:?package=NuGet.CommandLine&version=6.2.1 #load utils.cake ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Re...
#tool nuget:?package=NuGet.CommandLine&version=6.2.0 #load utils.cake ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Re...
apache-2.0
C#
0dc212cd1ead3e4ae962fac5af30860884435dd7
Update sentry dsn
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs
osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs
using System; using System.Collections.Generic; using osu_StreamCompanion.Code.Helpers; using Sentry; using StreamCompanionTypes.Enums; using StreamCompanionTypes.Interfaces.Services; namespace osu_StreamCompanion.Code.Core.Loggers { public class SentryLogger : IContextAwareLogger { public static stri...
using System; using System.Collections.Generic; using osu_StreamCompanion.Code.Helpers; using Sentry; using StreamCompanionTypes.Enums; using StreamCompanionTypes.Interfaces.Services; namespace osu_StreamCompanion.Code.Core.Loggers { public class SentryLogger : IContextAwareLogger { public static stri...
mit
C#
26ec3a76a72f58f1f682780fd18c565ad48b9d41
enable JSONP
melvinlee/nancy-api,melvinlee/nancy-api
src/nancy-api/Bootstrapper.cs
src/nancy-api/Bootstrapper.cs
using Nancy; using NancyApi.Repository; namespace NancyApi { public class Bootstrapper : DefaultNancyBootstrapper { // The bootstrapper enables you to reconfigure the composition of the framework, // by overriding the various methods and properties. // For more information https://gith...
using Nancy; using NancyApi.Repository; namespace NancyApi { public class Bootstrapper : DefaultNancyBootstrapper { // The bootstrapper enables you to reconfigure the composition of the framework, // by overriding the various methods and properties. // For more information https://gith...
mit
C#
3769a70101793714455571d5991ea7b8917dfc4d
prepare for release
bjartebore/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,yamamoWorks...
src/ADAL.Common/CommonAssemblyInfo.cs
src/ADAL.Common/CommonAssemblyInfo.cs
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
mit
C#
e48c8ad0c07f14bd96cb755be61a29c9e301f3b3
Fix incorrect file path in benchmarks
nickbabcock/Pfim,nickbabcock/Pfim
src/Pfim.Benchmarks/TargaBenchmark.cs
src/Pfim.Benchmarks/TargaBenchmark.cs
using System.IO; using BenchmarkDotNet.Attributes; using FreeImageAPI; using ImageMagick; using DS = DevILSharp; namespace Pfim.Benchmarks { public class TargaBenchmark { [Params("true-32-rle-large.tga", "true-24-large.tga", "true-24.tga", "true-32-rle.tga", "rgb24_top_left.tga")] public strin...
using System.IO; using BenchmarkDotNet.Attributes; using FreeImageAPI; using ImageMagick; using DS = DevILSharp; namespace Pfim.Benchmarks { public class TargaBenchmark { [Params("true-32-rle-large.tga", "true-24-large.tga", "true-24.tga", "true-32-rle.tga", "rgb24_top_left")] public string Pa...
mit
C#
0731762a7b2e7ec5b6bfabe5ba162aca873fcc4c
Update the generics test
jonathanvdc/ecsc
tests/cs/generics/Generics.cs
tests/cs/generics/Generics.cs
using System; public struct Vector2<T> { public Vector2(T X, T Y) { this.X = X; this.Y = Y; } public T X, Y; public override bool Equals(object obj) { return obj is Vector2<T> && object.Equals(X, ((Vector2<T>)obj).X) && object.Equals(Y, ((Vector...
using System; public struct Vector2<T> { public Vector2(T X, T Y) { this.X = X; this.Y = Y; } public T X, Y; } public static class Program { public static void Main() { var vec = default(Vector2<int>); vec.X = 3; vec.Y = 4; Console.WriteLine(vec...
mit
C#
4071dd3e9d2fa97c94ebbf56be9dd0618e0b6193
Use <Title in about page.
maraf/Money,maraf/Money,maraf/Money
src/Money.UI.Blazor/Pages/About.cshtml
src/Money.UI.Blazor/Pages/About.cshtml
@page "/about" @inject Navigator Navigator <Title Main="Money" Sub="Nepuo" /> <p class="gray"> v@(typeof(About).Assembly.GetName().Version.ToString(3)) </p> <p> <a target="_blank" href="@Navigator.UrlMoneyProject()">Documentation</a> </p> <p> <a target="_blank" href="@Navigator.UrlMoneyProjectIssueNew()"...
@page "/about" @inject Navigator Navigator <h1>Money</h1> <h4>Neptuo</h4> <p class="gray"> v@(typeof(About).Assembly.GetName().Version.ToString(3)) </p> <p> <a target="_blank" href="@Navigator.UrlMoneyProject()">Documentation</a> </p> <p> <a target="_blank" href="@Navigator.UrlMoneyProjectIssueNew()">Repo...
apache-2.0
C#
5b8b4d49ab0da5a3fdb3959087af593d75d820aa
Rename method as it doesn't follow the try-pattern
SonarSource-VisualStudio/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,duncanpMS/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,SonarSource/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,SonarSource-DotNet/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource-Vi...
src/SonarScanner.Shim/ProjectLoader.cs
src/SonarScanner.Shim/ProjectLoader.cs
/* * SonarQube Scanner for MSBuild * Copyright (C) 2016-2018 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * versio...
/* * SonarQube Scanner for MSBuild * Copyright (C) 2016-2018 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * versio...
mit
C#
8778973894df902be847de08292ec300538d276d
change assembly info
FreyYa/KCVAutoUpdater
AutoUpdater/Properties/AssemblyInfo.cs
AutoUpdater/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다. // 어셈블리와 관련된 정보를 수정하려면 // 이 특성 값을 변경하십시오. [assembly: AssemblyTitle("제독업무도 바빠! 자동 업데이트 프로그램")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("KCVkr.Tistory.com")] [a...
using System.Reflection; using System.Runtime.InteropServices; // 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다. // 어셈블리와 관련된 정보를 수정하려면 // 이 특성 값을 변경하십시오. [assembly: AssemblyTitle("제독업무도 바빠! 자동 업데이트 프로그램")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Kancolleviewerkr.tk")] ...
mit
C#
94e03013aa8396dcb3642f85a969341272b0c75d
Remove unused event (CS0067 warning)
Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK
tools/tracer/gui/EtlToTextConverter.cs
tools/tracer/gui/EtlToTextConverter.cs
/* ****************************************************************************** *\ INTEL CORPORATION PROPRIETARY INFORMATION This software is supplied under the terms of a license agreement or nondisclosure agreement with Intel Corporation and may not be copied or disclosed except in accordance with the terms of th...
/* ****************************************************************************** *\ INTEL CORPORATION PROPRIETARY INFORMATION This software is supplied under the terms of a license agreement or nondisclosure agreement with Intel Corporation and may not be copied or disclosed except in accordance with the terms of th...
mit
C#
2221797273d704a2d562467790ba4b251397a1a6
Add transform sequence support to IHasAccentColour.
Damnae/osu,peppy/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,Nabile-Rahmani/osu,UselessToucan/osu,ZLima12/osu,naoey/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,naoey/osu,DrabWeb/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu-new,2yangk23/osu,naoey/osu,ppy/osu,smoogipoo/osu,DrabWeb/osu,...
osu.Game/Graphics/IHasAccentColour.cs
osu.Game/Graphics/IHasAccentColour.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Transforms; namespace osu.Game.Graphics { /// <summary> /// A type ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Transforms; namespace osu.Game.Graphics { /// <summary> /// A type ...
mit
C#
21934c312ce7ed1584e4c74a7ec7be30834e03c0
Remove ResultConsistencyLong test - duplicate of ResultConsistencyAsHashAlgorithm
force-net/Crc32.NET
Crc32.NET.Tests/ImplementationTest.cs
Crc32.NET.Tests/ImplementationTest.cs
using System; using System.Linq; using System.Text; using NUnit.Framework; using E = Crc32.Crc32Algorithm; namespace Force.Crc32.Tests { [TestFixture] public class ImplementationTest { [TestCase("Hello", 3)] [TestCase("Nazdar", 0)] [TestCase("Ahoj", 1)] [TestCase("Very long text.Very long text.Very long ...
using System; using System.Linq; using System.Text; using NUnit.Framework; using E = Crc32.Crc32Algorithm; namespace Force.Crc32.Tests { [TestFixture] public class ImplementationTest { [TestCase("Hello", 3)] [TestCase("Nazdar", 0)] [TestCase("Ahoj", 1)] [TestCase("Very long text.Very long text.Very long ...
mit
C#
853b9a476c17c9f0b7f30f2907245cd78a5d6fe7
Update FibonacciNumbers.cs
DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges
Fibonacci_Numbers/FibonacciNumbers.cs
Fibonacci_Numbers/FibonacciNumbers.cs
using System; namespace FibonacciNumbers { class MainClass { public static void Main(string[] args) { if (args.Length != 3) { Console.WriteLine("This program requires 2 starting integers, and the max terms to count!\n"); Environment.Exit(0); } int start1 = Convert.ToInt32(args[0]); int st...
using System; namespace EvenFibonacciNumbers { class MainClass { public static void Main(string[] args) { if (args.Length != 3) { Console.WriteLine("This program requires 2 starting integers, and the max terms to count!\n"); Environment.Exit(0); } int start1 = Convert.ToInt32(args[0]); in...
unlicense
C#
fd8bd8e837fd0ffa793b9e04e28748e4e2794097
Update version
scottlerch/StorageUsageReporter,scottlerch/StorageUsageReporter
StorageUsageReporter/Properties/AssemblyInfo.cs
StorageUsageReporter/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("StorageUsageReporter")] [assembly: Assemb...
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("StorageUsageReporter")] [assembly: Assemb...
apache-2.0
C#
712bc12c4590aabfd584f3e76c47dbfa644459d9
Update AssemblyInfo.cs
ahmadnazir/sdk-net,Penneo/sdk-net,ahmadnazir/sdk-net,Penneo/sdk-net
Src/Penneo/Properties/AssemblyInfo.cs
Src/Penneo/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("P...
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("P...
apache-2.0
C#
db6cab31cc6e7801f7534e1ab3723cec014b56a2
修正发牌器计算概率的 Bug
Ivony/TableGames
Ivony.TableGame.Core/UnlimitedCardDealer.cs
Ivony.TableGame.Core/UnlimitedCardDealer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ivony.TableGame { /// <summary> /// 定义一个无限卡牌发牌器 /// </summary> public class UnlimitedCardDealer : CardDealer { private List<RegisteredCard> list = new List<RegisteredCard>(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ivony.TableGame { /// <summary> /// 定义一个无限卡牌发牌器 /// </summary> public class UnlimitedCardDealer : CardDealer { private List<RegisteredCard> list = new List<RegisteredCard>(); ...
apache-2.0
C#
ea4f0b252892bfb5391d3e11051d51da2e984c06
Revert changing the app data directory for the portable version, we'd have to deal with relative paths which gets weird quickly
flagbug/Espera,punker76/Espera
Espera.Core/AppInfo.cs
Espera.Core/AppInfo.cs
using System; using System.IO; using System.Reflection; namespace Espera.Core { public static class AppInfo { /// <summary> /// Returns a value whether this application is portable or not. The application is portable /// if a file with the name "PORTABLE" is present in the <see cref="A...
using System; using System.IO; using System.Reflection; namespace Espera.Core { public static class AppInfo { /// <summary> /// Returns a value whether this application is portable or not. The application is portable /// if a file with the name "PORTABLE" is present in the <see cref="A...
mit
C#
d7e2048b9bcfb51d3de2e4d97840577cc8c75396
Set port to -1 if port is 80
timgranstrom/JabbR,JabbR/JabbR,timgranstrom/JabbR,LookLikeAPro/JabbR,CrankyTRex/JabbRMirror,e10/JabbR,M-Zuber/JabbR,yadyn/JabbR,lukehoban/JabbR,SonOfSam/JabbR,fuzeman/vox,lukehoban/JabbR,AAPT/jean0226case1322,18098924759/JabbR,LookLikeAPro/JabbR,meebey/JabbR,mzdv/JabbR,CrankyTRex/JabbRMirror,e10/JabbR,borisyankov/JabbR...
JabbR/Middleware/RequireHttpsHandler.cs
JabbR/Middleware/RequireHttpsHandler.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Owin; namespace JabbR.Middleware { using AppFunc = Func<IDictionary<string, object>, Task>; public class RequireHttpsHandler { private readonly AppFunc _next; public RequireHttps...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Owin; namespace JabbR.Middleware { using AppFunc = Func<IDictionary<string, object>, Task>; public class RequireHttpsHandler { private readonly AppFunc _next; public RequireHttps...
mit
C#
9a98d60e0568bc483c6663a60d75de468fad630f
Fix comment
KriBetko/KryBot
src/KryBot.Core/Helpers/FileHelper.cs
src/KryBot.Core/Helpers/FileHelper.cs
using System; using System.IO; using System.Windows.Forms; using System.Xml.Serialization; namespace KryBot.Core.Helpers { public static class FileHelper { /// <summary> /// Trying to write (serialize) object to file. /// </summary> /// <returns> /// If writing is successful, returns true, otherwise fals...
using System; using System.IO; using System.Windows.Forms; using System.Xml.Serialization; namespace KryBot.Core.Helpers { public static class FileHelper { /// <summary> /// Trying to write (serialize) object to file. /// </summary> /// <returns> /// If write is successful, returns true, otherwise false....
apache-2.0
C#
36abe386a1d6d9d36fc62d9e5d938fe96cd824e5
Add GetExtent to viewport extensions
charlenni/Mapsui,charlenni/Mapsui
Mapsui/Extensions/ViewportExtensions.cs
Mapsui/Extensions/ViewportExtensions.cs
using Mapsui.Utilities; using System; using System.Collections.Generic; using System.Text; namespace Mapsui.Extensions { public static class ViewportExtensions { /// <summary> /// True if Width and Height are not zero /// </summary> public static bool HasSize(this IReadOnlyView...
using Mapsui.Utilities; using System; using System.Collections.Generic; using System.Text; namespace Mapsui.Extensions { public static class ViewportExtensions { /// <summary> /// True if Width and Height are not zero /// </summary> public static bool HasSize(this IReadOnlyView...
mit
C#
9f8fb6c0110c6aa3b26bb6067bbc7e1de6b51ee3
Fix release build failure on Xamarin.
modulexcite/msgpack-cli,msgpack/msgpack-cli,modulexcite/msgpack-cli,undeadlabs/msgpack-cli,undeadlabs/msgpack-cli,msgpack/msgpack-cli
src/MsgPack.Xamarin.iOS/MPContract.cs
src/MsgPack.Xamarin.iOS/MPContract.cs
#region -- License Terms -- // MessagePack for CLI // // Copyright (C) 2015 FUJIWARA, Yusuke // // 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.apa...
#region -- License Terms -- // MessagePack for CLI // // Copyright (C) 2015 FUJIWARA, Yusuke // // 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.apa...
apache-2.0
C#
e66a15e653b7cfa8214ec77d222cb2d82de89e94
Change guild permissions to have ReadGuildConfig when ViewAuditLog is true.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
MitternachtWeb/Models/PagePermission.cs
MitternachtWeb/Models/PagePermission.cs
using Discord; using System; namespace MitternachtWeb.Models { [Flags] public enum BotLevelPermission { None = 0b_0000, ReadBotConfig = 0b_0001, WriteBotConfig = 0b_0011, ReadAllGuildConfigs = 0b_0100, WriteAllGuildConfigs = 0b_1100, All = 0b_1111, } [Fl...
using Discord; using System; namespace MitternachtWeb.Models { [Flags] public enum BotLevelPermission { None = 0b_0000, ReadBotConfig = 0b_0001, WriteBotConfig = 0b_0011, ReadAllGuildConfigs = 0b_0100, WriteAllGuildConfigs = 0b_1100, All = 0b_1111, } [Fl...
mit
C#
ec9a25234316acfc98bafef12d42880e8c48f4af
Use ParallelEnumerable in puzzle 10
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle010.cs
src/ProjectEuler/Puzzles/Puzzle010.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; using System.Linq; /// <summary> /// A class representing the sol...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; using System.Linq; /// <summary> /// A class representing the sol...
apache-2.0
C#
5f744dccfbbadf24b9c253b76146a0648add0d29
Remove .NET 3.5 conditionals from framework code
nunit/nunit-console,nunit/nunit-console,nunit/nunit-console
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
// *********************************************************************** // Copyright (c) 2014 Charlie Poole // // 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, inclu...
// *********************************************************************** // Copyright (c) 2014 Charlie Poole // // 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, inclu...
mit
C#
403f5c21520e7696d17c65d0d3eff22a9c73dffe
Increment version
kamranayub/cassette-sri,kamranayub/cassette-sri
src/SharedAssemblyInfo.cs
src/SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Cassette.SubresourceIntegrity")] [assembly: AssemblyDescription("Extension for Cassette that adds Subresource Integrity (SRI) hashing to script and stylesheet assets")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCom...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Cassette.SubresourceIntegrity")] [assembly: AssemblyDescription("Extension for Cassette that adds Subresource Integrity (SRI) hashing to script and stylesheet assets")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCom...
mit
C#
12400b6d65e7b227bd654539a526ee4fda9c6cb1
Increase version number
HenriqueCaires/ZabbixApi,HenriqueCaires/ZabbixApi,dominicx/ZabbixApi
src/ZabbixApi/Properties/AssemblyInfo.cs
src/ZabbixApi/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("Za...
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("Za...
mit
C#
8f30013bcd97067b24edb600206035574c164f98
Comment RPGStatType
jkpenner/RPGSystemTutorial
Assets/Scripts/RPGSystems/RPGStatType.cs
Assets/Scripts/RPGSystems/RPGStatType.cs
using UnityEngine; using System.Collections; /// <summary> /// Used to list off all stats that can be used /// within the RPGStatCollection class /// </summary> public enum RPGStatType { None = 0, Health = 1, Mana = 2, Stamina = 10, Wisdom = 11, }
using UnityEngine; using System.Collections; public enum RPGStatType { None = 0, Health = 1, Mana = 2, Stamina = 10, Wisdom = 11, }
mit
C#
a8177e2fc32045ebedc4995a22f09296d0a3662f
Fix misspelling
Wyamio/Wyam.Web,Wyamio/Wyam.Web
input/recipes/booksite/pipelines.cshtml
input/recipes/booksite/pipelines.cshtml
Order: 4 Description: The pipelines involved in the recipe and what they do. --- <p>The following pipelines are defined for this recipe and are executed in the order below. You can extend or adjust the recipe by <a href="/docs/concepts/recipes#pipelines">modifying these pipelines and/or by creating new pipelines</a>.</...
Order: 4 Description: The pipelines involved in the recipe and what they do. --- <p>The following pipelines are defined for this recipe and are executed in the order below. You can extend or adjust the recipe by <a href="/docs/concepts/recipes#pipelines">modiying these pipelines and/or by creating new pipelines</a>.</p...
mit
C#
8c6289f51959845b93fdf0911d270afc3a77e0ea
Update AssemblyInfo.cs
MasterDevs/Clippy
Clippy/Clippy/Properties/AssemblyInfo.cs
Clippy/Clippy/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("Ma...
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("Ma...
mit
C#
ae89b81ba21e41fa7ff22788f5e8b72d2e095410
Remove unused variable compiler warning when building release build.
blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon
Compiler/Common/SourceDirectoryFinder.cs
Compiler/Common/SourceDirectoryFinder.cs
using CommonUtil.Disk; namespace Common { public static class SourceDirectoryFinder { private static string crayonSourceDirectoryCached = null; public static string CrayonSourceDirectory { // Presumably running from source. Walk up to the root directory and find th...
using CommonUtil.Disk; namespace Common { public static class SourceDirectoryFinder { private static string crayonSourceDirectoryCached = null; public static string CrayonSourceDirectory { // Presumably running from source. Walk up to the root directory and find th...
mit
C#
228625ce3affb90ec4d23aa9959baadca11fa0e3
Add DictionaryUtility.GetOrAddValue
SaberSnail/GoldenAnvil.Utility
GoldenAnvil.Utility/DictionaryUtility.cs
GoldenAnvil.Utility/DictionaryUtility.cs
using System; using System.Collections.Generic; namespace GoldenAnvil.Utility { public static class DictionaryUtility { public static TValue GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) { dictionary.TryGetValue(key, out TValue value); return value; } public sta...
using System; using System.Collections.Generic; namespace GoldenAnvil.Utility { public static class DictionaryUtility { public static TValue GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) { TValue value; dictionary.TryGetValue(key, out value); return value; } ...
mit
C#
2b78c64d587378509080baa8e01392b084e4008a
Sort numbers before display.
TimCollins/Reddit.DailyProgrammer
src/12-Int-Factors/Program.cs
src/12-Int-Factors/Program.cs
using System; using System.Text; using Util; namespace _12_Int_Factors { class Program { static void Main(string[] args) { Console.Write("Please enter a number to display factors for.\n> "); var input = Convert.ToInt32(Console.ReadLine()); var factors = new ...
using System; using System.Text; using Util; namespace _12_Int_Factors { class Program { static void Main(string[] args) { Console.Write("Please enter a number to display factors for.\n> "); var input = Convert.ToInt32(Console.ReadLine()); var factors = new ...
mit
C#
7c43f1719ef5afc084637bff65031ba883f29c5c
Remove manual DI configuration for node in RPC
Aprogiena/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,Aprogiena/StratisBitc...
Stratis.Bitcoin/RPC/WebHostExtensions.cs
Stratis.Bitcoin/RPC/WebHostExtensions.cs
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Stratis.Bitcoin.Miner; using Stratis.Bitcoin.RPC.ModelBinders; using Stratis.Bitcoin.Wallet; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Stratis.Bitcoin.RPC { pu...
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Stratis.Bitcoin.Miner; using Stratis.Bitcoin.RPC.ModelBinders; using Stratis.Bitcoin.Wallet; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Stratis.Bitcoin.RPC { pu...
mit
C#
96a764105e9d073ffe95b902a7f9a6629ab1c53c
Update Manifest.cs (#1536)
xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brocha...
src/OrchardCore.Modules/OrchardCore.Media.Azure/Manifest.cs
src/OrchardCore.Modules/OrchardCore.Media.Azure/Manifest.cs
using OrchardCore.Modules.Manifest; [assembly: Module( Name = "Microsoft Azure Media", Author = "The Orchard Team", Website = "http://orchardproject.net", Version = "2.0.0" )] [assembly: Feature( Id = "OrchardCore.Media.Azure.Storage", Name = "Azure Media Storage", Description = "Enables s...
using OrchardCore.Modules.Manifest; [assembly: Module( Name = "Microsoft Azure Media", Author = "The Orchard Team", Website = "http://orchardproject.net", Version = "2.0.0" )] [assembly: Feature( Id = "OrchardCore.Media.Azure", Name = "Azure Media Storage", Description = "Enables support f...
bsd-3-clause
C#
e72a82658c4bb96b0f3886e7436a839d5d651d6c
use HttpClient instead of WebClient
negator92/dnget
Program.cs
Program.cs
using System; using System.IO; using System.Net.Http; using System.Threading.Tasks; namespace dnget { internal static class Program { private const int BufferSize = 256; private static void Main() { Console.WriteLine("Enter source url: "); string remote...
using System; using System.ComponentModel; using System.Net; namespace dnget { internal static class Program { private static void Main() { Console.WriteLine("Enter source url: "); string remoteUri = Console.ReadLine(); Console.WriteLine("Enter file.name: ")...
mit
C#
548291b06e8263d12173cdaa2bcdbbfaa05100d0
Use a well-known ReSharper simplification which I think ought to be OK in this case.
ruisebastiao/CefSharp,ITGlobal/CefSharp,VioletLife/CefSharp,AJDev77/CefSharp,ruisebastiao/CefSharp,rlmcneary2/CefSharp,VioletLife/CefSharp,rover886/CefSharp,rover886/CefSharp,Haraguroicha/CefSharp,jamespearce2006/CefSharp,NumbersInternational/CefSharp,illfang/CefSharp,Octopus-ITSM/CefSharp,yoder/CefSharp,ITGlobal/CefSh...
CefSharp/Internals/JavascriptMember.cs
CefSharp/Internals/JavascriptMember.cs
using System.Runtime.Serialization; namespace CefSharp.Internals { [KnownType(typeof(JavascriptMethod))] [KnownType(typeof(JavascriptProperty))] [DataContract] public class JavascriptMember { [DataMember] public JavascriptMemberDescription Description { get; set; } [DataM...
using System.Runtime.Serialization; namespace CefSharp.Internals { [KnownType(typeof(JavascriptMethod))] [KnownType(typeof(JavascriptProperty))] [DataContract] public class JavascriptMember { [DataMember] public JavascriptMemberDescription Description { get; set; } [DataM...
bsd-3-clause
C#
ce7ec6f1689e0df4edbc0825c4cf11b25e476222
Update version
AppiePau/devshed,AppiePau/devshed-tools
Devshed.Web/Properties/AssemblyInfo.cs
Devshed.Web/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("De...
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("De...
mit
C#
601dc46ea34dc851e02428d6fb17b74d6c86d3e9
Bump version
kerzyte/OWLib,overtools/OWLib
PackageTool/Properties/AssemblyInfo.cs
PackageTool/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("Pa...
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("Pa...
mit
C#
f8f5162005ff6837e6504f6f5ac847e224f0dea1
Remove unhelpful line of code.
crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin
SignInCheckIn/SignInCheckIn/Startup.cs
SignInCheckIn/SignInCheckIn/Startup.cs
using System; using Microsoft.AspNet.SignalR; using Microsoft.Owin; using Microsoft.Owin.Cors; using Owin; [assembly: OwinStartup(typeof(SignInCheckIn.Startup))] [assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", Watch = true)] namespace SignInCheckIn { public class Startup { pub...
using System; using Microsoft.AspNet.SignalR; using Microsoft.Owin; using Microsoft.Owin.Cors; using Owin; [assembly: OwinStartup(typeof(SignInCheckIn.Startup))] [assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config", Watch = true)] namespace SignInCheckIn { public class Startup { pub...
bsd-2-clause
C#
40c6574694bdad551e1de47259581ca1eeb66d44
bump logging version
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.Common/Logging/LoggingConfig.cs
WebAPI.Common/Logging/LoggingConfig.cs
using System.IO; using System.Web; using Serilog; using Serilog.Core; using Serilog.Events; using Serilog.Sinks.Email; using Serilog.Sinks.GoogleCloudLogging; namespace WebAPI.Common.Logging { public static class LoggingConfig { public static void Register(string name) { var config...
using System.IO; using System.Web; using Serilog; using Serilog.Core; using Serilog.Events; using Serilog.Sinks.Email; using Serilog.Sinks.GoogleCloudLogging; namespace WebAPI.Common.Logging { public static class LoggingConfig { public static void Register(string name) { var config...
mit
C#
fc79eac727986a61b7545a0dc255e2caf03b312f
Fix compiler error in latest Xamarin.Android
jonathanpeppers/XamChat
XamChat.Droid/Utilities/PushService.cs
XamChat.Droid/Utilities/PushService.cs
using System; using Android.App; using Android.Content; using PushSharp.Client; using XamChat.Core; namespace XamChat.Droid { [Service] public class PushHandlerService : PushHandlerServiceBase { public PushHandlerService() : base (PushConstants.ProjectNumber) { } protected async override void OnRegistered(...
using System; using Android.App; using Android.Content; using PushSharp.Client; using XamChat.Core; namespace XamChat.Droid { [Service] public class PushHandlerService : PushHandlerServiceBase { public PushHandlerService() : base (PushConstants.ProjectNumber) { } protected async override void OnRegistered(...
apache-2.0
C#
7ed9fbb9ed12313636be6e86c4dde61a1e92b72b
Add main
HelloKitty/Booma.Proxy
tests/Booma.Proxy.TestClient/Program.cs
tests/Booma.Proxy.TestClient/Program.cs
namespace Booma.Proxy.TestClient { class Program { public static void Main(string[] args) { } } }

agpl-3.0
C#
d8d8d3c0f158d9619b32c5240e67651f8d48e7a3
Fix configuration registration
Vtek/FacesToSmileys
FacesToSmileys/App.cs
FacesToSmileys/App.cs
using Autofac; using FacesToSmileys.Views; using FacesToSmileys.ViewModels; using Xamarin.Forms; using FacesToSmileys.Services.Implementations; using FacesToSmileys.Services; namespace FacesToSmileys { public class App : Application { public App() { var builder = new ContainerBuild...
using Autofac; using FacesToSmileys.Views; using FacesToSmileys.ViewModels; using Xamarin.Forms; using FacesToSmileys.Services.Implementations; using FacesToSmileys.Services; namespace FacesToSmileys { public class App : Application { public App() { var builder = new ContainerBuild...
mit
C#
6a587e18a17f2e9aa0091180698c8b525e49e6c1
Read dependencies from XML parser
SceneGate/Yarhl
FileInfoCollection.cs
FileInfoCollection.cs
// // FileInfoCollection.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2014 Benito Palacios Sánchez // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software...
// // FileInfoCollection.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2014 Benito Palacios Sánchez // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software...
mit
C#
555996b133cf1ebce62a70c771df5059957a0512
Remove test fire schedule for eval due
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Jobs/JobHandler.cs
Battery-Commander.Web/Jobs/JobHandler.cs
using FluentScheduler; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Logging; using System; namespace BatteryCommander.Web.Jobs { internal static class JobHandler { public static void UseJobScheduler(this IApplicationBuilder app, ILoggerFactory loggerFactory) { var...
using FluentScheduler; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Logging; using System; namespace BatteryCommander.Web.Jobs { internal static class JobHandler { public static void UseJobScheduler(this IApplicationBuilder app, ILoggerFactory loggerFactory) { var...
mit
C#
fa20a8e40c24f03a5eae4ab9a4f67d25dd0b551b
Add test for #1. Cleanup tests.
slahn/nonin
Nonin.Tests/Parsing.cs
Nonin.Tests/Parsing.cs
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nonin.Tests { [TestFixture] public class Parsing { [Test] public void EdgeCases() { // Issue #1 var tc1854 =...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nonin.Tests { [TestFixture] public class Parsing { [Test] public void AllParsingTests() { foreach (var n in TestData.All...
mit
C#
e15467d4e95f92c0f105c99a19c870aa877cf7a9
Fix build
Fody/LoadAssembliesOnStartup
build.cake
build.cake
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "LoadAssembliesOnStartup.Fody"; Parameters["Company"] = "Fody"; Para...
//======================================================= // DEFINE PARAMETERS //======================================================= // Define the required parameters var Parameters = new Dictionary<string, object>(); Parameters["SolutionName"] = "LoadAssembliesOnStartup.Fody"; Parameters["Company"] = "Fody"; Para...
mit
C#
1f13b94c729302707b59e60cbd84073708e16a28
Fix build error
smoogipooo/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,ZLima12/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,peppy/osu-new,smoogipoo/osu...
osu.Game/Rulesets/Mods/ModBlockFail.cs
osu.Game/Rulesets/Mods/ModBlockFail.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.Bindables; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Screens.Play; namespace osu.Game.Rulesets.Mods { public abs...
// 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.Bindables; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Screens.Play; namespace osu.Game.Rulesets.Mods { public abs...
mit
C#
7e009f616845718cc124c68b900ad4c57382a7fe
Add full xmldoc
NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu
osu.Game/Screens/Play/GameplayState.cs
osu.Game/Screens/Play/GameplayState.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Bindables; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Rulesets.Judgements; using osu.Game.Rule...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Bindables; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Rulesets.Judgements; using osu.Game.Rule...
mit
C#
67b58f88331085602cb74c007f20dcd0c4d73e60
Update assembly info - copyright date
JeremyAnsel/helix-toolkit,holance/helix-toolkit,helix-toolkit/helix-toolkit,chrkon/helix-toolkit
Source/AssemblyInfo.cs
Source/AssemblyInfo.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalAssemblyInfo.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // -------------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GlobalAssemblyInfo.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // -------------------------------------------------------------...
mit
C#
a0475081406b0d283af3f6cf7ab9320bdcb5816a
use ConditionalWeakTable in a thread-safe manner
AngleSharp/AngleSharp.Scripting,AngleSharp/AngleSharp.Scripting
src/AngleSharp.Scripting.JavaScript/ReferenceCache.cs
src/AngleSharp.Scripting.JavaScript/ReferenceCache.cs
namespace AngleSharp.Scripting.JavaScript { using System; using System.Runtime.CompilerServices; sealed class ReferenceCache { private readonly ConditionalWeakTable<Object, DomNodeInstance> _references; public ReferenceCache() { _references = new ConditionalWeakTab...
namespace AngleSharp.Scripting.JavaScript { using System; using System.Runtime.CompilerServices; sealed class ReferenceCache { private readonly ConditionalWeakTable<Object, DomNodeInstance> _references; public ReferenceCache() { _references = new ConditionalWeakTab...
mit
C#
398fcdd47047570b8d4a0dc1c2aad1e0a8374061
Support for interval schedule
CSGOpenSource/elasticsearch-watcher-net,CSGOpenSource/elasticsearch-watcher-net,aochsner/elasticsearch-watcher-net,aochsner/elasticsearch-watcher-net
src/Nest.Watcher/Domain/Schedule/ScheduleContainer.cs
src/Nest.Watcher/Domain/Schedule/ScheduleContainer.cs
using Nest.Resolvers.Converters; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nest { [JsonObject] [JsonConverter(typeof(ReadAsTypeConverter<ScheduleContainer>))] public interface IScheduleContainer : INestSerializable { [JsonProperty("dai...
using Nest.Resolvers.Converters; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nest { [JsonObject] [JsonConverter(typeof(ReadAsTypeConverter<ScheduleContainer>))] public interface IScheduleContainer : INestSerializable { [JsonProperty("dai...
apache-2.0
C#
cfe6112fbf3f3aa838df2b9151f0c62fdfe9d856
Update NewTask.cs
rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rab...
dotnet/NewTask/NewTask.cs
dotnet/NewTask/NewTask.cs
using System; using RabbitMQ.Client; using System.Text; class NewTask { public static void Main(string[] args) { var factory = new ConnectionFactory() { HostName = "localhost" }; using(var connection = factory.CreateConnection()) using(var channel = connection.CreateModel()) { ...
using System; using RabbitMQ.Client; using System.Text; class NewTask { public static void Main(string[] args) { var factory = new ConnectionFactory() { HostName = "localhost" }; using(var connection = factory.CreateConnection()) using(var channel = connection.CreateModel()) { ...
apache-2.0
C#
eb93d800c24e5a542fe6b256079002d2a1f831f1
Update PointerProfileTests.cs
DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MRTK/Tests/PlayModeTests/PointerProfileTests.cs
Assets/MRTK/Tests/PlayModeTests/PointerProfileTests.cs
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Input; using NUnit.Framework; using System.Collections; using UnityEditor; using UnityEngine.TestTools; namespace Microsoft.MixedReality.Toolkit.Tests { class PointerProfileTests { // Asset...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Input; using NUnit.Framework; using System.Collections; using UnityEditor; using UnityEngine.TestTools; namespace Microsoft.MixedReality.Toolkit.Tests { class PointerProfileTests { // Asset...
mit
C#
d50fb51d8847f6c01630c0a5e26e4a7574db21ba
remove unused ns
Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore
test/JsonApiDotNetCoreExampleTests/Acceptance/Extensibility/CustomErrorTests.cs
test/JsonApiDotNetCoreExampleTests/Acceptance/Extensibility/CustomErrorTests.cs
using Newtonsoft.Json; using JsonApiDotNetCore.Internal; using JsonApiDotNetCore.Serialization; using Xunit; namespace JsonApiDotNetCoreExampleTests.Acceptance.Extensibility { public class CustomErrorTests { [Fact] public void Can_Return_Custom_Error_Types() { // arrange ...
using DotNetCoreDocs; using JsonApiDotNetCoreExample; using DotNetCoreDocs.Writers; using Newtonsoft.Json; using JsonApiDotNetCore.Internal; using JsonApiDotNetCore.Serialization; using Xunit; using System.Diagnostics; namespace JsonApiDotNetCoreExampleTests.Acceptance.Extensibility { public class CustomErrorTests...
mit
C#
0b1b1433f057aeacf032c7010ef290f9a8e631df
Clean up UserController.cs
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
src/AtomicChessPuzzles/Controllers/UserController.cs
src/AtomicChessPuzzles/Controllers/UserController.cs
using AtomicChessPuzzles.DbRepositories; using Microsoft.AspNet.Mvc; using System; namespace AtomicChessPuzzles.Controllers { public class UserController : Controller { IUserRepository userRepository; public UserController(IUserRepository _userRepository) { userRepository ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Http.Internal; using AtomicChessPuzzles.DbRepositories; namespace AtomicChessPuzzles.Controllers { public class UserController : Controller { IUserReposit...
agpl-3.0
C#
66b50dcefa3ec254912c0ade132fcaa7ddd25396
Add missing GuardianFactor names
auth0/auth0.net,auth0/auth0.net
src/Auth0.ManagementApi/Models/GuardianFactorName.cs
src/Auth0.ManagementApi/Models/GuardianFactorName.cs
using System.Runtime.Serialization; namespace Auth0.ManagementApi.Models { public enum GuardianFactorName { [EnumMember(Value = "sms")] Sms, [EnumMember(Value = "push-notification")] PushNotifications, [EnumMember(Value = "email")] Email, [EnumMember(...
using System.Runtime.Serialization; namespace Auth0.ManagementApi.Models { public enum GuardianFactorName { [EnumMember(Value = "sms")] Sms, [EnumMember(Value = "push-notification")] PushNotifications } }
mit
C#
ad668af283ac619c0076766ba0db0df83aaf06f7
Fix a build break (#51963)
mavasani/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,sharwell/roslyn,physhi/roslyn,physhi/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,wvdd007/roslyn,wvdd007/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,eriawan/ros...
src/Compilers/Core/RebuildTest/CSharpRebuildTests.cs
src/Compilers/Core/RebuildTest/CSharpRebuildTests.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.Immutable; using System.Linq; using System.Reflection.PortableExecutable; using BuildValid...
// 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.Immutable; using System.Linq; using System.Reflection.PortableExecutable; using BuildValid...
mit
C#
ed49827cf329ae76ac5341772ae093ea5d00c6c2
Fix Razor tag helpers and usings
GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu
src/Dangl.WebDocumentation/Views/_ViewImports.cshtml
src/Dangl.WebDocumentation/Views/_ViewImports.cshtml
@using Dangl.WebDocumentation @using Dangl.WebDocumentation.Models @using Dangl.WebDocumentation.ViewModels.Account @using Dangl.WebDocumentation.ViewModels.Manage @using Microsoft.AspNetCore.Identity @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using Dangl.WebDocumentation @using Dangl.WebDocumentation.Models @using Dangl.WebDocumentation.ViewModels.Account @using Dangl.WebDocumentation.ViewModels.Manage @using Microsoft.AspNet.Identity @addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers" @inject Microsoft.ApplicationInsights.Extensibility.TelemetryConfigurat...
mit
C#
24c42a7dd812429428c4ced79c4a90771ac90f16
Add test for Era.ToString()
jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,jskeet/nodatime,malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime,BenJenkinson/nodatime
src/NodaTime.Test/Calendars/EraTest.cs
src/NodaTime.Test/Calendars/EraTest.cs
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using NodaTime.Calendars; using NodaTime.Globalization; using NUnit.Framework; using System.Collections.Generic; using System.Globalization; using System...
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using NodaTime.Calendars; using NodaTime.Globalization; using NUnit.Framework; using System.Collections.Generic; using System.Globalization; using System...
apache-2.0
C#
da1bc65955b7118d4b38e04cae8a15f41da403d7
tidy up
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Portal.Client.TestHarness/Program.cs
src/SFA.DAS.EAS.Portal.Client.TestHarness/Program.cs
using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using SFA.DAS.EAS.Portal.Client.TestHarness.DependencyResolution; using SFA.DAS.EAS.Portal.Client.TestHarness.Scenarios; using SFA.DAS.EAS.Portal.Client.TestHarness.Startup; using SFA.DAS.EAS.Portal.Startu...
using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using SFA.DAS.EAS.Portal.Client.TestHarness.DependencyResolution; using SFA.DAS.EAS.Portal.Client.TestHarness.Scenarios; using SFA.DAS.EAS.Portal.Client.TestHarness.Startup; using SFA.DAS.EAS.Portal.Startu...
mit
C#
0bc034f6206b6f4049dae95bdb0b87f53c431c5d
fix ctor for stripe payment service test
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
test/Core.Test/Services/StripePaymentServiceTests.cs
test/Core.Test/Services/StripePaymentServiceTests.cs
using System; using Bit.Core.Repositories; using Bit.Core.Services; using Microsoft.Extensions.Logging; using NSubstitute; using Xunit; namespace Bit.Core.Test.Services { public class StripePaymentServiceTests { private readonly StripePaymentService _sut; private readonly ITransactionReposito...
using System; using Bit.Core.Repositories; using Bit.Core.Services; using Microsoft.Extensions.Logging; using NSubstitute; using Xunit; namespace Bit.Core.Test.Services { public class StripePaymentServiceTests { private readonly StripePaymentService _sut; private readonly ITransactionRepositor...
agpl-3.0
C#
ad414a0169b8fc5c9847e0cf66753024fc4bf3d9
Update comment
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Document/Single/Index/ElasticClient-Index.cs
src/Nest/Document/Single/Index/ElasticClient-Index.cs
using System.Threading; using System.Threading.Tasks; namespace Nest { public partial interface IElasticClient { /// <summary> /// Adds or updates a typed JSON document in a specific index, making it searchable. /// <para> </para> /// <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/d...
using System.Threading; using System.Threading.Tasks; namespace Nest { public partial interface IElasticClient { /// <summary> /// Adds or updates a typed JSON document in a specific index, making it searchable. /// <para> </para> /// <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/d...
apache-2.0
C#
657ca1de1c005a9d3d729c928cb912e2ac074c3f
Teste para validação do servidor
nelson1987/MultiCredCard,nelson1987/MultiCredCard
MultiCredCard/MultiCredCard.Domain.Tests/UnitTest1.cs
MultiCredCard/MultiCredCard.Domain.Tests/UnitTest1.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MultiCredCard.Domain.Tests { [TestClass] public class UnitTest1 { [TestMethod] public void TesteValidador() { var um = 1; Assert.AreEqual(um, 1); } [TestMethod] ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MultiCredCard.Domain.Tests { [TestClass] public class UnitTest1 { [TestMethod] public void TesteValidador() { var um = 1; Assert.AreEqual(um, 1); } } }
mit
C#
0173c15944ebf9115770ab6b064f8edc8e31bbc6
Correct addin/extension id
Xavalon/XamlStyler,tmatz/XamlStyler,tmatz/XamlStyler,Xavalon/XamlStyler,Xavalon/XamlStyler
XamlStyler.VisualStudioForMac/Properties/AddinInfo.cs
XamlStyler.VisualStudioForMac/Properties/AddinInfo.cs
using Mono.Addins; using Mono.Addins.Description; [assembly: Addin("XamlStyler", Namespace = "Xavalon", Version = "1.1.2")] [assembly: AddinName("XAML Styler")] [assembly: AddinCategory("IDE extensions")] [assembly: AddinDescription("XAML Styler is a visual studio extension that formats XAML source code based on a s...
using Mono.Addins; using Mono.Addins.Description; [assembly: Addin("XAML Styler", Namespace = "Xavalon", Version = "1.1.2")] [assembly: AddinName("XAML Styler")] [assembly: AddinCategory("IDE extensions")] [assembly: AddinDescription("XAML Styler is a visual studio extension that formats XAML source code based on a ...
apache-2.0
C#
0c112203f796d17515293feb2b9bb2e2bd27f824
remove usings
dlmelendez/identityazuretable,dlmelendez/identityazuretable,dlmelendez/identityazuretable
src/ElCamino.AspNetCore.Identity.AzureTable/Helpers/IAsyncEnumerableExtensions.cs
src/ElCamino.AspNetCore.Identity.AzureTable/Helpers/IAsyncEnumerableExtensions.cs
// MIT License Copyright 2020 (c) David Melendez. All rights reserved. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace ElCamino.AspNetCore.Identity.AzureTable { public static class IAsyncE...
// MIT License Copyright 2020 (c) David Melendez. All rights reserved. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ElCamino.AspNetCore.Identity.AzureT...
mit
C#
43e6ef021473596143883501c47c94cfff77e688
Update ViewComponentContext to respond to changed type
zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype
src/Glimpse.Agent.AspNet/Internal/Inspectors/Mvc/Proxies/IViewComponentContext.cs
src/Glimpse.Agent.AspNet/Internal/Inspectors/Mvc/Proxies/IViewComponentContext.cs
 using System.Collections.Generic; namespace Glimpse.Agent.Internal.Inspectors.Mvc.Proxies { public interface IViewComponentContext { IViewComponentDescriptor ViewComponentDescriptor { get; } IDictionary<string, object> Arguments { get; } } }
 namespace Glimpse.Agent.Internal.Inspectors.Mvc.Proxies { public interface IViewComponentContext { IViewComponentDescriptor ViewComponentDescriptor { get; } object[] Arguments { get; } } }
mit
C#
418838a7fb0e90df9ca50b07bd79f8d14b7a8c53
Convert to minutes in the duration display
jaredpar/jenkins,jaredpar/jenkins,jaredpar/jenkins
Dashboard/Views/Jenkins/JobData.cshtml
Dashboard/Views/Jenkins/JobData.cshtml
@model Dashboard.Models.JobSummary @{ ViewBag.Title = $"{Model.Name} Summary"; var jobs = Model.JobDaySummaryList.OrderBy(x => x.Date); var summaryValues = string.Join( ";", jobs.Select(x => $"{x.Date.ToLocalTime().ToString("yyyy-MM-dd")},{x.Succeeded},{x.Failed},{x.Aborted}")); var ...
@model Dashboard.Models.JobSummary @{ ViewBag.Title = $"{Model.Name} Summary"; var summaryValues = string.Join( ";", Model.JobDaySummaryList.Select(x => $"{x.Date.ToLocalTime().ToString("yyyy-MM-dd")},{x.Succeeded},{x.Failed},{x.Aborted}")); var durationDates = string.Join( ";", ...
apache-2.0
C#
229259f7adf2436e36d42baf00232cbcd31c8dec
Add async where extension
inputfalken/Sharpy
GeneratorAPI/TaskExtensions.cs
GeneratorAPI/TaskExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GeneratorAPI { internal static class TaskExtensions { public static IGenerator<Task<TSource>> Where<TSource>(this IGenerator<Task<TSource>> taskGenerator, Func<TSource,...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GeneratorAPI { internal static class TaskExtensions { } }
mit
C#
893e3cce8c5c29174d9dfd52805229dbc8322d1a
print a message if a unexpected escaped quote is found in arguments
SiskSjet/IngameScriptBuilder
IngameScriptBuilder/Program.cs
IngameScriptBuilder/Program.cs
using System; using System.Linq; namespace IngameScriptBuilder { class Program { static int Main(string[] args) { if (args.Any(x => x.Count(c => c == '\"') % 2 > 0)) { Console.WriteLine("Unexpected excaped quote."); return 1; } try { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.CommandLineUtils; namespace IngameScriptBuilder { class Program { static int Main(string[] args) { try { return new Ap...
mit
C#
90f5727561ac602002ee581f739980e32bbbc0be
Change test to use new button click event
jaquadro/MonoGdx
MonoGdxTests/Tests/TreeTest.cs
MonoGdxTests/Tests/TreeTest.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using MonoGdx.Scene2D; using MonoGdx.Scene2D.UI; using MonoGdx.Scene2D.Utils; using NUnit.Framework; namespace MonoGdxTests.Tests { [TestFixt...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using MonoGdx.Scene2D; using MonoGdx.Scene2D.UI; using MonoGdx.Scene2D.Utils; using NUnit.Framework; namespace MonoGdxTests.Tests { [TestFixt...
apache-2.0
C#
ff5a44df421b467f11264362cd0a81145f348178
Add cache asserts.
Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver
test/AsmResolver.DotNet.Tests/AssemblyResolverTest.cs
test/AsmResolver.DotNet.Tests/AssemblyResolverTest.cs
using System.IO; using AsmResolver.DotNet.Signatures; using AsmResolver.DotNet.TestCases.NestedClasses; using Xunit; namespace AsmResolver.DotNet.Tests { public class AssemblyResolverTest { private readonly SignatureComparer _comparer = new SignatureComparer(); [Fact] publi...
using System.IO; using AsmResolver.DotNet.Signatures; using AsmResolver.DotNet.TestCases.NestedClasses; using Xunit; namespace AsmResolver.DotNet.Tests { public class AssemblyResolverTest { private readonly SignatureComparer _comparer = new SignatureComparer(); [Fact] publi...
mit
C#
b7aec20555092f6f116675d223f8c8c2443bf5be
Remove DirectBufferTests from CI, something strange is happening only from cli.
Spreads/Spreads
tests/Spreads.Core.Tests/Buffers/DirectBufferTests.cs
tests/Spreads.Core.Tests/Buffers/DirectBufferTests.cs
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. using NUnit.Framework; using Spreads.Buffers; using System; using System.Threading; namespace Spreads.Core.Tests.Bu...
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. using NUnit.Framework; using Spreads.Buffers; namespace Spreads.Core.Tests.Buffers { [Category("CI")] [Test...
mpl-2.0
C#
28d79e31efb394968f4afc0a7a92c29a1336fcf1
Add NextAndRemove method to PicMatcher
zaynetro/PicMatcher
PicMatcher/Pages/PicMatcher.cs
PicMatcher/Pages/PicMatcher.cs
using System; using Xamarin.Forms; using System.Threading.Tasks; namespace PicMatcher { public delegate void EventHandler(object sender, EventArgs e); public class PicMatcher : CarouselPage { private Game game; public PicMatcher () { this.Title = "PicMatcher"; // this.Children.Add(new HomePage()); ...
using System; using Xamarin.Forms; namespace PicMatcher { public delegate void EventHandler(object sender, EventArgs e); public class PicMatcher : CarouselPage { private Game game; public PicMatcher () { this.Title = "PicMatcher"; // this.Children.Add(new HomePage()); game = new Game (); this.C...
mit
C#
23306dccca270ec5671a87115c38c7036bb92570
Set Dataset to the Public scope
quandl/quandl-excel-windows
QuandlShared/models/Dataset.cs
QuandlShared/models/Dataset.cs
using System.Collections.Generic; namespace Quandl.Shared.Models { public class Dataset : IDataDefinition, IDataStructure { public string Name { get; set; } public string Code { get { return $"{DatabaseCode}/{DatasetCode}"; } ...
using System.Collections.Generic; namespace Quandl.Shared.Models { class Dataset : IDataDefinition, IDataStructure { public string Name { get; set; } public string Code { get { return $"{DatabaseCode}/{DatasetCode}"; } } ...
mit
C#
e5131400e77d7ba9c213259ad883fc715206b9f7
Remove now unnecessary position manipulation
ppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new
osu.Game.Rulesets.Mania/Edit/ManiaSelectionHandler.cs
osu.Game.Rulesets.Mania/Edit/ManiaSelectionHandler.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Allocation; using osu.Game.Rulesets.Mania.Edit.Blueprints; using osu.Game.Rulesets.Mania.Objects; using osu.Game.Rule...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Allocation; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Mania.Edit.Blueprints; using osu.Game.Rulesets.Mani...
mit
C#
dc208ad399707b7c7ee9810f81f6e730eb9db853
Fix app not fully closing on exit
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/MainWindow.xaml.cs
SteamAccountSwitcher/MainWindow.xaml.cs
#region using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Controls; using SteamAccountswitcher; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> publi...
#region using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Controls; using SteamAccountswitcher; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> publi...
mit
C#
00d3f5a8e583cd49f7f1a8478e6573aa96661548
Add GuildMemberJoin MessageType(#1263)
RogueException/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Core/Entities/Messages/MessageType.cs
src/Discord.Net.Core/Entities/Messages/MessageType.cs
namespace Discord { /// <summary> /// Specifies the type of message. /// </summary> public enum MessageType { /// <summary> /// The default message type. /// </summary> Default = 0, /// <summary> /// The message when a recipient is added. ...
namespace Discord { /// <summary> /// Specifies the type of message. /// </summary> public enum MessageType { /// <summary> /// The default message type. /// </summary> Default = 0, /// <summary> /// The message when a recipient is added. ...
mit
C#
a8e3839e422428276a5c97e9196f80475af364ab
Add some additional options
huysentruitw/owin-session-middleware
src/OwinSessionMiddleware/SessionMiddlewareOptions.cs
src/OwinSessionMiddleware/SessionMiddlewareOptions.cs
using System; using System.Security.Cryptography; namespace OwinSessionMiddleware { public class SessionMiddlewareOptions { public static class Defaults { public const string CookieName = "osm.sid"; public const string SessionContextOwinEnvironmentKey = "OSM.SessionCon...
using System; using System.Security.Cryptography; namespace OwinSessionMiddleware { public class SessionMiddlewareOptions { public static class Defaults { public const string CookieName = "osm.sid"; public const string SessionContextOwinEnvironmentKey = "OSM.SessionCon...
apache-2.0
C#
94ac29e63d15aeefc1ce4d1d9ddd8686e78bf156
bump version
Fody/PropertyChanged
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyCompany("Simon Cropp and Contributors")] [assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")] [assembly: AssemblyVersion("2.1.3")...
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyCompany("Simon Cropp and Contributors")] [assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")] [assembly: AssemblyVersion("2.1.2")...
mit
C#
f8a93a733e9a0c54fc57b30b4dab4298d2d302d9
bump version
Fody/PropertyChanged,0x53A/PropertyChanged,user1568891/PropertyChanged
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyVersion("1.48.1")] [assembly: AssemblyFileVersion("1.48.1")]
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyVersion("1.48.0")] [assembly: AssemblyFileVersion("1.48.0")]
mit
C#
427666aaa7fb9cc3339dca1fe89b73d374de95a3
Allow progress dialog ready API call to proceed without sync (BL-11484)
BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,gmart...
src/BloomExe/web/controllers/ProgressDialogApi.cs
src/BloomExe/web/controllers/ProgressDialogApi.cs
using System; using System.IO; using System.Net; using System.Windows.Forms; using Bloom.Api; using Bloom.Book; using Bloom.MiscUI; using Bloom.Publish; using Bloom.Utils; using SIL.IO; namespace Bloom.web.controllers { public class ProgressDialogApi { private static Action _cancelHandler; public static void Se...
using System; using System.IO; using System.Net; using System.Windows.Forms; using Bloom.Api; using Bloom.Book; using Bloom.MiscUI; using Bloom.Publish; using Bloom.Utils; using SIL.IO; namespace Bloom.web.controllers { public class ProgressDialogApi { private static Action _cancelHandler; public static void Se...
mit
C#
0d1a72df13ab7addb1346c91f147ec0a97a1c22e
Update class selection
Klackon/MMM
Assets/Scripts/CharCreateScreen.cs
Assets/Scripts/CharCreateScreen.cs
using UnityEngine; using System.Collections; public class CharCreateScreen : MonoBehaviour { public string name = "name"; public string race = "race"; public string wizard = "Select wizard"; public string portrait = "Select Portrait"; public string spellPick = "spellPick"; public string specialAbility = "speica...
using UnityEngine; using System.Collections; public class CharCreateScreen : MonoBehaviour { public string name = "name"; public string race = "race"; public string wizard = "Select wizard"; public string portrait = "Select Portrait"; public string spellPick = "spellPick"; public string specialAbility = "speica...
mpl-2.0
C#
c9efac819cca81390575cc8c614934e7b9fbf020
Update Program.cs
iamnotageek/GitTest1
ConsoleApp1/ConsoleApp1/Program.cs
ConsoleApp1/ConsoleApp1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { //Code was edited in Github //Code was added in VS //Code to call F...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { //Code was edited in Github //Code was added in VS //Code to call F...
mit
C#
65156d9bc3cc8c27a12db024eca84973fb99d09a
Add constructor ReservedPropertyNames in TypeScriptPropertyNameGenerator, closes https://github.com/RSuter/NSwag/issues/1997
RSuter/NJsonSchema,NJsonSchema/NJsonSchema
src/NJsonSchema.CodeGeneration.TypeScript/TypeScriptPropertyNameGenerator.cs
src/NJsonSchema.CodeGeneration.TypeScript/TypeScriptPropertyNameGenerator.cs
//----------------------------------------------------------------------- // <copyright file="TypeScriptPropertyNameGenerator.cs" company="NJsonSchema"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license> // <author>Ric...
//----------------------------------------------------------------------- // <copyright file="TypeScriptPropertyNameGenerator.cs" company="NJsonSchema"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license> // <author>Ric...
mit
C#