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
352cdad87c8e7c529d6f80f91cf2104ac5284417
Change definition of "path" in Okanshi.WebApi
mvno/Okanshi,mvno/Okanshi,mvno/Okanshi
src/Okanshi.WebApi/OkanshiMiddleware.cs
src/Okanshi.WebApi/OkanshiMiddleware.cs
using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Routing; namespace Okanshi.WebApi { /// <summary> /// Reference for the implementation https://docs.microsoft.com/en-us/aspnet/web-a...
using System.Collections.Generic; using System.Diagnostics; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Okanshi.WebApi { /// <summary> /// Reference for the implementation https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/http-message-handlers /// </...
mit
C#
d0bbd33571e356cb41cfcd235989408f848a7592
Set version to 0.6.1.
strayfatty/ShowFeed,strayfatty/ShowFeed
src/ShowFeed/Properties/AssemblyInfo.cs
src/ShowFeed/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("Sh...
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("Sh...
mit
C#
d29049fb746eb3ff3a8dd929212ea1b58129fc8b
Update build.cake
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
XPlat/ExposureNotification/build.cake
XPlat/ExposureNotification/build.cake
var TARGET = Argument("t", Argument("target", "ci")); var SRC_COMMIT = "1dbccda04f9adb511b422125ebdb2eb3aae8329b"; var SRC_URL = $"https://github.com/xamarin/xamarin.exposurenotification/archive/{SRC_COMMIT}.zip"; var OUTPUT_PATH = (DirectoryPath)"./output/"; var NUGET_VERSION = "0.2.0-preview01"; Task("externals") ...
var TARGET = Argument("t", Argument("target", "ci")); var SRC_COMMIT = "85caa2ed4a84d0193eb1bcce85eb22818a679398"; var SRC_URL = $"https://github.com/xamarin/xamarin.exposurenotification/archive/{SRC_COMMIT}.zip"; var OUTPUT_PATH = (DirectoryPath)"./output/"; var NUGET_VERSION = "0.1.0-preview02"; Task("externals") ...
mit
C#
69f97cd8bc92e2951c0161d2c001831963b3c5e1
Rollback test code
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/ViewModels/Validation/ValidateMethodAttribute.cs
WalletWasabi.Gui/ViewModels/Validation/ValidateMethodAttribute.cs
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Gui.ViewModels.Validation { [AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)] public sealed class ValidateMethodAttribute : Attribute { public ValidateMethodAttribute(string methodName) ...
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Gui.ViewModels.Validation { [AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = true)] public sealed class ValidateMethodAttribute : Attribute { public ValidateMethodAttribute(string methodName) {...
mit
C#
bbef9d66a7ea7b5cfec100a331abe4cd073eeb43
Build and publish nuget Rock.Core nuget package
peteraritchie/Rock.Core,bfriesen/Rock.Core,RockFramework/Rock.Core
Rock.Core/Properties/AssemblyInfo.cs
Rock.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ro...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ro...
mit
C#
470cc10d7a3e41b66b1d3f3acbcdf7407cf8f019
Fix test dbs not dropped after test run
sethreno/schemazen,sethreno/schemazen
Test/Integration/CheckTestSchemas.cs
Test/Integration/CheckTestSchemas.cs
using Microsoft.Extensions.Logging; using SchemaZen.Library.Models; using Test.Integration.Helpers; using Xunit; using Xunit.Abstractions; namespace Test.Integration; [Trait("Category", "Integration")] public class CheckTestSchemas { private readonly TestDbHelper _dbHelper; private readonly ILogger _logger; pub...
using Microsoft.Extensions.Logging; using SchemaZen.Library.Models; using Test.Integration.Helpers; using Xunit; using Xunit.Abstractions; namespace Test.Integration; [Trait("Category", "Integration")] public class CheckTestSchemas { private readonly TestDbHelper _dbHelper; private readonly ILogger _logger; pub...
mit
C#
e8763d2e657d45d2709788704bc12c73cdf46319
Update version to 1.0.0-alpha3
bungeemonkee/Utilitron
Utilitron/Properties/AssemblyInfo.cs
Utilitron/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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("Utilitron")] [ass...
using System.Reflection; using System.Resources; 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("Utilitron")] [ass...
mit
C#
da63bdf8a3e5cfa039fbebb956a3825c2ec1ef8e
fix mesh class preventing UnityTest build configuration
jbruening/UnEngine
src/UnEngine/Data/Mesh.cs
src/UnEngine/Data/Mesh.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; #if UNENG namespace UnEngine #else namespace UnityEngine #endif { public sealed class Mesh : Object { // // Summary: // The bounding volume of the mesh. public Bounds bounds { get; set; } // // Summary: // Ve...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace UnityEngine { public sealed class Mesh : Object { // // Summary: // The bounding volume of the mesh. public Bounds bounds { get; set; } // // Summary: // Vertex colors of the mesh. public Color[] ...
mit
C#
0d02cb8fe8aeeddb65a158568c043401c94d4178
Add input binder to allow for comma-separated list inputs for API routes
mtcairneyleeming/latin
api/CommaDelimitedArrayModelBinder.cs
api/CommaDelimitedArrayModelBinder.cs
using System; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.ModelBinding; namespace api { public class CommaDelimitedArrayModelBinder : IModelBinder { public Task BindModelAsync(ModelBindingContext bindingContext) ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.ModelBinding; namespace api { public class CommaDelimitedArrayModelBinder : IModelBinder { pub...
mit
C#
dc73689a018403cf0e683326f2c2c17bc4c13f2f
Add toString override to error class
oozcitak/exiflibrary
ExifLibrary/ImageError.cs
ExifLibrary/ImageError.cs
namespace ExifLibrary { /// <summary> /// Represents error severity. /// </summary> public enum Severity { Info, Warning, Error, } /// <summary> /// Represents errors or warnings generated while reading/writing image files. /// </summary> public class Im...
namespace ExifLibrary { /// <summary> /// Represents error severity. /// </summary> public enum Severity { Info, Warning, Error, } /// <summary> /// Represents errors or warnings generated while reading/writing image files. /// </summary> public class Im...
mit
C#
025ad6c2aaadfd316c28e9c44a95457c5492fbe5
Make last name clickable
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Web/Views/Soldier/List.cshtml
BatteryCommander.Web/Views/Soldier/List.cshtml
@model IEnumerable<BatteryCommander.Common.Models.Soldier> @{ ViewBag.Title = "Soldiers"; } <h2>@ViewBag.Title</h2> <div class="btn-group" role="group"> @Html.ActionLink("Add a Soldier", "New", null, new { @class = "btn btn-primary" }) @Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk", null, new { @clas...
@model IEnumerable<BatteryCommander.Common.Models.Soldier> @{ ViewBag.Title = "Soldiers"; } <h2>@ViewBag.Title</h2> <div class="btn-group" role="group"> @Html.ActionLink("Add a Soldier", "New", null, new { @class = "btn btn-primary" }) @Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk", null, new { @clas...
mit
C#
031f4d11d11d9b94159704f39fcb307158979600
Increase nuget package version to 2.0.0-beta03
Jericho/CakeMail.RestClient
CakeMail.RestClient/Properties/AssemblyInfo.cs
CakeMail.RestClient/Properties/AssemblyInfo.cs
using System.Reflection; // 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("CakeMail.RestClient")] [assembly: AssemblyDescription("CakeMail.RestClient is a...
using System.Reflection; // 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("CakeMail.RestClient")] [assembly: AssemblyDescription("CakeMail.RestClient is a...
mit
C#
9b89ecf00cf597153af54fa92c3ce3ec9f6c7192
Add ShowMiniMap to CurrentMapStateRepository
ethanmoffat/EndlessClient
EOLib/Domain/Map/ICurrentMapStateRepository.cs
EOLib/Domain/Map/ICurrentMapStateRepository.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System.Collections.Generic; using EOLib.Domain.Character; using EOLib.Domain.NPC; namespace EOLib.Domain.Map { public interface ICurrentMapStateRepository ...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System.Collections.Generic; using EOLib.Domain.Character; using EOLib.Domain.NPC; namespace EOLib.Domain.Map { public interface ICurrentMapStateRepository ...
mit
C#
0d436e32f1fcdab2d21014b137df93baf4ac51b3
Use static readonly to avoid allocating.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/RepField.cs
WalletWasabi/Tor/Socks5/Models/Fields/OctetFields/RepField.cs
using System; using WalletWasabi.Tor.Socks5.Models.Bases; namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields { /// <summary> /// Possible values of "reply field" are: /// <list type="bullet"> /// <item>X'00' succeeded</item> /// <item>X'01' general SOCKS server failure</item> /// <item>X'02' conne...
using System; using WalletWasabi.Tor.Socks5.Models.Bases; namespace WalletWasabi.Tor.Socks5.Models.Fields.OctetFields { /// <summary> /// Possible values of "reply field" are: /// <list type="bullet"> /// <item>X'00' succeeded</item> /// <item>X'01' general SOCKS server failure</item> /// <item>X'02' conne...
mit
C#
f0b31f382ab3a85bc56871b2e7f8c97fa3ebe76c
Update NotesRepository.cs
CarmelSoftware/MVCDataRepositoryXML
Models/NotesRepository.cs
Models/NotesRepository.cs
using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Linq; namespace IoCDependencyInjection.Models { public class NotesRepository : INotesRepository { private List<Note> notes = new List<Note>(); private int iNumberOfEntries = 1; private XDocument doc; public NotesRepository() { do...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Linq; namespace IoCDependencyInjection.Models { public class NotesRepository : INotesRepository { private List<Note> notes = new List<Note>(); private int iNumberOfEntries = 1; private XDocument doc; public NotesRepo...
mit
C#
e586c479f62c663be87e6ed2704dc2554d3f9e13
Fix name in help
eloekset/fluentmigrator,fluentmigrator/fluentmigrator,spaccabit/fluentmigrator,schambers/fluentmigrator,schambers/fluentmigrator,igitur/fluentmigrator,igitur/fluentmigrator,eloekset/fluentmigrator,stsrki/fluentmigrator,spaccabit/fluentmigrator,stsrki/fluentmigrator,fluentmigrator/fluentmigrator,amroel/fluentmigrator,am...
src/FluentMigrator.DotNet.Cli/Commands/Root.cs
src/FluentMigrator.DotNet.Cli/Commands/Root.cs
#region License // Copyright (c) 2007-2018, Sean Chambers and the FluentMigrator Project // // 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 /...
#region License // Copyright (c) 2007-2018, Sean Chambers and the FluentMigrator Project // // 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 /...
apache-2.0
C#
5ff57de2c14e3126aaa370c93f5553fd60749cc3
Add VideoQuality.Medium
xamarin/Xamarin.Mobile,xamarin/Xamarin.Mobile,moljac/Xamarin.Mobile,orand/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,nexussays/Xamarin.Mobile
Shared/Media/StoreMediaOptions.cs
Shared/Media/StoreMediaOptions.cs
using System; namespace Xamarin.Media { public enum MediaFileStoreLocation { None, CameraRoll, Local } public class StoreMediaOptions { public MediaFileStoreLocation Location { get; set; } public string Directory { get; set; } public string Name { get; set; } public...
using System; namespace Xamarin.Media { public enum MediaFileStoreLocation { None, CameraRoll, Local } public class StoreMediaOptions { public MediaFileStoreLocation Location { get; set; } public string Directory { get; set; } public string Name { get; set; } public...
apache-2.0
C#
30420b50d82770760d63e7b189fcbf0eeb65a6b0
Fix exception when box info is empty
tigrouind/AITD-roomviewer
Assets/Scripts/Room/BoxInfo.cs
Assets/Scripts/Room/BoxInfo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.UI; public class BoxInfo : MonoBehaviour { public Text LeftText; public Text RightText; readonly StringBuilder names = new StringBuilder(); readonly StringBuilder values = new StringBuilder(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.UI; public class BoxInfo : MonoBehaviour { public Text LeftText; public Text RightText; readonly StringBuilder names = new StringBuilder(); readonly StringBuilder values = new StringBuilder(...
mit
C#
12b72f033a77bf0867ca1b2b7872156b33d11a69
打包1.2.1
yuzd/AntData.ORM,yuzd/AntData.ORM
AntData/AntData.ORM/Properties/LinqToDBConstants.cs
AntData/AntData.ORM/Properties/LinqToDBConstants.cs
using System; namespace AntData.ORM { public static class LinqToDBConstants { public const string FullVersionString = "1.2.1"; public const string ProductName = "AntData.ORM"; public const string ProductDescription = "AntData.ORM"; public const string Copyright = "\xA9 nainaigu"; } }
using System; namespace AntData.ORM { public static class LinqToDBConstants { public const string FullVersionString = "1.2.0"; public const string ProductName = "AntData.ORM"; public const string ProductDescription = "AntData.ORM"; public const string Copyright = "\xA9 nainaigu"; } }
mit
C#
0ab93fcf8989f1ad0400d3dad2a184de773f6150
Add solution files
emailclue/emailclue-dotnet
EmailClueConsoleApp/Program.cs
EmailClueConsoleApp/Program.cs
using EmailClue; using System; namespace EmailClueConsoleApp { class Program { static void Main(string[] args) { var token = "PUBLIC_TEST_TOKEN"; IEmailClue emailClue = new EmailClue.EmailClue(token); ValidateToConsole(emailClue, "test@gmail.com"); ...
using EmailClue; using System; namespace EmailClueConsoleApp { class Program { static void Main(string[] args) { var token = "PUBLIC_TEST_TOKEN"; IEmailClue emailClue = new EmailClue.EmailClue(token); ValidateToConsole(emailClue, "test@gmail.com"); ...
mit
C#
6f5ab84233bd2eb8f31757e716bb3e499d215ae1
Update assembly info
Lochnair/MCServer-World-Converter
MCServer-World-Converter/Properties/AssemblyInfo.cs
MCServer-World-Converter/Properties/AssemblyInfo.cs
/* * The MIT License (MIT) * * Copyright (c) 2015 Nils Andreas Svee * * 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 * t...
/* * The MIT License (MIT) * * Copyright (c) 2015 Nils Andreas Svee * * 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 * t...
mit
C#
d13ea7d59c4a6367b8760c3e783d1a3178a75fb5
update to leather quest hint
LiamKenneth/MIM,LiamKenneth/ArchaicQuest,LiamKenneth/ArchaicQuest,LiamKenneth/MIM,LiamKenneth/MIM,LiamKenneth/ArchaicQuest,LiamKenneth/ArchaicQuest
MIMWebClient/Core/World/Anker/Quests/AnkerQuests.cs
MIMWebClient/Core/World/Anker/Quests/AnkerQuests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using MIMWebClient.Core.Mob; using MIMWebClient.Core.Player; using MIMWebClient.Core.World.Items.Armour.LightArmour.Leather.Arms; using MIMWebClient.Core.World.Items.Armour.LightArmour.Leather.Body; using MIMWebClient.Core.World.Items...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using MIMWebClient.Core.Mob; using MIMWebClient.Core.Player; using MIMWebClient.Core.World.Items.Armour.LightArmour.Leather.Arms; using MIMWebClient.Core.World.Items.Armour.LightArmour.Leather.Body; using MIMWebClient.Core.World.Items...
mit
C#
405a5b097b146eeb0db0f9b59d89a2fc6f352cee
Comment out unused ISceneViewer.Reset() to reduce code complexity
Michelle-Argus/ArribasimExtract,M-O-S-E-S/opensim,BogusCurry/arribasim-dev,RavenB/opensim,OpenSimian/opensimulator,TomDataworks/opensim,M-O-S-E-S/opensim,RavenB/opensim,justinccdev/opensim,bravelittlescientist/opensim-performance,TomDataworks/opensim,TomDataworks/opensim,RavenB/opensim,QuillLittlefeather/opensim-1,ft-/...
OpenSim/Region/Framework/Interfaces/ISceneViewer.cs
OpenSim/Region/Framework/Interfaces/ISceneViewer.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#
f13186137fb5091aac21d86e0f32838e9e7782c0
Make properties on DayEntry be Int64 to match corresponding type Ids
ithielnor/harvest.net
Harvest.Net/Models/DayEntry.cs
Harvest.Net/Models/DayEntry.cs
using RestSharp.Serializers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Harvest.Net.Models { [SerializeAs(Name = "day-entry")] public class DayEntry : Harvest.Net.Models.IModel { public long Id { get; set; } ...
using RestSharp.Serializers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Harvest.Net.Models { [SerializeAs(Name = "day-entry")] public class DayEntry : Harvest.Net.Models.IModel { public long Id { get; set; } ...
mit
C#
0036c43c9057d49a7961445d87f419843b1c476b
use Func<TResult> to get settings
csyntax/BlogSystem
Source/BlogSystem.Web/Controllers/BaseController.cs
Source/BlogSystem.Web/Controllers/BaseController.cs
namespace BlogSystem.Web.Controllers { using System; using System.Linq; using System.Reflection; using System.Collections.Generic; using System.Web.Routing; using System.Web.Mvc; using AutoMapper; using Infrastructure.Mapping; using Services.Cache; using Data.Models; using D...
namespace BlogSystem.Web.Controllers { using System; using System.Linq; using System.Reflection; using System.Collections.Generic; using System.Web.Routing; using System.Web.Mvc; using AutoMapper; using Infrastructure.Mapping; using Services.Cache; using Data.Models; using D...
mit
C#
98b2a4f1c58ce5ae48d3e8701907327c34339970
Remove Windows long path workaround.
peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework
osu.Framework/Platform/Windows/WindowsStorage.cs
osu.Framework/Platform/Windows/WindowsStorage.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.Diagnostics; namespace osu.Framework.Platform.Windows { public class WindowsStorage : DesktopStorage { public WindowsStorage(...
// 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.Diagnostics; using System.Text.RegularExpressions; namespace osu.Framework.Platform.Windows { public class WindowsStorage : DesktopStorag...
mit
C#
704f94d637c8e3380df0c0bb92683b0f4029522e
Add scrollbars, fix log level
savagerose/CKAN-plugins,WCapelle/CKAN-plugins,AlexanderDzhoganov/CKAN-plugins
LogViewPlugin/LogViewPlugin.cs
LogViewPlugin/LogViewPlugin.cs
using System.Windows.Forms; using CKAN; using log4net; using log4net.Appender; using log4net.Core; using log4net.Repository.Hierarchy; namespace LogViewPlugin { public class LogViewPlugin : CKAN.IGUIPlugin { private readonly CKAN.Version VERSION = new CKAN.Version("v1.0.0"); public override...
using System.Windows.Forms; using CKAN; using log4net; using log4net.Appender; using log4net.Core; using log4net.Repository.Hierarchy; namespace LogViewPlugin { public class LogViewPlugin : CKAN.IGUIPlugin { private readonly CKAN.Version VERSION = new CKAN.Version("v1.0.0"); public override...
mit
C#
cfbd66c74796fb04d0732c0f85a278961ec15d16
Remove async/await again and convert offset and description
laedit/vika
NVika/BuildServers/AppVeyor.cs
NVika/BuildServers/AppVeyor.cs
using System; using System.ComponentModel.Composition; using System.Net.Http; namespace NVika { internal sealed class AppVeyorBuildServer : IBuildServer { private readonly Logger _logger; private readonly string _appVeyorAPIUrl; public string Name { get { return "A...
using System; using System.ComponentModel.Composition; using System.Net.Http; namespace NVika { internal sealed class AppVeyorBuildServer : IBuildServer { private readonly Logger _logger; private readonly string _appVeyorAPIUrl; public string Name { get { return "A...
apache-2.0
C#
a253ffd4ccc92c462d98dae3fb80ed9e16afe5c5
fix code formatting hopefully
zhaokunfay/ServiceStack.Examples,assaframan/MoviesRestForAppHarbor,zhaokunfay/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,assaframan/MoviesRestForAppHarbor,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,assaframan/MoviesRestForAppHarbor,ServiceStack/ServiceStack.Examples,ServiceStack/Ser...
src/Backbone.Todos/Global.asax.cs
src/Backbone.Todos/Global.asax.cs
using System; using Funq; using ServiceStack.Redis; using ServiceStack.ServiceInterface; using ServiceStack.WebHost.Endpoints; using ServiceStack.ServiceHost; namespace Backbone.Todos { //Register REST Paths [RestService("/todos")] [RestService("/todos/{Id}")] public class Todo //REST Resource Model { public l...
using System; using Funq; using ServiceStack.Redis; using ServiceStack.ServiceInterface; using ServiceStack.WebHost.Endpoints; using ServiceStack.ServiceHost; namespace Backbone.Todos { //Register REST Paths [RestService("/todos")] [RestService("/todos/{Id}")] public class Todo //REST Resource Model { public l...
bsd-3-clause
C#
9b9d9bc750be2672a005eca270eb3dc379fb984a
Rephrase null-safe Dispose helper to use pattern matching syntax.
fixie/fixie
src/Fixie/ReflectionExtensions.cs
src/Fixie/ReflectionExtensions.cs
namespace Fixie { using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using static Internal.Maybe; public static class ReflectionExtensions { public static bool IsVoid(this MethodInfo method) { return method.ReturnTyp...
namespace Fixie { using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using static Internal.Maybe; public static class ReflectionExtensions { public static bool IsVoid(this MethodInfo method) { return method.ReturnTyp...
mit
C#
b09aa3703164f28b1ffc59d10e172ad07a87c34c
Add search by domain name instruction to main page
zulhilmizainuddin/geoip,zulhilmizainuddin/geoip
src/GeoIP/Views/Home/Index.cshtml
src/GeoIP/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home"; } <div class="row"> <div class="col-md-12"> <h2>Geolocation Service</h2> RESTful service for retrieving geolocations from IP addresses or domain names using MaxMind GeoLite2 and IP2Location Lite databases. </div> <div class="col-md-12"> <h2>Endpoi...
@{ ViewData["Title"] = "Home"; } <div class="row"> <div class="col-md-12"> <h3>Geolocation Service</h3> RESTful service for retrieving geolocations from IP addresses using MaxMind GeoLite2 and IP2Location Lite databases. </div> <div class="col-md-12"> <h3>Endpoints</h3> ...
mit
C#
8b7c8e2f739db086f4a43d0259dea280338f2db9
change assembly name
kulibali/ferric,kulibali/ferric
src/Ferric/Ferric/Properties/AssemblyInfo.cs
src/Ferric/Ferric/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("Fe...
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("Fe...
mit
C#
f8a80b29055680913d8c7504f7086f4fc474e22e
Correct exception message.
gliljas/nhibernate-core,ngbrown/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,lnu/nhibernate-core,RogerKratz/nhibernate-core,hazzik/nhibernate-core,RogerKratz/nhibernate-core,lnu/nhibernate-core,lnu/nhibernate-core,alobakov/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-cor...
src/NHibernate/Linq/SqlMethods.cs
src/NHibernate/Linq/SqlMethods.cs
using System; namespace NHibernate.Linq { public static class SqlMethods { /// <summary> /// Use this method in a Linq2NHibernate expression to generate /// an SQL LIKE expression. (If you want to avoid depending on the NHibernate.Linq namespace, /// you can define your own replica of this method. Any 2-arg...
using System; namespace NHibernate.Linq { public static class SqlMethods { /// <summary> /// Use this method in a Linq2NHibernate expression to generate /// an SQL LIKE expression. (If you want to avoid depending on the NHibernate.Linq namespace, /// you can define your own replica of this method. Any 2-arg...
lgpl-2.1
C#
a472411e0a25abfbfa2514e8376889dd143d5e63
test substitution of email key whe deployed
dgg/NMoneys.Web,dgg/NMoneys.Web,dgg/NMoneys.Web
src/Web/Views/WebApi/Index.cshtml
src/Web/Views/WebApi/Index.cshtml
@model NMoneys.Web.Models.ApiRequest @{ ViewBag.Title = "nMoneys"; Layout = "~/Views/Shared/_Layout.cshtml"; } @System.Configuration.ConfigurationManager.AppSettings["email_api_key"] <section class="container"> <article> <h2><a id="Api"></a>An Api?<a href="#Api"></a></h2> <p> Nowadays, if you do not provide...
@model NMoneys.Web.Models.ApiRequest @{ ViewBag.Title = "nMoneys"; Layout = "~/Views/Shared/_Layout.cshtml"; } <section class="container"> <article> <h2><a id="Api"></a>An Api?<a href="#Api"></a></h2> <p> Nowadays, if you do not provide some sort of REST-y/Web-ish/JSON-able API, you are not <em>in</em>.<br...
bsd-2-clause
C#
e6036d4ea7de20a4302aa0805db6d267e4c50e98
delete test method that should not have been checked in
KodrAus/elasticsearch-net,cstlaurent/elasticsearch-net,RossLieberman/NEST,UdiBen/elasticsearch-net,elastic/elasticsearch-net,TheFireCookie/elasticsearch-net,CSGOpenSource/elasticsearch-net,cstlaurent/elasticsearch-net,RossLieberman/NEST,RossLieberman/NEST,azubanov/elasticsearch-net,UdiBen/elasticsearch-net,adam-mccoy/e...
src/Tests/CodeStandards/ElasticClient.doc.cs
src/Tests/CodeStandards/ElasticClient.doc.cs
using System; using System.Linq; using System.Threading.Tasks; using FluentAssertions; using Nest; using Tests.Framework; namespace Tests.CodeStandards { public class ElasticClientStandards { /* * Fluent methods on IElasticClient (Func<Descriptor, Interface>) should be named `selector`. */ [U] public void C...
using System; using System.Linq; using System.Threading.Tasks; using FluentAssertions; using Nest; using Tests.Framework; namespace Tests.CodeStandards { public class ElasticClientStandards { /* * Fluent methods on IElasticClient (Func<Descriptor, Interface>) should be named `selector`. */ [U] public void C...
apache-2.0
C#
99d867e8e99432d320b60242f900e376d1f13676
Test deactivated
GeekOnRadio/Limbus
Limbus.Mosquito.Test/LinearMosquitoTest.cs
Limbus.Mosquito.Test/LinearMosquitoTest.cs
using System; using NUnit.Framework; using Limbus.Clockwork; using Limbus.Control; namespace Limbus.Mosquito.Test { [TestFixture] public class LinearMosquitoTest { [Test] public void Send_setpoint() { // var tStart = DateTimeOffsetEx.Create().min(0).s(0).ms(0); // var mock = new LinearMosquito(TimeSpaned...
using System; using NUnit.Framework; using Limbus.Clockwork; using Limbus.Control; namespace Limbus.Mosquito.Test { [TestFixture] public class LinearMosquitoTest { [Test] public void Send_setpoint() { var tStart = DateTimeOffsetEx.Create().min(0).s(0).ms(0); var mock = new LinearMosquito(TimeSpaned.Cre...
apache-2.0
C#
97356e9bc99f1df206638b40179d2819d09ae3e4
Test reference loader is disposed
cbcrc/LinkIt
HeterogeneousDataSources.Tests/SingleReferenceTests.cs
HeterogeneousDataSources.Tests/SingleReferenceTests.cs
using System.Collections.Generic; using System.Linq; using ApprovalTests.Reporters; using HeterogeneousDataSources.Tests.Shared; using NUnit.Framework; using RC.Testing; namespace HeterogeneousDataSources.Tests { [UseReporter(typeof(DiffReporter))] [TestFixture] public class SingleReferenceTests { ...
using System.Collections.Generic; using System.Linq; using ApprovalTests.Reporters; using HeterogeneousDataSources.Tests.Shared; using NUnit.Framework; using RC.Testing; namespace HeterogeneousDataSources.Tests { [UseReporter(typeof(DiffReporter))] [TestFixture] public class SingleReferenceTests { ...
mit
C#
dc113bc5619c046d1192a07d0728e752bb43f6b2
update region naming
nopara73/DotNetTor
src/DotNetTor/Http/HttpProtocol.cs
src/DotNetTor/Http/HttpProtocol.cs
using System; // https://tools.ietf.org/html/rfc7230#section-2.6 namespace DotNetTor.Http { public class HttpProtocol : IEquatable<HttpProtocol>, IEquatable<string> { public Version Version { get; } public const string Protocol = "HTTP"; public static HttpProtocol HTTP11 = new HttpProtocol("HTTP/1.1"); publ...
using System; // https://tools.ietf.org/html/rfc7230#section-2.6 namespace DotNetTor.Http { public class HttpProtocol : IEquatable<HttpProtocol>, IEquatable<string> { public Version Version { get; } public const string Protocol = "HTTP"; public static HttpProtocol HTTP11 = new HttpProtocol("HTTP/1.1"); publ...
mit
C#
ddbebf0774e9997a07dbe8bb2634fb0e90a9ed84
Improve performance of ObjectExtensions.SafeGet by avoiding expression compilation
kenny-evitt/AttributeRouting,mccalltd/AttributeRouting,mccalltd/AttributeRouting,modulexcite/AttributeRouting,modulexcite/AttributeRouting,yonglehou/AttributeRouting,kenny-evitt/AttributeRouting,yonglehou/AttributeRouting
src/AttributeRouting/Helpers/ObjectExtensions.cs
src/AttributeRouting/Helpers/ObjectExtensions.cs
using System; using System.Linq.Expressions; namespace AttributeRouting.Helpers { public static class ObjectExtensions { /// <summary> /// Returns true if the object is null or it's string representation is null or empty. /// </summary> public static bool HasNoValue(t...
using System; using System.Linq.Expressions; namespace AttributeRouting.Helpers { public static class ObjectExtensions { /// <summary> /// Returns true if the object is null or it's string representation is null or empty. /// </summary> public static bool HasNoValue(t...
mit
C#
078ac6171843cce3bfc68eec421a82e607d0dc69
Update title-tag on layout
billbogaiv/chronopanel,billbogaiv/chronopanel
src/Chronopanel.Site/Views/Shared/_Layout.cshtml
src/Chronopanel.Site/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"]–Chronopanel</title> <link rel="shortcut icon" href="~/favicon.ico" /> <link rel="stylesheet" href="~/css/site.css" asp-append-versi...
<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - Chronopanel</title> <link rel="shortcut icon" href="~/favicon.ico" /> <link rel="stylesheet" href="~/css/site.css" asp-append-ver...
mit
C#
07efdb267a9725aa876830e80f753bfb218ffc21
Update Routes.cs
phillipsj/Orchard,Codinlab/Orchard,JRKelso/Orchard,oxwanawxo/Orchard,Ermesx/Orchard,jerryshi2007/Orchard,abhishekluv/Orchard,geertdoornbos/Orchard,li0803/Orchard,geertdoornbos/Orchard,Praggie/Orchard,AdvantageCS/Orchard,omidnasri/Orchard,yersans/Orchard,jimasp/Orchard,yersans/Orchard,mvarblow/Orchard,LaserSrl/Orchard,D...
src/Orchard.Web/Modules/Orchard.Search/Routes.cs
src/Orchard.Web/Modules/Orchard.Search/Routes.cs
using System.Collections.Generic; using System.Web.Mvc; using System.Web.Routing; using Orchard.Mvc.Routes; namespace Orchard.Search { public class Routes : IRouteProvider { public void GetRoutes(ICollection<RouteDescriptor> routes) { foreach (var routeDescriptor in GetRoutes()) ...
using System.Collections.Generic; using System.Web.Mvc; using System.Web.Routing; using Orchard.Mvc.Routes; namespace Orchard.Search { public class Routes : IRouteProvider { public void GetRoutes(ICollection<RouteDescriptor> routes) { foreach (var routeDescriptor in GetRoutes()) ...
bsd-3-clause
C#
6af1abb92a026ac61e248eb9b3e39c3281b7b58b
fix call error
persimmon-projects/dotnet-test-persimmon,persimmon-projects/dotnet-test-persimmon
src/dotnet-test-persimmon/PersimmonDriver.cs
src/dotnet-test-persimmon/PersimmonDriver.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Persimmon.Runner { public class PersimmonDriver { private readonly Assembly library; private readonly Assembly target; public PersimmonDriver(Assembly library, Assembly ta...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Persimmon.Runner { public class PersimmonDriver { private readonly Assembly library; private readonly Assembly target; public PersimmonDriver(Assembly library, Assembly ta...
mit
C#
9d3c6ade6237c347bef8ad060ea755f2f2cf9d15
Remove unnecessary skin reading hack in `DefaultLegacySkin`
NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu
osu.Game/Skinning/DefaultLegacySkin.cs
osu.Game/Skinning/DefaultLegacySkin.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using JetBrains.Annotations; using osu.Framework.IO.Stores; using osu.Game.Extensions; using osu.Game.IO; using osuTK.Graphics; namespa...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using JetBrains.Annotations; using osu.Framework.IO.Stores; using osu.Game.Extensions; using osu.Game.IO; using osuTK.Graphics; namespa...
mit
C#
ac77f6927e8b94fb66e13831bdf6a139814f47ae
Tidy up some formatting of code file
csainty/MvcMiniProfiler.RavenDb
MvcMiniProfiler.RavenDb/Profiler.cs
MvcMiniProfiler.RavenDb/Profiler.cs
using System; using System.Collections.Generic; using Raven.Client.Connection; using Raven.Client.Connection.Profiling; using Raven.Client.Document; namespace MvcMiniProfiler.RavenDb { public class Profiler { private static Dictionary<string, IDisposable> _Requests = new Dictionary<string, IDisposable>(); publ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MvcMiniProfiler; using Raven.Client.Connection; using Raven.Client.Connection.Profiling; using Raven.Client.Document; namespace MvcMiniProfiler.RavenDb { public class Profiler { private static Dictionary<string, IDisposabl...
mit
C#
333ee9d1dd3bd1bc1a898bdf8999d67fc9cb0cbc
Update Destroy.cs
afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game
Real_Game/Assets/Scripts/Destroy.cs
Real_Game/Assets/Scripts/Destroy.cs
using UnityEngine; using System.Collections; // For destroying the particles public class Destroy : MonoBehaviour { public float lifetime = 0; // Use this for initialization void Start () { Destroy (gameObject, lifetime); } // Update is called once per frame void Update () { } }
using UnityEngine; using System.Collections; public class Destroy : MonoBehaviour { public float lifetime = 0; // Use this for initialization void Start () { Destroy (gameObject, lifetime); } // Update is called once per frame void Update () { } }
mit
C#
4b0d27a64f019117cdeb4d1c861bbd0d63e06488
Use auto-implemented properties
grokys/Avalonia
Avalonia/DependencyObjectType.cs
Avalonia/DependencyObjectType.cs
// ----------------------------------------------------------------------- // <copyright file="DependencyObjectType.cs" company="Steven Kirk"> // Copyright 2013 MIT Licence // See licence.md for more information // </copyright> // ----------------------------------------------------------------------- namespace Avalon...
// ----------------------------------------------------------------------- // <copyright file="DependencyObjectType.cs" company="Steven Kirk"> // Copyright 2013 MIT Licence // See licence.md for more information // </copyright> // ----------------------------------------------------------------------- namespace Avalon...
mit
C#
950e3bbbbc2faa1e196d7f30d5b7a0ad9801fe60
Fix assertion fail while applying deactivating-touch input on an already non-active source
ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework
osu.Framework/Input/StateChanges/TouchInput.cs
osu.Framework/Input/StateChanges/TouchInput.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.Input.StateChanges.Events; using osu.Framework.Input.States; namespace osu.Framework.Input.StateChanges { /// <summary> /// Denotes a change ...
// 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.Input.StateChanges.Events; using osu.Framework.Input.States; namespace osu.Framework.Input.StateChanges { /// <summary> /// Denotes a change ...
mit
C#
c929a7867d4ee826011811429de64c2c43738cef
Update EmmanuelDemilliere.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/EmmanuelDemilliere.cs
src/Firehose.Web/Authors/EmmanuelDemilliere.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 EmmanuelDemilliere : IAmAMicrosoftMVP { public string FirstName => "Emmanuel"; public strin...
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 EmmanuelDemilliere : IAmAMicrosoftMVP { public string FirstName => "Emmanuel"; public strin...
mit
C#
8430ea998fd8f5c2a8f42b930da3aa6a3186857b
remove unused refs
solomobro/Instagram,solomobro/Instagram,solomobro/Instagram
src/Solomobro.Instagram/Models/LocationInfo.cs
src/Solomobro.Instagram/Models/LocationInfo.cs
using System.Runtime.Serialization; namespace Solomobro.Instagram.Models { [DataContract] public class LocationInfo { internal LocationInfo() { } [DataMember(Name = "id")] public long Id { get; internal set; } [DataMember(Name = "name")] public string Name { get; ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Solomobro.Instagram.Models { [DataContract] public class LocationInfo { internal LocationInfo() { } [DataMember(Name = "id")] ...
apache-2.0
C#
b81074bd4af12796fe00b45f67c0700d1f686d5d
Remove commented code line from developer review.
Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net
LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs
LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using LearnositySDK.Request; using LearnositySDK.Utils; namespace LearnosityDemo.Pages { public class ItemsAPIDemoModel : PageModel { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using LearnositySDK.Request; using LearnositySDK.Utils; // static LearnositySDK.Credentials; namespace LearnosityDemo.Pages { public class Ite...
apache-2.0
C#
69541cade34cd4de32cd95abbfc0611fa2418cfd
Fix specs link
andrewdavey/reference-application,andrewdavey/reference-application
App/Server/GetAppFrameController.cs
App/Server/GetAppFrameController.cs
using System.Collections.Generic; using System.Web; using System.Web.Http; using App.Infrastructure; namespace App.Server { public class GetAppFrameController : ApiController { public object GetAppFrame() { return new Page("AppFrame/init") { ...
using System.Collections.Generic; using System.Web; using System.Web.Http; using App.Infrastructure; namespace App.Server { public class GetAppFrameController : ApiController { public object GetAppFrame() { return new Page("AppFrame/init") { ...
apache-2.0
C#
6cc0e3836f0a5f3a157e38b51ab1f55ef77835e4
Clean code
muntashir/Pingo
Pingo/Classes/ProgressBarUpdater.cs
Pingo/Classes/ProgressBarUpdater.cs
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media.Animation; using System.Windows.Shell; namespace Pingo.Classes { public class ProgressBarUpdater { ProgressBar progressBar; MainWindow mainWindow; public ProgressBarUpdater(ProgressBar progre...
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media.Animation; using System.Windows.Shell; namespace Pingo.Classes { public class ProgressBarUpdater { ProgressBar progressBar; MainWindow mainWindow; public ProgressBarUpdater(ProgressBar progre...
mit
C#
0103ce84c9cdb9654e64e80d8c073f3a13d96703
Create build.cake
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
Util/Xamarin.AndroidBinderator/build.cake
Util/Xamarin.AndroidBinderator/build.cake
var TARGET = Argument("t", Argument("target", "Default")); var OUTPUT_PATH = (DirectoryPath)"./output/"; Task("libs") .Does(() => { EnsureDirectoryExists(OUTPUT_PATH); MSBuild("./Xamarin.AndroidBinderator.sln", c => c .SetConfiguration("Release") .WithTarget("Restore") .WithTarget("Rebuild") .WithTarget("...
mit
C#
b562c131f79fb1e2fcfc2e3f715df894397b32cd
Create IArmor.cs
TeamLockheed/LockheedTheGame
Lockheed_Inventory/Slots/Interfaces/IArmor.cs
Lockheed_Inventory/Slots/Interfaces/IArmor.cs
using System; using System.Collections.Generic; namespace Lockheed_Inventory.Slots.Interfaces { public interface IArmor { List<Item> ArmorList { get; set; } } }
mit
C#
47c23759f9967f91b2a4cfaa10a77185c7d06e2a
Add the customer actor
0culus/ElectronicCash
ElectronicCash/Alice.cs
ElectronicCash/Alice.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ElectronicCash { /// <summary> /// The customer /// </summary> public class Alice : BaseActor { } }
mit
C#
bd7693066262744f6627e4c9a7d8bf2c80c51274
add missing file
vdaron/ovhapicil,vdaron/ovhapicil
OVHApi/Commands/Dedicated/Server/BackupFtp.cs
OVHApi/Commands/Dedicated/Server/BackupFtp.cs
// // BackupFtp.cs // // Author: // Vincent DARON <vda@depfac.com> // // Copyright (c) 2013 Vincent DARON // // 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, incl...
mit
C#
48703444845916db807005b59c4872e4ac3f0a6a
add Coach model - represents team coaches
Team-LemonDrop/NBA-Statistics
NBAStatistics.Data.FillMongoDB/Models/Coach.cs
NBAStatistics.Data.FillMongoDB/Models/Coach.cs
using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace NBAStatistics.Data.FillMongoDB.Models { public class Coach : IEntity { public Coach( int teamId, string season, string coachId, string firstName, string lastName, ...
mit
C#
4528e1fa4f167334972ce51b82b506cc79f389e3
add QueryController
avifatal/framework,AlejandroCano/framework,avifatal/framework,signumsoftware/framework,AlejandroCano/framework,signumsoftware/framework
Signum.React/ApiControllers/QueryController.cs
Signum.React/ApiControllers/QueryController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Signum.Engine.Basics; using Signum.Engine.DynamicQuery; using Signum.Entities.DynamicQuery; namespace Signum.React.ApiControllers { public class QueryController : Ap...
mit
C#
f688d60bbacdf8e7d72dd76644cc2765f4f4256b
Add DiscordGuildMember extension methods for DiscordPermissionHelper functions
BundledSticksInkorperated/Discore
src/Discore/DiscordGuildMemberExtensions.cs
src/Discore/DiscordGuildMemberExtensions.cs
using System; namespace Discore { public static class DiscordGuildMemberExtensions { /// <summary> /// Returns whether this member has the given set of permissions. /// </summary> /// <param name="permissions">The set of permissions to check if the member has.</param> /...
mit
C#
24400f0d98fdd36243b6c260655233706f95dbd9
Create SimpleDB.cs
daenuprobst/SimpleDB
SimpleDB.cs
SimpleDB.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using Newtonsoft.Json; namespace SimpleDB { public static class SimpleDB { private static string _idPropertyName = "_Id"; public static string Database { get; se...
mit
C#
e796a87e7c6d51a57251d178dd7bd566b18bf5ad
Add Echo plugin
LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC
WebScriptHook.Framework/BuiltinPlugins/Echo.cs
WebScriptHook.Framework/BuiltinPlugins/Echo.cs
namespace WebScriptHook.Framework.BuiltinPlugins { class Echo : Plugin { protected internal override string PluginIDImpl { get { return "echo"; } } public override object Respond(object[] args) { return arg...
mit
C#
30c052d1f49955f2890a89c762b02e04f63bffdc
Create Problem9.cs
neilopet/projecteuler_cs
Problem9.cs
Problem9.cs
/* * Problem #9 A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, a2 + b2 = c2 For example, 32 + 42 = 9 + 16 = 25 = 52. There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product abc. */ using System; using System.Numerics; public class Problem9 { pu...
mit
C#
aef6535dd5f0149779eff1ac1d681bd45e02d19e
Create BirthdayCalendarCreatorMiddlePhaseExtracted.cs
jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets
Refactoring/BirthdayCalendar/BirthdayCalendarCreatorMiddlePhaseExtracted.cs
Refactoring/BirthdayCalendar/BirthdayCalendarCreatorMiddlePhaseExtracted.cs
using Dapper; using System.Data.SqlClient; using System.Text; namespace BirthdayCalendar { public class BirthdayCalendarCreatorMiddlePhaseExtracted { private readonly string _connectionString; public BirthdayCalendarCreatorMiddlePhaseExtracted(string connectionString) { _c...
apache-2.0
C#
ba2d5e587379d8df10281550737a57b2563a6953
Add missed file
zooba/PTVS,int19h/PTVS,huguesv/PTVS,int19h/PTVS,huguesv/PTVS,int19h/PTVS,Microsoft/PTVS,huguesv/PTVS,zooba/PTVS,Microsoft/PTVS,Microsoft/PTVS,Microsoft/PTVS,huguesv/PTVS,zooba/PTVS,int19h/PTVS,zooba/PTVS,int19h/PTVS,int19h/PTVS,huguesv/PTVS,zooba/PTVS,huguesv/PTVS,Microsoft/PTVS,zooba/PTVS,Microsoft/PTVS
Python/Product/Analysis/IHasQualifiedName.cs
Python/Product/Analysis/IHasQualifiedName.cs
// Python Tools for Visual Studio // Copyright(c) Microsoft 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. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 /...
apache-2.0
C#
2cab306cff1b3b508957777590d5c15094025930
Add methods to check whether an index/offset is valid
ilkerhalil/dnlib,kiootic/dnlib,jorik041/dnlib,Arthur2e5/dnlib,yck1509/dnlib,ZixiangBoy/dnlib,0xd4d/dnlib,picrap/dnlib,modulexcite/dnlib
dot10/dotNET/DotNetStream.cs
dot10/dotNET/DotNetStream.cs
using System; using System.IO; using dot10.IO; namespace dot10.dotNET { /// <summary> /// .NET metadata stream /// </summary> class DotNetStream : IDisposable { /// <summary> /// Reader that can access the whole stream /// </summary> protected IImageStream imageStream; StreamHeader streamHeader; /// ...
using System; using System.IO; using dot10.IO; namespace dot10.dotNET { /// <summary> /// .NET metadata stream /// </summary> class DotNetStream : IDisposable { /// <summary> /// Reader that can access the whole stream /// </summary> protected IImageStream imageStream; StreamHeader streamHeader; /// ...
mit
C#
f4dbb3e93fa6c0fe99fd033848146e6aab4c700f
Update version unit test
fraga/libsodium-net,deckar01/libsodium-net,deckar01/libsodium-net,BurningEnlightenment/libsodium-net,bitbeans/libsodium-net,bitbeans/libsodium-net,adamcaudill/libsodium-net,adamcaudill/libsodium-net,BurningEnlightenment/libsodium-net,tabrath/libsodium-core,fraga/libsodium-net
Tests/VersionTest.cs
Tests/VersionTest.cs
using Sodium; using NUnit.Framework; namespace Tests { /// <summary> /// Tests for the SodiumVersion class /// </summary> [TestFixture] public class VersionTest { /// <summary> /// A test for SodiumVersionString /// </summary> [Test] public void SodiumVersionStringTest() { co...
using Sodium; using NUnit.Framework; namespace Tests { /// <summary> /// Tests for the SodiumVersion class /// </summary> [TestFixture] public class VersionTest { /// <summary> /// A test for SodiumVersionString /// </summary> [Test] public void SodiumVersionStringTest() { co...
mit
C#
a84f836f02ff425ab3375a6344bc7fde2c5261d7
Add prime factorization.
KirillOsenkov/MyOwnSearchEngine,KirillOsenkov/MyOwnSearchEngine,KirillOsenkov/MyOwnSearchEngine
src/MyOwnSearchEngine/Processors/Factor.cs
src/MyOwnSearchEngine/Processors/Factor.cs
using System.Collections.Generic; using System.Numerics; using System.Text; namespace MyOwnSearchEngine { public class Factor : IProcessor { public string GetResult(Query query) { var integer = query.TryGetStructure<Integer>(); if (integer != null) ...
mit
C#
d5b8d156302dfcdf729fd72267e7452157281e35
Test code for SQL queries
nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,gliljas/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibernate-co...
src/NHibernate.DomainModel/SubComponent.cs
src/NHibernate.DomainModel/SubComponent.cs
using System; namespace NHibernate.DomainModel { /// <summary> /// Summary description for SubComponent. /// </summary> public class SubComponent { private string _subName; private string _subName1; public SubComponent() { } public string SubName { get { return _subName; } set { _subName = v...
lgpl-2.1
C#
2320cf45cc1c670f5f4d89b3f1f7197ddff1a5c5
Add groups page
mattgwagner/alert-roster
alert-roster.web/Views/Home/Groups.cshtml
alert-roster.web/Views/Home/Groups.cshtml
@model IEnumerable<alert_roster.web.Models.Group> @{ ViewBag.Title = "Groups"; } <h2>@ViewBag.Title</h2> <p> @Html.ActionLink("Create New", "Group") </p> @if (TempData["Message"] != null) { <div class="alert alert-info">@TempData["Message"]</div> } <table class="table"> <tr> <th> ...
mit
C#
0deea48d774f7ed34198d763da62a17d3496fe7e
Add temporary NumericEncoding.cs file.
eylvisaker/AgateLib
AgateLib/Serialization/Xle/NumericEncoding.cs
AgateLib/Serialization/Xle/NumericEncoding.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AgateLib.Serialization.Xle { public enum NumericEncoding { Base64, Csv, } }
mit
C#
59b881774a1d08c9d5ac945d6b6aed30dc03eca0
Add service classes
lucianodelucchi/convertidor
Convertidor/Services/ImageConverterService.cs
Convertidor/Services/ImageConverterService.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; namespace Convertidor.Services { /// <summary> /// Description of ImageConverterService. /// </summary> public class ImageConverterService { private static ImageCodecInfo jpegCodecInfo; pri...
mit
C#
6b3aeb9093f8650072f799e8a6fa98621163b095
Create MonsterSweety.cs
TelerikAcademy2015/TelerikDefence
TowerDefense/Main/MonsterSweety.cs
TowerDefense/Main/MonsterSweety.cs
//Monster Sweety - average speed monster with with average helth. namespace TowerDefense.Main { using System; using System.Linq; using TowerDefense.Interfaces; using System.Windows.Media; using TowerDefense.Utils; class MonsterSweety : Monster//, IMonster, IGameObject, IMovable, ITarget - Comm...
mit
C#
12a8d8e274d1212914dd6a4ef5dd2c95db20680b
Add missed file.
ziyasal/InfluxDB.Net,jamesholcomb/InfluxDB.Net,poxet/InfluxDB.Net,poxet/InfluxDB.Net,jamesholcomb/InfluxDB.Net,ziyasal/InfluxDB.Net,ovjhc/InfluxDB.Net,ovjhc/InfluxDB.Net
src/InfluxDB.Net/Core/InfluxDbResponse.cs
src/InfluxDB.Net/Core/InfluxDbResponse.cs
using System.Net; using RestSharp; namespace InfluxDB.Net.Core { public class InfluxDbResponse { public IRestResponse Raw { get; private set; } public bool Success { get { return Raw.StatusCode == HttpStatusCode.OK; } } public InfluxDbResponse(IRestRespons...
unlicense
C#
cfcfef6c0ec9adad53553e5c8f7972a7a122f863
Add CharacterParser
StevenLiekens/TextFx,StevenLiekens/Txt
src/Txt.ABNF/Core/CHAR/CharacterParser.cs
src/Txt.ABNF/Core/CHAR/CharacterParser.cs
using Txt.Core; namespace Txt.ABNF.Core.CHAR { public class CharacterParser : Parser<Character, char> { protected override char ParseImpl(Character value) { return value.Text[0]; } } }
mit
C#
d4c872b3591de6160254506b58163149afc8e313
Add convenience methods for converters.
eatskolnikov/mobile,ZhangLeiCharles/mobile,masterrr/mobile,ZhangLeiCharles/mobile,masterrr/mobile,peeedge/mobile,peeedge/mobile,eatskolnikov/mobile,eatskolnikov/mobile
Phoebe/Data/Json/Converters/JsonExtensions.cs
Phoebe/Data/Json/Converters/JsonExtensions.cs
using System; using System.Threading.Tasks; using Toggl.Phoebe.Data.DataObjects; using XPlatUtils; namespace Toggl.Phoebe.Data.Json.Converters { public static class JsonExtensions { public static Task<ClientData> Import (this ClientJson json) { var converter = ServiceContainer.Reso...
bsd-3-clause
C#
137b5a5f00ce162f27caef7fd4a0678fc6b17bf5
Create GabrielTalavera.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/GabrielTalavera.cs
src/Firehose.Web/Authors/GabrielTalavera.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 BjornHouben : IAmACommunityMember { public string FirstName => "Gabriel"; public string La...
mit
C#
a0522a76e30858d06df5b9b6268b7a89b33a3230
Update AssemblyInfo.cs
Astro03/appium-dotnet-driver,rajfidel/appium-dotnet-driver,rajfidel/appium-dotnet-driver,appium/appium-dotnet-driver,suryarend/appium-dotnet-driver,Brillio/appium-dotnet-driver
appium-dotnet-driver/Properties/AssemblyInfo.cs
appium-dotnet-driver/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("appium-dotnet-driver")] [assembly: AssemblyDescription ("Appium Dotnet Driver")] [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("appium-dotnet-driver")] [assembly: AssemblyDescription ("Appium Dotnet Driver")] [assembly: Asse...
apache-2.0
C#
5224f40d5410d487ca326039c3485f53f6e49368
Add SubText as an option to TimelineMessage
paynecrl97/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,paynecrl97/Glimpse,sorenhl/Glimpse,Glimpse/Glimpse,SusanaL/Glimpse,flcdrg/Glimpse,flcdrg/Glimpse,flcdrg/Glimpse,rho24/Glimpse,paynecrl97/Glimpse,gabrielweyer/Glimpse,SusanaL/Glimpse,rho24/Glimpse,dudzon/Glimpse,Glimpse/Glimpse,gabrielweyer/Glimpse,sorenhl/Glimpse,du...
source/Glimpse.Core/Message/TimelineMessage.cs
source/Glimpse.Core/Message/TimelineMessage.cs
using System; using Glimpse.Core.Extensibility; namespace Glimpse.Core.Message { public class TimelineMessage : MessageBase, ITimerResultMessage { public TimelineMessage(TimerResult timerResult, string eventName = null, string eventCategory = null) { Result = timerResult; ...
using System; using Glimpse.Core.Extensibility; namespace Glimpse.Core.Message { public class TimelineMessage : MessageBase, ITimerResultMessage { public TimelineMessage(TimerResult timerResult, string eventName = null, string eventCategory = null) { Result = timerResult; ...
apache-2.0
C#
43212bb51828de888dc736b9f2c608889dd9370f
Make this enum a byte for small serialization
modulexcite/ZocMon,ZocDoc/ZocMon,ZocDoc/ZocMon,modulexcite/ZocMon,modulexcite/ZocMon,ZocDoc/ZocMon
source/ZocMonCore/Framework/MonitorReductionType.cs
source/ZocMonCore/Framework/MonitorReductionType.cs
namespace ZocMonLib { public enum MonitorReductionType : byte { Custom = 0, DefaultAverage = 1, DefaultAccumulate = 2 } }
namespace ZocMonLib { public enum MonitorReductionType { Custom = 0, DefaultAverage = 1, DefaultAccumulate = 2 } }
apache-2.0
C#
c6366e154160cc856bd52c28c1976fab92dd2cfb
Add UserId to UserCreateRequest
jerriep/auth0.net,jerriep/auth0.net,jerriep/auth0.net,auth0/auth0.net,auth0/auth0.net
src/Auth0.ManagementApi/Models/UserCreateRequest.cs
src/Auth0.ManagementApi/Models/UserCreateRequest.cs
using Auth0.Core; using Newtonsoft.Json; namespace Auth0.ManagementApi.Models { /// <summary> /// /// </summary> public class UserCreateRequest : UserBase { /// <summary> /// Gets or sets the connection the user belongs to. /// </summary> [JsonProperty("connection"...
using Auth0.Core; using Newtonsoft.Json; namespace Auth0.ManagementApi.Models { /// <summary> /// /// </summary> public class UserCreateRequest : UserBase { /// <summary> /// Gets or sets the connection the user belongs to. /// </summary> [JsonProperty("connection"...
mit
C#
cdfcb42c984512fe07c2559a295c2430e72f1d00
Add FXCat
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/FrancoisxavierCat.cs
src/Firehose.Web/Authors/FrancoisxavierCat.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 FrancoisxavierCat : IAmAMicrosoftMVP { public string FirstName => "Francois-Xavier"; public...
mit
C#
6041b8d393a2cd2b530920b5fbea82f34867cb12
Create DesEncryptor.cs
Forward2015/Download,Forward2015/Download,Forward2015/Download,Forward2015/Download
Dotnet/DesEncryptor.cs
Dotnet/DesEncryptor.cs
public DESEncryptor{ public string Encrypt(string pToEncrypt, string sKey) { using (DESCryptoServiceProvider des = new DESCryptoServiceProvider()) { byte[] inputByteArray = Encoding.UTF8.GetBytes(pToEncrypt); des.Key = ASCIIEncoding.ASCII.GetBytes(sKe...
mit
C#
93467a0998406632ba0f019d72ecdeb9460cbc4b
create folder
quarksteilchen/serialportpushbutton
SerialPortPushButton/Properties/AssemblyInfo.cs
SerialPortPushButton/Properties/AssemblyInfo.cs
#empty
mit
C#
0a6cf1e1bb42e74ec08bea9717531a02ed1f97e3
Add MultiplesCachesAsync test
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Tests/UnitTests/MemoryTests.cs
WalletWasabi.Tests/UnitTests/MemoryTests.cs
using Microsoft.Extensions.Caching.Memory; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Xunit; namespace WalletWasabi.Tests.UnitTests { public class MemoryTests { [Fact] public async Task MultiplesCachesAsync() { var invoked = 0; string ExpensiveC...
mit
C#
5229e65962236ef83003c9906b3d246d1992792d
Add GeneratedDocumentTextLoader
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.VisualStudio.LanguageServices.Razor/ProjectSystem/GeneratedDocumentTextLoader.cs
src/Microsoft.VisualStudio.LanguageServices.Razor/ProjectSystem/GeneratedDocumentTextLoader.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.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.Language; using Microsoft.CodeAnalysis.Text; name...
apache-2.0
C#
685a02bf3927d7b1d4424015d5aafb65b5a5cc74
add IUserIdProvider.cs
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Services/IUserIdProvider.cs
src/WeihanLi.Common/Services/IUserIdProvider.cs
using WeihanLi.Extensions; namespace WeihanLi.Common.Services { public interface IUserIdProvider { string GetUserId(); } public static class UserIdProviderExtensions { public static T GetUserId<T>(this IUserIdProvider userIdProvider) { return userIdProvider.Get...
mit
C#
87830ee9b53e8b6851b3000cd16099c8339ca8dd
Improve comment
sharwell/CodeContracts,Microsoft/CodeContracts,Microsoft/CodeContracts,SergeyTeplyakov/CodeContracts,Microsoft/CodeContracts,danachap/CodeContracts,huoxudong125/CodeContracts,danielcweber/CodeContracts,sharwell/CodeContracts,danachap/CodeContracts,sharwell/CodeContracts,danielcweber/CodeContracts,ndykman/CodeContracts,...
Microsoft.Research/Contracts/WindowsBase/System.Windows.Threading.DispatcherObject.cs
Microsoft.Research/Contracts/WindowsBase/System.Windows.Threading.DispatcherObject.cs
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
mit
C#
649aa72f1cde5721183605b0fd14f6521df11655
Add Multiple fieldset case, refactor, add test - currently failing
cankoluman/Archetype-Serializer,cankoluman/Archetype-Serializer
ReferenceCms/7.1.4/Views/AdvancedTestPage.cshtml
ReferenceCms/7.1.4/Views/AdvancedTestPage.cshtml
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = null; }
mit
C#
89057e03c192a625244068e857011b993197e897
Add missing FlexServiceProvider class.
JeremyKuhne/XTask
src/xTask/Services/FlexServiceProvider.cs
src/xTask/Services/FlexServiceProvider.cs
// ---------------------- // xTask Framework // ---------------------- // Copyright (c) Jeremy W. Kuhne. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace XTask.Services { using Systems.Configuration; using Systems.Configur...
mit
C#
057041aa7677dad9dac8cdadb023b82ad1bbecf1
add build.cake
ericburcham/Highway.Data,HighwayFramework/Highway.Data
build.cake
build.cake
////////////////////////////////////////////////////////////////////// // CONFIGURATION ////////////////////////////////////////////////////////////////////// var debugConfiguration = Argument("configuration", "Debug"); var nugetApiKeyEnvironmentVariable = "NUGET_API_KEY"; var nugetPackageSource = "https://api.nuget.or...
mit
C#
f486cf54f0d4475114d9e8da2ae710c7d238463e
Add DictionaryExtensions
gep13/GitVersion,asbjornu/GitVersion,asbjornu/GitVersion,GitTools/GitVersion,gep13/GitVersion,GitTools/GitVersion
src/GitVersion.Core/Extensions/DictionaryExtensions.cs
src/GitVersion.Core/Extensions/DictionaryExtensions.cs
using System; using System.Collections.Generic; namespace GitVersion.Extensions { public static class DictionaryExtensions { public static TValue GetOrAdd<TKey, TValue>(this IDictionary<TKey, TValue> dict, TKey key, Func<TValue> getValue) { if (dict is null) throw new ArgumentNullEx...
mit
C#
dc9b8816ae489eefeeed08bc2b5264f92ab21658
fix fluent metadata reader
MaceWindu/linq2db,linq2db/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,ronnyek/linq2db,LinqToDB4iSeries/linq2db,linq2db/linq2db
Source/LinqToDB/Metadata/FluentMetadataReader.cs
Source/LinqToDB/Metadata/FluentMetadataReader.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; using LinqToDB.Extensions; namespace LinqToDB.Metadata { using Common; public class FluentMetadataReader : IMetadataReader { readonly ConcurrentDictionary<Type,List<Attri...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; using LinqToDB.Extensions; namespace LinqToDB.Metadata { using Common; public class FluentMetadataReader : IMetadataReader { readonly ConcurrentDictionary<Type,List<Attri...
mit
C#
61ea4d6a0c75cfd4c9e2057e7f21938bf0951841
Add SHAKE256
ektrah/nsec
src/Cryptography/Shake256.cs
src/Cryptography/Shake256.cs
using System; using static Interop.KeccakTiny; namespace NSec.Cryptography { public sealed class Shake256 : HashAlgorithm { public Shake256() : base( minHashSize: 0, defaultHashSize: 64, maxHashSize: int.MaxValue) { } internal override void H...
mit
C#
e079e831ef32f2ef69b3cec9f3a40eb87242e329
Create credits.cs
ATailsLLC/BLSonic
credits.cs
credits.cs
messageClient(%client, '', "\c6 - Credits -"); messageClient(%client, '', "\c5 ATails - Coding");
cc0-1.0
C#
b018e4623c145c693367f9cd63936d37ad5666f7
Add ExecutionListener as the intended replacement for the deprecated ExecutionRecorder, performing equivalent work but as a Listener type.
fixie/fixie
src/Fixie.TestAdapter/ExecutionListener.cs
src/Fixie.TestAdapter/ExecutionListener.cs
namespace Fixie.TestAdapter { using System; using Internal; using Internal.Listeners; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; class ExecutionListener : Handler<CaseStarted>, Handler<CaseSkipped>, ...
mit
C#
1625899efe370fcfdf435ee7329b1e3de13a08e0
Create TreeNode.cs
micdenny/TreeNode
TreeNode.cs
TreeNode.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace CSharpTree { public class TreeNode<T> : IEnumerable<TreeNode<T>> { public T Data { get; set; } public TreeNode<T> Parent { get; set; } public ICollection<TreeNode<T>> Children { get; ...
apache-2.0
C#
e9d424c82dc05e92896af9d8c05d20cdfc0b3ef7
Add a reusable hash-code class.
dasMulli/dotnet-win32-service
src/DasMulli.Win32.ServiceUtils/HashCode.cs
src/DasMulli.Win32.ServiceUtils/HashCode.cs
using System.Collections; using System.Collections.Generic; using System.Linq; namespace DasMulli.Win32.ServiceUtils { /// <summary> /// Simplifies the work of hashing. /// Taken from <see cref="https://rehansaeed.com/gethashcode-made-easy/"/>, and modified with Reshaper /// </summary> public stru...
mit
C#
2ab6946d5f7be3a74be697044b0dad329fac35af
Add SDLMixer tests
mono/tao,OpenRA/tao,mono/tao,OpenRA/tao
Framework/Projects/Tao.Sdl/Tests/SdlTestMixer.cs
Framework/Projects/Tao.Sdl/Tests/SdlTestMixer.cs
using System; using System.Threading; using NUnit.Framework; using Tao.Sdl; using System.Runtime.InteropServices; namespace Tao.Sdl { #region SDL_mixer.h /// <summary> /// SDL Tests. /// </summary> [TestFixture] public class SdlTestMixer { int init; /// <summary> /// /// </summary> [SetUp] public ...
mit
C#
4d511f7e3dd160f5fa70a22f28a934e483aa84f7
Split string per given pattern
Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews
CareerCup/split_string.cs
CareerCup/split_string.cs
// http://careercup.com/question?id=5702976138117120 // Split string per pattern // using System; using System.Collections.Generic; using System.Linq; static class Program { static IEnumerable<String> Split(this String s, IEnumerable<int> pattern) { int prev = 0; foreach (int index in pattern)...
mit
C#
1d6a464c5d22c8cc6a1c6230e198b14af49e0a84
add unit test
lunet-io/markdig
src/Markdig.Tests/TestMediaLink.cs
src/Markdig.Tests/TestMediaLink.cs
using Markdig.Extensions.MediaLinks; using NUnit.Framework; using System; using System.Text.RegularExpressions; namespace Markdig.Tests { [TestFixture] public class TestMediaLink { private MarkdownPipeline GetPipeline(MediaOptions options = null) { return new MarkdownPipelineBui...
bsd-2-clause
C#