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
a6a67cf03159bc1085b2f9c1887f09ccaf59bba0
Change "RSS Headlines" widget name
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/RSSFeed/Metadata.cs
DesktopWidgets/Widgets/RSSFeed/Metadata.cs
namespace DesktopWidgets.Widgets.RSSFeed { public static class Metadata { public const string FriendlyName = "RSS Feed"; } }
namespace DesktopWidgets.Widgets.RSSFeed { public static class Metadata { public const string FriendlyName = "RSS Headlines"; } }
apache-2.0
C#
52c0f29d83997452a74551cdfc19c148fad14796
Fix new class name in LoadTester.Demo
LukasBoersma/LoadTester
LoadTester.Demo/Program.cs
LoadTester.Demo/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using LoadTester; namespace LoadTester.Demo { public class Program { static void Main(string[] args) { // Create the test runner. Configure it to run lots of tests in paral...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using LoadTester; namespace LoadTester.Demo { public class Program { static void Main(string[] args) { // Create the load tester. Configure it to run lots of tests in paral...
mit
C#
6c05c9530f13bade1a14611c130b0d14add732af
Correct the direction of the moon's travel.
JapaMala/armok-vision,JapaMala/armok-vision,JapaMala/armok-vision
Assets/Scripts/CelestialScripts/SunRotate.cs
Assets/Scripts/CelestialScripts/SunRotate.cs
using UnityEngine; public class SunRotate : MonoBehaviour { public float rotationSpeed = 1.0f; public float longitude; public float axialTilt; private int starMatrix; private int moonMatrix; public float GetLongitudeFromWorld(RemoteFortressReader.WorldMap world) { float tude = Mat...
using UnityEngine; public class SunRotate : MonoBehaviour { public float rotationSpeed = 1.0f; public float longitude; public float axialTilt; private int starMatrix; private int moonMatrix; public float GetLongitudeFromWorld(RemoteFortressReader.WorldMap world) { float tude = Mat...
mit
C#
93edc93c0cb26f3f6933b071b9f78b3614dcc58d
Add new Google Analytics tracking ID
aspnet/live.asp.net,reactiveui/website,reactiveui/website,sejka/live.asp.net,pakrym/kudutest,aspnet/live.asp.net,pakrym/kudutest,reactiveui/website,aspnet/live.asp.net,reactiveui/website,sejka/live.asp.net
src/live.asp.net/Views/Shared/_AnalyticsHead.cshtml
src/live.asp.net/Views/Shared/_AnalyticsHead.cshtml
@using Microsoft.ApplicationInsights.Extensibility @inject TelemetryConfiguration TelemetryConfiguration <environment names="Production"> <script type="text/javascript"> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { ...
@using Microsoft.ApplicationInsights.Extensibility @inject TelemetryConfiguration TelemetryConfiguration <environment names="Production"> <script type="text/javascript"> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { ...
mit
C#
b51a08c6cec288b7f7e1675a6db729c75e6a02d5
Bump version
Yuisbean/WebMConverter,nixxquality/WebMConverter,o11c/WebMConverter
Properties/AssemblyInfo.cs
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("We...
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("We...
mit
C#
2f9bc904353f34f930f93bad42202420f93ef1a9
Update Program.cs
tvert/GitTest1
ConsoleApp1/ConsoleApp1/Program.cs
ConsoleApp1/ConsoleApp1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { // Code amended in GitHub } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { } } }
mit
C#
36922a518740d0a145efffbdaa3dee25871b131c
Add test
sakapon/Tools-2016
FileReplacer/UnitTest/DirectoryHelperTest.cs
FileReplacer/UnitTest/DirectoryHelperTest.cs
using System; using System.IO; using FileReplacer; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class DirectoryHelperTest { [TestMethod] public void ReplaceDirectoryName() { if (Directory.Exists("Root")) ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class DirectoryHelperTest { [TestMethod] public void TestMethod1() { } } }
mit
C#
e90e304fc6c956a384a83f42716e3f472ce32fd3
return list of excluded items
rauljmz/Sitecore-Courier,csteeg/Sitecore-Courier,cmgutmanis/Sitecore-Courier,adoprog/Sitecore-Courier
Sitecore.Courier.Runner/ExclusionReader.cs
Sitecore.Courier.Runner/ExclusionReader.cs
using System.Collections.Generic; using System.Xml; namespace Sitecore.Courier.Runner { // Reads the scproj file for excludedfiles and returns them for processing. public static class ExclusionReader { public static List<string> GetExcludedItems(string projectFilePath, string buildConfiguration) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace Sitecore.Courier.Runner { // Reads the scproj file for excludedfiles and returns them for processing. public static class ExclusionReader { public static ...
mit
C#
c6253c263e30ccd6eedd5825524b7190163ec54d
Fix bug by adding [DataContract].
EusthEnoptEron/Sketchball
Sketchball/GameComponents/HighscoreList.cs
Sketchball/GameComponents/HighscoreList.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Sketchball.GameComponents { /// <summary> /// /// </summary> [DataContract] public class HighscoreList : I...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Sketchball.GameComponents { /// <summary> /// /// </summary> [DataContract] public class HighscoreList : I...
mit
C#
cfa4f027d01e8ddc4a0117cf60793fa15b7240d2
Remove redundant ctor call
anjdreas/UnitsNet,anjdreas/UnitsNet
UnitsNet.Tests/CustomQuantities/HowMuch.cs
UnitsNet.Tests/CustomQuantities/HowMuch.cs
using System; namespace UnitsNet.Tests.CustomQuantities { /// <inheritdoc cref="IQuantity"/> /// <summary> /// Example of a custom/third-party quantity implementation, for plugging in quantities and units at runtime. /// </summary> public struct HowMuch : IQuantity { public HowMuch(doub...
using System; namespace UnitsNet.Tests.CustomQuantities { /// <inheritdoc cref="IQuantity"/> /// <summary> /// Example of a custom/third-party quantity implementation, for plugging in quantities and units at runtime. /// </summary> public struct HowMuch : IQuantity { public HowMuch(doub...
mit
C#
6e507d952f11287a2ab379475ab0b900872b05f9
Use ICollection.Any(), instead of Count() for validation
mysticfall/Alensia
Assets/Alensia/Core/Camera/CameraManager.cs
Assets/Alensia/Core/Camera/CameraManager.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Alensia.Core.Actor; using Alensia.Core.Common; using UnityEngine.Assertions; namespace Alensia.Core.Camera { public class CameraManager : ICameraManager { private ICameraMode _mode; ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Alensia.Core.Actor; using Alensia.Core.Common; using UnityEngine.Assertions; namespace Alensia.Core.Camera { public class CameraManager : ICameraManager { private ICameraMode _mode; ...
apache-2.0
C#
0c2252863801a61d52afc3da47e46e961637bbfe
Bump número de versión a 0.8.4.0
TheXDS/MCART
CoreComponents/AssemblyInfo/AssemblyInfo.cs
CoreComponents/AssemblyInfo/AssemblyInfo.cs
/* AssemblyInfo.cs This file is part of Morgan's CLR Advanced Runtime (MCART) Author(s): César Andrés Morgan <xds_xps_ivx@hotmail.com> Copyright (c) 2011 - 2018 César Andrés Morgan Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it and/or modify it under the terms of the GNU Gener...
/* AssemblyInfo.cs This file is part of Morgan's CLR Advanced Runtime (MCART) Author(s): César Andrés Morgan <xds_xps_ivx@hotmail.com> Copyright (c) 2011 - 2018 César Andrés Morgan Morgan's CLR Advanced Runtime (MCART) is free software: you can redistribute it and/or modify it under the terms of the GNU Gener...
mit
C#
2cea1291c5f3ce8452e9092eea436f46793dc373
Add Logger Name as a prefix on Log (optional)
eugeniusfox/vgprompter
VGPrompter/Logger.cs
VGPrompter/Logger.cs
using System; namespace VGPrompter { [Serializable] public class Logger { const string DEFAULT_NAME = "Logger", NULL = "Null"; public bool Enabled { get; set; } public string Name { get; private set; } Action<object> _logger; public Logger(bo...
using System; namespace VGPrompter { [Serializable] public class Logger { public bool Enabled { get; set; } public string Name { get; private set; } Action<object> _logger; public Logger(bool enabled = true) : this("Default", enabled: enabled) { } public Logger(stri...
mit
C#
89db866601c1cf5566bae0478249d5520a7afbb0
introduce _abc
miraimann/Knuth-Morris-Pratt
KnuthMorrisPratt/KnuthMorrisPratt/Finder.cs
KnuthMorrisPratt/KnuthMorrisPratt/Finder.cs
using System; using System.Collections.Generic; using System.Linq; namespace KnuthMorrisPratt { internal class Finder<T> : IFinder<T> { private readonly T[] _pattern; private readonly int[,] _dfa; private readonly Dictionary<T, int> _abc; public Finder(IEnumerable<T> word) ...
using System; using System.Collections.Generic; using System.Linq; namespace KnuthMorrisPratt { internal class Finder<T> : IFinder<T> { private readonly T[] _pattern; private readonly int[,] _dfa; public Finder(IEnumerable<T> word) { _pattern = word as T[] ?? word....
mit
C#
ccc55dc800afe83051a087595145781cccbf9d3e
Add DisposeChildren to IConductor, since it's really part of that...
cH40z-Lord/Stylet,canton7/Stylet,cH40z-Lord/Stylet,canton7/Stylet
Stylet/IConductor.cs
Stylet/IConductor.cs
using System; using System.Collections.Generic; namespace Stylet { /// <summary> /// Generalised parent, with many children /// </summary> /// <typeparam name="T">Type of children</typeparam> public interface IParent<out T> { /// <summary> /// Fetch all children of this parent ...
using System; using System.Collections.Generic; namespace Stylet { /// <summary> /// Generalised parent, with many children /// </summary> /// <typeparam name="T">Type of children</typeparam> public interface IParent<out T> { /// <summary> /// Fetch all children of this parent ...
mit
C#
69e41efb95d564daf484e31fabd3b24f3d93ae1a
Throw Locked in Collection
signumsoftware/framework,signumsoftware/framework,avifatal/framework,AlejandroCano/framework,avifatal/framework,AlejandroCano/framework
Signum.Entities/Patterns/LockeableEntity.cs
Signum.Entities/Patterns/LockeableEntity.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Linq.Expressions; using System.ComponentModel; using Signum.Utilities; using Signum.Utilities.Reflection; namespace Signum.Entities.Patterns { [Serializable] public abstract class LockableEntity : En...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Linq.Expressions; using System.ComponentModel; using Signum.Utilities; namespace Signum.Entities.Patterns { [Serializable] public abstract class LockableEntity : Entity { bool locked; ...
mit
C#
bb13db8697ef574d6624f8784a320e4d14c47e6b
Update version number
awslabs/elasticache-cluster-config-net
Amazon.ElastiCacheCluster/Properties/AssemblyInfo.cs
Amazon.ElastiCacheCluster/Properties/AssemblyInfo.cs
/******************************************************************************* * Copyright 2008-2013 Amazon.com, Inc. or its affiliates. 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 Licen...
/******************************************************************************* * Copyright 2008-2013 Amazon.com, Inc. or its affiliates. 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 Licen...
apache-2.0
C#
1764f36659a39824321e02d23cbe1a82407b0c01
Fix FER+ and add debug lines
tobyclh/UnityCNTK,tobyclh/UnityCNTK
Assets/UnityCNTK/Scripts/Models/FERPlusModel.cs
Assets/UnityCNTK/Scripts/Models/FERPlusModel.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityCNTK; using CNTK; using System; using UnityEngine.Assertions; using System.Linq; namespace UnityCNTK { public class FERPlusModel : Model<Texture2D, int>, IStreamModel { [Tooltip("Evaluation carry out...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityCNTK; using CNTK; using System; using UnityEngine.Assertions; namespace UnityCNTK { public class FERPlusModel : Model<Texture2D, int>, IStreamModel { [Tooltip("Evaluation carry out in every specific...
mit
C#
4ee99a3fe2802f7263bc787c212ecf2b89d3002b
Package rename and add support for Media
wbsimms/WordPressRestApi
WordPressRestApi/Properties/AssemblyInfo.cs
WordPressRestApi/Properties/AssemblyInfo.cs
using System.Resources; 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...
using System.Resources; 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...
apache-2.0
C#
c3a002ae38651af69b7df76c47d5d81947b6a919
Edit details page for the news
Kidoo96/MediaNews,Kidoo96/MediaNews,Kidoo96/MediaNews
MediaNews/MediaNews.Index/Views/Posts/Details.cshtml
MediaNews/MediaNews.Index/Views/Posts/Details.cshtml
@model MediaNews.Entities.Models.Posts @{ ViewBag.Title = Model.Title; } <section class="post-content-section"> <div class="container"> <div class="row"> <div class="header"> @*@{ var base64 = Convert.ToBase64String(Model.imagePath); var img...
@model MediaNews.Entities.Models.Posts @{ ViewBag.Title = Model.Title; } <section class="post-content-section"> <div class="container"> <div class="row"> <div class="header"> @*@{ var base64 = Convert.ToBase64String(Model.imagePath); var img...
mit
C#
148b74d67f74b591f12c3bd9a064f8b6d37a4e4e
Make Flickr whoami method async
libertyernie/WeasylSync
ArtSourceWrapper/Flickr.cs
ArtSourceWrapper/Flickr.cs
using FlickrNet; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArtSourceWrapper { public class FlickrWrapper : SiteWrapper<FlickrSubmissionWrapper, uint> { private Flickr _flickr; public FlickrWr...
using FlickrNet; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArtSourceWrapper { public class FlickrWrapper : SiteWrapper<FlickrSubmissionWrapper, uint> { private Flickr _flickr; public FlickrWr...
mit
C#
1b27c2c6309420c6343eebe89dd17dabb70ea283
update comment (empty `recurrence-rule-expr` doesn't work yet)
IlyaKhD/DevExtreme.AspNet.TagHelpers,DevExpress/DevExtreme.AspNet.TagHelpers
Samples/Controllers/GoogleCalendarController.cs
Samples/Controllers/GoogleCalendarController.cs
using DevExtreme.AspNet.Data; using Microsoft.AspNet.Mvc; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace Samples.Controllers { public class GoogleCalendarController { public async Task<IActionR...
using DevExtreme.AspNet.Data; using Microsoft.AspNet.Mvc; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace Samples.Controllers { public class GoogleCalendarController { public async Task<IActionR...
mit
C#
230c7e1f1099ead2023275de6401312e5123a512
Fix tabs
WojcikMike/docs.particular.net
Snippets/Snippets_4/Persistence/Custom/Usage.cs
Snippets/Snippets_4/Persistence/Custom/Usage.cs
namespace Snippets4.Persistence.Custom { using NServiceBus; class Usage { public Usage() { #region PersistTimeoutsInterfaces public interface IPersistTimeouts { /// <summary> /// Retrieves the next range of timeouts that are due. /// </summary> /// <param n...
namespace Snippets4.Persistence.Custom { using NServiceBus; class Usage { public Usage() { #region PersistTimeoutsInterfaces public interface IPersistTimeouts { /// <summary> /// Retrieves the next range of timeouts that are due. /// </summary> /...
apache-2.0
C#
8cb2b512376e63c21e352b7326c98b8c1af37c66
Increment Intrinio time between calls to 1 minute
StefanoRaggi/Lean,JKarathiya/Lean,AlexCatarino/Lean,jameschch/Lean,Jay-Jay-D/LeanSTP,kaffeebrauer/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,kaffeebrauer/Lean,jameschch/Lean,jameschch/Lean,JKarathiya/Lean,QuantConnect/Lean,kaffeebrauer/Lean,jameschch/Lean,JKarathiya/Lean,Jay-Jay-D/LeanSTP,kaffeebrauer/L...
Common/Data/Custom/Intrinio/IntrinioConfig.cs
Common/Data/Custom/Intrinio/IntrinioConfig.cs
using System; using QuantConnect.Parameters; using QuantConnect.Util; namespace QuantConnect.Data.Custom.Intrinio { /// <summary> /// Auxiliary class to access all Intrinio API data. /// </summary> public static class IntrinioConfig { /// <summary> /// </summary> public...
using System; using QuantConnect.Parameters; using QuantConnect.Util; namespace QuantConnect.Data.Custom.Intrinio { /// <summary> /// Auxiliary class to access all Intrinio API data. /// </summary> public static class IntrinioConfig { /// <summary> /// </summary> public...
apache-2.0
C#
cc3fafe174ea4344e83e31b6403276830192a4f6
Update UserViewModel.cs
xcjs/ASP.NET-WebForm-MVVM-Demo
MVVMDemo/ViewModels/Account/UserViewModel.cs
MVVMDemo/ViewModels/Account/UserViewModel.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Web; using MVVMDemo.Entities; using MVVMDemo.ViewModels; namespace MVVMDemo.ViewModels.Account { public class UserViewModel : ViewModelBase<UserViewModel> { private User _user; public User Us...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Web; using MVVMDemo.Entities; using MVVMDemo.ViewModels; namespace MVVMDemo.ViewModels.Account { public class UserViewModel : ViewModelBase<UserViewModel> { private User _user; public User Us...
mit
C#
482aca7da07e7c00281d1a507fbdaa861436371f
Check pattern validity
Diego999/Game-Of-Life
Game-Of-Life/Patterns.cs
Game-Of-Life/Patterns.cs
using System; using System.Collections.Generic; using System.IO; namespace Game_Of_Life { /// <summary> /// Static class which holds all the patterns find in the folder "patterns" /// </summary> class Patterns { public static readonly Dictionary<string, PatternRepresentation> PATTERNS; // ...
using System; using System.Collections.Generic; using System.IO; namespace Game_Of_Life { /// <summary> /// Static class which holds all the patterns find in the folder "patterns" /// </summary> class Patterns { public static readonly Dictionary<string, PatternRepresentation> PATTERNS; // ...
mit
C#
23e942b6323998791bf158393984a97761b59173
Bump Android nuget version
SotoiGhost/FacebookComponents,SotoiGhost/FacebookComponents
Facebook.Android/build.cake
Facebook.Android/build.cake
#load "../common.cake" var NUGET_VERSION = "4.11.0.1"; var FB_VERSION = "4.11.0"; var FB_URL = string.Format ("http://search.maven.org/remotecontent?filepath=com/facebook/android/facebook-android-sdk/{0}/facebook-android-sdk-{0}.aar", FB_VERSION); var FB_DOCS_URL = string.Format ("http://search.maven.org/remoteconte...
#load "../common.cake" var NUGET_VERSION = "4.11.0"; var FB_VERSION = "4.11.0"; var FB_URL = string.Format ("http://search.maven.org/remotecontent?filepath=com/facebook/android/facebook-android-sdk/{0}/facebook-android-sdk-{0}.aar", FB_VERSION); var FB_DOCS_URL = string.Format ("http://search.maven.org/remotecontent...
mit
C#
2756269bd849141124900c6d016d5cf20d76b22c
Fix already existing title.
m5219/POGOLib,AeonLucid/POGOLib
POGOLib/Properties/AssemblyInfo.cs
POGOLib/Properties/AssemblyInfo.cs
using System.Reflection; 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("POGOLib.Official")] [assembly: AssemblyD...
using System.Reflection; 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("POGOLib")] [assembly: AssemblyDescriptio...
mit
C#
0cf6defb0589c000158600f949f263fa67fc8e16
enhance cacheme with invoker
oelite/RESTme
OElite.Restme/Cacheme.cs
OElite.Restme/Cacheme.cs
using System; using System.Threading.Tasks; namespace OElite; /// <summary> /// Caching Utils for Restme /// </summary> public static class RestmeCacheExtensions { /// <summary> /// default expiry in seconds for cached item /// </summary> public const int defaultCacheExpiryInSeconds = 60; /// <su...
using System; using System.Threading.Tasks; namespace OElite; /// <summary> /// Caching Utils for Restme /// </summary> public static class RestmeCacheExtensions { /// <summary> /// default expiry in seconds for cached item /// </summary> public const int defaultCacheExpiryInSeconds = 60; /// <su...
mit
C#
6fcd5b195bd07c05ddb19cfd5689f7cdba5525eb
Add missing attributes to paymentSource
conekta/conekta-.net
src/conekta/conekta/Models/PaymentSource.cs
src/conekta/conekta/Models/PaymentSource.cs
using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace conekta { public class PaymentSource : Resource { public string id { get; set; } public string type { get; set; } /* In case card token */ public string token_id { get; set; } /* In case card object*/ p...
using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace conekta { public class PaymentSource : Resource { public string id { get; set; } public string type { get; set; } /* In case card token */ public string token_id { get; set; } /* In case card object*/ p...
mit
C#
f769f9ea1c43cd4545b81e9d1079b359de289f4b
Update LibraryExporterExtensions.cs
naamunds/cli,Faizan2304/cli,blackdwarf/cli,MichaelSimons/cli,mlorbetske/cli,Faizan2304/cli,weshaggard/cli,mlorbetske/cli,weshaggard/cli,livarcocc/cli-1,johnbeisner/cli,nguerrera/cli,AbhitejJohn/cli,svick/cli,EdwardBlair/cli,harshjain2/cli,dasMulli/cli,johnbeisner/cli,AbhitejJohn/cli,jonsequitur/cli,weshaggard/cli,black...
src/Microsoft.DotNet.Compiler.Common/LibraryExporterExtensions.cs
src/Microsoft.DotNet.Compiler.Common/LibraryExporterExtensions.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.DotNet.ProjectModel.Compilation; using Micros...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.DotNet.ProjectModel.Compilation; using Microsoft.DotNet.Pr...
mit
C#
cde4a38dadc9c31c079b9e807e84f3f76dc4c450
Fix null reference exception in MediaField.cshtml (#3228)
stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchar...
src/OrchardCore.Modules/OrchardCore.Media/Views/MediaField.cshtml
src/OrchardCore.Modules/OrchardCore.Media/Views/MediaField.cshtml
@model OrchardCore.Media.ViewModels.DisplayMediaFieldViewModel @using OrchardCore.ContentManagement.Metadata.Models <div> @Model.PartFieldDefinition.DisplayName(): @String.Join(", ", Model.Field.Paths ?? Array.Empty<string>()) </div>
@model OrchardCore.Media.ViewModels.DisplayMediaFieldViewModel @using OrchardCore.ContentManagement.Metadata.Models <div> @Model.PartFieldDefinition.DisplayName(): @String.Join(", ", Model.Field.Paths) </div>
bsd-3-clause
C#
49862aaad1bc84f45cf5efc29ee13b84ed5560a2
Remove dead code.
ProjectExtensions/ProjectExtensions.Azure.ServiceBus
src/Tests/ProjectExtensions.Azure.ServiceBus.Tests.Unit/Config.cs
src/Tests/ProjectExtensions.Azure.ServiceBus.Tests.Unit/Config.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using ProjectExtensions.Azure.ServiceBus.Autofac.Container; using Autofac; using ProjectExtensions.Azure.ServiceBus.Interfaces; using ProjectExtensions.Azure.ServiceBus.Tests.Unit.Mocks; using ProjectExtensions...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using ProjectExtensions.Azure.ServiceBus.Autofac.Container; using Autofac; using ProjectExtensions.Azure.ServiceBus.Interfaces; using ProjectExtensions.Azure.ServiceBus.Tests.Unit.Mocks; using ProjectExtensions...
bsd-3-clause
C#
7f189080b91a0d8d7a082b28b023eb939c86b023
Move fail override back to abstract implementation
ppy/osu,UselessToucan/osu,EVAST9919/osu,naoey/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,naoey/osu,ZLima12/osu,smoogipooo/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,Nabile-Rahmani/osu,peppy/osu-new,peppy/osu,DrabWeb/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,DrabWeb/osu,2yangk23/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,pep...
osu.Game/Rulesets/Mods/ModAutoplay.cs
osu.Game/Rulesets/Mods/ModAutoplay.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Game.Beatmaps; using osu.Game.Graphics; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Replays; using osu.Game.Rulesets.Scoring...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Game.Beatmaps; using osu.Game.Graphics; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Replays; using osu.Game.Rulesets.Scoring...
mit
C#
14b189ae67e5898bafeb7aada362592c31f68f49
Refactor a code
kawatan/Milk
Megalopolis/Extensions.cs
Megalopolis/Extensions.cs
using System; using System.Collections.Generic; using System.Linq; namespace Megalopolis { public static class Extensions { public static int Binomial(this Random random, int n, double p) { int count = 0; for (int i = 0; i < n; i++) { if (ra...
using System; using System.Collections.Generic; using System.Linq; namespace Megalopolis { public static class Extensions { public static int Binomial(this Random random, int n, double p) { int count = 0; for (int i = 0; i < n; i++) { if (ra...
apache-2.0
C#
135df8c9cdb8287a2ca408492ca7306a9db1e1a2
Handle MapVidyanoWeb2Route for HttpRouteCollection as well
2sky/Vidyano,jmptrader/Vidyano,jmptrader/Vidyano,2sky/Vidyano,2sky/Vidyano,2sky/Vidyano,2sky/Vidyano,jmptrader/Vidyano
dist/Vidyano.Web2/Web2ControllerFactory.cs
dist/Vidyano.Web2/Web2ControllerFactory.cs
using System.Web.Http; using System.Web.Routing; namespace Vidyano.Web2 { public static class Web2ControllerFactory { public static void MapVidyanoWeb2Route(this RouteCollection routes, string routeTemplate = "web2/") { routes.MapHttpRoute("VidyanoWeb2 Vulcanize", routeTemplate + "...
using System.Web.Http; using System.Web.Routing; namespace Vidyano.Web2 { public static class Web2ControllerFactory { public static void MapVidyanoWeb2Route(this RouteCollection routes, string routeTemplate = "web2/") { routes.MapHttpRoute("VidyanoWeb2 Vulcanize", routeTemplate + "...
mit
C#
ac1511d79c56c410c905303cf7f13b94faaa6718
Remove "Last" LINQ method call in Load decimal method.
eXavera/NDbfReader
NDbfReader/DecimalColumn.cs
NDbfReader/DecimalColumn.cs
using System; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text; namespace NDbfReader { /// <summary> /// Represents a <see cref="decimal"/> column. /// </summary> [DebuggerDisplay("Decimal {Name}")] public class DecimalColumn : Column<decimal?> { ...
using System; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text; namespace NDbfReader { /// <summary> /// Represents a <see cref="decimal"/> column. /// </summary> [DebuggerDisplay("Decimal {Name}")] public class DecimalColumn : Column<decimal?> { ...
mit
C#
594771c3e00e362c10b43ac9b118260e78142cda
remove use of USE_GENERICS in PatriciaTree.cs
kjk/volante-obsolete,ingted/volante,kjk/volante-obsolete,ingted/volante,kjk/volante-obsolete,kjk/volante-obsolete,ingted/volante,ingted/volante
csharp/src/PatriciaTrie.cs
csharp/src/PatriciaTrie.cs
using System; using System.Collections; using System.Collections.Generic; namespace NachoDB { /// <summary> /// PATRICIA trie (Practical Algorithm To Retrieve Information Coded In Alphanumeric). /// Tries are a kind of tree where each node holds a common part of one or more keys. /// PATRICI...
using System; #if USE_GENERICS using System.Collections.Generic; #else using System.Collections; #endif namespace NachoDB { /// <summary> /// PATRICIA trie (Practical Algorithm To Retrieve Information Coded In Alphanumeric). /// Tries are a kind of tree where each node holds a common part of on...
mit
C#
3358ab9f8abde79becfd4bca2a56361170aef2e1
Adjust diffcalc test expected value
2yangk23/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,2yangk23/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.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 NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Tests.Beatmaps; namespace osu....
// 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 NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Tests.Beatmaps; namespace osu....
mit
C#
c96d4ef845f878a6ac1514f935197fd0552e41ce
Change to Bootstrap buttons for Room.Index view
johanhelsing/vaskelista,johanhelsing/vaskelista
Vaskelista/Views/Room/Index.cshtml
Vaskelista/Views/Room/Index.cshtml
@model IEnumerable<Vaskelista.Models.Room> @{ ViewBag.Title = "Index"; } <h2>Romoversikt</h2> <p> <a href="@Url.Action("Index", "Task")" class="btn btn-default"><i class="fa fa-list"></i> Planlagte oppgaver</a> <a href="@Url.Action("Create")" class="btn btn-default"><i class="fa fa-plus"></i> Nytt rom</...
@model IEnumerable<Vaskelista.Models.Room> @{ ViewBag.Title = "Index"; } <h2>Romoversikt</h2> <p> @Html.ActionLink("Legg til nytt rom", "Create") @Html.ActionLink("Planlagte oppgaver", "Index", "Task") </p> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.Name) ...
mit
C#
9b6da9705ffe001a0905a611ceb02a3a2531d09d
Add ISerializable implementation for NoWatchFindException
mplessis/kUtils
Kopigi.Utils/Class/NoWatchFindException.cs
Kopigi.Utils/Class/NoWatchFindException.cs
using System; using System.Runtime.Serialization; namespace Kopigi.Utils.Class { [Serializable] public class NoWatchFindException : Exception { /// <summary> /// Constructeur de l'exception /// </summary> /// <param name="label">Label de surveillance demandé</param> ...
using System; namespace Kopigi.Utils.Class { public class NoWatchFindException : Exception { /// <summary> /// Constructeur de l'exception /// </summary> /// <param name="label">Label de surveillance demandé</param> public NoWatchFindException(string label) ...
mit
C#
e45df1918d1f92ff0b6bcaceac97c1d517d7b6b6
implement IExchangeRatesProvider.GetExchangeRatesHistory in cache
180254/KursyWalut
KursyWalut/Provider/ExchangeRatesCacher.cs
KursyWalut/Provider/ExchangeRatesCacher.cs
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace KursyWalut.Provider { internal class ExchangeRatesCacher : IExchangeRatesProvider { private readonly Semaphore _lock = new Semaphore(1, 1); private readonly IExchangeRatesProvider _e...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace KursyWalut.Provider { internal class ExchangeRatesCacher : IExchangeRatesProvider { private readonly Semaphore _lock = new Semaphore(1, 1); private readonly IExchangeRatesProvider _e...
mit
C#
84a3d9ca1f609d50b53f7878fbe327399ee21d92
Use theme default CornerRadius.
SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia
samples/ControlCatalog/ViewModels/ExpanderPageViewModel.cs
samples/ControlCatalog/ViewModels/ExpanderPageViewModel.cs
using Avalonia; using MiniMvvm; namespace ControlCatalog.ViewModels { public class ExpanderPageViewModel : ViewModelBase { private object _cornerRadius = AvaloniaProperty.UnsetValue; private bool _rounded; public object CornerRadius { get => _cornerRadius; ...
using Avalonia; using MiniMvvm; namespace ControlCatalog.ViewModels { public class ExpanderPageViewModel : ViewModelBase { private CornerRadius _cornerRadius; private bool _rounded; public CornerRadius CornerRadius { get => _cornerRadius; private set =>...
mit
C#
fed48eec9324cd5b542f3f21e580b719eff147be
fix review finding
os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos
Core.ApplicationServices/ItInterfaceService.cs
Core.ApplicationServices/ItInterfaceService.cs
using Core.DomainModel.ItSystem; using Core.DomainServices; using System.Linq; namespace Core.ApplicationServices { public class ItInterfaceService : IItInterfaceService { private readonly IGenericRepository<DataRow> _dataRowRepository; private readonly IGenericRepository<ItInterface> _reposit...
using Core.DomainModel.ItSystem; using Core.DomainServices; using System.Linq; namespace Core.ApplicationServices { public class ItInterfaceService : IItInterfaceService { private readonly IGenericRepository<DataRow> _dataRowRepository; private readonly IGenericRepository<ItInterface> _reposit...
mpl-2.0
C#
3fee889036a322d67dec019e533e893cbf06d752
Remove redundant getters and setters
goshippo/shippo-csharp-client
Shippo/Track.cs
Shippo/Track.cs
using System; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class Track : ShippoId { [JsonProperty (PropertyName = "carrier")] private string Carrier; [JsonProperty (PropertyName...
using System; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; namespace Shippo { [JsonObject (MemberSerialization.OptIn)] public class Track : ShippoId { [JsonProperty (PropertyName = "carrier")] public string Carrier { get; set; } [JsonProperty (Prop...
apache-2.0
C#
dd6eb541ca37c65a8be16ba01adf3ab7e2cdcbe4
Remove -beta from the InformationalVersion
GibraltarSoftware/Gibraltar.Agent.Web.Mvc
Src/Agent.Web.Mvc/Properties/AssemblyInfo.cs
Src/Agent.Web.Mvc/Properties/AssemblyInfo.cs
#region File Header and License // /* // AssemblyInfo.cs // Copyright 2013 Gibraltar Software, Inc. // // 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:...
#region File Header and License // /* // AssemblyInfo.cs // Copyright 2013 Gibraltar Software, Inc. // // 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:...
apache-2.0
C#
d71b25589e6e404036a4522762b98847dac17c81
Add comments to physical props
OctoAwesome/octoawesome,OctoAwesome/octoawesome
OctoAwesome/OctoAwesome/PhysicalProperties.cs
OctoAwesome/OctoAwesome/PhysicalProperties.cs
namespace OctoAwesome { /// <summary> /// Repräsentiert die physikalischen Eigenschaften eines Blocks/Items/... /// </summary> public class PhysicalProperties { /// <summary> /// Härte, welche Materialien können abgebaut werden /// </summary> public float Hardness { ...
namespace OctoAwesome { /// <summary> /// Repräsentiert die physikalischen Eigenschaften eines Blocks/Items/... /// </summary> public class PhysicalProperties { /// <summary> /// Härte /// </summary> public float Hardness { get; set; } /// <summary> ...
mit
C#
9b2c0eb6d00115db850b81c3bf8dfbe58eb3c15e
add property for configurable smtp timeout
brockallen/BrockAllen.MembershipReboot,DosGuru/MembershipReboot,vankooch/BrockAllen.MembershipReboot,rajendra1809/BrockAllen.MembershipReboot,rvdkooy/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot,tomascassidy/BrockAllen.MembershipReboot
src/BrockAllen.MembershipReboot/Notification/Email/SmtpMessageDelivery.cs
src/BrockAllen.MembershipReboot/Notification/Email/SmtpMessageDelivery.cs
/* * Copyright (c) Brock Allen. All rights reserved. * see license.txt */ using System; using System.Configuration; using System.Net.Configuration; using System.Net.Mail; namespace BrockAllen.MembershipReboot { public class SmtpMessageDelivery : IMessageDelivery { public bool SendAsHtml { get; se...
/* * Copyright (c) Brock Allen. All rights reserved. * see license.txt */ using System; using System.Configuration; using System.Net.Configuration; using System.Net.Mail; namespace BrockAllen.MembershipReboot { public class SmtpMessageDelivery : IMessageDelivery { private readonly bool sendAsHtml...
bsd-3-clause
C#
e5863da40fe1da74d97399e68be56dadc2f6a667
Make CsvBackend google compatible
joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net
JoinRpg.Services.Export/BackEnds/CsvBackend.cs
JoinRpg.Services.Export/BackEnds/CsvBackend.cs
using System.Collections.Generic; using System.Linq; using System.Text; using JoinRpg.Services.Export.Internal; namespace JoinRpg.Services.Export.BackEnds { internal class CsvBackend : IGeneratorBackend { private StringBuilder Builder { get; }= new StringBuilder(); public string ContentType => "text/csv";...
using System.Collections.Generic; using System.Linq; using System.Text; using JoinRpg.Services.Export.Internal; namespace JoinRpg.Services.Export.BackEnds { internal class CsvBackend : IGeneratorBackend { private StringBuilder Builder { get; }= new StringBuilder(); public string ContentType => "text/csv";...
mit
C#
582ff0d10c65c4855695e2cbe4af7cba7fcef269
Remove JsonProperty's on RepositoryInfo to avoid breaking change
projectkudu/kudu,kali786516/kudu,sitereactor/kudu,duncansmart/kudu,mauricionr/kudu,uQr/kudu,mauricionr/kudu,uQr/kudu,EricSten-MSFT/kudu,YOTOV-LIMITED/kudu,juoni/kudu,shibayan/kudu,bbauya/kudu,puneet-gupta/kudu,projectkudu/kudu,kenegozi/kudu,dev-enthusiast/kudu,juvchan/kudu,shrimpy/kudu,shrimpy/kudu,puneet-gupta/kudu,Ma...
Kudu.Contracts/SourceControl/RepositoryInfo.cs
Kudu.Contracts/SourceControl/RepositoryInfo.cs
using System; using Newtonsoft.Json; namespace Kudu.Core.SourceControl { public class RepositoryInfo { // Omitting the JsonProperty's to avoid a breaking change. We previously had [DataMember] attribs // but they were not working because there was no [DataContract] on the class //[Json...
using System; using Newtonsoft.Json; namespace Kudu.Core.SourceControl { public class RepositoryInfo { [JsonProperty(PropertyName = "repository_type")] public RepositoryType Type { get; set; } [JsonProperty(PropertyName = "git_url")] public Uri GitUrl { get; set; } } }
apache-2.0
C#
b69ee8c0db123d00f351a13572987b76228b1edc
add logging
farihan/NorthwindAngular4,farihan/NorthwindAngular4,farihan/NorthwindAngular4,farihan/NorthwindAngular4
NorthwindAngular4/NorthwindAngular4/Startup.cs
NorthwindAngular4/NorthwindAngular4/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.SpaServices.Webpack; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Northwi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.SpaServices.Webpack; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Northwi...
mit
C#
577d80ffc4b52919e4062690efe78e4cd1f346b6
Fix control property visibility
roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon
R7.Epsilon/Skins/Controls/JsVariables.ascx.cs
R7.Epsilon/Skins/Controls/JsVariables.ascx.cs
// // JsVariables.ascx.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 without ...
// // JsVariables.ascx.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 without ...
agpl-3.0
C#
f85f792874ab43f9b82261896c48d488c914b777
Update docs
JudahGabriel/RavenDB.Identity
RavenDB.Identity/IdentityBuilderExtensions.cs
RavenDB.Identity/IdentityBuilderExtensions.cs
using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.DependencyInjection; using Raven.Client; using Raven.Client.Documents; using Raven.Client.Documents.Session; using System; namespace Raven.Identity { /// <summary> /// Extends <see cref="IdentityBuilder"/> so that RavenDB services can be registered thr...
using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.DependencyInjection; using Raven.Client; using Raven.Client.Documents; using Raven.Client.Documents.Session; using System; namespace Raven.Identity { /// <summary> /// Extends <see cref="IdentityBuilder"/> so that RavenDB services can be registered thr...
mit
C#
650ad9414a5a9f5bcfc3cc2f456fedef69115926
Fix beer
RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast
RightpointLabs.Pourcast.Domain/Models/Beer.cs
RightpointLabs.Pourcast.Domain/Models/Beer.cs
namespace RightpointLabs.Pourcast.Domain.Models { using RightpointLabs.Pourcast.Domain.Events; public class Beer : Entity { private Beer() { } public Beer(string id, string name) : base(id) { Name = name; DomainEvents.Raise(new Beer...
namespace RightpointLabs.Pourcast.Domain.Models { using RightpointLabs.Pourcast.Domain.Events; public class Beer : Entity { private Beer() { } public Beer(string id, string name) : base(id) { Name = name; DomainEvents.Raise(new Beer...
mit
C#
44611b8f3bfbdadc08a25616811bd7032c9d168d
Fix Instructions
redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/...
Windows/Payloads/AppCompatShims/AtomicTest.cs
Windows/Payloads/AppCompatShims/AtomicTest.cs
using System; /* mkdir C:\Tools copy AtomicTest.Dll C:\Tools\AtomicTest.dll C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /platform:x86 AtomicTest.cs From Elevated Prompt sdbinst.exe AtomicShimx86.sdb AtomicTest.exe sdbinst -u AtomicShimx86.sdb */ public class AtomicTest { public static...
using System; // C:\Users\subTee\Downloads\Shims>c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /platform:x86 AtomicTest.cs // From Elevated Prompt // sdbinst.exe AtomicShim.sdb public class AtomicTest { public static void Main() { Console.WriteLine("Boom!"); } public static bool Thing()...
mit
C#
1a165eff27e33295750f1d365dcfc1189c5e03d9
Update "Shelf"
DRFP/Personal-Library
_Build/PersonalLibrary/Library/Model/Shelf.cs
_Build/PersonalLibrary/Library/Model/Shelf.cs
using SQLite; namespace Library.Model { [Table("Shelves")] public class Shelf { [PrimaryKey, AutoIncrement] public int slfID { get; set; } public string slfName { get; set; } } }
using SQLite; namespace Library.Model { [Table("Shelves")] public class Shelf { [PrimaryKey, AutoIncrement] public int slfID { get; set; } public string slfName { get; set; } public string slfDescription { get; set; } } }
mit
C#
06650dea0cc679b748989b0e3d30bac2b733fee3
Support other company main currencies than euro #23
aukolov/Spinvoice
src/QuickBooks/Spinvoice.QuickBooks/ExchangeRate/ExternalExchangeRatesRepository.cs
src/QuickBooks/Spinvoice.QuickBooks/ExchangeRate/ExternalExchangeRatesRepository.cs
using System; using NLog; using Spinvoice.Domain.Exchange; using Spinvoice.QuickBooks.Connection; namespace Spinvoice.QuickBooks.ExchangeRate { public class ExternalExchangeRatesRepository : IExchangeRatesRepository { private readonly Logger _logger = LogManager.GetCurrentClassLogger(); priva...
using System; using NLog; using Spinvoice.Domain.Exchange; using Spinvoice.QuickBooks.Connection; namespace Spinvoice.QuickBooks.ExchangeRate { public class ExternalExchangeRatesRepository : IExchangeRatesRepository { private readonly Logger _logger = LogManager.GetCurrentClassLogger(); priva...
unlicense
C#
b965a31c6395646ac80cb34db3da49464a28c7de
Update version
gahcep/App.Refoveo
App.Refoveo/Properties/GlobalAssemblyInfo.cs
App.Refoveo/Properties/GlobalAssemblyInfo.cs
using System.Reflection; /* General Product Information */ [assembly: AssemblyProduct("App.Refoveo")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyTrademark("")] /* Configuration Type */ #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: Asse...
using System.Reflection; /* General Product Information */ [assembly: AssemblyProduct("App.Refoveo")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyTrademark("")] /* Configuration Type */ #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: Asse...
mit
C#
ea46ca84f22498b54fd8486f957cf8a1a1b9f0e0
Remove spaces
DaveSenn/Extend
PortableExtensions/Properties/AssemblyInfo.cs
PortableExtensions/Properties/AssemblyInfo.cs
#region Usings using System.Reflection; using System.Resources; #endregion [assembly: AssemblyTitle("PortableExtensions")] [assembly: AssemblyDescription( "PortableExtensions is a set of .Net extension methods build as portable class library. " + "PortableExtensions enhance the .Net framework by...
#region Usings using System.Reflection; using System.Resources; #endregion [assembly: AssemblyTitle( "PortableExtensions" )] [assembly: AssemblyDescription( "PortableExtensions is a set of .Net extension methods build as portable class library. " + "PortableExtensions enhance the .Net framework ...
mit
C#
9e44d936b56d9f13a5aa65595d0e7cb46f10b287
Update AssemblyInfo.cs
remember664/Sitecore.RestSharp,remember664/Sitecore.RestSharp
Sitecore.RestSharp/Properties/AssemblyInfo.cs
Sitecore.RestSharp/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("Sit...
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("Si...
apache-2.0
C#
6f5ec1ddda490c8ad80c2c8b1e9f93271d0c306a
fix QueryController
AlejandroCano/framework,avifatal/framework,signumsoftware/framework,AlejandroCano/framework,avifatal/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...
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#
23bba00d9a710d3891153bb8a8baff700a29fae0
Add `EdgeList`
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework/OpenGl/IRenderable.cs
SolidworksAddinFramework/OpenGl/IRenderable.cs
using System; using System.Collections.Generic; using System.DoubleNumerics; using System.Drawing; using System.Linq; using LanguageExt; using SolidWorks.Interop.sldworks; using OpenTK.Graphics.OpenGL; using SolidworksAddinFramework.Geometry; namespace SolidworksAddinFramework.OpenGl { public interface IRenderable...
using System; using System.Collections.Generic; using System.DoubleNumerics; using LanguageExt; using SolidWorks.Interop.sldworks; using OpenTK.Graphics.OpenGL; using SolidworksAddinFramework.Geometry; namespace SolidworksAddinFramework.OpenGl { public interface IRenderable { void Render(DateTime time)...
mit
C#
0133e07ff3b25ad48d411e78a38e23439bf38084
Add unit test for Quaternion.Chain
virtuallynaked/virtually-naked,virtuallynaked/virtually-naked
UnitTests/src/math/QuaternionExtensionsTest.cs
UnitTests/src/math/QuaternionExtensionsTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using SharpDX; [TestClass] public class QuaternionExtensionsTest { [TestMethod] public void TestDecomposeIntoSwingThenTwistAlongX() { Quaternion q = Quaternion.RotationYawPitchRoll(0.1f, 0.2f, 0.3f); q.DecomposeIntoTwistThenSwing(Vector3.UnitX, out Quaternion ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using SharpDX; [TestClass] public class QuaternionExtensionsTest { [TestMethod] public void TestDecomposeIntoSwingThenTwistAlongX() { Quaternion q = Quaternion.RotationYawPitchRoll(0.1f, 0.2f, 0.3f); q.DecomposeIntoTwistThenSwing(Vector3.UnitX, out Quaternion ...
mit
C#
f20e3ff31d8feb9984256416819f07a8312c57df
Fix ApproachRate setting only DEFAULT_DIFFICULTY
DrabWeb/osu,UselessToucan/osu,2yangk23/osu,johnneijzen/osu,Frontear/osuKyzer,peppy/osu,ppy/osu,Nabile-Rahmani/osu,peppy/osu-new,johnneijzen/osu,UselessToucan/osu,2yangk23/osu,DrabWeb/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,NeoAdonis/osu,DrabWeb/...
osu.Game/Beatmaps/BeatmapDifficulty.cs
osu.Game/Beatmaps/BeatmapDifficulty.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel.DataAnnotations.Schema; using Newtonsoft.Json; namespace osu.Game.Beatmaps { public class BeatmapDifficulty { ///...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel.DataAnnotations.Schema; using Newtonsoft.Json; namespace osu.Game.Beatmaps { public class BeatmapDifficulty { ///...
mit
C#
9062fe1935b114fd214b5d84f9319fbdb7cd2053
Fix crashes on custom skins due to extension-less file lookups
UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,johnneijzen/osu
osu.Game/Skinning/LegacySkinResourceStore.cs
osu.Game/Skinning/LegacySkinResourceStore.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using osu.Framework.IO.Stores; using osu.Game.Database; ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using osu.Framework.IO.Stores; using osu.Game.Database; ...
mit
C#
c3ec3a66b339f1a6289922586a8cd3cdff7ab9d6
Fix random generate data in url no spaces (#676)
StefH/WireMock.Net,WireMock-Net/WireMock.Net,StefH/WireMock.Net
src/WireMock.Net.OpenApiParser/Settings/WireMockOpenApiParserDynamicExampleValues.cs
src/WireMock.Net.OpenApiParser/Settings/WireMockOpenApiParserDynamicExampleValues.cs
using System; using RandomDataGenerator.FieldOptions; using RandomDataGenerator.Randomizers; namespace WireMock.Net.OpenApiParser.Settings { /// <summary> /// A class defining the random example values to use for the different types. /// </summary> public class WireMockOpenApiParserDynamicExampleValue...
using System; using RandomDataGenerator.FieldOptions; using RandomDataGenerator.Randomizers; namespace WireMock.Net.OpenApiParser.Settings { /// <summary> /// A class defining the random example values to use for the different types. /// </summary> public class WireMockOpenApiParserDynamicExampleValue...
apache-2.0
C#
fb2907e5bd43c249533640737b623d6b89dbd5be
Fix comments
dpoeschl/roslyn,davkean/roslyn,dpoeschl/roslyn,nguerrera/roslyn,eriawan/roslyn,KirillOsenkov/roslyn,stephentoub/roslyn,bartdesmet/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,wvdd007/roslyn,VSadov/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,genlu/roslyn,jasonmalinowski/roslyn,aelij/roslyn,agocke/ro...
src/Workspaces/Core/Portable/Classification/SyntaxClassification/ISyntaxClassifier.cs
src/Workspaces/Core/Portable/Classification/SyntaxClassification/ISyntaxClassifier.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Immutable; using System.Threading; using Microsoft.CodeAnalysis.PooledObjects; namespace Microsoft.CodeAnalysis.Class...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Immutable; using System.Threading; using Microsoft.CodeAnalysis.PooledObjects; namespace Microsoft.CodeAnalysis.Class...
mit
C#
bed90c57eb66a9c7665b523f39620ec9ef540116
Update GivenAnOperationIsStarted.cs
grzesiek-galezowski/component-based-test-tool
ComponentBasedTestTool/ComponentSpecification/GivenAnOperationIsStarted.cs
ComponentBasedTestTool/ComponentSpecification/GivenAnOperationIsStarted.cs
using ComponentSpecification.AutomationLayer; using TddXt.AnyRoot; using Xunit; namespace ComponentSpecification; public class GivenAnOperationIsStarted { [Fact] public void ShouldStartPluginOperation() { var context = new ComponentBasedTestToolDriver(); var componentName1 = Any.ComponentName(); va...
using ComponentSpecification.AutomationLayer; using TddXt.AnyRoot; using Xunit; namespace ComponentSpecification; public class GivenAnOperationIsStarted { [Fact] public void ShouldStartPluginOperation() { var context = new ComponentBasedTestToolDriver(); var componentName1 = Any.ComponentName(); v...
mit
C#
2d93811b924520d8d775b1defa1a00b3a61102b7
Fix typo.
cube-soft/Cube.Core,cube-soft/Cube.Core
Tests/Sources/Behaviors/CloseBehaviorTest.cs
Tests/Sources/Behaviors/CloseBehaviorTest.cs
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // 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....
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // 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-2.0
C#
463db2c82f11d5fa96da93f021a89b6d655f5858
Fix self patching
pardeike/Harmony
Harmony/Tools/SelfPatching.cs
Harmony/Tools/SelfPatching.cs
using Harmony.ILCopying; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; namespace Harmony.Tools { internal class SelfPatching { static readonly string upgradeToLatestVersionFullName = typeof(UpgradeToLatestVersion).FullName; stati...
using Harmony.ILCopying; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; namespace Harmony.Tools { internal class SelfPatching { static int GetVersion(MethodInfo method) { var attribute = method.GetCustomAttributes(false).OfType...
mit
C#
2382651592bf107ee26ccb479d1f66f3e57ff136
use GetComponentInParent so composed collider will work with colliders in child GameObjects
JScott/ViveGrip
Assets/ViveGrip/Scripts/Internal/ViveGrip_TouchDetection.cs
Assets/ViveGrip/Scripts/Internal/ViveGrip_TouchDetection.cs
using UnityEngine; using System.Collections.Generic; public class ViveGrip_TouchDetection : MonoBehaviour { public float radius = 1f; private List<GameObject> collidingObjects = new List<GameObject>(); void Start () { GetComponent<SphereCollider>().isTrigger = true; } void OnTriggerEnter(Collider othe...
using UnityEngine; using System.Collections.Generic; public class ViveGrip_TouchDetection : MonoBehaviour { public float radius = 1f; private List<GameObject> collidingObjects = new List<GameObject>(); void Start () { GetComponent<SphereCollider>().isTrigger = true; } void OnTriggerEnter(Collider othe...
mit
C#
af3cfdf26025ac0ae88e2889730ce863ca8feb04
Revert "Added working solution"
blstream/AugmentedSzczecin_WP,blstream/AugmentedSzczecin_WP,blstream/AugmentedSzczecin_WP
AugmentedSzczecin/AugmentedSzczecin/Services/DataService.cs
AugmentedSzczecin/AugmentedSzczecin/Services/DataService.cs
using AugmentedSzczecin.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Http.Formatting; using System.Text; using System.Threading.Tasks; using Windows.Data.Json; using Newtonsoft.Json; using System.Collections.ObjectMode...
using AugmentedSzczecin.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Http.Formatting; using System.Text; using System.Threading.Tasks; using Windows.Data.Json; using Newtonsoft.Json; using System.Collections.ObjectMode...
apache-2.0
C#
6ed95029837b3051682c1f2d75a796293a65230e
Add generic version of interface
peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/Bindables/ILeasedBindable.cs
osu.Framework/Bindables/ILeasedBindable.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Bindables { /// <summary> /// An interface that represents a read-only leased bindable. /// </summary> public interface ILeasedBin...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Bindables { /// <summary> /// An interface that represents a read-only leased bindable. /// </summary> public interface ILeasedBin...
mit
C#
62f9edf87b8675da8ef350e45a800bb2bb44d680
Bump version to 1.5.O
zpqrtbnk/Zbu.ModelsBuilder,danlister/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder
Zbu.ModelsBuilder/Properties/CommonInfo.cs
Zbu.ModelsBuilder/Properties/CommonInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("ZpqrtBnk Umbraco ModelsBuilder")] [assembly: AssemblyCompany("Pilotine - ZpqrtBnk")] [assembly: AssemblyCopyright("Copyright © Pilotine - ZpqrtBnk 2013-2014")] [assembly: AssemblyTrademark(...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("ZpqrtBnk Umbraco ModelsBuilder")] [assembly: AssemblyCompany("Pilotine - ZpqrtBnk")] [assembly: AssemblyCopyright("Copyright © Pilotine - ZpqrtBnk 2013")] [assembly: AssemblyTrademark("")] ...
mit
C#
44c9c7dd16dc83992a456249d1d7dc48a8c265db
Allow null urlOptions in EndpointBase.Get...()
arthurrump/Zermelo.API
Zermelo/Zermelo.API/Endpoints/EndpointBase.cs
Zermelo/Zermelo.API/Endpoints/EndpointBase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Zermelo.API.Exceptions; using Zermelo.API.Helpers; using Zermelo.API.Interfaces; using Zermelo.API.Services.Interfaces; namespace Zermelo.API.Endpoints { abstract internal class EndpointBase ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Zermelo.API.Exceptions; using Zermelo.API.Helpers; using Zermelo.API.Interfaces; using Zermelo.API.Services.Interfaces; namespace Zermelo.API.Endpoints { abstract internal class EndpointBase ...
mit
C#
b780d0f74bcbe4471427cb0b81cf5be5d79685c4
Add GetUniqueName method
cube-soft/Cube.FileSystem,cube-soft/Cube.Core,cube-soft/Cube.Core,cube-soft/Cube.FileSystem
Libraries/Operations/Files.cs
Libraries/Operations/Files.cs
/* ------------------------------------------------------------------------- */ /// /// Copyright (c) 2010 CubeSoft, Inc. /// /// 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 /// /// ht...
/* ------------------------------------------------------------------------- */ /// /// Copyright (c) 2010 CubeSoft, Inc. /// /// 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 /// /// ht...
apache-2.0
C#
7522fd495560e0ada2f59be5cb45de6d69fa3fca
Remove file structure comment from doc summary
ddpruitt/morelinq,ddpruitt/morelinq,morelinq/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ,fsateler/MoreLINQ
MoreLinq/MoreEnumerable.cs
MoreLinq/MoreEnumerable.cs
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2008 Jonathan Skeet. 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 // // ...
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2008 Jonathan Skeet. 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 // // ...
apache-2.0
C#
b38200dfd16669cfefefbc27929a815f660cfbca
Create the keyboard only when receiving RegisterWindowsKeyboardMessage
RagingBool/RagingBool.Carcosa
projects/RagingBool.Carcosa.Core_cs/Control/CarcosaControlActor.cs
projects/RagingBool.Carcosa.Core_cs/Control/CarcosaControlActor.cs
// [[[[INFO> // Copyright 2015 Raging Bool (http://ragingbool.org, https://github.com/RagingBool) // // 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/licens...
// [[[[INFO> // Copyright 2015 Raging Bool (http://ragingbool.org, https://github.com/RagingBool) // // 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/licens...
apache-2.0
C#
5589dbf6f7c2ec0f17271e4af44047f3ec9b3442
Add config in compile
joemcbride/es-microservice,joemcbride/es-microservice,joemcbride/es-microservice
cake-scripts/compile.csx
cake-scripts/compile.csx
#load "helpers/Constants.cs" #load "helpers/Methods.cs" using System; using System.IO; using System.Linq; Task("dotnetCompile").Does(()=> { var config = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Production" ? "Release" : "Debug"; Run("dotnet", string.Format("build src -c ...
#load "helpers/Constants.cs" #load "helpers/Methods.cs" using System; using System.IO; using System.Linq; Task("dotnetCompile").Does(()=> { Run("dotnet", "build src"); });
mit
C#
8d51628acec4dcb63a8e1d2249406d87adad4c0f
Revert "Added XML documentation"
darrylwhitmore/NScrape
NScrape/JsonWebResponse.cs
NScrape/JsonWebResponse.cs
using System; using System.Text; namespace NScrape { public class JsonWebResponse : TextWebResponse { internal JsonWebResponse(bool success, Uri url, string text, Encoding encoding) : base(url, WebResponseType.JavaScript, success, text, encoding) { } /// <summary> ...
using System; using System.Text; namespace NScrape { /// <summary> /// Represents a web response for a request that returned JSON. /// </summary> public class JsonWebResponse : TextWebResponse { internal JsonWebResponse( bool success, Uri url, string text, Encoding encoding ) : base( url, WebResponseType.Ja...
mit
C#
15fad097aa95bfdbf1f681685bfafbf1d05b4aa6
Add test cases based on inheritance from Case
yawaramin/TDDUnit
Runner.cs
Runner.cs
using System; using System.Linq; using System.Reflection; namespace TDDUnit { class Runner { public Runner(Type callingType) { Suite suite = new Suite(); m_result = new Result(); Type[] forbiddenTypes = new Type[] { callingType , typeof (TDDUnit.WasRunObj) , typeof (TDDUnit...
using System; using System.Linq; using System.Reflection; namespace TDDUnit { class Runner { public Runner(Type exceptType) { Suite suite = new Suite(); m_result = new Result(); foreach (Type t in Assembly.GetEntryAssembly().GetTypes()) { if (t.Name.StartsWith("Test") && t.Name != exc...
apache-2.0
C#
ab08d802a8a6d31d4d33c9030f416afbf5dc4a7d
Update version to 1.2.16
anonymousthing/ListenMoeClient
Properties/AssemblyInfo.cs
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("Li...
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("Li...
mit
C#
d3183fb2367ab5e48334949c1656b3ad3b5622d0
Implement `ConstantExpressionAst.ToString()`
WimObiwan/Pash,ForNeVeR/Pash,Jaykul/Pash,WimObiwan/Pash,WimObiwan/Pash,sburnicki/Pash,sillvan/Pash,sillvan/Pash,sburnicki/Pash,JayBazuzi/Pash,sburnicki/Pash,Jaykul/Pash,JayBazuzi/Pash,JayBazuzi/Pash,WimObiwan/Pash,mrward/Pash,mrward/Pash,Jaykul/Pash,ForNeVeR/Pash,sillvan/Pash,mrward/Pash,JayBazuzi/Pash,mrward/Pash,ForN...
Source/Pash.System.Management/Automation/Language/ConstantExpressionAst.cs
Source/Pash.System.Management/Automation/Language/ConstantExpressionAst.cs
using System; using System.Collections.Generic; using System.Management.Automation; namespace System.Management.Automation.Language { public class ConstantExpressionAst : ExpressionAst { public ConstantExpressionAst(IScriptExtent extent, object value) : base(extent) { t...
using System; using System.Collections.Generic; using System.Management.Automation; namespace System.Management.Automation.Language { public class ConstantExpressionAst : ExpressionAst { public ConstantExpressionAst(IScriptExtent extent, object value) : base(extent) { t...
bsd-3-clause
C#
1cc0f5be5a1d9a44a711f301a9e1e59402c1c1f1
Add return value
danielmundt/csremote
source/Remoting.Interface/ICommand.cs
source/Remoting.Interface/ICommand.cs
#region Header // Copyright (C) 2012 Daniel Schubert // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to use, copy, modify,...
#region Header // Copyright (C) 2012 Daniel Schubert // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to use, copy, modify,...
mit
C#
84e892a5a30dc4975b92f736d6722325a53f9a77
fix dumy fix
michael-reichenauer/GitMind
GitMind/GitModel/Branch.cs
GitMind/GitModel/Branch.cs
using System.Collections.Generic; using System.Linq; namespace GitMind.GitModel { // Some extra Branch internal class Branch { private readonly Repository repository; private readonly string tipCommitId; private readonly string firstCommitId; private readonly string parentCommitId; private readonly IRead...
using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; namespace GitMind.GitModel { // A Branch internal class Branch { private readonly Repository repository; private readonly string tipCommitId; private readonly string firstCommitId; private readonly string parentComm...
mit
C#
3fcf40d07eea4048450896d813b89c2e236fbaa4
Update Sprite, Implement IRenderable2D
Silvertorch5/RobustEngine
Graphics/Sprites/Sprite.cs
Graphics/Sprites/Sprite.cs
using System.Drawing; using OpenTK; namespace RobustEngine.Graphics.Sprites { public class Sprite : IRenderable2D { public string ID; //GL VBO'S public int VertexBuffer; public int IndexBuffer; public Color ColorBuffer; public Rectangle Spr...
using System.Drawing; using OpenTK; namespace RobustEngine.Graphics.Sprites { public class Sprite { public string ID; //GL VBO'S public int VertexBuffer; public int TextureBuffer; public int ColorBuffer; //Accessors TODO public doub...
mit
C#
1ada0fdde3cd4b53386545ca041d95e01140d471
Update Program.cs
mmolhov333/SupplyDepot
TestApp/TestApp/Program.cs
TestApp/TestApp/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestApp { class Program { static void Main(string[] args) { Console.WriteLine("GitHub rules the seven seas!"); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestApp { class Program { static void Main(string[] args) { Console.WriteLine("GitHub rules the seven seas! Also I like cars"); } } }
mit
C#
4b12b847e43e15369c618bdbf973c46ccd570c0f
Use ReadOnlyCollection for extensions.
GetTabster/Tabster
Tabster.Data/FileType.cs
Tabster.Data/FileType.cs
#region using System.Collections.Generic; using System.Collections.ObjectModel; #endregion namespace Tabster.Data { public sealed class FileType { private readonly List<string> _extensions = new List<string>(); public FileType(string name, IEnumerable<string> extensions) ...
#region using System.Collections.Generic; using System.Collections.ObjectModel; #endregion namespace Tabster.Data { public sealed class FileType { public readonly Collection<string> Extensions; public FileType(string name, IList<string> extensions) { Name ...
apache-2.0
C#
82e9998e35652d5bd0cf33790803168284d3a615
add type constraints for view view-model mapping
tibel/Caliburn.Light
src/Caliburn.Xaml/ViewModelTypeResolver.cs
src/Caliburn.Xaml/ViewModelTypeResolver.cs
using System; using System.Collections.Generic; using System.ComponentModel; #if NETFX_CORE using Windows.UI.Xaml; #else using System.Windows; #endif namespace Caliburn.Light { /// <summary> /// Resolves view and view-model types. /// </summary> public class ViewModelTypeResolver : IViewModelTypeResol...
using System; using System.Collections.Generic; namespace Caliburn.Light { /// <summary> /// Resolves view and view-model types. /// </summary> public class ViewModelTypeResolver : IViewModelTypeResolver { private readonly Dictionary<Type, Type> _modelTypeLookup = new Dictionary<Type, Type...
mit
C#
85cdf95d7c905f220df0bca80cdad6327b2a50b4
Use the version number present in the global.json file when generating documentation. (#3557)
elastic/elasticsearch-net,elastic/elasticsearch-net
src/CodeGeneration/DocGenerator/Program.cs
src/CodeGeneration/DocGenerator/Program.cs
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; namespace DocGenerator { public static class Program { static Program() { string P(string path) { return path.Replace(@"\", Path.DirectorySeparatorChar.ToString()); } var currentDir...
using System; using System.Diagnostics; using System.IO; namespace DocGenerator { public static class Program { static Program() { string P(string path) { return path.Replace(@"\", Path.DirectorySeparatorChar.ToString()); } var currentDirectory = new DirectoryInfo(Directory.GetCurrentDirectory(...
apache-2.0
C#
3828018bd8c3e32561edc1b41f8c85a8137f7532
Use var instead.
dlemstra/Magick.NET,dlemstra/Magick.NET
src/Magick.NET/Native/NativeHelper.cs
src/Magick.NET/Native/NativeHelper.cs
// Copyright 2013-2021 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // // https://www.imagemagick.org/script/license.php // // Unless req...
// Copyright 2013-2021 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // // https://www.imagemagick.org/script/license.php // // Unless req...
apache-2.0
C#
7471f040c885bcb36218531c45f48f935d23e58d
Simplify ParserQuery tests now that tuples have shorthand syntax.
plioi/parsley
src/Parsley.Tests/ParserQueryTests.cs
src/Parsley.Tests/ParserQueryTests.cs
using System.Globalization; using static Parsley.Grammar; namespace Parsley.Tests; class ParserQueryTests { static readonly Parser<char, char> Next = Single<char>(_ => true, "character"); static readonly Parser<char, string> Fail = (ReadOnlySpan<char> input, ref int index, out bool succeeded, out string? exp...
using System.Globalization; using static Parsley.Grammar; namespace Parsley.Tests; class ParserQueryTests { static readonly Parser<char, char> Next = Single<char>(_ => true, "character"); static readonly Parser<char, string> Fail = (ReadOnlySpan<char> input, ref int index, out bool succeeded, out string? exp...
mit
C#
c26347249227d17c6ef1594a387580578c2533f9
fix for build 5
sachatrauwaen/openform,sachatrauwaen/openform,sachatrauwaen/openform
AlpacaFormBuilder.ascx.cs
AlpacaFormBuilder.ascx.cs
#region Copyright // // Copyright (c) 2015 // by Satrabel // #endregion #region Using Statements using System; using DotNetNuke.Entities.Modules; using DotNetNuke.Common; using Satrabel.OpenContent.Components; using Satrabel.OpenContent.Components.Alpaca; using DotNetNuke.Web.Client.ClientResourceManagement; usi...
#region Copyright // // Copyright (c) 2015 // by Satrabel // #endregion #region Using Statements using System; using DotNetNuke.Entities.Modules; using DotNetNuke.Common; using Satrabel.OpenContent.Components; using Satrabel.OpenContent.Components.Alpaca; using DotNetNuke.Web.Client.ClientResourceManagement; usi...
mit
C#
2aa2191be7412b665731beb2cea81f02c7b8a766
Update KelvinTegelaar.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/KelvinTegelaar.cs
src/Firehose.Web/Authors/KelvinTegelaar.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 KelvinTegelaar : IAmAMicrosoftMVP { public string FirstName => "Kelvin"; public string Las...
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 KelvinTegelaar : IAmACommunityMember { public string FirstName => "Kelvin"; public string ...
mit
C#
fea782a2b3d7c2564798a54f52473dc3bc4c07be
Fix the Coupon resource as percent_off is now a decimal
stripe/stripe-dotnet,richardlawley/stripe.net
src/Stripe.net/Entities/StripeCoupon.cs
src/Stripe.net/Entities/StripeCoupon.cs
namespace Stripe { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; public class StripeCoupon : StripeEntityWithId, ISupportMetadata { [JsonProperty("object")] public string Object { get; set; } [JsonProperty("amount_o...
namespace Stripe { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; public class StripeCoupon : StripeEntityWithId, ISupportMetadata { [JsonProperty("object")] public string Object { get; set; } [JsonProperty("amount_o...
apache-2.0
C#
61b769f703ec75062b126aa1d997db98066d912e
Fix including links in _Layout.cshtml.
neptuo/com.neptuo.go,neptuo/com.neptuo.go
src/WebSite/Views/Shared/_Layout.cshtml
src/WebSite/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> <link href="~/Content/bootstrap.min.css" rel="stylesheet" /> <link href="~/Content/web.css" rel="stylesheet" />...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/bootstrap.min.css") @Styles.Render("~/Content/web.css") </head> <body> <div cl...
apache-2.0
C#
9d6dfe5ff9841f946288fab7f4080e57d73d2254
Fix up the AssemblyInfo
tom-overton/fe12-guide-name-tool
Properties/AssemblyInfo.cs
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#
fe829b0e01b5943f729ed34fbcdf45576dce85a8
Bump version
o11c/WebMConverter,nixxquality/WebMConverter,Yuisbean/WebMConverter
Properties/AssemblyInfo.cs
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("We...
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("We...
mit
C#
9eb1f79d15de7257b0634bb5f76431690a4b516e
Increment version number.
rmarinho/babysmash,DavidRieman/babysmash,shanselman/babysmash
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("BabySmash")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Scott Hanselman")] [assembly: AssemblyProduct("BabySmash")] [assembly: AssemblyCopy...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("BabySmash")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Scott Hanselman")] [assembly: AssemblyProduct("BabySmash")] [assembly: AssemblyCopy...
mit
C#
8d944cb6c9f4e5c0cfb44663288e332572dba776
Remove out of date docs about precompiled manifest from the example project.
damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,damiensawyer/cassette
examples/Precompiled/Views/Home/Index.cshtml
examples/Precompiled/Views/Home/Index.cshtml
@{ Layout = null; Bundles.Reference("Content"); Bundles.Reference("Scripts"); } <!DOCTYPE html> <html> <head> <title>Precompiled Cassette Sample</title> @Bundles.RenderStylesheets() @Bundles.RenderScripts() </head> <body> <h1>Compile-time bundling ex...
@{ Layout = null; Bundles.Reference("Content"); Bundles.Reference("Scripts"); } <!DOCTYPE html> <html> <head> <title>Precompiled Cassette Sample</title> @Bundles.RenderStylesheets() @Bundles.RenderScripts() </head> <body> <h1>Compile-time bundling ex...
mit
C#