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
74d6151c653f26ae56557ac6333dcf17919eefe1
Fix for savegame breaking mods
DlkGames/SkylineToolkit
Source/SkylineToolkit/Properties/AssemblyInfo.cs
Source/SkylineToolkit/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: AssemblyTitle("S...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: AssemblyTitle("S...
apache-2.0
C#
6a5b66975c3f26fe3ef6ae4a0fbef8ef129d1588
Update VotePopUp.cs
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Voting/VotePopUp.cs
UnityProject/Assets/Scripts/Voting/VotePopUp.cs
using System.Collections; using System.Collections.Generic; using DatabaseAPI; using UnityEngine; using UnityEngine.UI; public class VotePopUp : MonoBehaviour { [SerializeField] private Text voteTitle = null; [SerializeField] private Text voteInstigator = null; [SerializeField] private Text voteCount = null; [Ser...
using System.Collections; using System.Collections.Generic; using DatabaseAPI; using UnityEngine; using UnityEngine.UI; public class VotePopUp : MonoBehaviour { [SerializeField] private Text voteTitle = null; [SerializeField] private Text voteInstigator = null; [SerializeField] private Text voteCount = null; [Ser...
agpl-3.0
C#
3bcd7e71bdd71ea10bc33f5fe6ca13d60ea4cd80
Add code documentation to the DateTimeOffsetPalmValue
haefele/PalmDB
src/PalmDB/Serialization/DateTimeOffsetPalmValue.cs
src/PalmDB/Serialization/DateTimeOffsetPalmValue.cs
using System; using System.Threading.Tasks; namespace PalmDB.Serialization { /// <summary> /// Represents a <see cref="T:DateTimeOffset?"/> value inside a palm database. /// </summary> internal class DateTimeOffsetPalmValue : IPalmValue<DateTimeOffset?> { /// <summary> /// Gets a v...
using System; using System.Linq; using System.Threading.Tasks; namespace PalmDB.Serialization { internal class DateTimeOffsetPalmValue : IPalmValue<DateTimeOffset?> { public async Task<DateTimeOffset?> ReadValueAsync(AsyncBinaryReader reader) { Guard.NotNull(reader, nameof(reader))...
mit
C#
c0f2789782907a49dd1bc7d3d7f8785fe2bc0779
Implement 'Calcular' button
AlvaroOrduna/degree_gpi_facturator
Facturator/Facturator/Form1.cs
Facturator/Facturator/Form1.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Facturator { public partial class Facturacion : Form { public Fa...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Facturator { public partial class Facturacion : Form { public Fa...
mit
C#
06a3e4fa70981afba7e496c4555be96346f62cef
fix failing test
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
Tweek.Drivers.Blob.Tests/BlobRulesDriverTest.cs
Tweek.Drivers.Blob.Tests/BlobRulesDriverTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System.Threading.Tasks; using System.Text; namespace Tweek.Drivers.Blob.Tests { [TestClass] public class BlobRulesDriverTest { private Mock<IWebClient> mWebClientMock; private Mock<IWebClientFactory> mWebCli...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System.Threading.Tasks; using System.Text; namespace Tweek.Drivers.Blob.Tests { [TestClass] public class BlobRulesDriverTest { private Mock<Uri> mUriMock; private Mock<IWebClient> mWebClientMock; pri...
mit
C#
0df671853a6e99bae5a6faad2e3ea840eedfdedb
Fix bug where AllReservedWords was an empty list
whampson/cascara,whampson/bft-spec
Cascara/Src/Interpreter/ReservedWords.cs
Cascara/Src/Interpreter/ReservedWords.cs
#region License /* Copyright (c) 2017-2018 Wes Hampson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
#region License /* Copyright (c) 2017-2018 Wes Hampson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
mit
C#
be948941a5914f0c28fdcaedad2be56423a1538e
switch to 6080 on localhost
agrc/deq-enviro,agrc/deq-enviro,agrc/deq-enviro,agrc/deq-enviro
api/Search.Api/Services/QuerySoeServiceAsync.cs
api/Search.Api/Services/QuerySoeServiceAsync.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Net.Http; using System.Threading.Tasks; using Containers; using Newtonsoft.Json.Linq; using Search.Api.Formatters; using Search.Api.Properties; namespace Search.Api.Services { public class QuerySoeServiceAsync : IQuerySoeServ...
using System; using System.Collections.Generic; using System.Configuration; using System.Net.Http; using System.Threading.Tasks; using Containers; using Newtonsoft.Json.Linq; using Search.Api.Formatters; using Search.Api.Properties; namespace Search.Api.Services { public class QuerySoeServiceAsync : IQuerySoeServ...
mit
C#
074df3b5e715628b7fca2592d4ab2282a82d6ec6
remove trash code
kirillkostrov/andrule
android/Andrule/Andrule/Network/NetWorkHelper.cs
android/Andrule/Andrule/Network/NetWorkHelper.cs
using System; using System.Net.Sockets; using System.Text; using Android.Content; using Android.Util; using Andrule.UIDetails; namespace Andrule.Network { public class NetWorkHelper { private UdpClient client = new UdpClient(); public Context UIcontext; public bool Connect(string ip) ...
using System; using System.Net.Sockets; using System.Text; using Android.Content; using Android.Util; using Andrule.UIDetails; namespace Andrule.Network { public class NetWorkHelper { private UdpClient client = new UdpClient(); public Context UIcontext; private string ip; publi...
apache-2.0
C#
d8ebe2f827d7b4881638b05ea1b7abbc8e3689f0
Fix build script
Redth/Cake.Xamarin.Build
build.cake
build.cake
#tool nuget:?package=NUnit.ConsoleRunner #tool "nuget:?package=ILRepack" var sln = "./Cake.Xamarin.Build.sln"; var nuspec = "./Cake.Xamarin.Build.nuspec"; var nugetVersion = Argument ("nuget_version", EnvironmentVariable ("NUGET_VERSION") ?? "0.0.0.0"); var target = Argument ("target", "build"); var configuration = Ar...
#tool nuget:?package=NUnit.ConsoleRunner #tool "nuget:?package=ILRepack" var sln = "./Cake.Xamarin.Build.sln"; var nuspec = "./Cake.Xamarin.Build.nuspec"; var nugetVersion = Argument ("nuget_version", EnvironmentVariable ("NUGET_VERSION") ?? "0.0.0.0"); var target = Argument ("target", "build"); var configuration = Ar...
mit
C#
89519fe473b0c35c7e56b05ca32942e09f4b059c
Update version info to 2.2.0
Phrynohyas/eve-o-preview,Ligraph/eve-o-preview,Phrynohyas/eve-o-preview
Eve-O-Preview/Properties/AssemblyInfo.cs
Eve-O-Preview/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
mit
C#
113f2e5ec1237c086d0c152de69e298134dd1643
Fix wrong name
laurentkempe/GitDiffMargin,modulexcite/GitDiffMargin
GitDiffMargin/Properties/AssemblyInfo.cs
GitDiffMargin/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("GitDiffMargin")] [assembly: Assemb...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("EditorDiffMargin")] [assembly: Ass...
mit
C#
3b26b49f2bc62942c6bd9e6daf78f210ff7fa827
Add cast on return value if needed
SharpNative/CSharpLLVM,SharpNative/CSharpLLVM
CSharpLLVM/Generator/Instructions/FlowControl/EmitRet.cs
CSharpLLVM/Generator/Instructions/FlowControl/EmitRet.cs
using Swigged.LLVM; using Mono.Cecil; using Mono.Cecil.Cil; using CSharpLLVM.Compilation; using CSharpLLVM.Stack; using CSharpLLVM.Helpers; namespace CSharpLLVM.Generator.Instructions.FlowControl { [InstructionHandler(Code.Ret)] class EmitRet : ICodeEmitter { /// <summary> /// Emits a ret ...
using Swigged.LLVM; using Mono.Cecil; using Mono.Cecil.Cil; using CSharpLLVM.Compilation; using CSharpLLVM.Stack; namespace CSharpLLVM.Generator.Instructions.FlowControl { [InstructionHandler(Code.Ret)] class EmitRet : ICodeEmitter { /// <summary> /// Emits a ret instruction. /// <...
mit
C#
2582977b77808b722054b3e34dd9682a9e98d636
Update EnumerableExtensions.cs
keith-hall/Extensions,keith-hall/Extensions
src/EnumerableExtensions.cs
src/EnumerableExtensions.cs
using System; using System.Collections.Generic; using System.Linq; namespace HallLibrary.Extensions { public static class EnumerableExtensions { /// <summary> /// Randomise the order of the elements in the <paramref name="source"/> enumerable. /// </summary> /// <typeparam name="T">The type of the elements i...
using System; using System.Collections.Generic; using System.Linq; namespace HallLibrary.Extensions { public static class EnumerableExtensions { /// <summary> /// Randomise the order of the elements in the <paramref name="source"/> enumerable. /// </summary> /// <typeparam name="T">The type of the elements i...
apache-2.0
C#
db542046d9f1d4edd54793b381321e417c6394ce
Make Distributor require EndpointDeliveryService.
justinjstark/Verdeler,justinjstark/Delivered
Verdeler/Distributor.cs
Verdeler/Distributor.cs
using System; using System.Collections.Generic; using System.Linq; namespace Verdeler { public class Distributor<TDistributable> : IDistributor<TDistributable> where TDistributable : IDistributable { private readonly List<IEndpointRepository> _endpointRepositories = new List<IEndpointRepos...
using System; using System.Collections.Generic; using System.Linq; namespace Verdeler { public class Distributor<TDistributable> : IDistributor<TDistributable> where TDistributable : IDistributable { private readonly List<IEndpointRepository> _endpointRepositories = new List<IEndpointRepos...
mit
C#
c535c0eae4a57f40e07181c9f563f84dddf3b2f9
set state
ei2kpi/waypoint-Px
InitialProj/Assets/CursorSetupManager.cs
InitialProj/Assets/CursorSetupManager.cs
using UnityEngine; using HoloToolkit.Unity; using System.Collections; public class CursorSetupManager : Singleton<CursorSetupManager> { public GameObject Waypoint; public bool SetupMode = true; // Use this for initialization void Start () { if (SetupMode) { GestureManager....
using UnityEngine; using HoloToolkit.Unity; using System.Collections; public class CursorSetupManager : Singleton<CursorSetupManager> { public GameObject Waypoint; public bool SetupMode = true; // Use this for initialization void Start () { if (SetupMode) { GestureManager....
mit
C#
6fb10f31c9062e573f0153153b9a2ed73c095361
update to reflect new project website URL
Moily/common-logging,net-commons/common-logging,net-commons/common-logging
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Security; #if !PORTABLE using System.Security.Permissions; #endif //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // ...
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Security; #if !PORTABLE using System.Security.Permissions; #endif //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // ...
apache-2.0
C#
ab1e147dbdff18cef8e66d00bbdc77edc09f26bc
Fix version.
msgpack/msgpack-cli,msgpack/msgpack-cli
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010-2016 FUJIWARA, Yusuke // // 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.apac...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010-2016 FUJIWARA, Yusuke // // 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.apac...
apache-2.0
C#
8c1e53dec942c0cb96882d7ad93de1b6db5f78f7
Add connection to the Bitcoin network test
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
MagicalCryptoWallet.Tests/WalletTests.cs
MagicalCryptoWallet.Tests/WalletTests.cs
using MagicalCryptoWallet.KeyManagement; using MagicalCryptoWallet.Logging; using MagicalCryptoWallet.Services; using NBitcoin; using NBitcoin.Protocol; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Xunit; namespace Magi...
using MagicalCryptoWallet.KeyManagement; using MagicalCryptoWallet.Services; using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Xunit; namespace MagicalCryptoWallet.Tests { public class WalletTests : IClassFixture<SharedFixture> ...
mit
C#
9d7a5606e015b7ecd689f8fd1e1ac51884c1b50c
Revert "世界を書き換えるものすらいた"
devlights/MyHelloWorld
MyHelloWorld/HelloWorld.Core/HelloWorldMessageManager.cs
MyHelloWorld/HelloWorld.Core/HelloWorldMessageManager.cs
namespace HelloWorld.Core { using System; using System.Collections.Generic; using System.Linq; public class HelloWorldMessageManager : IMessageManager { public string GetMessage(string value) { if (value == null) { throw new ArgumentNullException("value"); } if (st...
namespace HelloWorld.Core { using System; using System.Collections.Generic; using System.Linq; public class HelloWorldMessageManager : IMessageManager { public string GetMessage(string value) { if (value == null) { throw new ArgumentNullException("value"); } if (st...
mit
C#
e941dad5cfb4fe32271744d4136357dc8e1e2688
Bump version
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/Properties/AssemblyInfo.cs
R7.University/Properties/AssemblyInfo.cs
using System.Reflection; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("R7.University")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("R7.Labs")] ...
using System.Reflection; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("R7.University")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("R7.Labs")] ...
agpl-3.0
C#
6727e3acc68b4e13b477d1275df6a6307786b046
fix for failing test case
PKRoma/RestSharp,restsharp/RestSharp
RestSharp.Tests/StringExtensionsTests.cs
RestSharp.Tests/StringExtensionsTests.cs
using System; using System.Text; using NUnit.Framework; using RestSharp.Extensions; namespace RestSharp.Tests { public class StringExtensionsTests { [Test] public void UrlEncode_Throws_ArgumentNullException_For_Null_Input() { const string nullString = null; Asse...
using System; using System.Text; using NUnit.Framework; using RestSharp.Extensions; namespace RestSharp.Tests { public class StringExtensionsTests { [Test] public void UrlEncode_Throws_ArgumentNullException_For_Null_Input() { const string nullString = null; Asse...
apache-2.0
C#
bd08a2ca62e445c0163dc9a80de86a7352890ebd
fix a build break due to api change
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/Microsoft.AspNet.Mvc.Core.Test/ActionResults/ChallengeResultTest.cs
test/Microsoft.AspNet.Mvc.Core.Test/ActionResults/ChallengeResultTest.cs
using System.Collections.Generic; using Microsoft.AspNet.Http; using Microsoft.AspNet.Routing; using Moq; using Xunit; namespace Microsoft.AspNet.Mvc.Core.Test.ActionResults { public class ChallengeResultTest { [Fact] public void ChallengeResult_Execute() { // Arrange ...
using System.Collections.Generic; using Microsoft.AspNet.Http; using Microsoft.AspNet.Routing; using Moq; using Xunit; namespace Microsoft.AspNet.Mvc.Core.Test.ActionResults { public class ChallengeResultTest { [Fact] public void ChallengeResult_Execute() { // Arrange ...
apache-2.0
C#
45897211d876e54ad9701e9197e0007ae8a8423c
fix build error in tests
loekd/ServiceFabric.Mocks
test/ServiceFabric.Mocks.Tests/MocksTests/MockReliableDictionaryTests.cs
test/ServiceFabric.Mocks.Tests/MocksTests/MockReliableDictionaryTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; namespace ServiceFabric.Mocks.Tests.MocksTests { [TestClass] public class MockReliableDictionaryTests { [TestMethod] public async Task DictionaryAddDuplicateKeyExceptionTypeTest() { ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; namespace ServiceFabric.Mocks.Tests.MocksTests { [TestClass] public class MockReliableDictionaryTests { [TestMethod] public async Task DictionaryAddDuplicateKeyExceptionTypeTest() { ...
mit
C#
8f72483a923e75fe74c41b2106d5cc7e625ae749
add of act field
Appleseed/base,Appleseed/base
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
apache-2.0
C#
181d0d237639aefc059160e92d50005a3bd0e725
Update caret position when text is changed
k-t/SharpHaven
MonoHaven.Client/UI/TextBox.cs
MonoHaven.Client/UI/TextBox.cs
using System; using System.Drawing; using MonoHaven.Graphics; using MonoHaven.Resources; using OpenTK; using OpenTK.Input; namespace MonoHaven.UI { public class TextBox : Widget { private const int TextPadding = 2; private const int CursorBlinkRate = 500; private readonly TextBlock text; private readonly T...
using System; using System.Drawing; using MonoHaven.Graphics; using MonoHaven.Resources; using OpenTK; using OpenTK.Input; namespace MonoHaven.UI { public class TextBox : Widget { private const int TextPadding = 2; private const int CursorBlinkRate = 500; private readonly TextBlock text; private readonly T...
mit
C#
f7559a7402f2e089bde7f3ed6927d011d4e563f5
add parameters
QuickPay/quickpay-dotnet-client,AxelAndersen/quickpay-dotnet-client
QuickPay/QuickPayRestClient.cs
QuickPay/QuickPayRestClient.cs
using System; using System.Net; using System.Collections.Generic; using System.Threading.Tasks; using RestSharp; namespace Quickpay { public class QuickPayRestClient { public RestClient Client { get; set; } public QuickPayRestClient(string username, string password) { Clie...
using System; using System.Net; using System.Collections.Generic; using System.Threading.Tasks; using RestSharp; namespace Quickpay { public class QuickPayRestClient { public RestClient Client { get; set; } public QuickPayRestClient(string username, string password) { Clie...
mit
C#
3dfd86b8ef2bc71732e9689c3ac3db694c774d2d
Reformat DapperRepository
phnx47/MicroOrm.Dapper.Repositories
src/MicroOrm.Dapper.Repositories/DapperRepository.cs
src/MicroOrm.Dapper.Repositories/DapperRepository.cs
using System.Data; using MicroOrm.Dapper.Repositories.SqlGenerator; namespace MicroOrm.Dapper.Repositories { /// <summary> /// Base Repository /// </summary> public partial class DapperRepository<TEntity> : ReadOnlyDapperRepository<TEntity>, IDapperRepository<TEntity> where TEntity : class...
using System.Data; using MicroOrm.Dapper.Repositories.SqlGenerator; namespace MicroOrm.Dapper.Repositories { /// <summary> /// Base Repository /// </summary> public partial class DapperRepository<TEntity> : ReadOnlyDapperRepository<TEntity>, IDapperRepository<TEntity> where TEntity : class...
mit
C#
fe284310f7ea9bdc0926f72194bcf6f89ebb443a
Update NullScenario.cs
JoeMighty/shouldly
src/Shouldly.Tests/ShouldNotBeOfType/NullScenario.cs
src/Shouldly.Tests/ShouldNotBeOfType/NullScenario.cs
using Xunit; namespace Shouldly.Tests.ShouldNotBeOfType { public class NullIsNotOfType { [Fact] public void AndShouldNotThrow() { object o = null; o.ShouldNotBeOfType<int>("Some additional context"); } //TODO Test of null.ShouldNotBeOfType<int?>...
using Xunit; namespace Shouldly.Tests.ShouldNotBeOfType { public class NullIsNotOfType { [Fact] public void AndShouldNotThrow() { object o = null; o.ShouldNotBeOfType<int>("Some additional context"); } //TODO Test of null.ShouldNotBeOfType<int?...
bsd-3-clause
C#
b5cbdcf9819dff87a57758b4577c80da49f9ed85
Implement basic behaviour of favourite button
smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu
osu.Game/Beatmaps/Drawables/Cards/Buttons/FavouriteButton.cs
osu.Game/Beatmaps/Drawables/Cards/Buttons/FavouriteButton.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.Sprites; using osu.Game.Online.API.Requests.Responses; using osu.Framework.Logging; using osu.Game.Online.API...
// 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.Sprites; using osu.Game.Online.API.Requests.Responses; namespace osu.Game.Beatmaps.Drawables.Cards.Buttons { public class FavouriteButto...
mit
C#
159e0272a26177ed48584229ab71a3a0e7940eed
update sample
marihachi/MSharp
src/MSharpSample/SampleForm.cs
src/MSharpSample/SampleForm.cs
using System; using System.Collections.Generic; using System.Windows.Forms; using MSharp; using MSharp.Core.Utility; namespace MSharpSample { public partial class SampleForm : Form { public SampleForm() { InitializeComponent(); } private Misskey mi { set; get; } private string AppKey = "hmsk.eLHQBZX...
using System; using System.Collections.Generic; using System.Windows.Forms; using MSharp; namespace MSharpSample { public partial class SampleForm : Form { public SampleForm() { InitializeComponent(); } private Misskey mi { set; get; } private string AppKey = "hmsk.eLHQBZXJmdKMqdzTbzdnIDsaifKcOIxj";...
mit
C#
63134f56c0969a144807c224e92faecc9b20ae4c
Order entity configurations
jontansey/.Net-Core-Ecommerce-Base,jontansey/.Net-Core-Ecommerce-Base
src/Shop.Core/Entites/Order.cs
src/Shop.Core/Entites/Order.cs
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Shop.Core.BaseObjects; using Shop.Core.Interfaces; namespace Shop.Core.Entites { public class Order : LifetimeBase, IReferenceable<Order> { [Key] public int OrderId { get; set; } [Required] [S...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Shop.Core.BaseObjects; using Shop.Core.Interfaces; namespace Shop.Core.Entites { public class Order : LifetimeBase, IReferenceable<Order> { [Key] public int OrderId { get; set; } public string OrderRef...
mit
C#
7a9396cb91ba3557240e2aa106adba89eb38a13a
Make LimitedQueue in samples thread save
charlenni/Mapsui,pauldendulk/Mapsui,tebben/Mapsui,charlenni/Mapsui
Samples/Mapsui.Samples.Wpf/Utilities/LimitedQueue.cs
Samples/Mapsui.Samples.Wpf/Utilities/LimitedQueue.cs
using System.Collections.Concurrent; namespace Mapsui.Samples.Wpf.Utilities { public class LimitedQueue<T> : ConcurrentQueue<T> { public int Limit { get; set; } public LimitedQueue(int limit) { Limit = limit; } public new void Enqueue(T item) { ...
using System.Collections.Generic; namespace Mapsui.Samples.Wpf.Utilities { public class LimitedQueue<T> : Queue<T> { public int Limit { get; set; } public LimitedQueue(int limit) : base(limit) { Limit = limit; } public new void Enqueue(T item) { ...
mit
C#
8fa4105087c1ab1237ab6b4de93d8d77f133a558
Update ContactDto.cs
crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin
SignInCheckIn/SignInCheckIn/Models/DTO/ContactDto.cs
SignInCheckIn/SignInCheckIn/Models/DTO/ContactDto.cs
using System.Web.UI; namespace SignInCheckIn.Models.DTO { public class ContactDto { public int ContactId { get; set; } public int HouseholdId { get; set; } public int HouseholdPositionId { get; set; } public string HomePhone { get; set; } public string MobilePhone { ...
using System.Web.UI; namespace SignInCheckIn.Models.DTO { public class ContactDto { public int ContactId { get; set; } public int HouseholdId { get; set; } public int HouseholdPositionId { get; set; } public string HomePhone { get; set; } public string MobilePhone {...
bsd-2-clause
C#
0fbdd657bf58af86a18d7aae06edede7ce02afc8
Fix binding events from base classes (e.g. TextBox.TextChanged moved to base TextControl class)
bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto
Source/Eto.Serialization.Json/EtoContractResolver.cs
Source/Eto.Serialization.Json/EtoContractResolver.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Reflection; using System.Collections.Generic; using System.Linq; namespace Eto.Serialization.Json { public class EtoContractResolver : DefaultContractResolver { protected override IValueProvider CreateMemberValueProvider(MemberI...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Reflection; using System.Collections.Generic; using System.Linq; namespace Eto.Serialization.Json { public class EtoContractResolver : DefaultContractResolver { protected override IValueProvider CreateMemberValueProvider(MemberI...
bsd-3-clause
C#
a2c8b85ed6ac02ef3939e5f74cd4de1a02e85de7
Include slick from cdn
tuelsch/schreinerei-gfeller,tuelsch/schreinerei-gfeller,tuelsch/schreinerei-gfeller
schreinerei-gfeller/Views/Shared/_Layout.cshtml
schreinerei-gfeller/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - Schreinerei Gfeller</title> @* CSS *@ <link href="~/favicon.png" rel="icon...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - Schreinerei Gfeller</title> @* CSS *@ <link href="~/res/16x16/favicon.png"...
mit
C#
34ac9f86cbd0ed3078dec22e2d0478caad44e2a8
Update Customer.cs
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Test/AdventureWorksFunctionalModel/Sales/Customer.cs
Test/AdventureWorksFunctionalModel/Sales/Customer.cs
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
apache-2.0
C#
f6ada5204b7c8eb0e40709e9ea7a2f6e2e35ba2a
Fix spacing in menu
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Shell/MainMenu/HelpMainMenuItems.cs
WalletWasabi.Gui/Shell/MainMenu/HelpMainMenuItems.cs
using AvalonStudio.MainMenu; using AvalonStudio.Menus; using System; using System.Collections.Generic; using System.Composition; using System.Text; namespace WalletWasabi.Gui.Shell.MainMenu { internal class HelpMainMenuItems { private IMenuItemFactory MenuItemFactory { get; } [ImportingConstructor] public He...
using AvalonStudio.MainMenu; using AvalonStudio.Menus; using System; using System.Collections.Generic; using System.Composition; using System.Text; namespace WalletWasabi.Gui.Shell.MainMenu { internal class HelpMainMenuItems { private IMenuItemFactory MenuItemFactory { get; } [ImportingConstructor] public He...
mit
C#
bf6ce953f92af6dd278906fe870ee58e0284e4c4
Use x86 msbuild on windows
jamesmontemagno/MediaPlugin,jamesmontemagno/MediaPlugin
build.cake
build.cake
var TARGET = Argument ("target", Argument ("t", "Default")); var VERSION = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); var CONFIG = Argument("configuration", EnvironmentVariable ("CONFIGURATION") ?? "Release"); var SLN = "./src/Media.sln"; Task("Libraries").Does(()=> { NuGetRest...
var TARGET = Argument ("target", Argument ("t", "Default")); var VERSION = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); var CONFIG = Argument("configuration", EnvironmentVariable ("CONFIGURATION") ?? "Release"); var SLN = "./src/Media.sln"; Task("Libraries").Does(()=> { NuGetRest...
mit
C#
56b1f45f68be2e9787e316a849918379b99f9b75
use `DoInDirectory`
jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddi...
build.cake
build.cake
#addin nuget:?package=Cake.DoInDirectory var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var buildDir = Directory("./build/lib") + Directory(configuration); Task("Clean") .Does(() => { CleanDirectory(buildDir); }); Task("Build-Binder") .Does(() => ...
var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var buildDir = Directory("./build/lib") + Directory(configuration); Task("Clean") .Does(() => { CleanDirectory(buildDir); }); Task("Build-Binder") .Does(() => { MSBuild("./build/projects/MonoE...
mit
C#
feb6caf1b8c869354098a569936a02cf5db129fa
Make ThemedImage public
mono/xwt,antmicro/xwt,cra0zy/xwt,hamekoz/xwt,residuum/xwt,hwthomas/xwt,akrisiun/xwt,lytico/xwt,TheBrainTech/xwt
Xwt/Xwt.Drawing/ThemedImage.cs
Xwt/Xwt.Drawing/ThemedImage.cs
// // ThemedImage.cs // // Author: // Lluis Sanchez Gual <lluis@xamarin.com> // // Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.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...
// // ThemedImage.cs // // Author: // Lluis Sanchez Gual <lluis@xamarin.com> // // Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.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...
mit
C#
68ae50856431b39f7a0b47740caa76638fad3fb8
fix to use Binary
autumn009/TanoCSharpSamples
Chap34/自動実装プロパティのフィールドに属性/自動実装プロパティのフィールドに属性/Program.cs
Chap34/自動実装プロパティのフィールドに属性/自動実装プロパティのフィールドに属性/Program.cs
using System; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; [Serializable] class X { [field: NonSerialized] public int x { get; set; } } class Program { static void Main(string[] args) { X obj = new X(); IFormatter formatte...
using System; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Soap; using System.Text; [Serializable] class X { [field: NonSerialized] public int x { get; set; } } class Program { static void Main(string[] args) { X obj = new X(); IF...
mit
C#
dbd723ac107e8437c971d1f519747f47fb42070b
Update RequestTask.cs
xjpeter/Naru
Naru.Agatha/RequestTask.cs
Naru.Agatha/RequestTask.cs
using System; using System.Threading.Tasks; using Agatha.Common; using Common.Logging; using Naru.Core; namespace Naru.Agatha { public class RequestTask : IRequestTask { private readonly ILog _log; private readonly Func<IRequestDispatcher> _requestDispatcher; public RequestTask(ILo...
using System; using System.Threading.Tasks; using Agatha.Common; using Common.Logging; using Naru.Core; namespace Naru.Agatha { public class RequestTask : IRequestTask { private readonly ILog _log; private readonly Func<IRequestDispatcher> _requestDispatcher; public RequestTask(ILo...
mit
C#
b691b2b9ebfaa85087b8844ef4f1dbf1fb69cbd8
Refactor `EditController`
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework/EditorView/EditController.cs
SolidworksAddinFramework/EditorView/EditController.cs
using System; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.Threading.Tasks; using LanguageExt; using static LanguageExt.Prelude; using ReactiveUI; using ReactiveUI.Fody.Helpers; namespace SolidworksAddinFramework.EditorView { /// <summary> /// Allows only one edit command to be v...
using System; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.Threading.Tasks; using LanguageExt; using static LanguageExt.Prelude; using ReactiveUI; using ReactiveUI.Fody.Helpers; namespace SolidworksAddinFramework.EditorView { /// <summary> /// Allows only one edit command to be v...
mit
C#
a501216bad65e614fc042354d27ff201dd4135f0
Update to version 0.1.8.4
TechieGuy12/PlexServerAutoUpdater
Properties/AssemblyInfo.cs
Properties/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. [assembly: Assembl...
#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. [assembly: Assembl...
mit
C#
002d795225de35a00e957f1ea67d86608f2bd836
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
autofac/Autofac.Extras.EnterpriseLibraryConfigurator
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Autofac.Extras.Tests.EnterpriseLibraryConfigurator")]
using System.Reflection; [assembly: AssemblyTitle("Autofac.Extras.Tests.EnterpriseLibraryConfigurator")] [assembly: AssemblyDescription("Tests for the Autofac container configurator for Enterprise Library.")]
mit
C#
c0cf24771ba9fcb5f76922df3893c41bd48bbaed
Remove attribute to inherit from base (enabling skipping when no DB available).
sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/SJP.Schema
src/SJP.Schematic.Oracle.Tests/Integration/OracleDatabaseIdentifierLengthValidationTests.cs
src/SJP.Schematic.Oracle.Tests/Integration/OracleDatabaseIdentifierLengthValidationTests.cs
using NUnit.Framework; using SJP.Schematic.Core; namespace SJP.Schematic.Oracle.Tests.Integration { internal sealed class OracleDatabaseIdentifierLengthValidationTests : OracleTest { private IOracleDatabaseIdentifierValidation Validator => new OracleDatabaseIdentifierLengthValidation(Connection); ...
using NUnit.Framework; using SJP.Schematic.Core; namespace SJP.Schematic.Oracle.Tests.Integration { [TestFixture] internal sealed class OracleDatabaseIdentifierLengthValidationTests : OracleTest { private IOracleDatabaseIdentifierValidation Validator => new OracleDatabaseIdentifierLengthValidation...
mit
C#
26fc6d72b3074ec8699b2c25782fbc6d48a6c12c
add DummyTest
Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017
PhotoArtSystem/Tests/PhotoArtSystem.Tests.UnitTests/Controllers/Global/HomeControllerTest.cs
PhotoArtSystem/Tests/PhotoArtSystem.Tests.UnitTests/Controllers/Global/HomeControllerTest.cs
namespace PhotoArtSystem.Tests.UnitTests.Controllers.Global { using System.Web.Mvc; using NUnit.Framework; using Web.Controllers; [TestFixture] public class HomeControllerTest { [Test] public void Index() { // Arrange HomeController controller = ...
namespace PhotoArtSystem.Tests.UnitTests.Controllers.Global { using System.Web.Mvc; using NUnit.Framework; using Web.Controllers; [TestFixture] public class HomeControllerTest { [Test] public void Index() { // Arrange HomeController controller = ...
mit
C#
42e9b36b5d1be18c29ac240da1430dcfb44fcd80
Update AssemblyInfo.cs
Goldfish64/StorageSpacesMonitor,Goldfish64/StorageSpacesMonitor
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * File: AssemblyInfo.cs * * Copyright (c) 2016 John Davis * * 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 withou...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * File: AssemblyInfo.cs * * Copyright (c) 2016 John Davis * * 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 withou...
mit
C#
4846e3bddc02d75a04bac3292a255323551cb7a3
clean auto generated field in LockObjectInfo
Pavel-Durov/Win-Handles-Querier
Assignments/Assignments.Core/Model/Blocking/LockObjectInfo.cs
Assignments/Assignments.Core/Model/Blocking/LockObjectInfo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Assignments.Core.Handlers.WCT; namespace Assignments.Core.Model.Blocking { public class LockObjectInfo { public LockObjectInfo(_WAITCHAIN_NODE_INFO_LOCK_OBJECT lockObject) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Assignments.Core.Handlers.WCT; namespace Assignments.Core.Model.Blocking { public class LockObjectInfo { private _WAITCHAIN_NODE_INFO_LOCK_OBJECT lockObject; public LockOb...
mit
C#
69f6b7c93893914424c9e3de74abfaad1d69c3eb
Update MapgeneratorEditor.cs
DarkGamer67/ChessWarrior
Assets/Editor/MapgeneratorEditor.cs
Assets/Editor/MapgeneratorEditor.cs
using UnityEngine; using UnityEditor; using NUnit.Framework; /* * * Copyright 2016 Utku Pazarci * * 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/...
using UnityEngine; using UnityEditor; using NUnit.Framework; [CustomEditor(typeof(MapGenerator))] public class MapGeneratorEditor : Editor { public override void OnInspectorGUI() { MapGenerator map = target as MapGenerator; if (DrawDefaultInspector()) { map.GenerateMap(); ...
apache-2.0
C#
3cc72989b5668e2dc3f5b2fbac739097cb8f9d2f
Remove Dashboard field from UserAccountAssetGroup
GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA
Source/Libraries/openXDA.Model/Links/UserAccountAssetGroup.cs
Source/Libraries/openXDA.Model/Links/UserAccountAssetGroup.cs
//****************************************************************************************************** // UserAccountAssetGroup.cs - Gbtc // // Copyright © 2017, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. S...
//****************************************************************************************************** // UserAccountAssetGroup.cs - Gbtc // // Copyright © 2017, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. S...
mit
C#
db3db517ba6f99153db49ff973bf7bda94ea9b90
Update ProductPhoto.cs
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Test/AdventureWorksFunctionalModel/Production/ProductPhoto.cs
Test/AdventureWorksFunctionalModel/Production/ProductPhoto.cs
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
apache-2.0
C#
8abddd9775ce2009b2714b85150502d026f9c362
Add "Notification Settings" as sub-menu under Settings
aalok05/CodeHub
CodeHub/Services/SettingsService.cs
CodeHub/Services/SettingsService.cs
using CodeHub.Helpers; using JetBrains.Annotations; using Windows.Foundation.Collections; using Windows.Storage; namespace CodeHub.Services { /// <summary> /// A static class that manages local app settings /// </summary> public static class SettingsService { // The settings container private static readonly ...
using CodeHub.Helpers; using JetBrains.Annotations; using Windows.Foundation.Collections; using Windows.Storage; namespace CodeHub.Services { /// <summary> /// A static class that manages local app settings /// </summary> public static class SettingsService { // The settings container private static readonly ...
mit
C#
4813a719ba2e17e09d6c9c9ba07275560b4c4715
Fix reading rules multiple times (#10925)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Client/Info/RulesManager.cs
Content.Client/Info/RulesManager.cs
using Content.Client.Lobby; using Content.Client.Viewport; using Content.Shared.CCVar; using Content.Shared.Info; using Robust.Client.Console; using Robust.Client.State; using Robust.Client.UserInterface; using Robust.Shared.Configuration; using Robust.Shared.Network; namespace Content.Client.Info; public sealed clas...
using Content.Client.Lobby; using Content.Client.Viewport; using Content.Shared.CCVar; using Content.Shared.Info; using Robust.Client.Console; using Robust.Client.State; using Robust.Client.UserInterface; using Robust.Shared.Configuration; using Robust.Shared.Network; namespace Content.Client.Info; public sealed clas...
mit
C#
eebbbb86f226171fc991e368a0fb035a916db292
Update Program.cs file
luca16s/Validacao-de-CPF,luca16s/Validacao-de-CPF
CpfTest/Program.cs
CpfTest/Program.cs
using System; using CpfValidation; namespace CpfTest { class Program { static void Main(string[] args) { string UserCpf; Console.WriteLine("Insira seu CPF: "); UserCpf = Console.ReadLine(); if (CpfValidationClass.Validation(UserCpf.Replace("-", "...
using System; using CpfValidation; namespace CpfTest { class Program { static void Main(string[] args) { string cpf; Console.WriteLine("Insira seu CPF: "); cpf = Console.ReadLine(); if (CpfValidationClass.Validacao(cpf.Replace("-", "").Replace("....
mit
C#
dc0724a406c61a84d6e9ca8a54dd4b9fd4818908
work in progress for Concept in About.cshtml
ToBeerOrNotToBeer/Favor,ToBeerOrNotToBeer/Favor
Favor/Favor/Views/Home/About.cshtml
Favor/Favor/Views/Home/About.cshtml
@{ ViewBag.Title = "Concept"; } <div class="jumbotron"> <h1 class="text-center"><b>Favor</b> Concept</h1> <p>Our idea started one day when we couldn't find a person to do a current job for us. We talked and discussed how many sites are out there but none of them offer favors. They are mostly for s...
@{ ViewBag.Title = "About"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <p>Use this area to provide additional information.</p>
mit
C#
572139e5fab18bad6da711c588f2f3ff36a9248b
add congregation/site id to query
crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin
SignInCheckIn/MinistryPlatform.Translation/Repositories/EventRepository.cs
SignInCheckIn/MinistryPlatform.Translation/Repositories/EventRepository.cs
using System; using System.Collections.Generic; using MinistryPlatform.Translation.Models.DTO; using MinistryPlatform.Translation.Repositories.Interfaces; namespace MinistryPlatform.Translation.Repositories { public class EventRepository : IEventRepository { private readonly IApiUserRepository _apiUse...
using System; using System.Collections.Generic; using MinistryPlatform.Translation.Models.DTO; using MinistryPlatform.Translation.Repositories.Interfaces; namespace MinistryPlatform.Translation.Repositories { public class EventRepository : IEventRepository { private readonly IApiUserRepository _apiUse...
bsd-2-clause
C#
517b39e3c48951bd1266b66bb96af62c39eab97b
add missing CreateEphemeralKey flag
claq2/IdentityModel.HttpSigning,IdentityModel/IdentityModel.HttpSigning
src/IdentityModel.HttpSigning/Signatures/RSSignatures.cs
src/IdentityModel.HttpSigning/Signatures/RSSignatures.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Jose; using System; using System.Security.Cryptography; namespace IdentityModel.HttpSigning { static class RSAParametersExtensions...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Jose; using System; using System.Security.Cryptography; namespace IdentityModel.HttpSigning { static class RSAParametersExtensions...
apache-2.0
C#
4f4beb066b5aff7a3c00ff0043116cc44cb2dbed
add help messages
appharbor/AppHarbor-SqlServerBulkCopy
src/AppHarbor.SqlServerBulkCopy/Program.cs
src/AppHarbor.SqlServerBulkCopy/Program.cs
using System; using System.Data.SqlClient; using System.Linq; using Microsoft.SqlServer.Management.Common; using Microsoft.SqlServer.Management.Smo; using NDesk.Options; using System.Diagnostics; namespace AppHarbor.SqlServerBulkCopy { class Program { static void Main(string[] args) { string so...
using System; using System.Data.SqlClient; using System.Linq; using Microsoft.SqlServer.Management.Common; using Microsoft.SqlServer.Management.Smo; using NDesk.Options; using System.Diagnostics; namespace AppHarbor.SqlServerBulkCopy { class Program { static void Main(string[] args) { string so...
mit
C#
59ce0b2db4ed2532521dc5c2fc82f5edec92f96d
Use Country class in CountryValidator
CIR2000/BusinessObjects
BusinessObjects.PCL/Validators/CountryValidator.cs
BusinessObjects.PCL/Validators/CountryValidator.cs
using BusinessObjects.PCL; namespace BusinessObjects.Validators { /// <summary> /// Validates that a property conforms to ISO 3166-1 alpha 2 codes. /// </summary> public class CountryValidator : DomainValidator { /// <summary> /// Validates that a property conforms to ISO 3166-1 alpha ...
namespace BusinessObjects.Validators { /// <summary> /// Validates that a property conforms to ISO 3166-1 alpha 2 codes. /// </summary> public class CountryValidator : DomainValidator { /// <summary> /// Validates that a property conforms to ISO 3166-1 alpha 2 codes. /// </summa...
bsd-3-clause
C#
7f11fa5abbf2221fb37b8e821561ff4387f92782
correct spell
artiso-solutions/samples
MEFLiveUpdateExample/Contracts/IMainControl.cs
MEFLiveUpdateExample/Contracts/IMainControl.cs
namespace Contracts { /// <summary> /// Interface used to identify the main user control /// </summary> public interface IMainControl { } }
namespace Contracts { /// <summary> /// interface used to identify the main user control /// </summary> public interface IMainControl { } }
mit
C#
709e92fa9856feac030cad1c6171f1efc8058bad
use spinwait, supposing there are enough cores
tshibata/POBTree
ElasticBTree/Node.cs
ElasticBTree/Node.cs
/* * Copyright(c) 2013-2014 tshibata <staatsschreiber@gmail.com> * Licensed under the Apache License, Version 2.0 */ using System; using System.Threading; namespace ElasticBTree { internal abstract class Node<K, V> where K: IComparable { /* * number of keys a node should have at least */ public const ...
/* * Copyright(c) 2013 tshibata <staatsschreiber@gmail.com> * Licensed under the Apache License, Version 2.0 */ using System; using System.Threading; namespace ElasticBTree { internal abstract class Node<K, V> where K: IComparable { /* * number of keys a node should have at least */ public const int M...
apache-2.0
C#
c89ca5fc11daa41a7c2de5cd65c1525efecd02b4
include the FileMode values which are necessary to creating non-busted trees
TattsGroup/octokit.net,eriawan/octokit.net,hahmed/octokit.net,devkhan/octokit.net,shiftkey-tester/octokit.net,geek0r/octokit.net,SmithAndr/octokit.net,SLdragon1989/octokit.net,SmithAndr/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,adamralph/octokit.net,ChrisMissal/octokit.net,magoswiat/octokit.net,darrelmiller...
Octokit/Models/Response/TreeItem.cs
Octokit/Models/Response/TreeItem.cs
using System; using System.Diagnostics.CodeAnalysis; namespace Octokit { public class TreeItem { /// <summary> /// The path for this Tree Item. /// </summary> public string Path { get; set; } /// <summary> /// The mode of this Tree Item. /// </summary> ...
using System; namespace Octokit { public class TreeItem { /// <summary> /// The path for this Tree Item. /// </summary> public string Path { get; set; } /// <summary> /// The mode of this Tree Item. /// </summary> public string Mode { get; set; ...
mit
C#
6f2963a2504cc1e64773a10193f0e60c93b17884
Update tranportype with new additions for Mqtt/Ws and Mqtt/Tcp
Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks,Eclo/azure-iot-sdks
csharp/device/Microsoft.Azure.Devices.Client/TransportType.cs
csharp/device/Microsoft.Azure.Devices.Client/TransportType.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Devices.Client { /// <summary> /// Transport types supported by DeviceClient - AMQP/TCP, HTTP 1.1, MQTT/TCP, AMQP/WS, MQTT/WS ///...
using System; using System.Collections.Generic; using System.Text; namespace Microsoft.Azure.Devices.Client { /// <summary> /// Transport types supported by DeviceClient /// </summary> public enum TransportType { /// <summary> /// Advanced Message Queuing Protocol transport. ...
mit
C#
224572a5bdd66cb9b4f09fe185fbc11de1e4cc0e
Support all daemon kinds except global analysis
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/CSharp/Daemon/Stages/Dispatcher/UnityElementProblemAnalyzer.cs
resharper/resharper-unity/src/CSharp/Daemon/Stages/Dispatcher/UnityElementProblemAnalyzer.cs
using JetBrains.Annotations; using JetBrains.ReSharper.Daemon.Stages.Dispatcher; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.ProjectModel; using JetBrains.ReSharper.Psi.Tree; namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.Dispatcher { public abstract...
using JetBrains.Annotations; using JetBrains.ReSharper.Daemon.Stages.Dispatcher; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.ProjectModel; using JetBrains.ReSharper.Psi.Tree; namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.Dispatcher { public abstract...
apache-2.0
C#
213115d76940f3a9c9c8e24477b02c42b08676e9
cover events edgecase
Pondidum/Ledger.Stores.Postgres,Pondidum/Ledger.Stores.Postgres
Ledger.Stores.Postgres.Tests/EventSaveLoadTests.cs
Ledger.Stores.Postgres.Tests/EventSaveLoadTests.cs
using System; using System.Linq; using Shouldly; using TestsDomain.Events; using Xunit; namespace Ledger.Stores.Postgres.Tests { public class EventSaveLoadTests : PostgresTestBase { public EventSaveLoadTests() { CleanupTables(); var create = new CreateGuidKeyedTablesCommand(ConnectionString); create.Ex...
using System; using System.Linq; using Shouldly; using TestsDomain.Events; using Xunit; namespace Ledger.Stores.Postgres.Tests { public class EventSaveLoadTests : PostgresTestBase { public EventSaveLoadTests() { CleanupTables(); var create = new CreateGuidKeyedTablesCommand(ConnectionString); create.Ex...
lgpl-2.1
C#
15977990a252eb026b2b3cc096b16d62b444ef17
Add missing licence header.
DrabWeb/osu-framework,RedNesto/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,default0/osu-framework,Nabile-Rahmani/osu-framewor...
osu.Framework.Testing/Properties/AssemblyInfo.cs
osu.Framework.Testing/Properties/AssemblyInfo.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of ...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("osu.Framework.Testing")] [assembly:...
mit
C#
1b94909f0dda35ce70570048bee685987c4eeb4f
Support arbitrary-length strings
treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk
NET/Libraries/Demos/Displays/Apa102Demo/Program.cs
NET/Libraries/Demos/Displays/Apa102Demo/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Treehopper; using Treehopper.Libraries.Displays; namespace Apa102Demo { class Program { static void Main(string[] args) { App2().Wait(); } stat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Treehopper; using Treehopper.Libraries.Displays; namespace Apa102Demo { class Program { static void Main(string[] args) { App2().Wait(); } stat...
mit
C#
2ca0b6e997975e56571ed34133f2f4970df4df85
Remove unused event.
mcneel/RhinoCycles
Settings/OptionsDialogCollapsibleSectionUIPanel.cs
Settings/OptionsDialogCollapsibleSectionUIPanel.cs
/** Copyright 2014-2017 Robert McNeel and Associates Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
/** Copyright 2014-2017 Robert McNeel and Associates Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
apache-2.0
C#
77faaec080e6e61daa8d2205a7491631cb1708f1
Fix for sloppy NRE
HarmonicOrder/WarpedDrive
Assets/Harmonic/SubroutineCombat/Scripts/Tracer.cs
Assets/Harmonic/SubroutineCombat/Scripts/Tracer.cs
using UnityEngine; using System.Collections; public class Tracer : SubroutineMovement { public float lookAtSpeed = 2f; public float engagementDistance = 200f; public float followDistance = 30f; public float moveSpeed = 20f; public float fireSpeed = 100f; public float FireTime = 1f; private bool BeingFired =...
using UnityEngine; using System.Collections; public class Tracer : SubroutineMovement { public float lookAtSpeed = 2f; public float engagementDistance = 200f; public float followDistance = 30f; public float moveSpeed = 20f; public float fireSpeed = 100f; public float FireTime = 1f; private bool BeingFired =...
mit
C#
21a4d6ae17a1b23e2b0645dcc95c410127425694
remove duplicate logic
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Converters/MoneyBrushConverter.cs
WalletWasabi.Gui/Converters/MoneyBrushConverter.cs
using Avalonia.Data.Converters; using Avalonia.Media; using AvalonStudio.Extensibility.Theme; using NBitcoin; using System; using System.Collections.Generic; using System.Globalization; using System.Text; using WalletWasabi.Exceptions; using WalletWasabi.Models; namespace WalletWasabi.Gui.Converters { public class Mo...
using Avalonia.Data.Converters; using Avalonia.Media; using AvalonStudio.Extensibility.Theme; using NBitcoin; using System; using System.Collections.Generic; using System.Globalization; using System.Text; using WalletWasabi.Exceptions; using WalletWasabi.Models; namespace WalletWasabi.Gui.Converters { public class Mo...
mit
C#
beecef1e0ad79f187379c8a1fe04cb7b771977a1
Update to 1.4.6-subsfix01
biarne-a/Zebus,Abc-Arbitrage/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.4.6")] [assembly: AssemblyFileVersion("1.4.6")] [assembly: AssemblyInformationalVersion("1.4.6-subsfix01")]
using System.Reflection; [assembly: AssemblyVersion("1.4.5")] [assembly: AssemblyFileVersion("1.4.5")] [assembly: AssemblyInformationalVersion("1.4.5")]
mit
C#
f1d03adf3119f4201707fc4a464f4f8d39de22ef
make them static
tugberkugurlu/WxrNet
src/WxrNet/WxrSerializer.cs
src/WxrNet/WxrSerializer.cs
using System.Text; using System.Xml; using System.Xml.Serialization; namespace WxrNet { public static class WxrSerializer { private static readonly XmlSerializer _serializer; private static readonly XmlSerializerNamespaces _xmlNamespaces; static WxrSerializer() { va...
using System.Text; using System.Xml; using System.Xml.Serialization; namespace WxrNet { public static class WxrSerializer { public static string Serialize(Wxr site) { var serializer = new XmlSerializer(typeof(Wxr)); var xmlNamespaces = new XmlSerializerNamespaces(); ...
mit
C#
ecccb9b7e6d87d12ea424c06495eba2586047a5b
Update Signature
CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos
source/Cosmos.System2_Plugs/Interop/UnixImpl.cs
source/Cosmos.System2_Plugs/Interop/UnixImpl.cs
using IL2CPU.API.Attribs; using System; using System.IO; namespace Cosmos.System_Plugs.Interop { [Plug("Interop+Sys", IsOptional = true)] internal class SysImpl { [PlugMethod(Signature = "System_Void__Interop_Sys_GetNonCryptographicallySecureRandomBytes_System_Byte#__System_Int32_")] inter...
using IL2CPU.API.Attribs; using System; using System.IO; namespace Cosmos.System_Plugs.Interop { [Plug("Interop+Sys", IsOptional = true)] internal class SysImpl { [PlugMethod(Signature = "System_Void__Interop_Sys_GetNonCryptographicallySecureRandomBytes_System_Byte__System_Int32_")] intern...
bsd-3-clause
C#
765939f68f6e179b76658eaf3f76309968b0663f
Update privacy act page
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Home/PrivacyAct.cshtml
Battery-Commander.Web/Views/Home/PrivacyAct.cshtml
<h1>Privacy Statement</h1> <h2>For Official Use Only (FOUO)</h2> <p>By using this system, you have a responsibility to safeguard the information entrusted to you.</p> <p>Be able to recognize PII and safeguard it.</p> <p>Collect PII only when authorized.</p> <p>Collect only necessary information.</p> <p>Keep the ...
<h1>Privacy Statement</h1> <h2>For Official Use Only (FOUO)</h2> <p>By using this system, you have a responsibility to safeguard the information entrusted to you.</p> <p>Be able to recognize PII and safeguard it.</p> <p>Collect PII only when authorized.</p> <p>Collect only necessary information.</p> <p>Keep the ...
mit
C#
10d5ef59ecb9d003b619f868d4a9046e7addd4af
Fix AutoFactory samples inclusion; fixes #609
DixonDs/structuremap,DixonD-git/structuremap,DixonD-git/structuremap,DixonD-git/structuremap,DixonD-git/structuremap,DixonDs/structuremap
src/StructureMap.AutoFactory.Testing/Samples.cs
src/StructureMap.AutoFactory.Testing/Samples.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using Shouldly; namespace StructureMap.AutoFactory.Testing { public class Samples { // SAMPLE: simple-factory [Fact] public void Simple_factory_creation() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using Shouldly; namespace StructureMap.AutoFactory.Testing { public class Samples { // SAMPLE: simple-factory [Fact] public void Simple_factory_creation() { ...
apache-2.0
C#
011c60502f6bdbcc7b2f7db7325020317c4449b2
Add sitename to MSI specialization payload.
Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script
src/WebJobs.Script.WebHost/Models/MSIContext.cs
src/WebJobs.Script.WebHost/Models/MSIContext.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; namespace Microsoft.Azure.WebJobs.Script.WebHost.Models { public class MSIContext { public string SiteName { get; se...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; namespace Microsoft.Azure.WebJobs.Script.WebHost.Models { public class MSIContext { public string MSISecret { get; s...
mit
C#
ee303fc38c2fae26345fe4f751d8c1d4af69291e
Verify that executing single argument command works as expected
appharbor/appharbor-cli
src/AppHarbor.Tests/CommandDispatcherTest.cs
src/AppHarbor.Tests/CommandDispatcherTest.cs
using System.Linq; using Castle.MicroKernel; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class CommandDispatcherTest { public class FooCommand : ICommand { public virtual void Execute(string[] arguments) { } } [Theory] [InlineAutoCommandDa...
namespace AppHarbor.Tests { public class CommandDispatcherTest { public class FooCommand : ICommand { public virtual void Execute(string[] arguments) { } } } }
mit
C#
6bed0fcd98969e4496a342526b3b2fc359aa02a1
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
autofac/Autofac.Multitenant
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Autofac.Extras.Tests.Multitenant")]
using System.Reflection; [assembly: AssemblyTitle("Autofac.Extras.Tests.Multitenant")] [assembly: AssemblyDescription("Tests for the Autofac multitenancy feature.")]
mit
C#
fbca81abe406eac5e1592f339d85c41cd7eee840
change version to 0.9.0
McSherry/Zener
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // 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.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // 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...
bsd-3-clause
C#
384937992c473b3431631920b845d88c13791f73
Split StatusRiotApi
frederickrogan/RiotSharp
RiotSharp/StatusRiotApi.cs
RiotSharp/StatusRiotApi.cs
using Newtonsoft.Json; using RiotSharp.Http; using RiotSharp.Http.Interfaces; using RiotSharp.Interfaces; using RiotSharp.StatusEndpoint; using System.Threading.Tasks; using RiotSharp.Misc; using System; using System.Net.Http; namespace RiotSharp { public partial class StatusRiotApi : IStatusRiotApi { ...
using Newtonsoft.Json; using RiotSharp.Http; using RiotSharp.Http.Interfaces; using RiotSharp.Interfaces; using RiotSharp.StatusEndpoint; using System.Threading.Tasks; using RiotSharp.Misc; using System; using System.Net.Http; namespace RiotSharp { public class StatusRiotApi : IStatusRiotApi { privat...
mit
C#
4226c674d59cb90cb52e3797205ede55cf42dc39
Fix for initialization exception in EnvUtil logger
mattgwagner/CertiPay.Common
CertiPay.Common/EnvUtil.cs
CertiPay.Common/EnvUtil.cs
using CertiPay.Common.Logging; using System; using System.Configuration; namespace CertiPay.Common { /// <summary> /// A mechanism for determining the current execution environment based on a configuration setting. /// Useful for executing different code paths if running locally our outside of production. ...
using CertiPay.Common.Logging; using System; using System.Configuration; namespace CertiPay.Common { /// <summary> /// A mechanism for determining the current execution environment based on a configuration setting. /// Useful for executing different code paths if running locally our outside of production. ...
mit
C#
ce573a5d130f91a0b3c9c187c80fc25819ff25a9
Add UseCsla method to initialize ApplicationContext
rockfordlhotka/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla
Source/Csla.Xaml.Shared/ConfigurationExtensions.cs
Source/Csla.Xaml.Shared/ConfigurationExtensions.cs
#if !XAMARIN && !NETFX_CORE //----------------------------------------------------------------------- // <copyright file="XamlConfigurationExtensions.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>Implement extension met...
#if !XAMARIN && !NETFX_CORE //----------------------------------------------------------------------- // <copyright file="XamlConfigurationExtensions.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>Implement extension met...
mit
C#
9cf0bdc457854636c09221f69dfa28a02ea74b68
Fix Fulfillment namespace
api-ai/api-ai-net,dialogflow/dialogflow-dotnet-client,IntranetFactory/api-ai-net,api-ai/api-ai-net,dialogflow/dialogflow-dotnet-client
ApiAiSDK/Model/Fulfillment.cs
ApiAiSDK/Model/Fulfillment.cs
// // API.AI .NET SDK - client-side libraries for API.AI // ================================================= // // Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com) // https://www.api.ai // // ********************************************************************************************************...
// // API.AI .NET SDK - client-side libraries for API.AI // ================================================= // // Copyright (C) 2015 by Speaktoit, Inc. (https://www.speaktoit.com) // https://www.api.ai // // ********************************************************************************************************...
apache-2.0
C#
640b7e79afd6e1419bd3ac5e4ed690826915097b
Fix pos of main menu buttons
danielholst/Froggy
frogJumper/Assets/scripts/mainMenuHandler.cs
frogJumper/Assets/scripts/mainMenuHandler.cs
using UnityEngine; using System.Collections; public class mainMenuHandler : MonoBehaviour { public Texture2D startButton; void OnGUI () { GUI.backgroundColor = Color.clear; if (GUI.Button (new Rect (Screen.width/20*3,Screen.height/10*4, 250, 250), startButton)) { // print ("Start Game"); //start game...
using UnityEngine; using System.Collections; public class mainMenuHandler : MonoBehaviour { // private Texture2D startButton; void OnGUI () { GUI.backgroundColor = Color.clear; if (GUI.Button (new Rect (260,300, 300, 300), "")) { // print ("Start Game"); //start game Application.LoadLevel(2); } ...
mit
C#
62ffa73f0497d2fd2015f8137a9a3348bd23f448
Update UriExtensions for .Net Core
Kingloo/GB-Live
src/Extensions/Uri.cs
src/Extensions/Uri.cs
using System; using System.Diagnostics; namespace GBLive.Extensions { public static class UriExtensions { public static void OpenInBrowser(this Uri uri) { if (uri is null) { throw new ArgumentNullException(nameof(uri)); } if (uri.IsAbsoluteUri) { ...
using System; using System.Diagnostics; namespace GBLive.Extensions { public static class UriExtensions { public static void OpenInBrowser(this Uri uri) { if (uri is null) { throw new ArgumentNullException(nameof(uri)); } if (uri.IsAbsoluteUri) { ...
unlicense
C#
8bd04109701d298f78be3d5f1186050805e5bb91
Add DbContext null check to FieldInterceptor.cs
jonnybee/EntityFramework.Filters,pedroreys/EntityFramework.Filters,jbogard/EntityFramework.Filters
src/EntityFramework.Filters/FilterInterceptor.cs
src/EntityFramework.Filters/FilterInterceptor.cs
namespace EntityFramework.Filters { using System.Data.Entity.Core.Common.CommandTrees; using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.Infrastructure.Interception; using System.Linq; public class FilterInterceptor : IDbCommandTreeInterceptor { public void TreeCreate...
namespace EntityFramework.Filters { using System.Data.Entity.Core.Common.CommandTrees; using System.Data.Entity.Core.Metadata.Edm; using System.Data.Entity.Infrastructure.Interception; using System.Linq; public class FilterInterceptor : IDbCommandTreeInterceptor { public void TreeCreat...
apache-2.0
C#
8ae2861ed6b85147d269c5f72aa8721afbf4afda
Fix class name
NeoAdonis/osu,ZLima12/osu,naoey/osu,johnneijzen/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,DrabWeb/osu,UselessToucan/osu,ppy/osu,ZLima12/osu,naoey/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,DrabWeb/osu,NeoAdonis/osu,NeoAdonis/osu,naoey/...
osu.Game.Tests/Skins/LegacySkinDecoderTest.cs
osu.Game.Tests/Skins/LegacySkinDecoderTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.IO; using NUnit.Framework; using osu.Game.Skinning; using osu.Game.Tests.Resources; using osuTK.Graphics; namespace osu.Ga...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.IO; using NUnit.Framework; using osu.Game.Skinning; using osu.Game.Tests.Resources; using osuTK.Graphics; namespace osu.Ga...
mit
C#
661e0eabddabc5eb5fabc153ee3c16a33ec4a40d
Update MemberUpdateRequest.cs
JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK
src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MailList/Member/MemberUpdateRequest.cs
src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MailList/Member/MemberUpdateRequest.cs
/*---------------------------------------------------------------- Copyright (C) 2018 Senparc 文件名:MemberCreateRequest.cs 文件功能描述:更新成员接口 请求包 创建标识:Senparc - 20180728 ----------------------------------------------------------------*/ namespace Senparc.Weixin.Work.AdvancedAPIs.MailList.Mem...
/*---------------------------------------------------------------- Copyright (C) 2018 Senparc 文件名:MemberCreateRequest.cs 文件功能描述:更新成员接口 请求包 创建标识:Senparc - 20180728 ----------------------------------------------------------------*/ namespace Senparc.Weixin.Work.AdvancedAPIs.MailList.Mem...
apache-2.0
C#
2829ae1ad5183ae4460222e48a83f653d1c11405
add job getters
krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Occupations/DepartmentList.cs
UnityProject/Assets/Scripts/Occupations/DepartmentList.cs
using System.Collections.Generic; using System.Linq; using UnityEngine; /// <summary> /// Singleton. Provides a list of currently enabled departments and the order in which they /// should appear in the job preferences. /// </summary> [CreateAssetMenu(fileName = "DepartmentListSingleton", menuName = "Singleton/Depart...
using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Serialization; /// <summary> /// Singleton. Provides a list of currently enabled departments and the order in which they /// should appear in the job preferences. /// </summary> [CreateAssetMenu(fileName = "DepartmentListSinglet...
agpl-3.0
C#
8f17914ea55b1aef65df7bef6fbf6d3de8b6965b
Add file that was missed in rename
codevlabs/Glimpse,elkingtonmcb/Glimpse,Glimpse/Glimpse,flcdrg/Glimpse,dudzon/Glimpse,sorenhl/Glimpse,sorenhl/Glimpse,gabrielweyer/Glimpse,Glimpse/Glimpse,gabrielweyer/Glimpse,codevlabs/Glimpse,elkingtonmcb/Glimpse,rho24/Glimpse,sorenhl/Glimpse,rho24/Glimpse,rho24/Glimpse,SusanaL/Glimpse,Glimpse/Glimpse,paynecrl97/Glimp...
source/Glimpse.Core/Resource/InsightResource.cs
source/Glimpse.Core/Resource/InsightResource.cs
using Glimpse.Core.Extensibility; namespace Glimpse.Core.Resource { /// <summary> /// The <see cref="IResource"/> implementation responsible for providing the Glimpse JavaScript client to the browser. /// </summary> public class InsightResource : FileResource, IKey { internal const string ...
using Glimpse.Core.Extensibility; namespace Glimpse.Core.Resource { /// <summary> /// The <see cref="IResource"/> implementation responsible for providing the Glimpse JavaScript client to the browser. /// </summary> public class InsightResource : FileResource, IKey { internal const string ...
apache-2.0
C#
c84b2896a010460a33bcd368faee17637ab618c9
Resolve SelectMany bug.
inputfalken/Sharpy
GeneratorAPI/Generation.cs
GeneratorAPI/Generation.cs
using System; using System.Collections.Generic; using System.Linq; namespace GeneratorAPI { public class Generation<T> { private static IEnumerable<TResult> InfiniteEnumerable<TResult>(Func<TResult> fn) { while (true) yield return fn(); } private readonly IEnumerable<T> _infin...
using System; using System.Collections.Generic; using System.Linq; namespace GeneratorAPI { public class Generation<T> { private readonly IEnumerable<T> _infiniteEnumerable; public Generation(IEnumerable<T> infiniteEnumerable) => _infiniteEnumerable = infiniteEnumerable; public Generatio...
mit
C#
58a12ed15fd094a99962cfde112f779ba5450a78
Support virtual repository paths
kaa/git-dot-aspx,kaa/git-dot-aspx,kaa/git-dot-aspx
GitAspx/Lib/AppSettings.cs
GitAspx/Lib/AppSettings.cs
#region License // Copyright 2010 Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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/LICEN...
#region License // Copyright 2010 Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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/LICEN...
apache-2.0
C#
7c98e44cea9559f0d64c7ee4c0a6401530a75dd8
Save ref to Console.Out in ConsoleLogHandler
young-zhang/Lean,bdilber/Lean,bdilber/Lean,Jay-Jay-D/LeanSTP,Neoracle/Lean,AnObfuscator/Lean,young-zhang/Lean,redmeros/Lean,racksen/Lean,florentchandelier/Lean,squideyes/Lean,QuantConnect/Lean,Mendelone/forex_trading,wowgeeker/Lean,tzaavi/Lean,wowgeeker/Lean,bizcad/LeanAbhi,Neoracle/Lean,dpavlenkov/Lean,jameschch/Lean,...
Logging/ConsoleLogHandler.cs
Logging/ConsoleLogHandler.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
apache-2.0
C#
5740dd8c8ac3f9e1c10f4a9bb79d00b29691aec4
Add plugin bridge object to script variable list
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Plugins/PluginEnvironment.cs
Plugins/PluginEnvironment.cs
using System; using System.Collections.Generic; namespace TweetDck.Plugins{ [Flags] enum PluginEnvironment{ None = 0, Browser = 1, Notification = 2 } static class PluginEnvironmentExtensions{ public static IEnumerable<PluginEnvironment> Values{ get{ ...
using System; using System.Collections.Generic; namespace TweetDck.Plugins{ [Flags] enum PluginEnvironment{ None = 0, Browser = 1, Notification = 2 } static class PluginEnvironmentExtensions{ public static IEnumerable<PluginEnvironment> Values{ get{ ...
mit
C#
268c87d16178923dfbb621e5515b2a37eab8e0b1
Switch to 2.6.2 for dev
waltdestler/SharpDX,Ixonos-USA/SharpDX,dazerdude/SharpDX,manu-silicon/SharpDX,andrewst/SharpDX,PavelBrokhman/SharpDX,weltkante/SharpDX,Ixonos-USA/SharpDX,TechPriest/SharpDX,RobyDX/SharpDX,mrvux/SharpDX,TigerKO/SharpDX,TechPriest/SharpDX,TechPriest/SharpDX,TechPriest/SharpDX,PavelBrokhman/SharpDX,PavelBrokhman/SharpDX,f...
Source/SharedAssemblyInfo.cs
Source/SharedAssemblyInfo.cs
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
mit
C#
059f7c3b3433bd23bf65f215e8083200256ebea9
Test Parse and ParseException.
Faithlife/Parsing
tests/Faithlife.Parsing.Tests/CommonTests.cs
tests/Faithlife.Parsing.Tests/CommonTests.cs
using System.Linq; using Xunit; namespace Faithlife.Parsing.Tests { public class CommonTests { [Fact] public void ResultShouldAlwaysSucceed() { Parser.Success(true).TryParse("").ShouldSucceed(true, 0); Parser.Success(true).TryParse("x").ShouldSucceed(true, 0); Parser.Success(true).TryPars...
using System.Linq; using Xunit; namespace Faithlife.Parsing.Tests { public class CommonTests { [Fact] public void ResultShouldAlwaysSucceed() { Parser.Success(true).TryParse("").ShouldSucceed(true, 0); Parser.Success(true).TryParse("x").ShouldSucceed(true, 0); Parser.Success(true).TryPars...
mit
C#
cce8b4725d69876d10e80b030424fabe51d1c97e
Fix formatting.
susloparovdenis/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,punker76/Perspex,Perspex/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,susloparovdenis/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,...
src/Perspex.SceneGraph/Media/SolidColorBrush.cs
src/Perspex.SceneGraph/Media/SolidColorBrush.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. namespace Perspex.Media { /// <summary> /// Fills an area with a solid color. /// </summary> public class SolidColorBrush : Brush { ...
// 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. namespace Perspex.Media { /// <summary> /// Fills an area with a solid color. /// </summary> public class SolidColorBrush : Brush { ...
mit
C#
159db38f8a5ff2ffac1b75c9aa67e6c782356d0b
Add missing xmldoc
NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu
osu.Game/Rulesets/Scoring/HitEventExtensions.cs
osu.Game/Rulesets/Scoring/HitEventExtensions.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; namespace osu.Game.Rulesets.Scoring { public static class HitEventExtensions { /// <su...
// 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; namespace osu.Game.Rulesets.Scoring { public static class HitEventExtensions { /// <su...
mit
C#
13a42be69a69d57c2fd8b8f009f389154ff23f1d
Fix create map not using MemberList property
AlexGeller/aspnetboilerplate,fengyeju/aspnetboilerplate,zclmoon/aspnetboilerplate,ryancyq/aspnetboilerplate,andmattia/aspnetboilerplate,oceanho/aspnetboilerplate,oceanho/aspnetboilerplate,carldai0106/aspnetboilerplate,fengyeju/aspnetboilerplate,carldai0106/aspnetboilerplate,abdllhbyrktr/aspnetboilerplate,andmattia/aspn...
src/Abp.AutoMapper/AutoMapper/AutoMapFromAttribute.cs
src/Abp.AutoMapper/AutoMapper/AutoMapFromAttribute.cs
using System; using Abp.Collections.Extensions; using AutoMapper; namespace Abp.AutoMapper { public class AutoMapFromAttribute : AutoMapAttributeBase { public MemberList MemberList { get; set; } = MemberList.Destination; public AutoMapFromAttribute(params Type[] targetTypes) : bas...
using System; using Abp.Collections.Extensions; using AutoMapper; namespace Abp.AutoMapper { public class AutoMapFromAttribute : AutoMapAttributeBase { public MemberList MemberList { get; set; } = MemberList.Destination; public AutoMapFromAttribute(params Type[] targetTypes) : bas...
mit
C#