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 |
|---|---|---|---|---|---|---|---|---|
fdeaaf8e4eb1f19cd53cfabc8c1dc09334009b67 | Improve error message when utc-to-local doesn't receive a dateTime | Seddryck/NBi,Seddryck/NBi | NBi.Core/Transformation/Transformer/Native/UtcToLocal.cs | NBi.Core/Transformation/Transformer/Native/UtcToLocal.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Transformation.Transformer.Native
{
class UtcToLocal : INativeTransformation
{
public string TimeZoneLabel { get; }
public UtcToLocal(string timeZoneLabel)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Transformation.Transformer.Native
{
class UtcToLocal : INativeTransformation
{
public string TimeZoneLabel { get; }
public UtcToLocal(string timeZoneLabel)
... | apache-2.0 | C# |
69b3beec11da84696225e8bdd1d054c3d29dff7d | fix warning | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/TransactionBroadcasting/BroadcastTransactionViewModel.cs | WalletWasabi.Fluent/ViewModels/TransactionBroadcasting/BroadcastTransactionViewModel.cs | using System.Linq;
using System.Reactive.Linq;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Blockchain.TransactionBroadcasting;
using WalletWasabi.Blockchain.Transactions;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Stores;
namespace WalletWasabi.Fluent.ViewModels.TransactionBroadcasti... | using System.Linq;
using System.Reactive.Linq;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Blockchain.TransactionBroadcasting;
using WalletWasabi.Blockchain.Transactions;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Stores;
namespace WalletWasabi.Fluent.ViewModels.TransactionBroadcasti... | mit | C# |
c04f7927e3ee1be6113b03020bf362e99e75571b | Update Validation.cs | maniero/SOpt,bigown/SOpt,bigown/SOpt,bigown/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,bigown/SOpt,maniero/SOpt,bigown/SOpt,maniero/SOpt,maniero/SOpt,bigown/SOpt,bigown/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,bigown/SOpt,maniero/SOpt,bigown/SOpt,bigown/SOpt,maniero/SOpt,manie... | CSharp/Algorithm/Validation.cs | CSharp/Algorithm/Validation.cs | using static System.Console;
public class Program {
public static void Main() {
var idArtista = 0;
while (true) {
WriteLine("Digite o ID do artista:");
if (int.TryParse(ReadLine(), out idArtista)) break;
}
WriteLine("Digite o nome do artista:");
var nomeArtista = ReadLine();
WriteLine("Digite o sobrenome do ... | using static System.Console;
public class Program {
public static void Main() {
var idArtista = 0;
while (true) {
WriteLine("Digite o ID do artista:");
if (int.TryParse(ReadLine(), out idArtista)) break;
}
WriteLine("Digite o nome do artista:");
var nomeArtista = ReadLine();
WriteLine("Digite o sobr... | mit | C# |
d0a12b7d02a32ea4aca6932fbc5907fbbfb86d73 | Add TimeIn to the Json Returned | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin | SignInCheckIn/SignInCheckIn/Models/DTO/ParticipantDto.cs | SignInCheckIn/SignInCheckIn/Models/DTO/ParticipantDto.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Practices.ObjectBuilder2;
using MinistryPlatform.Translation.Models.DTO;
using Newtonsoft.Json;
namespace SignInCheckIn.Models.DTO
{
public class ParticipantDto
{
public int EventParticipantId { get; set; }
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Practices.ObjectBuilder2;
using MinistryPlatform.Translation.Models.DTO;
using Newtonsoft.Json;
namespace SignInCheckIn.Models.DTO
{
public class ParticipantDto
{
public int EventParticipantId { get; set; }
publ... | bsd-2-clause | C# |
55f5994347c1f1173ab4e6faecb562ea7cc92813 | Switch the default work directory to the current directory on netstandard | jnm2/dotnet-test-nunit,nunit/dotnet-test-nunit | src/dotnet-test-nunit/Env.cs | src/dotnet-test-nunit/Env.cs | // ***********************************************************************
// Copyright (c) 2016 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | // ***********************************************************************
// Copyright (c) 2016 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | mit | C# |
2bea3bcd677fc2570512613173b2729307d68604 | Make one of the inheritance test classes sealed | jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm | tests/inheritance/inheritance.cs | tests/inheritance/inheritance.cs | using System;
public class Point2
{
public Point2(int X, int Y)
{
this.X = X;
this.Y = Y;
}
public int X;
public int Y;
}
public class Point3 : Point2
{
public Point3(int X, int Y, int Z)
: base(X, Y)
{
this.Z = Z;
}
public int Z;
}
public sealed ... | using System;
public class Point2
{
public Point2(int X, int Y)
{
this.X = X;
this.Y = Y;
}
public int X;
public int Y;
}
public class Point3 : Point2
{
public Point3(int X, int Y, int Z)
: base(X, Y)
{
this.Z = Z;
}
public int Z;
}
public class P... | mit | C# |
9b08f573baeb360e0f5135f98f5205b7145757e5 | Fix room not created before being joined | smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu | osu.Game/Tests/Visual/RealtimeMultiplayer/RealtimeMultiplayerTestScene.cs | osu.Game/Tests/Visual/RealtimeMultiplayer/RealtimeMultiplayerTestScene.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.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | // 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.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | mit | C# |
7e64f663328ad676ac1b14dbd21d7e53688f28cb | Revert back pre initialize auto-properties. | sendgrid/sendgrid-csharp,dubrovkinmaxim/sendgrid-csharp,sendgrid/sendgrid-csharp,dubrovkinmaxim/sendgrid-csharp,sendgrid/sendgrid-csharp | SendGrid/SendGrid/Helpers/Mail/Personalization.cs | SendGrid/SendGrid/Helpers/Mail/Personalization.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace SendGrid.Helpers.Mail
{
public class Personalization
{
[JsonProperty(PropertyName = "to")]
public List<Email> Tos { get; set; }
[JsonProperty(PropertyName = "cc")]
public List<Email> Ccs { get; set; ... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace SendGrid.Helpers.Mail
{
public class Personalization
{
[JsonProperty(PropertyName = "to")]
public List<Email> Tos { get; set; } = new List<Email>();
[JsonProperty(PropertyName = "cc")]
public List<Em... | mit | C# |
82f2a26d161ae310607526de96e255853a9509a9 | Use a custom comparison in the Benchmark app | jamesfoster/DeepEqual | src/DeepEqual.Benchmark/Program.cs | src/DeepEqual.Benchmark/Program.cs | namespace DeepEqual.Benchmark
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Syntax;
internal class Program
{
private static void Main(string[] args)
{
var object1 = new
{
Int = 1L,
Enum = System.UriKind.Absolute,
List = new List<int> {1, 2, 3},
Inne... | namespace DeepEqual.Benchmark
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Syntax;
internal class Program
{
private static void Main(string[] args)
{
var object1 = new
{
Int = 1L,
Enum = System.UriKind.Absolute,
List = new List<int> {1, 2, 3},
Inne... | mit | C# |
eca1744af3fcce5825919c7d4068883e7508c393 | Use SetUp and TearDown methods to cleanup LocaleManagerTests | redbluegames/unity-bulk-rename,redbluegames/unity-mulligan-renamer | Assets/RedBlueGames/MulliganRenamer/Tests/Editor/LocaleManagerTests.cs | Assets/RedBlueGames/MulliganRenamer/Tests/Editor/LocaleManagerTests.cs | /* MIT License
Copyright (c) 2020 Murillo Pugliesi Lopes, https://github.com/Mukarillo
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 License
Copyright (c) 2020 Murillo Pugliesi Lopes, https://github.com/Mukarillo
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# |
cf75580eae60dd53aed2a755ddb5dbc5e8bd1080 | Remove incorrect comment. | mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/ma... | src/Manos/Manos.Http/HttpServer.cs | src/Manos/Manos.Http/HttpServer.cs | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// 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,... | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// 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,... | mit | C# |
cd0d2af68431c3116cd44e60f9fa43d473cb2256 | Add light theme setting support | File-New-Project/EarTrumpet | EarTrumpet/Services/UserSystemPreferencesService.cs | EarTrumpet/Services/UserSystemPreferencesService.cs | using Microsoft.Win32;
namespace EarTrumpet.Services
{
public static class UserSystemPreferencesService
{
public static bool IsTransparencyEnabled
{
get
{
using (var baseKey = RegistryKey.OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64))
... | using Microsoft.Win32;
namespace EarTrumpet.Services
{
public static class UserSystemPreferencesService
{
public static bool IsTransparencyEnabled
{
get
{
using (var baseKey = RegistryKey.OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry64))
... | mit | C# |
ab1f689302f3b3e33be0b0ace369562b0a3749d8 | fix body test | chumak84/easygoing-html-builder | EasyGoing.HtmlBuilder/EasyGoing.HtmlBuilder/Body.cs | EasyGoing.HtmlBuilder/EasyGoing.HtmlBuilder/Body.cs | namespace EasyGoing.HtmlBuilder
{
public class Body
{
public string GetString()
{
return "<body></body>";
}
}
} | namespace EasyGoing.HtmlBuilder
{
public class Body
{
}
} | mit | C# |
4119df0dc4e31dd4b8307f3589b560b078ace124 | Add NodeWeight property to FragmentFlowResource (#68) | uo-lca/CalRecycleLCA,uo-lca/CalRecycleLCA | LCIAToolAPI/Entities/Models/FragmentFlowResource.cs | LCIAToolAPI/Entities/Models/FragmentFlowResource.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities.Models {
/// <summary>
/// FlowPropertyMagnitude - associates Flow Property with Magnitude.
/// Embedded in FragmentFlowResource model.
/// </summary>
public clas... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities.Models {
/// <summary>
/// FlowPropertyMagnitude - associates Flow Property with Magnitude.
/// Embedded in FragmentFlowResource model.
/// </summary>
public clas... | bsd-2-clause | C# |
b68f21a096f7e0d94270932f691f1bde3e6773a9 | Add Execute method to DSLExecutor | manisero/DSLExecutor | dev/Manisero.DSLExecutor/DSLExecutor.cs | dev/Manisero.DSLExecutor/DSLExecutor.cs | using System;
using Manisero.DSLExecutor.Domain.ExpressionsDomain;
namespace Manisero.DSLExecutor
{
public interface IDSLExecutor
{
TResult ExecuteExpression<TResult>(IExpression<TResult> expression);
}
public class DSLExecutor : IDSLExecutor
{
public TResult ExecuteEx... | namespace Manisero.DSLExecutor
{
// This project can output the Class library as a NuGet Package.
// To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "Produce outputs on build".
public class DSLExecutor
{
}
}
| mit | C# |
a7a2cdd122fc88cc3ff9a764f09ec237bfb19eca | Update copyright | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.Mvc/Properties/AssemblyInfo.cs | Mindscape.Raygun4Net.Mvc/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("Ra... | 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("Ra... | mit | C# |
7be335de402d40c78fa2f5a2059345859d2a3457 | Update AtataSamples.MultipleBrowsersViaFixtureArguments project sources | atata-framework/atata-samples | src/AtataSamples.MultipleBrowsersViaFixtureArguments/SetUpFixture.cs | src/AtataSamples.MultipleBrowsersViaFixtureArguments/SetUpFixture.cs | using Atata;
using NUnit.Framework;
namespace AtataSamples.MultipleBrowsersViaFixtureArguments
{
[SetUpFixture]
public class SetUpFixture
{
[OneTimeSetUp]
public void GlobalSetUp()
{
AtataContext.GlobalConfiguration.
UseChrome().
With... | using Atata;
using NUnit.Framework;
namespace AtataSamples.MultipleBrowsersViaFixtureArguments
{
[SetUpFixture]
public class SetUpFixture
{
[OneTimeSetUp]
public void GlobalSetUp()
{
AtataContext.GlobalConfiguration.
UseChrome().
With... | apache-2.0 | C# |
d5dc69bf5df297a769439004c05958cd68aaabef | Fix .NET Standard assembly assets path. | neuecc/MagicOnion | src/MagicOnion.Client.Unity/Assets/Scripts/Editor/PackageExporter.cs | src/MagicOnion.Client.Unity/Assets/Scripts/Editor/PackageExporter.cs | using System;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
public static class PackageExporter
{
[MenuItem("Tools/Export Unitypackage")]
public static void Export()
{
// configure
var root = "Scripts/MagicOnion";
var exportPath = "./MagicOnion.Client.Un... | using System;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
public static class PackageExporter
{
[MenuItem("Tools/Export Unitypackage")]
public static void Export()
{
// configure
var root = "Scripts/MagicOnion";
var exportPath = "./MagicOnion.Client.Un... | mit | C# |
c3653c3d148f543eef21a351cf24e4ea74facfc0 | Change MaxDocs from int to long | adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net | src/Nest/Indices/IndexManagement/RolloverIndex/RolloverConditions.cs | src/Nest/Indices/IndexManagement/RolloverIndex/RolloverConditions.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nest
{
[JsonObject(MemberSerialization.OptIn)]
[JsonConverter(typeof(ReadAsTypeJsonConverter<RolloverConditions>))]
public interface IRolloverConditions
{
[JsonPro... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nest
{
[JsonObject(MemberSerialization.OptIn)]
[JsonConverter(typeof(ReadAsTypeJsonConverter<RolloverConditions>))]
public interface IRolloverConditions
{
[JsonPro... | apache-2.0 | C# |
69c3f96e0538bfe7f10b731ce9853da6571680d6 | fix issue #42 | hitesh97/omnisharp-roslyn,haled/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,fishg/omnisharp-roslyn,ChrisHel/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,sreal/omnisharp-roslyn,david-driscoll/omnisharp-roslyn,xdegtyarev/omnisharp-roslyn,david-driscoll/omnisharp-roslyn,fishg/omnisharp-roslyn,sriramgd/omnisharp-roslyn,ha... | src/OmniSharp/Api/ProjectSystem/OmnisharpController.ProjectSystem.cs | src/OmniSharp/Api/ProjectSystem/OmnisharpController.ProjectSystem.cs | using Microsoft.AspNet.Mvc;
using OmniSharp.AspNet5;
using OmniSharp.Models;
using OmniSharp.MSBuild;
namespace OmniSharp
{
public class ProjectSystemController
{
private readonly AspNet5Context _aspnet5Context;
private readonly MSBuildContext _msbuildContext;
public ProjectSystemCont... | using Microsoft.AspNet.Mvc;
using OmniSharp.AspNet5;
using OmniSharp.Models;
using OmniSharp.MSBuild;
namespace OmniSharp
{
public class ProjectSystemController
{
private readonly AspNet5Context _aspnet5Context;
private readonly MSBuildContext _msbuildContext;
public ProjectSystemCont... | mit | C# |
54eae6ff423017b613105f1c7f1878e780100a22 | Fix ConvertToInt32WithTruncation tests | cshung/coreclr,krk/coreclr,wtgodbe/coreclr,cshung/coreclr,krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,mmitche/coreclr,poizan42/coreclr,wtgodbe/coreclr,poizan42/coreclr,cshung/coreclr,mmitche/coreclr,mmitche/coreclr,poizan42/coreclr,krk/coreclr,cshung/corec... | tests/src/JIT/HardwareIntrinsics/X86/Sse2/ConvertToInt32WithTruncation.cs | tests/src/JIT/HardwareIntrinsics/X86/Sse2/ConvertToInt32WithTruncation.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.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
namespace IntelHardwareIntri... | // 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.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
namespace IntelHardwareIntri... | mit | C# |
844430502b548747b0ed4867e8a2bb230c031d7a | Replace parantheses with nullable-bool equality operation | ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game/Beatmaps/BeatSyncProviderExtensions.cs | osu.Game/Beatmaps/BeatSyncProviderExtensions.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Beatmaps
{
public static class BeatSyncProviderExtensions
{
/// <summary>
/// Check whether beat sync is currently available.
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Beatmaps
{
public static class BeatSyncProviderExtensions
{
/// <summary>
/// Check whether beat sync is currently available.
... | mit | C# |
9328f13588df78b11f3bb56b0f9f92317d5f333d | Update UnprotectSimpleSheet.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-... | Examples/CSharp/Worksheets/Security/Unprotect/UnprotectSimpleSheet.cs | Examples/CSharp/Worksheets/Security/Unprotect/UnprotectSimpleSheet.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security.Unprotect
{
public class UnprotectSimpleSheet
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Security.Unprotect
{
public class UnprotectSimpleSheet
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetData... | mit | C# |
16e2adcbacd41945432435b40d1ac216e554c81f | Exclude file from compilation on Mono | ddaspit/libpalaso,tombogle/libpalaso,JohnThomson/libpalaso,marksvc/libpalaso,hatton/libpalaso,glasseyes/libpalaso,ddaspit/libpalaso,sillsdev/libpalaso,hatton/libpalaso,darcywong00/libpalaso,ddaspit/libpalaso,gtryus/libpalaso,ddaspit/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,chrisvire/libpalaso,ermshiperete/libpal... | PalasoUIWindowsForms.Tests/Keyboarding/WinKeyboardDescriptionTests.cs | PalasoUIWindowsForms.Tests/Keyboarding/WinKeyboardDescriptionTests.cs | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
#if !__MonoCS__
using System;
using System.Collections.Generic;
using Microsoft.Unmanaged.TSF;
using NUnit.Framework;
using Palaso.Tests.Code;
using Palaso.UI.WindowsForms.Keyboarding.Windows;... | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Collections.Generic;
using Microsoft.Unmanaged.TSF;
using NUnit.Framework;
using Palaso.Tests.Code;
using Palaso.UI.WindowsForms.Keyboarding.Windows;
using Palaso.Wr... | mit | C# |
54c673e84b579c1097425dce8815892518751493 | Update Models/UserProfile for support set the rewards' winners complete. | tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer | DailySoccer2015/ApiApp/Models/UserProfile.cs | DailySoccer2015/ApiApp/Models/UserProfile.cs | using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApiApp.Models
{
/// <summary>
/// บัญชีผู้ใช้
/// </summary>
public class UserProfile
{
#region Properties
///... | using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApiApp.Models
{
/// <summary>
/// บัญชีผู้ใช้
/// </summary>
public class UserProfile
{
#region Properties
///... | mit | C# |
a2f7f660ee75a861b2cb92124d702fd51f98acbd | fix comment | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/CrashReport/ViewModels/CrashReportWindowViewModel.cs | WalletWasabi.Gui/CrashReport/ViewModels/CrashReportWindowViewModel.cs | using ReactiveUI;
using Splat;
using System;
using System.Reactive;
using System.Reactive.Linq;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.CrashReport.ViewModels
{
public class CrashReportWindowViewModel : ViewModelBase
{
public CrashRe... | using ReactiveUI;
using Splat;
using System;
using System.Reactive;
using System.Reactive.Linq;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.CrashReport.ViewModels
{
public class CrashReportWindowViewModel : ViewModelBase
{
public CrashRe... | mit | C# |
75339762fc105ff399a34fb34f089060c473c6aa | add iequatable for somagene | jobeland/NeuralNetwork | NeuralNetwork/NeuralNetwork/Genes/SomaGene.cs | NeuralNetwork/NeuralNetwork/Genes/SomaGene.cs | using System;
namespace ArtificialNeuralNetwork.Genes
{
public class SomaGene : IEquatable<SomaGene>
{
public double Bias;
public Type SummationFunction;
#region Equality Members
/// <summary>
/// Returns true if the fields of the SomaGene objects are the same.
... | using System;
namespace ArtificialNeuralNetwork.Genes
{
public class SomaGene
{
public double Bias;
public Type SummationFunction;
}
}
| mit | C# |
ef73e2c703fb12f05f6902a189f1a841830b4205 | Refactor getting AutoComplete context to AutoCompleteBufferContext | x335/omnisharp-server,svermeulen/omnisharp-server,corngood/omnisharp-server,syl20bnr/omnisharp-server,corngood/omnisharp-server,mispencer/OmniSharpServer,OmniSharp/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server | OmniSharp/AutoComplete/AutoCompleteHandler.cs | OmniSharp/AutoComplete/AutoCompleteHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using ICSharpCode.NRefactory;
using ICSharpCode.NRefactory.CSharp.Completion;
using ICSharpCode.NRefactory.Completion;
using ICSharpCode.NRefactory.Editor;
using OmniSharp.Parser;
namespace OmniSharp.AutoComplete
{
public class AutoCompleteHandler... | using System;
using System.Collections.Generic;
using System.Linq;
using ICSharpCode.NRefactory;
using ICSharpCode.NRefactory.CSharp.Completion;
using ICSharpCode.NRefactory.Completion;
using ICSharpCode.NRefactory.Editor;
using OmniSharp.Parser;
namespace OmniSharp.AutoComplete
{
public class AutoCompleteHandler... | mit | C# |
84d677c9ed59d419d0b2d3db1f744593373521a0 | Update assembly data | RRosier/Akismet.NET | Rosier.Akismet.Net/Properties/AssemblyInfo.cs | Rosier.Akismet.Net/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.
[ass... | 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.
[ass... | mit | C# |
dcda27542e83bf85540dbf6217220b4403329ff8 | Optimize SingletonLifestyle to minimize throwing exceptions | Miruken-DotNet/Miruken | Source/Miruken/Callback/SingletonLifestyle.cs | Source/Miruken/Callback/SingletonLifestyle.cs | namespace Miruken.Callback
{
using System.Threading.Tasks;
using Policy.Bindings;
public class SingletonLifestyle<T> : Lifestyle<T>
where T : class
{
private volatile T _instance;
protected override bool IsCompatibleWithParent(
Inquiry parent, LifestyleAttribute at... | namespace Miruken.Callback
{
using System.Threading.Tasks;
using Policy.Bindings;
public class SingletonLifestyle<T> : Lifestyle<T>
where T : class
{
private volatile T _instance;
protected override bool IsCompatibleWithParent(
Inquiry parent, LifestyleAttribute at... | mit | C# |
48c39b1d19ec9ffb2362641e48dd03f155b49268 | Add "Ranked & Approved Beatmaps" section | DrabWeb/osu,smoogipoo/osu,naoey/osu,UselessToucan/osu,naoey/osu,Nabile-Rahmani/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,2yangk23/osu,DrabWeb/osu,ppy/osu,Drezi126/osu,NeoAdonis/osu,Frontear/osuKyzer,smoogipooo/osu,peppy/osu-new,peppy/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,ZLima12/osu,ZLima12/osu... | osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs | osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Profile.Sections.Beatmaps;
namespace osu.Game.Overlays.Profile.Sections
{
public class Beatmaps... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Profile.Sections.Beatmaps;
namespace osu.Game.Overlays.Profile.Sections
{
public class Beatmaps... | mit | C# |
ed47b7d94512d7ff8c355e2fd275a17702ff3368 | Remove gaps | phaetto/serviceable-objects | Serviceable.Objects.Remote/Serialization/ExecutableCommandSpecification.cs | Serviceable.Objects.Remote/Serialization/ExecutableCommandSpecification.cs | namespace Serviceable.Objects.Remote.Serialization
{
using System;
using Serviceable.Objects.Remote.Dependencies;
using Serviceable.Objects.Security;
[Serializable]
public class ExecutableCommandSpecification : SerializableSpecification
{
public string Type;
public string DataT... | namespace Serviceable.Objects.Remote.Serialization
{
using System;
using Serviceable.Objects.Remote.Dependencies;
using Serviceable.Objects.Security;
[Serializable]
public class ExecutableCommandSpecification : SerializableSpecification
{
public string Type;
public string Data... | mit | C# |
5b694ad28b1610b24a0d9303d3c39f18e0d14e4b | Replace string with LocalisableString | ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu-new | osu.Game/Overlays/BreadcrumbControlOverlayHeader.cs | osu.Game/Overlays/BreadcrumbControlOverlayHeader.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserI... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Over... | mit | C# |
11da5a8a87fffef889ea44f076e89e433e3c7a3a | Update Console Program with the Repository call - Add the GetRoleMessageForNoneTest test method to test the None case | penblade/Training.CSharpWorkshop | Training.CSharpWorkshop.Tests/ProgramTests.cs | Training.CSharpWorkshop.Tests/ProgramTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Training.CSharpWorkshop.Tests
{
[TestClass]
public class ProgramTests
{
[Ignore]
[TestMethod]
public void IgnoreTest()
{
Assert.Fail();
}
[TestMethod()]
public v... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Training.CSharpWorkshop.Tests
{
[TestClass]
public class ProgramTests
{
[Ignore]
[TestMethod]
public void IgnoreTest()
{
Assert.Fail();
}
[TestMethod()]
public v... | mit | C# |
98c3cb3870e4f9a4dc9be19369ef4e9bc0ed95b4 | Update PathDrawNode.cs | Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/Renderer/Nodes/PathDrawNode.cs | src/Core2D/Modules/Renderer/Nodes/PathDrawNode.cs | #nullable disable
using Core2D.Model.Renderer;
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Shapes;
using Core2D.ViewModels.Style;
using AM = Avalonia.Media;
using AP = Avalonia.Platform;
namespace Core2D.Modules.Renderer.Nodes
{
internal class PathDrawNode : DrawNode, IPathDrawNode
{
pu... | #nullable disable
using Core2D.Model.Renderer;
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Shapes;
using Core2D.ViewModels.Style;
using AM = Avalonia.Media;
using AP = Avalonia.Platform;
namespace Core2D.Modules.Renderer.Nodes
{
internal class PathDrawNode : DrawNode, IPathDrawNode
{
pu... | mit | C# |
b6e980cc3c0605e16385a4933894f885df55fdf9 | Update AsyncTaskCodeActivity.cs | miguelhasse/Workflow-Activities | src/Hasseware.Activities/AsyncTaskCodeActivity.cs | src/Hasseware.Activities/AsyncTaskCodeActivity.cs | using System;
using System.Activities;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
namespace Hasseware.Activities
{
public abstract class AsyncTaskCodeActivity : AsyncCodeActivity
{
protected sealed override IAsyncResult BeginExecute(AsyncCodeActivityContext conte... | using System;
using System.Activities;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
namespace Hasseware.Activities
{
public abstract class AsyncTaskCodeActivity : AsyncCodeActivity
{
protected sealed override IAsyncResult BeginExecute(AsyncCodeActivityContext conte... | mit | C# |
b18002313ba1a4bdec8955cbd71c55fd825f9ae8 | Rename logging table. https://github.com/Azure/azure-webjobs-sdk/issues/832 | shrishrirang/azure-webjobs-sdk,Azure/azure-webjobs-sdk,Azure/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk | src/Microsoft.Azure.WebJobs.Logging/LogFactory.cs | src/Microsoft.Azure.WebJobs.Logging/LogFactory.cs | using Microsoft.WindowsAzure.Storage.Table;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Azure.WebJobs.Logging
{
/// <summary>
/// Factory object to instantiate new instances of the logging interfaces
/// </summary>... | using Microsoft.WindowsAzure.Storage.Table;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Azure.WebJobs.Logging
{
/// <summary>
/// Factory object to instantiate new instances of the logging interfaces
/// </summary>... | mit | C# |
89119277a5c28d1fdce66fce24a10656894f1067 | Bump assembly version to 0.2 | mrward/monodevelop-nuget-addin | src/MonoDevelop.PackageManagement/AssemblyInfo.cs | src/MonoDevelop.PackageManagement/AssemblyInfo.cs | #region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// 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.
[ass... | #region Using directives
using System;
using System.Reflection;
using System.Runtime.InteropServices;
#endregion
// 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.
[ass... | mit | C# |
7d26f178c6c1b8b3bc7b56e20352c52389c3bd75 | use `OverlayColourProvider` for nub colors when possible | ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game/Graphics/UserInterfaceV2/OsuDirectorySelectorHiddenToggle.cs | osu.Game/Graphics/UserInterfaceV2/OsuDirectorySelectorHiddenToggle.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterface... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterface... | mit | C# |
83dac703c1c1d8e7c4f0a808e655c28788510ff9 | バージョン番号を更新したよ! | YKSoftware/YKToolkit.Controls | YKToolkit.Controls/Properties/AssemblyInfo.cs | YKToolkit.Controls/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("YKToolkit.Controls")]
#if NET4
[assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")]
#else
[assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")]
#endif
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("YKToolkit.Controls")]
#if NET4
[assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")]
#else
[assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")]
#endif
[assembly: Ass... | mit | C# |
0f10e02e2d52e27136ebb83879b4e8ba06b1c28e | バージョン番号更新。 | YKSoftware/YKToolkit.Controls | YKToolkit.Controls/Properties/AssemblyInfo.cs | YKToolkit.Controls/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("YKToolkit.Controls")]
#if NET4
[assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")]
#else
[assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")]
#endif
[assembly: Ass... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("YKToolkit.Controls")]
#if NET4
[assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")]
#else
[assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")]
#endif
[assembly: Ass... | mit | C# |
1cf3e6bfc6ef9d42c5212518b9e653bb9e8a46c0 | Use discard in TryGetResource. | wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,grokys/Perspex,MrDaedra/Avalonia,jkoritzinsky/Avalonia,Avalonia... | samples/ControlCatalog/MainWindow.xaml.cs | samples/ControlCatalog/MainWindow.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace ControlCatalog
{
public class MainWindow : Window
{
public MainWindow()
{
this.InitializeComponent();
this.AttachDevTools();
Renderer.DrawDirtyRects = Renderer.DrawFps = true;
... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace ControlCatalog
{
public class MainWindow : Window
{
public MainWindow()
{
this.InitializeComponent();
this.AttachDevTools();
Renderer.DrawDirtyRects = Renderer.DrawFps = true;
... | mit | C# |
da662757008ccd2831b39958be5dbd97156501be | 更新.net 4.5版本号 | JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK | src/Senparc.Weixin.Open/Senparc.Weixin.Open/Properties/AssemblyInfo.cs | src/Senparc.Weixin.Open/Senparc.Weixin.Open/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.Open")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.Open")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly... | apache-2.0 | C# |
436040f55e895f2e7c6f596b05c70e9f41c443dd | Standardize JSON date/time values on UTC | bwatts/Totem,bwatts/Totem | src/Totem.Runtime/Json/TotemSerializerSettings.cs | src/Totem.Runtime/Json/TotemSerializerSettings.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Totem.Runtime.Json
{
/// <summary>
/// Settings used when serializing and deserializing objects in the Totem runtime
/// </summary>
public class TotemSe... | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Totem.Runtime.Json
{
/// <summary>
/// Settings used when serializing and deserializing objects in the Totem runtime
/// </summary>
public class TotemSerializerSettings : JsonSeria... | mit | C# |
99db8f3c5b9404f9692bef3e6cfe834e98edc607 | remove auto-init which can lead to downstream issues | aritchie/userdialogs | src/Acr.UserDialogs.Shared/UserDialogs.cs | src/Acr.UserDialogs.Shared/UserDialogs.cs | using System;
#if __ANDROID__
using Android.App;
using Acr.Support.Android;
#endif
namespace Acr.UserDialogs {
public static class UserDialogs {
static readonly Lazy<IUserDialogs> instance = new Lazy<IUserDialogs>(() =>
{
#if PCL
throw new ArgumentException("This is the PCL library, ... | using System;
#if __ANDROID__
using Android.App;
using Acr.Support.Android;
#endif
namespace Acr.UserDialogs {
public static class UserDialogs {
static readonly Lazy<IUserDialogs> instance = new Lazy<IUserDialogs>(() => {
#if PCL
throw new ArgumentException("This is the PCL library, not the ... | mit | C# |
3cb6bae77c94a1bf602d420f7e21c6d38a5c43cc | Fix test. | brandondahler/Data.HashFunction | src/System.Data.HashFunction.Test/ELF64/ELF64_Implementation_Tests.cs | src/System.Data.HashFunction.Test/ELF64/ELF64_Implementation_Tests.cs | using System;
using System.Collections.Generic;
using System.Data.HashFunction.ELF64;
using System.Data.HashFunction.Test._Utilities;
using System.Text;
using Xunit;
namespace System.Data.HashFunction.Test.ELF64
{
public class ELF64_Implementation_Tests
{
#region HashSizeInBits
[Fact]
... | using System;
using System.Collections.Generic;
using System.Data.HashFunction.ELF64;
using System.Data.HashFunction.Test._Utilities;
using System.Text;
using Xunit;
namespace System.Data.HashFunction.Test.ELF64
{
public class ELF64_Implementation_Tests
{
#region HashSizeInBits
[Fact]
... | mit | C# |
76705ad84e62898fba101b50228eab6f0c0563e9 | Fix test build | Lone-Coder/letsencrypt-win-simple | src/main.test/Mock/Services/CertificateService.cs | src/main.test/Mock/Services/CertificateService.cs | using ACMESharp.Protocol;
using PKISharp.WACS.DomainObjects;
using PKISharp.WACS.Plugins.Interfaces;
using PKISharp.WACS.Services;
using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
namespace PKISharp.WACS.UnitTests.Mock.Services
{
class CertificateService : ICe... | using ACMESharp.Protocol;
using PKISharp.WACS.DomainObjects;
using PKISharp.WACS.Plugins.Interfaces;
using PKISharp.WACS.Services;
using System;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
namespace PKISharp.WACS.UnitTests.Mock.Services
{
class CertificateService : ICe... | apache-2.0 | C# |
f1e99fc8d8e06faf6a24c46b5f52eecaabe5318d | Fix snapshots for #266. | ExRam/ExRam.Gremlinq | test/ExRam.Gremlinq.PublicApi.Tests/PublicApiTests.Neptune.verified.cs | test/ExRam.Gremlinq.PublicApi.Tests/PublicApiTests.Neptune.verified.cs | namespace ExRam.Gremlinq.Core
{
public static class GremlinQueryEnvironmentExtensions
{
public static ExRam.Gremlinq.Core.IGremlinQuerySource UseNeptune(this ExRam.Gremlinq.Core.IConfigurableGremlinQuerySource source, System.Func<ExRam.Gremlinq.Providers.Neptune.INeptuneConfigurator, ExRam.Gremlinq.Core... | namespace ExRam.Gremlinq.Core
{
public static class GremlinQueryEnvironmentExtensions
{
public static ExRam.Gremlinq.Core.IGremlinQuerySource UseNeptune(this ExRam.Gremlinq.Core.IConfigurableGremlinQuerySource source, System.Func<ExRam.Gremlinq.Providers.Neptune.INeptuneConfigurator, ExRam.Gremlinq.Core... | mit | C# |
0328b9b26503ee97ea6245e55303b4f78de710f2 | Add missing xmldoc to interface class | ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Input/StateChanges/ISourcedFromTouch.cs | osu.Framework/Input/StateChanges/ISourcedFromTouch.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Input.StateChanges.Events;
namespace osu.Framework.Input.StateChanges
{
/// <summary>
/// Denotes an input which was sourced from a touch eve... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Input.StateChanges.Events;
namespace osu.Framework.Input.StateChanges
{
public interface ISourcedFromTouch
{
TouchStateChangeEvent To... | mit | C# |
47cbbee4d12760107bfe8c1294c7035224759b01 | remove CreateNotice method and move implementation to local | smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu | osu.Game/Overlays/Wiki/Markdown/WikiMarkdownContainer.cs | osu.Game/Overlays/Wiki/Markdown/WikiMarkdownContainer.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 Markdig.Extensions.Yaml;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Containers.Markdo... | // 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 Markdig.Extensions.Yaml;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Containers.Markdo... | mit | C# |
7c6fe217f1bae15e69d0ae066e8653c99bc3ec83 | update assembly info | petrovich/petrovich-net | src/NPetrovich/Properties/AssemblyInfo.cs | src/NPetrovich/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("NP... | 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("NP... | mit | C# |
c530a14610b18a316d34e4b536a11100cb99ab1d | declare language | OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania | src/WebClient/Views/Shared/_Layout.cshtml | src/WebClient/Views/Shared/_Layout.cshtml | @inject Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet JavaScriptSnippet
<!DOCTYPE html>
<html lang="ro">
<head>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-4024802291... | @inject Microsoft.ApplicationInsights.AspNetCore.JavaScriptSnippet JavaScriptSnippet
<!DOCTYPE html>
<html>
<head>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-4024802291999001",
... | mit | C# |
5e419f2939d72544d0c029a0ffe413afe7f767c3 | Change SynthesisPresenter GetItem() visibility to public to allow for injecting data sources during testing [breaking change] | kamsar/Synthesis,roberthardy/Synthesis | Source/Synthesis.Blade/SynthesisPresenter.cs | Source/Synthesis.Blade/SynthesisPresenter.cs | using Blade;
using Sitecore.Data.Items;
namespace Synthesis.Blade
{
/// <summary>
/// A generic presenter that is tied to a Synthesis model type. This is usually a good starting point to derive from if you need to modify presentation behavior.
/// </summary>
/// <typeparam name="TModel">Type of the ViewModel that ... | using Blade;
using Sitecore.Data.Items;
namespace Synthesis.Blade
{
/// <summary>
/// A generic presenter that is tied to a Synthesis model type. This is usually a good starting point to derive from if you need to modify presentation behavior.
/// </summary>
/// <typeparam name="TModel">Type of the ViewModel that ... | mit | C# |
41671a5c9b280ed4e70b57975cfea0afd8ee9f0d | Bump version # | google/access-bridge-explorer | src/WindowsAccessBridgeInterop/VersionNumber.cs | src/WindowsAccessBridgeInterop/VersionNumber.cs | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | apache-2.0 | C# |
60504066c856a41d5c31c316f269fd81831763ec | Update AssemblyInfo.cs | dprothero/NgrokExtensions | src/NgrokExtensionsSolution/NgrokExtensions/Properties/AssemblyInfo.cs | src/NgrokExtensionsSolution/NgrokExtensions/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("Ng... | 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("Ng... | mit | C# |
200c442e16ecb58919ea3de3e2f407cf4b4e9116 | move using to top | BaylorRae/discover-objects-with-property | DiscoverObjectsWithPropertyType.Tests/ObjectsWithPropertyOfTypeTest.cs | DiscoverObjectsWithPropertyType.Tests/ObjectsWithPropertyOfTypeTest.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using NUnit.Framework;
namespace DiscoverObjectsWithPropertyType.Tests
{
using Classes;
[TestFixture]
public class ObjectsWithPropertyOfTypeTest
{
private readonly Assembly CurrentAssembly = Assembly.GetAssembly(typeof(O... | using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace DiscoverObjectsWithPropertyType.Tests
{
using Classes;
using System.Reflection;
[TestFixture]
public class ObjectsWithPropertyOfTypeTest
{
private readonly Assembly CurrentAssembly = Assembly.GetAssembly(type... | mit | C# |
beec1fa36c1db01c77a87e9763f23843210de2c1 | Bump version to 8.2.0.19506 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/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("Hea... | 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("Hea... | mit | C# |
1a782a840cd15d5be3a1192e479d99be111c7692 | Fix xmldoc | naoey/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,DrabWeb/osu,Nabile-Rahmani/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,ZLima12/osu,2yangk23/osu,Frontear/osuKyzer,peppy/osu,DrabWeb/osu,naoey/osu,EVAST9919/osu,smoogipoo/osu,DrabWeb/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/os... | osu.Game/Rulesets/Objects/Types/IHasComboIndex.cs | osu.Game/Rulesets/Objects/Types/IHasComboIndex.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Objects.Types
{
/// <summary>
/// A HitObject that is part of a combo and has extended information about its position relative... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Objects.Types
{
/// <summary>
/// A HitObject that is part of a combo and has extended information about its position relative... | mit | C# |
d4317c74561b4296538c4a995c17d892f9716394 | Fix for superclass properties (NH-3318) | hazzik/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,ngbrown/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-core,hazzik/nhibernate-co... | src/NHibernate/Mapping/ByCode/Impl/CustomizersImpl/ComposedIdCustomizer.cs | src/NHibernate/Mapping/ByCode/Impl/CustomizersImpl/ComposedIdCustomizer.cs | using System.Reflection;
namespace NHibernate.Mapping.ByCode.Impl.CustomizersImpl
{
public class ComposedIdCustomizer<TEntity> : PropertyContainerCustomizer<TEntity>, IComposedIdMapper<TEntity> where TEntity : class
{
public ComposedIdCustomizer(IModelExplicitDeclarationsHolder explicitDeclarationsHolder, IC... | using System.Reflection;
namespace NHibernate.Mapping.ByCode.Impl.CustomizersImpl
{
public class ComposedIdCustomizer<TEntity> : PropertyContainerCustomizer<TEntity>, IComposedIdMapper<TEntity> where TEntity : class
{
public ComposedIdCustomizer(IModelExplicitDeclarationsHolder explicitDeclarationsHolder, IC... | lgpl-2.1 | C# |
c510fcf260d2228c04ee8d94ec88f61511f61e4f | Deal with null config in custom log factory | Lethrir/NLogger | NLogger/NLogger/CustomLogFactory.cs | NLogger/NLogger/CustomLogFactory.cs | using System.Collections.Generic;
using System.Configuration;
using System.Linq;
namespace NLogger
{
public class CustomLogFactory<T> where T : NLoggerSection
{
private readonly List<ILogWriterRegistration<T>> _logWriterTypes;
public CustomLogFactory()
{
_logWriterTypes= n... | using System.Collections.Generic;
using System.Configuration;
using System.Linq;
namespace NLogger
{
public class CustomLogFactory<T> where T : NLoggerSection
{
private readonly List<ILogWriterRegistration<T>> _logWriterTypes;
public CustomLogFactory()
{
_logWriterTypes= n... | mit | C# |
373a9f6254566d690a0bb09ec07c7a1f523432fa | Update development version to 1.0.2 | mdesalvo/RDFSharp | RDFSharp/Properties/AssemblyInfo.cs | RDFSharp/Properties/AssemblyInfo.cs | /*
Copyright 2012-2018 Marco De Salvo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | /*
Copyright 2012-2018 Marco De Salvo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | apache-2.0 | C# |
ac785165518d4ac288b636c9f80c7873d17d860a | fix build. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Dialogs/DialogViewModelBaseOfTResult.cs | WalletWasabi.Fluent/ViewModels/Dialogs/DialogViewModelBaseOfTResult.cs | using ReactiveUI;
using System;
using System.Reactive.Linq;
using System.Threading.Tasks;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
/// <summary>
/// Base ViewModel class for Dialogs that returns a value back.
/// Do not reuse all types derived from this after calling ShowDialogAsync.
/// Spawn a new inst... | using ReactiveUI;
using System;
using System.Threading.Tasks;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
/// <summary>
/// Base ViewModel class for Dialogs that returns a value back.
/// Do not reuse all types derived from this after calling ShowDialogAsync.
/// Spawn a new instance instead after that.
//... | mit | C# |
83034cd18754650331b9305187ece25569ec91bf | Fix null pointer exception in VariantSubtag.IsVariantOf() method | andrew-polk/libpalaso,mccarthyrb/libpalaso,gmartin7/libpalaso,tombogle/libpalaso,ddaspit/libpalaso,glasseyes/libpalaso,tombogle/libpalaso,mccarthyrb/libpalaso,sillsdev/libpalaso,glasseyes/libpalaso,ermshiperete/libpalaso,mccarthyrb/libpalaso,gtryus/libpalaso,ddaspit/libpalaso,mccarthyrb/libpalaso,ddaspit/libpalaso,glas... | SIL.WritingSystems/VariantSubtag.cs | SIL.WritingSystems/VariantSubtag.cs | using System.Collections.Generic;
using System.Linq;
namespace SIL.WritingSystems
{
/// <summary>
/// This class represents a variant from the IANA language subtag registry.
/// </summary>
public class VariantSubtag : Subtag
{
private readonly HashSet<string> _prefixes;
/// <summary>
/// Initializes a new... | using System.Collections.Generic;
using System.Linq;
namespace SIL.WritingSystems
{
/// <summary>
/// This class represents a variant from the IANA language subtag registry.
/// </summary>
public class VariantSubtag : Subtag
{
private readonly HashSet<string> _prefixes;
/// <summary>
/// Initializes a new... | mit | C# |
fdd58463040d4936a7c8226050103638f810b11f | Update copyright | PioneerCode/pioneer-pagination,PioneerCode/pioneer-pagination,PioneerCode/pioneer-pagination | src/Pioneer.Pagination.Example/Pages/_Layout.cshtml | src/Pioneer.Pagination.Example/Pages/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Pioneer.Pagination.Example</title>
<link rel="stylesheet" href="~/css/site.min.css" asp-append-version="true" />
</head>
<body>
<div class="container body-... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Pioneer.Pagination.Example</title>
<link rel="stylesheet" href="~/css/site.min.css" asp-append-version="true" />
</head>
<body>
<div class="container body-... | mit | C# |
ee38b5076a46677859a139c170978b0f99194168 | add null check to unit of work constructor | olebg/car-mods-heaven,olebg/car-mods-heaven | CarModsHeaven/CarModsHeaven/CarModsHeaven.Data/UnitOfWork/UnitOfWork.cs | CarModsHeaven/CarModsHeaven/CarModsHeaven.Data/UnitOfWork/UnitOfWork.cs | using CarModsHeaven.Data.Contracts;
using System;
namespace CarModsHeaven.Data.UnitOfWork
{
public class UnitOfWork : IUnitOfWork
{
private readonly CarModsContext context;
public UnitOfWork(CarModsContext context)
{
if (context == null)
{
throw... | using CarModsHeaven.Data.Contracts;
namespace CarModsHeaven.Data.UnitOfWork
{
public class UnitOfWork : IUnitOfWork
{
private readonly CarModsContext context;
public UnitOfWork(CarModsContext context)
{
this.context = context;
}
public void SaveChanges()
... | mit | C# |
b5bacb36d246222aeacfbb47271a0c31acc7bf10 | Clarify where the C++11 state must be set | markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation | testpackages/Cxx11Test1/dev/Cxx11Test1.cs | testpackages/Cxx11Test1/dev/Cxx11Test1.cs | // Automatically generated by BuildAMation v0.60
[assembly:Bam.Core.GlobalOptionCollectionOverride(typeof(Cxx11Test1.GlobalSettings))]
namespace Cxx11Test1
{
class GlobalSettings : Bam.Core.IGlobalOptionCollectionOverride
{
#region IGlobalOptionCollectionOverride implementation
void
Bam... | // Automatically generated by BuildAMation v0.60
[assembly:Bam.Core.GlobalOptionCollectionOverride(typeof(Cxx11Test1.GlobalSettings))]
namespace Cxx11Test1
{
class GlobalSettings : Bam.Core.IGlobalOptionCollectionOverride
{
#region IGlobalOptionCollectionOverride implementation
void
Bam... | bsd-3-clause | C# |
09f069d64068107172f0b5d01479a08861f691c1 | Update assembly version to v1.99 to prepare for v2.0 release | bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto | Source/Shared/GlobalAssemblyInfo.cs | Source/Shared/GlobalAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Picoe Software Solutions Inc.")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("(c) 2010-2014 by Curtis Wensley, 2012-2014 by Vivek Jhaveri and contributors")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersi... | using System.Reflection;
[assembly: AssemblyCompany("Picoe Software Solutions Inc.")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("(c) 2010-2014 by Curtis Wensley, 2012-2014 by Vivek Jhaveri and contributors")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersi... | bsd-3-clause | C# |
39b03f61e144129f382c3072f1e660081e295c1a | fix accidental edit | gradientspace/UnityVRManips | Assets/SceneGraph/widgets/AxisTranslationWidget.cs | Assets/SceneGraph/widgets/AxisTranslationWidget.cs | using System;
using UnityEngine;
namespace f3
{
//
//
//
public class AxisTranslationWidget : Widget
{
int nTranslationAxis;
ISpaceConversion conversion;
public AxisTranslationWidget(int nFrameAxis, ISpaceConversion conversion)
{
nTranslationAxis = nFrameAxis;
this.conversion = conversion;
}
... | using System;
using UnityEngine;
namespace f3
{
//
//
//
public class AxisTranslationWidget : Widget
{
int nTranslationAxis;
ISpaceConversion conversion;
public AxisTranslationWidget(int nFrameAxis, ISpaceConversion conversion)
{
nTranslationAxis = nFrameAxis;
this.conversion = conversion;
}
... | apache-2.0 | C# |
bdb6ad178c8f07034eeb58130649fb66819fcbc2 | Add link to where the async relay command is from | mweibel/mste-testat | AutoReservation.Ui/ViewModels/AsyncRelayCommand.cs | AutoReservation.Ui/ViewModels/AsyncRelayCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace AutoReservation.Ui.ViewModels
{
/**
* From: http://blog.mycupof.net/2012/08/23/mvvm-asyncdelegatecommand-what-asyncawait-can-do-for-uidevelopment/
*/
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace AutoReservation.Ui.ViewModels
{
public class AsyncRelayCommand : ICommand
{
protected readonly Predicate<object> _canExecute;
protected Func... | mit | C# |
37f56560cd74aafa4936b67d290084eba7290666 | bump version to 1.5.7 | Franiac/TwitchLeecher | TwitchLeecher/GlobalAssemblyInfo.cs | TwitchLeecher/GlobalAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Twitch Leecher")]
[assembly: AssemblyDescription("Twitch Broadcast Downloader")]
[assembly: AssemblyCompany("Franiac")]
[assembly: AssemblyCopyright("Copyright 2018 Dominik Rebitzer")]
[assembly: AssemblyVersion("1.0.0.0")]
[as... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Twitch Leecher")]
[assembly: AssemblyDescription("Twitch Broadcast Downloader")]
[assembly: AssemblyCompany("Franiac")]
[assembly: AssemblyCopyright("Copyright 2018 Dominik Rebitzer")]
[assembly: AssemblyVersion("1.0.0.0")]
[as... | mit | C# |
6e41d1e069453ae595aeb4ee9748f9c74cd33f20 | Add WeightedIndex.ToString method | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | InteropTypes/src/WeightedIndex.cs | InteropTypes/src/WeightedIndex.cs | using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
public struct WeightedIndex {
public int Index { get; }
public float Weight { get; }
public WeightedIndex(int index, float weight) {
Index = index;
Weight = weight;
}
override
public string ToString() {
return $"{{{Index}: {Weigh... | using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential)]
public struct WeightedIndex {
public int Index { get; }
public float Weight { get; }
public WeightedIndex(int index, float weight) {
Index = index;
Weight = weight;
}
}
| mit | C# |
4cc13bc78853b48447952f2e93331a43efe66f7d | Fix typo in samples | NRules/NRules | samples/SimpleRules/Rules/DiscountNotificationRule.cs | samples/SimpleRules/Rules/DiscountNotificationRule.cs | using System;
using NRules.Fluent.Dsl;
using NRules.Samples.SimpleRules.Domain;
namespace NRules.Samples.SimpleRules.Rules
{
public class DiscountNotificationRule : Rule
{
public override void Define()
{
Customer customer = default;
When()
.Match(() => ... | using System;
using NRules.Fluent.Dsl;
using NRules.Samples.SimpleRules.Domain;
namespace NRules.Samples.SimpleRules.Rules
{
public class DicsountNotificationRule : Rule
{
public override void Define()
{
Customer customer = default;
When()
.Match(() => ... | mit | C# |
cb9ea5d19abfcb78da394ef24e11e05ee8d2f08b | Allow for blank status description | davidsh/corefx-net-testservers,davidsh/corefx-net-testservers,davidsh/corefx-net-testservers | CoreFxNetCloudService/WebServer/StatusCode.ashx.cs | CoreFxNetCloudService/WebServer/StatusCode.ashx.cs | using System;
using System.Web;
namespace WebServer
{
public class StatusCode : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
string statusCodeString = context.Request.QueryString["statuscode"];
string statusDescription = context.Request.QueryString["... | using System;
using System.Web;
namespace WebServer
{
public class StatusCode : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
string statusCodeString = context.Request.QueryString["statuscode"];
string statusDescription = context.Request.QueryString["... | mit | C# |
363fba93d87d3bd1d6571a6680fddaac6c0a358e | Fix bug from 1 to 3 | SimoPrG/Data-Structures-and-Algorithms-Homework | Linear-Data-Structures/LinearDataStructures/SequenceOfOperations/Program.cs | Linear-Data-Structures/LinearDataStructures/SequenceOfOperations/Program.cs | //We are given numbers N and M and the following operations:
// * `N = N+1`
// * `N = N+2`
// * `N = N*2`
// - Write a program that finds the shortest sequence of operations from the list above that starts from `N` and finishes in `M`.
// - _Hint_: use a queue.
// - Example: `N = 5`, `M = 16`
// - Sequence: 5 ... | //We are given numbers N and M and the following operations:
// * `N = N+1`
// * `N = N+2`
// * `N = N*2`
// - Write a program that finds the shortest sequence of operations from the list above that starts from `N` and finishes in `M`.
// - _Hint_: use a queue.
// - Example: `N = 5`, `M = 16`
// - Sequence: 5 ... | mit | C# |
6066f6369588cc0ac090512e7b537d5929c2b8e9 | Update XML comments of VerifyTitleAttribute | atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata/Attributes/Triggers/VerifyTitleAttribute.cs | src/Atata/Attributes/Triggers/VerifyTitleAttribute.cs | using System;
namespace Atata
{
/// <summary>
/// Specifies the verification of the page title when the page object is initialized. If no value is specifed, uses the class name as the expected value with the <c>TermCase.Title</c> casing applied.
/// </summary>
[AttributeUsage(AttributeTargets.C... | using System;
namespace Atata
{
/// <summary>
/// Indicates the verification of the page title when the page object is initialized.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false)]
public class VerifyTitleAttribute : TermVerificati... | apache-2.0 | C# |
9f0e7feacfadda1694c4095979dd6ccca6bf442c | update deprecated message | watson-developer-cloud/unity-sdk,watson-developer-cloud/unity-sdk,watson-developer-cloud/unity-sdk | Scripts/Services/NaturalLanguageUnderstanding/V1/Model/CategoriesOptions.cs | Scripts/Services/NaturalLanguageUnderstanding/V1/Model/CategoriesOptions.cs | /**
* (C) Copyright IBM Corp. 2018, 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /**
* (C) Copyright IBM Corp. 2018, 2020.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | C# |
0ca6bbd4956c8460be8c1f8191c19a74b6d9828f | Bring up-to-date with method changes | EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework | osu.Framework/IO/Stores/TimedExpiryGlyphStore.cs | osu.Framework/IO/Stores/TimedExpiryGlyphStore.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.
// 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.... | // 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.
// 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.... | mit | C# |
bb3df8c13ed6857adf307da2c6c19e43fc428dd9 | Reduce allocation in KeyChangeAgendaFilter | NRules/NRules | src/NRules/NRules/AgendaFilters/KeyChangeAgendaFilter.cs | src/NRules/NRules/AgendaFilters/KeyChangeAgendaFilter.cs | using System;
using System.Collections.Generic;
namespace NRules.AgendaFilters
{
internal class KeyChangeAgendaFilter : IStatefulAgendaFilter
{
private readonly List<IActivationExpression<object>> _keySelectors;
private readonly Dictionary<Activation, ChangeKeys> _changeKeys = new Dictionary<Ac... | using System.Collections.Generic;
using System.Linq;
namespace NRules.AgendaFilters
{
internal class KeyChangeAgendaFilter : IStatefulAgendaFilter
{
private readonly List<IActivationExpression<object>> _keySelectors;
private readonly Dictionary<Activation, ChangeKeys> _changeKeys = new Dictiona... | mit | C# |
16d6c3cfc0868519da4757790359b46343716705 | fix model mapping | Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate,Pondidum/Magistrate | Magistrate/Api/SocketConnector.cs | Magistrate/Api/SocketConnector.cs | using System;
using System.Collections.Generic;
using Fleck;
using Magistrate.Api.Responses;
using Magistrate.Domain.Services;
using Newtonsoft.Json;
namespace Magistrate.Api
{
public class SocketConnector
{
private readonly WebSocketServer _server;
private readonly List<IWebSocketConnection> _sockets;
privat... | using System;
using System.Collections.Generic;
using Fleck;
using Magistrate.Api.Responses;
using Magistrate.Domain.Services;
using Newtonsoft.Json;
namespace Magistrate.Api
{
public class SocketConnector
{
private readonly WebSocketServer _server;
private readonly List<IWebSocketConnection> _sockets;
privat... | lgpl-2.1 | C# |
5b88c57d94c8b194278e0341f940f65bd1056f31 | Replace RequiredForPersistance with Required | PeteDuncanson/Umbraco-CMS,bjarnef/Umbraco-CMS,jchurchley/Umbraco-CMS,NikRimington/Umbraco-CMS,lars-erik/Umbraco-CMS,KevinJump/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,leekelleher/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,leekelleher/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,bas... | src/Umbraco.Web/Models/ContentEditing/TemplateDisplay.cs | src/Umbraco.Web/Models/ContentEditing/TemplateDisplay.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core.Models.Validation;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "template", ... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Core.Models.Validation;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "template", ... | mit | C# |
b95a78254a1e81550bba0bbe8b4351d1719a557f | Fix ExecuteAsync | Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module | Activities/ManagePersonsPermissionCheckerTask.cs | Activities/ManagePersonsPermissionCheckerTask.cs | using Lombiq.TrainingDemo.Permissions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using OrchardCore.Users.Models;
using OrchardCore.Users.Services;
using OrchardCore.Workflows.Abstractions.Models;
using OrchardCore.Workflows.Activities;
using O... | using Lombiq.TrainingDemo.Permissions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Localization;
using OrchardCore.Users.Services;
using OrchardCore.Workflows.Abstractions.Models;
using OrchardCore.Workflows.Activities;
using OrchardCore.Workflows.Models;
using OrchardCore.Workflows.Services;
u... | bsd-3-clause | C# |
a5471ba82b40018716fcaf82808ddc54df5df309 | Remove unused field definition | nunit/nunit-console,nunit/nunit-console,nunit/nunit-console | src/NUnitConsole/nunit3-console.tests/BadFileTests.cs | src/NUnitConsole/nunit3-console.tests/BadFileTests.cs | // ***********************************************************************
// Copyright (c) 2018 Charlie Poole, Rob Prouse
//
// 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 restr... | // ***********************************************************************
// Copyright (c) 2018 Charlie Poole, Rob Prouse
//
// 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 restr... | mit | C# |
26e3a128e1d4d31e4923440ee9b6ee0831fcbad9 | Update FiltersBucket.cs | azubanov/elasticsearch-net,RossLieberman/NEST,RossLieberman/NEST,cstlaurent/elasticsearch-net,CSGOpenSource/elasticsearch-net,UdiBen/elasticsearch-net,UdiBen/elasticsearch-net,TheFireCookie/elasticsearch-net,azubanov/elasticsearch-net,elastic/elasticsearch-net,cstlaurent/elasticsearch-net,adam-mccoy/elasticsearch-net,e... | src/Nest/Aggregations/Bucket/Filters/FiltersBucket.cs | src/Nest/Aggregations/Bucket/Filters/FiltersBucket.cs |
using System.Collections.Generic;
using System.Linq;
namespace Nest
{
public class FiltersBucket : IAggregation
{
public FiltersBucket(IEnumerable<IAggregation> items)
{
Items = items;
}
public FiltersBucket(AggregationsHelper helper)
{
Aggregations = helper;
}
public SingleBucket NamedBucket... |
using System.Collections.Generic;
using System.Linq;
namespace Nest
{
public class FiltersBucket : IAggregation
{
public FiltersBucket(IEnumerable<IAggregation> items)
{
Items = items;
}
public FiltersBucket(AggregationsHelper helper)
{
Aggregations = helper;
}
public SingleBucket NamedBucket... | apache-2.0 | C# |
5df1ee7fa7ae7619b9cb7a7c4ebea43f629ecab0 | Update copyright year | autofac/Autofac | src/Autofac/Core/Resolving/ActivatorExtensions.cs | src/Autofac/Core/Resolving/ActivatorExtensions.cs | // This software is part of the Autofac IoC container
// Copyright © 2019 Autofac Contributors
// https://autofac.org
//
// 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
// restric... | // This software is part of the Autofac IoC container
// Copyright © 2011 Autofac Contributors
// https://autofac.org
//
// 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
// restric... | mit | C# |
c42232c6db92de9d880f8671561447cd6dab3ca9 | fix path | PanteonProject/Panteon.HelloTask | HelloTask/Configuration/HelloTaskConfigProvider.cs | HelloTask/Configuration/HelloTaskConfigProvider.cs | using System.IO;
using System.Reflection;
using Autofac.Extras.NLog;
using Panteon.Sdk.Configuration;
using Panteon.Sdk.IO;
using Panteon.Sdk.Utils;
namespace Panteon.HelloTask.Configuration
{
public class HelloTaskConfigProvider : TaskConfigProviderBase<HelloTaskSettings>
{
private readonly IJsonSeri... | using System.IO;
using System.Reflection;
using Autofac.Extras.NLog;
using Panteon.Sdk.Configuration;
using Panteon.Sdk.IO;
using Panteon.Sdk.Utils;
namespace Panteon.HelloTask.Configuration
{
public class HelloTaskConfigProvider : TaskConfigProviderBase<HelloTaskSettings>
{
private readonly IJsonSeri... | mit | C# |
3f9efc8a75174ff7724d2e764ba8481f2701c22b | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning. | autofac/Autofac.Mef | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | mit | C# |
c3a84b796c7185222d3f01419b74ff1f16f39d29 | Make commit id short | SaladbowlCreative/TicTacToe | src/GameClient/Assets/Scripts/Utility/AppPanel.cs | src/GameClient/Assets/Scripts/Utility/AppPanel.cs | using UnityEngine;
using UnityEngine.UI;
public class AppPanel : MonoBehaviour
{
public Text VersionText;
private void Start()
{
var commitId = string.IsNullOrEmpty(Version.CommitId)
? ""
: "(" + Version.CommitId.Substring(0, 6) + ")";
... | using UnityEngine;
using UnityEngine.UI;
public class AppPanel : MonoBehaviour
{
public Text VersionText;
private void Start()
{
var commitId = string.IsNullOrEmpty(Version.CommitId)
? ""
: "(" + Version.CommitId + ")";
VersionText.tex... | mit | C# |
ec26388512e1ae2670710fc89a16e780d77cb1e0 | Archive fix | darrelmiller/Sandra.Snow,tareq-s/Sandra.Snow,Sandra/Sandra.Snow,amitapl/blogamitapple,amitapl/blogamitapple,fekberg/Sandra.Snow,Pxtl/Sandra.Snow,Pxtl/Sandra.Snow,tareq-s/Sandra.Snow,fekberg/Sandra.Snow,darrelmiller/Sandra.Snow,Sandra/Sandra.Snow,gsferreira/Sandra.Snow,amitapl/blogamitapple,Sandra/Sandra.Snow,fekberg/Sa... | SnowSite/Snow/archive.cshtml | SnowSite/Snow/archive.cshtml | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Sandra.Snow.PreCompiler.PostData>
@using System.Collections.Generic
@{
Layout = "default.cshtml";
}
<h1>Archives</h1>
@foreach(var year in Model.PostsGroupedByYearThenMonth)
{
<h1>@year.Key</h1>
@foreach(var month in year.Value)
{
... | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Sandra.Snow.PreCompiler.PostData>
@using System.Collections.Generic
@{
Layout = "default.cshtml";
}
<h1>Archives</h1>
@foreach(var year in Model.PostsGroupedByYearThenMonth)
{
<h1>@year.Key</h1>
@foreach(var month in year)
{
<h2... | mit | C# |
7015c359062f8da2f80e351c5742ca5e37707e20 | Document property lifetime issues. | Faithlife/System.Data.SQLite,Faithlife/System.Data.SQLite | src/System.Data.SQLite/StatementCompletedEventArgs.cs | src/System.Data.SQLite/StatementCompletedEventArgs.cs | namespace System.Data.SQLite
{
/// <summary>
/// Provides additional information for the <see cref="SQLiteConnection.StatementCompleted"/> event.
/// </summary>
public sealed class StatementCompletedEventArgs : EventArgs
{
#if NET5_0
/// <summary>
/// The SQL of the statement that was executed.
/// </summary... | namespace System.Data.SQLite
{
/// <summary>
/// Provides additional information for the <see cref="SQLiteConnection.StatementCompleted"/> event.
/// </summary>
public sealed class StatementCompletedEventArgs : EventArgs
{
/// <summary>
/// The SQL of the statement that was executed.
/// </summary>
#if NET5_... | mit | C# |
0208f90dc93989b64fc7755e266c1d2a64e96943 | Revert "Add test trying to recreate the issue" | SolrNet/SolrNet,mausch/SolrNet,SolrNet/SolrNet,mausch/SolrNet,mausch/SolrNet | SolrNet.Cloud.Tests/UnityTests.cs | SolrNet.Cloud.Tests/UnityTests.cs | using Xunit;
using Unity.SolrNetCloudIntegration;
using Unity;
namespace SolrNet.Cloud.Tests
{
public class UnityTests
{
private IUnityContainer Setup() {
return new SolrNetContainerConfiguration().ConfigureContainer(
new FakeProvider(),
new UnityContainer()... | using Xunit;
using Unity.SolrNetCloudIntegration;
using Unity;
namespace SolrNet.Cloud.Tests
{
public class UnityTests
{
private IUnityContainer Setup() {
return new SolrNetContainerConfiguration().ConfigureContainer(
new FakeProvider(),
new UnityContainer()... | apache-2.0 | C# |
4433f53f72c6be11ee0a3453ceec403b5de567fa | Drop unused Alert() method from ISnmpModule | EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,TomDataworks/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,RavenB/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSL... | OpenSim/Region/Framework/Interfaces/ISnmpModule.cs | OpenSim/Region/Framework/Interfaces/ISnmpModule.cs | ///////////////////////////////////////////////////////////////////
//
// (c) Careminster LImited, Melanie Thielker and the Meta7 Team
//
// This file is not open source. All rights reserved
// Mod 2
public interface ISnmpModule
{
void Trap(int code,string simname,string Message);
void ColdStart(int step , stri... | ///////////////////////////////////////////////////////////////////
//
// (c) Careminster LImited, Melanie Thielker and the Meta7 Team
//
// This file is not open source. All rights reserved
// Mod 2
public interface ISnmpModule
{
void Alert(string message);
void Trap(int code,string simname,string Message);
... | bsd-3-clause | C# |
259b4a116fa14ba6d7ef7b449a43da25157d782e | add transparency coefficient | brendan-rius/raytracer-epitech | raytracer/librt3/materials/ClementiteMaterial.cs | raytracer/librt3/materials/ClementiteMaterial.cs | using OpenTK;
using raytracer.core;
namespace raytracer.materials
{
public class ClementiteMaterial : Material
{
/// <summary>
/// The "transparency"
/// </summary>
private float _d;
/// <summary>
/// The type of illumation
/// </summary>
... | using System;
using OpenTK;
using raytracer.core;
namespace raytracer.materials
{
public class ClementiteMaterial : Material
{
/// <summary>
/// The type /* todo: enum */
/// </summary>
private uint _illum;
/// <summary>
/// Ambient lighting
///... | mit | C# |
18065c88b49f1c86e7ac6571c0ba69beac2b608e | Update Degree.cs | zulaldogan/unity-csharp-beginner | SwitchStatements/Assets/Degree.cs | SwitchStatements/Assets/Degree.cs | using UnityEngine;
public class Degree : MonoBehaviour
{
public int selectedLevel;
void Start()
{
switch (selectedLevel)
{
case 0:
Debug.Log("You selected Easy");
break;
case 1:
Debug.Log("You selected Medium");
... | using UnityEngine;
public class Degree : MonoBehaviour
{
public int selectedLevel;
private int easy = 0, medium = 1, hard = 2;
void Start()
{
switch (selectedLevel)
{
case 0:
Debug.Log("You selected Easy");
break;
case 1:
... | mit | C# |
43e2e6fd3b3e05f3b6fa6cdb6d3b783557a7cdad | fix instructions | kreeben/resin,kreeben/resin | src/Sir.HttpServer/Views/Shared/Instructions.cshtml | src/Sir.HttpServer/Views/Shared/Instructions.cshtml | @{
var collection = Context.Request.Form["target"].ToString();
var query = new Dictionary<string, string>
{
{"collection", collection }
};
var queryString = string.Join('&', query.Select(x => $"{x.Key}={x.Value}"));
var searchLink = $"{Context.Request.Path.Value.ToLower().Replace("/crawl",... | @{
var collection = Context.Request.Form["target"].ToString();
var query = new Dictionary<string, string>
{
{"collection", collection }
};
var queryString = string.Join('&', query.Select(x => $"{x.Key}={x.Value}"));
var searchLink = $"{Context.Request.Path.Value.ToLower().Replace("/crawl",... | mit | C# |
82731783034ea62c401294d72222c176a6e6cbcd | Fix Environment Variable check for TeamCity Log | agc93/Cake.BuildSystems.Module,agc93/Cake.BuildSystems.Module | src/Cake.TeamCity.Module/TeamCityLog.cs | src/Cake.TeamCity.Module/TeamCityLog.cs | using System;
using Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Module.Shared;
using CakeBuildLog = Cake.Core.Diagnostics.CakeBuildLog;
namespace Cake.TeamCity.Module
{
public class TeamCityLog : ICakeLog
{
public TeamCityLog(IConsole console, Verbosity verbosity = Verbosity.Normal)
{
... | using System;
using Cake.Core;
using Cake.Core.Diagnostics;
using Cake.Module.Shared;
using CakeBuildLog = Cake.Core.Diagnostics.CakeBuildLog;
namespace Cake.TeamCity.Module
{
public class TeamCityLog : ICakeLog
{
public TeamCityLog(IConsole console, Verbosity verbosity = Verbosity.Normal)
{
... | mit | C# |
8042e1707934a6198c46677b338a66dc9bfdaa6c | remove button "Remove" | henkmollema/StudentFollowingSystem,henkmollema/StudentFollowingSystem | src/StudentFollowingSystem/Views/Subjects/List.cshtml | src/StudentFollowingSystem/Views/Subjects/List.cshtml | @model IEnumerable<StudentFollowingSystem.ViewModels.SubjectModel>
@{
ViewBag.Title = "Overzicht";
}
<h2>Overzicht</h2>
<p>
@Html.ActionLink("Nieuwe Les", "Create")
</p>
<table class="table">
<tr>
<th>
Vak:
</th>
<th>
Start tijd:
</th>
<th>... | @model IEnumerable<StudentFollowingSystem.ViewModels.SubjectModel>
@{
ViewBag.Title = "Overzicht";
}
<h2>Overzicht</h2>
<p>
@Html.ActionLink("Nieuwe Les", "Create")
</p>
<table class="table">
<tr>
<th>
Vak:
</th>
<th>
Start tijd:
</th>
<th>... | mit | C# |
982b797398e8daa61da2ad40c5fdfb5be3ed620f | Remove service event source for now | danielmarbach/service-fabric-webinar,danielmarbach/service-fabric-webinar | stateless-queues/Back_Stateless/SubmitOrderHandler.cs | stateless-queues/Back_Stateless/SubmitOrderHandler.cs | using System;
using System.Threading.Tasks;
using Messages_Stateless;
using NServiceBus;
namespace Back_Stateless
{
public class SubmitOrderHandler : IHandleMessages<SubmitOrder>
{
private OrderContext orderContext;
public SubmitOrderHandler(OrderContext orderContext)
{
... | using System;
using System.Threading.Tasks;
using Messages_Stateless;
using NServiceBus;
namespace Back_Stateless
{
public class SubmitOrderHandler : IHandleMessages<SubmitOrder>
{
private OrderContext orderContext;
public SubmitOrderHandler(OrderContext orderContext)
{
... | apache-2.0 | C# |
4011db62888dee5a7b2ae589070af703d86efb47 | update abp memory cache to override try getter | luchaoshuai/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate | src/Abp/Runtime/Caching/Memory/AbpMemoryCache.cs | src/Abp/Runtime/Caching/Memory/AbpMemoryCache.cs | using System;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Caching.Memory;
namespace Abp.Runtime.Caching.Memory
{
/// <summary>
/// Implements <see cref="ICache"/> to work with <see cref="MemoryCache"/>.
/// </summary>
public class AbpMemoryCache : CacheBase
{
private Mem... | using System;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Caching.Memory;
namespace Abp.Runtime.Caching.Memory
{
/// <summary>
/// Implements <see cref="ICache"/> to work with <see cref="MemoryCache"/>.
/// </summary>
public class AbpMemoryCache : CacheBase
{
private Mem... | mit | C# |
f8d74feaa8ff819e5fde781d15e31f9b6e9355b2 | return the number of tables with name | n8allan/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,n8allan/Dataphor,n8allan/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,DBCG/Dataphor,n8allan/Dataphor,DBCG/Dataphor | Dataphor/DAE.PGSQL/PGSQLStoreConnection.cs | Dataphor/DAE.PGSQL/PGSQLStoreConnection.cs | /*
Alphora Dataphor
Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
#define USESQLCONNECTION
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
#if USESQLCONNECTION
u... | /*
Alphora Dataphor
Copyright 2000-2008 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
#define USESQLCONNECTION
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
#if USESQLCONNECTION
u... | bsd-3-clause | C# |
b42d6a931fb691093aaf327869d77e1ae2a76c2c | Rename Rect to RectField | laicasaane/VFW | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Rects.cs | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Rects.cs | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public Rect RectField(Rect value)
{
return RectField(string.Empty, value);
}
public Rect RectField(string label, Rect value)
{
return RectField(label, value, kMultifieldOption);
}
public Rect RectField(strin... | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public Rect Rect(Rect value)
{
return Rect(string.Empty, value);
}
public Rect Rect(string label, Rect value)
{
return Rect(label, value, kMultifieldOption);
}
public Rect Rect(string label, string tooltip, ... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.