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
bfcbe428421ef79e4bdfe645890fc68a0b291324
Update BinaryFormatSerializer to produce and consume a byte array
turtle-box-games/leaf-csharp
Leaf/Leaf/Serialization/BinaryFormatSerializer.cs
Leaf/Leaf/Serialization/BinaryFormatSerializer.cs
using System.IO; using System.Text; using Leaf.IO; using Leaf.Nodes; namespace Leaf.Serialization { /// <summary> /// Serializes node data to a compact, non-human readable format. /// </summary> public class BinaryFormatSerializer : IFormatSerializer<byte[]> { /// <summary> /// Fla...
using System.IO; using System.Text; using Leaf.IO; using Leaf.Nodes; namespace Leaf.Serialization { /// <summary> /// Serializes node data to a compact, non-human readable format. /// This format is ideal for saving in a compact format. /// </summary> public class BinaryFormatSerializer : IFormatS...
mit
C#
1aa4804cdf101040f3116ae5f62bca1ff73916d7
add enum
ratoy/twilight
twilight/Style/EnumPointStyle.cs
twilight/Style/EnumPointStyle.cs
using System; namespace twilight { public enum EnumPointStyle { Circle, Rectangle, Cross, Triangle, Image } }
using System; namespace twilight { public enum EnumPointStyle { Circle, Rectangle, Cross, Image } }
apache-2.0
C#
11f8bb13574e5993134f52b2a20adb37ad163bc1
fix issue with not wrapped long text
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Views/Home/ListPictures.cshtml
AstroPhotoGallery/AstroPhotoGallery/Views/Home/ListPictures.cshtml
@model List<AstroPhotoGallery.Models.Picture> @{ ViewBag.Title = "List Pictures"; } <div class="container"> <h2>@TempData["CategoryName"]</h2> <div class="row"> @foreach (var picture in Model) { <div class="col-sm-6 text-center"> <article> ...
@model List<AstroPhotoGallery.Models.Picture> @{ ViewBag.Title = "List Pictures"; } <div class="container"> <h2>@TempData["CategoryName"]</h2> <div class="row"> @foreach (var picture in Model) { <div class="col-sm-6 text-center"> <article> ...
mit
C#
93053203f850598e2a19eac10f94d295316215f0
change the env project properties
gaochundong/Knifer
Gimela.Toolkit.CommandLines.Environment/Properties/AssemblyInfo.cs
Gimela.Toolkit.CommandLines.Environment/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("Gi...
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("Gi...
mit
C#
2e246b3041af9333f9a15730faa6f4c72fb512f3
Handle invalid user/group IDs
FubarDevelopment/FtpServer
src/FubarDev.FtpServer.Abstractions/PermissionsExtensions.cs
src/FubarDev.FtpServer.Abstractions/PermissionsExtensions.cs
// <copyright file="PermissionsExtensions.cs" company="Fubar Development Junker"> // Copyright (c) Fubar Development Junker. All rights reserved. // </copyright> using System; using FubarDev.FtpServer.AccountManagement; using FubarDev.FtpServer.FileSystem; using FubarDev.FtpServer.FileSystem.Generic; using JetBrains...
// <copyright file="PermissionsExtensions.cs" company="Fubar Development Junker"> // Copyright (c) Fubar Development Junker. All rights reserved. // </copyright> using System; using FubarDev.FtpServer.AccountManagement; using FubarDev.FtpServer.FileSystem; using FubarDev.FtpServer.FileSystem.Generic; using JetBrains...
mit
C#
47c1cc2fc0777d7cc64fdb589cfa0f20ea564e0c
Tweak logging on QueuedSender
mattgwagner/CertiPay.Common
CertiPay.Common.Notifications/Notifications/QueuedSender.cs
CertiPay.Common.Notifications/Notifications/QueuedSender.cs
using CertiPay.Common.Logging; using CertiPay.Common.WorkQueue; using System.Threading.Tasks; namespace CertiPay.Common.Notifications { /// <summary> /// Sends notifications to the background worker queue for async processing and retries /// </summary> public partial class QueuedSender : INoti...
using CertiPay.Common.Logging; using CertiPay.Common.WorkQueue; using System.Threading.Tasks; namespace CertiPay.Common.Notifications { /// <summary> /// Sends notifications to the background worker queue for async processing and retries /// </summary> public partial class QueuedSender : INoti...
mit
C#
14f070e064fc5b5541cae1c051e75923a7b97c5d
Update OpeningSpreadsheetMLFiles.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-....
Examples/CSharp/Files/Handling/OpeningSpreadsheetMLFiles.cs
Examples/CSharp/Files/Handling/OpeningSpreadsheetMLFiles.cs
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.Files.Handling { public class OpeningSpreadsheetMLFiles { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose....
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.Files.Handling { public class OpeningSpreadsheetMLFiles { public static void Main(string[] args) { //Exstart:1 // The path to the documents directory. string dataDir = Aspose....
mit
C#
c8a755bfdea00ad8943b1b4516e1ae508fd89599
Add service and container clients
selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java
net/Azure.Storage.Blobs.PerfStress/Core/StorageTest.cs
net/Azure.Storage.Blobs.PerfStress/Core/StorageTest.cs
using Azure.Core.Pipeline; using Azure.Test.PerfStress; using System; using System.Net.Http; namespace Azure.Storage.Blobs.PerfStress { public abstract class StorageTest<TOptions> : PerfStressTest<TOptions> where TOptions: PerfStressOptions { private const string _containerName = "perfstress"; ...
using Azure.Core.Pipeline; using Azure.Test.PerfStress; using System; using System.Net.Http; namespace Azure.Storage.Blobs.PerfStress { public abstract class StorageTest<TOptions> : PerfStressTest<TOptions> where TOptions: PerfStressOptions { private const string _containerName = "perfstress"; ...
mit
C#
e692cd2c942c6e2cbb703afee1de86ace3c4ccd2
Set mixed as default system
DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Client/Systems/SettingsSys/SettingsStructures.cs
Client/Systems/SettingsSys/SettingsStructures.cs
using LunaClient.Systems.PlayerColorSys; using LunaClient.Systems.Toolbar; using System; using System.Collections.Generic; using UnityEngine; namespace LunaClient.Systems.SettingsSys { [Serializable] public class SettingStructure { public string PlayerName { get; set; } = "Player"; public ...
using LunaClient.Systems.PlayerColorSys; using LunaClient.Systems.Toolbar; using System; using System.Collections.Generic; using UnityEngine; namespace LunaClient.Systems.SettingsSys { [Serializable] public class SettingStructure { public string PlayerName { get; set; } = "Player"; public ...
mit
C#
8694b03ef374e88a02a1a6f627dd983390a98590
Update asset info
PhannGor/Screen-Shooter
Assets/ScreenShooter/Editor/Scripts/Info/AssetInfo.cs
Assets/ScreenShooter/Editor/Scripts/Info/AssetInfo.cs
/* * 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 writing, software * distrib...
/* * 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 writing, software * distrib...
apache-2.0
C#
556771bf6a1c8e4e3e67b7d41beaa296908c51b6
Change output to CCLog.
zmaruo/CocosSharp,haithemaraissia/CocosSharp,hig-ag/CocosSharp,mono/CocosSharp,mono/CocosSharp,MSylvia/CocosSharp,netonjm/CocosSharp,TukekeSoft/CocosSharp,mono/cocos2d-xna,TukekeSoft/CocosSharp,netonjm/CocosSharp,haithemaraissia/CocosSharp,hig-ag/CocosSharp,mono/cocos2d-xna,MSylvia/CocosSharp,zmaruo/CocosSharp
cocos2d/Win8IOExtensions.cs
cocos2d/Win8IOExtensions.cs
using System; using System.IO; using System.Reflection; using System.Xml; namespace cocos2d { public static class Win8IOExtensions { public static void Close(this Stream stream) { //stream.Flush(); stream.Close(); } public static MethodInfo GetMethod(this Type type, string name) { return t...
using System; using System.IO; using System.Reflection; using System.Xml; namespace cocos2d { public static class Win8IOExtensions { public static void Close(this Stream stream) { stream.Flush(); stream.Close(); } public static MethodInfo GetMethod(this Type type, string name) { return type.GetType...
mit
C#
4880da70f94f24b3104db881e755829e92c23174
Fix #125
tfsaggregator/tfsaggregator-webhooks,tfsaggregator/tfsaggregator
Aggregator.Core/Extensions/InvalidValueFieldValueValidator.cs
Aggregator.Core/Extensions/InvalidValueFieldValueValidator.cs
using System.Collections; using Aggregator.Core.Context; using Microsoft.TeamFoundation.WorkItemTracking.Client; namespace Aggregator.Core.Extensions { internal class InvalidValueFieldValueValidator : BaseFieldValueValidator { internal InvalidValueFieldValueValidator(IRuntimeContext context) ...
using System.Collections; using Aggregator.Core.Context; using Microsoft.TeamFoundation.WorkItemTracking.Client; namespace Aggregator.Core.Extensions { internal class InvalidValueFieldValueValidator : BaseFieldValueValidator { internal InvalidValueFieldValueValidator(IRuntimeContext context) ...
apache-2.0
C#
cdedff88fcd70f98a3f0820aad19a75f366b7be5
Fix annoying bug with hidden manga actions.
MonkAlex/MangaReader
MangaReader.Avalonia/ViewModel/Command/BaseCommand.cs
MangaReader.Avalonia/ViewModel/Command/BaseCommand.cs
using System; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Windows.Input; using Avalonia.Threading; using MangaReader.Core.Services; namespace MangaReader.Avalonia.ViewModel.Command { public abstract class BaseCommand : ICommand, INotifyPropertyChang...
using System; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Windows.Input; using Avalonia.Threading; using MangaReader.Core.Services; namespace MangaReader.Avalonia.ViewModel.Command { public abstract class BaseCommand : ICommand, INotifyPropertyChang...
mit
C#
69a7d488faaa38fe373fa6bb610bbf0eac70a6b1
Test Major/Minor versions - Commit 2
ravi-msi/practicegit,ravi-msi/practicegit,ravi-msi/practicegit
PracticeGit/PracticeGit/Controllers/HomeController.cs
PracticeGit/PracticeGit/Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; // ADDED FIRST LINE // ADDED SECOND LINE namespace PracticeGit.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; // ADDED FIRST LINE namespace PracticeGit.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; re...
mit
C#
9e4f3f9edf3463399c99fa910333a52d319d5bcf
Fix "Picture Slideshow" "Maximum File Size" default value
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/PictureSlideshow/Settings.cs
DesktopWidgets/Widgets/PictureSlideshow/Settings.cs
using System; using System.ComponentModel; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.PictureSlideshow { public class Settings : WidgetSettingsBase { public Settings() { Width = 384; Height = 216; } [Category("General")] ...
using System; using System.ComponentModel; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.PictureSlideshow { public class Settings : WidgetSettingsBase { public Settings() { Width = 384; Height = 216; } [Category("General")] ...
apache-2.0
C#
a8b5218234d6a42df951b96c2103f98ca76d9f1d
Add failing test
ParticularLabs/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,asbjornu/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,gep13/GitVersion,GitTools/GitVersion,gep13/GitVersion,ParticularLabs/GitVersion,GitTools/GitVersion
src/GitVersionCore.Tests/IntegrationTests/TagCheckoutScenarios.cs
src/GitVersionCore.Tests/IntegrationTests/TagCheckoutScenarios.cs
using GitTools.Testing; using NUnit.Framework; namespace GitVersionCore.Tests.IntegrationTests { [TestFixture] public class TagCheckoutScenarios { [Test] public void GivenARepositoryWithSingleCommit() { using var fixture = new EmptyRepositoryFixture(); const ...
using GitTools.Testing; using NUnit.Framework; namespace GitVersionCore.Tests.IntegrationTests { [TestFixture] public class TagCheckoutScenarios { [Test] public void GivenARepositoryWithSingleCommit() { using var fixture = new EmptyRepositoryFixture(); const ...
mit
C#
fd9fc2faca3cf7020d08da329610ac38bda63102
Add missing object mapping configuration.
aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template
aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/Dto/RoleMapProfile.cs
aspnet-core/src/AbpCompanyName.AbpProjectName.Application/Roles/Dto/RoleMapProfile.cs
using System.Linq; using AutoMapper; using Abp.Authorization; using Abp.Authorization.Roles; using AbpCompanyName.AbpProjectName.Authorization.Roles; namespace AbpCompanyName.AbpProjectName.Roles.Dto { public class RoleMapProfile : Profile { public RoleMapProfile() { // Role and per...
using System.Linq; using AutoMapper; using Abp.Authorization; using Abp.Authorization.Roles; using AbpCompanyName.AbpProjectName.Authorization.Roles; namespace AbpCompanyName.AbpProjectName.Roles.Dto { public class RoleMapProfile : Profile { public RoleMapProfile() { // Role and per...
mit
C#
b17809759f360453c975056472c71cbdc0c0cd48
Remove redundant qualifier.
naoey/osu-framework,peppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,default0/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,Nabile-Rahmani/osu-framework,default0/osu-framework,EVAST9919/osu-framework,DrabWeb...
osu.Framework.Desktop/Platform/Linux/LinuxClipboard.cs
osu.Framework.Desktop/Platform/Linux/LinuxClipboard.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Windows.Forms; namespace osu.Framework.Desktop.Platform.Linux { public class LinuxClipboard : Framework.Platform.Clipboard { ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Windows.Forms; namespace osu.Framework.Desktop.Platform.Linux { public class LinuxClipboard : osu.Framework.Platform.Clipboard {...
mit
C#
5b4433bf2e1161ea56add2007448f945836864a4
Add menu item to create AOT configuration
jacobdufault/fullserializer,jacobdufault/fullserializer,jacobdufault/fullserializer
Assets/FullSerializer/Source/Aot/fsAotConfiguration.cs
Assets/FullSerializer/Source/Aot/fsAotConfiguration.cs
#if !NO_UNITY using System; using System.Collections.Generic; using UnityEngine; namespace FullSerializer { [CreateAssetMenu(menuName = "Full Serializer AOT Configuration")] public class fsAotConfiguration : ScriptableObject { public enum AotState { Default, Enabled, Disabled } ...
#if !NO_UNITY using System; using System.Collections.Generic; using UnityEngine; namespace FullSerializer { public class fsAotConfiguration : ScriptableObject { public enum AotState { Default, Enabled, Disabled } [Serializable] public struct Entry { public AotS...
mit
C#
79bea8b4402dc9ecad20d6a01cc2dfadf8e9af04
Update umbracoUser2NodeNotify in SuperZero migration
robertjf/Umbraco-CMS,NikRimington/Umbraco-CMS,dawoe/Umbraco-CMS,hfloyd/Umbraco-CMS,NikRimington/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,leekelleher/Umbraco-CMS,madsoulswe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,hfloyd/Umbraco-CMS,bjarnef/Umbraco-CMS,mattbrailsford/Umbraco-CMS,leekelleher/Umbraco-C...
src/Umbraco.Core/Migrations/Upgrade/V_8_0_0/SuperZero.cs
src/Umbraco.Core/Migrations/Upgrade/V_8_0_0/SuperZero.cs
namespace Umbraco.Core.Migrations.Upgrade.V_8_0_0 { public class SuperZero : MigrationBase { public SuperZero(IMigrationContext context) : base(context) { } public override void Migrate() { var exists = Database.Fetch<int>("select id from umbracoUser whe...
namespace Umbraco.Core.Migrations.Upgrade.V_8_0_0 { public class SuperZero : MigrationBase { public SuperZero(IMigrationContext context) : base(context) { } public override void Migrate() { var exists = Database.Fetch<int>("select id from umbracoUser whe...
mit
C#
bf0dea45e3bd5c49ec19035182ea99330b418e2d
transform "Local variable not part of this frame's method" into an EvaluatorException
mono/debugger-libs,Unity-Technologies/debugger-libs,joj/debugger-libs,joj/debugger-libs,Unity-Technologies/debugger-libs,mono/debugger-libs
Mono.Debugging.Soft/VariableValueReference.cs
Mono.Debugging.Soft/VariableValueReference.cs
// // VariableValueReference.cs // // Author: // Lluis Sanchez Gual <lluis@novell.com> // // Copyright (c) 2009 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to de...
// // VariableValueReference.cs // // Author: // Lluis Sanchez Gual <lluis@novell.com> // // Copyright (c) 2009 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to de...
mit
C#
89f8fec4f26e0b200a978ac5f9154be905ab3cf5
Bring iOS prototype inline with Android for errors
moljac/Xamarin.Mobile,xamarin/Xamarin.Mobile,xamarin/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,nexussays/Xamarin.Mobile,orand/Xamarin.Mobile
MonoTouch/MonoMobile.Extensions/GeolocationSingleUpdateDelegate.cs
MonoTouch/MonoMobile.Extensions/GeolocationSingleUpdateDelegate.cs
using System; using MonoTouch.CoreLocation; using System.Threading.Tasks; namespace MonoMobile.Extensions { internal class GeolocationSingleUpdateDelegate : CLLocationManagerDelegate { public GeolocationSingleUpdateDelegate (CLLocationManager manager) { this.locations = manager; this.tcs = new TaskComple...
using System; using MonoTouch.CoreLocation; using System.Threading.Tasks; namespace MonoMobile.Extensions { internal class GeolocationSingleUpdateDelegate : CLLocationManagerDelegate { public GeolocationSingleUpdateDelegate (CLLocationManager manager) { this.locations = manager; this.tcs = new TaskComple...
apache-2.0
C#
6bcb5670ad7f114caf83b53a39b9961b7145e36b
Add migration comment
ronaldme/Watcher,ronaldme/Watcher,ronaldme/Watcher
Watcher.DAL/WatcherDbContext.cs
Watcher.DAL/WatcherDbContext.cs
using Microsoft.EntityFrameworkCore; using Watcher.DAL.Entities; namespace Watcher.DAL { /// <summary> /// Add-Migration NAME -StartupProject Watcher.Service -Project Watcher.DAL /// </summary> public class WatcherDbContext : DbContext { public virtual DbSet<Person> Persons { get; set; } ...
using Microsoft.EntityFrameworkCore; using Watcher.DAL.Entities; namespace Watcher.DAL { public class WatcherDbContext : DbContext { public virtual DbSet<Person> Persons { get; set; } public virtual DbSet<Movie> Movies { get; set; } public virtual DbSet<Show> Shows { get; set; } ...
mit
C#
266ba5535e6e5900a9451de5f40aa1eba4289c35
add Format to PredictSimpleResult
MehdyKarimpour/extensions,MehdyKarimpour/extensions,signumsoftware/framework,AlejandroCano/extensions,signumsoftware/extensions,signumsoftware/extensions,AlejandroCano/extensions,signumsoftware/framework
Signum.Entities.Extensions/MachineLearning/PredictSimpleResults.cs
Signum.Entities.Extensions/MachineLearning/PredictSimpleResults.cs
using Signum.Entities; using Signum.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Signum.Entities.MachineLearning { [Serializable, EntityKind(EntityKind.System, EntityData.Transacti...
using Signum.Entities; using Signum.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Signum.Entities.MachineLearning { [Serializable, EntityKind(EntityKind.System, EntityData.Transacti...
mit
C#
2f3dcf3ad17aa55bb5293209f1e30edb91b7b369
Fix CallRouterResolver threadsafety issue
jbialobr/NSubstitute,jbialobr/NSubstitute,jbialobr/NSubstitute,jbialobr/NSubstitute,jbialobr/NSubstitute
Source/NSubstitute/Core/CallRouterResolver.cs
Source/NSubstitute/Core/CallRouterResolver.cs
using System; #if NET4 using System.Collections.Concurrent; #endif using System.Collections.Generic; using NSubstitute.Exceptions; namespace NSubstitute.Core { public class CallRouterResolver : ICallRouterResolver { #if NET4 IDictionary<object, ICallRouter> _callRouterMappings = new ConcurrentDictiona...
using System; using System.Collections.Generic; using NSubstitute.Exceptions; namespace NSubstitute.Core { public class CallRouterResolver : ICallRouterResolver { IDictionary<object, ICallRouter> _callRouterMappings = new Dictionary<object, ICallRouter>(); public ICallRouter ResolveFor(object...
bsd-3-clause
C#
83881fc59b9a71ef48055bc1ff7b5e8c487894b4
add fullname to finance list page
leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net
JoinRpg.Portal/Views/Finances/_Operations.cshtml
JoinRpg.Portal/Views/Finances/_Operations.cshtml
@using JoinRpg.Web.Models.Money @model IEnumerable<JoinRpg.Web.Models.FinOperationListItemViewModel> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.FinanceOperationId) </th> <th> @Html.DisplayNameFor(model => model.Money) </th> <...
@using JoinRpg.Web.Models.Money @model IEnumerable<JoinRpg.Web.Models.FinOperationListItemViewModel> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.FinanceOperationId) </th> <th> @Html.DisplayNameFor(model => model.Money) </th> <...
mit
C#
8c53edaf078932caef9dbc87c9681d28b8b2cfda
add ITestResult.Subject
tinyplasticgreyknight/BareBonesTest
BareBonesTest.Core/ITestResult.cs
BareBonesTest.Core/ITestResult.cs
namespace BareBonesTest.Core { public interface ITestResult { ITestable Subject { get; } TestStatus Status { get; } } }
namespace BareBonesTest.Core { public interface ITestResult { TestStatus Status { get; } } }
mit
C#
95cdebcefe3fdf394878a8e95b15a7f2ed2dcc8d
Clear comment fields after publish (#143)
VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate
BlogTemplate/Pages/Post.cshtml.cs
BlogTemplate/Pages/Post.cshtml.cs
using System; using System.ComponentModel.DataAnnotations; using BlogTemplate._1.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace BlogTemplate._1.Pages { public class PostModel : PageModel { private readonly BlogDataStore _dataStore; pu...
using System; using System.ComponentModel.DataAnnotations; using BlogTemplate._1.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace BlogTemplate._1.Pages { public class PostModel : PageModel { private readonly BlogDataStore _dataStore; pu...
mit
C#
abe38e2e6c56d71fcadd28384dd813a2aedd0766
Update Start.cs
DYanis/UniversalNumeralSystems
ConvertorFromBaseToDecimalNumeralSystem/ConvertorFromBaseToDecimalNumeralSystem/Start.cs
ConvertorFromBaseToDecimalNumeralSystem/ConvertorFromBaseToDecimalNumeralSystem/Start.cs
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; internal class Start { internal static void Main() { // Add numeral system keys. List<string> keys = new List<string>(); keys.Add("KKK0"); // 0 keys.Add("KKK1"); // 1 keys.Add("KKK...
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; internal class Start { internal static void Main() { // Add numeral system keys. List<string> keys = new List<string>(); keys.Add("KKK0"); // 1 keys.Add("KKK1"); // 2 keys.Add("KKK...
mit
C#
aba7d74a18dc4c2427a11e32a18b9ce0e0d8734e
fix typo
haithemaraissia/RestSharp,PKRoma/RestSharp,KraigM/RestSharp,SaltyDH/RestSharp,benfo/RestSharp,dgreenbean/RestSharp,mattleibow/RestSharp,dmgandini/RestSharp,kouweizhong/RestSharp,lydonchandra/RestSharp,periface/RestSharp,huoxudong125/RestSharp,chengxiaole/RestSharp,wparad/RestSharp,jiangzm/RestSharp,dyh333/RestSharp,who...
RestSharp.Net4/Extensions/ResponseStatusExtensions.cs
RestSharp.Net4/Extensions/ResponseStatusExtensions.cs
using System; using System.Net; namespace RestSharp.Extensions { public static class ResponseStatusExtensions { /// <summary> /// Convert a <see cref="ResponseStatus"/> to a <see cref="WebException"/> instance. /// </summary> /// <param name="responseStatus">The response status.</param> /// <returns></ret...
using System; using System.Net; namespace RestSharp.Extensions { public static class ResponseStatusExtensions { /// <summary> /// Convert a <see cref="ResponseStatus"/> to a <see cref="WebException"/> instance. /// </summary> /// <param name="responseStatus">The response status.</param> /// <returns></ret...
apache-2.0
C#
41121fad5dc2d8cc96afa7b94b872838cb90d6ea
Bump version 0.1.5
celeron533/KeepOn
KeepOn/Properties/AssemblyInfo.cs
KeepOn/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#
e683dd29cc5d94350ef046672b11b009d1907727
Remove "initialized" message
ryanewtaylor/snagit-jira-output-accessory,ryanewtaylor/snagit-jira-output-accessory
SnagitJiraOutputAccessory/SnagitJiraOutputButton.cs
SnagitJiraOutputAccessory/SnagitJiraOutputButton.cs
namespace SnagitJiraOutputAccessory { using System; using System.Runtime.InteropServices; using System.Windows.Forms; using SnagitJiraOutputAccessory.Commands; using SNAGITLib; [ClassInterface(ClassInterfaceType.None)] [Guid("D3B2FCA3-7A2C-4AF9-86D4-2E542118E8F8")] public class SnagitJ...
namespace SnagitJiraOutputAccessory { using System; using System.Runtime.InteropServices; using System.Windows.Forms; using SnagitJiraOutputAccessory.Commands; using SNAGITLib; [ClassInterface(ClassInterfaceType.None)] [Guid("D3B2FCA3-7A2C-4AF9-86D4-2E542118E8F8")] public class SnagitJ...
mit
C#
50872ad5344e551ca1d49b95bbdc4d093e6f11ac
fix mono build
gregoryyoung/fsprivateeye,gregoryyoung/fsprivateeye,gregoryyoung/fsprivateeye,gregoryyoung/fsprivateeye
src/crap/host/Native.cs
src/crap/host/Native.cs
using System; using System.ComponentModel; using Microsoft.Win32.SafeHandles; using System.Runtime.InteropServices; #if __MonoCS__ using Mono.Unix.Native; using Mono.Unix; #endif namespace host { public static unsafe class Native { #if __MonoCS__ private static readonly int EAGAIN = NativeConvert.Fr...
using System; using System.ComponentModel; using Microsoft.Win32.SafeHandles; using System.Runtime.InteropServices; #if __MonoCS__ using Mono.Unix.Native; using Mono.Unix; #endif namespace host { public static unsafe class Native { #if __MonoCS__ private static readonly int EAGAIN = NativeConvert.Fr...
mit
C#
9015447170033ea9eac2e2566cd4fb434a40f4c6
Set version number to 1.5.3
tommy-carlier/photo-importer
PhotoImporter/TC.PhotoImporter/Properties/AssemblyInfo.cs
PhotoImporter/TC.PhotoImporter/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.InteropServices; using System; [assembly: AssemblyTitle("Photo Importer")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Tommy Carlier")] [assembly: AssemblyProduct("Photo Importer")] [assembl...
using System.Resources; using System.Reflection; using System.Runtime.InteropServices; using System; [assembly: AssemblyTitle("Photo Importer")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Tommy Carlier")] [assembly: AssemblyProduct("Photo Importer")] [assembl...
mit
C#
e55ad154df6f3d5e49f2d6dd4a4bdb379db72c3a
Tweak SMTP test "From" address.
toolhouse/monitoring-dotnet
Toolhouse.Monitoring/Dependencies/SmtpDependency.cs
Toolhouse.Monitoring/Dependencies/SmtpDependency.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Mail; using System.Text; namespace Toolhouse.Monitoring.Dependencies { public class SmtpDependency : IDependency { public SmtpDependency(string name) { this.Name = name; } public str...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Mail; using System.Text; namespace Toolhouse.Monitoring.Dependencies { public class SmtpDependency : IDependency { public SmtpDependency(string name) { this.Name = name; } public str...
apache-2.0
C#
76a6817d836d2658ff54923f7f94846667452405
Fix type name error due to temporarily excluded project
lasiproject/LASI,lasiproject/LASI
LASI.WebApp.Tests/TestAttributes/PreconfigureLASIAttribute.cs
LASI.WebApp.Tests/TestAttributes/PreconfigureLASIAttribute.cs
using System; using System.Reflection; //using System.IO; //using System.Reflection; using LASI.Utilities; namespace LASI.WebApp.Tests.TestAttributes { [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] public class PreconfigureLASIAttribute : Xunit.Sdk.BeforeAfterTestAttribute ...
using System; using System.Reflection; //using System.IO; //using System.Reflection; using LASI.Utilities; namespace LASI.WebApp.Tests.TestAttributes { [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] public class PreconfigureLASIAttribute : Xunit.Sdk.BeforeAfterTestAttribute ...
mit
C#
bef09525df20d9422ab349fa8914188feb7d284f
fix AdvanceBy() overrides in MidiTimeManagerBase impl.
atsushieno/managed-midi
lib/base/MidiTimeManager.cs
lib/base/MidiTimeManager.cs
using System; using System.Threading; namespace Commons.Music.Midi { public interface IMidiTimeManager { //void AdvanceByTicks (long addedTicks, int currentTempo, int smfDeltaTimeSpec, double speed = 1.0); void AdvanceBy (int addedMilliseconds); //void AdvanceTo (long targetMilliseconds); //long TicksToMil...
using System; using System.Threading; namespace Commons.Music.Midi { public interface IMidiTimeManager { //void AdvanceByTicks (long addedTicks, int currentTempo, int smfDeltaTimeSpec, double speed = 1.0); void AdvanceBy (int addedMilliseconds); //void AdvanceTo (long targetMilliseconds); //long TicksToMil...
mit
C#
e1c1cef87456045a5f0309a871d29ec66dc18b2f
use string.Concat
acple/ParsecSharp
ParsecSharp/Parser/Text.Combinator.Extensions.cs
ParsecSharp/Parser/Text.Combinator.Extensions.cs
using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; namespace ParsecSharp { public static partial class Text { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Parser<char, string> ToStr(this Parser<char, IEnumerable<char>> parser) ...
using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; namespace ParsecSharp { public static partial class Text { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Parser<char, string> ToStr(this Parser<char, IEnumerable<char>> parser) ...
mit
C#
fcd3bcf2629386a63248b79897e7414f3d7a0399
Support for property type to DataTableConstructor
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/components/DataTableConstructor.cs
R7.University/components/DataTableConstructor.cs
// // DataTableConstructor.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015 // // 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 with...
// // DataTableConstructor.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015 // // 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 with...
agpl-3.0
C#
77c55aa9338c045c91b495087098b745b6abbe7d
Bump version
NJAldwin/Pequot
Pequot/Properties/AssemblyInfo.cs
Pequot/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("Pe...
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("Pe...
mit
C#
daae9d2258f178ff87f91f44fa9e4232dbe14e84
Fix mistake in create sprint validator - was allowing null Name
csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil
Agiil.Domain.Impl/Sprints/CreateSprintValidatorFactory.cs
Agiil.Domain.Impl/Sprints/CreateSprintValidatorFactory.cs
using System; using Agiil.Domain.Validation; using CSF.Validation; using CSF.Validation.Manifest.Fluent; using CSF.Validation.StockRules; namespace Agiil.Domain.Sprints { public class CreateSprintValidatorFactory : ValidatorFactoryBase<CreateSprintRequest> { protected override void ConfigureManifest(IManifest...
using System; using Agiil.Domain.Validation; using CSF.Validation; using CSF.Validation.Manifest.Fluent; using CSF.Validation.StockRules; namespace Agiil.Domain.Sprints { public class CreateSprintValidatorFactory : ValidatorFactoryBase<CreateSprintRequest> { protected override void ConfigureManifest(IManifest...
mit
C#
ee4da774ead204b90018348a8faa021d1031f0ff
add clean attributes extension method
wtertinek/Linq2Acad
Sources/Linq2Acad/Extensions/AttributeCollectionExtensions.cs
Sources/Linq2Acad/Extensions/AttributeCollectionExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Autodesk.AutoCAD.DatabaseServices; namespace Linq2Acad { public static class AttributeCollectionExtensions { public static bool Contains(this AttributeCollection attributes, string tag) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Autodesk.AutoCAD.DatabaseServices; namespace Linq2Acad { public static class AttributeCollectionExtensions { public static bool Contains(this AttributeCollection attributes, string tag) ...
mit
C#
10a645794003e90144d7ff28a2ea3a82befd52b0
add stub tests
SpectraLogic/tpfr_client
TpftClientIntegrationTest/TpftClientIntegrationTest.cs
TpftClientIntegrationTest/TpftClientIntegrationTest.cs
/* * ****************************************************************************** * Copyright 2014 - 2016 Spectra Logic Corporation. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the Licens...
/* * ****************************************************************************** * Copyright 2014 - 2016 Spectra Logic Corporation. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the Licens...
apache-2.0
C#
e97419436e847233ca5e33bd9ed22598812f6d91
Update ExceptionlessEventTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Telemetry/ExceptionlessEventTelemeter.cs
TIKSN.Core/Analytics/Telemetry/ExceptionlessEventTelemeter.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using Exceptionless; namespace TIKSN.Analytics.Telemetry { public class ExceptionlessEventTelemeter : ExceptionlessTelemeterBase, IEventTelemeter { public Task TrackEventAsync(string name) { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using Exceptionless; namespace TIKSN.Analytics.Telemetry { public class ExceptionlessEventTelemeter : ExceptionlessTelemeterBase, IEventTelemeter { public async Task TrackEvent(string name) {...
mit
C#
dadd6bdf026725797c3384085760d33041773146
move bomb handler ID check to static IsAuthorizedDefuser
samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays
TwitchPlaysAssembly/Src/MessageResponders/MessageResponder.cs
TwitchPlaysAssembly/Src/MessageResponders/MessageResponder.cs
using System; using System.Linq; using UnityEngine; public abstract class MessageResponder : MonoBehaviour { protected CoroutineQueue _coroutineQueue = null; private void OnDestroy() { IRCConnection.Instance?.OnMessageReceived.RemoveListener(OnInternalMessageReceived); } public void SetupResponder(CoroutineQ...
using System; using UnityEngine; public abstract class MessageResponder : MonoBehaviour { protected CoroutineQueue _coroutineQueue = null; private void OnDestroy() { IRCConnection.Instance?.OnMessageReceived.RemoveListener(OnInternalMessageReceived); } public void SetupResponder(CoroutineQueue coroutineQueue...
mit
C#
46fcb2a2480abc2b623716ea0443e4fb8f8cfcb6
increment to version 0.15.0
config-r/config-r
src/ConfigR/Properties/AssemblyInfo.cs
src/ConfigR/Properties/AssemblyInfo.cs
// <copyright file="AssemblyInfo.cs" company="ConfigR contributors"> // Copyright (c) ConfigR contributors. (configr.net@gmail.com) // </copyright> using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ConfigR")] [assembly: AssemblyDescription("Write your .N...
// <copyright file="AssemblyInfo.cs" company="ConfigR contributors"> // Copyright (c) ConfigR contributors. (configr.net@gmail.com) // </copyright> using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ConfigR")] [assembly: AssemblyDescription("Write your .N...
mit
C#
347facba02eb24fac150dedf52b4d0dcf2cde4b0
Return NotFound on teams user is not a member of
mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager
SupportManager.Web/Areas/Teams/BaseController.cs
SupportManager.Web/Areas/Teams/BaseController.cs
using System.Data.Entity; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using SupportManager.DAL; namespace SupportManager.Web.Areas.Teams { [Area("Teams")] [Authorize] public abstract class BaseController : ...
using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using SupportManager.DAL; namespace SupportManager.Web.Areas.Teams { [Area("Teams")] [Authorize] public abstract class BaseController : Controller { p...
mit
C#
156483bf717ca9d11d9331c08e4f32511b25a2a6
Rename `overridenType` to `overridenTypeReader`
LassieME/Discord.Net,RogueException/Discord.Net,Confruggy/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Commands/Attributes/OverrideTypeReaderAttribute.cs
src/Discord.Net.Commands/Attributes/OverrideTypeReaderAttribute.cs
using System; using System.Reflection; namespace Discord.Commands { [AttributeUsage(AttributeTargets.Parameter)] public class OverrideTypeReaderAttribute : Attribute { private readonly TypeInfo _typeReaderTypeInfo = typeof(TypeReader).GetTypeInfo(); public Type TypeReader { get; } ...
using System; using System.Reflection; namespace Discord.Commands { [AttributeUsage(AttributeTargets.Parameter)] public class OverrideTypeReaderAttribute : Attribute { private readonly TypeInfo _typeReaderTypeInfo = typeof(TypeReader).GetTypeInfo(); public Type TypeReader { get; } ...
mit
C#
003e280cb99c298dac4c247d9d5160af14588a1e
Disable 'Delete all variables' when no environment is selected.
MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderShe...
src/Package/Impl/DataInspect/Commands/DeleteAllVariablesCommand.cs
src/Package/Impl/DataInspect/Commands/DeleteAllVariablesCommand.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Globalization; using Microsoft.Common.Core; using Microsoft.Common.Core.Shell; using Microsoft.R.Host.Client; using Microsoft.VisualStudio.R.Package.Com...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Globalization; using Microsoft.Common.Core; using Microsoft.Common.Core.Shell; using Microsoft.R.Host.Client; using Microsoft.VisualStudio.R.Package.Com...
mit
C#
681264d233e36fcfef16cfbb29c5e4ae3496d8d8
Remove temporary index
arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,hfloyd/Umbraco-CMS,KevinJump/Umbraco-CMS,tcmorris/Umbraco-CMS,mattbrailsford/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,madsoulswe/Umbraco-CMS,tcmorris/Umbraco-CMS,marcemarc/Umbraco...
src/Umbraco.Core/Migrations/Upgrade/Common/CreateKeysAndIndexes.cs
src/Umbraco.Core/Migrations/Upgrade/Common/CreateKeysAndIndexes.cs
using Umbraco.Core.Migrations.Install; namespace Umbraco.Core.Migrations.Upgrade.Common { public class CreateKeysAndIndexes : MigrationBase { public CreateKeysAndIndexes(IMigrationContext context) : base(context) { } public override void Migrate() { // ...
using Umbraco.Core.Migrations.Install; namespace Umbraco.Core.Migrations.Upgrade.Common { public class CreateKeysAndIndexes : MigrationBase { public CreateKeysAndIndexes(IMigrationContext context) : base(context) { } public override void Migrate() { // ...
mit
C#
50d1e4aa0f598810d98f647f3c98f7dcd2b48d83
Create backup directory if missing
Nuterra/Nuterra,Exund/nuterra,maritaria/terratech-mod
src/Nuterra.Installer/InstallerUtil.cs
src/Nuterra.Installer/InstallerUtil.cs
using System; using System.IO; using System.Security.Cryptography; namespace Nuterra.Installer { public static class InstallerUtil { public static string GetFileHash(string filePath) { if (!File.Exists(filePath)) { return null; } using (var md5 = MD5.Create()) using (var stream = File.OpenRea...
using System; using System.IO; using System.Security.Cryptography; namespace Nuterra.Installer { public static class InstallerUtil { public static string GetFileHash(string filePath) { if (!File.Exists(filePath)) { return null; } using (var md5 = MD5.Create()) using (var stream = File.OpenRea...
mit
C#
7fe841dd76f4f406b3020e8760e6c7aab3f52664
Add DangerousAddRef/Release guard.
benjamin-bader/corefx,gkhanna79/corefx,billwert/corefx,Alcaro/corefx,mazong1123/corefx,nchikanov/corefx,CherryCxldn/corefx,Petermarcu/corefx,andyhebear/corefx,manu-silicon/corefx,Petermarcu/corefx,benpye/corefx,dkorolev/corefx,Chrisboh/corefx,YoupHulsebos/corefx,ViktorHofer/corefx,stone-li/corefx,jcme/corefx,mazong1123...
src/Common/src/Interop/Unix/libcrypto/Interop.EcKey.cs
src/Common/src/Interop/Unix/libcrypto/Interop.EcKey.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security.Cryptography; using Microsoft.Win32.SafeHandles; internal static p...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Security.Cryptography; using Microsoft.Win32.SafeHandles; internal static p...
mit
C#
62e35dfa9d4308fdeb5f379228484c3b59b980ea
update Copyright
tainicom/Aether
Source/Properties/AssemblyInfo.cs
Source/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("Ae...
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("Ae...
apache-2.0
C#
3f3e5d87fc15a848781ddfab5c76c36062a0ee69
Change Player.User to private set and add Player.Points
coldstorm/cac
cac/Player.cs
cac/Player.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NetIRC; namespace cac { public class Player { public User User { get; private set; } public List<WhiteCard> Hand; public int Points; public Player(User us...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NetIRC; namespace cac { public class Player { private User User; public List<WhiteCard> Hand; public Player(User user) { this.User = user; ...
mit
C#
d65299e1144d361dd1b7a677fe07b5219fda1690
Simplify GetPassedTestsInfo with XDocument and XPath
abock/roslyn,bartdesmet/roslyn,KirillOsenkov/roslyn,genlu/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,KirillOsenkov/roslyn,weltkante/roslyn,jmarolf/roslyn,eriawan/roslyn,AlekseyTs/roslyn,eriawan/roslyn,agocke/roslyn,gafter/roslyn,tmat/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,tan...
src/EditorFeatures/TestUtilities/Threading/TestInfo.cs
src/EditorFeatures/TestUtilities/Threading/TestInfo.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.IO; using System.Xml.Linq; using System.Xml.XPath; namespace Roslyn.Test.Utilities { public readonly st...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.IO; using System.Xml; namespace Roslyn.Test.Utilities { public struct TestInfo { public decim...
mit
C#
a951730cb24aaeb52c144e63196add9eff427dc3
Add FolderId to Surveys
bcemmett/SurveyMonkeyApi-v3
SurveyMonkey/Containers/Survey.cs
SurveyMonkey/Containers/Survey.cs
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; namespace SurveyMonkey.Containers { [JsonConverter(typeof(TolerantJsonConverter))] public class Survey : IPageableContainer { public long? Id { get; set; } public string Title { get; set; } pu...
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; namespace SurveyMonkey.Containers { [JsonConverter(typeof(TolerantJsonConverter))] public class Survey : IPageableContainer { public long? Id { get; set; } public string Title { get; set; } pu...
mit
C#
919c37293714c18cd024d3c7ac298d3b9f4038ed
make ref internal
titanium007/Titanium-Web-Proxy,justcoding121/Titanium-Web-Proxy,titanium007/Titanium
Titanium.Web.Proxy/Helpers/Ref.cs
Titanium.Web.Proxy/Helpers/Ref.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Titanium.Web.Proxy.Helpers { internal class Ref<T> { internal Ref() { } internal Ref(T value) { Value = value; } i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Titanium.Web.Proxy.Helpers { public class Ref<T> { public Ref() { } public Ref(T value) { Value = value; } public ...
mit
C#
574e726d3610d1df3f31f2ac1af7af7021e817cb
Fix null category search bug
wrightg42/todo-list,It423/todo-list
Todo-List/Todo-List/NoteSorter.cs
Todo-List/Todo-List/NoteSorter.cs
// NoteSorter.cs // <copyright file="NoteSorter.cs"> This code is protected under the MIT License. </copyright> using System.Collections.Generic; using System.Linq; namespace Todo_List { /// <summary> /// A static class containing a list of notes and methods for sorting them. /// </summary> public sta...
// NoteSorter.cs // <copyright file="NoteSorter.cs"> This code is protected under the MIT License. </copyright> using System.Collections.Generic; using System.Linq; namespace Todo_List { /// <summary> /// A static class containing a list of notes and methods for sorting them. /// </summary> public sta...
mit
C#
67cff7307dffdb8294cfb2cd1192867f079ee634
Fix test name and assertion.
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Tests/Reproduce/GithubIssue2985.cs
src/Tests/Reproduce/GithubIssue2985.cs
using System; using Elastic.Xunit.Sdk; using Elastic.Xunit.XunitPlumbing; using Elasticsearch.Net; using FluentAssertions; using Tests.Framework.ManagedElasticsearch.Clusters; namespace Tests.Reproduce { public class GithubIssue2985 : IClusterFixture<WritableCluster> { private readonly WritableCluster _cluster; ...
using System; using Elastic.Xunit.Sdk; using Elastic.Xunit.XunitPlumbing; using Elasticsearch.Net; using FluentAssertions; using Tests.Framework.ManagedElasticsearch.Clusters; namespace Tests.Reproduce { public class GithubIssue2985 : IClusterFixture<WritableCluster> { private readonly WritableCluster _cluster; ...
apache-2.0
C#
85c803d981f34c7632ad0a70e8619106e8fd745c
Update TestExtensions.cs
SimonCropp/NServiceBus.Serilog
src/Tests/TestConfig/TestExtensions.cs
src/Tests/TestConfig/TestExtensions.cs
using System.Collections.Generic; using System.Linq; using NServiceBus; using Serilog.Events; public static class TestExtensions { public static void DisableRetries(this EndpointConfiguration configuration) { var recoverability = configuration.Recoverability(); recoverability.Delayed(settings ...
using System.Collections.Generic; using System.Linq; using NServiceBus; using Serilog.Events; public static class TestExtensions { public static void DisableRetries(this EndpointConfiguration configuration) { var recoverability = configuration.Recoverability(); recoverability.Delayed(settings ...
mit
C#
acef2e50c00017edf9c6c0620bff189e4436a42a
add try/catch to 'sendToSplunk'
sebastus/AzureFunctionForSplunk
shared/sendToSplunkLAD30.csx
shared/sendToSplunkLAD30.csx
#r "Newtonsoft.Json" using System; using System.Dynamic; using System.Net; using System.Net.Http.Headers; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Converters; public class SingleHttpClientInstance { private static readonly HttpClient HttpClient; static SingleHttpClientInstance() { ...
#r "Newtonsoft.Json" using System; using System.Dynamic; using System.Net; using System.Net.Http.Headers; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Converters; public class SingleHttpClientInstance { private static readonly HttpClient HttpClient; static SingleHttpClientInstance() { ...
mit
C#
702ff1538f85ae4947a71eb61388ce68de615d36
Change version
simplic-systems/simplic-cxui
src/Simplic.CXUI.IronPython/Properties/AssemblyInfo.cs
src/Simplic.CXUI.IronPython/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#
eee98ac1680735f777f52ac57980d63df56d30cb
change 'Service' to 'Rpc' for less name collisions
Kukkimonsuta/Odachi
src/Odachi.CodeModel.Providers.JsonRpc/PackageExtensions.cs
src/Odachi.CodeModel.Providers.JsonRpc/PackageExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using Odachi.AspNetCore.JsonRpc.Model; using Odachi.CodeModel.Builders; using Odachi.CodeModel.Mapping; using Odachi.CodeModel.Providers.JsonRpc.Description; using Odachi.Extensions.Formatting; namespace Odachi.CodeModel { public static class PackageB...
using System; using System.Collections.Generic; using System.Linq; using Odachi.AspNetCore.JsonRpc.Model; using Odachi.CodeModel.Builders; using Odachi.CodeModel.Mapping; using Odachi.CodeModel.Providers.JsonRpc.Description; using Odachi.Extensions.Formatting; namespace Odachi.CodeModel { public static class Package...
apache-2.0
C#
3a50b65ec3a64ca4faf197ba53dbcfd3d5c85bd3
Make the namespace uniform accross the project
12joan/hangman
table.cs
table.cs
using System; namespace Hangman { public class Table { public int Width; public int Spacing; public Table(int width, int spacing) { Width = width; Spacing = spacing; } } }
using System; namespace Table { public class Table { public int Width; public int Spacing; public Table(int width, int spacing) { Width = width; Spacing = spacing; } } }
unlicense
C#
9c84ff8d1b18f2b71ee3287306ca0eca28dd9eaf
Use object initializer instead
smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework
osu.Framework/Bindables/BindableSize.cs
osu.Framework/Bindables/BindableSize.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.Drawing; namespace osu.Framework.Bindables { /// <summary> /// Represents a <see cref="Size"/> bindable with defined component-wise c...
// 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.Drawing; namespace osu.Framework.Bindables { /// <summary> /// Represents a <see cref="Size"/> bindable with defined component-wise c...
mit
C#
a81461ba1222a4ba232591fab088c9b3a34a110b
Add ability to test without nofail enabled
EVAST9919/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,smoogipoo/osu,ZLima12/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,DrabWeb/osu,peppy/osu-new,2yangk23/osu,ppy/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,DrabWeb/osu,DrabWeb/osu,johnneijzen/osu,smoogipoo/osu,UselessToucan/os...
osu.Game/Tests/Visual/PlayerTestCase.cs
osu.Game/Tests/Visual/PlayerTestCase.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.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Rulesets.Mods; usin...
// 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.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Rulesets.Mods; usi...
mit
C#
13f682f27c48fbf57e78fabc65a0d624e8672f88
Simplify check and fix for new DynamicGetter
danielwertheim/structurizer
src/projects/Structurizer/Schemas/StructureProperty.cs
src/projects/Structurizer/Schemas/StructureProperty.cs
using System; using Structurizer.Extensions; namespace Structurizer.Schemas { public class StructureProperty : IStructureProperty { private readonly DynamicGetter _getter; public string Name { get; } public string Path { get; } public Type DataType { get; } public IStr...
using System; using Structurizer.Extensions; namespace Structurizer.Schemas { public class StructureProperty : IStructureProperty { private readonly DynamicGetter _getter; public string Name { get; } public string Path { get; } public Type DataType { get; } public IStr...
mit
C#
603a7680cb99ae670d134c6a83edd2d29242c00e
Update PlatformManager.cs
itsMilkid/Alien-Jump
Assets/Scripts/PlatformManager.cs
Assets/Scripts/PlatformManager.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlatformManager : MonoBehaviour { [Header("Prefabs")] public GameObject platformPrefab; [Header("Platform Placement")] public float minYCoord; public float maxYCoord; [Header("Pooling Settings:")] public int poolSize...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlatformManager : MonoBehaviour { [Header("Prefabs")] public GameObject platformPrefab; [Header("Platform Placement")] public float minYCoord; public float maxYCoord; [Header("Pooling Settings:")] public int poolSize...
mit
C#
e8a9fbe809bda755b0f9f07907d434140faf07dc
update GetConfigurationOption imp
AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/Abstractions,AspectCore/AspectCore-Framework
src/AspectCore.Lite.Abstractions.Resolution/AspectConfiguration.cs
src/AspectCore.Lite.Abstractions.Resolution/AspectConfiguration.cs
using AspectCore.Lite.Abstractions.Resolution.Common; using System; using System.Collections.Concurrent; namespace AspectCore.Lite.Abstractions.Resolution { public sealed class AspectConfiguration : IAspectConfiguration { private readonly ConcurrentDictionary<Type, object> optionCache; public...
using AspectCore.Lite.Abstractions.Resolution.Common; namespace AspectCore.Lite.Abstractions.Resolution { public sealed class AspectConfiguration : IAspectConfiguration { private readonly IConfigurationOption<IInterceptor> useOption; private readonly IConfigurationOption<bool> ignoreOption; ...
mit
C#
c059ccaaaafff59553d74f2fa4037079c0d9eda2
Fix for the NotEmpty method.
concordion/concordion-net,ShaKaRee/concordion-net,concordion/concordion-net,concordion/concordion-net,ShaKaRee/concordion-net,ShaKaRee/concordion-net
Concordion/Internal/Util/Check.cs
Concordion/Internal/Util/Check.cs
// Copyright 2009 Jeffrey Cameron // // 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 ag...
// Copyright 2009 Jeffrey Cameron // // 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 ag...
apache-2.0
C#
791524d997ceb9473481dfdf129221d79964686f
Change Page Tests
geaz/coreDox,geaz/coreDox,geaz/coreDox
tests/coreDox.Core.Tests/Project/Pages/DoxPageTests.cs
tests/coreDox.Core.Tests/Project/Pages/DoxPageTests.cs
using coreDox.Core.Exceptions; using coreDox.Core.Project; using coreDox.Core.Project.Pages; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Linq; namespace coreDox.Core.Tests.Projects.Pages { [TestClass] public class DoxPageTests { private string _tmpFile = Path....
using coreDox.Core.Exceptions; using coreDox.Core.Project.Pages; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; namespace coreDox.Core.Tests.Projects.Pages { [TestClass] public class DoxPageTests { private string _tmpFile = Path.GetTempFileName(); private string _tmpP...
mit
C#
2b0b1a27421a535da710608358786d05e3bd7125
fix codesmell
arsouza/Aritter,aritters/Ritter,arsouza/Aritter
src/Infra.Crosscutting/Caching/CachingProvider.cs
src/Infra.Crosscutting/Caching/CachingProvider.cs
using System.Collections.Generic; namespace Ritter.Infra.Crosscutting.Caching { public abstract class CachingProvider { private readonly Dictionary<string, object> cache = new Dictionary<string, object>(); static readonly object padlock = new object(); protected virtual void AddItem(s...
using System.Collections.Generic; namespace Ritter.Infra.Crosscutting.Caching { public abstract class CachingProvider { private readonly Dictionary<string, object> cache = new Dictionary<string, object>(); static readonly object padlock = new object(); protected virtual void AddItem(s...
mit
C#
f1f35fa10ecc0fd7c898a7f23aad9a0210dabb83
fix build warning of ThisAssembly (#1039)
kubernetes-client/csharp,kubernetes-client/csharp
src/KubernetesClient.Basic/GeneratedApiVersion.cs
src/KubernetesClient.Basic/GeneratedApiVersion.cs
namespace k8s; public static class GeneratedApiVersion { // Now API version is the same as model version // Change this if api is generated from a separate swagger spec public const string AssemblyVersion = GeneratedModelVersion.AssemblyVersion; public const string SwaggerVersion = GeneratedModelVersi...
namespace k8s; public static class GeneratedApiVersion { public const string AssemblyVersion = ThisAssembly.AssemblyInformationalVersion; public const string SwaggerVersion = ThisAssembly.KubernetesSwaggerVersion; }
apache-2.0
C#
ef2ec3e9fd382c4e96d1743c45f0fd993e4300c6
Change icon classes.
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/IconClasses.cs
source/Nuke.Common/IconClasses.cs
// Copyright Matthias Koch 2017. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using Nuke.Common; using Nuke.Common.Git; using Nuke.Common.IO; using Nuke.Common.Tools.DocFx; using Nuke.Common.Tools.DotCover; using Nuke.Common.Tools.Dot...
// Copyright Matthias Koch 2017. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using Nuke.Common; using Nuke.Common.Git; using Nuke.Common.IO; using Nuke.Common.Tools.DocFx; using Nuke.Common.Tools.DotCover; using Nuke.Common.Tools.Dot...
mit
C#
732bfad18742b28b22226eeea9018dd9c34f4c2d
Add messageBack to action types.
yakumo/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder
CSharp/Library/Microsoft.Bot.Connector.Shared/ActionTypes.cs
CSharp/Library/Microsoft.Bot.Connector.Shared/ActionTypes.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Bot.Connector { public class ActionTypes { /// <summary> /// Client will open given url in the built-in browser. /// </summary> public const s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.Bot.Connector { public class ActionTypes { /// <summary> /// Client will open given url in the built-in browser. /// </summary> public const s...
mit
C#
c607c58a18149f6537d3034de9f55dd7e3721832
remove unnecessary using directive.
jwChung/Experimentalism,jwChung/Experimentalism
test/Experiment.AutoFixtureUnitTest/AssemblyLevelTest.cs
test/Experiment.AutoFixtureUnitTest/AssemblyLevelTest.cs
using System.IO; using System.Linq; using System.Text; using Xunit; using Xunit.Extensions; namespace Jwc.Experiment { public class AssemblyLevelTest { [Fact] public void SutReferencesOnlySpecifiedAssemblies() { var sut = typeof(AutoDataTheoremAttribute).Assembly; ...
using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using Xunit; using Xunit.Extensions; namespace Jwc.Experiment { public class AssemblyLevelTest { [Fact] public void SutReferencesOnlySpecifiedAssemblies() { var sut = typeof(AutoDataTheoremAttr...
mit
C#
289fbf244a4bcff8223b14c00c75c8b1fe76b42e
Update WinFormsBrowserProcessHandler to use the simplest possible approach - NOT PRODUCTION READY
Livit/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp
CefSharp.WinForms.Example/Handlers/WinFormsBrowserProcessHandler.cs
CefSharp.WinForms.Example/Handlers/WinFormsBrowserProcessHandler.cs
// Copyright © 2010-2016 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.Threading.Tasks; using CefSharp.Example.Handlers; using System.Timers; namespace CefSharp.WinForms.Example.Handlers { ...
// Copyright © 2010-2016 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.Threading.Tasks; using CefSharp.Example.Handlers; using System.Timers; namespace CefSharp.WinForms.Example.Handlers { ...
bsd-3-clause
C#
06d053239dbc228ec98fa57b625c465847146693
Update TweekLegacy.cs
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
services/api/Tweek.ApiService.NetCore/Security/TweekLegacy.cs
services/api/Tweek.ApiService.NetCore/Security/TweekLegacy.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Tweek.ApiService.Addons; using System.Security.Claims; using Microsoft.AspNetCore.Authentication; using M...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Tweek.ApiService.Addons; using System.Security.Claims; using Microsoft.AspNetCore.Authentication; using M...
mit
C#
afd7bf3df88844b4753afb84aa2b6c07bc1ef9f9
Enable nullable and don't bother null checking at every read.
ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Audio/Callbacks/DataStreamFileProcedures.cs
osu.Framework/Audio/Callbacks/DataStreamFileProcedures.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.IO; #nullable enable namespace osu.Framework.Audio.Callbacks { /// <summary> /// Implementation of <see cref="IFileProcedures"/> tha...
// 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.IO; namespace osu.Framework.Audio.Callbacks { /// <summary> /// Implementation of <see cref="IFileProcedures"/> that supports reading...
mit
C#
92f2fac35de497293342ebff62d3c513119d49f6
Rewrite the xml doc for IResponseFilter
Livit/CefSharp,wangzheng888520/CefSharp,dga711/CefSharp,dga711/CefSharp,Livit/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,dga711/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,dga711/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,wangzheng888520/CefSharp,wangzheng888520/CefSh...
CefSharp/IResponseFilter.cs
CefSharp/IResponseFilter.cs
// Copyright © 2010-2016 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.IO; namespace CefSharp { public interface IResponseFilter { /// <summary> /// Initialize the response filter...
// Copyright © 2010-2016 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.IO; namespace CefSharp { public interface IResponseFilter { /// <summary> /// Initialize the response filter...
bsd-3-clause
C#
e08e5f67a7c6d030cc4034d71c5dfb8e84ab8289
Update SerializationTests.cs
tiksn/TIKSN-Framework
TIKSN.UnitTests.Shared/Serialization/Numerics/SerializationTests.cs
TIKSN.UnitTests.Shared/Serialization/Numerics/SerializationTests.cs
using System; using System.Numerics; using FluentAssertions; using Xunit; namespace TIKSN.Serialization.Numerics.Tests { public class SerializationTests { [Fact] public void DeserializeSerializeUnsignedBigInteger() { var rng = new Random(); var serializer = new U...
using System; using System.Numerics; using FluentAssertions; using Xunit; namespace TIKSN.Serialization.Numerics.Tests { public class SerializationTests { [Fact] public void DeserializeSerializeUnsignedBigInteger() { var rng = new Random(); UnsignedBigIntegerBina...
mit
C#
30c377565caa31daffb2a6d0228c7498976bd149
fix sample time for ruleset/latest
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 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.Core.Abstractions; name...
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#
afdab7895aa3fa3cff46529ef7b164342fda7202
Fix beatmap background fade not being updated on retry
naoey/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,Nabile-Rahmani/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,naoey/osu,naoey/osu,johnneijzen/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,2yangk23/osu,Frontear/osuKyzer,NeoAdonis/osu,DrabWeb/osu,smoogipooo/osu,smoogipoo/...
osu.Game/Screens/Play/ScreenWithBeatmapBackground.cs
osu.Game/Screens/Play/ScreenWithBeatmapBackground.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Framework.Screens; using osu.Game.Configuration; usin...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Framework.Screens; using osu.Game.Configuration; usin...
mit
C#
31c26ff2713fe76bdf2999cb191c6c024e1dc6fa
Remove unused code
TheEadie/LazyLibrary,TheEadie/LazyStorage,TheEadie/LazyStorage
src/LazyStorage/StorableObject.cs
src/LazyStorage/StorableObject.cs
using System.Collections.Generic; namespace LazyStorage { public class StorableObject { public Dictionary<string, string> Info { get; } public StorableObject() { Info = new Dictionary<string, string>(); } } }
using System.Collections.Generic; namespace LazyStorage { public class StorableObject { public Dictionary<string, string> Info { get; } public StorableObject() { Info = new Dictionary<string, string>(); } internal StorableObject(Dictionary<string, string> i...
mit
C#
b81ce2eb11a6e521ce6493e9b707370eb9f955ee
Make FileUpdate return false to MSBUILD if it doesn't find a match.
ddaspit/libpalaso,andrew-polk/libpalaso,hatton/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,gtryus/libpalaso,gmartin7/libpalaso,andrew-polk/libpalaso,hatton/libpalaso,JohnThomson/libpalaso,tombogle/libpalaso,darcywong00/libpalaso,chrisvire/libpalaso,gmartin7/libpalaso,tombogle/libpalaso,glasseyes/libpalaso,gtryus/l...
Palaso.MSBuildTasks/FileUpdate.cs
Palaso.MSBuildTasks/FileUpdate.cs
using System; using System.Diagnostics; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Palaso.BuildTasks { public class FileUpdate : Task { [Required] public string File { get; set; } [Required] public string Regex { get; set; } [Required] public string ReplacementText { ge...
using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Palaso.BuildTasks { public class FileUpdate : Task { [Required] public string File { get; set; } [Required] public string Regex { get; set; } [Required] public string ReplacementText { get; set; } public override bool Execu...
mit
C#
0b0780bd217f718fc79c1939571b07f864435e77
Improve FileUpdate build task to accept date format for output
gmartin7/libpalaso,tombogle/libpalaso,tombogle/libpalaso,gmartin7/libpalaso,ermshiperete/libpalaso,tombogle/libpalaso,glasseyes/libpalaso,gtryus/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,ddaspit/libpalaso,mccarthyrb/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,ddasp...
Palaso.MSBuildTasks/FileUpdate.cs
Palaso.MSBuildTasks/FileUpdate.cs
using System; using System.Diagnostics; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Palaso.BuildTasks { public class FileUpdate : Task { private string _dateFormat; [Required] public string File { get; set; } [Required] public string Regex { get; set; } [Required] pub...
using System; using System.Diagnostics; using System.Runtime.InteropServices; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Palaso.BuildTasks { public class FileUpdate : Task { [Required] public string File { get; set; } [Required] public string Regex { get; set; } [Required...
mit
C#
94b858d00ef7b8edead1937526d02b01bfee08aa
clean code
bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL
Demos/OrderIndependentTransparency/OITNode.build_lists.cs
Demos/OrderIndependentTransparency/OITNode.build_lists.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CSharpGL; namespace OrderIndependentTransparency { public partial class OITNode : PickableNode { private const string buildListsVert = @"#version 330 in vec3 vPosition; in vec3 vNormal; uniform mat4 mvpMatrix...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CSharpGL; namespace OrderIndependentTransparency { public partial class OITNode : PickableNode { private const string buildListsVert = @"#version 330 in vec3 vPosition; in vec3 vNormal; uniform mat4 mvpMatrix...
mit
C#
57ea76e6f42b6f0467cc5ec8317effc50d1b27e7
update version
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
apache-2.0
C#
996e3c1570d18e4e457b06d46b3a3fb7ed377db2
change all to protected set
0culus/ElectronicCash
ElectronicCash/BaseActor.cs
ElectronicCash/BaseActor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ElectronicCash { /// <summary> /// The base actor abstracts all common properties of our actors (mainly Bank, Merchant, Customer) /// </summary> public abstract class BaseActor...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ElectronicCash { /// <summary> /// The base actor abstracts all common properties of our actors (mainly Bank, Merchant, Customer) /// </summary> public abstract class BaseActor...
mit
C#
093fb9e26fc08a9f801e8cbc9181e6d57b2c34cc
Update AddingLinkToURL2.cs
aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,as...
Examples/CSharp/Data/AddOn/Hyperlinks/AddingLinkToURL2.cs
Examples/CSharp/Data/AddOn/Hyperlinks/AddingLinkToURL2.cs
using System.IO; using System.Drawing; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.AddOn.Hyperlinks { public class AddingLinkToURL2 { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = As...
using System.IO; using System.Drawing; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.AddOn.Hyperlinks { public class AddingLinkToURL2 { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Util...
mit
C#
02347caab258c5e1b5de505c81894ccc1fd21459
Add an error message if opening the log file fails.
KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog
src/StructuredLogger/BinaryLog.cs
src/StructuredLogger/BinaryLog.cs
using System.Diagnostics; namespace Microsoft.Build.Logging.StructuredLogger { public class BinaryLog { public static Build ReadBuild(string filePath) { var eventSource = new BinaryLogReplayEventSource(); byte[] sourceArchive = null; eventSourc...
using System.Diagnostics; namespace Microsoft.Build.Logging.StructuredLogger { public class BinaryLog { public static Build ReadBuild(string filePath) { var eventSource = new BinaryLogReplayEventSource(); byte[] sourceArchive = null; eventSourc...
mit
C#
84683197c7bbd4fcc81eaa0da83436d297909fbe
Add GPS
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/XajuanSmith.cs
src/Firehose.Web/Authors/XajuanSmith.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class XajuanSmith : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Xajuan"; ...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class XajuanSmith : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Xajuan"; ...
mit
C#
defa7b9765d30d63442fd3e47878bcb56f3f74a3
Update dark FSLauncher handling
BrianLima/UWPHook
UWPHook/FullScreenLauncher.xaml.cs
UWPHook/FullScreenLauncher.xaml.cs
using MaterialDesignColors; using MaterialDesignThemes.Wpf; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; usi...
using MaterialDesignThemes.Wpf; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; usi...
mit
C#
98a6c789430bdaba73b5008c1630b37793ee2c5b
Fix the omission on the interface declaration
OpenSimian/opensimulator,ft-/arribasim-dev-tests,bravelittlescientist/opensim-performance,RavenB/opensim,OpenSimian/opensimulator,ft-/arribasim-dev-tests,Michelle-Argus/ArribasimExtract,TomDataworks/opensim,ft-/opensim-optimizations-wip,M-O-S-E-S/opensim,ft-/arribasim-dev-extras,ft-/opensim-optimizations-wip-extras,ft-...
OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
OpenSim/Region/Framework/Interfaces/IScriptModuleComms.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
dbc750c4d98ccbdf15b6d047ec354ffc84f26b09
Enable the track editor to display the duration of tracks one hour or
petejohanson/hyena,dufoli/hyena,GNOME/hyena,petejohanson/hyena,dufoli/hyena,arfbtwn/hyena,GNOME/hyena,arfbtwn/hyena
Hyena/Hyena/DateTimeUtil.cs
Hyena/Hyena/DateTimeUtil.cs
// // Utilities.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 Novell, Inc. // // 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, in...
// // Utilities.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 Novell, Inc. // // 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, in...
mit
C#
0c16dd90be33f5057ad187a9c1d4263d78110b3e
fix order of events when dispatching events.
ardalis/ddd-guestbook,ardalis/ddd-guestbook,ardalis/ddd-guestbook
src/CleanArchitecture.Infrastructure/Data/AppDbContext.cs
src/CleanArchitecture.Infrastructure/Data/AppDbContext.cs
using CleanArchitecture.Core.Interfaces; using CleanArchitecture.Core.Model; using Microsoft.EntityFrameworkCore; using System.Linq; using CleanArchitecture.Core.Entities; using CleanArchitecture.Core.SharedKernel; using Microsoft.EntityFrameworkCore.Metadata; namespace CleanArchitecture.Infrastructure.Data { pub...
using CleanArchitecture.Core.Interfaces; using CleanArchitecture.Core.Model; using Microsoft.EntityFrameworkCore; using System.Linq; using CleanArchitecture.Core.Entities; using CleanArchitecture.Core.SharedKernel; using Microsoft.EntityFrameworkCore.Metadata; namespace CleanArchitecture.Infrastructure.Data { pub...
mit
C#
03aa0602a1dd42728ad4d4894a4d41b19889db9b
Change order of attributes
stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing
src/RestfulRouting.Tests/Unit/HtmlHelperExtensionsSpec.cs
src/RestfulRouting.Tests/Unit/HtmlHelperExtensionsSpec.cs
using System; using System.Web; using System.Web.Mvc; using System.Web.Routing; using Machine.Specifications; using MvcContrib.TestHelper; using RestfulRouting; using Rhino.Mocks; namespace HtmlExtensionsSpecs { [Subject(typeof(HtmlHelperExtensions))] public abstract class base_context { protected ...
using System; using System.Web; using System.Web.Mvc; using System.Web.Routing; using Machine.Specifications; using MvcContrib.TestHelper; using RestfulRouting; using Rhino.Mocks; namespace HtmlExtensionsSpecs { [Subject(typeof(HtmlHelperExtensions))] public abstract class base_context { protected ...
mit
C#
7f1c90a570d22dcd3dc885e7523ca98337a003b6
Update assembly info
NattyNarwhal/Sounds
Sounds/Properties/AssemblyInfo.cs
Sounds/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("So...
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("So...
mit
C#
bd8a432bee654e58896d250c6370b9def8f462e0
upgrade version to 0.1.0.2
icsharp/log4net.Kafka
log4net.Kafka/Properties/AssemblyInfo.cs
log4net.Kafka/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("lo...
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("lo...
apache-2.0
C#
bcec0f79bbf4bdf661f4e08babca2f3be8757894
Fix interface for IHockeyClient.
ChristopheLav/HockeySDK-Windows,bitstadium/HockeySDK-Windows,dkackman/HockeySDK-Windows
Src/Kit.UWP/IHockeyClient.cs
Src/Kit.UWP/IHockeyClient.cs
namespace Microsoft.HockeyApp { /// <summary> /// Public Interface for HockeyClient. /// </summary> public interface IHockeyClient { /// <summary> /// Bootstraps HockeyApp SDK. /// </summary> /// <param name="appId">App ID.</param> /// <param name...
namespace Microsoft.HockeyApp { /// <summary> /// Public Interface for HockeyClient. /// </summary> public interface IHockeyClient { /// <summary> /// Bootstraps HockeyApp SDK. /// </summary> /// <param name="appId">App ID.</param> /// <param name...
mit
C#