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
ac4d095b1d077c17eea39bf3c762284c796f1879
Edit webpage
Manchen08/ToDoList,Manchen08/ToDoList,Manchen08/ToDoList
Project1/Views/ToDoList/Index.cshtml
Project1/Views/ToDoList/Index.cshtml
@model IEnumerable<Project1.ToDoList> @{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Index</h2> <h1>hello</h1> <p> @Html.ActionLink("Create New", "Create" ) </p> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.Name) </th> ...
@model IEnumerable<Project1.ToDoList> @{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Index</h2> <h1>Hello!</h1> <p> @Html.ActionLink("Create New", "Create" ) </p> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.Name) </th> ...
mit
C#
e0776052ee26b6235f0c49e87442fda3dcf9459d
Build and publish nuget package
peteraritchie/Rock.Core,RockFramework/Rock.Core
Rock.Core/Properties/AssemblyInfo.cs
Rock.Core/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("Ro...
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("Ro...
mit
C#
00f49c09a95e733e523d0321f73bb2607c2b43fc
Make setter private.
damianh/LimitsMiddleware,tugberkugurlu/Owin.Limits,damianh/LimitsMiddleware
src/Owin.Limits/MaxRequestContentLengthOptions.cs
src/Owin.Limits/MaxRequestContentLengthOptions.cs
namespace Owin.Limits { using System; /// <summary> /// Options for limitng the request content length. /// </summary> public class MaxRequestContentLengthOptions : OptionsBase { private Func<int, string> _limitReachedReasonPhrase; /// <summary> /// Initializes a new in...
namespace Owin.Limits { using System; /// <summary> /// Options for limitng the request content length. /// </summary> public class MaxRequestContentLengthOptions : OptionsBase { private Func<int, string> _limitReachedReasonPhrase; /// <summary> /// Initializes a new in...
mit
C#
e773d26c4d1905df38b4ada227bc66d24af389ad
Use correct XML attributes
scooper91/SevenDigital.Api.Schema,7digital/SevenDigital.Api.Schema
src/Schema/Playlists/Response/PlaylistLocation.cs
src/Schema/Playlists/Response/PlaylistLocation.cs
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace SevenDigital.Api.Schema.Playlists.Response { [Serializable] public class PlaylistLocation : UserBasedUpdatableItem { [XmlAttribute("id")] public string Id { get; set; } [XmlElement("name")] public string...
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace SevenDigital.Api.Schema.Playlists.Response { [Serializable] public class PlaylistLocation : UserBasedUpdatableItem { [XmlAttribute("id")] public string Id { get; set; } [XmlElement("name")] public string...
mit
C#
b5446d82ee0037c6b0281a88a52a614d9ccc5806
Add tags to playlist location
scooper91/SevenDigital.Api.Schema,7digital/SevenDigital.Api.Schema
src/Schema/Playlists/Response/PlaylistLocation.cs
src/Schema/Playlists/Response/PlaylistLocation.cs
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace SevenDigital.Api.Schema.Playlists.Response { [Serializable] public class PlaylistLocation : UserBasedUpdatableItem { [XmlAttribute("id")] public string Id { get; set; } [XmlElement("name")] public string...
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace SevenDigital.Api.Schema.Playlists.Response { [Serializable] public class PlaylistLocation : UserBasedUpdatableItem { [XmlAttribute("id")] public string Id { get; set; } [XmlElement("name")] public string...
mit
C#
e0f7be4627377c548bb3ee6c38a547ee9820b350
Fix wildcard path in bootstrap js bundle
kriasoft/site-sdk,kriasoft/site-sdk,kriasoft/site-sdk,kriasoft/site-sdk
Source/Web/App_Start/BundleConfig.cs
Source/Web/App_Start/BundleConfig.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BundleConfig.cs" company="KriaSoft LLC"> // Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt // </copyright> // ------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BundleConfig.cs" company="KriaSoft LLC"> // Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt // </copyright> // ------------------------------------------------...
apache-2.0
C#
2a0bad498a2fa59a067e214b24c13a8f715dce7f
Add a whitelist of JSON params in create url action
jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener
src/UrlShortenerApi/Controllers/UrlsController.cs
src/UrlShortenerApi/Controllers/UrlsController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using UrlShortenerApi.Repositories; using UrlShortenerApi.Models; // For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namesp...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using UrlShortenerApi.Repositories; using UrlShortenerApi.Models; // For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namesp...
agpl-3.0
C#
b96f1a9052e485ca6794a362190e90a09d0bef59
add send email controller
tigranv/CRM_Project_C,tigranv/CRM_Project_C
CRM_Project_C/Source/CRM.WebApi/Controllers/SendEmailsController.cs
CRM_Project_C/Source/CRM.WebApi/Controllers/SendEmailsController.cs
using CRM.EntityFrameWorkLib; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace CRM.WebApi.Controllers { public class SendEmailsController : ApiController { private void SendEmailToList(List<Contact> ContactsLi...
using CRM.EntityFrameWorkLib; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace CRM.WebApi.Controllers { public class SendEmailsController : ApiController { private void SendEmailToList(List<Contact> ContactsLi...
mit
C#
9ca7039d8816f3a1adbf6250a68ba8e090c6cad4
Write value separators when serializing dynamic body
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Elasticsearch.Net/Serialization/Formatters/DynamicBodyFormatter.cs
src/Elasticsearch.Net/Serialization/Formatters/DynamicBodyFormatter.cs
using System.Collections.Generic; namespace Elasticsearch.Net { internal class DynamicBodyFormatter : IJsonFormatter<DynamicBody> { private static readonly DictionaryFormatter<string, object> DictionaryFormatter = new DictionaryFormatter<string, object>(); public void Serialize(ref JsonWriter writer, Dynamic...
using System.Collections.Generic; namespace Elasticsearch.Net { internal class DynamicBodyFormatter : IJsonFormatter<DynamicBody> { private static readonly DictionaryFormatter<string, object> DictionaryFormatter = new DictionaryFormatter<string, object>(); public void Serialize(ref JsonWriter writer, Dynamic...
apache-2.0
C#
906e4b3ce5b11322f679f48e14131592b371ee10
Update VMDLoaderWindow.cs
mmd-for-unity-proj/mmd-for-unity
Editor/MMDLoader/VMDLoaderWindow.cs
Editor/MMDLoader/VMDLoaderWindow.cs
using UnityEngine; using System.Collections; using UnityEditor; public class VMDLoaderWindow : EditorWindow { Object vmdFile; GameObject pmdPrefab; bool createAnimationFile; int interpolationQuality; [MenuItem ("MMD for Unity/VMD Loader")] static void Init() { var window = (VMDLoaderWindow)EditorWindow.GetWi...
using UnityEngine; using System.Collections; using UnityEditor; public class VMDLoaderWindow : EditorWindow { Object vmdFile; GameObject pmdPrefab; bool createAnimationFile; int interpolationQuality; [MenuItem ("Plugins/MMD Loader/VMD Loader")] static void Init() { var window = (VMDLoaderWindow)EditorWindow....
bsd-3-clause
C#
37b5e092138fefc7c07e8c7e4f824b477b5f6950
Remove links from layout
orodriguez/FTF,orodriguez/FTF,orodriguez/FTF
FTF.Web/Views/Shared/_Layout.cshtml
FTF.Web/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html ng-app="ftfApp"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") @Scripts.Render("~/bundles/angular") @Scripts.Render("~/bundles/a...
<!DOCTYPE html> <html ng-app="ftfApp"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") @Scripts.Render("~/bundles/angular") @Scripts.Render("~/bundles/a...
mit
C#
6b3f50e5779ad76aecb14ab18e0fe0b745d9cf31
Use lazy to read help text
skwasjer/SilentHunter
src/SilentHunter.Formats/Dat/Controllers/ControllerAssemblyHelpText.cs
src/SilentHunter.Formats/Dat/Controllers/ControllerAssemblyHelpText.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Reflection; using System.Threading; using System.Xml; using SilentHunter.Formats; namespace SilentHunter.Dat.Controllers { public class ControllerAssemblyHelpText { private Lazy<IDictionary<string, string>> ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Reflection; using System.Xml; using SilentHunter.Formats; namespace SilentHunter.Dat.Controllers { public class ControllerAssemblyHelpText { private IDictionary<string, string> _dict = new Dictionary<string,...
apache-2.0
C#
1bd2a25db6000289ed793f3670cb8c7c31011c15
Change the profiling method name.
ttakahari/AdoNetProfiler
src/AdoNetProfiler/AdoNetProfiler/IProfiler.cs
src/AdoNetProfiler/AdoNetProfiler/IProfiler.cs
using System; using System.Data; using System.Data.Common; using System.Threading.Tasks; namespace AdoNetProfiler { /// <summary> /// The interface that defines methods profiling of database accesses. /// </summary> public interface IProfiler { /// <summary> /// Get the profiler is...
using System; using System.Data; using System.Data.Common; using System.Threading.Tasks; namespace AdoNetProfiler { /// <summary> /// The interface that defines methods profiling of database accesses. /// </summary> public interface IProfiler { /// <summary> /// Get the profiler is...
mit
C#
abed44fe751c0913684bd80b03cefee6a6ea9246
fix build
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
addons/Rules/Tweek.Drivers.Rules.Management/RulesManagementAddon.cs
addons/Rules/Tweek.Drivers.Rules.Management/RulesManagementAddon.cs
using System; using System.Net.Http; using App.Metrics; using Engine.Drivers.Rules; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Tweek.ApiService.Addons; using System.Linq; using App.Metrics.Healt...
using System; using System.Net.Http; using App.Metrics; using Engine.Drivers.Rules; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Tweek.ApiService.Addons; using System.Linq; using App.Metrics.Healt...
mit
C#
bec991195051aada945755959ac3b284df3678cb
Reduce unnecessary logging of missing optional methods
pardeike/Harmony
Harmony/Internal/PatchTools.cs
Harmony/Internal/PatchTools.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Harmony { internal static class PatchTools { static readonly Dictionary<object, object> objectReferences = new Dictionary<object, object>(); internal static void RememberObject(object key, object value) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Harmony { internal static class PatchTools { static readonly Dictionary<object, object> objectReferences = new Dictionary<object, object>(); internal static void RememberObject(object key, object value) { ...
mit
C#
12e3a6070fbb8d2b48087ab22356c44ffa88f8c8
Rename database tables
ZyshchykMaksim/NLayer.NET,ZyshchykMaksim/NLayer.NET
NLayer.NET.DBL/AppDbContext.cs
NLayer.NET.DBL/AppDbContext.cs
using System; using System.Data.Entity; using Microsoft.AspNet.Identity.EntityFramework; using NLayer.NET.DBL.DB; using NLayer.NET.DBL.Entities; namespace NLayer.NET.DBL { public class AppDbContext : DbContextBase { public DbSet<ExternalData> ExternalDatas { get; set; } static AppDbContext() ...
using System; using System.Data.Entity; using NLayer.NET.DBL.DB; using NLayer.NET.DBL.Entities; namespace NLayer.NET.DBL { public class AppDbContext : DbContextBase { public DbSet<ExternalData> ExternalDatas { get; set; } static AppDbContext() { Database.SetInitializer<App...
apache-2.0
C#
6793ef7a0bdeecd13dad4ca1f4fc7c202aafd79a
implement new team method
yonglehou/octokit.net,alfhenrik/octokit.net,rlugojr/octokit.net,gabrielweyer/octokit.net,gdziadkiewicz/octokit.net,octokit/octokit.net,kdolan/octokit.net,octokit-net-test-org/octokit.net,rlugojr/octokit.net,brramos/octokit.net,forki/octokit.net,dampir/octokit.net,mminns/octokit.net,kolbasov/octokit.net,editor-tools/oct...
Octokit/Clients/TeamsClient.cs
Octokit/Clients/TeamsClient.cs
#if NET_45 using System.Collections.Generic; #endif using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Octokit { /// <summary> /// A client for GitHub's Org Teams API. /// </summary> /// <remarks> /// See the <a href="http://developer.github.com/v3/orgs/teams/">Orgs AP...
#if NET_45 using System.Collections.Generic; #endif using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Octokit { /// <summary> /// A client for GitHub's Org Teams API. /// </summary> /// <remarks> /// See the <a href="http://developer.github.com/v3/orgs/teams/">Orgs AP...
mit
C#
72e941de6362c90f6c63f4f6fd5cf635eb7f3eb6
Fix bug with logic for if the token is valid
stranne/Vasttrafik.NET,stranne/Vasttrafik.NET
src/Stranne.VasttrafikNET/Models/TokenModel.cs
src/Stranne.VasttrafikNET/Models/TokenModel.cs
using System; using Newtonsoft.Json; namespace Stranne.VasttrafikNET.Models { internal class Token { private DateTimeOffset _createDate = DateTimeOffset.Now; [JsonProperty("Expires_In")] public int ExpiresIn { get; set; } [JsonProperty("Access_Token")] public string A...
using System; using Newtonsoft.Json; namespace Stranne.VasttrafikNET.Models { internal class Token { private DateTimeOffset _createDate = DateTimeOffset.Now; [JsonProperty("Expires_In")] public int ExpiresIn { get; set; } [JsonProperty("Access_Token")] public string A...
mit
C#
298095cc29103ed876f47ea83a52bff88afacb72
Fix test
twilio/twilio-csharp,IRlyDontKnow/twilio-csharp,mplacona/twilio-csharp
src/Twilio.Api.Tests.Integration/UsageTests.cs
src/Twilio.Api.Tests.Integration/UsageTests.cs
using System; using NUnit.Framework; using Moq; using RestSharp; namespace Twilio.Api.Tests.Integration { [TestFixture] public class UsageTests { private Mock<TwilioRestClient> mockClient; [SetUp] public void Setup() { mockClient = new Mock<TwilioRestClient>(Cr...
using System; using NUnit.Framework; using Moq; using RestSharp; namespace Twilio.Api.Tests.Integration { [TestFixture] public class UsageTests { private Mock<TwilioRestClient> mockClient; [SetUp] public void Setup() { mockClient = new Mock<TwilioRestClient>(Cr...
mit
C#
e5bfa194f02948e8a60f789a32c83885c79f2bca
set vary-by accept encoding
rytmis/dotless,rytmis/dotless,dotless/dotless,modulexcite/dotless,modulexcite/dotless,r2i-sitecore/dotless,rytmis/dotless,modulexcite/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,rytmis/dotless,modulexcite/dotless,rytmis/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,modulexcite/dotless,rytmis/dotless,r2i-sitec...
src/dotless.Core/Response/CachedCssResponse.cs
src/dotless.Core/Response/CachedCssResponse.cs
namespace dotless.Core.Response { using System; using System.Web; using Abstractions; public class CachedCssResponse : IResponse { public readonly IHttp Http; private const int CacheAgeMinutes = 10080; //7 days public CachedCssResponse(IHttp http) { Htt...
namespace dotless.Core.Response { using System; using System.Web; using Abstractions; public class CachedCssResponse : IResponse { public readonly IHttp Http; private const int CacheAgeMinutes = 10080; //7 days public CachedCssResponse(IHttp http) { Htt...
apache-2.0
C#
d7c54ebfcd195bea0d36afcbcdd5ae9413d9508b
Fix duplicate '?' in query part of URI (#462)
JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET
SpotifyAPI.Web/Util/URIExtension.cs
SpotifyAPI.Web/Util/URIExtension.cs
using System.Web; using System.Linq; using System; using System.Collections.Generic; using System.Collections.Specialized; namespace SpotifyAPI.Web { public static class URIExtensions { public static Uri ApplyParameters(this Uri uri, IDictionary<string, string> parameters) { Ensure.ArgumentNotNull(ur...
using System.Web; using System.Linq; using System; using System.Collections.Generic; using System.Collections.Specialized; namespace SpotifyAPI.Web { public static class URIExtensions { public static Uri ApplyParameters(this Uri uri, IDictionary<string, string> parameters) { Ensure.ArgumentNotNull(ur...
mit
C#
cc1a79e6110d8448ba869fc845af10da8c1b17b4
Raise rating of gif search
glconti/awesome-bot,glconti/awesome-bot
awesome-bot/Giphy/RandomEndPoint.cs
awesome-bot/Giphy/RandomEndPoint.cs
namespace awesome_bot.Giphy { public static partial class GiphyEndPoints { public class RandomEndPoint { private const string RandomPath = "/v1/gifs/random"; public string Build(string searchText, Rating rating = null) => string.Join(string.Empty, Root, R...
namespace awesome_bot.Giphy { public static partial class GiphyEndPoints { public class RandomEndPoint { private const string RandomPath = "/v1/gifs/random"; public string Build(string searchText, Rating rating = null) => string.Join(string.Empty, Root, R...
mit
C#
c8ede76f1a084cd8112cf3697efe59e120872ce4
use simple methods as arguments instead of pointers
OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev
tests/integration/AlphaDev.Web.Tests.Integration/Features/Homepage_feature.cs
tests/integration/AlphaDev.Web.Tests.Integration/Features/Homepage_feature.cs
namespace AlphaDev.Web.Tests.Integration.Features { using LightBDD.Framework; using LightBDD.Framework.Scenarios.Basic; using LightBDD.Framework.Scenarios.Extended; using LightBDD.XUnit2; [FeatureDescription( @"In order to see the web site As a user I want to interact w...
namespace AlphaDev.Web.Tests.Integration.Features { using LightBDD.Framework; using LightBDD.Framework.Scenarios.Extended; using LightBDD.XUnit2; [FeatureDescription( @"In order to see the web site As a user I want to interact with the homepage")] public partial class H...
unlicense
C#
298b0b6b8cbead8ec8c871eb413d5da3248b84ce
clean code
brookshi/LLMAnimator
LLMAnimator/Animator.cs
LLMAnimator/Animator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; namespace LLM { public class Animator { public static IAnimation Use(AnimationType animType) { return CreateAnimationbyType(animType); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; namespace LLM { public class Animator { //static Dictionary<AnimationType, IAnimation> _animPool = new Dictionary<AnimationType, IAnimation>(); public sta...
apache-2.0
C#
00fe661df6c17be0d6e3db1aff7ff04d940766ab
Add JsonProperty attribute on each property
aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET
SourceCodes/03_Services/ReCaptcha.Wrapper.Mvc/Parameters/ResourceParameters.cs
SourceCodes/03_Services/ReCaptcha.Wrapper.Mvc/Parameters/ResourceParameters.cs
using Newtonsoft.Json; namespace Aliencube.ReCaptcha.Wrapper.Mvc.Parameters { /// <summary> /// This represents the parameters entity to render api.js. /// </summary> /// <remarks>More details: https://developers.google.com/recaptcha/docs/display#js_param</remarks> public partial class ResourcePara...
namespace Aliencube.ReCaptcha.Wrapper.Mvc.Parameters { /// <summary> /// This represents the parameters entity to render api.js. /// </summary> /// <remarks>More details: https://developers.google.com/recaptcha/docs/display#js_param</remarks> public partial class ResourceParameters { ///...
mit
C#
94acc2f952d40eb82f81215a82948597e4dd5074
Add comments to GameBoard
Onosume/battleships-cli-c-sharp
battleships-cli/battleships-cli/Application/GameObjects/GameBoard/GameBoard.cs
battleships-cli/battleships-cli/Application/GameObjects/GameBoard/GameBoard.cs
using System; namespace battleships_cli.Application.GameObjects.GameBoard { public class GameBoard { public const int BOARD_WIDTH = 10; public const int BOARD_HEIGHT = 10; public const char HIT_MARKER = 'H'; public const char MISS_MARKER = 'M'; private char[,] board; ...
using System; namespace battleships_cli.Application.GameObjects.GameBoard { public class GameBoard { public const int BOARD_WIDTH = 10; public const int BOARD_HEIGHT = 10; public const char HIT_MARKER = 'H'; public const char MISS_MARKER = 'M'; private char[,] board; ...
mit
C#
fae9384c60352fad9f5f33a6e028c17c1af746ca
Revert test change.
jherby2k/AudioWorks
AudioWorks/tests/AudioWorks.Common.Tests/AudioEncodingExceptionTests.cs
AudioWorks/tests/AudioWorks.Common.Tests/AudioEncodingExceptionTests.cs
/* Copyright 2018 Jeremy Herbison This file is part of AudioWorks. AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Audi...
/* Copyright 2018 Jeremy Herbison This file is part of AudioWorks. AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Audi...
agpl-3.0
C#
bcc19e29f2c2d41621025c9708cf976fce370a55
Fix editor crashing after re-ordering objects
peppy/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,UselessToucan/osu
osu.Game/Rulesets/UI/HitObjectContainer.cs
osu.Game/Rulesets/UI/HitObjectContainer.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 System.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Objects.Drawables; n...
mit
C#
d746649249f2fbf439ba4a8cd11846b67a34c396
Add more supported image extensions
danielchalmers/DesktopWidgets
DesktopWidgets/Helpers/ImageHelper.cs
DesktopWidgets/Helpers/ImageHelper.cs
using System; using System.Collections.Generic; using System.Windows.Media.Imaging; namespace DesktopWidgets.Helpers { public static class ImageHelper { // https://msdn.microsoft.com/en-us/library/ee719654(v=VS.85).aspx#wpfc_codecs. public static readonly List<string> SupportedExtensions = new...
using System; using System.Collections.Generic; using System.Windows.Media.Imaging; namespace DesktopWidgets.Helpers { public static class ImageHelper { public static readonly List<string> SupportedExtensions = new List<string> { ".bmp", ".gif", ".ico", ...
apache-2.0
C#
25905113520144d0384de8dc884d596e5d2a37a4
Add background
haavardlian/tdt4240
tdt4240/tdt4240/Minigames/Mathgame/MathGame.cs
tdt4240/tdt4240/Minigames/Mathgame/MathGame.cs
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using tdt4240.Boards; namespace tdt4240.Minigames.MathGame { class MathGame : MiniGame { private const int ScreenPadding = 10; ...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using tdt4240.Boards; namespace tdt4240.Minigames.MathGame { class MathGame : MiniGame { private const int ScreenPadding = 10; ...
apache-2.0
C#
6abf5aa6e3f4ad9dd548333ac4985edbe102232a
add test to check #459
shimat/opencvsharp,shimat/opencvsharp,shimat/opencvsharp
test/OpenCvSharp.Tests/tracking/TrackerKCFTest.cs
test/OpenCvSharp.Tests/tracking/TrackerKCFTest.cs
using System; using OpenCvSharp.Tracking; using Xunit; namespace OpenCvSharp.Tests.Tracking { // ReSharper disable once InconsistentNaming public class TrackerKCFTest : TrackerTestBase { [Fact] public void Init() { using (var tracker = TrackerKCF.Create()) ...
using System; using OpenCvSharp.Tracking; using Xunit; namespace OpenCvSharp.Tests.Tracking { // ReSharper disable once InconsistentNaming public class TrackerKCFTest : TrackerTestBase { [Fact] public void Init() { using (var tracker = TrackerKCF.Create()) ...
apache-2.0
C#
172b78548a4339a5b55f1f25e6932ce80e549c06
Include all parameters in visibleRaycast
NitorInc/NitoriWare,uulltt/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/Helper/PhysicsHelper2D.cs
Assets/Scripts/Helper/PhysicsHelper2D.cs
using UnityEngine; using System.Collections; public class PhysicsHelper2D { /// <summary> /// Ignores collision for every single GameObject with a particular tag /// </summary> /// <param name="object1"></param> /// <param name="tag"></param> /// <param name="ignore"></param> public static void ignoreCollision...
using UnityEngine; using System.Collections; public class PhysicsHelper2D { /// <summary> /// Ignores collision for every single GameObject with a particular tag /// </summary> /// <param name="object1"></param> /// <param name="tag"></param> /// <param name="ignore"></param> public static void ignoreCollision...
mit
C#
d2f67fddadc0ff51af4c04d52b78c450dc08a309
fix for https://datastax-oss.atlassian.net/browse/CSHARP-38
bridgewell/csharp-driver,datastax/csharp-driver,AtwooTM/csharp-driver,oguimbal/csharp-driver,alprema/csharp-driver,aNutForAJarOfTuna/csharp-driver,datastax/csharp-driver,maxwellb/csharp-driver,maxwellb/csharp-driver,mintsoft/csharp-driver,kishkaru/csharp-driver,trurl123/csharp-driver,jorgebay/csharp-driver
Cassandra.Data.Linq.MSTest/BasicTests.cs
Cassandra.Data.Linq.MSTest/BasicTests.cs
using System; #if MYTEST using MyTest; #else using Microsoft.VisualStudio.TestTools.UnitTesting; #endif namespace Cassandra.Data.Linq.MSTest { public partial class BasicLinqTests { [TestMethod] [WorksForMe] public void Test() { Test1(); } [TestMeth...
using System; #if MYTEST using MyTest; #else using Microsoft.VisualStudio.TestTools.UnitTesting; #endif namespace Cassandra.Data.Linq.MSTest { public partial class BasicLinqTests { [TestMethod] [NeedSomeFix] [Priority] public void Test() { Test1(); ...
apache-2.0
C#
48ef0dfbbf1fbde95dcbfc34c8910d2cd85b4f17
add keysize option for rsa key generation
feuerwelt/estellaris
Estellaris.Security/Ciphers/RSACipher.cs
Estellaris.Security/Ciphers/RSACipher.cs
using System.IO; using System.Security.Cryptography; using Estellaris.Core.Extensions; using Estellaris.Security.Utils; namespace Estellaris.Security.Ciphers { public static class RSACipher { public static RSAKeyPair GenerateKeys(int keySize = 2048) { RSAKeyPair keys = null; using(var rsa = RSA.Creat...
using System.Security.Cryptography; using Estellaris.Core.Extensions; using Estellaris.Security.Utils; namespace Estellaris.Security.Ciphers { public static class RSACipher { public static RSAKeyPair GenerateKeys() { RSAKeyPair keys = null; using(var rsa = RSA.Create()) { rsa.KeySize = 2048; ...
mit
C#
511948a7f8688ec4452981befb2929a3ec399b25
Update Grid.cshtml
CarmelSchvartzman/MVC_WebGrid,CarmelSoftware/MVC_WebGrid
Views/Posts/Grid.cshtml
Views/Posts/Grid.cshtml
@model IEnumerable<AdvancedMVC.Models.Blog> @{ ViewBag.Title = "Grid"; } <h2>CarmelSoft Ajax WebGrid</h2> <p> @Html.ActionLink("Create New", "Create") </p> @{ var grid = new WebGrid(Model, new[] { "Title", "DatePosted", "MainPicture" }, rowsPerPage: 3, ajaxUpdateContainerId: "gridDIV"); } <link href="~/Cont...
@model IEnumerable<AdvancedMVC.Models.Blog> @{ ViewBag.Title = "Grid"; } <h2>CarmelSoft Ajax WebGrid</h2> <p> @Html.ActionLink("Create New", "Create") </p> @{ var grid = new WebGrid(Model, new[] { "Title", "DatePosted", "MainPicture" }, rowsPerPage: 3, ajaxUpdateContainerId: "gridDIV"); } <link href="~/Cont...
mit
C#
e8e5e660388ea653b0467112978e99802a35185d
Save as UTF-8
halak/jvalue
tests/JValue.Tests/EqualityTest.cs
tests/JValue.Tests/EqualityTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Halak { [TestClass] public class EqualityTest { [TestMethod] public void TestNullEquality() { Assert.AreEqual(JValue.Null, new JValue()); Assert.AreEqual(JValue.Null, default(JValue)...
using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Halak { [TestClass] public class EqualityTest { [TestMethod] public void TestNullEquality() { Assert.AreEqual(JValue.Null, new JValue()); Assert.AreEqual(JValue.Nul...
mit
C#
15a5e012e4b7a87d88705c87d2910d2f5523d9f3
Update HeightMapGenerator.cs
Domiii/UnityLoopyLoops
Assets/Scripts/HeightMapGenerator.cs
Assets/Scripts/HeightMapGenerator.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HeightMapGenerator : MonoBehaviour { // 兩個地形,這個數值如果是一樣的話,會看到的樣子也是一樣的 public int seed = 1; // length或長度或解析度,也就是 x 與 z 緯度有幾個格子 public int length = 65; // 最高的高度 public float height = 50; // 頻率 public float frequency = ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HeightMapGenerator : MonoBehaviour { // 兩個地形,這個數值如果是一樣的話,會看到的樣子也是一樣的 public int seed = 1; // length或長度或解析度,也就是 x 與 z 緯度有幾個格子 public int length = 65; // 最高的高度 public float height = 50; // 頻率 public float frequency = ...
mit
C#
567887b566db78aa56030e894c857be7ecc8d081
Comment test harness unit test with lame check
Lunch-box/SimpleOrderRouting
CSharp/SimpleOrderRouting.Tests/HarnessTests.cs
CSharp/SimpleOrderRouting.Tests/HarnessTests.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="HarnessTests.cs" company="LunchBox corp"> // Copyright 2014 The Lunch-Box mob: // Ozgur DEVELIOGLU (@Zgurrr) // Cyrille DUPUYDAUBY (@Cyrdup) // ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="HarnessTests.cs" company="LunchBox corp"> // Copyright 2014 The Lunch-Box mob: // Ozgur DEVELIOGLU (@Zgurrr) // Cyrille DUPUYDAUBY (@Cyrdup) // ...
apache-2.0
C#
976c62e1fac66f374be681688b94e2ba0cccedf9
change version assembly
renanaragao/BuilderImmutableObject,renanaragao/BuilderImmutableObject
BuilderImmutableObject/BuilderImmutableObject/Properties/AssemblyInfo.cs
BuilderImmutableObject/BuilderImmutableObject/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("Bu...
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("Bu...
mit
C#
e9f049ee427e2851eb940742e2f6b6e91625d5ac
remove using.
nikitaignatov/gemini-time-logger
src/BaconTime.Spec/CommandSelectorTests.cs
src/BaconTime.Spec/CommandSelectorTests.cs
using System; using BaconTime.Terminal; using BaconTime.Terminal.Commands; using DocoptNet; using FluentAssertions; using NUnit.Framework; namespace BaconTime.Spec { [TestFixture] class CommandSelectorTests { [TestCase("log 1m30h 24242 hi mom", typeof(LogTimeCommand))] [TestCase("show hour...
using System; using BaconTime.Terminal; using BaconTime.Terminal.Attributes; using BaconTime.Terminal.Commands; using DocoptNet; using FluentAssertions; using NUnit.Framework; namespace BaconTime.Spec { [TestFixture] class CommandSelectorTests { [TestCase("log 1m30h 24242 hi mom", typeof(LogTimeCo...
mit
C#
a87f9cc99a8956bb8f3dbebcd21812743e159afb
fix custom grant example
tuyndv/IdentityServer3,huoxudong125/Thinktecture.IdentityServer.v3,Agrando/IdentityServer3,chicoribas/IdentityServer3,openbizgit/IdentityServer3,bestwpw/IdentityServer3,olohmann/IdentityServer3,bodell/IdentityServer3,buddhike/IdentityServer3,mvalipour/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,bodell/Identity...
source/Host/Config/CustomGrantValidator.cs
source/Host/Config/CustomGrantValidator.cs
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
apache-2.0
C#
38dc7357d256981680aa61a6695d5ab286ccce34
Tweak error text.
JohanLarsson/Gu.Roslyn.Asserts
Gu.Roslyn.Asserts/ExpectedMessage.cs
Gu.Roslyn.Asserts/ExpectedMessage.cs
namespace Gu.Roslyn.Asserts { using System.Collections.Generic; using System.Globalization; using System.Linq; using Gu.Roslyn.Asserts.Internals; using Microsoft.CodeAnalysis; /// <summary> /// A type for validating against expected message for a diagnostic. /// </summary> public c...
namespace Gu.Roslyn.Asserts { using System.Collections.Generic; using System.Globalization; using System.Linq; using Gu.Roslyn.Asserts.Internals; using Microsoft.CodeAnalysis; /// <summary> /// A type for validating against expected message for a diagnostic. /// </summary> public c...
mit
C#
20224a169a576dd505a214589a59ec89e7cb5bbe
Resolve full for specified .deployment project file.
juoni/kudu,dev-enthusiast/kudu,EricSten-MSFT/kudu,badescuga/kudu,shanselman/kudu,sitereactor/kudu,chrisrpatterson/kudu,uQr/kudu,sitereactor/kudu,dev-enthusiast/kudu,YOTOV-LIMITED/kudu,projectkudu/kudu,oliver-feng/kudu,kali786516/kudu,badescuga/kudu,kali786516/kudu,juvchan/kudu,duncansmart/kudu,duncansmart/kudu,projectk...
Kudu.Core/Deployment/DeploymentConfiguration.cs
Kudu.Core/Deployment/DeploymentConfiguration.cs
using System; using System.IO; using Kudu.Core.Infrastructure; namespace Kudu.Core.Deployment { public class DeploymentConfiguration { internal const string DeployConfigFile = ".deployment"; private readonly IniFile _iniFile; private readonly string _path; public DeploymentCon...
using System; using System.IO; using Kudu.Core.Infrastructure; namespace Kudu.Core.Deployment { public class DeploymentConfiguration { internal const string DeployConfigFile = ".deployment"; private readonly IniFile _iniFile; private readonly string _path; public DeploymentCon...
apache-2.0
C#
bdc4ee1564071424b0f52ec786233ab7ab22bbb4
Update Program.cs
natintosh/Numerical-Methods
NumericalMethods/Bisection/Bisection/Program.cs
NumericalMethods/Bisection/Bisection/Program.cs
using System; namespace Bisection { class MainClass:NumericalMethods { public static void Main() { Double[] equation = { 25, 5, 1, 106.8 }; Console.Write("Enter the value for a: "); Double a = Convert.ToDouble(Console.ReadLine()); Console.Write("Enter the value...
using System; namespace Bisection { class MainClass:NumericalMethods { public static void Main() { Double[] equation = { 1, 0, -1, -2 }; Console.Write("Enter the value for a: "); Double a = Convert.ToDouble(Console.ReadLine()); Console.Write("Enter the value fo...
mit
C#
a2d1cf344d925fd16a99e0558b38d93a94255fef
Work around bug in FormsAuthMiddleware
borisyankov/JabbR,SonOfSam/JabbR,borisyankov/JabbR,lukehoban/JabbR,M-Zuber/JabbR,fuzeman/vox,yadyn/JabbR,e10/JabbR,timgranstrom/JabbR,18098924759/JabbR,meebey/JabbR,JabbR/JabbR,lukehoban/JabbR,mzdv/JabbR,LookLikeAPro/JabbR,meebey/JabbR,lukehoban/JabbR,yadyn/JabbR,CrankyTRex/JabbRMirror,SonOfSam/JabbR,yadyn/JabbR,e10/Ja...
JabbR/Middleware/FixCookieHandler.cs
JabbR/Middleware/FixCookieHandler.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Microsoft.Owin; using Microsoft.Owin.Security; using Microsoft.Owin.Security.DataHandler; namespace JabbR.Middleware { using AppFunc = Func<IDictionary<string, object>, Task>; public class FixCookieHandler ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Owin; namespace JabbR.Middleware { using Microsoft.Owin.Security; using Microsoft.Owin.Security.DataHandler; using AppFunc = Func<IDictionary<string, object>, Task>; public class FixCookieHandler { ...
mit
C#
da8a1fe957e85495ba7d17fb7eb50f3418fb2b81
use the mapper in the base class
AutoMapper/AutoMapper,AutoMapper/AutoMapper,BlaiseD/AutoMapper,lbargaoanu/AutoMapper
src/UnitTests/Bug/FlagEnumsExceptionBug.cs
src/UnitTests/Bug/FlagEnumsExceptionBug.cs
using System; using Shouldly; using Xunit; namespace AutoMapper.UnitTests.Bug { public class FlagEnumsExceptionBug : AutoMapperSpecBase { [Flags] public enum FlagEnum { A = 1, B = 2 } public class FlagEnumSource { public Flag...
using System; using Shouldly; using Xunit; namespace AutoMapper.UnitTests.Bug { public class FlagEnumsExceptionBug : AutoMapperSpecBase { [Flags] public enum FlagEnum { A = 1, B = 2 } public class FlagEnumSource { public Flag...
mit
C#
60968f9726077903be2250b9780d705b1d4b30cf
fix content publisher function
technicalpoets/producer,technicalpoets/producer
Producer/Producer.Functions/ContentPublisher.cs
Producer/Producer.Functions/ContentPublisher.cs
using System; using System.Net; using System.Net.Http; using System.Threading; using System.Web.Http; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; using Producer.Domain; using Producer.Auth; using System.Threading.Tasks; using Microsoft.Azure.Docume...
using System; using System.Net; using System.Net.Http; using System.Threading; using System.Web.Http; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; using Producer.Domain; using Producer.Auth; namespace Producer.Functions { public static class Conte...
mit
C#
e76c09ef2b97bd07cb8abd3a295e19aa4fd5f872
Fix image link
IBM-Bluemix/asp.net5-helloworld,IBM-Bluemix/asp.net5-helloworld
src/WebApplication/Views/Home/Index.cshtml
src/WebApplication/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Hello World!"; } <table> <tr> <td style='width: 30%;'> <img class="newappIcon" src="/images/newapp-icon.png"> </td> <td> <h1 id="message">Hello World!</h1> <p class='description'></p> Thank you for creating an <span class="blu...
@{ ViewData["Title"] = "Hello World!"; } <table> <tr> <td style='width: 30%;'> <img class="newappIcon" src="images/newapp-icon.png"> </td> <td> <h1 id="message">Hello World!</h1> <p class='description'></p> Thank you for creating an <span class="blue...
apache-2.0
C#
4127fb6a20e6cb2f7a15bd74cb1c7567a1d43f8f
fix formatting
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/UI/Windows/Widgets/TccWidgetBuilder.cs
TCC.Core/UI/Windows/Widgets/TccWidgetBuilder.cs
using System; using System.Threading; using System.Threading.Tasks; using System.Windows.Threading; using TCC.Settings.WindowSettings; using TCC.Utils; using TCC.ViewModels; namespace TCC.UI.Windows.Widgets { public class TccWidgetBuilder<TWindow, TViewModel> where TWindow : TccWidget where TViewModel : TccWindow...
using System; using System.Threading; using System.Threading.Tasks; using System.Windows.Threading; using TCC.Settings.WindowSettings; using TCC.Utils; using TCC.ViewModels; namespace TCC.UI.Windows.Widgets { public class TccWidgetBuilder<TWindow, TViewModel> where TWindow : TccWidget where TViewModel : TccWindow...
mit
C#
595a12be23a293be2ecec7612d35ac1cfbbd9ddb
Remove an useless namespace usage
vbfox/KitsuneRoslyn
TestDiagnosticsUnitTests/NoNewGuidAnalyzerTests.cs
TestDiagnosticsUnitTests/NoNewGuidAnalyzerTests.cs
using BlackFox.Roslyn.TestDiagnostics.NoNewGuid; using Microsoft.VisualStudio.TestTools.UnitTesting; using NFluent; using TestDiagnosticsUnitTests.Helpers.DiagnosticTestHelpers; namespace TestDiagnosticsUnitTests { [TestClass] public class NoNewGuidAnalyzerTests { [TestMethod] public void ...
using BlackFox.Roslyn.TestDiagnostics.NoNewGuid; using BlackFox.Roslyn.TestDiagnostics.NoStringEmpty; using Microsoft.VisualStudio.TestTools.UnitTesting; using NFluent; using TestDiagnosticsUnitTests.Helpers.DiagnosticTestHelpers; namespace TestDiagnosticsUnitTests { [TestClass] public class NoNewGuidAnalyzer...
bsd-2-clause
C#
f31edbd330d9da4b342888b26119f28cc9d58d0a
Update UI Tests
anaselhajjaji/xamarin-samples
UITestSample/UITestSample.Android.UITests/Tests.cs
UITestSample/UITestSample.Android.UITests/Tests.cs
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Android; using Xamarin.UITest.Queries; namespace UITestSample.Android.UITests { [TestFixture] public class Tests { AndroidApp app; [SetUp] public void BeforeEachTest...
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Android; using Xamarin.UITest.Queries; namespace UITestSample.Android.UITests { [TestFixture] public class Tests { AndroidApp app; [SetUp] public void BeforeEachTest...
apache-2.0
C#
b2495a10813643e3e5cb465a80735cbf91cc89c7
Update OperaConfig.cs
rosolko/WebDriverManager.Net
WebDriverManager/DriverConfigs/Impl/OperaConfig.cs
WebDriverManager/DriverConfigs/Impl/OperaConfig.cs
using System; using System.Linq; using System.Net; using AngleSharp.Html.Parser; namespace WebDriverManager.DriverConfigs.Impl { public class OperaConfig : IDriverConfig { public virtual string GetName() { return "Opera"; } public virtual string GetUrl32() {...
using System; using System.Linq; using System.Net; using AngleSharp.Html.Parser; namespace WebDriverManager.DriverConfigs.Impl { public class OperaConfig : IDriverConfig { public virtual string GetName() { return "Opera"; } public virtual string GetUrl32() {...
mit
C#
b3a6b068a20bb9c5f26a9deaa32b7a548a5041ec
Fix IsDeviceInInitializeStateAsync (#82)
Eclo/nf-debugger,nanoframework/nf-debugger
source/nanoFramework.Tools.DebugLibrary.Shared/Extensions/DebuggerExtensions.cs
source/nanoFramework.Tools.DebugLibrary.Shared/Extensions/DebuggerExtensions.cs
// // Copyright (c) 2017 The nanoFramework project contributors // See LICENSE file in the project root for full license information. // using System.Threading.Tasks; namespace nanoFramework.Tools.Debugger.Extensions { public static class DebuggerExtensions { /// <summary> /// Check if device...
// // Copyright (c) 2017 The nanoFramework project contributors // See LICENSE file in the project root for full license information. // using System.Threading.Tasks; namespace nanoFramework.Tools.Debugger.Extensions { public static class DebuggerExtensions { /// <summary> /// Check if device...
apache-2.0
C#
48dc2d5c2ee76f5e9fa4a9d28065b1410a3028e9
update constraints after changing bounds
mvanbeusekom/Xablu.Walkthrough,mvanbeusekom/Xablu.Walkthrough,Xablu/Xablu.Walkthrough,Xablu/Xablu.Walkthrough
src/Xablu.Walkthrough/Plugin.Xablu.Walkthrough.iOS/WalkthroughImplementation.cs
src/Xablu.Walkthrough/Plugin.Xablu.Walkthrough.iOS/WalkthroughImplementation.cs
using Plugin.Xablu.Walkthrough.Abstractions; using UIKit; using BWWalkthrough; using Plugin.Xablu.Walkthrough.Themes; using Plugin.Xablu.Walkthrough.Abstractions.Containers; using Plugin.Xablu.Walkthrough.Pages; using System; using Plugin.Xablu.Walkthrough.Abstractions.Themes; using Plugin.Xablu.Walkthrough.Abstraction...
using Plugin.Xablu.Walkthrough.Abstractions; using UIKit; using BWWalkthrough; using Plugin.Xablu.Walkthrough.Themes; using Plugin.Xablu.Walkthrough.Abstractions.Containers; using Plugin.Xablu.Walkthrough.Pages; using System; using Plugin.Xablu.Walkthrough.Abstractions.Themes; using Plugin.Xablu.Walkthrough.Abstraction...
mit
C#
edf4955a46979acdbf29fef1b5a972886afead4c
Update ShapeRenderer.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D.Core/Renderers/ShapeRenderer.cs
src/Draw2D.Core/Renderers/ShapeRenderer.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Draw2D.Core.Shapes; using Draw2D.Core.Style; namespace Draw2D.Core.Renderers { public abstract class ShapeRenderer : O...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using Draw2D.Core.Shapes; using Draw2D.Core.Style; namespace Draw2D.Core.Renderers { public abstract class ShapeRenderer : O...
mit
C#
07dad8972160046d308e7b051beb6f3bc34b2761
Clarify ExternalLoginInfo displayName doc comment (#7833)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Identity/Core/src/ExternalLoginInfo.cs
src/Identity/Core/src/ExternalLoginInfo.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Security.Claims; using Microsoft.AspNetCore.Authentication; namespace Microsoft.AspNetCore.Identity { ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Security.Claims; using Microsoft.AspNetCore.Authentication; namespace Microsoft.AspNetCore.Identity { ...
apache-2.0
C#
ad5409b4c23db05e339ae02df612ebe40fe8be99
update version to 0.3.1
IxMilia/Dxf,IxMilia/Dxf
src/IxMilia.Dxf/Properties/AssemblyInfo.cs
src/IxMilia.Dxf/Properties/AssemblyInfo.cs
// Copyright (c) IxMilia. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attrib...
// Copyright (c) IxMilia. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Reflection; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attrib...
apache-2.0
C#
d75147d41c245aa4b8c55a9afbfc4cdd1e1d98ae
Revert changes to AssemblyInfo
aaubry/YamlDotNet,aaubry/YamlDotNet,aaubry/YamlDotNet
YamlDotNet/Properties/AssemblyInfo.cs
YamlDotNet/Properties/AssemblyInfo.cs
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // 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, inc...
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // 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, inc...
mit
C#
d0e57e69880e3e1f56b0815608b3714022d004bd
Add null check for request.
queueit/FeatureSwitcher.DebugConsole,queueit/FeatureSwitcher.DebugConsole,queueit/FeatureSwitcher.DebugConsole,queueit/FeatureSwitcher.DebugConsole
src/FeatureSwitcher.DebugConsole/Behaviours/DebugConsoleBehaviour.cs
src/FeatureSwitcher.DebugConsole/Behaviours/DebugConsoleBehaviour.cs
using System.Web; namespace FeatureSwitcher.DebugConsole.Behaviours { public class DebugConsoleBehaviour { private readonly bool _isForced = false; private DebugConsoleBehaviour(bool isForced) { this._isForced = isForced; } internal static FeatureSwitcher....
using System.Web; namespace FeatureSwitcher.DebugConsole.Behaviours { public class DebugConsoleBehaviour { private readonly bool _isForced = false; private DebugConsoleBehaviour(bool isForced) { this._isForced = isForced; } internal static FeatureSwitcher....
apache-2.0
C#
cc27fed6375b5ed27a42e34890f08cc3f57d79d0
set isNew to true when buidling editor (#6077)
OrchardCMS/Brochard,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Or...
src/OrchardCore.Modules/OrchardCore.Widgets/Views/ContentCard.cshtml
src/OrchardCore.Modules/OrchardCore.Widgets/Views/ContentCard.cshtml
@inject OrchardCore.ContentManagement.Display.IContentItemDisplayManager ContentItemDisplayManager @{ //Set Model (Current Shape) as Child content of Outer Frame, Later this Model is used to render other shapes dynamic contentCardFrame = await New.ContentCard_Frame(); var contentItem = Model.ContentItem; ...
@inject OrchardCore.ContentManagement.Display.IContentItemDisplayManager ContentItemDisplayManager @{ //Set Model (Current Shape) as Child content of Outer Frame, Later this Model is used to render other shapes dynamic contentCardFrame = await New.ContentCard_Frame(); var contentItem = Model.ContentItem; ...
bsd-3-clause
C#
d432ae3109294a83fb6d0893d1c4b1b85df8c2f2
Fix error in interacting with AppHarborApi method
appharbor/appharbor-cli
src/AppHarbor/AppHarborClient.cs
src/AppHarbor/AppHarborClient.cs
using System; using System.Collections.Generic; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AppHarborApi _api; public AppHarborClient(string AccessToken) { var authInfo = new AuthInfo { AccessToken = AccessToken }; try { _api = ...
using System; using System.Collections.Generic; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AppHarborApi _api; public AppHarborClient(string AccessToken) { var authInfo = new AuthInfo { AccessToken = AccessToken }; try { _api = ...
mit
C#
06d98f42841373b359c217b6cdce1ce04ce3034b
add validation to SelectObjectForm
kbilsted/AsciiUml
AsciiUmlCore/UI/SelectObjectForm.cs
AsciiUmlCore/UI/SelectObjectForm.cs
using System; using System.Linq; using AsciiConsoleUi; namespace AsciiUml { class SelectObjectForm { private readonly int[] legalInput; private readonly TitledWindow titled; private readonly TextLabel validationErrors; private readonly TextBox selected; publ...
using System; using AsciiConsoleUi; namespace AsciiUml { class SelectObjectForm { private readonly TitledWindow titled; private readonly TextLabel validationErrors; private readonly TextBox selected; public Action<int> OnSubmit = selected => { }; public Actio...
apache-2.0
C#
702afe3288841cf273824fe041e906481b77b137
Implement imgur authentication provider
RockstarLabs/OwinOAuthProviders,Lorac/OwinOAuthProviders,qanuj/OwinOAuthProviders,Lorac/OwinOAuthProviders,CrustyJew/OwinOAuthProviders,yfann/OwinOAuthProviders,TerribleDev/OwinOAuthProviders,qanuj/OwinOAuthProviders,CrustyJew/OwinOAuthProviders,yonglehou/OwinOAuthProviders,NewBoCo/OwinOAuthProviders,RockstarLabs/OwinO...
Owin.Security.Providers/Imgur/Provider/ImgurAuthenticationProvider.cs
Owin.Security.Providers/Imgur/Provider/ImgurAuthenticationProvider.cs
namespace Owin.Security.Providers.Imgur.Provider { using System; using System.Threading.Tasks; public class ImgurAuthenticationProvider : IImgurAuthenticationProvider { public ImgurAuthenticationProvider() { this.OnAuthenticated = context => Task.FromResult<object>(null); ...
namespace Owin.Security.Providers.Imgur.Provider { using System; using System.Threading.Tasks; public class ImgurAuthenticationProvider : IImgurAuthenticationProvider { public Task Authenticated(ImgurAuthenticatedContext context) { throw new NotImplementedException(); ...
mit
C#
b0d222c2eb363cd5009b8837f00024667b0e862d
Fix column header for IWQ
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/IWQ.cs
Battery-Commander.Web/Models/IWQ.cs
using System; using System.ComponentModel.DataAnnotations; namespace BatteryCommander.Web.Models { public partial class Soldier { [DataType(DataType.Date), DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")] public DateTime? IwqQualificationDate { get; set; } public TimeSpan? IwqQuali...
using System; using System.ComponentModel.DataAnnotations; namespace BatteryCommander.Web.Models { public partial class Soldier { [DataType(DataType.Date), DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")] public DateTime? IwqQualificationDate { get; set; } public TimeSpan? IwqQuali...
mit
C#
e275ee4c4977616ba50f9b2e53db9f2eaac18de3
Add usage example.
alastairs/BobTheBuilder,fffej/BobTheBuilder
BobTheBuilder.Tests/ExampleUsage.cs
BobTheBuilder.Tests/ExampleUsage.cs
using System; using Xunit; namespace BobTheBuilder.Tests { public class ExampleUsage { [Fact] public void Usage() { const string stringProperty = "expected value"; var expected = new SampleType { StringProperty = stringProperty ...
using Xunit; namespace BobTheBuilder.Tests { public class ExampleUsage { [Fact] public void Usage() { const string stringProperty = "expected value"; var expected = new SampleType { StringProperty = stringProperty }; ...
apache-2.0
C#
07259d7d1b89d096a74f0ff1411aea79cc0aa178
Add API comments on ToJson/FromJson
mattgwagner/CertiPay.Common
CertiPay.Common/ExtensionMethods.cs
CertiPay.Common/ExtensionMethods.cs
using System; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection; namespace CertiPay.Common { public static class ExtensionMethods { /// <summary> /// Deserializes the string as json into a POCO /// </summary> public static T FromJson<T>(thi...
using System; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Reflection; namespace CertiPay.Common { public static class ExtensionMethods { public static T FromJson<T>(this String json) { return SimpleJson.DeserializeObject<T>(json); } ...
mit
C#
4204ae33da1703919488e36f368a37b384e2fbdd
Set some assembly info for windows
pleonex/deblocus,pleonex/deblocus
Deblocus/Properties/AssemblyInfo.cs
Deblocus/Properties/AssemblyInfo.cs
// // AssemblyInfo.cs // // Author: // Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com> // // Copyright (c) 2015 Benito Palacios Sánchez (c) 2015 // // 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 // ...
// // AssemblyInfo.cs // // Author: // Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com> // // Copyright (c) 2015 Benito Palacios Sánchez (c) 2015 // // 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 // ...
agpl-3.0
C#
cb8659f3a392f0e7b1aeb848e37d546704c7f383
Refactor code
fredatgithub/UsefulFunctions
ConsoleAppCalendar/Program.cs
ConsoleAppCalendar/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleAppCalendar { class Program { static void Main(string[] args) { Action<string> display = Console.WriteLine; display("Display calendar"); display("Type exit...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleAppCalendar { class Program { static void Main(string[] args) { Action<string> display = Console.WriteLine; display("Display calendar"); display("Type exit...
mit
C#
9a69595c1bdf1df1cb5654efdacb2004aaca771e
Set mongo command log to trace.
virtualdreams/notes-core,virtualdreams/notes-core,virtualdreams/notes-core,virtualdreams/notes-core
Core/Services/MongoContext.cs
Core/Services/MongoContext.cs
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using MongoDB.Bson; using MongoDB.Driver.Core.Events; using MongoDB.Driver; using notes.Core.Models; namespace notes.Core.Services { public class MongoContext { private readonly ILogger<MongoContext> Log; private readonly IOption...
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using MongoDB.Bson; using MongoDB.Driver.Core.Events; using MongoDB.Driver; using notes.Core.Models; namespace notes.Core.Services { public class MongoContext { private readonly ILogger<MongoContext> Log; private readonly IOption...
mit
C#
ef591587466d38fb4cc550bda1128df5b3f255b6
Update InputArgs.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D
src/Core2D/Editor/Input/InputArgs.cs
src/Core2D/Editor/Input/InputArgs.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. namespace Core2D.Editor.Input { /// <summary> /// Input arguments. /// </summary> public struct InputArgs { /// <summary> /// ...
// 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. namespace Core2D.Editor.Input { /// <summary> /// Input arguments. /// </summary> public struct InputArgs { /// <summary> /// ...
mit
C#
1649b6eb543c99aa34f1cd844fbba0b9a2c2f5d4
Change Xmas Snowflake first behaviour life.
Noxalus/Xmas-Hell
Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasSnowflake/XmasSnowflakeBehaviour1.cs
Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasSnowflake/XmasSnowflakeBehaviour1.cs
using System; using Microsoft.Xna.Framework; using MonoGame.Extended.Timers; using XmasHell.BulletML; namespace XmasHell.Entities.Bosses.XmasSnowflake { class XmasSnowflakeBehaviour1 : AbstractBossBehaviour { private TimeSpan _newPositionTime; private CountdownTimer _shootBulletTimer; ...
using System; using Microsoft.Xna.Framework; using MonoGame.Extended.Timers; using XmasHell.BulletML; namespace XmasHell.Entities.Bosses.XmasSnowflake { class XmasSnowflakeBehaviour1 : AbstractBossBehaviour { private TimeSpan _newPositionTime; private CountdownTimer _shootBulletTimer; ...
mit
C#
fecaf2829b09166b87512c392dfbd9c157d0d8f5
Bump version to 14.2.0.30795
HearthSim/HearthDb
HearthDb/Properties/AssemblyInfo.cs
HearthDb/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("Hea...
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("Hea...
mit
C#
ca7a5d21a7d0025dfdcc2c0d37b22f8c10c1772b
Update SystemClock test to account for time passing.
nodatime/nodatime,malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,BenJenkinson/nodatime
src/NodaTime.Test/SystemClockTest.cs
src/NodaTime.Test/SystemClockTest.cs
// Copyright 2011 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 System; using NUnit.Framework; namespace NodaTime.Test { public class SystemClockTest { [Test] public void InstanceNow() ...
// Copyright 2011 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 System; using NUnit.Framework; namespace NodaTime.Test { public class SystemClockTest { [Test] public void InstanceNow() ...
apache-2.0
C#
5ede10f80ee99f4f49b474abd7c8f39d9358fd1f
Add CustomHeaders member to GitPushOptions
AMSadek/libgit2sharp,PKRoma/libgit2sharp,red-gate/libgit2sharp,Zoxive/libgit2sharp,AMSadek/libgit2sharp,red-gate/libgit2sharp,libgit2/libgit2sharp,Zoxive/libgit2sharp
LibGit2Sharp/Core/GitPushOptions.cs
LibGit2Sharp/Core/GitPushOptions.cs
using System.Runtime.InteropServices; namespace LibGit2Sharp.Core { [StructLayout(LayoutKind.Sequential)] internal class GitPushOptions { public int Version = 1; public int PackbuilderDegreeOfParallelism; public GitRemoteCallbacks RemoteCallbacks; public GitStrArrayManaged ...
using System.Runtime.InteropServices; namespace LibGit2Sharp.Core { [StructLayout(LayoutKind.Sequential)] internal class GitPushOptions { public int Version = 1; public int PackbuilderDegreeOfParallelism; public GitRemoteCallbacks RemoteCallbacks; } }
mit
C#
160ab8fb6f53303d502a1470c61776f63e7489b0
Fix typo on middleware
xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2
src/OrchardCore.Modules/OrchardCore.Https/Views/HttpsSettings.Edit.cshtml
src/OrchardCore.Modules/OrchardCore.Https/Views/HttpsSettings.Edit.cshtml
@model HttpsSettingsViewModel <p class="alert alert-warning">@T["The current tenant will be reloaded when the settings are saved."]</p> <div class="form-group" asp-validation-class-for="RequireHttps"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" asp-for=...
@model HttpsSettingsViewModel <p class="alert alert-warning">@T["The current tenant will be reloaded when the settings are saved."]</p> <div class="form-group" asp-validation-class-for="RequireHttps"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" asp-for=...
bsd-3-clause
C#
e2f63aed23f96e87f29f8024f375e79d9c6c28a5
Use appropriate IStringLocalizer context in RegisterViewModel (#7543)
xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2
src/OrchardCore.Modules/OrchardCore.Users/ViewModels/RegisterViewModel.cs
src/OrchardCore.Modules/OrchardCore.Users/ViewModels/RegisterViewModel.cs
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Localization; using MimeKit; namespace OrchardCore.Users.ViewModels { public class RegisterViewModel : IValidatableObject { public string UserName { ...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Localization; using MimeKit; namespace OrchardCore.Users.ViewModels { public class RegisterViewModel : IValidatableObject { public string UserName { ...
bsd-3-clause
C#
4a217aa49251d568a5debf28f1f793a37b9eb20b
Bump version to 1.4.0
pluralsight/git-switch
GitSwitch/Properties/AssemblyInfo.cs
GitSwitch/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...
mit
C#
2e8e1b1ec1b09f0794ed9ce65c4e5e3c7cc10ff0
Update src/Identity/EntityFrameworkCore/test/EF.Test/Utilities/ScratchDatabaseFixture.cs
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Identity/EntityFrameworkCore/test/EF.Test/Utilities/ScratchDatabaseFixture.cs
src/Identity/EntityFrameworkCore/test/EF.Test/Utilities/ScratchDatabaseFixture.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test.Utilities; using Microsoft.EntityFrameworkCore.Internal; namespace Microsoft...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test.Utilities; using Microsoft.EntityFrameworkCore.Internal; namespace Microsoft...
apache-2.0
C#
35fe9de5e51f4bee99b7b170019c2fb4ed34f1fa
Update drive mapping
jasonracey/PlaylistGrabber
PlaylistGrabber/Downloader.cs
PlaylistGrabber/Downloader.cs
using System; using System.Collections.Generic; using System.IO; using System.Net; namespace PlaylistGrabber { public class Downloader { public string State { get; private set; } public int DownloadedFiles { get; private set; } public int TotalFiles { get; private set; } pub...
using System; using System.Collections.Generic; using System.IO; using System.Net; namespace PlaylistGrabber { public class Downloader { public string State { get; private set; } public int DownloadedFiles { get; private set; } public int TotalFiles { get; private set; } pub...
mit
C#
a98d09a6eeef5261260b034c401ddd97789092d1
Disable for now
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Converters/NavBarItemsListBoxAlignmentConverter.cs
WalletWasabi.Fluent/Converters/NavBarItemsListBoxAlignmentConverter.cs
using System; using System.Globalization; using Avalonia.Data.Converters; using Avalonia.Layout; namespace WalletWasabi.Fluent.Converters { public class NavBarItemsListBoxAlignmentConverter : IValueConverter { public static readonly NavBarItemsListBoxAlignmentConverter Instance = new NavBarItemsListBoxAlignmentCo...
using System; using System.Globalization; using Avalonia.Data.Converters; using Avalonia.Layout; namespace WalletWasabi.Fluent.Converters { public class NavBarItemsListBoxAlignmentConverter : IValueConverter { public static readonly NavBarItemsListBoxAlignmentConverter Instance = new NavBarItemsListBoxAlignmentCo...
mit
C#
b75700810f246f43037dbcfa393161e2083a560d
Update MultibaseCorrelationServiceTests.cs
tiksn/TIKSN-Framework
TIKSN.UnitTests.Shared/Integration/Correlation/MultibaseCorrelationServiceTests.cs
TIKSN.UnitTests.Shared/Integration/Correlation/MultibaseCorrelationServiceTests.cs
using System; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using TIKSN.DependencyInjection; using Xunit; using Xunit.Abstractions; namespace TIKSN.Integration.Correlation.Tests { public class MultibaseCorrelationServiceTests { private readonly ICorrelationService _correlation...
using System; using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using TIKSN.DependencyInjection; using Xunit; using Xunit.Abstractions; namespace TIKSN.Integration.Correlation.Tests { public class MultibaseCorrelationServiceTests { private readonly ICorrelationService _correlation...
mit
C#
fc4b122620e1fc3d9e6a813b49cfa758d1895682
Make sure it's not empty too i guess
mminns/octokit.net,kdolan/octokit.net,thedillonb/octokit.net,daukantas/octokit.net,nsrnnnnn/octokit.net,editor-tools/octokit.net,ChrisMissal/octokit.net,geek0r/octokit.net,kolbasov/octokit.net,SamTheDev/octokit.net,Sarmad93/octokit.net,takumikub/octokit.net,devkhan/octokit.net,rlugojr/octokit.net,ivandrofly/octokit.net...
Octokit/Clients/StarsClient.cs
Octokit/Clients/StarsClient.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Octokit { public class StarredClient : ApiClient, IStarredClient { public StarredClient(IApiConnection apiConnection) : base(apiConnection) { } /// <summary> /// Retrieves all of th...
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Octokit { public class StarredClient : ApiClient, IStarredClient { public StarredClient(IApiConnection apiConnection) : base(apiConnection) { } /// <summary> /// Retrieves all of th...
mit
C#
820f49d2bcd56b3c5a7c62a1e517bfa0d94555d7
Make usage of UrlBuilder and fix namespace
Seddryck/RsPackage
SsrsDeploy/Factory/ServiceFactory.cs
SsrsDeploy/Factory/ServiceFactory.cs
using SsrsDeploy; using SsrsDeploy.ReportingService; using SsrsDeploy.Execution; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SsrsDeploy.Factory { class ServiceFactory { private readonly ReportingService2010 rs; ...
using SsrsDeploy; using SsrsDeploy.ReportingService; using SsrsDeploy.Execution; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SsrDeploy.Factory { class ServiceFactory { private readonly ReportingService2010 rs; p...
apache-2.0
C#
0ec394f4234239026d189cc81cf38bf6cac1eab9
Bump SDK version
TapTrack/Tcmp-CSharp-SDK
Tcmp-SDK/Properties/AssemblyInfo.cs
Tcmp-SDK/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("Ta...
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("Ta...
apache-2.0
C#
3683610c858bb48fada1f22491e2bc9c18d5f406
Update index.html
melvinlee/nancy-api,melvinlee/nancy-api
src/nancy-api/Views/index.cshtml
src/nancy-api/Views/index.cshtml
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Nancy API</title> <style type="text/css"> body { text-align: center; } </style> </head> <body> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>nancy_api</title> <style type="text/css"> body { text-align: center; } </style> </head> <body> <img src="~/Content/nancy-logo.png" alt="Nancy logo" /><br /> This view was rendered using the Nancy Razor view engine </body> </...
mit
C#
9144704e863b5fa9dd0459359323355531b912c5
fix default settings for detached chat tabs
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/ViewModels/ChatTabClient.cs
TCC.Core/ViewModels/ChatTabClient.cs
using System.Windows; using Dragablz; using TCC.Data; using TCC.Settings; using TCC.Windows.Widgets; namespace TCC.ViewModels { public class ChatTabClient : IInterTabClient { public static ChatWindow LastSource; public INewTabHost<Window> GetNewHost(IInterTabClient interTabClient, object parti...
using System.Windows; using Dragablz; using TCC.Data; using TCC.Settings; using TCC.Windows.Widgets; namespace TCC.ViewModels { public class ChatTabClient : IInterTabClient { public static ChatWindow LastSource; public INewTabHost<Window> GetNewHost(IInterTabClient interTabClient, object parti...
mit
C#
c0c4a0bba710e327c18e1be3b98aeb3620be3434
Remove console.writeline
akatakritos/SassSharp
SassSharp.Tests/AstDumpTest.cs
SassSharp.Tests/AstDumpTest.cs
using NUnit.Framework; using SassSharp.Ast; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SassSharp.Tests { [TestFixture] public class AstDumpTest { [Test] public void TestDumpAnAsciiTree() { ...
using NUnit.Framework; using SassSharp.Ast; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SassSharp.Tests { [TestFixture] public class AstDumpTest { [Test] public void TestDumpAnAsciiTree() { ...
mit
C#
b92eaf1de3024a919f54f10deef10f243c0a0067
Remove clutter.
EusthEnoptEron/Sketchball
Sketchball/Controls/GameHUD.cs
Sketchball/Controls/GameHUD.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text; using System.Windows; using System.Windows.Media; namespace Sketchball { public class GameHUD { private Game Game; public int Width { get; set; } ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text; using System.Windows; using System.Windows.Media; namespace Sketchball { public class GameHUD { private Game Game; public int Width { get; set; } ...
mit
C#
07aeabbe1db531c13dfdd6d491ac09377abd3940
Allow for grouping to null
justinjstark/Delivered,justinjstark/Verdeler
Verdeler/ConcurrencyLimiter.cs
Verdeler/ConcurrencyLimiter.cs
using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace Verdeler { internal class ConcurrencyLimiter<TSubject> { private readonly Func<TSubject, object> _subjectReductionMap; private readonly int _concurrencyLimit; private re...
using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; namespace Verdeler { internal class ConcurrencyLimiter<TSubject> { private readonly Func<TSubject, object> _subjectReductionMap; private readonly int _concurrencyLimit; private re...
mit
C#
b5e52a9c5e66c17b3914bc32b134ff28ee2a5afa
Add access token to project.
mczachurski/Bibliotheca.Server.Depository.FileSystem
src/Bibliotheca.Server.Depository.FileSystem.Core/DataTransferObjects/ProjectDto.cs
src/Bibliotheca.Server.Depository.FileSystem.Core/DataTransferObjects/ProjectDto.cs
using System.Collections.Generic; namespace Bibliotheca.Server.Depository.FileSystem.Core.DataTransferObjects { public class ProjectDto { public ProjectDto() { Tags = new List<string>(); VisibleBranches = new List<string>(); EditLinks = new List<EditLinkDto>(...
using System.Collections.Generic; namespace Bibliotheca.Server.Depository.FileSystem.Core.DataTransferObjects { public class ProjectDto { public ProjectDto() { Tags = new List<string>(); VisibleBranches = new List<string>(); EditLinks = new List<EditLinkDto>(...
mit
C#
6bd7f63a261601b8f77b4e5f39ec6872c6151c88
update comments
arnovb-github/CmcLibNet
CmcLibNet.Services/UI/IFilePicker.cs
CmcLibNet.Services/UI/IFilePicker.cs
using System.Runtime.InteropServices; namespace Vovin.CmcLibNet.Services.UI { /// <summary> /// Interface for FilePicker /// </summary> [ComVisible(true)] [Guid("EB19C890-5EED-4388-80E1-2F0DDA490902")] public interface IFilePicker { /// <summary> /// Gets or sets the initia...
using System.Runtime.InteropServices; namespace Vovin.CmcLibNet.Services.UI { /// <summary> /// Interface for FilePicker /// </summary> [ComVisible(true)] [Guid("EB19C890-5EED-4388-80E1-2F0DDA490902")] public interface IFilePicker { /// <summary> /// Gets or sets the initia...
mit
C#
442fb84fe9353b5a6d9040dcfe47987df0c970b5
Add sample script when a script is created
RockyTV/Duality.IronPython
CorePlugin/Resources/PythonScript.cs
CorePlugin/Resources/PythonScript.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using Duality; using Duality.Editor; namespace RockyTV.Duality.Plugins.IronPython.Resources { [EditorHintCategory(Properties.ResNames.CategoryScripts)] [EditorHintImage(Properti...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using Duality; using Duality.Editor; namespace RockyTV.Duality.Plugins.IronPython.Resources { [EditorHintCategory(Properties.ResNames.CategoryScripts)] [EditorHintImage(Properti...
mit
C#
c4f166084133f129d1f0195473836943db4dff5f
Rename ENVVAR in line with previous one (`OSU_TESTS_NO_TIMEOUT`)
peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu
osu.Game/Tests/FlakyTestAttribute.cs
osu.Game/Tests/FlakyTestAttribute.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 NUnit.Framework; namespace osu.Game.Tests { /// <summary> /// An attribute to mark any flaky tests. /// Will add a retr...
// 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 NUnit.Framework; namespace osu.Game.Tests { /// <summary> /// An attribute to mark any flaky tests. /// Will add a retr...
mit
C#
f119bd8a63f0e17162fcde9e32b0272700b5e334
patch version
xbehave/xbehave.net,adamralph/xbehave.net
src/VersionInfo.2.cs
src/VersionInfo.2.cs
// <copyright file="VersionInfo.2.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright> using System.Reflection; [assembly: AssemblyVersion("2.1.3.0")] [assembly: AssemblyFileVersion("2.1.3.0")] [assembly: AssemblyInformationalVersion("2.1.3")...
// <copyright file="VersionInfo.2.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright> using System.Reflection; [assembly: AssemblyVersion("2.1.2.0")] [assembly: AssemblyFileVersion("2.1.2.0")] [assembly: AssemblyInformationalVersion("2.1.2")...
mit
C#
d0fd73729a4c7a2dfa7915537bcfc2aeb69cde0d
clarify functionality on various platforms in event comments.
SuperJMN/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,grokys/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/A...
src/Avalonia.Controls/ApplicationLifetimes/IClassicDesktopStyleApplicationLifetime.cs
src/Avalonia.Controls/ApplicationLifetimes/IClassicDesktopStyleApplicationLifetime.cs
using System; using System.Collections.Generic; using System.ComponentModel; namespace Avalonia.Controls.ApplicationLifetimes { /// <summary> /// Controls application lifetime in classic desktop style /// </summary> public interface IClassicDesktopStyleApplicationLifetime : IControlledApplicationLifeti...
using System; using System.Collections.Generic; using System.ComponentModel; namespace Avalonia.Controls.ApplicationLifetimes { /// <summary> /// Controls application lifetime in classic desktop style /// </summary> public interface IClassicDesktopStyleApplicationLifetime : IControlledApplicationLifeti...
mit
C#
0cba1353c4c0a5bba862e189f0da161c0abba9f8
Include size of snapshot in snapshot metadata (#3911)
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusResponse.cs
src/Nest/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusResponse.cs
using System.Collections.Generic; using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [DataContract] public class SnapshotStatusResponse : ResponseBase { [DataMember(Name ="snapshots")] public IReadOnlyCollection<SnapshotStatus> Snapshots { get; internal set; } = EmptyReadOnly<Snapsho...
using System.Collections.Generic; using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [DataContract] public class SnapshotStatusResponse : ResponseBase { [DataMember(Name ="snapshots")] public IReadOnlyCollection<SnapshotStatus> Snapshots { get; internal set; } = EmptyReadOnly<Snapsho...
apache-2.0
C#
4452879a4d2b95c6a95fcf236b6f91ab486ead1d
Make sure blue alien is visible next time you visit Sprites Room.
inarizushi/Fungus,tapiralec/Fungus,Nilihum/fungus,FungusGames/Fungus,lealeelu/Fungus,kdoore/Fungus,RonanPearce/Fungus,snozbot/fungus
Assets/FungusExample/Scripts/SpritesRoom.cs
Assets/FungusExample/Scripts/SpritesRoom.cs
using UnityEngine; using System.Collections; using Fungus; public class SpritesRoom : Room { public Room menuRoom; public Animator blueAlienAnim; public SpriteController blueAlienSprite; void OnEnter() { ShowSprite(blueAlienSprite); Say("Pink Alien says to Blue Alien..."); Say("...'Show me your funky ...
using UnityEngine; using System.Collections; using Fungus; public class SpritesRoom : Room { public Room menuRoom; public Animator blueAlienAnim; public SpriteController blueAlienSprite; void OnEnter() { Say("Pink Alien says to Blue Alien..."); Say("...'Show me your funky moves!'"); SetAnimatorTrigger...
mit
C#
2d2d10e28ea8468040035dc8fa5dfada00076112
change to debug.writeline
brockallen/BrockAllen.MembershipReboot,tomascassidy/BrockAllen.MembershipReboot,rajendra1809/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot,rvdkooy/BrockAllen.MembershipReboot,vankooch/BrockAllen.MembershipReboot,DosGuru/MembershipReboot
src/BrockAllen.MembershipReboot/AccountService/DebuggerEventHandler.cs
src/BrockAllen.MembershipReboot/AccountService/DebuggerEventHandler.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BrockAllen.MembershipReboot { public class DebuggerEventHandler<TAccount> : IEventHandler<AccountCreatedEvent<TAccount>>, IEventHandler<PasswordR...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BrockAllen.MembershipReboot { public class DebuggerEventHandler<TAccount> : IEventHandler<AccountCreatedEvent<TAccount>>, IEventHandler<PasswordR...
bsd-3-clause
C#
c3bb88542124f1038470f3845c8660c95059fcd9
Add a comment explaining why we're using QuadVertexBuffer
smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework
osu.Framework/Graphics/Batches/TriangleBatch.cs
osu.Framework/Graphics/Batches/TriangleBatch.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics.OpenGL.Buffers; using osu.Framework.Graphics.OpenGL.Textures; using osu.Framework.Graphics.OpenGL.Vertices; using osuTK.Graphic...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics.OpenGL.Buffers; using osu.Framework.Graphics.OpenGL.Textures; using osu.Framework.Graphics.OpenGL.Vertices; using osuTK.Graphic...
mit
C#
25f7d71bc5ff4d4911f67f4cea887a6682584b9e
Bump número de versión a 0.8.4.0
TheXDS/MCART
CoreComponents/AssemblyInfo/AssemblyInfo.cs
CoreComponents/AssemblyInfo/AssemblyInfo.cs
/* AssemblyInfo.cs This file is part of Morgan's CLR Advanced Runtime (MCART) Author(s): César Andrés Morgan <xds_xps_ivx@hotmail.com> Copyright (c) 2011 - 2018 César Andrés Morgan Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it and/or modify it under the terms of the GNU Gener...
/* AssemblyInfo.cs This file is part of Morgan's CLR Advanced Runtime (MCART) Author(s): César Andrés Morgan <xds_xps_ivx@hotmail.com> Copyright (c) 2011 - 2018 César Andrés Morgan Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it and/or modify it under the terms of the GNU Gener...
mit
C#