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
d16007e781bfa4c54760d9ba3fae2d1faae20e0f
Increment version
markembling/MarkEmbling.PostcodesIO
MarkEmbling.PostcodesIO/Properties/AssemblyInfo.cs
MarkEmbling.PostcodesIO/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("Mar...
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("Mar...
mit
C#
c50e91031a3aa70977b1bf9986a9c7830b78264d
Enable / Disable boolean
alvivar/Hasten
Core/Motion2D/Motion2DAxis.cs
Core/Motion2D/Motion2DAxis.cs
 // Andrés Villalobos ^ andresalvivar@gmail.com ^ twitter.com/matnesis // 2015/08/11 10:57:05 PM using UnityEngine; using System.Collections; [RequireComponent(typeof(Motion2D))] public class Motion2DAxis : MonoBehaviour { public bool active = true; public bool enableHorizontal = true; public bool enableVertica...
 // Andrés Villalobos ^ andresalvivar@gmail.com ^ twitter.com/matnesis // 2015/08/11 10:57:05 PM using UnityEngine; using System.Collections; [RequireComponent(typeof(Motion2D))] public class Motion2DAxis : MonoBehaviour { public bool enableHorizontal = true; public bool enableVertical = true; private Motion2D...
mit
C#
009e58295ee07be11f5005f72248fdefb1590c79
Make Name and Parameter properties public in Ast.FilterExpression (#96)
sebastienros/fluid
Fluid/Ast/FilterExpression.cs
Fluid/Ast/FilterExpression.cs
using System.Threading.Tasks; using Fluid.Values; namespace Fluid.Ast { public class FilterExpression : Expression { public FilterExpression(Expression input, string name, FilterArgument[] parameters) { Input = input; Name = name; Parameters = parameters; ...
using System.Threading.Tasks; using Fluid.Values; namespace Fluid.Ast { public class FilterExpression : Expression { private readonly string _name; private readonly FilterArgument[] _parameters; public FilterExpression(Expression input, string name, FilterArgument[] parameters) ...
mit
C#
b0cddab6ae4970b0983db3d938eda735918435bb
Make pie chart div wider
JamieMagee/GovUK-Pulse,JamieMagee/GovUK-Pulse,JamieMagee/GovUK-Pulse
GovUk/Views/Home/Index.cshtml
GovUk/Views/Home/Index.cshtml
@using System.Threading.Tasks <header> <div class="https_chart col-md-offset-1 col-md-4" data-width="250"></div> <div class="description col-md-6"> <h1>Secure HTTP (HTTPS)</h1> <h2> Last updated <strong class="last-modified"></strong> </h2> <p> This dat...
@using System.Threading.Tasks <header> <div class="https_chart col-md-offset-1 col-md-3" data-width="250"></div> <div class="description col-md-7"> <h1>Secure HTTP (HTTPS)</h1> <h2> Last updated <strong class="last-modified"></strong> </h2> <p> This dat...
mit
C#
e58059e7ba3c05ffca7cf627f0d142afac2ea93a
Revert "criei Classe Flavio2"
marcelogomesrp/pim3
AdmCondominio/AdmCondominio/model/Marcelo.cs
AdmCondominio/AdmCondominio/model/Marcelo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdmCondominio.model { public class Marcelo { //flavio criou } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AdmCondominio.model { public class Marcelo { } }
apache-2.0
C#
4c20517ce73264a5c23d3c28e9e1c7d37d5038d9
introduce a typo => compile time error
jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets
BuildViews/CoreWeb/Views/Home/Contact.cshtml
BuildViews/CoreWeb/Views/Home/Contact.cshtml
@model CoreWeb.Models.CompanyInfo @{ ViewData["Title"] = "Contact"; } <h2>@ViewData["Title"]</h2> <h3>@ViewData["Message"]</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> @Model.PhoneNubmer </address> <address> <strong>Support:</strong> <a hre...
@model CoreWeb.Models.CompanyInfo @{ ViewData["Title"] = "Contact"; } <h2>@ViewData["Title"]</h2> <h3>@ViewData["Message"]</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> @Model.PhoneNumber </address> <address> <strong>Support:</strong> <a hre...
apache-2.0
C#
3e16419186756efc5408fd0806d02ab92832184b
Move generating mock data to separate function.
fanCDA/ProjectCDA-WPF
ProjectCDA.DAL/DataService.cs
ProjectCDA.DAL/DataService.cs
using ProjectCDA.Model; using ProjectCDA.Model.Constants; using System.Collections.Generic; using System.Collections.ObjectModel; namespace ProjectCDA.DAL { public class DataService : IDataService { public IEnumerable<FacingPages> GetData() { return GetMockData(); } ...
using ProjectCDA.Model; using ProjectCDA.Model.Constants; using System.Collections.Generic; using System.Collections.ObjectModel; namespace ProjectCDA.DAL { public class DataService : IDataService { public IEnumerable<FacingPages> GetData() { ObservableCollection<FacingPages> gridD...
mit
C#
a6fdc68faeaa4262f1096cf920435f28cb0f14ef
Add Cancellable property to Order
smarkets/IronSmarkets
IronSmarkets/Data/Order.cs
IronSmarkets/Data/Order.cs
// Copyright (c) 2011 Smarkets Limited // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, copy, // modify, merge, pu...
// Copyright (c) 2011 Smarkets Limited // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, copy, // modify, merge, pu...
mit
C#
4a78da2fcdfe585e9a706548a6c89d1972c4073c
remove c#6.0 features
ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,DingpingZhang/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit
MahMaterialDragablzMashUp/TextFields.xaml.cs
MahMaterialDragablzMashUp/TextFields.xaml.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; 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.In...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; 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.In...
mit
C#
8bdd82f2e46ae71743eb543f08023af1df610544
Remove unneeded code.
sharpjs/PSql,sharpjs/PSql
PSql/_Data/AzureActiveDirectorySqlContext.cs
PSql/_Data/AzureActiveDirectorySqlContext.cs
using System; using Microsoft.Data.SqlClient; namespace PSql { /// <summary> /// Information necessary to connect to an Azure SQL Database or /// compatible database. /// </summary> public class AzureActiveDirectorySqlContext : SqlContext { public AzureActiveDirectorySqlContext() ...
using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using Microsoft.Data.SqlClient; namespace PSql { /// <summary> /// Information necessary to connect to an Azure SQL Database or /// compatible database. /// </summary> public class AzureActive...
isc
C#
926cc90521a682b0fe79d838b6529a2bc6320c64
Clean up
alvivar/Hasten
Mechanics/Bullet/Bullet.cs
Mechanics/Bullet/Bullet.cs
// Andrés Villalobos * twitter.com/matnesis * andresalvivar@gmail.com // 2018/06/02 03:53 pm using UnityEngine; public class Bullet : MonoBehaviour { public Transform target; public Vector3 direction; public float speed; public System.Action<Collision2D, Bullet> onCollision; public float timer; ...
 // A flexible bullet. // @matnesis // 2017/03/27 11:44 am using UnityEngine; [ReactiveInEditMode] public class Bullet : MonoBehaviour { [Header("Config")] public float speed = 1; public Vector3 direction; [Header("Required")] public Rigidbody2D rbody; public TrailRenderer trail; [Hea...
mit
C#
a335cd6ac76ae632ddefd4d63a93eb9a90b10854
Update radix_sort.cs
iiitv/algos,iiitv/algos,iiitv/algos,iiitv/algos,iiitv/algos,iiitv/algos,iiitv/algos,iiitv/algos
radix_sort/radix_sort.cs
radix_sort/radix_sort.cs
// radix sort algorithm in c# uploaded by elliot37 using System; class radix { static void Main(string[] args) { int[] arr = new int[]{23, 4, 2234, 3253, 46, 43, 1, 23, 45, 67}; Console.WriteLine("\ngiven array : "); foreach (var num in arr) { Console.Write(" " + num); } ...
//radix sort algorithm in c# uploaded by elliot37 using System; class radix { static void Main(string[] args) { int[] arr = new int[] { 23,4,2234,3253,46,43,1,23,45,67}; Console.WriteLine("\ngiven array : "); foreach (var num in arr) { Console.Writ...
mit
C#
bc4196a1ef101bc429c8175b2e9b4c07d76efce8
fix to prevent NREs
lahma/MassTransit,D3-LucaPiombino/MassTransit,lahma/MassTransit,abombss/MassTransit,petedavis/MassTransit,ccellar/MassTransit,vebin/MassTransit,ccellar/MassTransit,ccellar/MassTransit,lahma/MassTransit,abombss/MassTransit,vebin/MassTransit,lahma/MassTransit,ccellar/MassTransit,jsmale/MassTransit,petedavis/MassTransit,l...
MassTransit.ServiceBus.MSMQ/MsmqMessageSender.cs
MassTransit.ServiceBus.MSMQ/MsmqMessageSender.cs
/// Copyright 2007-2008 The Apache Software Foundation. /// /// 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 /// /// Unl...
/// Copyright 2007-2008 The Apache Software Foundation. /// /// 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 /// /// Unl...
apache-2.0
C#
6fa5f60f6a8853ae8b6fd99b9861c5e16a58a0f9
format influxdb url correctly
etishor/Metrics.NET,MetaG8/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,huoxudong125/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,cvent/Metrics.NET,DeonHeyns/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,Liwoj/Metrics.NET,huoxudong125/Metrics.NET,cvent/Metrics....
Src/Metrics/Influxdb/InfluxdbConfigExtensions.cs
Src/Metrics/Influxdb/InfluxdbConfigExtensions.cs
using Metrics.Influxdb; using Metrics.Reports; using System; namespace Metrics { public static class InfluxdbConfigExtensions { public static MetricsReports WithInfluxDb(this MetricsReports reports, string host, int port, string user, string pass, string database, TimeSpan interval) { ...
using System; using Metrics.Influxdb; using Metrics.Reports; namespace Metrics { public static class InfluxdbConfigExtensions { public static MetricsReports WithInfluxDb(this MetricsReports reports, string host, int port, string user, string pass, string database, TimeSpan interval) { ...
apache-2.0
C#
4755b8bd6bc794af549943246754eb9fc7d29249
Update Filter
sunkaixuan/SqlSugar
SqlServerTest/Demos/Filter.cs
SqlServerTest/Demos/Filter.cs
using OrmTest.Demo; using OrmTest.Models; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest.Demo { public class Filter : DemoBase { public static void Init() { //gobal filter var db = GetInstance1()...
using OrmTest.Demo; using OrmTest.Models; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest.Demo { public class Filter : DemoBase { public static void Init() { //gobal filter var db = GetInstance1()...
apache-2.0
C#
ed90ead1f6232b2b7fd0e9572bb148eec9cc937b
Remove BrowserLink from sample (causing problems)
mrahhal/MR.AspNetCore.Jobs,mrahhal/MR.AspNetCore.Jobs
samples/Basic/Startup.cs
samples/Basic/Startup.cs
using Basic.Jobs; using Basic.Models; using Basic.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using MR.AspNetCore.Jobs...
using Basic.Jobs; using Basic.Models; using Basic.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using MR.AspNetCore.Jobs...
mit
C#
e593f617d043ef49a8b94131a8e7a44bf6777c1d
Update Program.cs
JokkeeZ/Twitchie
Twichiedll.Example/Program.cs
Twichiedll.Example/Program.cs
using System; using System.Collections.Generic; using Twitchiedll.IRC; using Twitchiedll.IRC.Events; namespace Example { class Program { // Create new twitchie object with default values. static Twitchie twitchie = new Twitchie(); static void Main(string[] args) {...
using System; using System.Collections.Generic; using Twitchiedll.IRC; using Twitchiedll.IRC.Events; namespace Example { class Program { // Create new twitchie object with default values. static Twitchie twitchie = new Twitchie(); static void Main(string[] args) {...
mit
C#
d967fe7b5a450a8bd96b3073155ba97000965faa
Make key entry case insensitive
12joan/hangman
Program.cs
Program.cs
using System; using System.IO; namespace Hangman { public class Hangman { public static void Main(string[] args) { var game = new Game("HANG THE MAN"); while (true) { string titleText = File.ReadAllText("title.txt"); Cell[] title = { new Cell(titleText, Cell.CentreAlign) ...
using System; using System.IO; namespace Hangman { public class Hangman { public static void Main(string[] args) { var game = new Game("HANG THE MAN"); while (true) { string titleText = File.ReadAllText("title.txt"); Cell[] title = { new Cell(titleText, Cell.CentreAlign) ...
unlicense
C#
43fba3e1c0fb6325168f7bd45ffa7732ccce577c
add code to run migrations auto
OdeToCode/aspcoreclass,OdeToCode/aspcoreclass
Program.cs
Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using aspcoreclass.Services; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Depend...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace aspcoreclass { public class Program { ...
mit
C#
06945758847e77cdd472d212d8418ae3f15913d7
Make match schedule properties read-only
brwml/MatchMakerTool
Reporting/Models/MatchSchedule.cs
Reporting/Models/MatchSchedule.cs
namespace MatchMaker.Reporting.Models; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.Serialization; using System.Xml.Linq; using Ardalis.GuardClauses; /// <summary> /// Defines the <see cref="MatchSchedule" /> /// </summary> [DataContract] [DebuggerDisplay("Match {Id}...
namespace MatchMaker.Reporting.Models; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.Serialization; using System.Xml.Linq; using Ardalis.GuardClauses; /// <summary> /// Defines the <see cref="MatchSchedule" /> /// </summary> [DataContract] [DebuggerDisplay("Match {Id}...
mit
C#
eb715c55a52dcd8cfe42342ab3e15bcbf59ba41d
Modify a little.
ijufumi/garbage_calendar
garbage_calendar/Views/CalendarPage.xaml.cs
garbage_calendar/Views/CalendarPage.xaml.cs
using Xamarin.Forms; namespace garbage_calendar.Views { public partial class CalendarPage : ContentPage { public CalendarPage() { InitializeComponent(); } } }
using Xamarin.Forms; namespace garbage_calendar.Views { public partial class CalendarPage : ContentPage { } }
mit
C#
1fee1ea2d43e4952354c86bde472dbee23cc1e0f
fix OnClose
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Controls/WalletExplorer/AdvancedDetailTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/AdvancedDetailTabViewModel.cs
using System; using System.Collections.Generic; using System.Reactive.Disposables; using System.Reflection; using Splat; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Gui.Controls.WalletExplorer { public class AdvancedDetailTabViewModel : WasabiDocumentTabViewModel { private CompositeDisposable Disposa...
using System; using System.Collections.Generic; using System.Reactive.Disposables; using System.Reflection; using Splat; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Gui.Controls.WalletExplorer { public class AdvancedDetailTabViewModel : WasabiDocumentTabViewModel { private CompositeDisposable Disposa...
mit
C#
25cb0c893c02cc8ad1581ef5d21ec1f284a387ca
Use rust instead of rustlegacy for Legacy library
LaserHydra/Oxide,Visagalis/Oxide,Nogrod/Oxide-2,Visagalis/Oxide,Nogrod/Oxide-2,ApocDev/Oxide,MSylvia/Oxide,LaserHydra/Oxide,MSylvia/Oxide,bawNg/Oxide,bawNg/Oxide,ApocDev/Oxide
Oxide.Ext.RustLegacy/RustLegacyExtension.cs
Oxide.Ext.RustLegacy/RustLegacyExtension.cs
using Oxide.Core; using Oxide.Core.Extensions; using Oxide.RustLegacy.Plugins; using Oxide.RustLegacy.Libraries; namespace Oxide.RustLegacy { /// <summary> /// The extension class that represents this extension /// </summary> public class RustLegacyExtension : Extension { /// <summary> ...
using Oxide.Core; using Oxide.Core.Extensions; using Oxide.RustLegacy.Plugins; using Oxide.RustLegacy.Libraries; namespace Oxide.RustLegacy { /// <summary> /// The extension class that represents this extension /// </summary> public class RustLegacyExtension : Extension { /// <summary> ...
mit
C#
cb565096b4b216030f1ce861d75d8ba6a391f6b0
Modify product information
emoacht/Monitorian
Source/Monitorian.Core/Models/ProductInfo.cs
Source/Monitorian.Core/Models/ProductInfo.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace Monitorian.Core.Models { /// <summary> /// Product information /// </summary> publ...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace Monitorian.Core.Models { /// <summary> /// Product information /// </summary> publ...
mit
C#
71bdbbb9fd87ed291b995297ceb73189bfaca340
Fix the temp enum change
eriawan/roslyn,sharwell/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,wvdd007/roslyn,sharwell/roslyn,wvdd007/roslyn,KevinRansom/roslyn,dotnet/roslyn,diryboy/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,phy...
src/EditorFeatures/Core.Wpf/InheritanceMargin/InheritanceMarginHelpers.cs
src/EditorFeatures/Core.Wpf/InheritanceMargin/InheritanceMarginHelpers.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.InheritanceMargin; using Microsoft.VisualStudio.Imaging; using Microsoft.VisualStudio....
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.InheritanceMargin; using Microsoft.VisualStudio.Imaging; using Microsoft.VisualStudio....
mit
C#
54ba2f04ea09a370ccffbdf0b4f1bab3e900d546
Fix formatting
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
bigquery/api/Snippets/CopyTable.cs
bigquery/api/Snippets/CopyTable.cs
// Copyright(c) 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
// Copyright(c) 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
apache-2.0
C#
273d320212b97d3a350377c8716aba1f711191e7
Use readonly properties instead of public fields
grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN...
src/Avalonia.Visuals/Media/Fonts/FontKey.cs
src/Avalonia.Visuals/Media/Fonts/FontKey.cs
using System; namespace Avalonia.Media.Fonts { public readonly struct FontKey : IEquatable<FontKey> { public FontKey(string familyName, FontWeight weight, FontStyle style) { FamilyName = familyName; Style = style; Weight = weight; } public st...
using System; namespace Avalonia.Media.Fonts { public readonly struct FontKey : IEquatable<FontKey> { public readonly string FamilyName; public readonly FontStyle Style; public readonly FontWeight Weight; public FontKey(string familyName, FontWeight weight, FontStyle style) ...
mit
C#
adb0538f3d23063e8ebcce8cc44631125ab9d4f2
Fix Json serialization of OperationStatus.InProgress - Added additional required JsonConverterAttribute
viciousviper/yandexdisk.client
src/YandexDisk.Client/Protocol/Operation.cs
src/YandexDisk.Client/Protocol/Operation.cs
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime.Serialization; namespace YandexDisk.Client.Protocol { /// <summary> /// Статус операции. Операции запускаются, когда вы копируете, перемещаете или удаляете непустые папки. /// URL для запроса статуса возвращается в ответ...
using System.Runtime.Serialization; namespace YandexDisk.Client.Protocol { /// <summary> /// Статус операции. Операции запускаются, когда вы копируете, перемещаете или удаляете непустые папки. /// URL для запроса статуса возвращается в ответ на такие запросы. /// </summary> public class Operatio...
mit
C#
f7b7209cf3b50931b4aad88005fffefd6a4493e5
Fix null reference exception when creating a project.
mhinze/ZBuildLights,Vector241-Eric/ZBuildLights,mhinze/ZBuildLights,mhinze/ZBuildLights,Vector241-Eric/ZBuildLights,Vector241-Eric/ZBuildLights
src/ZBuildLights.Core/Models/EditProject.cs
src/ZBuildLights.Core/Models/EditProject.cs
using System; namespace ZBuildLights.Core.Models { public class EditProject { public Guid? ProjectId { get; set; } public string Name { get; set; } public EditProjectCruiseProject[] CruiseProjects { get; set; } public EditProjectCruiseProject[] SafeProjects { ...
using System; namespace ZBuildLights.Core.Models { public class EditProject { public Guid? ProjectId { get; set; } public string Name { get; set; } public EditProjectCruiseProject[] CruiseProjects { get; set; } } public class EditProjectCruiseProject { public strin...
mit
C#
2e0cf6772e4907203cbc16daab2d550f9335c9c6
Add logging
deadsurgeon42/SummonLimit
Check.cs
Check.cs
using System; using System.Collections.Generic; using System.Linq; using System.Timers; using Terraria; using TShockAPI; namespace SummonLimit { public partial class SummonLimit { private enum Summons { BabySlime = 266, Hornet = 373, Imp = 375, Retinamini = 387, Spazmamini, Spider1 = 390, ...
using System; using System.Collections.Generic; using System.Linq; using System.Timers; using Terraria; using TShockAPI; namespace SummonLimit { public partial class SummonLimit { private enum Summons { BabySlime = 266, Hornet = 373, Imp = 375, Retinamini = 387, Spazmamini, Spider1 = 390, ...
mit
C#
25b182b38b6db6e1138593311f1557d8c407e7c5
Change remove logic
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Extensions/MemoryExtensions.cs
WalletWasabi/Extensions/MemoryExtensions.cs
using Nito.AsyncEx; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Extensions.Caching.Memory { public static class MemoryExtensions { private static Dictionary<IMemoryCache, Dictionary<object, AsyncLock>> AsyncLocks { get; } =...
using Nito.AsyncEx; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Extensions.Caching.Memory { public static class MemoryExtensions { private static Dictionary<IMemoryCache, Dictionary<object, AsyncLock>> AsyncLocks { get; } =...
mit
C#
8f0400cd94581ae776e16d819e3715b0df287806
Document thread safety expectations.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Extensions/MemoryExtensions.cs
WalletWasabi/Extensions/MemoryExtensions.cs
using Nito.AsyncEx; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Extensions.Caching.Memory { public static class MemoryExtensions { private static Dictionary<IMemoryCache, Dictionary<object, AsyncLock>> AsyncLocks { get; } =...
using Nito.AsyncEx; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Extensions.Caching.Memory { public static class MemoryExtensions { private static Dictionary<IMemoryCache, Dictionary<object, AsyncLock>> AsyncLocks { get; } =...
mit
C#
3d6a5b5c1b896fddb2c56e00b08dfe6c2db84617
allow New<IProperty> call
angeldnd/dap.core.csharp
Scripts/DapCore/dict_/Dict_New.cs
Scripts/DapCore/dict_/Dict_New.cs
using System; using System.Collections.Generic; namespace angeldnd.dap { public abstract partial class Dict<T> { public T1 New<T1>(string type, string key) where T1 : class, IInDictElement { T1 element = Factory.New<T1>(type, this, key); return AddElement<T1>(element); } ...
using System; using System.Collections.Generic; namespace angeldnd.dap { public abstract partial class Dict<T> { public T1 New<T1>(string type, string key) where T1 : class, IInDictElement { if (!CheckAdd(typeof(T1), key)) return null; T1 element = Factory.New<T1>(type, this, key);...
mit
C#
faeb2b4a7a101dde483db2e233b99ed13f5a3b32
fix sharing paths while time traveling, close #44
ad510/plausible-deniability
Assets/Scripts/SimEvt/CmdEvt/SharePathsCmdEvt.cs
Assets/Scripts/SimEvt/CmdEvt/SharePathsCmdEvt.cs
// Copyright (c) 2014 Andrew Downing // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
// Copyright (c) 2014 Andrew Downing // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
mit
C#
e78d94d4692d02ed5843e5f23882c660e23099d1
return to use if for casting
peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,EVAST9919/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu
osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs
osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Obje...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Obje...
mit
C#
4901ea6a9bcc5531dcae16f96f65a6b4d6578b96
Improve WebResourceNameEqualityComparer
aluxnimm/outlookcaldavsynchronizer
CalDavSynchronizer/DataAccess/WebResourceName.cs
CalDavSynchronizer/DataAccess/WebResourceName.cs
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
agpl-3.0
C#
65d9e1b63ed28af6ad504d16d1604ac1582afb7f
Add PUT and POST methods to SessionsController
johnpapa/CodeCamper,johnpapa/CodeCamper,johnpapa/CodeCamper
CodeCamper.Web/Controllers/SessionsController.cs
CodeCamper.Web/Controllers/SessionsController.cs
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using CodeCamper.Model; namespace CodeCamper.Web.Controllers { public class SessionsController : ApiControllerBase { public SessionsController(ICodeCamperUow uow) { Uow = uow; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using CodeCamper.Model; namespace CodeCamper.Web.Controllers { public class SessionsController : ApiControllerBase { public SessionsController(ICodeCamperUow uow) {...
mit
C#
561507b87bebfd9fd0ec6c684ef7ef9caa7a9ee4
Add BackBufferHandle == IntPtr.Zero check to WritableBitmapInfo - in the rare case where it's been disposed of and the async OnPaint is called after the file handles have been released
joshvera/CefSharp,jamespearce2006/CefSharp,battewr/CefSharp,dga711/CefSharp,Livit/CefSharp,illfang/CefSharp,battewr/CefSharp,VioletLife/CefSharp,dga711/CefSharp,jamespearce2006/CefSharp,windygu/CefSharp,Haraguroicha/CefSharp,yoder/CefSharp,jamespearce2006/CefSharp,ruisebastiao/CefSharp,Livit/CefSharp,dga711/CefSharp,AJ...
CefSharp.Wpf/Rendering/WritableBitmapInfo.cs
CefSharp.Wpf/Rendering/WritableBitmapInfo.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows; using System.Windows.Media; using System.Windows.Media.Imaging; namespace CefSharp.Wpf.Rendering { public...
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System.Windows; using System.Windows.Media; using System.Windows.Media.Imaging; namespace CefSharp.Wpf.Rendering { public class Writabl...
bsd-3-clause
C#
2197c7974dbea1d2907a00874b8d552ea130d0c7
Clarify xmldoc regarding return value
ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Bindables/ILeasedBindable.cs
osu.Framework/Bindables/ILeasedBindable.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. namespace osu.Framework.Bindables { /// <summary> /// An interface that represents a leased bindable. /// </summary> public interface ILeasedBindable : IB...
// 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. namespace osu.Framework.Bindables { /// <summary> /// An interface that represents a leased bindable. /// </summary> public interface ILeasedBindable : IB...
mit
C#
1c7cbc862156659d31651b3cfb748d4490e6ac6b
Add missing `readonly` keyword to new bindable
peppy/osu-new,ppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu
osu.Game/Screens/Edit/EditorBeatmapSkin.cs
osu.Game/Screens/Edit/EditorBeatmapSkin.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Audio.Sample; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.OpenGL.Textur...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Audio.Sample; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.OpenGL.Textur...
mit
C#
280611ba186952bb69fb8a7ab3920a368c9d415a
Fix step call timing flag
wbap/hackathon-2017-sample,pekin0609/-,pekin0609/-,wbap/hackathon-2017-sample,pekin0609/-,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,pekin0609/-
environment/Assets/Scripts/AgentBehaviour.cs
environment/Assets/Scripts/AgentBehaviour.cs
using UnityEngine; using MsgPack; [RequireComponent(typeof (AgentController))] [RequireComponent(typeof (AgentSensor))] public class AgentBehaviour : MonoBehaviour { private LISClient client = new LISClient("myagent"); private AgentController controller; private AgentSensor sensor; private MsgPack.C...
using UnityEngine; using MsgPack; [RequireComponent(typeof (AgentController))] [RequireComponent(typeof (AgentSensor))] public class AgentBehaviour : MonoBehaviour { private LISClient client = new LISClient("myagent"); private AgentController controller; private AgentSensor sensor; private MsgPack.C...
apache-2.0
C#
17b6a3031b508ddef73892c4bc046dc2866ea6e6
Switch version to 1.2.7
biarne-a/Zebus,Abc-Arbitrage/Zebus,rbouallou/Zebus,AtwooTM/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.2.7")] [assembly: AssemblyFileVersion("1.2.7")] [assembly: AssemblyInformationalVersion("1.2.7")]
using System.Reflection; [assembly: AssemblyVersion("1.2.6")] [assembly: AssemblyFileVersion("1.2.6")] [assembly: AssemblyInformationalVersion("1.2.6")]
mit
C#
504398e6c71c8b5012fdf67aff3f72a30a940b9a
Add tests for user name
Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop
src/ZobShop.Tests/Models/UserTests/PropertyTests.cs
src/ZobShop.Tests/Models/UserTests/PropertyTests.cs
using NUnit.Framework; using ZobShop.Models; namespace ZobShop.Tests.Models.UserTests { [TestFixture] public class PropertyTests { [TestCase("street")] [TestCase("highway")] [TestCase("boulevard")] public void TestAddressProperty_ShouldWorkCorrectly(string address) ...
using NUnit.Framework; using ZobShop.Models; namespace ZobShop.Tests.Models.UserTests { [TestFixture] public class PropertyTests { [TestCase("street")] [TestCase("highway")] [TestCase("boulevard")] public void TestAddressProperty_ShouldWorkCorrectly(string address) ...
mit
C#
2a9b43ee62e7715b5d2261440358d218c92827a1
fix bit numbers
ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7
OperatorsAndCasts/OperatorsAndCasts/BinaryCalculations/BinaryExtensions.cs
OperatorsAndCasts/OperatorsAndCasts/BinaryCalculations/BinaryExtensions.cs
using System; using System.Linq; namespace BinaryCalculations { public static class BinaryExtensions { public static string ToBinaryString(this uint number) => Convert.ToString(number, toBase: 2).PadLeft(sizeof(uint) << 3, '0'); public static string ToBinaryString(this int number) => Convert.T...
using System; using System.Linq; namespace BinaryCalculations { public static class BinaryExtensions { public static string ToBinaryString(this uint number) => Convert.ToString(number, toBase: 2).PadLeft(sizeof(uint)<<4, '0'); public static string ToBinaryString(this int number) => Convert.ToS...
mit
C#
b39dee4e6d8baacb7c3278de82483c282138d28a
Add nv optimus enabler for core tester
helix-toolkit/helix-toolkit,chrkon/helix-toolkit,JeremyAnsel/helix-toolkit,holance/helix-toolkit
Source/Examples/SharpDX.Core/CoreTest/Program.cs
Source/Examples/SharpDX.Core/CoreTest/Program.cs
using SharpDX.Windows; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace CoreTest { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread]...
using SharpDX.Windows; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace CoreTest { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread]...
mit
C#
16873cfd6da2d3397b41f6a02b0c8c56a901d71b
Enable both GET and POST verbs for the scheduled job
kjac/FormEditor,kjac/FormEditor,kjac/FormEditor
Source/Solution/FormEditor/Api/JobsController.cs
Source/Solution/FormEditor/Api/JobsController.cs
using System; using System.Net; using System.Net.Http; using System.Web.Http; using FormEditor.Storage; using FormEditor.Umbraco; using Umbraco.Web.Mvc; using Umbraco.Web.WebApi; namespace FormEditor.Api { [PluginController("FormEditorApi")] public class JobsController : UmbracoApiController { [HttpGet, HttpPost...
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using FormEditor.Storage; using FormEditor.Umbraco; using Umbraco.Web.Mvc; using Umbraco.Web.WebApi; namespace FormEditor.Api { [PluginController("FormEditorApi")] public class JobsController : UmbracoApiController { ...
mit
C#
f76bf4b4c8fbe1ce91b45c46200fbd3cf1cdc39d
Remove test field
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Backend/Models/FeeEstimationPair.cs
WalletWasabi/Backend/Models/FeeEstimationPair.cs
using System.ComponentModel.DataAnnotations; namespace WalletWasabi.Backend.Models { /// <summary> /// Satoshi per byte. /// </summary> public class FeeEstimationPair { [Required] public long Economical { get; set; } [Required] public long Conservative { get; set; } } }
using System.ComponentModel.DataAnnotations; namespace WalletWasabi.Backend.Models { /// <summary> /// Satoshi per byte. /// </summary> public class FeeEstimationPair { private static readonly int testStaticReadonlyField; [Required] public long Economical { get; set; } [Required] public long Conservat...
mit
C#
b66c2ddae5993c94192508f991cbcf10ba176c88
Add games played tip
mikelovesrobots/daft-pong,mikelovesrobots/daft-pong
app/Assets/Scripts/NetworkConnectTipSequencer.cs
app/Assets/Scripts/NetworkConnectTipSequencer.cs
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; public class NetworkConnectTipSequencer : MonoBehaviour { public TipRenderer TipRenderer; private int gamesBeingPlayed; public void Sequence() { Rules(); gamesBeingPlayed = UnityEngine.Random.Range...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; public class NetworkConnectTipSequencer : MonoBehaviour { public TipRenderer TipRenderer; private int gamesBeingPlayed; public void Sequence() { Rules(); gamesBeingPlayed = UnityEngine.Random.Range...
mit
C#
e0d4be8a55a5643e6bc5bfd1c3af42b6a81227eb
disable button until weatherdata is loaded
bryan2894-playgrnd/SimpleWeather-Xamarin,bryan2894-playgrnd/SimpleWeather-Xamarin
SimpleWeather/Controls/LocationPanel.xaml.cs
SimpleWeather/Controls/LocationPanel.xaml.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.ApplicationModel.Core; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Contro...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Windows.ApplicationModel.Core; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Contro...
apache-2.0
C#
39134d6ad5c6a74432e940bd268ec74513c466b1
Add lacked keyword
kei10in/KipSharp
Kip/PrintSchemaFramework.cs
Kip/PrintSchemaFramework.cs
using System.Xml.Linq; namespace Kip { public static class Psf { public static readonly XNamespace Namespace = "http://schemas.microsoft.com/windows/2003/08/printing/printschemaframework"; public static readonly string Prefix = "psf"; public static readonly NamespaceDeclaration Declara...
using System.Xml.Linq; namespace Kip { public static class Psf { public static readonly XNamespace Namespace = "http://schemas.microsoft.com/windows/2003/08/printing/printschemaframework"; public static readonly string Prefix = "psf"; public static readonly NamespaceDeclaration Declara...
mit
C#
af1dcb0ddbbac8483abc60255c8daeca64f700b2
Fix covariant cause build error in old compiler including Unity. issue #77.
msgpack/msgpack-cli,undeadlabs/msgpack-cli,undeadlabs/msgpack-cli,msgpack/msgpack-cli,modulexcite/msgpack-cli,modulexcite/msgpack-cli
src/MsgPack/Serialization/INilImplicationHandlerOnUnpackedParameter.cs
src/MsgPack/Serialization/INilImplicationHandlerOnUnpackedParameter.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2014-2015 FUJIWARA, Yusuke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apach...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2014 FUJIWARA, Yusuke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org...
apache-2.0
C#
ba095d51e8b3b5d28e68d362238c11a5eb34b922
Reorder builtin functions
textamina/scriban,lunet-io/scriban
src/Scriban/Functions/BuiltinFunctions.cs
src/Scriban/Functions/BuiltinFunctions.cs
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. using Scriban.Runtime; namespace Scriban.Functions { public class BuiltinFunctions : ScriptObject { /// <summary> /// Thi...
// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. using Scriban.Runtime; namespace Scriban.Functions { public class BuiltinFunctions : ScriptObject { /// <summary> /// Thi...
bsd-2-clause
C#
ded4155d166de94e665fdbcca0e368896a54aa10
Add isThreadSafe
AMDL/CommonMark.NET,AMDL/CommonMark.NET
CommonMark/Lazy.cs
CommonMark/Lazy.cs
using System; namespace CommonMark { #if v2_0 || v3_5 class Lazy<T> { private readonly Func<T> valueFactory; private readonly bool isThreadSafe; private readonly object _lock = new object(); private T value; public Lazy(Func<T> valueFactory) : this(valueFac...
using System; namespace CommonMark { #if v2_0 || v3_5 class Lazy<T> { private readonly Func<T> valueFactory; private readonly object _lock = new object(); private T value; public Lazy(Func<T> valueFactory) { this.valueFactory = valueFactory; } ...
bsd-3-clause
C#
73c812af84d9e6919fa40a01931aea64628767c0
Handle errors executing DartAnalzyer.
DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS
DanTup.DartVS.Vsix/DartAnalyzerErrorService.cs
DanTup.DartVS.Vsix/DartAnalyzerErrorService.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.Shell; namespace DanTup.DartVS { /// <summary> /// Analyzes a dart file and updates the Visual Studio error list with the results. /// </summary> static class DartAnalyzerErrorService { pub...
using System; using System.Linq; using Microsoft.VisualStudio.Shell; namespace DanTup.DartVS { /// <summary> /// Analyzes a dart file and updates the Visual Studio error list with the results. /// </summary> static class DartAnalyzerErrorService { public static void Parse(ErrorListProvider errorListProvider, s...
mit
C#
0f726769114cb7237c97a504165aa43316413a92
Update in plugin manager
EkzoMan/EkzoPluginsSystem,EkzoMan/EkzoPluginsSystem
EkzoPlugin.PluginManager/PreApplicationInit.cs
EkzoPlugin.PluginManager/PreApplicationInit.cs
using System; using System.IO; using System.Linq; using System.Reflection; using System.Web; using System.Web.Compilation; using System.Web.Hosting; using EkzoPlugin.Infrastructure; [assembly: PreApplicationStartMethod(typeof(EkzoPlugin.PluginManager.PreApplicationInit), "InitializePlugins")] namespace EkzoPlugin.Plu...
using System; using System.IO; using System.Linq; using System.Reflection; using System.Web; using System.Web.Compilation; using System.Web.Hosting; using EkzoPlugin.Infrastructure; [assembly: PreApplicationStartMethod(typeof(EkzoPlugin.PluginManager.PreApplicationInit), "InitializePlugins")] namespace EkzoPlugin.Plu...
mit
C#
1afeaf31bcad901bceec6766d3ec7a6810b5f82b
make OsuCursorSprite abstract
smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu
osu.Game.Rulesets.Osu/UI/Cursor/OsuCursorSprite.cs
osu.Game.Rulesets.Osu/UI/Cursor/OsuCursorSprite.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Game.Rulesets.Osu.UI.Cursor { public abstract class OsuCursorSprite : CompositeD...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Game.Rulesets.Osu.UI.Cursor { public class OsuCursorSprite : CompositeDrawable ...
mit
C#
6e5846d91b7389575a91691851f6311de8a5cddc
Fix serialization failure due to missing set
NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu
osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.cs
osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.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. namespace osu.Game.Online.RealtimeMultiplayer { public class MultiplayerClientState { public long CurrentRoomID { get; set; } public MultiplayerC...
// 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. namespace osu.Game.Online.RealtimeMultiplayer { public class MultiplayerClientState { public MultiplayerClientState(in long roomId) { ...
mit
C#
53541a5c8da1a154c9a0d823704db500f9d59d0f
Add license header
DrabWeb/osu,UselessToucan/osu,ZLima12/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,2yangk23/osu,naoey/osu,Nabile-Rahmani/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,peppy/osu,peppy/osu,ZLima12/osu,johnne...
osu.Game/Screens/Edit/Screens/Compose/Layers/MaskContainer.cs
osu.Game/Screens/Edit/Screens/Compose/Layers/MaskContainer.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Edit; namespace osu.Game.S...
using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Edit; namespace osu.Game.Screens.Edit.Screens.Compose.Layers { public class MaskContainer : Container<HitObjectMask> { /// <summary> /// Invoked when a...
mit
C#
3c03a1156772a0052ad6b02ea135baa99247bd6e
Fix so that dotnet test command can be used
danielwertheim/mynatsclient,danielwertheim/mynatsclient
src/tests/MyNatsClient.IntegrationTests/TestSettings.cs
src/tests/MyNatsClient.IntegrationTests/TestSettings.cs
using System; using System.IO; using Microsoft.Extensions.Configuration; using System.Linq; namespace MyNatsClient.IntegrationTests { public static class TestSettings { public static IConfigurationRoot Config { get; set; } static TestSettings() { var builder = new Configur...
using System.IO; using Microsoft.Extensions.Configuration; using System.Linq; namespace MyNatsClient.IntegrationTests { public static class TestSettings { public static IConfigurationRoot Config { get; set; } static TestSettings() { var builder = new ConfigurationBuilder()...
mit
C#
0d4af37e7314331a7e0258e533dfbed874eff7dc
Set the ID of a submenu.
PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto
Source/Eto/Forms/Actions/ActionItem.desktop.cs
Source/Eto/Forms/Actions/ActionItem.desktop.cs
#if DESKTOP using System; namespace Eto.Forms { public partial interface IActionItem { MenuItem Generate(Generator generator); } public abstract partial class ActionItemBase { public abstract MenuItem Generate(Generator generator); } public partial class ActionItemSeparator : ActionItemBase { public ...
#if DESKTOP using System; namespace Eto.Forms { public partial interface IActionItem { MenuItem Generate(Generator generator); } public abstract partial class ActionItemBase { public abstract MenuItem Generate(Generator generator); } public partial class ActionItemSeparator : ActionItemBase { public ...
bsd-3-clause
C#
5d102a02bb8c2f6c21217371cedb64ffaf3c6bba
Prepare for semantic version.
SolinkCorp/Solink.AddIn.Helpers
Solink.AddIn.Helpers/Properties/AssemblyInfo.cs
Solink.AddIn.Helpers/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#
2c734309e3e512ec1f88ba56eacb3f6cf996abe4
Implement missing FontsHandler.FontFamilyAvailable
PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,l8s/Eto
Source/Eto.Platform.Wpf/Drawing/FontsHandler.cs
Source/Eto.Platform.Wpf/Drawing/FontsHandler.cs
using Eto.Drawing; using System; using System.Collections.Generic; using System.Linq; using System.Text; using swm = System.Windows.Media; namespace Eto.Platform.Wpf.Drawing { public class FontsHandler : WidgetHandler<Widget>, IFonts { HashSet<string> availableFontFamilies; public IEnumerable<FontFamily> A...
using Eto.Drawing; using System; using System.Collections.Generic; using System.Linq; using System.Text; using swm = System.Windows.Media; namespace Eto.Platform.Wpf.Drawing { public class FontsHandler : WidgetHandler<Widget>, IFonts { public IEnumerable<FontFamily> AvailableFontFamilies { get { return swm.Fo...
bsd-3-clause
C#
d4c8b54150807fe12d2f477682c96dc77b5100a4
implement IEquatable interface
matiii/Dijkstra.NET
src/Dijkstra.NET/Dijkstra.NET/Model/Edge.cs
src/Dijkstra.NET/Dijkstra.NET/Model/Edge.cs
namespace Dijkstra.NET.Model { using System; using Contract; public struct Edge<T, TCustom>: IEquatable<Edge<T, TCustom>> where TCustom: class { public Edge(INode<T, TCustom> node, uint cost, TCustom custom) { Node = node; Cost = cost; Item = custom; ...
namespace Dijkstra.NET.Model { using Contract; public struct Edge<T, TCustom> where TCustom: class { public Edge(INode<T, TCustom> node, uint cost, TCustom custom) { Node = node; Cost = cost; Item = custom; } public INode<T, TCustom> Nod...
mit
C#
2c7f30f2e53b4f1e58be07482060e90ce12ad04b
Allow tests to succeed
foxbot/Discord.Addons.EmojiTools,foxbot/Discord.Addons.EmojiTools,FiniteReality/Discord.Addons.EmojiTools,FiniteReality/Discord.Addons.EmojiTools
src/Discord.Addons.EmojiTools/EmojiTools.cs
src/Discord.Addons.EmojiTools/EmojiTools.cs
using System; namespace Discord.Addons.EmojiTools { public static class UnicodeEmoji { public static string FromText(string text) { text = text.Trim(':'); var unicode = default(string); if (EmojiMap.Map.TryGetValue(text, out unicode)) return...
using System; namespace Discord.Addons.EmojiTools { public static class UnicodeEmoji { public static string FromText(string text) { var unicode = default(string); if (EmojiMap.Map.TryGetValue(text, out unicode)) return unicode; throw new Argu...
isc
C#
0ad2aeae5987dc47b60b38e92b390841c4095765
add .net maui
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/JamesMontemagno.cs
src/Firehose.Web/Authors/JamesMontemagno.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class JamesMontemagno : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts { public string FirstName => "James"; publi...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class JamesMontemagno : IWorkAtXamarinOrMicrosoft, IFilterMyBlogPosts { public string FirstName => "James"; publi...
mit
C#
28393fb6931fe37ff4b4559fbb07c6ffca840ddb
Improve httphandler
David-Desmaisons/EasyActor
ComposableAsync.Core/DelegatingHandler/DispatcherDelegatingHandler.cs
ComposableAsync.Core/DelegatingHandler/DispatcherDelegatingHandler.cs
using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace ComposableAsync { public class DispatcherDelegatingHandler : DelegatingHandler { private readonly IDispatcher _Dispatcher; public DispatcherDelegatingHandler(IDispatcher dispatcher) { _D...
using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace ComposableAsync { public class DispatcherDelegatingHandler : DelegatingHandler { private readonly IDispatcher _Dispatcher; public DispatcherDelegatingHandler(IDispatcher dispatcher) { _D...
mit
C#
2c34b85364ad0768df2e4e4eee9c13f6e8993cfb
Solve build related issue
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api")] public class QuestionsController : Controller { private readonly IQuestionRepository _question...
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api")] public class QuestionsController : Controller { private readonly IQuestionRepository _question...
mit
C#
e573fb3b6d8b17b46c12bdd4d141e053f897fa22
Create server side API for single multiple answer question
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api/question")] public class QuestionsController : Controller { private readonly IQuestionRepository ...
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api/question")] public class QuestionsController : Controller { private readonly IQuestionRepository ...
mit
C#
a308e36ab49b1a5854df02bd2be0fafbdd71ff53
make To(Member<TTarget>) public
KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin
src/Kirkin/Mapping/Fluent/PartiallyConfiguredMapperBuilder.cs
src/Kirkin/Mapping/Fluent/PartiallyConfiguredMapperBuilder.cs
using System; namespace Kirkin.Mapping.Fluent { /// <summary> /// Partially configure mapper builder factory type. /// Participates in fluent mapper builder construction. /// </summary> public sealed class PartiallyConfiguredMapperBuilder<TSource> // Cannot use struct as we want the constructor to...
using System; namespace Kirkin.Mapping.Fluent { /// <summary> /// Partially configure mapper builder factory type. /// Participates in fluent mapper builder construction. /// </summary> public sealed class PartiallyConfiguredMapperBuilder<TSource> // Cannot use struct as we want the constructor to...
mit
C#
9cf44ddba00b8a3c4358f72d7750a0921e3a0ec8
Revert "Update AssemblyRedirects.cs"
xoofx/roslyn,jmarolf/roslyn,panopticoncentral/roslyn,vslsnap/roslyn,wvdd007/roslyn,mattscheffer/roslyn,aelij/roslyn,kelltrick/roslyn,jasonmalinowski/roslyn,davkean/roslyn,budcribar/roslyn,mgoertz-msft/roslyn,jeffanders/roslyn,brettfo/roslyn,physhi/roslyn,tvand7093/roslyn,ljw1004/roslyn,tvand7093/roslyn,tannergooding/ro...
src/VisualStudio/Setup/AssemblyRedirects.cs
src/VisualStudio/Setup/AssemblyRedirects.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.VisualStudio.Shell; using Roslyn.VisualStudio.Setup; [assembly: ProvideRoslynBindingRedirection("Microsoft.CodeAnalysis.CSharp.dll")] [assemb...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.VisualStudio.Shell; using Roslyn.VisualStudio.Setup; [assembly: ProvideRoslynBindingRedirection("Microsoft.CodeAnalysis.CSharp.dll")] [assemb...
mit
C#
dc86690f04d2f0f94c0e244c67ac4b6b46b61acb
Change default handshake timeout (#1808)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.SignalR.Core/HubOptionsSetup.cs
src/Microsoft.AspNetCore.SignalR.Core/HubOptionsSetup.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 System.Collections.Generic; using Microsoft.AspNetCore.SignalR.Internal.Protocol; using Microsoft.Extensions.Options; namespace Mi...
// 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 System.Collections.Generic; using Microsoft.AspNetCore.SignalR.Internal.Protocol; using Microsoft.Extensions.Options; namespace Mi...
apache-2.0
C#
1b22ed1d6384a5d3130978665c97d827ea318bde
Correct casing of file names
Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script
src/WebJobs.Script/Description/CSharp/CSharpConstants.cs
src/WebJobs.Script/Description/CSharp/CSharpConstants.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.WebJobs.Script.Description { public static class CSharpConstants { public const string PrivateAssembliesFolderName = "bin"; ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.WebJobs.Script.Description { public static class CSharpConstants { public const string PrivateAssembliesFolderName = "bin"; ...
mit
C#
8b8132f20552d004214c2ae480d22f928240374d
remove some social links from footer
AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us
src/www/Views/Shared/_LayoutBase.cshtml
src/www/Views/Shared/_LayoutBase.cshtml
@{ Layout = "_LayoutMinimal"; } @section custom_head { @await RenderSectionAsync("custom_head", required: false) <partial name="_Favicons" /> <meta name="theme-color" content="#272b30"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Tangerine:bold" /> <partial name="_css_site" /> @await Ren...
@{ Layout = "_LayoutMinimal"; } @section custom_head { @await RenderSectionAsync("custom_head", required: false) <partial name="_Favicons" /> <meta name="theme-color" content="#272b30"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Tangerine:bold" /> <partial name="_css_site" /> @await Ren...
mit
C#
e004b7c451267d31b8ec502fc5b950778dd3f13b
Use API v3
Confruggy/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net,RogueException/Discord.Net,Joe4evr/Discord.Net
src/Discord.Net/Net/WebSockets/Commands.cs
src/Discord.Net/Net/WebSockets/Commands.cs
//Ignore unused/unassigned variable warnings #pragma warning disable CS0649 #pragma warning disable CS0169 using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; namespace Discord.Net.WebSockets { internal static class Commands { public sealed class KeepAlive : WebSock...
//Ignore unused/unassigned variable warnings #pragma warning disable CS0649 #pragma warning disable CS0169 using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; namespace Discord.Net.WebSockets { internal static class Commands { public sealed class KeepAlive : WebSock...
mit
C#
1b419ad1f60d914657d37fbe57b392a38d78108b
Update DevlinDuldulao.cs (#510)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/DevlinDuldulao.cs
src/Firehose.Web/Authors/DevlinDuldulao.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class DevlinDuldulao : IAmAMicrosoftMVP, IAmACommunityMember { public string FirstName => "Devlin"; public string LastName => "Duldulao"; public string ShortBioOrTa...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class DevlinDuldulao : IAmAMicrosoftMVP, IAmACommunityMember { public string FirstName => "Devlin"; public string LastName => "Duldulao"; public string ShortBioOrTa...
mit
C#
354e680751fc29638a091a00c7daa71b6a20851a
add test for git-checkout
Opiskull/PowershellRelease
src/PowershellHelper.Test/GitHelperTest.cs
src/PowershellHelper.Test/GitHelperTest.cs
using System; using PowershellHelper.Services; using Xunit; namespace PowershellHelper.Test { public class GitHelperTest { private Random Random { get; } = new Random(); [Theory] [InlineData(@"C:\Github\autoincrement-assemblyversion")] public void PushHeadRepository(string rep...
using System; using PowershellHelper.Services; using Xunit; namespace PowershellHelper.Test { public class GitHelperTest { private Random Random { get; } = new Random(); [Theory] [InlineData(@"C:\Github\autoincrement-assemblyversion")] public void PushHeadRepository(string rep...
mit
C#
def08e1f1af2cf682d48bb117304838d565e932d
Change the assembly company
KodamaSakuno/Sakuno.Base
src/Sakuno.Base/Properties/AssemblyInfo.cs
src/Sakuno.Base/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Sakuno.Base")] [assembly: AssemblyDescription("The common part of Sakuno's libraries")] [assembly: AssemblyProduct("Sakuno.Base")] [assembly: AssemblyCompany("Kodama Sakuno")] [assembly: AssemblyCopyright("Copyright © 2017 神樹桜乃")...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Sakuno.Base")] [assembly: AssemblyDescription("The common part of Sakuno's libraries")] [assembly: AssemblyProduct("Sakuno.Base")] [assembly: AssemblyCompany("sakuno.moe")] [assembly: AssemblyCopyright("Copyright © 2017 神樹桜乃")] ...
mit
C#
4a2446ed5d26e89e2f0ba832a134ceebb1e50b2f
Update version
robertcoltheart/Inject,robertcoltheart/Inject
src/Inject/Properties/AssemblyInfo.cs
src/Inject/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("In...
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("In...
mit
C#
790d1ad0c8fc277f2059f20e0757b5925b46780d
Remove cyclical Dispose method causing error.
loekd/ServiceFabric.Mocks
src/ServiceFabric.Mocks/MockTransaction.cs
src/ServiceFabric.Mocks/MockTransaction.cs
using System.Threading.Tasks; using Microsoft.ServiceFabric.Data; namespace ServiceFabric.Mocks { /// <summary> /// A sequence of operations performed as a single logical unit of work. /// </summary> public class MockTransaction : ITransaction { public long CommitSequenceNumber => 0L; ...
using System.Threading.Tasks; using Microsoft.ServiceFabric.Data; namespace ServiceFabric.Mocks { /// <summary> /// A sequence of operations performed as a single logical unit of work. /// </summary> public class MockTransaction : ITransaction { public long CommitSequenceNumber => 0L; ...
mit
C#
2b469cb2788e4be9592b4be8fdc2f95941bf4d29
add getfromto to interface
paritoshmmmec/NEventStore,gael-ltd/NEventStore,jamiegaines/NEventStore,chris-evans/NEventStore,deltatre-webplu/NEventStore,marcoaoteixeira/NEventStore,NEventStore/NEventStore,nerdamigo/NEventStore,adamfur/NEventStore,AGiorgetti/NEventStore,D3-LucaPiombino/NEventStore
src/proj/EventStore/Persistence/IPersistStreams.cs
src/proj/EventStore/Persistence/IPersistStreams.cs
namespace EventStore.Persistence { using System; using System.Collections.Generic; /// <summary> /// Indicates the ability to adapt the underlying persistence infrastructure to behave like a stream of events. /// </summary> /// <remarks> /// Instances of this class must be designed to be multi-thread safe suc...
namespace EventStore.Persistence { using System; using System.Collections.Generic; /// <summary> /// Indicates the ability to adapt the underlying persistence infrastructure to behave like a stream of events. /// </summary> /// <remarks> /// Instances of this class must be designed to be multi-thread safe suc...
mit
C#
92701e1fd06709e81e73470de7cc993321ad2c85
increment minor version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
887c4839a6276eba811c67c8b48fcf70a19ce6e4
Fix problem with filtering non-uniquely named test items
axodox/AxoTools,axodox/AxoTools
AxoCover/Models/OrderedFilteredCollection.cs
AxoCover/Models/OrderedFilteredCollection.cs
using AxoCover.Models.Extensions; using System; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; namespace AxoCover.Models { public class OrderedFilteredCollection<T> : ObservableCollection<T> { private readonly ObservableCollection<T> _baseCollection; privat...
using AxoCover.Models.Extensions; using System; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.Linq; namespace AxoCover.Models { public class OrderedFilteredCollection<T> : ObservableCollection<T> { private readonly ObservableCollection<T> _baseCollection; privat...
mit
C#
71b0caf11964f0241fa4ac4e8196c4364a301e09
Fix invalid filter for OnDispatchEnd
umm-projects/animationevent_dispatcher
Assets/Scripts/UnityModule/AnimationEventDispatcher/GeneralDispatcher.cs
Assets/Scripts/UnityModule/AnimationEventDispatcher/GeneralDispatcher.cs
using UniRx; using UnityEngine; namespace UnityModule.AnimationEventDispatcher { /// <summary> /// 汎用ディスパッチャ /// </summary> public class GeneralDispatcher : Base { /// <summary> /// 汎用イベント名: アニメーション開始 /// </summary> private const string ANIMATION_EVENT_NAME_BEGIN = "B...
using UniRx; using UnityEngine; namespace UnityModule.AnimationEventDispatcher { /// <summary> /// 汎用ディスパッチャ /// </summary> public class GeneralDispatcher : Base { /// <summary> /// 汎用イベント名: アニメーション開始 /// </summary> private const string ANIMATION_EVENT_NAME_BEGIN = "B...
mit
C#
1d9d4c6da836ef9ac2a0004f08eb029cff15d9c9
Update to Problem 4. Multiplication Sign
SimoPrG/CSharpPart1Homework
Conditional-Statements-Homework/MultiplicationSign/MultiplicationSign.cs
Conditional-Statements-Homework/MultiplicationSign/MultiplicationSign.cs
/*Problem 4. Multiplication Sign Write a program that shows the sign (+, - or 0) of the product of three real numbers, without calculating it. Use a sequence of if operators. Examples: a b c result 5 2 2 + -2 -2 1 + -2 4 3 - 0 -2.5 4 ...
/*Problem 4. Multiplication Sign Write a program that shows the sign (+, - or 0) of the product of three real numbers, without calculating it. Use a sequence of if operators. Examples: a b c result 5 2 2 + -2 -2 1 + -2 4 3 - 0 -2.5 4 ...
mit
C#
f0b692a91aad53f147f443dbbf2f6ae0767f9f44
add better resource management in appspageview
Enigmatrix/Cobalt
Cobalt/ViewModels/Pages/AppsPageViewModel.cs
Cobalt/ViewModels/Pages/AppsPageViewModel.cs
using System; using System.Reactive.Linq; using Cobalt.Common.Analysis; using Cobalt.Common.IoC; using Cobalt.Common.UI.ViewModels; using Cobalt.Common.Util; using Cobalt.ViewModels.Extended; namespace Cobalt.ViewModels.Pages { public class AppsPageViewModel : PageViewModel { private string _appFilter...
using System; using System.Reactive.Linq; using Cobalt.Common.Analysis; using Cobalt.Common.IoC; using Cobalt.Common.UI.ViewModels; using Cobalt.Common.Util; using Cobalt.ViewModels.Extended; namespace Cobalt.ViewModels.Pages { public class AppsPageViewModel : PageViewModel { private string _appFilter...
mit
C#
b1d607c5526a26567a7a84a3dd476af7f39cb0f5
Update GetVideoAspectRatioEditor.cs
UnityCommunity/UnityLibrary
Assets/Scripts/Editor/ContextMenu/GetVideoAspectRatioEditor.cs
Assets/Scripts/Editor/ContextMenu/GetVideoAspectRatioEditor.cs
// Custom Contect menu for VideoPlayer component // used for scaling quad mesh transform localscale.y to match videoplayer aspect ratio using UnityEngine; using UnityEditor; using UnityEngine.Video; namespace UnityLibrary { public class GetVideoAspectRatioEditor : MonoBehaviour { [MenuItem("CONTEXT/Vi...
// Custom Contect menu for VideoPlayer component // used for scaling quad mesh transform localscale.y to match videoplayer aspect ratio using UnityEngine; using UnityEditor; using UnityEngine.Video; namespace UnityLibrary { public class GetVideoAspectRatioEditor : MonoBehaviour { [MenuItem("CONTEXT/Vi...
mit
C#
b13a7cee50c9a9f42f39f166d33e88278b361aec
Enable Vstest test
livarcocc/cli-1,weshaggard/cli,nguerrera/cli,AbhitejJohn/cli,dasMulli/cli,nguerrera/cli,EdwardBlair/cli,ravimeda/cli,nguerrera/cli,svick/cli,harshjain2/cli,ravimeda/cli,jonsequitur/cli,dasMulli/cli,AbhitejJohn/cli,EdwardBlair/cli,jonsequitur/cli,blackdwarf/cli,weshaggard/cli,weshaggard/cli,harshjain2/cli,johnbeisner/cl...
test/dotnet-vstest.Tests/VSTestTests.cs
test/dotnet-vstest.Tests/VSTestTests.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.DotNet.Tools.Test.Utilities; using Xunit; using System; using System.IO; using FluentAssertions; using Microsoft.DotNet.TestFram...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.DotNet.Tools.Test.Utilities; using Xunit; using System; using System.IO; using FluentAssertions; using Microsoft.DotNet.TestFram...
mit
C#
48ea23ccde0bd4e761e9c6494a2f1810314f23c3
Remove unused property
Misza13/StarsReloaded
StarsReloaded.Client.ViewModel/ModelWrap/HabitationParameterViewModel.cs
StarsReloaded.Client.ViewModel/ModelWrap/HabitationParameterViewModel.cs
namespace StarsReloaded.Client.ViewModel.ModelWrap { using StarsReloaded.Shared.Model; public abstract class HabitationParameterViewModel { #region Private fields private readonly HabitationParameter habitationParameter; #endregion #region Constructors protected...
namespace StarsReloaded.Client.ViewModel.ModelWrap { using StarsReloaded.Shared.Model; public abstract class HabitationParameterViewModel { #region Private fields private readonly HabitationParameter habitationParameter; #endregion #region Constructors protected...
mit
C#
90ab940ec9fd7a350388cfadc4ed8b5223bba16d
fix typing (#93)
baughj/hybrasylserver,baughj/hybrasylserver,hybrasyl/server,baughj/hybrasylserver,hybrasyl/server,hybrasyl/server
hybrasyl/ControlService.cs
hybrasyl/ControlService.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.ServiceModel.Activation; using System.ServiceModel.Web; using System.Text; using System.Threading.Tasks; using Hybrasyl.Objects; using StackExchange.Redis; namespace Hybrasyl { [ServiceContract] public i...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.ServiceModel.Activation; using System.ServiceModel.Web; using System.Text; using System.Threading.Tasks; using Hybrasyl.Objects; using StackExchange.Redis; namespace Hybrasyl { [ServiceContract] public i...
agpl-3.0
C#
b596b382a3f5f4c93bd6197d5b9e11675b602261
bump version
Fody/Fielder
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Fielder")] [assembly: AssemblyProduct("Fielder")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("0.10.0.0")] [assembly: AssemblyFileVersion("0.10.0.0")]
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Fielder")] [assembly: AssemblyProduct("Fielder")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("0.9.0.0")] [assembly: AssemblyFileVersion("0.9.0.0")]
mit
C#
455af084adcf2551b01f6be8fcc1741fb08fbc63
add new convenience methods for making JsonApiException
JSONAPIdotNET/JSONAPI.NET,SphtKr/JSONAPI.NET,danshapir/JSONAPI.NET,SathishN/JSONAPI.NET
JSONAPI/Payload/Builders/JsonApiException.cs
JSONAPI/Payload/Builders/JsonApiException.cs
using System; using System.Net; namespace JSONAPI.Payload.Builders { /// <summary> /// Exception that should be thrown by payload builders if an error occurs. The data in /// this exception will drive the construction of the error object in the response payload, /// as well as the HTTP status code. ...
using System; using System.Net; namespace JSONAPI.Payload.Builders { /// <summary> /// Exception that should be thrown by payload builders if an error occurs. The data in /// this exception will drive the construction of the error object in the response payload, /// as well as the HTTP status code. ...
mit
C#
3a45136cc48744165577bb52048b9ea2f45e5bc3
make IConnectionInherentKeepAliveFeature a boolean feature (#2496)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Connections.Abstractions/Features/IConnectionInherentKeepAliveFeature.cs
src/Connections.Abstractions/Features/IConnectionInherentKeepAliveFeature.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 System.Collections.Generic; using System.Text; namespace Microsoft.AspNetCore.Connections.Features { /// <summary> /// Indi...
// 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 System.Collections.Generic; using System.Text; namespace Microsoft.AspNetCore.Connections.Features { /// <summary> /// Indi...
apache-2.0
C#
6f2bd24861f19708334bfd97f89eaa4f3db35ecb
Remove useless comments.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/NadekoBot/Services/Database/Repositories/ILevelModelRepository.cs
src/NadekoBot/Services/Database/Repositories/ILevelModelRepository.cs
using System; using System.Linq; using Mitternacht.Services.Database.Models; namespace Mitternacht.Services.Database.Repositories { public interface ILevelModelRepository : IRepository<LevelModel> { LevelModel GetOrCreate(ulong guildId, ulong userId); LevelModel Get(ulong guildId, ulong userId...
using System; using System.Linq; using Mitternacht.Services.Database.Models; namespace Mitternacht.Services.Database.Repositories { public interface ILevelModelRepository : IRepository<LevelModel> { LevelModel GetOrCreate(ulong guildId, ulong userId); /// <summary> /// Gets the LevelM...
mit
C#
691752fa41d7035a2c056c8025928ccf589e12c6
use using statement
Willster419/RelicModManager,Willster419/RelhaxModpack,Willster419/RelhaxModpack
RelhaxModpack/RelhaxModpack/Automation/Tasks/FileCompareInverseTask.cs
RelhaxModpack/RelhaxModpack/Automation/Tasks/FileCompareInverseTask.cs
using RelhaxModpack.Database; using RelhaxModpack.Utilities.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RelhaxModpack.Automation.Tasks { public class FileCompareInverseTask : FileCompareTask, IXmlSerializable { pu...
using RelhaxModpack.Database; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RelhaxModpack.Automation.Tasks { public class FileCompareInverseTask : FileCompareTask, IXmlSerializable { public const string TaskCommandName = "...
apache-2.0
C#
68328fce9c049d97be5bbfc67d62a33a8293ee6f
fix nullability warning
joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net
src/JoinRpg.Portal/Infrastructure/Authentication/RecaptchaVerificator.cs
src/JoinRpg.Portal/Infrastructure/Authentication/RecaptchaVerificator.cs
using System.Net; using BitArmory.ReCaptcha; using JetBrains.Annotations; using Microsoft.Extensions.Options; namespace JoinRpg.Portal.Infrastructure.Authentication; [UsedImplicitly] public class RecaptchaVerificator : IRecaptchaVerificator { private readonly ReCaptchaService reCaptchaService; private readon...
using System.Net; using BitArmory.ReCaptcha; using JetBrains.Annotations; using Microsoft.Extensions.Options; namespace JoinRpg.Portal.Infrastructure.Authentication; [UsedImplicitly] public class RecaptchaVerificator : IRecaptchaVerificator { private readonly ReCaptchaService reCaptchaService; private readon...
mit
C#
abbb920cb8191133e70b6d3ea08b5793b4f17733
Fix EnvironmentHelper not saving in scene (had to do with Unity 5.3 scene changes!
SnpM/Lockstep-Framework
Integration/Environment/EnvironmentHelper.cs
Integration/Environment/EnvironmentHelper.cs
using UnityEngine; using System.Collections; namespace Lockstep { public class EnvironmentHelper : BehaviourHelper { public override ushort ListenInput { get { return 0; } } #if UNITY_EDITOR [SerializeField] ...
using UnityEngine; using System.Collections; namespace Lockstep { public class EnvironmentHelper : BehaviourHelper { public override ushort ListenInput { get { return 0; } } #if UNITY_EDITOR [SerializeField] ...
mit
C#
dc71dca5584f474e5a75a252a699cdf3c67c7517
Add some seed data for quals
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Common/Migrations/Configuration.cs
BatteryCommander.Common/Migrations/Configuration.cs
namespace BatteryCommander.Common.Migrations { using BatteryCommander.Common.Models; using System.Data.Entity.Migrations; internal sealed class Configuration : DbMigrationsConfiguration<BatteryCommander.Common.DataContext> { public Configuration() { AutomaticMigrationsEnable...
namespace BatteryCommander.Common.Migrations { using System.Data.Entity.Migrations; internal sealed class Configuration : DbMigrationsConfiguration<BatteryCommander.Common.DataContext> { public Configuration() { AutomaticMigrationsEnabled = true; } protected ove...
mit
C#
2e1724558d9105de98df0dd3c6bef8f27a3f7166
add XmlExtensions
signumsoftware/framework,signumsoftware/framework
Signum.Utilities/Extensions/XmlExtensions.cs
Signum.Utilities/Extensions/XmlExtensions.cs
using System.IO; using System.Xml; using System.Xml.Linq; using System.Xml.Serialization; namespace Signum.Utilities; public static class XmlExtensions { /// <summary> /// Returns an XML document representing the given object. /// </summary> /// <param name="obj">Any object.</param> /...
using System.IO; using System.Xml; using System.Xml.Serialization; namespace Signum.Utilities; public static class XmlExtensions { /// <summary> /// Returns an XML document representing the given object. /// </summary> /// <param name="obj">Any object.</param> /// <returns>A XML string...
mit
C#
7b9b009204bdd52dce312bdf34f7f1f85e163253
Remove recent updates
croquet-australia/website-application,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-austra...
source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml
source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml
<div class="sticky-notes"> </div>
<div class="sticky-notes"> <div class="sticky-note"> <i class="pin"></i> <div class="content green"> <h1> Recent Updates </h1> <ul> <li>Link to Association Croquet World Rankings added to <a href="/disciplines/association-croquet/r...
mit
C#
70f7ba28c60259eb47bce9b1d8f6cd850dd3d31a
Update CuidCorrelationServiceTests.cs
tiksn/TIKSN-Framework
TIKSN.UnitTests.Shared/Integration/Correlation/CuidCorrelationServiceTests.cs
TIKSN.UnitTests.Shared/Integration/Correlation/CuidCorrelationServiceTests.cs
using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using System; using TIKSN.DependencyInjection; using Xunit; using Xunit.Abstractions; namespace TIKSN.Integration.Correlation.Tests { public class CuidCorrelationServiceTests { private readonly ICorrelationService _correlationServ...
using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using System; using TIKSN.DependencyInjection; using Xunit; using Xunit.Abstractions; namespace TIKSN.Integration.Correlation.Tests { public class CuidCorrelationServiceTests { private readonly ICorrelationService _correlationServ...
mit
C#