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
1a3f3bc0f4242e0480f2bdf9e768e0cc9b6a439c
Update to Cake.Issues 0.4.0
cake-contrib/Cake.Recipe,cake-contrib/Cake.Recipe
Cake.Recipe/Content/addins.cake
Cake.Recipe/Content/addins.cake
/////////////////////////////////////////////////////////////////////////////// // ADDINS /////////////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.Codecov&version=0.4.0 #addin nuget:?package=Cake.Coveralls&version=0.9.0 #addin nuget:?package=Cake.Figlet&version=1.1.0 #...
/////////////////////////////////////////////////////////////////////////////// // ADDINS /////////////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.Codecov&version=0.4.0 #addin nuget:?package=Cake.Coveralls&version=0.9.0 #addin nuget:?package=Cake.Figlet&version=1.1.0 #...
mit
C#
2f3a3f69ab100667a69439142707c79ac65fe40f
Revert back to Awake for global client init
HelloKitty/Booma.Proxy
src/Booma.Proxy.Client.Unity.NetworkClient/Client/GameNetworkClient.cs
src/Booma.Proxy.Client.Unity.NetworkClient/Client/GameNetworkClient.cs
using SceneJect.Common; using System; using System.Threading; using System.Threading.Tasks; using GladNet; using UnityEngine; namespace Booma.Proxy { /// <summary> /// The component that manages the game network client. /// </summary> [Injectee] public sealed class GameNetworkClient : BaseUnityNetworkClient<PSOB...
using SceneJect.Common; using System; using System.Threading; using System.Threading.Tasks; using GladNet; using UnityEngine; namespace Booma.Proxy { /// <summary> /// The component that manages the game network client. /// </summary> [Injectee] public sealed class GameNetworkClient : BaseUnityNetworkClient<PSOB...
agpl-3.0
C#
c73125f10e76881d1158480400650c24255d101b
Resolve all comma-separated parts of a shader name.
izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib
Content/ResolvingContentImporter.cs
Content/ResolvingContentImporter.cs
using System; using System.IO; using System.Linq; namespace ChamberLib.Content { public class ResolvingContentImporter : IContentImporter { public ResolvingContentImporter(IContentImporter next, string basePath=null) { if (next == null) throw new ArgumentNullException("next"); ...
using System; using System.IO; namespace ChamberLib.Content { public class ResolvingContentImporter : IContentImporter { public ResolvingContentImporter(IContentImporter next, string basePath=null) { if (next == null) throw new ArgumentNullException("next"); this.next ...
lgpl-2.1
C#
8b44ecf24d6152a94c90df4cc0f8a386e5c89ea2
Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0.
autofac/Autofac.Mef
Properties/VersionAssemblyInfo.cs
Properties/VersionAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34003 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
mit
C#
51172254e83b1fc4d45dc23bd1fe3a05fbfc4e02
Update index.cshtml
Aleksandrovskaya/apmathclouddif
site/index.cshtml
site/index.cshtml
@{ double t_0 = 0; double t_end = 150; double step = 0.1; int N = Convert.ToInt32((t_end-t_0)/step) + 1; String data = ""; bool show_chart = false; if (IsPost){ show_chart = true; var number = Request["text1"]; double xd = number.AsInt(); double t = 0; double x1 = 0; double x2 = 0; d...
@{ double t_0 = 0; double t_end = 150; double step = 0.1; int N = Convert.ToInt32((t_end-t_0)/step) + 1; String data = ""; bool show_chart = false; if (IsPost){ show_chart = true; var number = Request["text1"]; double xd = number.AsInt(); double x1 = 0; double x2 = 0; double x3 = 0; ...
mit
C#
cacfbecf000a94a876ac3579260be739c99ba641
Fix null refs.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
backend/src/Squidex.Domain.Apps.Core.Operations/Tags/TagsExport.cs
backend/src/Squidex.Domain.Apps.Core.Operations/Tags/TagsExport.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
5b7f101ac1232c0510f36ce27a892dfb86c34161
Improve the usability
toni90acg/GigHub,toni90acg/GigHub
GigHub/Views/Gigs/Create.cshtml
GigHub/Views/Gigs/Create.cshtml
@model GigHub.ViewModels.GigFormViewModel @{ ViewBag.Title = "Create"; } <h2>Add a Gig</h2> @using (Html.BeginForm("Create", "Gigs")) { <p class="alert alert-info">All fields are <strong>required</strong>.</p> @Html.AntiForgeryToken() <div class="form-group"> @Html.LabelFor(m => m.Venue) ...
@model GigHub.ViewModels.GigFormViewModel @{ ViewBag.Title = "Create"; } <h2>Add a Gig</h2> @using (Html.BeginForm("Create", "Gigs")) { @Html.AntiForgeryToken() <div class="form-group"> @Html.LabelFor(m => m.Venue) @Html.TextBoxFor(m => m.Venue, new { @class = "form-control" }) @Ht...
apache-2.0
C#
3b5580ede91159e4c43373ba42393387611b112d
Fix for stringize when values contain single quotes.
versionone/VersionOne.SDK.NET.APIClient,versionone/VersionOne.SDK.NET.APIClient
APIClient/Query/ValueStringizer.cs
APIClient/Query/ValueStringizer.cs
using System; using System.Web; namespace VersionOne.SDK.APIClient { internal class ValueStringizer { private readonly string valueWrapper; public ValueStringizer(string valueWrapper = "'") { this.valueWrapper = valueWrapper; } public string Stringize(object value) { ...
using System; using System.Web; namespace VersionOne.SDK.APIClient { internal class ValueStringizer { private readonly string valueWrapper; public ValueStringizer(string valueWrapper = "'") { this.valueWrapper = valueWrapper; } public string Stringize(object value) { ...
bsd-3-clause
C#
027e45aff70802f7b5882d53d636124185fbdc26
Simplify ToolTip/ErrorStripeToolTip properties
ulrichb/ReSharperExtensionsShared
Src/ReSharperExtensionsShared/Highlighting/SimpleTreeNodeHighlightingBase.cs
Src/ReSharperExtensionsShared/Highlighting/SimpleTreeNodeHighlightingBase.cs
using JetBrains.Annotations; using JetBrains.DocumentModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi.Tree; namespace ReSharperExtensionsShared.Highlighting { public abstract class SimpleTreeNodeHighlightingBase<T> : IHighlighting where T : ITreeNode { protected S...
using JetBrains.Annotations; using JetBrains.DocumentModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi.Tree; namespace ReSharperExtensionsShared.Highlighting { public abstract class SimpleTreeNodeHighlightingBase<T> : IHighlighting where T : ITreeNode { private rea...
mit
C#
937bc70137c3b520884ded7d83629c05a4c04dc3
Set the OK button on the New Image dialog to default.
PintaProject/Pinta,PintaProject/Pinta,Mailaender/Pinta,jakeclawson/Pinta,jakeclawson/Pinta,Fenex/Pinta,PintaProject/Pinta,Fenex/Pinta,Mailaender/Pinta
Pinta/Dialogs/NewImageDialog.cs
Pinta/Dialogs/NewImageDialog.cs
// // NewImageDialog.cs // // Author: // Jonathan Pobst <monkey@jpobst.com> // // Copyright (c) 2010 Jonathan Pobst // // 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 re...
// // NewImageDialog.cs // // Author: // Jonathan Pobst <monkey@jpobst.com> // // Copyright (c) 2010 Jonathan Pobst // // 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 re...
mit
C#
4488b8673ac7f9139195d922b1878a144b63187e
clean up
ramzzzay/PhoneBook,ramzzzay/PhoneBook
PhoneBook.Domain/Entities/User.cs
PhoneBook.Domain/Entities/User.cs
using System; using Microsoft.AspNet.Identity.EntityFramework; namespace PhoneBook.Domain.Entities { public class User : IdentityUser { public string Password { get; set; } public string FirstName { get; set; } public string MiddleName { get; set; } public string LastName { get...
using System; using Microsoft.AspNet.Identity.EntityFramework; namespace PhoneBook.Domain.Entities { internal class User : IdentityUser { public string Password { get; set; } public string FirstName { get; set; } public string MiddleName { get; set; } public string LastName { g...
apache-2.0
C#
1b6b46a48e01c880be25ab70a224b60d1e3d7f12
Add atomic IncrementAndGet to AtomicLong
AdaptiveConsulting/Aeron.NET,AdaptiveConsulting/Aeron.NET
src/Adaptive.Agrona/Concurrent/AtomicLong.cs
src/Adaptive.Agrona/Concurrent/AtomicLong.cs
/* * Copyright 2014 - 2017 Adaptive Financial Consulting Ltd * * 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...
/* * Copyright 2014 - 2017 Adaptive Financial Consulting Ltd * * 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#
4c18769419dd55a7fb6e13c2d53960ae0d0544c6
Add FileFinder to test suite to enable compiling
Zeugma440/atldotnet
ATL.test/FileFinder.cs
ATL.test/FileFinder.cs
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ATL.test { [TestClass] public class FileFinder { [TestMethod] public void FF_RecursiveExplore() { //String dirName = "E:/Music/XXX"; String dirName = "E:/temp/id3v2"...
using System; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ATL.test { [TestClass] public class FileFinder { [TestMethod] public void FF_RecursiveExplore() { //String dirName = "E:/Music/Classique"; //String dirName = "E:/Mus...
mit
C#
3b229ea4be644a8239d7e4daa9be18052ee4dcf0
Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0.
jango2015/Autofac.Extras.DynamicProxy,autofac/Autofac.Extras.DynamicProxy
Properties/VersionAssemblyInfo.cs
Properties/VersionAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18051 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34003 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
mit
C#
7493fe6c0e6b60c71ecd686c078fdc41cd2badc9
Fix usings in WebHostDeployment
dmitriyse/ClrCoder
src/ClrCoder.AspNetCore/WebHostDeployment.cs
src/ClrCoder.AspNetCore/WebHostDeployment.cs
// <copyright file="WebHostDeployment.cs" company="ClrCoder project"> // Copyright (c) ClrCoder project. All rights reserved. // Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information. // </copyright> namespace ClrCoder.AspNetCore { using ClrCoder.Validation; ...
// <copyright file="WebHostDeployment.cs" company="ClrCoder project"> // Copyright (c) ClrCoder project. All rights reserved. // Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information. // </copyright> namespace ClrCoder.AspNetCore { using JetBrains.Annotations; ...
apache-2.0
C#
dfac63d845cc9832da1bc5f6c8fcaf51bfba1413
Add drone to the right og 10x
LunaPg/RoguEvE
Assets/Scripts/Team.cs
Assets/Scripts/Team.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; public class Team : MonoBehaviour { //public List<Drone> team = new List<Drone>(); public ArrayList team = new ArrayList(); public GameObject DronePrefab; public void addDrone(Drone drone){ team.Add(drone); ...
using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEngine.UI; public class Team : MonoBehaviour { //public List<Drone> team = new List<Drone>(); public ArrayList team = new ArrayList(); public GameObject DronePrefab; public void addDrone(Drone drone){ team.Add(drone); ...
mit
C#
58cea5200c44fe6ac87b04e944ef00c1bdcf4003
Add some new map code
EightBitBoy/EcoRealms
Assets/Scripts/Map/MapPresenter.cs
Assets/Scripts/Map/MapPresenter.cs
using UnityEngine; using System.Collections; namespace ecorealms.map { public class MapPresenter : MonoBehaviour { private int sizeX; private int sizeY; private GameObject rootObject; private Transform root; public Mesh mesh; public Material material; private Tile[] tiles; public void Setup(int s...
using UnityEngine; using System.Collections; namespace ecorealms.map { public class MapPresenter : MonoBehaviour { private int sizeX; private int sizeY; private GameObject rootObject; private Transform root; public Mesh mesh; public Material material; public void Setup(int sizeX, int sizeY) { thi...
apache-2.0
C#
8086363ed67756d38469047dfa4e887dee7a0f91
Make quizzer result constructor public
brwml/MatchMakerTool
Reporting/Models/QuizzerResult.cs
Reporting/Models/QuizzerResult.cs
namespace MatchMaker.Reporting.Models; using System.Diagnostics; using System.Runtime.Serialization; using System.Xml.Linq; using Ardalis.GuardClauses; /// <summary> /// Defines the <see cref="QuizzerResult" /> /// </summary> [DataContract] [DebuggerDisplay("Quizzer Result (Quizzer {QuizzerId}, Score {S...
namespace MatchMaker.Reporting.Models; using System.Diagnostics; using System.Runtime.Serialization; using System.Xml.Linq; using Ardalis.GuardClauses; /// <summary> /// Defines the <see cref="QuizzerResult" /> /// </summary> [DataContract] [DebuggerDisplay("Quizzer Result (Quizzer {QuizzerId}, Score {S...
mit
C#
8376153af776d078aea4ef758877d5c04005c511
Revert "Should be 6 dp not 5"
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerFinance/Models/Transaction/TransactionDownloadLine.cs
src/SFA.DAS.EmployerFinance/Models/Transaction/TransactionDownloadLine.cs
using System; using System.Globalization; namespace SFA.DAS.EmployerFinance.Models.Transaction { public class TransactionDownloadLine { public DateTime DateCreated { get; set; } public string TransactionType { get; set; } public string PayeScheme { get; set; } public string ...
using System; using System.Globalization; namespace SFA.DAS.EmployerFinance.Models.Transaction { public class TransactionDownloadLine { public DateTime DateCreated { get; set; } public string TransactionType { get; set; } public string PayeScheme { get; set; } public string ...
mit
C#
801c03fc4f3c6de06654eeeb88f0e76d2f2b1619
modify create ice stock.
robertzml/Phoebe
Phoebe.Core/BL/IceStockBusiness.cs
Phoebe.Core/BL/IceStockBusiness.cs
using System; using System.Collections.Generic; using System.Text; namespace Phoebe.Core.BL { using SqlSugar; using Phoebe.Base.Framework; using Phoebe.Base.System; using Phoebe.Core.Entity; using Phoebe.Core.Utility; /// <summary> /// 冰块入库业务类 /// </summary> public class IceStockB...
using System; using System.Collections.Generic; using System.Text; namespace Phoebe.Core.BL { using SqlSugar; using Phoebe.Base.Framework; using Phoebe.Base.System; using Phoebe.Core.Entity; using Phoebe.Core.Utility; /// <summary> /// 冰块入库业务类 /// </summary> public class IceStockB...
mit
C#
5576a20c7b155b17a0c9e892e9b5f1d51868d156
Set version to 1.0.4
mdesalvo/RDFSharp
RDFSharp/Properties/AssemblyInfo.cs
RDFSharp/Properties/AssemblyInfo.cs
/* Copyright 2012-2019 Marco De Salvo 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 ...
/* Copyright 2012-2019 Marco De Salvo 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 ...
apache-2.0
C#
9ff0909bb6986571ae1eb6e65559db5b9eb08f9d
Update to ignore white space
MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net
Mindscape.Raygun4Net.Core/Filters/RaygunXmlDataFilter.cs
Mindscape.Raygun4Net.Core/Filters/RaygunXmlDataFilter.cs
using System; using System.Linq; using System.Collections.Generic; using System.Xml.Linq; namespace Mindscape.Raygun4Net.Filters { public class RaygunXmlDataFilter : IRaygunDataFilter { private const string FILTERED_VALUE = "[FILTERED]"; public bool CanParse(string data) { if (!string.IsNullOrE...
using System; using System.Linq; using System.Collections.Generic; using System.Xml.Linq; namespace Mindscape.Raygun4Net.Filters { public class RaygunXmlDataFilter : IRaygunDataFilter { private const string FILTERED_VALUE = "[FILTERED]"; public bool CanParse(string data) { if (!string.IsNullOrE...
mit
C#
33f1f3e560642df6d8137e6c53738c63affcc201
Update AbpCoreEf6SampleDbContext.cs
aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples
AbpCoreEf6Sample/aspnet-core/src/AbpCoreEf6Sample.EntityFrameworkCore/EntityFrameworkCore/AbpCoreEf6SampleDbContext.cs
AbpCoreEf6Sample/aspnet-core/src/AbpCoreEf6Sample.EntityFrameworkCore/EntityFrameworkCore/AbpCoreEf6SampleDbContext.cs
using System.Data.Common; using System.Data.Entity; using Abp.DynamicEntityProperties; using Abp.Zero.EntityFramework; using AbpCoreEf6Sample.Authorization.Roles; using AbpCoreEf6Sample.Authorization.Users; using AbpCoreEf6Sample.MultiTenancy; namespace AbpCoreEf6Sample.EntityFrameworkCore { public class AbpCoreE...
using System.Data.Entity; using Abp.Zero.EntityFramework; using AbpCoreEf6Sample.Authorization.Roles; using AbpCoreEf6Sample.Authorization.Users; using AbpCoreEf6Sample.MultiTenancy; namespace AbpCoreEf6Sample.EntityFrameworkCore { public class AbpCoreEf6SampleDbContext : AbpZeroDbContext<Tenant, Role, User, AbpC...
mit
C#
fca0c6dab030b6091ebb6ddcb75b2cd1673309f7
add necessary test stub
mzrimsek/resume-site-api
Test.Integration/ControllerTests/LanguagesControllerTests/DeleteLanguageShould.cs
Test.Integration/ControllerTests/LanguagesControllerTests/DeleteLanguageShould.cs
using Microsoft.AspNetCore.TestHost; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Net; using System.Net.Http; using Test.Integration.TestHelpers; namespace Test.Integration.ControllerTests.LanguagesControllerTests { [TestClass] public class DeleteLanguageShould { private TestSer...
using Microsoft.AspNetCore.TestHost; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Net; using System.Net.Http; using Test.Integration.TestHelpers; namespace Test.Integration.ControllerTests.LanguagesControllerTests { [TestClass] public class DeleteLanguageShould { private TestSer...
mit
C#
cf2fab0a2c863e40d75d40092141c4611e258cd7
Update context message
fatsushi/exploring-aspnet-core
SampleApp/src/SampleApp/Startup.cs
SampleApp/src/SampleApp/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Http; using Microsoft.Extensions.DependencyInjection; namespace SampleApp { public class Startup { // This method gets...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Http; using Microsoft.Extensions.DependencyInjection; namespace SampleApp { public class Startup { // This method gets...
apache-2.0
C#
073b88389db90c340cc13f50c99ac0f0c0b3e01f
add test class stub
mzrimsek/resume-site-api
Test.Integration/ControllerTests/SkillsControllerTests/GetAllSkillsShould.cs
Test.Integration/ControllerTests/SkillsControllerTests/GetAllSkillsShould.cs
using System.Net.Http; using Microsoft.AspNetCore.TestHost; using Microsoft.VisualStudio.TestTools.UnitTesting; using Test.Integration.TestHelpers; namespace Test.Integration.ControllerTests.SkillsControllerTests { [TestClass] public class GetAllSkillsShould { private TestServer _server; pr...
namespace Test.Integration.ControllerTests.SkillsControllerTests { public class GetAllSkillsShould { } }
mit
C#
a629e783f56f057b8cc797f078cacf2af401d60d
Update Program.cs
venky76v/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 changed in github Console.WriteLine("Some code changed in github as ...
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 changed in github Console.WriteLine("Some code changed in github as ...
mit
C#
abf1271c603679ba2086d546571b43714c352b03
Remove obsolete chain to base ctor
danielwertheim/mycouch,danielwertheim/mycouch
source/projects/MyCouch/Serialization/SerializationContractResolver.cs
source/projects/MyCouch/Serialization/SerializationContractResolver.cs
using MyCouch.Extensions; using Newtonsoft.Json.Serialization; namespace MyCouch.Serialization { public class SerializationContractResolver : DefaultContractResolver { protected override string ResolvePropertyName(string propertyName) { return base.ResolvePropertyName(propertyName....
using MyCouch.Extensions; using Newtonsoft.Json.Serialization; namespace MyCouch.Serialization { public class SerializationContractResolver : DefaultContractResolver { public SerializationContractResolver() : base(true) { } protected override string ResolvePropertyName(string propertyName) ...
mit
C#
7248a498c9480746936a17f5684d8f422303e22d
Remove pedantic template comments
xamarin/SignaturePad,xamarin/SignaturePad
samples/Sample.iOS/AppDelegate.cs
samples/Sample.iOS/AppDelegate.cs
// // AppDelegate.cs // // Author: // Timothy Risi (timothy.risi@gmail.com) // // Copyright (C) 2012 Timothy Risi // using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Sample { [Register ("AppDelegate")] public partial class AppDelegate :...
using System; using System.Collections.Generic; using System.Linq; // // AppDelegate.cs // // Author: // Timothy Risi (timothy.risi@gmail.com) // // Copyright (C) 2012 Timothy Risi // using MonoTouch.Foundation; using MonoTouch.UIKit; namespace Sample { // The UIApplicationDelegate for the application. This class i...
mit
C#
9afbcf229770f288e203263d44755d28378db752
Make logic in `MockDefaultValueProvider` less convoluted
Moq/moq4,ocoanet/moq4
Source/MockDefaultValueProvider.cs
Source/MockDefaultValueProvider.cs
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD //https://github.com/moq/moq4 //All rights reserved. //Redistribution and use in source and binary forms, //with or without modification, are permitted provided //that the following conditions are met: // * Redistributions of source c...
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD //https://github.com/moq/moq4 //All rights reserved. //Redistribution and use in source and binary forms, //with or without modification, are permitted provided //that the following conditions are met: // * Redistributions of source c...
bsd-3-clause
C#
57c4c14cb690c449e104669d84dea1a6e3b9e9a4
Bump v1.0.7
karronoli/tiny-sato
TinySato/Properties/AssemblyInfo.cs
TinySato/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato pri...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato pri...
apache-2.0
C#
a5f7f7f941149fdb37a99ea6b463df37df5c3342
fix version number
Simply360/tSQLt.NET
TsqltNet/Properties/AssemblyInfo.cs
TsqltNet/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("tS...
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("tS...
mit
C#
3196ba7b4d0c678df392c0716c6afad3e300a9f4
Update version
aloisdg/Doccou,aloisdg/CountPages,saidmarouf/Doccou
Counter/Properties/AssemblyInfo.cs
Counter/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Counter")] [assembly: AssemblyDescription("Counter is a ...
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Counter")] [assembly: AssemblyDescription("Counter is a ...
mit
C#
e313419cef6f9be98a4860fe6b2365ca665c31bc
Bump version
bright-tools/DeRange
DeRange/Properties/AssemblyInfo.cs
DeRange/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
apache-2.0
C#
8e4caf4c6af7daffebb331be3d5338567d8bb774
Add digit seprator
Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode
CSharpInternals/3.CSharpInternals.Strings/b.StringAndLargeObjectHeap.cs
CSharpInternals/3.CSharpInternals.Strings/b.StringAndLargeObjectHeap.cs
using System; using System.Linq; using System.Security.Cryptography; using System.Text; using Xunit; namespace CSharpInternals.Strings { public class StringAndLargeObjectHeap { private readonly int _maxGeneration = GC.MaxGeneration; [Fact] public void CheckGCMaxGenerationValue() ...
using System; using System.Linq; using System.Security.Cryptography; using System.Text; using Xunit; namespace CSharpInternals.Strings { public class StringAndLargeObjectHeap { private readonly int _maxGeneration = GC.MaxGeneration; [Fact] public void CheckGCMaxGenerationValue() ...
mit
C#
3541f948c3d1ca96f4aea5269d1f8650aa219b86
Update IActionViewMessage message to remove verb
peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototy...
src/Glimpse.Agent.Web/Providers/Mvc/Messages/IActionVewFoundMessage.cs
src/Glimpse.Agent.Web/Providers/Mvc/Messages/IActionVewFoundMessage.cs
using System.Collections.Generic; namespace Glimpse.Agent.AspNet.Mvc.Messages { public interface IActionViewMessage { string ActionId { get; set; } string ViewName { get; set; } bool DidFind { get; set; } ViewResult ViewData { get; set; } } }
using System.Collections.Generic; namespace Glimpse.Agent.AspNet.Mvc.Messages { public interface IActionViewFoundMessage { string ActionId { get; set; } string ViewName { get; set; } bool DidFind { get; set; } ViewResult ViewData { get; set; } } }
mit
C#
2545f482e7a7751cdef8b1aeaa8503e94d98fdd8
add HttpStatusCode mapping
yanmasharski/u3d-darkridergames
Scripts/Network/NetworkUtils.cs
Scripts/Network/NetworkUtils.cs
using System.Net; using DRG.Debug; namespace DRG.Network { public static class NetworkUtils { /// <summary> /// Content-Type based on the file path. /// </summary> /// <param name="filepath">file path</param> public static string MapContentTypeFromPath(string filepath)...
using DRG.Debug; namespace DRG.Network { public static class NetworkUtils { /// <summary> /// Content-Type based on the file path. /// </summary> /// <param name="filepath">file path</param> public static string MapContentTypeFromPath(string filepath) { ...
isc
C#
e207bd381aae0860253a36131b1099bd49ea318e
Improve readability of previous implementation.
peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework
osu.Framework/Graphics/UserInterface/DirectorySelectorDirectory.cs
osu.Framework/Graphics/UserInterface/DirectorySelectorDirectory.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System; using System.IO; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Input.Events; using osu.Framework.Ext...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System; using System.IO; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Input.Events; using osu.Framework.Ext...
mit
C#
67ceb68679dcb56d37acb2356d323b84a846df1f
update test for tryparse
DHGMS-Solutions/gripewithroslyn
src/Dhgms.GripeWithRoslyn.UnitTests/Analyzers/TryParseShouldBeUsedInLogicalNotIfStatementAnalyzerTests.cs
src/Dhgms.GripeWithRoslyn.UnitTests/Analyzers/TryParseShouldBeUsedInLogicalNotIfStatementAnalyzerTests.cs
// Copyright (c) 2019 DHGMS Solutions and Contributors. All rights reserved. // This file is licensed to you under the MIT license. // See the LICENSE file in the project root for full license information. using System.Reflection; using Dhgms.GripeWithRoslyn.Analyzer; using Dhgms.GripeWithRoslyn.Analyzer.Analyzers; u...
// Copyright (c) 2019 DHGMS Solutions and Contributors. All rights reserved. // This file is licensed to you under the MIT license. // See the LICENSE file in the project root for full license information. using System.Reflection; using Dhgms.GripeWithRoslyn.Analyzer; using Dhgms.GripeWithRoslyn.Analyzer.Analyzers; u...
mit
C#
0256e86a17438118ac445405dfa1805432dc8334
Enable nullables here.
sharpjs/PSql,sharpjs/PSql
PSql/_Utilities/StringExtensions.cs
PSql/_Utilities/StringExtensions.cs
/* Copyright 2020 Jeffrey Sharp Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS A...
/* Copyright 2020 Jeffrey Sharp Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS A...
isc
C#
cc1d7a28d4894dfd8d38e511d2d81190d546d500
Validate values in ExponentialBackoff
CruelCow/Twitch2Steam
Twitch2Steam/ExponentialBackoff.cs
Twitch2Steam/ExponentialBackoff.cs
using System; using static System.Math; namespace Twitch2Steam { public class ExponentialBackoff { public TimeSpan InitialDelay { get; private set; } public double Factor { get; private set; } public TimeSpan MaximumDelay { get; private set; } public TimeSpan MaximumJitter { ge...
using System; using static System.Math; namespace Twitch2Steam { //TODO: validate Timespans. (Overflow, negative values) public class ExponentialBackoff { public TimeSpan InitialDelay { get; private set; } public double Factor { get; private set; } public TimeSpan MaximumDelay { ge...
agpl-3.0
C#
6c9259ea76fc509124111a818b4f8bd21128a12b
Add obsolete clarification
tvdburgt/subtle
Subtle.Registry/RegistryHelper.cs
Subtle.Registry/RegistryHelper.cs
using System; using System.Collections.Generic; using System.Linq; namespace Subtle.Registry { using Microsoft.Win32; [Obsolete("Remove this once legacy registry keys from v0.1 are cleaned up")] public static class RegistryHelper { public static void DeleteShellCommands(IEnumerable<string> fi...
using System; using System.Collections.Generic; using System.Linq; namespace Subtle.Registry { using Microsoft.Win32; [Obsolete] public static class RegistryHelper { public static void DeleteShellCommands(IEnumerable<string> fileTypes, string verbKey) { foreach (var subKey...
mit
C#
6112b1076833670f3febb01e0b6d8abb896dec10
Update ServiceCollectionExtensions.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/DependencyInjection/ServiceCollectionExtensions.cs
TIKSN.Framework.Core/DependencyInjection/ServiceCollectionExtensions.cs
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using TIKSN.FileSystem; namespace TIKSN.DependencyInjection { public static class ServiceCollectionExtensions { public static IServiceCollection AddFrameworkPlatform(this IServiceCollection servic...
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using TIKSN.FileSystem; namespace TIKSN.DependencyInjection { public static class ServiceCollectionExtensions { public static IServiceCollection AddFrameworkPlatform(this IServiceCollection servic...
mit
C#
6feaf5485d9ddef4e66282da0967f13f50055838
Make vertex set protected.
DasAllFolks/SharpGraphs
Graph/AbstractGraph.cs
Graph/AbstractGraph.cs
using System; using System.Collections.Generic; namespace Graph { /// <summary> /// Implements shared functionality among both /// see cref="SimpleGraph{V, E, W}"/>s and /// <see cref="MultiGraph{V, E, W}"/>s. /// </summary> /// <typeparam name="V"> /// The type used to create vertex (nod...
using System; using System.Collections.Generic; namespace Graph { /// <summary> /// Implements shared functionality among both /// see cref="SimpleGraph{V, E, W}"/>s and /// <see cref="MultiGraph{V, E, W}"/>s. /// </summary> /// <typeparam name="V"> /// The type used to create vertex (nod...
apache-2.0
C#
fd6908f0b9abfdb382ce7b7878aabcb8318aa4ea
remove unnecessary markup
ssg/HashDepot
HashConsole/Program.cs
HashConsole/Program.cs
/// This is for debugging the code in release mode without /// test framework (NCrunch) instrumentation, so I can see generated /// assembly code easily. using HashDepot; namespace HashConsole { internal class Program { private static void Main(string[] args) { byte[] key = { 0, 1...
/// <summary> /// This is for debugging the code in release mode without /// test framework (NCrunch) instrumentation, so I can see generated /// assembly code easily. /// </summary> using HashDepot; namespace HashConsole { internal class Program { private static void Main(string[] args) { ...
mit
C#
4c22c0caf21e5c34c9a4bcccd7a5dcbff9edf126
Fix console color staying red after unrecognized game error.
Prof9/TextPet
TextPet/Commands/GameCommand.cs
TextPet/Commands/GameCommand.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TextPet.Commands { /// <summary> /// A command line interface command that sets the current active game. /// </summary> internal class GameCommand : CliCommand { public override string Name => "game"; public overri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TextPet.Commands { /// <summary> /// A command line interface command that sets the current active game. /// </summary> internal class GameCommand : CliCommand { public override string Name => "game"; public overri...
mit
C#
6d1e3d9bdd82c294fdb1c9226c6a55219cd08373
Add an extra catch to handle incorrect paths
IvionSauce/MeidoBot
IvionSoft/XmlConfig.cs
IvionSoft/XmlConfig.cs
using System; using System.IO; using System.Xml; using System.Xml.Linq; namespace IvionSoft { public abstract class XmlConfig { public XElement Config { get; private set; } public XmlConfig(string file) { try { Config = XElement.Load(fil...
using System; using System.IO; using System.Xml; using System.Xml.Linq; namespace IvionSoft { public abstract class XmlConfig { public XElement Config { get; private set; } public XmlConfig(string file) { try { Config = XElement.Load(fil...
bsd-2-clause
C#
fb02d78567f862e3a4ae54e7dce913903374d95e
Increase version
OrleansContrib/Orleans.Activities,lmagyar/Orleans.Activities
src/GlobalAssemblyInfo.cs
src/GlobalAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("https://github.com/lmagyar")] [assembly: AssemblyProduct("Orleans.Activities - https://github.com/lmagyar/Orleans.Activities")] [assembly: AssemblyCopyright("Copyright https://github.com/lmagyar 2016")] [assembly: AssemblyVersion("0.2.0.0")] [assembly: AssemblyInf...
using System.Reflection; [assembly: AssemblyCompany("https://github.com/lmagyar")] [assembly: AssemblyProduct("Orleans.Activities - https://github.com/lmagyar/Orleans.Activities")] [assembly: AssemblyCopyright("Copyright https://github.com/lmagyar 2016")] [assembly: AssemblyVersion("0.1.0.0")] [assembly: AssemblyInf...
apache-2.0
C#
4d4075446ce1e280f577ef8d518a1feacdab5401
Fix the assembly title
y-iihoshi/REIMU_Plugins_V2,y-iihoshi/REIMU_Plugins_V2
Th143Screenshot/Properties/AssemblyInfo.cs
Th143Screenshot/Properties/AssemblyInfo.cs
// <auto-generated/> using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("REIMU plugin for TH14.3 screenshots")] [assembly: AssemblyDescription("")] [assem...
// <auto-generated/> using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("REIMU plugin for TH14.3 bestshots")] [assembly: AssemblyDescription("")] [assembl...
bsd-2-clause
C#
4162619ba1628d37ef18273c3870c470d508a113
Bump v1.1.0
karronoli/tiny-sato
TinySato/Properties/AssemblyInfo.cs
TinySato/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato printer. Sat...
apache-2.0
C#
dae5699ab47d2212d4d3b46ba1e2b76c0e5f4a46
Package Update #CHANGE: Pushed AdamsLair.WinForms 1.0.11
windygu/winforms,AdamsLair/winforms
WinForms/Properties/AssemblyInfo.cs
WinForms/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
mit
C#
db5e73f081db3db883ca483e5948cab20b516972
Package Update #CHANGE: Pushed AdamsLair.WinForms 1.0.7
AdamsLair/winforms,windygu/winforms
WinForms/Properties/AssemblyInfo.cs
WinForms/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
mit
C#
7fd7cc7ba8f0a9e953b9f1344e01684f500b74c6
Update version to 1.0.2 for release
codejuicer/POxOSerializer,ggerla/POxOSerializer,ggerla/POxOSerializer,codejuicer/POxOSerializer
C#/POxO/Properties/AssemblyInfo.cs
C#/POxO/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
apache-2.0
C#
9769cef632cb09a6c6d5454c85dd88b5bfbb8219
bump assembly version
cgerrior/recurly-client-net,jvalladolid/recurly-client-net
Library/Properties/AssemblyInfo.cs
Library/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("Re...
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("Re...
mit
C#
2c62a65c1e76536f78512c43d583f33bd7d6ba47
Fix tests mmmmmistype
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/RedundantSerializeFieldAttribute/Availability/Test07.cs
resharper/resharper-unity/test/data/Unity/CSharp/Intentions/QuickFixes/RedundantSerializeFieldAttribute/Availability/Test07.cs
// ${RUN:2} using System; using UnityEngine; [Serializable] public struct A { [SerializeField] public unsafe fixed byte myByteBuff1[3]; [SerializeField] private unsafe fixed byte myByteBuff2[3]; } public class Test : MonoBehaviour { public A Value1; }
// ${RUN:2} using System; using UnityEngine; [Serializable] public struct A { [SerializeField] public unsafe fixed byte myByteBuff1[3]; [SerializeField] public unsafe fixed byte myByteBuff2[3]; } public class Test : MonoBehaviour { public A Value1; }
apache-2.0
C#
8aabb564f89987cc6d8f52ea74a76f5957ff91dc
Fix null
mob-sakai/UIEffect,mob-sakai/UIEffect
Assets/Coffee/UIExtensions/UIEffect/Scripts/UIEffectMaterialResolver.cs
Assets/Coffee/UIExtensions/UIEffect/Scripts/UIEffectMaterialResolver.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Coffee.UIExtensions { /// <summary> /// Dissolve effect for uGUI. /// </summary> [ExecuteInEditMode] public class UIEffectMaterialResolver : MonoBehaviour, IMaterialModifier, IMeshModifier { [Contex...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Coffee.UIExtensions { /// <summary> /// Dissolve effect for uGUI. /// </summary> [ExecuteInEditMode] public class UIEffectMaterialResolver : MonoBehaviour, IMaterialModifier, IMeshModifier { [Contex...
mit
C#
174a11f5fcba966aebcd3b64d973e115542286d8
Add another SynchronizationContext kind used by MonoDevelop
paulvanbrenk/roslyn,nguerrera/roslyn,mavasani/roslyn,paulvanbrenk/roslyn,brettfo/roslyn,bkoelman/roslyn,brettfo/roslyn,shyamnamboodiripad/roslyn,tannergooding/roslyn,aelij/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,cston/roslyn,stephentoub/roslyn,dpoeschl/roslyn,abock/roslyn,physhi/roslyn,agocke/roslyn,xasx/roslyn,s...
src/Workspaces/Core/Portable/Utilities/ForegroundThreadDataKind.cs
src/Workspaces/Core/Portable/Utilities/ForegroundThreadDataKind.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 System.Threading; using static Microsoft.CodeAnalysis.Utilities.ForegroundThreadDataKind; namespace Microsoft.CodeAnalysis.Utilities { internal en...
// 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 System.Threading; using static Microsoft.CodeAnalysis.Utilities.ForegroundThreadDataKind; namespace Microsoft.CodeAnalysis.Utilities { internal en...
mit
C#
de950cb8308fbbf4a2ae266c01ae90f238414c24
Use own JSON serializer instead of a static one (#1048)
micdenny/EasyNetQ,zidad/EasyNetQ,EasyNetQ/EasyNetQ,zidad/EasyNetQ
Source/EasyNetQ/JsonSerializer.cs
Source/EasyNetQ/JsonSerializer.cs
using System; using System.IO; using System.Text; namespace EasyNetQ { public class JsonSerializer : ISerializer { private static readonly Encoding Encoding = new UTF8Encoding(false); private static readonly Newtonsoft.Json.JsonSerializerSettings DefaultSerializerSettings = new New...
using System; using System.Text; using Newtonsoft.Json; namespace EasyNetQ { public class JsonSerializer : ISerializer { private readonly JsonSerializerSettings serializerSettings; public JsonSerializer() { serializerSettings = new JsonSerializerSettings { ...
mit
C#
6c550296229651be333e0a0db02571fab0d1e691
Add PgnEmptySyntax.
PenguinF/sandra-three
Sandra.Chess/Pgn/PgnEmptySyntax.cs
Sandra.Chess/Pgn/PgnEmptySyntax.cs
#region License /********************************************************************************* * PgnEmptySyntax.cs * * Copyright (c) 2004-2020 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
#region License /********************************************************************************* * PgnEmptySyntax.cs * * Copyright (c) 2004-2020 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
apache-2.0
C#
57cde62b118aac39754e577d4d029561d6846a35
Update Games/Upload view
lucasdavid/Gamedalf,lucasdavid/Gamedalf
Gamedalf/Views/Games/Upload.cshtml
Gamedalf/Views/Games/Upload.cshtml
@model GameBinaryViewModel @{ ViewBag.Title = "Upload " + Model.Title + " installation file"; } @section scripts { @Scripts.Render("~/Scripts/app/elements/BtnSubmitter.js") } <h2> @ViewBag.Title </h2> @using (Html.BeginForm("Upload", "Games", FormMethod.Post, new { enctype = "multipart/fo...
@model GameBinaryViewModel @{ ViewBag.Title = "Upload " + Model.Title + " installation files"; } <h2> @ViewBag.Title </h2> @using (Html.BeginForm("Upload", "Games", FormMethod.Post, new { role = "form" })) { @Html.AntiForgeryToken() @Html.HiddenFor(m => m.Id) <div class="form-gro...
mit
C#
a6aa098f5ca7bbf8dae9e619b8b5a52a8d315ef8
Handle MouseLeave event
sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014
RxSample/MouseRxWpf/MainWindow.xaml.cs
RxSample/MouseRxWpf/MainWindow.xaml.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using Sys...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using Sys...
mit
C#
d1789929dde1ad0e8436a6482bcf2c635b706b68
Add change password button to all components so it gets removed properly
ethanmoffat/EndlessClient
EndlessClient/ControlSets/LoggedInControlSet.cs
EndlessClient/ControlSets/LoggedInControlSet.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System; using EndlessClient.Controllers; using EndlessClient.GameExecution; using Microsoft.Xna.Framework; using XNAControls; namespace EndlessClient.ControlSets {...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System; using EndlessClient.Controllers; using EndlessClient.GameExecution; using Microsoft.Xna.Framework; using XNAControls; namespace EndlessClient.ControlSets {...
mit
C#
d312411b11448e3df46b647a928b13228d0fa042
Update AssemblyWithIncludesTest.cs
Fody/Virtuosity
Tests/AssemblyWithIncludesTest.cs
Tests/AssemblyWithIncludesTest.cs
using System.Collections.Generic; using System.Reflection; using Fody; using Xunit; public class AssemblyWithIncludesTest { static Assembly assembly; static AssemblyWithIncludesTest() { var weavingTask = new ModuleWeaver { IncludeNamespaces = new List<string> { "IncludeNamespa...
using System.Collections.Generic; using System.Reflection; using Fody; using Xunit; public class AssemblyWithIncludesTest { static Assembly assembly; static AssemblyWithIncludesTest() { var weavingTask = new ModuleWeaver { IncludeNamespaces = new List<string> { "IncludeNamespa...
mit
C#
40cd56d8d26e451f668a5f69a7e29f426f8c5e0a
index remove unnecesary code
fguini/leathergoods,fguini/leathergoods,fguini/leathergoods
Web/UI/Views/Category/Index.cshtml
Web/UI/Views/Category/Index.cshtml
@model IEnumerable<Entities.Category> @{ ViewData["Title"] = "Index"; } <h2>Index</h2> <p> <a asp-action="Create">Create New</a> </p> <table class="table"> <thead> <tr> <th> @Html.DisplayNameFor(model => model.Id) </th> <th> ...
@model IEnumerable<Entities.Category> @{ ViewData["Title"] = "Index"; } <h2>Index</h2> <p> <a asp-action="Create">Create New</a> </p> <table class="table"> <thead> <tr> <th> @Html.DisplayNameFor(model => model.Id) </th> <th> ...
mit
C#
0ae2c8933057513e8d4972bc0dda9e5ae647cf10
Update lab endpoint for test infrastructure. (#1687)
AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet
tests/Microsoft.Identity.Test.LabInfrastructure/LabApiConstants.cs
tests/Microsoft.Identity.Test.LabInfrastructure/LabApiConstants.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Identity.Test.LabInfrastructure { public class LabApiConstants { // constants for Lab api public const string MobileDeviceManagementWithConditionalAccess = "mdmca"; publi...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Identity.Test.LabInfrastructure { public class LabApiConstants { // constants for Lab api public const string MobileDeviceManagementWithConditionalAccess = "mdmca"; publi...
mit
C#
cff79e346d323a07c12dd7e45f95db15dc7b4873
Fix 1 second barsize enum.
krs43/ib-csharp,sebfia/ib-csharp,qusma/ib-csharp
Krs.Ats.IBNet/Enums/BarSize.cs
Krs.Ats.IBNet/Enums/BarSize.cs
using System; using System.ComponentModel; namespace Krs.Ats.IBNet { /// <summary> /// Historical Bar Size Requests /// </summary> [Serializable()] public enum BarSize : int { /// <summary> /// 1 second bars /// </summary> [Description("1 secs")] O...
using System; using System.ComponentModel; namespace Krs.Ats.IBNet { /// <summary> /// Historical Bar Size Requests /// </summary> [Serializable()] public enum BarSize : int { /// <summary> /// 1 second bars /// </summary> [Description("1 sec")] On...
mit
C#
e2c495451628e6cbce79a08a330cfc30be506930
Update FocusOnAttachedToVisualTreeBehavior.cs
XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors
src/Avalonia.Xaml.Interactions/Core/FocusOnAttachedToVisualTreeBehavior.cs
src/Avalonia.Xaml.Interactions/Core/FocusOnAttachedToVisualTreeBehavior.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 Avalonia; using Avalonia.Controls; using Avalonia.Xaml.Interactivity; namespace Avalonia.Xaml.Interactions.Core { /// <summary> /// Focuses the Ass...
// 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 Avalonia; using Avalonia.Controls; using Avalonia.Xaml.Interactivity; namespace Avalonia.Xaml.Interactions.Core { /// <summary> /// Focuses the Ass...
mit
C#
9980633ac3228c97939cb99100499567b6d2b544
Use Enumerable.Empty
Fogolan/OrchardForWork,bedegaming-aleksej/Orchard,brownjordaninternational/OrchardCMS,JRKelso/Orchard,jersiovic/Orchard,bedegaming-aleksej/Orchard,fassetar/Orchard,abhishekluv/Orchard,JRKelso/Orchard,johnnyqian/Orchard,rtpHarry/Orchard,Fogolan/OrchardForWork,ehe888/Orchard,dcinzona/Orchard,jersiovic/Orchard,cooclsee/Or...
src/Orchard.Web/Modules/Orchard.ContentPicker/Fields/ContentPickerField.cs
src/Orchard.Web/Modules/Orchard.ContentPicker/Fields/ContentPickerField.cs
using System; using System.Collections.Generic; using System.Linq; using Orchard.ContentManagement; using Orchard.ContentManagement.FieldStorage; using Orchard.ContentManagement.Utilities; namespace Orchard.ContentPicker.Fields { public class ContentPickerField : ContentField { private static rea...
using System; using System.Collections.Generic; using System.Linq; using Orchard.ContentManagement; using Orchard.ContentManagement.FieldStorage; using Orchard.ContentManagement.Utilities; namespace Orchard.ContentPicker.Fields { public class ContentPickerField : ContentField { private static rea...
bsd-3-clause
C#
0f3bfcfbb88d8ca5c2bce6837aa5353124a84296
add methods for generating strong typed links
Pondidum/Conifer,Pondidum/Conifer
TypedRoutingTest/ConventionalRouter.cs
TypedRoutingTest/ConventionalRouter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Web.Http; using System.Web.Http.Controllers; namespace TypedRoutingTest { public class ConventionalRouter { private readonly HttpConfiguration _configuration; private readonly ...
using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web.Http; using System.Web.Http.Controllers; namespace TypedRoutingTest { public class ConventionalRouter { private readonly HttpConfiguration _configuration; public ConventionalRouter(HttpConfiguration configuration) ...
lgpl-2.1
C#
25d6180a09c869a27b4a704565d3743f158d8eaf
Update DoNotVirtualizeAttribute.cs
Fody/Virtuosity
Virtuosity/DoNotVirtualizeAttribute.cs
Virtuosity/DoNotVirtualizeAttribute.cs
using System; namespace Virtuosity { /// <summary> /// Used to exclude a class form virtualization. /// </summary> [AttributeUsage(AttributeTargets.Class)] public sealed class DoNotVirtualizeAttribute : Attribute { } }
using System; namespace Virtuosity { /// <summary> /// Used to exclude a class form vitualization. /// </summary> [AttributeUsage(AttributeTargets.Class)] public class DoNotVirtualizeAttribute : Attribute { } }
mit
C#
36f47cc70d212655fbcea9da2e447ddcd40da73a
Use expression body for operators
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Models/ShieldState.cs
WalletWasabi.Gui/Models/ShieldState.cs
namespace WalletWasabi.Gui.Models { public struct ShieldState { public bool IsPrivacyCriticalVisible { get; } public bool IsPrivacySomeVisible { get; } public bool IsPrivacyFineVisible { get; } public bool IsPrivacyStrongVisible { get; } public bool IsPrivacySaiyanVisible { get; } public ShieldState(bool...
namespace WalletWasabi.Gui.Models { public struct ShieldState { public bool IsPrivacyCriticalVisible { get; } public bool IsPrivacySomeVisible { get; } public bool IsPrivacyFineVisible { get; } public bool IsPrivacyStrongVisible { get; } public bool IsPrivacySaiyanVisible { get; } public ShieldState(bool...
mit
C#
4628be3a4756d4780a7da59bf608bad70ef31c05
Update Service.cs
EricZimmerman/RegistryPlugins
RegistryPlugin.Services/Service.cs
RegistryPlugin.Services/Service.cs
using System; using System.ServiceProcess; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.Services { public class Service:IValueOut { public Service(string name, string description, string displayName, ServiceStartMode startMode, ServiceType serviceType, DateTimeOffset nameK...
using System; using System.ServiceProcess; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.Services { public class Service:IValueOut { public Service(string name, string description, string displayName, ServiceStartMode startMode, ServiceType serviceType, DateTimeOffset nameK...
mit
C#
4f948906e99b314b329662c73f7128edebc62518
Make AttributeCollectionJsonSerializer internal
carbon/Amazon
src/Amazon.DynamoDb/JsonConverters/AttributeCollectionJsonSerializer.cs
src/Amazon.DynamoDb/JsonConverters/AttributeCollectionJsonSerializer.cs
using System.Collections.Generic; using System.Text.Json; namespace Amazon.DynamoDb.JsonConverters { internal static class AttributeCollectionJsonSerializer { public static AttributeCollection Read(ref Utf8JsonReader reader) { if (reader.TokenType != JsonTokenType.StartObj...
using System.Collections.Generic; using System.Text.Json; namespace Amazon.DynamoDb.JsonConverters { public static class AttributeCollectionJsonSerializer { public static AttributeCollection Read(ref Utf8JsonReader reader) { if (reader.TokenType != JsonTokenType.StartObjec...
mit
C#
853643dae66abe5f55f04fc93f391b1db1b00668
Add null check for request to make it backwards compatible
fishg/omnisharp-roslyn,hal-ler/omnisharp-roslyn,ChrisHel/omnisharp-roslyn,hach-que/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,sriramgd/omnisharp-roslyn,khellang/omnisharp-roslyn,hitesh97/omnisharp-roslyn,haled/omnisharp-roslyn,ChrisHel/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,jtbm37/omnisharp-roslyn,hitesh97/omni...
src/OmniSharp/Api/v1/ProjectSystem/OmnisharpController.ProjectSystem.cs
src/OmniSharp/Api/v1/ProjectSystem/OmnisharpController.ProjectSystem.cs
using Microsoft.AspNet.Mvc; using OmniSharp.Dnx; using OmniSharp.Models; using OmniSharp.Models.v1; using OmniSharp.MSBuild; using OmniSharp.ScriptCs; namespace OmniSharp { public class ProjectSystemController { private readonly DnxContext _dnxContext; private readonly OmnisharpWorkspace _work...
using Microsoft.AspNet.Mvc; using OmniSharp.Dnx; using OmniSharp.Models; using OmniSharp.Models.v1; using OmniSharp.MSBuild; using OmniSharp.ScriptCs; namespace OmniSharp { public class ProjectSystemController { private readonly DnxContext _dnxContext; private readonly OmnisharpWorkspace _work...
mit
C#
bbb5ce835add791461e47579bc2e8f3142d052c1
Allow to call MSBuildGlobalSettings.SetCppPlatformFolder again with the same key if we set the same value
ubisoftinc/Sharpmake,ubisoftinc/Sharpmake,ubisoftinc/Sharpmake
Sharpmake/MSBuildGlobalSettings.cs
Sharpmake/MSBuildGlobalSettings.cs
// Copyright (c) 2017 Ubisoft Entertainment // // 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 (c) 2017 Ubisoft Entertainment // // 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#
751b7236b5f55039dd9d513468d76a9841da7618
test commit
GoldTeamRules/monarch,GoldTeamRules/monarch,GoldTeamRules/monarch
Monarch/Models/ButterflyTrackingContext/ButterflyTrackingContext.cs
Monarch/Models/ButterflyTrackingContext/ButterflyTrackingContext.cs
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace Monarch.Models.ButterflyTrackingContext { public class ButterflyTrackingContext : DbContext { // this comment was added on another machine public ButterflyTrackingContext() ...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; namespace Monarch.Models.ButterflyTrackingContext { public class ButterflyTrackingContext : DbContext { public ButterflyTrackingContext() : base("ButterflyTrackingContext") { Data...
mit
C#
cc8e5c0ba41f0b14d08de480d88c31bff35c20d4
Fix test case
Grauenwolf/TravellerTools,Grauenwolf/TravellerTools,Grauenwolf/TravellerTools,Grauenwolf/TravellerTools
TravellerTools/Grauenwolf.TravellerTools.Animals.Tests/UnitTest1.cs
TravellerTools/Grauenwolf.TravellerTools.Animals.Tests/UnitTest1.cs
using Grauenwolf.TravellerTools.Animals.AE; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; namespace Grauenwolf.TravellerTools.Animals.Tests { [TestClass] public class AnimalEncounters { [TestMethod] public void TestMethod1() { Dice di...
using Grauenwolf.TravellerTools.Animals.AE; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; namespace Grauenwolf.TravellerTools.Animals.Tests { [TestClass] public class AnimalEncounters { [TestMethod] public void TestMethod1() { Dice di...
mit
C#
a2de6ab79ac59ac3cbd3dd0eb6a43dd89d4ba798
Fix ExceptionError string format
xtralifecloud/unity-gametemplate
UnityProject/Assets/CotcSdkTemplate/Scripts/Tools/ExceptionError.cs
UnityProject/Assets/CotcSdkTemplate/Scripts/Tools/ExceptionError.cs
namespace CotcSdkTemplate { /// <summary> /// Represents an exception error with its type and message data. /// </summary> public class ExceptionError { // Format to display the error data under string Format private const string toStringFormat = "[type: {0}, message: {1}]"; // Error data public string t...
namespace CotcSdkTemplate { /// <summary> /// Represents an exception error with its type and message data. /// </summary> public class ExceptionError { // Format to display the error data under string Format private const string toStringFormat = "{type: {0}, message: {1}}"; // Error data public string t...
mit
C#
1a27ff6adc5351bf88729d6f8f2cc2bb1f96d5ba
Fix constructor
MelHarbour/TcxTools
TcxTools/TrainingCenterDatabase.cs
TcxTools/TrainingCenterDatabase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace TcxTools { /// <remarks/> [Serializable] [XmlType(Namespace = "http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2", TypeName = "TrainingCent...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace TcxTools { /// <remarks/> [Serializable] [XmlType(Namespace = "http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2", TypeName = "TrainingCent...
mit
C#
e026fcacf1ed664fc2ec853464d6472bc934ab53
Fix Google.Cloud.VideoIntelligence.V1Beta2 snippets. (#1420)
evildour/google-cloud-dotnet,benwulfe/google-cloud-dotnet,jskeet/gcloud-dotnet,benwulfe/google-cloud-dotnet,iantalarico/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,jskeet/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,chri...
apis/Google.Cloud.VideoIntelligence.V1Beta2/Google.Cloud.VideoIntelligence.V1Beta2.Snippets/VideoIntelligenceServiceClientSnippets.cs
apis/Google.Cloud.VideoIntelligence.V1Beta2/Google.Cloud.VideoIntelligence.V1Beta2.Snippets/VideoIntelligenceServiceClientSnippets.cs
// Copyright 2017, Google Inc. 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 applicab...
// Copyright 2017, Google Inc. 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 applicab...
apache-2.0
C#
a4a7329a77bf9863164281d34bda059da639d28e
Add test for 'When_overriding_middleware'
Elders/Cronus,Elders/Cronus
src/Elders.Cronus.Tests/Middleware/When_transfering_to_another_middleware.cs
src/Elders.Cronus.Tests/Middleware/When_transfering_to_another_middleware.cs
using Elders.Cronus.Workflow; using Machine.Specifications; using System.Collections.Generic; namespace Elders.Cronus.Tests.Middleware { [Subject("Elders.Cronus.Middleware")] public class When_transfering_to_another_middleware { Establish context = () => { expectedExecution = n...
using Elders.Cronus.Workflow; using Machine.Specifications; using System.Collections.Generic; namespace Elders.Cronus.Tests.Middleware { [Subject("Elders.Cronus.Middleware")] public class When_transfering_to_another_middleware { Establish context = () => { expectedExecution = n...
apache-2.0
C#
ebb56e0efcc0928ea5bd67c915d0daee5350ffed
fix interop sample
Bobdina/Caliburn.Micro,huoxudong125/Caliburn.Micro,chrisrpatterson/Caliburn.Micro,dvdvorle/Caliburn.Micro,mbruckner/Caliburn.Micro,thewindev/Caliburn.Micro,dvdvorle/Caliburn.Micro,bendetat/Caliburn.Micro,mwpowellhtx/Caliburn.Micro,Billpzoom/Caliburn.Micro,suvjunmd/Caliburn.Micro,taori/Caliburn.Micro,Caliburn-Micro/Cali...
samples/Caliburn.Micro.WinFormsInterop/Caliburn.Micro.WinFormsInterop/MainForm.cs
samples/Caliburn.Micro.WinFormsInterop/Caliburn.Micro.WinFormsInterop/MainForm.cs
using System; using System.Windows.Forms; namespace Caliburn.Micro.WinFormsInterop { public partial class MainForm : Form { public MainForm() { InitializeComponent(); } protected override void OnLoad(EventArgs e) { var bootstrapper = new Interop...
using System; using System.Windows.Forms; namespace Caliburn.Micro.WinFormsInterop { public partial class MainForm : Form { public MainForm() { InitializeComponent(); } protected override void OnLoad(EventArgs e) { var bootstrapper = new Interop...
mit
C#
7c3cd15a1c43029401d5186fbb0eb0a98e83af96
Fix exception throwing anti-pattern
JJVertical/dotnet-apiport,conniey/dotnet-apiport,twsouthwick/dotnet-apiport,Microsoft/dotnet-apiport,twsouthwick/dotnet-apiport,conniey/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport,conniey/dotnet-apiport,JJVertical/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport
src/Microsoft.Fx.Portability.MetadataReader/ReflectionMetadataDependencyFinder.cs
src/Microsoft.Fx.Portability.MetadataReader/ReflectionMetadataDependencyFinder.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Fx.Portability.Resources; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Microsoft.Fx.Portability.Analy...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Fx.Portability.Resources; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Microsoft.Fx.Portability.Analy...
mit
C#
a68c1339c3af1874fb46c78e042257c6fd60f2d7
fix typo
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob/AddEpaToApprenticeships.cs
src/SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob/AddEpaToApprenticeships.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SFA.DAS.Commitments.Domain.Interfaces; using SFA.DAS.NLog.Logger; namespace SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob { public class AddEpaToApprenticeships : IAddEpaToApprenticeships...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SFA.DAS.Commitments.Domain.Interfaces; using SFA.DAS.NLog.Logger; namespace SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob { public class AddEpaToApprenticeships : IAddEpaToApprenticeships...
mit
C#
9539622b245911251b149fab8e0efbdef4ac89bc
revert inadvertent change
hudl/Mjolnir,courtneyklatt/Mjolnir
Hudl.Mjolnir.SystemTests/HttpClientCommand.cs
Hudl.Mjolnir.SystemTests/HttpClientCommand.cs
using System; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Hudl.Mjolnir.Command; namespace Hudl.Mjolnir.SystemTests { internal class HttpClientCommand : Command<HttpStatusCode> { private readonly string _url; public HttpClientCommand(stri...
using System; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Hudl.Mjolnir.Command; namespace Hudl.Mjolnir.SystemTests { internal class HttpClientCommand : Command<HttpStatusCode> { private readonly string _url; public HttpClientCommand(stri...
apache-2.0
C#
a5ac6114cf5e9fcca6af99f65a755552241d8ec9
update credit response
ywr/securionpay-net,securionpay/securionpay-net
SecurionPay/Response/Credit.cs
SecurionPay/Response/Credit.cs
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using SecurionPay.Converters; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SecurionPay.Response { public class Credit { [JsonProperty("id")] public string Id { get; set; } ...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using SecurionPay.Converters; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SecurionPay.Response { public class Credit { [JsonProperty("id")] public string Id { get; set; } ...
mit
C#
29a82bb80d068a3b8d6e3809b18d9fb222168199
Add more delay to the reboot watchdog
RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast
RightpointLabs.Pourcast.Repourter/Watchdog.cs
RightpointLabs.Pourcast.Repourter/Watchdog.cs
using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; namespace RightpointLabs.Pourcast.Repourter { public class Watchdog : IDisposable { private ExtendedTimer _timer; private int _duration; private readonly bool _fireOnce; private readonly T...
using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; namespace RightpointLabs.Pourcast.Repourter { public class Watchdog : IDisposable { private ExtendedTimer _timer; private int _duration; private readonly bool _fireOnce; private readonly T...
mit
C#
37f4b5a98f0baf3702fb675ddfcb18723e7daf97
Remove education and ets from soldier list
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Web/Views/Soldier/List.cshtml
BatteryCommander.Web/Views/Soldier/List.cshtml
@model IEnumerable<BatteryCommander.Common.Models.Soldier> @{ ViewBag.Title = "List"; } <h2>@ViewBag.Title</h2> @Html.ActionLink("Include Inactive Soldiers", "List", new { activeOnly = false }) @Html.ActionLink("Add a Soldier", "Edit") @Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk") <table class="table ta...
@model IEnumerable<BatteryCommander.Common.Models.Soldier> @{ ViewBag.Title = "List"; } <h2>@ViewBag.Title</h2> @Html.ActionLink("Include Inactive Soldiers", "List", new { activeOnly = false }) @Html.ActionLink("Add a Soldier", "Edit") @Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk") <table class="table ta...
mit
C#
dd7b0ffbd7d5b0378d6f6a467e068877d2fae925
change method to taking 2 arguments
myxini/block-program
block-program/Detection/IClassifier.cs
block-program/Detection/IClassifier.cs
using Myxini.Recognition.Image; namespace Myxini.Recognition { public interface IClassifier { IBlock Clustering(IImage raw_block, IPatternMatchingAlgorithm algorithm); } }
namespace Myxini.Recognition { interface IClassifier { IBlock Clustering(Image.IImage block); } }
mit
C#
82644cf966ed702b8e798bbb4ce004702f59a7ff
Fix - Gestita l'inesistenza di una sede nel db Mongo
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Persistence.MongoDB/GestioneSedi/GetCoordinateByCodSede.cs
src/backend/SO115App.Persistence.MongoDB/GestioneSedi/GetCoordinateByCodSede.cs
using MongoDB.Driver; using Persistence.MongoDB; using SO115App.API.Models.Classi.Condivise; using SO115App.Models.Classi.MongoDTO; using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Distaccamenti; using System; using System.Collections.Generic; using System.Text; namespace SO115App.Persistence.MongoDB.Gesti...
using MongoDB.Driver; using Persistence.MongoDB; using SO115App.API.Models.Classi.Condivise; using SO115App.Models.Classi.MongoDTO; using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.Distaccamenti; using System; using System.Collections.Generic; using System.Text; namespace SO115App.Persistence.MongoDB.Gesti...
agpl-3.0
C#
5e08802e74e3b39756023305ba56209ed9221a3f
Remove value factory from Response<T> (#5848)
AsrOneSdk/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,hyonholee/azure-sdk-for-net,hyonholee/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,markcowl/azure-sdk-for-net,brjohnstmsft/az...
src/SDKs/Azure.Core/data-plane/Azure.Core/ResponseOfT.cs
src/SDKs/Azure.Core/data-plane/Azure.Core/ResponseOfT.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.ComponentModel; namespace Azure { public readonly struct Response<T> : IDisposable { private readonly Response _response; public Response(Response response, T parsed) ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.ComponentModel; namespace Azure { public struct Response<T> : IDisposable { Response _response; Func<Response, T> _contentParser; T _value; public Respon...
mit
C#
e1bcdac73e6f26996a9adefbf4d35e49bc0a6b3c
Make sure the solution crawler is running in the VS workspace. (#14803)
AArnott/roslyn,CaptainHayashi/roslyn,dpoeschl/roslyn,kelltrick/roslyn,jamesqo/roslyn,swaroop-sridhar/roslyn,srivatsn/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,TyOverby/roslyn,orthoxerox/roslyn,bartdesmet/roslyn,KevinH-MS/roslyn,reaction1989/roslyn,swaroop-sridhar/roslyn,bartdesmet/roslyn,zooba/roslyn,eria...
src/VisualStudio/Xaml/Impl/Implementation/XamlProject.cs
src/VisualStudio/Xaml/Impl/Implementation/XamlProject.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 System; using System.Diagnostics; using Microsoft.CodeAnalysis.Editor.Xaml; using Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem;...
// 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 System; using System.Diagnostics; using Microsoft.CodeAnalysis.Editor.Xaml; using Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem;...
apache-2.0
C#
7cb68668ab699dcd6cca123f7cf377bd5be3173f
Correct spelling mistake: recieve to receive
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISendMessageService.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISendMessageService.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.Text; using System.Threading.Tasks; using PS.Mothership.Core.Common.Dto; using PS.Mothership.Core.Common.Dto.SendMessage; using PS.Mothership.Core.Common.Template.Comm; using Quartz; namespace PS.Moth...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.Text; using System.Threading.Tasks; using PS.Mothership.Core.Common.Dto; using PS.Mothership.Core.Common.Dto.SendMessage; using PS.Mothership.Core.Common.Template.Comm; using Quartz; namespace PS.Moth...
mit
C#
37e6841b043a50588281e192ef1a5a62d709112a
make DashenConfiguration a singleton, ctor inject all the things!
Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen
Dashen/Dashboard.cs
Dashen/Dashboard.cs
using System; using System.Web.Http.SelfHost; using Dashen.Initialisation; using StructureMap; using StructureMap.Graph; namespace Dashen { public class Dashboard { private readonly HttpSelfHostServer _server; private readonly DefinitionCollection _definitions; public Dashboard(DashenConfiguration config) ...
using System; using System.Web.Http.SelfHost; using Dashen.Initialisation; using StructureMap; using StructureMap.Graph; namespace Dashen { public class Dashboard { private readonly HttpSelfHostServer _server; private readonly DefinitionCollection _definitions; public Dashboard(DashenConfiguration config) ...
lgpl-2.1
C#
8dbfaf8cfda59416017e376d070eb24279119627
Fix for lockdown not working when in error state
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/ManageApprentices/Edit.cshtml
src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/ManageApprentices/Edit.cshtml
@using SFA.DAS.ProviderApprenticeshipsService.Web.Models @model ApprenticeshipViewModel @{ ViewBag.Title = "Edit Apprentice"; ViewBag.PageId = "apprentice-edit"; } @section pageSpecificJS { @Scripts.Render("~/bundles/apprentice") @Scripts.Render("~/bundles/characterLimitation") @Scripts.Render("~...
@using SFA.DAS.ProviderApprenticeshipsService.Web.Models @model ApprenticeshipViewModel @{ ViewBag.Title = "Edit Apprentice"; ViewBag.PageId = "apprentice-edit"; } @section pageSpecificJS { @Scripts.Render("~/bundles/apprentice") @Scripts.Render("~/bundles/characterLimitation") @Scripts.Render("~...
mit
C#
e3b1245912d4a88837a653c86fe4143e486d267f
update s
autumn009/TanoCSharpSamples
Chap5/値型と参照型の違い/値型と参照型の違い/Program.cs
Chap5/値型と参照型の違い/値型と参照型の違い/Program.cs
using System; public class MyReferenceType { public int X; } public struct MyValueType { public int X; } class Program { static void Main(string[] args) { // class MyreferenceType MyReferenceType a1 = new MyReferenceType(); // 変数を宣言 a1.X = 123; // 123を入れる MyReferenceT...
using System; public class A { public int X; } class Program { static void Main(string[] args) { // class A A a1 = new A(); // 変数を宣言 a1.X = 123; // 123を入れる A a2 = a1; // 複製を作る a1.X = 456; // 456を入れる Console.WriteLine("a1.X={0}", a1.X); Console.Writ...
mit
C#
1dec31d691b2745fbaf910bd3b3876adb5f70def
Add comment to execution options class
PowerShell/PowerShellEditorServices
src/PowerShellEditorServices/Services/PowerShell/Execution/ExecutionOptions.cs
src/PowerShellEditorServices/Services/PowerShell/Execution/ExecutionOptions.cs
using System; namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution { public enum ExecutionPriority { Normal, Next, } // Some of the fields of this class are not orthogonal, // so it's possible to construct self-contradictory execution options. // We shou...
using System; namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution { public enum ExecutionPriority { Normal, Next, } public record ExecutionOptions { public static ExecutionOptions Default = new() { Priority = ExecutionPriority.No...
mit
C#
487af7b996fb14296dedceeb6419c67e92cb6ba8
Fix build errors in NugetToolPresenceValidator
Sitecore/Sitecore-Instance-Manager
src/SIM.Sitecore9Installer/Validation/Validators/NugetToolPresenceValidator.cs
src/SIM.Sitecore9Installer/Validation/Validators/NugetToolPresenceValidator.cs
using System.Collections.Generic; using System.Management.Automation; using SIM.Sitecore9Installer.Tasks; namespace SIM.Sitecore9Installer.Validation.Validators { public class NugetToolPresenceValidator : BaseValidator { public override string SuccessMessage => "The 'nuget.exe' tool has been located successfu...
using System.Collections.Generic; using System.Management.Automation; using SIM.Sitecore9Installer.Tasks; namespace SIM.Sitecore9Installer.Validation.Validators { public class NugetToolPresenceValidator : BaseValidator { public override string SuccessMessage => "The 'nuget.exe' tool has been located successfu...
mit
C#
f1d97b72512784374ec9396a0a0a439b5f02ccaf
Fix for Application Path on localization to deal with virtual paths
planetClaire/Orchard-LETS,kgacova/Orchard,jerryshi2007/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,SeyDutch/Airbrush,rtpHarry/Orchard,smartnet-developers/Orchard,enspiral-dev-academy/Orchard,MetSystem/Orchard,dcinzona/Orchard-Harvest-Website,TaiAivaras/Orchard,jersiovic/Orchard,princeppy/JPYSites-Orchard-Azur...
src/Orchard.Web/Modules/Orchard.Localization/Selectors/ContentCultureSelector.cs
src/Orchard.Web/Modules/Orchard.Localization/Selectors/ContentCultureSelector.cs
using System; using System.Web; using System.Web.Mvc; using Orchard.Alias; using Orchard.ContentManagement; using Orchard.Environment.Extensions; using Orchard.Localization.Services; namespace Orchard.Localization.Selectors { [OrchardFeature("Orchard.Localization.CultureSelector")] public class ContentCultureS...
using System; using System.Web; using System.Web.Mvc; using Orchard.Alias; using Orchard.ContentManagement; using Orchard.Environment.Extensions; using Orchard.Localization.Services; namespace Orchard.Localization.Selectors { [OrchardFeature("Orchard.Localization.CultureSelector")] public class ContentCultureS...
bsd-3-clause
C#
4c41e4d73eb655aee445ddb9f9fffee3c2a87b03
Tweak eval due email for thru and last update dates
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Reports/EvaluationsDue.cshtml
Battery-Commander.Web/Views/Reports/EvaluationsDue.cshtml
@model IEnumerable<BatteryCommander.Web.Models.Evaluation> <h1>Past Due and Upcoming Evaluations</h1> <table border="1"> <thead> <tr> <th>Ratee</th> <th>Rater</th> <th>Senior Rater</th> <th>Due Date</th> <th>Status</th> <th>Last Updat...
@model IEnumerable<BatteryCommander.Web.Models.Evaluation> <h1>Past Due and Upcoming Evaluations</h1> <table border="1"> <thead> <tr> <th>Ratee</th> <th>Rater</th> <th>Senior Rater</th> <th>Due Date</th> <th>Status</th> <th>Last Updat...
mit
C#