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
2585347fc0442a8531f13bed89ef18a0e6941738
Create CameraEvent.cs
MesoamericaAppsHackatonPanama2013/SimulacionDesastres
CameraEvent.cs
CameraEvent.cs
using UnityEngine; using System.Collections; public class CameraEvent : MonoBehaviour { // Use this for initialization void Start () { StartCoroutine("Esperar"); } // Update is called once per frame void Update () { } IEnumerator Esperar(){ yield return new WaitForSeconds(5); GameObject.Find...
mit
C#
7784c18a7706a1df8f45c5639b769fa3bb6ebaca
Revert "add public key"
nacaspi/azure-sdk-for-net,jtlibing/azure-sdk-for-net,herveyw/azure-sdk-for-net,DeepakRajendranMsft/azure-sdk-for-net,oburlacu/azure-sdk-for-net,jtlibing/azure-sdk-for-net,bgold09/azure-sdk-for-net,hovsepm/azure-sdk-for-net,naveedaz/azure-sdk-for-net,bgold09/azure-sdk-for-net,Matt-Westphal/azure-sdk-for-net,abhing/azure...
src/ResourceManagement/HDInsight/HDInsight/Properties/AssemblyInfo.cs
src/ResourceManagement/HDInsight/HDInsight/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("HDI...
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("HD...
apache-2.0
C#
5b06718427d8d57868b2d0aa7cf0faeb627bfa26
add info module
0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3
KQAnalytics3/src/KQAnalytics3/Modules/WebClient/WebClientInfoModule.cs
KQAnalytics3/src/KQAnalytics3/Modules/WebClient/WebClientInfoModule.cs
using Nancy; namespace KQAnalytics3.Modules.WebClient { public class WebClientInfoModule : NancyModule { public WebClientInfoModule() { Get("/info", _ => $"KQ Analytics"); } } }
agpl-3.0
C#
b9ae42eb4f811d73edc698a512f9b97b58c2439a
Create Relaycommand.cs
rronen10/AutoImage
Relaycommand.cs
Relaycommand.cs
using System; using System.Diagnostics; using System.Windows.Input; namespace Moj.Ramot.Fees.Helper.UI { public class RelayCommand : ICommand { #region Fields readonly Action<object> _execute; readonly Action _executeNoParameter; readonly Predicate<object> _canExecute; ...
mit
C#
3fc79a8e202ed21889c833eb272ec2925c78119c
Create RelativeRectComparer.cs
AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,OronDF343/Avalonia,jkoritzinsky/Avalonia,kekekeks/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,MrDaedra/Avalonia,susloparovdenis/Perspex,wieslawsol...
tests/Perspex.SceneGraph.UnitTests/RelativeRectComparer.cs
tests/Perspex.SceneGraph.UnitTests/RelativeRectComparer.cs
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Collections.Generic; namespace Perspex.SceneGraph.UnitTests { public class RelativeRectComparer : IEqualityComparer<Relativ...
mit
C#
1c1bdffc34010b94ce7204cc729236da27de111f
Fix another problem in ZeroMeasurementAnalyser (see #943)
alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig...
src/BenchmarkDotNet/Analysers/ZeroMeasurementAnalyser.cs
src/BenchmarkDotNet/Analysers/ZeroMeasurementAnalyser.cs
using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Engines; using BenchmarkDotNet.Extensions; using BenchmarkDotNet.Horology; using BenchmarkDotNet.Reports; namespace BenchmarkDotNet.Analysers { public class ZeroMeasurementAnalyser : AnalyserBase { public override string Id =...
using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Engines; using BenchmarkDotNet.Extensions; using BenchmarkDotNet.Horology; using BenchmarkDotNet.Reports; namespace BenchmarkDotNet.Analysers { public class ZeroMeasurementAnalyser : AnalyserBase { public override string Id =...
mit
C#
ebbe705df6b8f271928d143ef6832bfa6282ee11
Make a test explicit
huoxudong125/Fody,jasonholloway/Fody,ColinDabritzViewpoint/Fody,GeertvanHorrik/Fody,PKRoma/Fody,furesoft/Fody,ichengzi/Fody,Fody/Fody,distantcam/Fody
Fody.Tests/AdHocCecilTests.cs
Fody.Tests/AdHocCecilTests.cs
using System.IO; using Mono.Cecil; using Mono.Cecil.Pdb; using NUnit.Framework; [TestFixture] public class AdHocCecilTests { [Test] [Explicit] public void Foo() { ModuleDefinition moduleDefinition; using (var symbolStream = File.OpenRead(@"C:\Code\containsdynamiclocals.pdb")) { ...
using System.IO; using Mono.Cecil; using Mono.Cecil.Pdb; using NUnit.Framework; [TestFixture] [Explicit] public class AdHocCecilTests { [Test] public void Foo() { ModuleDefinition moduleDefinition; using (var symbolStream = File.OpenRead(@"C:\Code\containsdynamiclocals.pdb")) { ...
mit
C#
7327629b6e07938a76024ded355b3464af9f2078
Test for complex class mathematical operations
Skoth/KSPCommEngr
CommEngrTest/ComplexTests.cs
CommEngrTest/ComplexTests.cs
#region license /* The MIT License (MIT) * Copyright (c) 2016 Skoth * 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 right...
mit
C#
6f61853f0a6f54e80dd2d8dcba626d004bfe81a4
Create Prerequisites.cs
SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming,SurgicalSteel/Competitive-Programming
Kattis-Solutions/Prerequisites.cs
Kattis-Solutions/Prerequisites.cs
using System; using System.Collections.Generic; using System.Linq; namespace Prerequisites { class Program { static bool isPass(Dictionary<string,int> taken, string[] sarra) { int call = int.Parse(sarra[0]), mini = int.Parse(sarra[1]); int count = 0; for(int...
mit
C#
9cffa2c4ad89be925044049ff334c12fe4ebada2
Add Singleton for the Session
Demcom/SchoolScheduleManager
ScheduleManager/ScheduleManager/common/SingletonSesion.cs
ScheduleManager/ScheduleManager/common/SingletonSesion.cs
using ScheduleManager.forms; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using ScheduleManager.model; namespace ScheduleManager.common { class SingletonSesion { private volatile static SingletonSesion o...
mit
C#
ee846f5fbb5787e30feb0b9066d33ccc23ed62ea
Add a proxy wallet rpc controller for cold staking wallet. (#2987)
mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,mikedennis/StratisBit...
src/Stratis.Bitcoin.Features.ColdStaking/Controllers/ColdStakingWalletRPCController.cs
src/Stratis.Bitcoin.Features.ColdStaking/Controllers/ColdStakingWalletRPCController.cs
using Microsoft.Extensions.Logging; using Stratis.Bitcoin.Features.Wallet; using Stratis.Bitcoin.Features.Wallet.Interfaces; namespace Stratis.Bitcoin.Features.ColdStaking.Controllers { /// <summary> All functionality is in WalletRPCController, just inherit the functionality in this feature.</summary> public ...
mit
C#
5f7740133093cd42ab2980b89d34b9a58fecabd4
Create BookDetailsViewModel.
Programazing/Open-School-Library,Programazing/Open-School-Library
src/Open-School-Library/Models/BookViewModels/BookDetailsViewModel.cs
src/Open-School-Library/Models/BookViewModels/BookDetailsViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Open_School_Library.Models.BookViewModels { public class BookDetailsViewModel { public int BookID { get; set; } public string Title { get; set; } public string SubTitle { get; set...
mit
C#
fd239ab257012c4c287bc4dea06fe974f9edf84a
Check if the query is a projection-query before trying to add it to the cache (nhibernate will choke on that)
csteeg/BoC,bplasmeijer/BoC,RalfvandenBurg/BoC,csteeg/BoC,RvanDalen/BoC,RvanDalen/BoC,bplasmeijer/BoC,RalfvandenBurg/BoC
Src/Commons.Persistence.NHibernate/Cache/ProjectionEnabledQueryCache.cs
Src/Commons.Persistence.NHibernate/Cache/ProjectionEnabledQueryCache.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using NHibernate.Cache; using NHibernate.Cfg; using NHibernate.Engine; using NHibernate.Type; namespace BoC.Persistence.NHibernate.Cache { /// <summary> /// This class works around the ...
mit
C#
0b7cde38eb64396449f268cd8255aae409c81943
Create JoshDuffney.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/JoshDuffney.cs
src/Firehose.Web/Authors/JoshDuffney.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 JoshDuffney : IAmACommunityMember { public string FirstName => "Josh"; public string LastN...
mit
C#
820408757a736d3ff3c9dc59cd933bcb1874990a
add OsuMarkdownListItem
smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu
osu.Game/Graphics/Containers/Markdown/OsuMarkdownListItem.cs
osu.Game/Graphics/Containers/Markdown/OsuMarkdownListItem.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osuTK; namespace osu.Game.Graphics.Containers.Markdown { public class OsuMarkdownListIte...
mit
C#
b2b4b6d2a6c33d7ded941d5199d2e8d599acf03c
Create Problem124.cs
fireheadmx/ProjectEuler,fireheadmx/ProjectEuler
Problems/Problem124.cs
Problems/Problem124.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ProjectEuler.Problems { class Problem124 { private static Sieve s; public static void Run() { int upper = 100000; int resIndex = 9999; //int upper = 10; ...
mit
C#
5584e587489b0407f7c2651b30be1833ad9a5b81
Create C#.cs
TobitSoftware/chayns-snippets,TobitSoftware/chayns-snippets,TobitSoftware/chayns-snippets,TobitSoftware/chayns-snippets
Backend/IntercomToUser/C#.cs
Backend/IntercomToUser/C#.cs
import RestSharp; public class IntercomDto { public string Message { get; set; } public List<int> UacIds { get; set; } public List<int> UserIds { get; set; } public List<int> ReceiverLocationIds { get; set; } public bool? UseGroupChat { get; set; } } string Server = "https://api.chayns.net/v2.0/";...
mit
C#
f0fb5ff0eb018b2d9b4ee4af16f83b613edc2099
Verify correct output from ServiceBusConnection.GetEntityName
ehelse/Helsenorge.Messaging
test/Helsenorge.Messaging.Tests/ServiceBus/ServiceBusConnectionTests.cs
test/Helsenorge.Messaging.Tests/ServiceBus/ServiceBusConnectionTests.cs
/* * Copyright (c) 2021, Norsk Helsenett SF and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the MIT license * available at https://raw.githubusercontent.com/helsenorge/Helsenorge.Messaging/master/LICENSE */ using Helsenorge.Messaging.ServiceBus; using Microsoft.Extension...
mit
C#
5f2154fcd66ff44379296aca2e33c139e7f93b60
Add missing file
seancpeters/templating,seancpeters/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating,mlorbetske/templating
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/RazorPagesWeb-CSharp/Pages/Account/Manage/_StatusMessage.cshtml
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/RazorPagesWeb-CSharp/Pages/Account/Manage/_StatusMessage.cshtml
@model string @if (!String.IsNullOrEmpty(Model)) { var statusMessageClass = Model.StartsWith("Error") ? "danger" : "success"; <div class="alert alert-@statusMessageClass alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true...
mit
C#
62acfabec4638284e0d9c88ccbd50d2d0f4b65a6
Add the skeleton for the temp attachments module
ft-/opensim-optimizations-wip-tests,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,BogusCurry/arribasim-dev,rryk/omp-server,Michelle-Argus/ArribasimExtract,RavenB/opensim,ft-/arribasim-dev-extras,Michelle-Argus/ArribasimExtract,TomDataworks/opensim,TomDataworks/opensim,ft-/opensim-optimizations-wip-tests,Michelle-Argus/Arribasim...
OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.cs
OpenSim/Region/OptionalModules/Avatar/Attachments/TempAttachmentsModule.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...
bsd-3-clause
C#
fd980c1b071ae127d7bd442a52fcdeab67e5986c
Create 13.cs
rikkus/adventofcode2016,rikkus/adventofcode2016
13.cs
13.cs
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace Aoc2016_14 { internal class Program { private readonly Dictionary<int, string> Hashes = new Dictionary<int, string>(1000); private readonly Dictionary<Tuple<char, int>, bool> Match...
mit
C#
d667969997442b68270b715b6847167f28cb91db
Create XMLTests.cs
keith-hall/Extensions,keith-hall/Extensions
tests/XMLTests.cs
tests/XMLTests.cs
using System; using System.Xml.Linq; using HallLibrary.Extensions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests { [TestClass] public class XMLTests { [TestMethod] public void TestToDataTable() { var xe = XElement.Parse(@"<root><row><id example='test'>7</id><name><last>Bloggs</last><f...
apache-2.0
C#
b9028188fd1164a59a98d474ee98b447e0290434
Create IUserRegister.cs
fatihgurdal/CandyFramework
CandyFramework.Entity/Interface/ViewModel/VirtualViewModel/IUserRegister.cs
CandyFramework.Entity/Interface/ViewModel/VirtualViewModel/IUserRegister.cs
mit
C#
00864c50f75a3b039e147c7e249aed90fa5b1724
Revert change to message assertion as the message is consumer key dependent and the key in the CI build causes a failure
danbadge/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,knocte/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wr...
src/SevenDigital.Api.Wrapper.Integration.Tests/Exceptions/ApiXmlExceptionTests.cs
src/SevenDigital.Api.Wrapper.Integration.Tests/Exceptions/ApiXmlExceptionTests.cs
using System; using NUnit.Framework; using SevenDigital.Api.Wrapper.Exceptions; using SevenDigital.Api.Schema.ArtistEndpoint; using SevenDigital.Api.Schema.LockerEndpoint; namespace SevenDigital.Api.Wrapper.Integration.Tests.Exceptions { [TestFixture] public class ApiXmlExceptionTests { [Test] public void Shoul...
using System; using NUnit.Framework; using SevenDigital.Api.Wrapper.Exceptions; using SevenDigital.Api.Schema.ArtistEndpoint; using SevenDigital.Api.Schema.LockerEndpoint; namespace SevenDigital.Api.Wrapper.Integration.Tests.Exceptions { [TestFixture] public class ApiXmlExceptionTests { [Test] public void Shoul...
mit
C#
7faefb2be7df33c4db5fea8ccddf6a64b29a8bb0
Add BooleanBoxes static class to improve dependency properties performance
batzen/MahApps.Metro,MahApps/MahApps.Metro,ye4241/MahApps.Metro
src/MahApps.Metro/ValueBoxes/BooleanBoxes.cs
src/MahApps.Metro/ValueBoxes/BooleanBoxes.cs
namespace MahApps.Metro.ValueBoxes { /// <summary> /// Helps boxing Boolean values. /// </summary> public static class BooleanBoxes { /// <summary> /// Gets a boxed representation for Boolean's "true" value. /// </summary> public static readonly object TrueBox = true...
mit
C#
d97bdf9d8794065d71a952afc1f2546a71460de3
Add characterization tests for object members
thomaslevesque/FakeItEasy,FakeItEasy/FakeItEasy,blairconrad/FakeItEasy,thomaslevesque/FakeItEasy,blairconrad/FakeItEasy,FakeItEasy/FakeItEasy
tests/FakeItEasy.Specs/ObjectMembersSpecs.cs
tests/FakeItEasy.Specs/ObjectMembersSpecs.cs
namespace FakeItEasy.Specs { using FakeItEasy.Core; using FluentAssertions; using Xbehave; public static class ObjectMembersSpecs { [Scenario] public static void DefaultEqualsWithSelf(IFoo fake, bool equals) { "Given a fake" .x(() => f...
mit
C#
d48a27bcb1f3fe86034e9a53c678abc1bd78e8dd
Create kod.cs
sknera6/prywatnemk
kod.cs
kod.cs
int a=2;
mit
C#
390ceb798b093ca7d10603bc759bedc822d9d4d3
add functionality to skip rename
BigBabay/AsyncConverter,BigBabay/AsyncConverter
AsyncConverter/AsyncHelpers/RenameCheckers/OverrideAssamblyRenameChecker.cs
AsyncConverter/AsyncHelpers/RenameCheckers/OverrideAssamblyRenameChecker.cs
using System.Linq; using AsyncConverter.Helpers; using JetBrains.ProjectModel; using JetBrains.ReSharper.Psi.CSharp.Tree; namespace AsyncConverter.AsyncHelpers.RenameCheckers { [SolutionComponent] public class OverrideAssamblyRenameChecker : IConcreateRenameChecker { public bool SkipRename(IMethod...
mit
C#
63bbe3ec9b45919aabd8627e606dfe9a96137073
Add ResourceFinder as an option that can be set.
modulexcite/ZocMon,modulexcite/ZocMon,ZocDoc/ZocMon,modulexcite/ZocMon,ZocDoc/ZocMon,ZocDoc/ZocMon
source/ZocMonLib.Web/Framework/WebSettingsExtensionOptions.cs
source/ZocMonLib.Web/Framework/WebSettingsExtensionOptions.cs
namespace ZocMonLib.Web { public class WebSettingsExtensionOptions { public IResourceFinder ResourceFinder { get; set; } public ISerializer Serializer { get; set; } public IRuntime Runtime { get; set; } public IStorageFactory StorageFactory { get; set; } public ISyste...
namespace ZocMonLib.Web { public class WebSettingsExtensionOptions { public ISerializer Serializer { get; set; } public IRuntime Runtime { get; set; } public IStorageFactory StorageFactory { get; set; } public ISystemLoggerProvider LoggerProvider { get; set; } public ...
apache-2.0
C#
63fe51fb7f900394a0369dc8f6505527d492dc93
Add XunitExtensions
yufeih/Common
src/XunitExtensions.cs
src/XunitExtensions.cs
namespace Xunit { using System.Collections.Generic; using System.Linq; static class XunitExtensions { public static TheoryData<T> ToTheoryData<T>(this IEnumerable<T> enumerable) { var data = new TheoryData<T>(); foreach (var item in enumerable) ...
mit
C#
c32168c61f2d358ca88173a9f74bdccafbf699ab
Add failing test case
smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu
osu.Game.Tests/Visual/Editing/TestSceneEditorScreenModes.cs
osu.Game.Tests/Visual/Editing/TestSceneEditorScreenModes.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using NUnit.Framework; using osu.Framework.Testing; using osu.Game.Rulesets; using osu.Game.Rulesets.Osu; using osu.Game.Screens.Edit; us...
mit
C#
7316c3b12560562784235ad3f80c6be229844d0a
Add TransientStatContainerInterface
BoomaNation/Booma.Stats.Common,BoomaNation/Booma.Stats.Common
src/Booma.Stats.Common/StatContainers/Transient/ITransientStatsContainer.cs
src/Booma.Stats.Common/StatContainers/Transient/ITransientStatsContainer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Booma.Stats.Common { /// <summary> /// Simplified interface that extends a <see cref="TransientStatType"/> /// <see cref="IStatsContainer{TStatType}"/> interace. /// </summary> public interface ITransientStatsContaine...
mit
C#
66c10a72db262a6c586b23e964e0b913d6947416
Format all DateTimeOffest
dfensgmbh/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI,dfensgmbh/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI
src/biz.dfch.CS.Appclusive.UI/Views/Shared/DisplayTemplates/DateTimeOffset.cshtml
src/biz.dfch.CS.Appclusive.UI/Views/Shared/DisplayTemplates/DateTimeOffset.cshtml
@model System.DateTimeOffset @Model.ToString("dd.MM.yyyy HH:mm")
apache-2.0
C#
3801061a12cb70cb0ec88cd915bf5a301fb2685e
Add new composition container.
vincpa/linqpadspy
LinqPadSpy.Standalone/CompositionContainerBuilder.cs
LinqPadSpy.Standalone/CompositionContainerBuilder.cs
namespace LinqPadSpy { using System.ComponentModel.Composition.Hosting; using System.IO; using System.Reflection; public static class CompositionContainerBuilder { static CompositionContainer container; public static CompositionContainer Container { get ...
unlicense
C#
8ec5cabe8292780750247b6d4e14dc7bbb25c589
Add tests for F.Add
farity/farity
Farity.Tests/AddTests.cs
Farity.Tests/AddTests.cs
using Xunit; namespace Farity.Tests { public class AddTests { [Fact] public void AddSumsTwoDecimals() { var a = 2.33m; var b = 1.99m; var expected = a + b; var actual = F.Add(a, b); Assert.Equal(expected, actual); } ...
mit
C#
33c0385d48c4b1f462678ae35555338af03418c8
add file
chris84948/Markdown-Edit,punker76/Markdown-Edit,jokamjohn/Markdown-Edit,dsuess/Markdown-Edit,Tdue21/Markdown-Edit,Pulgafree/Markdown-Edit,mike-ward/Markdown-Edit
src/MarkdownEdit/Models/FormatText.cs
src/MarkdownEdit/Models/FormatText.cs
using System.Diagnostics; using System.IO; using System.Text; namespace MarkdownEdit.Models { internal static class FormatText { public static string Prettify(string text) { var tuple = Utility.SeperateFrontMatter(text); var result = Pandoc(tuple.Item2, "--columns 80");...
mit
C#
3ad0b5f4f239c690626943226bad1626980c0b75
Create Forward.cs
hprose/hprose-dotnet
src/Hprose.RPC.Plugins/Forward/Forward.cs
src/Hprose.RPC.Plugins/Forward/Forward.cs
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
mit
C#
95482a0372a140951db3206870c581e0d80f2f3d
Support convert to or from struct type
Kuick/IsTo
IsTo.Tests/Misc/Struct/TestStruct.cs
IsTo.Tests/Misc/Struct/TestStruct.cs
// Copyright (c) kuicker.org. All rights reserved. // Modified By YYYY-MM-DD // kevinjong 2016-03-04 - Creation using System; namespace IsTo.Tests { public struct TestStruct { public int Property11; public int Property12; public int Property13; } }
apache-2.0
C#
1ccf799981b3f41f22a41cad5359ef0bf36e959b
add the controller...duh
OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,haled/omnisharp-roslyn,david-driscoll/omnisharp-roslyn,nabychan/omnisharp-roslyn,khellang/omnisharp-roslyn,nabychan/omnisharp-roslyn,filipw/omnisharp-roslyn,xdegtyarev/omnisharp-roslyn,khellang/omnisharp-roslyn,hach-que/omnisharp-rosl...
src/OmniSharp/Api/Navigation/OmnisharpController.FindUsages.cs
src/OmniSharp/Api/Navigation/OmnisharpController.FindUsages.cs
using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.FindSymbols; using Microsoft.CodeAnalysis.Text; using OmniSharp.Models; namespace OmniSharp { public partial class OmnisharpController { [HttpPost("fin...
mit
C#
acfa6ad982a70e12df430cc95d70f5a17ec3133e
add warp checks file
KerbaeAdAstra/KerbalFuture
KerbalFuture/FrameShift/FrameShiftWarpChecks.cs
KerbalFuture/FrameShift/FrameShiftWarpChecks.cs
namespace FrameShift { class FrameShiftWarpChecks : MonoBehaviour { } }
mit
C#
6754530c81383f45c6dfdd94bbfc6e7694a11f8b
Update PlatformConstrained.cs
SacWebDeveloper/lidgren-network-gen3,RainsSoft/lidgren-network-gen3,forestrf/lidgren-network-gen3,jbruening/lidgren-network-gen3,PowerOfCode/lidgren-network-gen3,lidgren/lidgren-network-gen3,dragutux/lidgren-network-gen3
Lidgren.Network/Platform/PlatformConstrained.cs
Lidgren.Network/Platform/PlatformConstrained.cs
#if __CONSTRAINED__ || UNITY_STANDALONE_LINUX using System; using System.Collections.Generic; using System.Net; using System.Security.Cryptography; namespace Lidgren.Network { public static partial class NetUtility { private static byte[] s_randomMacBytes; static NetUtility() { s_randomMacBytes = new by...
#if __CONSTRAINED__ || UNITY_STANDALONE_LINUX using System; using System.Collections.Generic; using System.Net; using System.Security.Cryptography; namespace Lidgren.Network { public static partial class NetUtility { private static byte[] s_randomMacBytes; static NetUtility() { s_randomMacBytes = new by...
mit
C#
49c9458963684b644ce7701eda41f61472289b96
Create MultibaseCorrelationServiceTests.cs
tiksn/TIKSN-Framework
TIKSN.UnitTests.Shared/Integration/Correlation/MultibaseCorrelationServiceTests.cs
TIKSN.UnitTests.Shared/Integration/Correlation/MultibaseCorrelationServiceTests.cs
using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using System; using TIKSN.DependencyInjection; using Xunit; using Xunit.Abstractions; namespace TIKSN.Integration.Correlation.Tests { public class MultibaseCorrelationServiceTests { private readonly ICorrelationService _correlatio...
mit
C#
e2495f92d3cdb9a73db3dabbe44221f18ccdfc0c
Create CustomDrawOperation.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D/Editor/CustomDrawOperation.cs
src/Draw2D/Editor/CustomDrawOperation.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Avalonia; using Avalonia.Platform; using Avalonia.Rendering.SceneGraph; using Avalonia.Skia; using Draw2D.ViewModels; using SkiaSharp; namespace Draw2D.Edit...
mit
C#
26e7b0d9132f35a4eb52af75f0c3b3a88a0c00bc
Move sample to correct namespace
Ky7m/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Ky7m/BenchmarkDotNet,Ky7m/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Tekni...
BenchmarkDotNet.Samples/CPU/Cpu_Atomics.cs
BenchmarkDotNet.Samples/CPU/Cpu_Atomics.cs
using BenchmarkDotNet.Tasks; namespace BenchmarkDotNet.Samples.CPU { [BenchmarkTask(platform: BenchmarkPlatform.X64, jitVersion: BenchmarkJitVersion.RyuJit)] public class Cpu_Atomics { private int a; private object syncRoot = new object(); [Benchmark] [OperationsPerInvoke(...
using BenchmarkDotNet.Tasks; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BenchmarkDotNet.Samples.Other { [BenchmarkTask(platform: BenchmarkPlatform.X64, jitVersion: BenchmarkJitVersion.RyuJit)] public class Cpu_Atomics { private int a; pr...
mit
C#
e3b29df29930e4e5f79072b4b762fad0f27fd31c
Add test scene for `MultiplayerPlayer`
ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu
osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerPlayer.cs
osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerPlayer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Testing; using osu.Game.Rulesets.Osu; using osu.Game.Screens.OnlinePlay.Multiplayer; namespace osu.Game.Tes...
mit
C#
945cd3eaf645eefda24e7163801291d520962442
Create ConsoleTest.cs
codecore/Functional,codecore/Functional
ConsoleTest.cs
ConsoleTest.cs
using Tests; using System; namespace ConsoleTest { public class Program { public static void Main(string[] args) { Action<string> output = text => Console.WriteLine(text); Func<string, bool,string> format = (text, result) => String.Format(text, result); ITes...
apache-2.0
C#
302fd1e7737776ee6e8b826b4dcd92556ea7dedd
Create NodeViewTutorial.cs
webjug/vol
NodeViewTutorial.cs
NodeViewTutorial.cs
// http://www.mono-project.com/docs/gui/gtksharp/widgets/nodeview-tutorial-examples/ namespace NodeViewTutorial { [Gtk.TreeNode (ListOnly=true)] public class MyTreeNode : Gtk.TreeNode { string song_title; public MyTreeNode (string artist, string song_title) ...
unlicense
C#
570a3cb6fe8b79391b7041244c503d4b4016c298
Create WebSocketWrapper.cs
hotemup/UnitySocketIO
WebSocketWrapper.cs
WebSocketWrapper.cs
using UnityEngine; using System.Net; using System; using System.Collections; using System.IO; using WebSocketSharp; /// <summary> /// This class will serve as a wrapper around the websocket interface so that it works in both standalone and webplayer versions. /// </summary> public class WebSocketWrapper : MonoBehaviour...
mit
C#
08611e712fdf51fefee63a00144741ee48aee423
Add TypeCache for dynamic conversions.
safakgur/value-string
src/ValueString.TypeCache.cs
src/ValueString.TypeCache.cs
// Copyright © 2016 Şafak Gür. All rights reserved. // Licensed under the MIT license. See LICENSE in the project root for license information. namespace Dawn { using System; /// <content>Contains <see cref="TypeCache{T}" />.</content> public partial struct ValueString { /// <summary>Represen...
mit
C#
da270d61a841ec236c428696d0e025f2b8fac03d
Create TransformHelper.cs
xxmon/unity
TransformHelper.cs
TransformHelper.cs
using UnityEngine; using System.Collections; public class TransformHelper : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void SetPosition(Transform newPosition) { transform.position = newPosition.position; } public v...
mit
C#
9e5e8f86f88dff669b63aa3a9e073bd59d979bfe
Add placeholder test
jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet
apis/Google.Cloud.LifeSciences.V2Beta/Google.Cloud.LifeSciences.V2Beta.Tests/PlaceholderTest.cs
apis/Google.Cloud.LifeSciences.V2Beta/Google.Cloud.LifeSciences.V2Beta.Tests/PlaceholderTest.cs
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
35ac8beac52d629782955355ac89848a6fa6610d
Verify model property names.
peeedge/mobile,peeedge/mobile,masterrr/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,masterrr/mobile,eatskolnikov/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile
Tests/Data/Models/ModelTest.cs
Tests/Data/Models/ModelTest.cs
using System; using System.Linq; using System.Reflection; using NUnit.Framework; using Toggl.Phoebe.Data.NewModels; namespace Toggl.Phoebe.Tests.Data.Models { public abstract class ModelTest<T> : Test where T : IModel { protected static readonly string[] ExemptProperties = { "Data" }; ...
using System; using Toggl.Phoebe.Data.NewModels; namespace Toggl.Phoebe.Tests.Data.Models { public abstract class ModelTest<T> : Test where T : IModel { } }
bsd-3-clause
C#
b99ee627237857788eec414b7b752bffa7b712e8
Add missing file
brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync
projects/AlertSample/source/AlertSample.App/ThresholdEventArgs.cs
projects/AlertSample/source/AlertSample.App/ThresholdEventArgs.cs
//----------------------------------------------------------------------- // <copyright file="ThresholdEventArgs.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace AlertSample { ...
unlicense
C#
35efc20f9dbe8f8a5e72e65d1ce80947bf9b409f
Create Form2.Designer.cs
HartmanDev/WimP
Demo/Form2.Designer.cs
Demo/Form2.Designer.cs
namespace PathFinder { partial class Form2 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param na...
mit
C#
0dadd10141b542500622a9371a36a79d9b48b539
Add some words
MahApps/MahApps.Metro,jumulr/MahApps.Metro,batzen/MahApps.Metro,Evangelink/MahApps.Metro,psinl/MahApps.Metro,pfattisc/MahApps.Metro,Danghor/MahApps.Metro,Jack109/MahApps.Metro,ye4241/MahApps.Metro,p76984275/MahApps.Metro,chuuddo/MahApps.Metro,xxMUROxx/MahApps.Metro
MahApps.Metro/Theme.cs
MahApps.Metro/Theme.cs
using System; using System.Diagnostics; using System.Windows; namespace MahApps.Metro { /// <summary> /// An enum that represents the two Metro styles: Light and Dark. /// </summary> [Obsolete("This class is obsolete and no longer used")] public enum Theme { Light, Dark } ...
using System; using System.Diagnostics; using System.Windows; namespace MahApps.Metro { /// <summary> /// An enum that represents the two Metro styles: Light and Dark. /// </summary> [Obsolete("This class is obsolete")] public enum Theme { Light, Dark } /// <summary> ...
mit
C#
4da70505051125d5d00f652ec8d81a88aced920b
Create answer.cs
neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu...
POH6/tsubame/answer.cs
POH6/tsubame/answer.cs
/* * 結果 https://paiza.jp/poh/joshibato/tsubame/result/e5732672 */ public class answer { public static void Main(){ var n_str = System.Console.ReadLine(); var n = int.Parse(n_str); var n1 = int.Parse(n_str.Substring(1,1)); var n10 = int.Parse(n_str.Substring(0,1));...
mit
C#
1d13bb8d0a0265deac570944098d96204812cc28
Create empty folder
lizaamini/CSharpExercises
Sheet-10/Exercise10.cs
Sheet-10/Exercise10.cs
mit
C#
ed6d1ccd958622bbca51c8cab54f0c3dfd4a6296
Add a method for getting settings UI components automatically from a target class
smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu-new,UselessToucan/osu,EVAST9919/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,2yangk23/osu,ppy/osu
osu.Game/Configuration/SettingSourceAttribute.cs
osu.Game/Configuration/SettingSourceAttribute.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.Linq; using System.Reflection; using JetBrains.Annotations; using osu.Framework.Bindables; using osu.Framewor...
mit
C#
81bf001df95dabac02df07292621c8c588e72f05
Remove commented out code.
giokats/Pcap.Net,giokats/Pcap.Net,petredimov/Pcap.Net,suarez-duran-m/pcap-pade,prvillagra/Pcap.Net,bricknerb/Pcap.Net,OperatorOverload/Pcap.Net,suarez-duran-m/pcap-pade,prvillagra/Pcap.Net,petredimov/Pcap.Net,prvillagra/Pcap.Net,OperatorOverload/Pcap.Net,OperatorOverload/Pcap.Net,bricknerb/Pcap.Net,bricknerb/Pcap.Net,p...
PcapDotNet/src/PcapDotNet.Packets/IpV4/IpV4FragmentationOptions.cs
PcapDotNet/src/PcapDotNet.Packets/IpV4/IpV4FragmentationOptions.cs
using System; namespace PcapDotNet.Packets.IpV4 { /// <summary> /// Fragmentation information flags for IPv4 datagram. /// </summary> [Flags] public enum IpV4FragmentationOptions : ushort { /// <summary> /// May Fragment, Last Fragment. /// </summary> ...
using System; namespace PcapDotNet.Packets.IpV4 { /// <summary> /// Fragmentation information flags for IPv4 datagram. /// </summary> [Flags] public enum IpV4FragmentationOptions : ushort { /// <summary> /// May Fragment, Last Fragment. /// </summary> ...
bsd-3-clause
C#
cdbf6af20f095f4a4fef1238c35f217c0358d9e9
Update assembly info
Bitmapped/UmbIntranetRestrict,Bitmapped/UmbIntranetRestrict,Bitmapped/UmbIntranetRestrict
UmbIntranetRestrict/UmbIntranetRestrict/Properties/AssemblyInfo.cs
UmbIntranetRestrict/UmbIntranetRestrict/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("Umb...
mit
C#
462754b5b2296c665ed994f9f86a11b1426500a0
Enable nullable reference types in shared TestHooks files
tmat/roslyn,dotnet/roslyn,KevinRansom/roslyn,wvdd007/roslyn,AlekseyTs/roslyn,physhi/roslyn,sharwell/roslyn,gafter/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,KirillOsenkov/roslyn,sharwell/roslyn,tannergooding/roslyn,mgoertz-msft/roslyn,panopticoncentral/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,AmadeusW/...
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/TestHooks/IExpeditableDelaySource.cs
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/TestHooks/IExpeditableDelaySource.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; namespa...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Thread...
mit
C#
90a029a0a9547b2506f09eff7ae8d6cde58313c7
Create TransforWalls.cs
softwarejimenez/funnyBall
TransforWalls.cs
TransforWalls.cs
using UnityEngine; using System.Collections; public class TransforWalls : MonoBehaviour { public GameObject board; public GameObject WallsHorizontal; public GameObject WallsNorth; public GameObject WallsSouth; public GameObject WallsVertical; public GameObject WallsWest; public GameObject WallsEast; public...
agpl-3.0
C#
9e62e9d67dc75df1ed305534e346b5d8f134e201
Create Resources.cs
win120a/ACClassRoomUtil,win120a/ACClassRoomUtil
LoginPasswordUtil/C-Sharp-Version/Resources.cs
LoginPasswordUtil/C-Sharp-Version/Resources.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ACLoginPasswordUtil { public class Resources { public String baseCmd = "net.exe"; public String netCmd = " user Administrator "; public String armv7a = "key"; ...
apache-2.0
C#
a4f55949019fae906a231823aeeeb68f31dd4758
Create WernherChecker.cs
Magion/WernherChecker,linuxgurugamer/WernherChecker,Kerbas-ad-astra/WernherChecker
Source/WernherChecker.cs
Source/WernherChecker.cs
asd
mit
C#
31f6e00a117f5147deec287dff97c8da21ff7c7e
add missing file to version patcher
ronenbarak/Barak.VersionPatcher
src/Barak.VersionPatcher.Engine/StringIgnoreCaseEqualityComarer.cs
src/Barak.VersionPatcher.Engine/StringIgnoreCaseEqualityComarer.cs
using System; using System.Collections.Generic; namespace Barak.VersionPatcher.Engine { public class StringIgnoreCaseEqualityComarer : IEqualityComparer<string> { public bool Equals(string x, string y) { return string.Equals(x, y, StringComparison.OrdinalIgnoreCase); } ...
apache-2.0
C#
08b920e20be73b261db50337c1fa94e172351002
Add possibility to mock ConfigurationManager
lerthe61/Snippets,lerthe61/Snippets
dotNet/UnitTests/configurationMock.cs
dotNet/UnitTests/configurationMock.cs
using System; using System.Configuration; using System.Linq; using System.Reflection; namespace UnitTests.Helpers { // the default app.config is used. /// <summary> /// Allow to override default configuration file access via ConfigurationService for piece of code /// Main purpose: uni...
unlicense
C#
b97af21f8876f4e5f89c7cfd4fec2a2a11b65ecb
Create index.cshtml
Aleksandrovskaya/apmathclouddif
site/index.cshtml
site/index.cshtml
@{ double t_0 = 0; double t_end = 150; double step = 0.1; int N = Convert.ToInt32((t_end-t_0)/step) + 1; String data = ""; bool show_chart = false; if (IsPost){ show_chart = true; var number = Request["text1"]; double xd = number.AsInt(); double x1 = 0; double x2 = 0; double x3 = 0; ...
mit
C#
20ac21dd0d73476d43f6c4a51bcc0964e4ed9fb6
add CountDownTimer.cs
NDark/ndinfrastructure,NDark/ndinfrastructure
Unity/Timer/CountDownTimer.cs
Unity/Timer/CountDownTimer.cs
using UnityEngine; public class CountDownTimer { public float IntervalSec { get{return m_IntervalSec;} set{ m_IntervalSec = value ;} } public void Rewind() { m_NextTime = Time.time + m_IntervalSec; } public bool IsReady() { return ( Time.time > m_NextTime ) ; } float m_NextTime = 0.0f ; float m_Inte...
mit
C#
68697ccfbada7bf57f775b1d1655273d3dceb104
Change the name for criteria key value to match Silverlight one - Xaml instead of Silverlight
ronnymgm/csla-light,ronnymgm/csla-light,BrettJaner/csla,jonnybee/csla,ronnymgm/csla-light,MarimerLLC/csla,MarimerLLC/csla,JasonBock/csla,rockfordlhotka/csla,JasonBock/csla,jonnybee/csla,rockfordlhotka/csla,BrettJaner/csla,MarimerLLC/csla,jonnybee/csla,rockfordlhotka/csla,BrettJaner/csla,JasonBock/csla
Source/Csla.core/SingleCriteria.cs
Source/Csla.core/SingleCriteria.cs
using System; using Csla.Serialization; using Csla.Serialization.Mobile; using Csla.Core; namespace Csla { /// <summary> /// A single-value criteria used to retrieve business /// objects that only require one criteria value. /// </summary> /// <typeparam name="B"> /// Type of business object t...
using System; using Csla.Serialization; using Csla.Serialization.Mobile; using Csla.Core; namespace Csla { /// <summary> /// A single-value criteria used to retrieve business /// objects that only require one criteria value. /// </summary> /// <typeparam name="B"> /// Type of business object t...
mit
C#
61791abcbb1be8e56fb1186d69c3213896d4ba5d
add SqlServerTypes/Loader.cs which is not included by package install
SharpMap/SharpMap,SharpMap/SharpMap
UnitTests/SqlServerTypes/Loader.cs
UnitTests/SqlServerTypes/Loader.cs
using System; using System.IO; using System.Runtime.InteropServices; namespace SqlServerTypes { /// <summary> /// Utility methods related to CLR Types for SQL Server /// </summary> public class Utilities { [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)] pr...
lgpl-2.1
C#
47e7a2ed7a0c5634bbfb5b79c8f35f7f3b8cb08f
Create test.cs
sarathmunusamy/bootstrap,sarathmunusamy/bootstrap,sarathmunusamy/bootstrap
test.cs
test.cs
public class RafiTest { int a; int c; a = 10; a = 10; c=14; }
mit
C#
4d7087818b328acce770007e9e2b9ba7e885dd98
Create GetVersion.cs
UnityCommunity/UnityLibrary
Scripts/Helpers/Version/GetVersion.cs
Scripts/Helpers/Version/GetVersion.cs
using UnityEngine; using UnityEngine.UI; // Usage: attach this to UI Text component // it displays current version number from Ios/Android player settings with Application.version public class GetVersion : MonoBehaviour { void Awake() { var t = GetComponent<Text>(); if (t!=null) { ...
mit
C#
32c2942f809036eabbff38411c75f48f9b9bded4
Add ApplicationUser class for Identity and DbContext
wilk666/GnxDurandal,wilk666/GnxDurandal
Gnx/Gnx/Models/IdentityModels.cs
Gnx/Gnx/Models/IdentityModels.cs
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; namespace Gnx.Models { public class ApplicationUser : IdentityUser { public...
mit
C#
9c1e31aeced7791e6a7aba251dbc9ad9ff2cf076
add public api to create skia drawing context from canvas
AvaloniaUI/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,grokys/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalo...
src/Skia/Avalonia.Skia/Helpers/DrawingContextHelper.cs
src/Skia/Avalonia.Skia/Helpers/DrawingContextHelper.cs
using Avalonia.Platform; using Avalonia.Rendering; using SkiaSharp; namespace Avalonia.Skia.Helpers { public class DrawingContextHelper { /// <summary> /// Wrap Skia canvas in drawing context so we can use Avalonia api to render to external skia canvas /// this is useful in scenarios w...
mit
C#
2f1d20556d3a70db239a9a11cabbe56c071ca439
Fix to last commit.
pasadinhas/dad-project
SESDAD/CommonTypes/ThreadPool.cs
SESDAD/CommonTypes/ThreadPool.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace CommonTypes { public delegate void ThreadWork(); public class ThreadPool { private Queue<ThreadWork> requestedTask; private int maxQueueT...
mit
C#
ecb8b9cc539d46555020173f6387cc8a222617d3
Create read-only dictionary for .NET version 2.0
lerwine/PowerShell-Modules
WPF/WpfCLR/ReadOnlyDictionary.cs
WPF/WpfCLR/ReadOnlyDictionary.cs
#if PS20 using System; using System.Collections.Generic; namespace WpfCLR { public class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue> { public const string ReadOnlyErrorMessage = "Dictionary is read-only"; private IDictionary<TKey, TValue> _innerDictionary; protected IDictionary<TKey, TValu...
apache-2.0
C#
dac5781af46b1e8293d12ece23c73fd032622649
Update Work.cs
datanets/kask-kiosk,datanets/kask-kiosk
Models/Work.cs
Models/Work.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Empty.Models { public class Work { public int Applicant_ID { get; set; } public int Employer_ID { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Empty.Models { public class Work { public int applicant_ID { get; set; } public int employer_ID { get; set; } } }
mit
C#
b76463a662aac42b4158f3532b7ac72b5fac0584
Call start in animation
charlenni/Mapsui,charlenni/Mapsui
Mapsui.Core/ViewportAnimations/SetCenterAnimation.cs
Mapsui.Core/ViewportAnimations/SetCenterAnimation.cs
using System.Collections.Generic; using Mapsui.Utilities; namespace Mapsui.ViewportAnimations { public class SetCenterAnimation { public static List<AnimationEntry<Viewport>> Create(IViewport viewport, double centerX, double centerY, long duration, Easing? easing) { var animations ...
using System.Collections.Generic; using Mapsui.Utilities; namespace Mapsui.ViewportAnimations { public class SetCenterAnimation { public static List<AnimationEntry<Viewport>> Create(IViewport viewport, double centerX, double centerY, Easing? easing) { return new List<AnimationEntry...
mit
C#
1b629f16bfc3472fc63b8d2185c72683f086b2ea
Update Vendor_Functions.cs
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Test/AdventureWorksFunctionalModel/Purchasing/Vendor_Functions.cs
Test/AdventureWorksFunctionalModel/Purchasing/Vendor_Functions.cs
 using NakedFunctions; using AW.Types; using System; using System.Collections.Generic; using System.Linq; namespace AW.Functions { public static class Vendor_Functions { [MemberOrder(1)] public static List<Product> ShowAllProducts(this Vendor vendor) => vendor.Products.Select(vp =...
 using NakedFunctions; using AW.Types; using System; using System.Collections.Generic; using System.Linq; namespace AW.Functions { public static class Vendor_Functions { public static List<Product> ShowAllProducts(this Vendor vendor) => vendor.Products.Select(vp => vp.Product).ToList(); ...
apache-2.0
C#
21f64263681456ace7e8aa0c58df24f4fd19ebd2
Update the reporting order to be alphabetical
markaschell/SoftwareThresher
code/SoftwareThresher/SoftwareThresher/Reporting/Report.cs
code/SoftwareThresher/SoftwareThresher/Reporting/Report.cs
using System; using System.Collections.Generic; using System.Linq; using SoftwareThresher.Observations; using SoftwareThresher.Utilities; namespace SoftwareThresher.Reporting { public interface IReport { void Start(string configurationFilename); void WriteObservations(string title, int changeInObservat...
using System; using System.Collections.Generic; using SoftwareThresher.Observations; using SoftwareThresher.Utilities; namespace SoftwareThresher.Reporting { public interface IReport { void Start(string configurationFilename); void WriteObservations(string title, int changeInObservations, int numberOfP...
mit
C#
4a97aecf3f354040956605c9025bda33810a0662
Update BinarySearch.cs
flextry/Telerik-Academy,TelerikAcademy/flextry-Telerik-Academy,flextry/Telerik-Academy,flextry/Telerik-Academy,flextry/Telerik-Academy,Psykepro/Telerik-Academy,TelerikAcademy/flextry-Telerik-Academy,flextry/Telerik-Academy,TelerikAcademy/flextry-Telerik-Academy,TelerikAcademy/flextry-Telerik-Academy,Psykepro/Telerik-Ac...
Programming/0.Codes/BinarySearch.cs
Programming/0.Codes/BinarySearch.cs
using System; class Program { static int BinSearch(int[] array, int key) { Array.Sort(array); int min = 0; int max = array.Length - 1; while (max >= min) { int point = (min + max) / 2; if (array[point] > key) { max = ...
class Program { static int BinSearch(int[] array, int key) { Array.Sort(array); int min = 0; int max = array.Length - 1; while (max >= min) { int point = (min + max) / 2; if (array[point] > key) ...
mit
C#
3c35839bdc53fff5c34d638a0d159ffd771af3b0
add second caching strategy (list)
StrubT/StrubTUtilities
StrubTUtilities/CachedEnumerable.cs
StrubTUtilities/CachedEnumerable.cs
using System; using System.Collections; using System.Collections.Generic; namespace StrubT { class CachedEnumerable<T> : IEnumerable<T> { const CachingStrategy defaultStrategy = CachingStrategy.SinglyLinkedList; readonly IEnumerable<T> enumerable; public CachedEnumerable() => enumerable = null; public C...
using System.Collections; using System.Collections.Generic; namespace StrubT { class CachedEnumerable<T> : IEnumerable<T> { IEnumerator<T> enumerator; bool? isEmpty; T current; CachedEnumerable<T> next; public CachedEnumerable() => isEmpty = true; public CachedEnumerable(IEnumerable<T> enumerable) : ...
mit
C#
f3968fb86e5ff91397e9f8a42ebfca73b1836b19
Change Russian to Русский for the language selector
zlphoenix/Wox,AlexCaranha/Wox,mika76/Wox,sanbinabu/Wox,EmuxEvans/Wox,mika76/Wox,JohnTheGr8/Wox,vebin/Wox,kdar/Wox,dstiert/Wox,EmuxEvans/Wox,18098924759/Wox,18098924759/Wox,dstiert/Wox,jondaniels/Wox,yozora-hitagi/Saber,JohnTheGr8/Wox,AlexCaranha/Wox,EmuxEvans/Wox,kayone/Wox,kdar/Wox,kdar/Wox,sanbinabu/Wox,jondaniels/Wo...
Wox.Core/i18n/AvailableLanguages.cs
Wox.Core/i18n/AvailableLanguages.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Wox.Core.i18n { internal static class AvailableLanguages { public static Language English = new Language("en", "English"); public static Language Chinese = new Language("zh-cn", "中文"); publi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Wox.Core.i18n { internal static class AvailableLanguages { public static Language English = new Language("en", "English"); public static Language Chinese = new Language("zh-cn", "中文"); publi...
mit
C#
4d8a8e9654d70b518b8e8d11feddb39d03481342
Simplify the `sys.path` setting in the PyImportTests.
Konstantin-Posudevskiy/pythonnet,yagweb/pythonnet,denfromufa/pythonnet,dmitriyse/pythonnet,QuantConnect/pythonnet,denfromufa/pythonnet,QuantConnect/pythonnet,pythonnet/pythonnet,QuantConnect/pythonnet,AlexCatarino/pythonnet,Konstantin-Posudevskiy/pythonnet,dmitriyse/pythonnet,denfromufa/pythonnet,AlexCatarino/pythonnet...
src/embed_tests/pyimport.cs
src/embed_tests/pyimport.cs
using System; using System.Reflection; using System.Collections.Generic; using NUnit.Framework; using Python.Runtime; using System.IO; namespace Python.EmbeddingTest { [TestFixture] public class PyImportTest { private IntPtr gs; [SetUp] public void SetUp() { Pyt...
using System; using System.Reflection; using System.Collections.Generic; using NUnit.Framework; using Python.Runtime; namespace Python.EmbeddingTest { [TestFixture] public class PyImportTest { private IntPtr gs; [SetUp] public void SetUp() { PythonEngine.Initial...
mit
C#
9b2a377ea07cbaef78ba3d2acb2b35ac0780ca74
Add contracts for System.OperatingSystem
ndykman/CodeContracts,huoxudong125/CodeContracts,SergeyTeplyakov/CodeContracts,SergeyTeplyakov/CodeContracts,SergeyTeplyakov/CodeContracts,hubuk/CodeContracts,hubuk/CodeContracts,Microsoft/CodeContracts,ndykman/CodeContracts,hubuk/CodeContracts,huoxudong125/CodeContracts,huoxudong125/CodeContracts,Microsoft/CodeContrac...
Microsoft.Research/Contracts/MsCorlib/System.OperatingSystem.cs
Microsoft.Research/Contracts/MsCorlib/System.OperatingSystem.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#
f456871cf6db8e12bd77a9680c293f5e77676d3e
Return max volume instead of mean volume
ChangSpivey/SubtitleMemorize
UtilsAudio.cs
UtilsAudio.cs
// Copyright (C) 2016 Chang Spivey // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 3 of the License, or // (at your option) any later version. // // This program is dist...
// Copyright (C) 2016 Chang Spivey // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 3 of the License, or // (at your option) any later version. // // This program is dist...
agpl-3.0
C#
3e1b3c2e0da7dc99185569f3d047ff750f345389
Add ability to set loggerFactory for the ExceptionHandlerMiddleware
JosephWoodward/GlobalExceptionHandlerDotNet,JosephWoodward/GlobalExceptionHandlerDotNet
src/GlobalExceptionHandler/WebApi/WebApiExceptionHandlingExtension.cs
src/GlobalExceptionHandler/WebApi/WebApiExceptionHandlingExtension.cs
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace GlobalExceptionHandler.WebApi { public static class WebApiExceptionHandlingExtensions { [Obsolete("UseWebApiGlobalExceptionHandler...
using System; using Microsoft.AspNetCore.Builder; namespace GlobalExceptionHandler.WebApi { public static class WebApiExceptionHandlingExtensions { [Obsolete("UseWebApiGlobalExceptionHandler is obsolete, use app.UseExceptionHandler().WithConventions(..) instead", true)] public static IApplicat...
mit
C#
8d099cc0408a53faaf7a61be50d117c51d084f23
undo change to multitarget
Esri/arcgis-runtime-demos-dotnet
src/MultiTargeting/Apps/TestApps.Droid/Resources/Resource.Designer.cs
src/MultiTargeting/Apps/TestApps.Droid/Resources/Resource.Designer.cs
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerate...
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerate...
apache-2.0
C#
1082e3aaecf64cf11f8b0d83f297f0292358278f
添加X、Y对应的纬度、经度注释
JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WxOpen,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,wanddy/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WxOpen,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,do...
Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Request/RequestMessageLocation.cs
Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Request/RequestMessageLocation.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Senparc.Weixin.MP.Entities { public class RequestMessageLocation : RequestMessageBase, IRequestMessageBase { public override RequestMsgType MsgType { get { return RequestMsgType.Location...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Senparc.Weixin.MP.Entities { public class RequestMessageLocation : RequestMessageBase, IRequestMessageBase { public override RequestMsgType MsgType { get { return RequestMsgType.Location...
apache-2.0
C#
8b59d9aa325bbba7105f1665c651bb88a000ed48
Update 05-Scan-Test.cs
awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a...
.dotnet/example_code/DynamoDB/TryDax/05-Scan-Test.cs
.dotnet/example_code/DynamoDB/TryDax/05-Scan-Test.cs
// snippet-start:[dynamodb.dotNET.trydax.05-Scan-Test] // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 using System; using System.Threading.Tasks; using Amazon.Runtime; using Amazon.DAX; using Amazon.DynamoDBv2.Model; namespace ClientTest { class Prog...
// snippet-sourcedescription:[ ] // snippet-service:[dynamodb] // snippet-keyword:[dotNET] // snippet-keyword:[Amazon DynamoDB] // snippet-keyword:[Code Sample] // snippet-keyword:[ ] // snippet-sourcetype:[full-example] // snippet-sourcedate:[ ] // snippet-sourceauthor:[AWS] // snippet-start:[dynamodb.dotNET.trydax.05...
apache-2.0
C#
ef024b404c8dd4355b73023023b7c699ac34af78
Test for conversion to dynamic objects again
AngleSharp/AngleSharp.Scripting,AngleSharp/AngleSharp.Scripting
AngleSharp.Scripting.CSharp.Tests/ConversionTests.cs
AngleSharp.Scripting.CSharp.Tests/ConversionTests.cs
namespace AngleSharp.Scripting.CSharp.Tests { using NUnit.Framework; using System; using System.Threading.Tasks; [TestFixture] public class ConversionTests { [Test] [ExpectedException(typeof(ArgumentNullException))] public void ConvertCurrentDocumentOfFreshBrowsingConte...
namespace AngleSharp.Scripting.CSharp.Tests { using NUnit.Framework; using System; using System.Threading.Tasks; [TestFixture] public class ConversionTests { [Test] [ExpectedException(typeof(ArgumentNullException))] public void ConvertCurrentDocumentOfFreshBrowsingConte...
mit
C#
c2820f063e0a255bb89f5592c7fe9244ea527637
Tidy up of acceptor.
rob-blackbourn/JetBlack.MessageBus
JetBlack.MessageBus.TopicBus.Distributor/Acceptor.cs
JetBlack.MessageBus.TopicBus.Distributor/Acceptor.cs
using System; using System.Net; using System.Net.Sockets; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.ServiceModel.Channels; using System.Threading.Tasks; using log4net; using JetBlack.MessageBus.Common.Network; namespace JetBlack.MessageBus.TopicBus.Distributor { internal class Ac...
using System; using System.Net; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.ServiceModel.Channels; using JetBlack.MessageBus.Common.Network; using log4net; namespace JetBlack.MessageBus.TopicBus.Distributor { internal class Acceptor { private static readonly ILog Log = ...
mit
C#
848134c2afb1cb095e3209ac7fb033424f935bfd
Test touchup for appveyor again
lydonchandra/RestSharp,wparad/RestSharp,eamonwoortman/RestSharp.Unity,cnascimento/RestSharp,chengxiaole/RestSharp,dmgandini/RestSharp,who/RestSharp,dgreenbean/RestSharp,dyh333/RestSharp,wparad/RestSharp,periface/RestSharp,mwereda/RestSharp,RestSharp-resurrected/RestSharp,KraigM/RestSharp,huoxudong125/RestSharp,amccarte...
RestSharp.IntegrationTests/MultipartFormDataTests.cs
RestSharp.IntegrationTests/MultipartFormDataTests.cs
using System; using System.Net; using RestSharp.IntegrationTests.Helpers; using Xunit; namespace RestSharp.IntegrationTests { public class MultipartFormDataTests { [Fact] public void MultipartFormDataAsync() { const string baseUrl = "http://localhost:8888/"; us...
using System; using System.Net; using RestSharp.IntegrationTests.Helpers; using Xunit; namespace RestSharp.IntegrationTests { public class MultipartFormDataTests { [Fact] public void MultipartFormDataAsync() { const string baseUrl = "http://localhost:8888/"; us...
apache-2.0
C#
2db0560706858090b72af90b9ab8fc1b2c00a1f4
Update PlayFabAuthenticationContext.cs (#635)
PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator
targets/unity-v2/source/Shared/Public/PlayFabAuthenticationContext.cs
targets/unity-v2/source/Shared/Public/PlayFabAuthenticationContext.cs
namespace PlayFab { public sealed class PlayFabAuthenticationContext { public PlayFabAuthenticationContext() { } public PlayFabAuthenticationContext(string clientSessionTicket, string entityToken, string playFabId, string entityId, string entityType) : this() { #if !DISA...
namespace PlayFab { public sealed class PlayFabAuthenticationContext { public PlayFabAuthenticationContext() { } public PlayFabAuthenticationContext(string clientSessionTicket, string entityToken, string playFabId, string entityId, string entityType) : this() { #if !DISA...
apache-2.0
C#
27754fea55243392a978e4293a891d6de9e56da6
Implement displaying errors
manisero/DSLExecutor
dev/Manisero.DSLExecutor.WebApp/Application/DSLProcessor.cs
dev/Manisero.DSLExecutor.WebApp/Application/DSLProcessor.cs
using System; using System.Collections.Generic; using Manisero.DSLExecutor.Library.Math; using Manisero.DSLExecutor.Parser.SampleDSL; namespace Manisero.DSLExecutor.WebApp.Application { public class DSLProcessorInput { public string DSL { get; set; } } public class DSLProcessorOut...
using System; using System.Collections.Generic; using Manisero.DSLExecutor.Library.Math; using Manisero.DSLExecutor.Parser.SampleDSL; namespace Manisero.DSLExecutor.WebApp.Application { public class DSLProcessorInput { public string DSL { get; set; } } public class DSLProcessorOut...
mit
C#
23385e2f31bff931301ac7a120f774e3cac7fb8e
remove kestrel header
agrc/daq-web-framework,agrc/daq-web-framework,agrc/daq-web-framework,agrc/daq-web-framework
api/Program.cs
api/Program.cs
using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace daq { public class Program { public static void Main(string[] args) { var config = new ConfigurationBuilder() .AddCommandLine(args) .AddEnvironmen...
using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace daq { public class Program { public static void Main(string[] args) { var config = new ConfigurationBuilder() .AddCommandLine(args) .AddEnvironmen...
mit
C#
a39c4147fde774439ff94e1fd5696d7efd4e0304
Fix bugs in windows phone forms renderer
Redth/ZXing.Net.Mobile,syphe/ZXing.Net.Mobile
Source/ZXing.Net.Mobile.Forms.WindowsPhone/ZXingScannerViewRenderer.cs
Source/ZXing.Net.Mobile.Forms.WindowsPhone/ZXingScannerViewRenderer.cs
using System; using Xamarin.Forms; using ZXing.Net.Mobile.Forms; using System.ComponentModel; using System.Reflection; using Xamarin.Forms.Platform.WinPhone; using ZXing.Net.Mobile.Forms.WindowsPhone; [assembly: ExportRenderer(typeof(ZXingScannerView), typeof(ZXingScannerViewRenderer))] namespace ZXing.Net.Mobile.For...
using System; using Xamarin.Forms; using ZXing.Net.Mobile.Forms; using System.ComponentModel; using System.Reflection; using Xamarin.Forms.Platform.WinPhone; using ZXing.Net.Mobile.Forms.WindowsPhone; [assembly: ExportRenderer(typeof(ZXingScannerView), typeof(ZXingScannerViewRenderer))] namespace ZXing.Net.Mobile.For...
apache-2.0
C#
e49b025706a47a5888d38182a7618acea4745c0e
Update EntityQueryRepository.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityQueryRepository.cs
TIKSN.Framework.Core/Data/EntityFrameworkCore/EntityQueryRepository.cs
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.EntityFrameworkCore { public class EntityQueryRepository<TContext, TEntity, TIdentity> : EntityRepository<TContext, TEntity>, IQueryRep...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.EntityFrameworkCore { public class EntityQueryRepository<TContext, TEntity, TIdentity> : EntityRepository<TContext, TEntity>, IQueryRep...
mit
C#
3aaae6964f8eba30ff78b426fe0569a99eacd4f1
Fix NPE issue where UvShutdownReq being garbage collected before the shutdown callback executed
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Server.Kestrel/Networking/UvShutdownReq.cs
src/Microsoft.AspNet.Server.Kestrel/Networking/UvShutdownReq.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.Runtime.InteropServices; namespace Microsoft.AspNet.Server.Kestrel.Networking { /// <summary> /// Summary descriptio...
// 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; namespace Microsoft.AspNet.Server.Kestrel.Networking { /// <summary> /// Summary description for UvShutdownRequest /// </summ...
apache-2.0
C#
16aa9154cc08b96ac56271feeca43786357502d5
Add support for Metadata on SubscriptionItemOption
stripe/stripe-dotnet
src/Stripe.net/Services/Subscriptions/SubscriptionItemOption.cs
src/Stripe.net/Services/Subscriptions/SubscriptionItemOption.cs
namespace Stripe { using System.Collections.Generic; using Newtonsoft.Json; public class SubscriptionItemOption : INestedOptions { /// <summary> /// A set of key/value pairs that you can attach to a charge object. It can be useful for /// storing additional information about the...
namespace Stripe { using System.Collections.Generic; using Newtonsoft.Json; public class SubscriptionItemOption : INestedOptions { /// <summary> /// Plan ID for this item. /// </summary> [JsonProperty("plan")] public string PlanId { get; set; } /// <summ...
apache-2.0
C#