commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
e929e29789e2075484c998e52b17ac7e571eb963 | src/System.Reflection.Context/tests/CustomReflectionContextTests.cs | src/System.Reflection.Context/tests/CustomReflectionContextTests.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 Xunit;
namespace System.Reflection.Context
{
public class CustomReflectionContextTests
{
[Fac... | // 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 Xunit;
namespace System.Reflection.Context
{
public class CustomReflectionContextTests
{
[Fac... | Fix System.Reflection.Context test to run on Desktop | Fix System.Reflection.Context test to run on Desktop
| C# | mit | tijoytom/corefx,tijoytom/corefx,fgreinacher/corefx,Jiayili1/corefx,cydhaselton/corefx,ViktorHofer/corefx,mazong1123/corefx,nchikanov/corefx,seanshpark/corefx,stephenmichaelf/corefx,marksmeltzer/corefx,mmitche/corefx,richlander/corefx,lggomez/corefx,the-dwyer/corefx,jlin177/corefx,lggomez/corefx,Ermiar/corefx,yizhang82/... |
3f62d9cec67a4ddb2038605211633104f42d67c4 | src/Arkivverket.Arkade/Core/Addml/Definitions/Separator.cs | src/Arkivverket.Arkade/Core/Addml/Definitions/Separator.cs | using System;
using System.Collections.Generic;
using Arkivverket.Arkade.Util;
namespace Arkivverket.Arkade.Core.Addml.Definitions
{
public class Separator
{
private static readonly Dictionary<string, string> SpecialSeparators = new Dictionary<string, string>
{
{"CRLF", "\r... | using System;
using System.Collections.Generic;
using Arkivverket.Arkade.Util;
namespace Arkivverket.Arkade.Core.Addml.Definitions
{
public class Separator
{
private static readonly Dictionary<string, string> SpecialSeparators = new Dictionary<string, string>
{
{"CRLF", "\r... | Add support for LF record separator | Add support for LF record separator
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
dfe3003152ed69421f3743d3ea0d487df7a547c0 | Espera/Espera.Services/MobileHelper.cs | Espera/Espera.Services/MobileHelper.cs | using Espera.Core;
using Espera.Core.Management;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Threading.Tasks;
namespace Espera.Services
{
public static class MobileHelper
{
public static async Task<byte[]> ... | using Espera.Core;
using Espera.Core.Management;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Threading.Tasks;
namespace Espera.Services
{
public static class MobileHelper
{
public static async Task<byte[]> ... | Send the current song index as nullable | Send the current song index as nullable
| C# | mit | punker76/Espera,flagbug/Espera |
71765a2a5e8f2e50097e2e6f84a5ec1c3cd8cc49 | src/SubMapper/EnumerableMapping/Adders/ArrayConcatAdder.cs | src/SubMapper/EnumerableMapping/Adders/ArrayConcatAdder.cs | using SubMapper.EnumerableMapping;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SubMapper.EnumerableMapping.Adders
{
public static partial class PartialEnumerableMappingExtensions
{
public static PartialEnumerableMapping<TSubA, TSubB, IEnumerable<TSubIItem>, TSubJ, TSub... | using SubMapper.EnumerableMapping;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SubMapper.EnumerableMapping.Adders
{
public static partial class PartialEnumerableMappingExtensions
{
public static PartialEnumerableMapping<TSubA, TSubB, IEnumerable<TSubIItem>, TSubJ, TSub... | Make concat add to the eof array | Make concat add to the eof array
| C# | apache-2.0 | chartjunk/SubMapper |
0809770483c754cc374703dc3f59555cbb40d782 | CSharpMath.Ios/IosMath/IosMathLabels.cs | CSharpMath.Ios/IosMath/IosMathLabels.cs | using CSharpMath.Apple;
namespace CSharpMath.Ios
{
static class IosMathLabels
{
public static AppleLatexView LatexView(string latex)
{
var typesettingContext = AppleTypesetters.CreateTypesettingContext()
var view = new AppleLatexView();
view.SetLatex(latex);
return view;
}
}
... | using CSharpMath.Apple;
namespace CSharpMath.Ios
{
static class IosMathLabels
{
public static AppleLatexView LatexView(string latex)
{
var typesettingContext = AppleTypesetters.CreateLatinMath();
var view = new AppleLatexView(typesettingContext);
view.SetLatex(latex);
return view;
... | Use the new factory for Typesetting context | Use the new factory for Typesetting context
| C# | mit | verybadcat/CSharpMath |
0504fbd23e7fd9794f239dbeac5cc6f96dbd565d | twitch-tv-viewer/ViewModels/Components/MessageDisplayViewModel.cs | twitch-tv-viewer/ViewModels/Components/MessageDisplayViewModel.cs | using GalaSoft.MvvmLight;
namespace twitch_tv_viewer.ViewModels.Components
{
internal class MessageDisplayViewModel : ViewModelBase
{
private string _message;
public string Message
{
get { return _message; }
set
{
_message = value;
... | using GalaSoft.MvvmLight;
namespace twitch_tv_viewer.ViewModels.Components
{
internal class MessageDisplayViewModel : ViewModelBase
{
private string _message;
public string Message
{
get { return _message; }
set
{
_message = value;
... | Clear notification on change in textbox text | Clear notification on change in textbox text
| C# | mit | dukemiller/twitch-tv-viewer |
c2809add4c3a227c04509ffb8fc721c9e8d5bf76 | Source/fsConfig.cs | Source/fsConfig.cs | using System;
using UnityEngine;
namespace FullSerializer {
/// <summary>
/// Enables some top-level customization of Full Serializer.
/// </summary>
public static class fsConfig {
/// <summary>
/// The attributes that will force a field or property to be serialized.
/// </summ... | using System;
using UnityEngine;
namespace FullSerializer {
/// <summary>
/// Enables some top-level customization of Full Serializer.
/// </summary>
public static class fsConfig {
/// <summary>
/// The attributes that will force a field or property to be serialized.
/// </summ... | Correct default serialization strategy to `Default` | Correct default serialization strategy to `Default`
| C# | mit | jacobdufault/fullserializer,lazlo-bonin/fullserializer,jagt/fullserializer,jagt/fullserializer,karlgluck/fullserializer,Ksubaka/fullserializer,shadowmint/fullserializer,jagt/fullserializer,jacobdufault/fullserializer,Ksubaka/fullserializer,shadowmint/fullserializer,shadowmint/fullserializer,darress/fullserializer,jacob... |
963ff6c4cc1ffc0cb3748e6bb688470e3bba9d54 | Source/Lib/TraktApiSharp/Objects/Post/Scrobbles/TraktScrobblePost.cs | Source/Lib/TraktApiSharp/Objects/Post/Scrobbles/TraktScrobblePost.cs | namespace TraktApiSharp.Objects.Post.Scrobbles
{
using Newtonsoft.Json;
using System;
public abstract class TraktScrobblePost : IValidatable
{
[JsonProperty(PropertyName = "progress")]
public float Progress { get; set; }
[JsonProperty(PropertyName = "app_version")]
pub... | namespace TraktApiSharp.Objects.Post.Scrobbles
{
using Newtonsoft.Json;
using System;
public abstract class TraktScrobblePost : IValidatable
{
[JsonProperty(PropertyName = "progress")]
public float Progress { get; set; }
[JsonProperty(PropertyName = "app_version")]
pub... | Improve argument exception message of scrobble post. | Improve argument exception message of scrobble post.
| C# | mit | henrikfroehling/TraktApiSharp |
0c64d81da903e62f5607d532e42adb2767ac3a35 | src/SFA.DAS.CommitmentPayments.WebJob/DependencyResolution/PaymentsRegistry.cs | src/SFA.DAS.CommitmentPayments.WebJob/DependencyResolution/PaymentsRegistry.cs | using System.Net.Http;
using SFA.DAS.CommitmentPayments.WebJob.Configuration;
using SFA.DAS.Http;
using SFA.DAS.Http.TokenGenerators;
using SFA.DAS.NLog.Logger.Web.MessageHandlers;
using SFA.DAS.Provider.Events.Api.Client;
using SFA.DAS.Provider.Events.Api.Client.Configuration;
using StructureMap;
namespace SFA.DAS.C... | using System.Net.Http;
using SFA.DAS.CommitmentPayments.WebJob.Configuration;
using SFA.DAS.Http;
using SFA.DAS.Http.TokenGenerators;
using SFA.DAS.NLog.Logger.Web.MessageHandlers;
using SFA.DAS.Provider.Events.Api.Client;
using SFA.DAS.Provider.Events.Api.Client.Configuration;
using StructureMap;
namespace SFA.DAS.C... | Add default request header to Payments API httpClient to look for version 2. Since removing the SecureHttpClient from PaymentEventsApiClient this header was lost. This only matters for data locks as that is the only controller action split by api version at present | Add default request header to Payments API httpClient to look for version 2. Since removing the SecureHttpClient from PaymentEventsApiClient this header was lost. This only matters for data locks as that is the only controller action split by api version at present
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments |
19690da501581e7b892c76c8c3d31893aa40921a | tests/Magick.NET.SystemDrawing.Tests/IMagickImageFactoryExtensionsTests/TheCreateMethod.cs | tests/Magick.NET.SystemDrawing.Tests/IMagickImageFactoryExtensionsTests/TheCreateMethod.cs | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | Add extra tests and missing TestClass attribute. | Add extra tests and missing TestClass attribute.
| C# | apache-2.0 | dlemstra/Magick.NET,dlemstra/Magick.NET |
0ba29fec6993cc1892d639a67a2c81c390954d89 | osu.Framework/Platform/Linux/Native/Library.cs | osu.Framework/Platform/Linux/Native/Library.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
[DllImport("l... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
[DllImport("l... | Make comment say that 0x001 is RTLD_LOCAL + RTLD_LAZY | Make comment say that 0x001 is RTLD_LOCAL + RTLD_LAZY
| C# | mit | peppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framewor... |
253d112ac379f59aab213d7f3291c12f424f02b6 | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/HmacKeyStates.cs | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1/HmacKeyStates.cs | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | Fix typo for HMAC key states | Fix typo for HMAC key states | C# | apache-2.0 | googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet |
6ebb9ca491de385423e7c1d36cfa66482fda484a | PogoLocationFeeder/Helper/JsonSerializerSettingsFactory.cs | PogoLocationFeeder/Helper/JsonSerializerSettingsFactory.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace PogoLocationFeeder.Helper
{
public class JsonSerializerSettingsCultureInvariant : JsonSerializerSettings
{
public JsonSeriali... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace PogoLocationFeeder.Helper
{
public class JsonSerializerSettingsCultureI... | Fix error when unserializing json object | Fix error when unserializing json object
| C# | agpl-3.0 | 5andr0/PogoLocationFeeder,genius394/PogoLocationFeeder,5andr0/PogoLocationFeeder |
045c6e940dfefe3333da89615e4ded9c3d70d585 | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostAnticipatedRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow>
{
internal Trak... | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedShow>, TraktMostAnticipatedShow>
{
... | Add filter property to most anticipated shows request. | Add filter property to most anticipated shows request.
| C# | mit | henrikfroehling/TraktApiSharp |
f3f9b12270b9244e5d560b61708dcf10594537b9 | src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs | src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.Experiments
{
inter... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.Experiments
{
inter... | Add dots to experiment names so they can be enabled as feature flags. | Add dots to experiment names so they can be enabled as feature flags.
| C# | mit | brettfo/roslyn,reaction1989/roslyn,mgoertz-msft/roslyn,weltkante/roslyn,bartdesmet/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,gafter/roslyn,brettfo/roslyn,diryboy/roslyn,jmarolf/roslyn,tannergooding/roslyn,KirillOsenkov/roslyn,ErikSchierboom/roslyn,jmarolf/roslyn,gafter/roslyn,panopticoncent... |
1f935cacf452b3a9f212551082d4a14e4a286972 | osu.Game/Overlays/BeatmapListing/SearchGeneral.cs | osu.Game/Overlays/BeatmapListing/SearchGeneral.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.ComponentModel;
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Overlays.BeatmapListing
{
public enum Se... | // 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.ComponentModel;
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Overlays.BeatmapListing
{
public enum Se... | Add spotlighted beatmaps filter to beatmap listing | Add spotlighted beatmaps filter to beatmap listing
| C# | mit | peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu |
aa8dd5947ab17d5fe9505c69fb7b245fcd7d94d7 | Shuttle.Esb/MessageHandling/DefaultMessageHandlerInvoker.cs | Shuttle.Esb/MessageHandling/DefaultMessageHandlerInvoker.cs | using System;
using Shuttle.Core.Infrastructure;
namespace Shuttle.Esb
{
public class DefaultMessageHandlerInvoker : IMessageHandlerInvoker
{
public MessageHandlerInvokeResult Invoke(IPipelineEvent pipelineEvent)
{
Guard.AgainstNull(pipelineEvent, "pipelineEvent");
var state = pipelineEvent.Pipeline.Stat... | using System;
using System.Linq;
using Shuttle.Core.Infrastructure;
namespace Shuttle.Esb
{
public class DefaultMessageHandlerInvoker : IMessageHandlerInvoker
{
public MessageHandlerInvokeResult Invoke(IPipelineEvent pipelineEvent)
{
Guard.AgainstNull(pipelineEvent, "pipelineEvent");
var state = pipeline... | Call the correct implementation if IMessageHandler.ProcessMessage method | Call the correct implementation if IMessageHandler.ProcessMessage method
| C# | bsd-3-clause | Shuttle/Shuttle.Esb,Shuttle/shuttle-esb-core |
883617e961975687b2ba5508424fb92817beda4e | src/ExRam.Gremlinq.Providers.Neptune.AspNet/GremlinqSetupExtensions.cs | src/ExRam.Gremlinq.Providers.Neptune.AspNet/GremlinqSetupExtensions.cs | using System;
using ExRam.Gremlinq.Providers.Neptune;
using Microsoft.Extensions.Configuration;
namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqSetupExtensions
{
public static GremlinqSetup UseNeptune(this GremlinqSetup setup, Func<INeptuneConfigurator, IConfiguration, INeptuneConfi... | using System;
using ExRam.Gremlinq.Providers.Neptune;
using Microsoft.Extensions.Configuration;
namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqSetupExtensions
{
public static GremlinqSetup UseNeptune(this GremlinqSetup setup, Func<INeptuneConfigurator, IConfiguration, INeptuneConfi... | Use a section for ElasticSearch. | Neptune: Use a section for ElasticSearch.
| C# | mit | ExRam/ExRam.Gremlinq |
8d2867a2f969282bfd2a32c4b82a13594989b334 | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositoryGetAll.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositoryGetAll.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dapper.FastCrud;
using Dapper.FastCrud.Configuration.StatementOptions.Builders;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public abstract partial class Repository<... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dapper.FastCrud;
using Dapper.FastCrud.Configuration.StatementOptions.Builders;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public abstract partial class Repository<... | Remove get all with dynamic clause. SHould be handeled by user in own class. Otherwise forced to use FastCRUD | Remove get all with dynamic clause. SHould be handeled by user in own class. Otherwise forced to use FastCRUD
| C# | mit | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork |
d44040d800f638ff4b53aa4d4f979d040c319588 | src/Arango/Arango.Client/API/Documents/ArangoProperty.cs | src/Arango/Arango.Client/API/Documents/ArangoProperty.cs | using System;
namespace Arango.Client
{
[AttributeUsage(AttributeTargets.Property)]
public class ArangoProperty : Attribute
{
public string Alias { get; set; }
public bool Serializable { get; set; }
public ArangoProperty()
{
Serializable = t... | using System;
namespace Arango.Client
{
[AttributeUsage(AttributeTargets.Property)]
public class ArangoProperty : Attribute
{
public bool Serializable { get; set; }
public bool Identity { get; set; }
public bool Key { get; set; }
public bool Revision { get; set; }... | Add more arango specific attributes. | Add more arango specific attributes.
| C# | mit | yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET |
b719205c2297f0627fd9a27686c3b10d2d2b34e6 | src/Serilog.Sinks.PeriodicBatching/Sinks/PeriodicBatching/BoundedConcurrentQueue.cs | src/Serilog.Sinks.PeriodicBatching/Sinks/PeriodicBatching/BoundedConcurrentQueue.cs | using System;
using System.Collections.Concurrent;
using System.Threading;
namespace Serilog.Sinks.PeriodicBatching
{
class BoundedConcurrentQueue<T>
{
const int NON_BOUNDED = -1;
readonly ConcurrentQueue<T> _queue = new ConcurrentQueue<T>();
readonly int _queueLimit;
int _c... | using System;
using System.Collections.Concurrent;
using System.Threading;
namespace Serilog.Sinks.PeriodicBatching
{
class BoundedConcurrentQueue<T>
{
const int NON_BOUNDED = -1;
readonly ConcurrentQueue<T> _queue = new ConcurrentQueue<T>();
readonly int _queueLimit;
int _c... | Allow NON_BOUNDED value to be used as constructor parameter. | Allow NON_BOUNDED value to be used as constructor parameter.
| C# | apache-2.0 | serilog/serilog-sinks-periodicbatching |
cfbed220f37829c80b2e9ae1c2fc523919f6da98 | src/Dangl.WebDocumentation/Models/DatabaseInitialization.cs | src/Dangl.WebDocumentation/Models/DatabaseInitialization.cs | using System.Linq;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace Dangl.WebDocumentation.Models
{
public static class DatabaseInitialization
{
public static void Initialize(ApplicationDbContext Context)
{
SetUpRoles(Context);
}
private static vo... | using System.Linq;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace Dangl.WebDocumentation.Models
{
public static class DatabaseInitialization
{
public static void Initialize(ApplicationDbContext Context)
{
SetUpRoles(Context);
}
private static vo... | Fix creation of admin role in DB initialization | Fix creation of admin role in DB initialization
| C# | mit | GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu |
304bb9ce5b9058a59925cb425e1cec1b25658561 | src/Unicorn/ControlPanel/AccessDenied.cs | src/Unicorn/ControlPanel/AccessDenied.cs | using System.Web;
using System.Web.UI;
namespace Unicorn.ControlPanel
{
public class AccessDenied : IControlPanelControl
{
public void Render(HtmlTextWriter writer)
{
writer.Write("<h2>Access Denied</h2>");
writer.Write("<p>You need to <a href=\"/sitecore/admin/login.aspx?ReturnUrl={0}\">sign in to Siteco... | using System.Web;
using System.Web.UI;
namespace Unicorn.ControlPanel
{
public class AccessDenied : IControlPanelControl
{
public void Render(HtmlTextWriter writer)
{
writer.Write("<h2>Access Denied</h2>");
writer.Write("<p>You need to <a href=\"/sitecore/admin/login.aspx?ReturnUrl={0}\">sign in to Siteco... | Send proper 401 for access denied | Send proper 401 for access denied
| C# | mit | MacDennis76/Unicorn,rmwatson5/Unicorn,PetersonDave/Unicorn,bllue78/Unicorn,kamsar/Unicorn,GuitarRich/Unicorn,kamsar/Unicorn,PetersonDave/Unicorn,MacDennis76/Unicorn,bllue78/Unicorn,GuitarRich/Unicorn,rmwatson5/Unicorn |
09c55bd178c864b374767f8cb34b2d2e780a10b5 | Knockout.Binding/KnockoutProxy.cs | Knockout.Binding/KnockoutProxy.cs | using System;
namespace KnckoutBindingGenerater
{
public class KnockoutProxy
{
private readonly string m_ViewModelName;
private readonly string m_PrimitiveObservables;
private readonly string m_MethodProxies;
private readonly string m_CollectionObservables;
... | using System;
namespace KnckoutBindingGenerater
{
public class KnockoutProxy
{
private readonly string m_ViewModelName;
private readonly string m_PrimitiveObservables;
private readonly string m_MethodProxies;
private readonly string m_CollectionObservables;
... | Remove this last piece of hardcodedness | Remove this last piece of hardcodedness
| C# | mit | red-gate/Knockout.Binding |
c1ebadf4f7d56483f1112fc7f81e42de2a614d39 | src/reni2/FeatureTest/Reference/ArrayReferenceByInstance.cs | src/reni2/FeatureTest/Reference/ArrayReferenceByInstance.cs | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayElementType]
[TargetSet(@"
text: 'abcdefghijklmnopqrstuvwxyz';
pointer: ((text type >>)*1) array_reference instance (text);
(pointer >> 7) dump_print;
(pointer >>... | using System;
using System.Collections.Generic;
using System.Linq;
using hw.UnitTest;
namespace Reni.FeatureTest.Reference
{
[TestFixture]
[ArrayElementType]
[TargetSet(@"
text: 'abcdefghijklmnopqrstuvwxyz';
pointer: ((text type item)*1) array_reference instance (text);
pointer item(7) dump_print;
pointer ... | Access operator for array is now "item" | Change: Access operator for array is now "item"
| C# | mit | hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs |
f9428edead7d82b1c9bab4219e3a6c0336f4dc4b | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Client/ICommitmentsApiClient.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Client/ICommitmentsApiClient.cs | using System.Threading;
using System.Threading.Tasks;
using SFA.DAS.CommitmentsV2.Api.Types.Requests;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
namespace SFA.DAS.CommitmentsV2.Api.Client
{
public interface ICommitmentsApiClient
{
Task<bool> HealthCheck();
Task<AccountLegalEntityRespons... | using System.Threading;
using System.Threading.Tasks;
using SFA.DAS.CommitmentsV2.Api.Types.Requests;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
namespace SFA.DAS.CommitmentsV2.Api.Client
{
public interface ICommitmentsApiClient
{
Task<bool> HealthCheck();
Task<AccountLegalEntityRespons... | Add missing client method to interface | Add missing client method to interface
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments |
48d3fccd770c28f212af58e1dd3c9cca2fe0e04b | src/Tests/ProjectExtensions.Azure.ServiceBus.Tests.Unit/SampleTest.cs | src/Tests/ProjectExtensions.Azure.ServiceBus.Tests.Unit/SampleTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.Threading;
namespace ProjectExtensions.Azure.ServiceBus.Tests.Unit {
[TestFixture]
public class SampleTest {
[Test]
public void Test() {
Thread.Sleep(3000... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.Threading;
namespace ProjectExtensions.Azure.ServiceBus.Tests.Unit {
[TestFixture]
public class SampleTest {
[Test]
public void Test() {
Thread.Sleep(2000... | Set pause to 2 seconds so we can watch the mock run | Set pause to 2 seconds so we can watch the mock run
| C# | bsd-3-clause | ProjectExtensions/ProjectExtensions.Azure.ServiceBus |
bd03df5f9be05306da6f161017a7aeb39b497da5 | Subtle.Registry/Installer.cs | Subtle.Registry/Installer.cs | using Subtle.Model;
using System.Collections;
using System.ComponentModel;
using System.Configuration.Install;
using System.IO;
namespace Subtle.Registry
{
[RunInstaller(true)]
public partial class Installer : System.Configuration.Install.Installer
{
public Installer()
{
Initi... | using Subtle.Model;
using System.Collections;
using System.ComponentModel;
using System.Configuration.Install;
using System.IO;
namespace Subtle.Registry
{
[RunInstaller(true)]
public partial class Installer : System.Configuration.Install.Installer
{
private const string TargetDirKey = "targetdir"... | Create const for targetdir key | Create const for targetdir key
| C# | mit | tvdburgt/subtle |
27921b99be9131e1b8ee22af4f298cfc01a01536 | osu.Framework/Extensions/PopoverExtensions.cs | osu.Framework/Extensions/PopoverExtensions.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 osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
#nullable enable
namespace osu.Framework.Extensions
{
public static class PopoverEx... | // 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 osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
#nullable enable
namespace osu.Framework.Extensions
{
public static class PopoverEx... | Allow `HidePopover()` to be called directly on popover containers | Allow `HidePopover()` to be called directly on popover containers
| C# | mit | peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework |
6216c1e5f92c3562e7c4252634a9d14d90b08048 | Roton/Emulation/ExecuteCodeContext.cs | Roton/Emulation/ExecuteCodeContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Roton.Emulation
{
internal class ExecuteCodeContext : ICodeSeekable
{
private ICodeSeekable _instructionSource;
public ExecuteCodeContext(int index, ICodeSeekable instructionSource, string name)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Roton.Emulation
{
internal class ExecuteCodeContext : ICodeSeekable
{
private ICodeSeekable _instructionSource;
public ExecuteCodeContext(int index, ICodeSeekable instructionSource, string name)
... | Add NextLine to execution context | Add NextLine to execution context
| C# | isc | SaxxonPike/roton,SaxxonPike/roton |
3294ef159e41d71383d7af3e7a2f26ae386a0b84 | Assets/Microgames/YuukaWater/Scripts/YuukaWaterController.cs | Assets/Microgames/YuukaWater/Scripts/YuukaWaterController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YuukaWaterController : MonoBehaviour {
public int requiredCompletion = 3;
int completionCounter = 0;
public delegate void VictoryAction();
public static event VictoryAction OnVictory;
public void Notify() {... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YuukaWaterController : MonoBehaviour {
public int requiredCompletion = 3;
int completionCounter = 0;
public delegate void VictoryAction();
public static event VictoryAction OnVictory;
private void Awake(... | Fix victory delegate clearing in stage | YuukaWater: Fix victory delegate clearing in stage
| C# | mit | Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare |
40f76704fa958ac784d0df0ebcf76e43902d829e | WebCrawlProcess/run.csx | WebCrawlProcess/run.csx | #r "Newtonsoft.Json"
using System;
using Red_Folder.WebCrawl;
using Red_Folder.WebCrawl.Data;
using Red_Folder.Logging;
using Newtonsoft.Json;
public static void Run(string request, out object outputDocument, TraceWriter log)
{
log.Info($"C# Queue trigger function processed: {crawlRequest.Id}");
var azureLo... | #r "Newtonsoft.Json"
using System;
using Red_Folder.WebCrawl;
using Red_Folder.WebCrawl.Data;
using Red_Folder.Logging;
using Newtonsoft.Json;
public static void Run(string request, out object outputDocument, TraceWriter log)
{
var crawlRequest = JsonConvert.DeserializeObject<CrawlRequest>(request);
log.Info($"C... | Change sitemap.xml to reference requested host | Change sitemap.xml to reference requested host
| C# | mit | Red-Folder/WebCrawl-Functions |
c9659b32d82f4ea5f511dec22398cd6fcdb1339b | dotnet_3/cs/rest/SampleProject/src/SampleProject.Application/Orders/PlaceCustomerOrder/ProductPriceProvider.cs | dotnet_3/cs/rest/SampleProject/src/SampleProject.Application/Orders/PlaceCustomerOrder/ProductPriceProvider.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SampleProject.Domain.Products;
using SampleProject.Domain.SharedKernel;
namespace SampleProject.Application.Orders.PlaceCustomerOrder
{
public static class ProductPriceProvider
... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SampleProject.Domain.Products;
using SampleProject.Domain.SharedKernel;
namespace SampleProject.Application.Orders.PlaceCustomerOrder
{
public static class ProductPriceProvider
... | Fix bug with querying ProductPrices in SampleAPI case study | Fix bug with querying ProductPrices in SampleAPI case study
| C# | apache-2.0 | EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB |
2345e106354dcdc23d89401c40daa066a1d5e40f | osu.Framework/Localisation/LocalisationManager_LocalisedBindableString.cs | osu.Framework/Localisation/LocalisationManager_LocalisedBindableString.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Configuration;
using osu.Framework.IO.Stores;
namespace osu.Framework.Localisation
{
public partial class LocalisationMa... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using osu.Framework.Configuration;
using osu.Framework.IO.Stores;
namespace osu.Framework.Localisation
{
public partial class LocalisationMa... | Reduce potential value updates when setting localisablestring | Reduce potential value updates when setting localisablestring
This won't have any effect with the current usage of ILocalisedBindableString (SpriteText only), but may have an effect if used elsewhere.
| C# | mit | ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework... |
0935ac37775e6e4990fe21243d89c8048d78b358 | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | Create server side API for single multiple answer question | Create server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
8b7cba25f75ea55924c94d619901026bfcdda673 | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesTrendingRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesTrendingRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies.Common;
internal class TraktMoviesTrendingRequest : TraktGetRequest<TraktPaginationListResult<TraktTrendingMovie>, TraktTrendingMovie>
{
internal TraktMoviesTrendingR... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies.Common;
internal class TraktMoviesTrendingRequest : TraktGetRequest<TraktPaginationListResult<TraktTrendingMovie>, TraktTrendingMovie>
{
internal Trak... | Add filter property to trending movies request. | Add filter property to trending movies request.
| C# | mit | henrikfroehling/TraktApiSharp |
4f97e932629891deb213647016abd195541eb5e8 | Canonicalize/HttpRequestBaseExtensions.cs | Canonicalize/HttpRequestBaseExtensions.cs | using System;
using System.Web;
namespace Canonicalize
{
internal static class HttpRequestBaseExtensions
{
public static Uri GetOriginalUrl(this HttpRequestBase request)
{
if (request.Url == null || request.Headers == null)
{
return request.Ur... | using System;
using System.Web;
namespace Canonicalize
{
/// <summary>
/// Adds extension methods on <see cref="HttpRequestBase"/>.
/// </summary>
public static class HttpRequestBaseExtensions
{
/// <summary>
/// Gets the original URL requested by the client, without art... | Add XML documentation to extension method HttpRequestBase.GetOriginalUrl() and make the method public. | Add XML documentation to extension method HttpRequestBase.GetOriginalUrl() and make the method public.
| C# | mit | schourode/canonicalize |
4e8da0224e3f779d8ea753a09ffdd296aefaba4d | JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs | JabberBCIT/JabberBCIT/App_Start/RouteConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace JabberBCIT {
public class RouteConfig {
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
... | using System.Web.Mvc;
using System.Web.Routing;
namespace JabberBCIT
{
public class RouteConfig {
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "EditProfile",
url... | Add routing rules for profile | Add routing rules for profile
| C# | mit | BCITer/Jabber,BCITer/Jabber,BCITer/Jabber |
cabd01b78c7130cc69fbfd97016a501fe2a59e37 | source/Htc.Vita.Core/Diagnostics/LocationManager.DataType.cs | source/Htc.Vita.Core/Diagnostics/LocationManager.DataType.cs | namespace Htc.Vita.Core.Diagnostics
{
public partial class LocationManager
{
/// <summary>
/// Class LocationInfo.
/// </summary>
public class LocationInfo
{
/// <summary>
/// Gets or sets the country code alpha2.
/// </summary>
... | namespace Htc.Vita.Core.Diagnostics
{
public partial class LocationManager
{
/// <summary>
/// Class LocationInfo.
/// </summary>
public class LocationInfo
{
/// <summary>
/// Gets or sets the country code alpha2.
/// </summary>
... | Add provider name and provider type into LocationInfo, part 2 | Add provider name and provider type into LocationInfo, part 2
| C# | mit | ViveportSoftware/vita_core_csharp,ViveportSoftware/vita_core_csharp |
dbeb57dcea4d26bb695a4e57d3fcb69377e2311e | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoReadOnly.cs | src/System.Globalization/tests/DateTimeFormatInfo/DateTimeFormatInfoReadOnly.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.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class DateTimeForm... | // 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.Collections.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class DateTimeForm... | Add tests for sameness in DateTimeFormatInfo | Add tests for sameness in DateTimeFormatInfo
- Fixes #6313
| C# | mit | dhoehna/corefx,Priya91/corefx-1,rjxby/corefx,manu-silicon/corefx,kkurni/corefx,gkhanna79/corefx,nbarbettini/corefx,shmao/corefx,SGuyGe/corefx,seanshpark/corefx,dotnet-bot/corefx,zhenlan/corefx,tijoytom/corefx,dhoehna/corefx,mmitche/corefx,alexperovich/corefx,axelheer/corefx,kkurni/corefx,YoupHulsebos/corefx,ellismg/cor... |
06506ad31cb3bdfd18d1fc4a1cd015124403b1dd | Testing/Editor/SpecifiedConverterTests.cs | Testing/Editor/SpecifiedConverterTests.cs | using System;
using FullSerializer.Internal;
using NUnit.Framework;
using System.Collections.Generic;
namespace FullSerializer.Tests {
[fsObject(Converter = typeof(MyConverter))]
public class MyModel {
}
public class MyConverter : fsConverter {
public static bool DidSerialize = false;
... | using System;
using FullSerializer.Internal;
using NUnit.Framework;
using System.Collections.Generic;
namespace FullSerializer.Tests {
[fsObject(Converter = typeof(MyConverter))]
public class MyModel {
}
public class MyConverter : fsConverter {
public static bool DidSerialize = false;
... | Fix running test multiple times in same .NET runtime instance | Fix running test multiple times in same .NET runtime instance
| C# | mit | caiguihou/myprj_02,shadowmint/fullserializer,karlgluck/fullserializer,jagt/fullserializer,shadowmint/fullserializer,jacobdufault/fullserializer,darress/fullserializer,jagt/fullserializer,Ksubaka/fullserializer,shadowmint/fullserializer,Ksubaka/fullserializer,lazlo-bonin/fullserializer,jacobdufault/fullserializer,zodsof... |
2bf0c28c1b9874c09e589a9dea4c8535051dda58 | src/Stripe.net/Services/CreditNotes/CreditNoteListOptions.cs | src/Stripe.net/Services/CreditNotes/CreditNoteListOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
public class CreditNoteListOptions : ListOptions
{
/// <summary>
/// ID of the invoice.
/// </summary>
[JsonProperty("invoice")]
public string InvoiceId { get; set; }
}
}
| namespace Stripe
{
using Newtonsoft.Json;
public class CreditNoteListOptions : ListOptions
{
/// <summary>
/// ID of the customer.
/// </summary>
[JsonProperty("customer")]
public string CustomerId { get; set; }
/// <summary>
/// ID of the invoice.
... | Add Customer filter when listing CreditNote | Add Customer filter when listing CreditNote
| C# | apache-2.0 | stripe/stripe-dotnet |
0907eadb55f59107489e3d59209cd57d6bb87778 | MQTTnet.Core/Diagnostics/MqttTrace.cs | MQTTnet.Core/Diagnostics/MqttTrace.cs | using System;
namespace MQTTnet.Core.Diagnostics
{
public static class MqttTrace
{
public static event EventHandler<MqttTraceMessagePublishedEventArgs> TraceMessagePublished;
public static void Verbose(string source, string message)
{
Publish(source, MqttTraceLevel.Verbose... | using System;
namespace MQTTnet.Core.Diagnostics
{
public static class MqttTrace
{
public static event EventHandler<MqttTraceMessagePublishedEventArgs> TraceMessagePublished;
public static void Verbose(string source, string message)
{
Publish(source, MqttTraceLevel.Verbose... | Make string format optional if no trace listener is attached | Make string format optional if no trace listener is attached
| C# | mit | chkr1011/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet |
abd6a0f4a5addf2692453df409e984ae25238047 | GitTfs/GitTfsExitCodes.cs | GitTfs/GitTfsExitCodes.cs | using System;
namespace Sep.Git.Tfs
{
public static class GitTfsExitCodes
{
public const int OK = 0;
public const int Help = 1;
public const int InvalidArguments = 2;
public const int ForceRequired = 3;
public const int ExceptionThrown = Byte.MaxValue - 1;
}
}
| using System;
namespace Sep.Git.Tfs
{
/// <summary>
/// Collection of exit codes used by git-tfs.
/// </summary>
/// <remarks>
/// For consistency across all running environments, both various
/// Windows - shells (powershell.exe, cmd.exe) and UNIX - like environments
//... | Add rationale for exit status codes to comments. | Add rationale for exit status codes to comments.
| C# | apache-2.0 | kgybels/git-tfs,TheoAndersen/git-tfs,bleissem/git-tfs,WolfVR/git-tfs,modulexcite/git-tfs,bleissem/git-tfs,hazzik/git-tfs,hazzik/git-tfs,timotei/git-tfs,pmiossec/git-tfs,irontoby/git-tfs,TheoAndersen/git-tfs,bleissem/git-tfs,vzabavnov/git-tfs,irontoby/git-tfs,TheoAndersen/git-tfs,NathanLBCooper/git-tfs,allansson/git-tfs... |
8d43275a54ea01aa65bb87e2d4d9260b8f98d2fe | source/CroquetAustralia.DownloadTournamentEntries/ReadModels/FunctionReadModel.cs | source/CroquetAustralia.DownloadTournamentEntries/ReadModels/FunctionReadModel.cs | using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using CroquetAustralia.Domain.Data;
using CroquetAustralia.Domain.Features.TournamentEntry.Commands;
namespace CroquetAustralia.DownloadTournamentEntries.ReadModels
{
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Local")]
publ... | using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using CroquetAustralia.Domain.Data;
using CroquetAustralia.Domain.Features.TournamentEntry.Commands;
namespace CroquetAustralia.DownloadTournamentEntries.ReadModels
{
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Local")]
publ... | Improve exception handling when function does not exist | Improve exception handling when function does not exist
| C# | mit | croquet-australia/api.croquet-australia.com.au |
7dd00faa10a4559b31351cc66f03205fc42c49fc | src/Umbraco.Infrastructure/Runtime/CoreInitialComponent.cs | src/Umbraco.Infrastructure/Runtime/CoreInitialComponent.cs | using Microsoft.Extensions.Options;
using Umbraco.Core.Composing;
using Umbraco.Core.Configuration.Models;
using Umbraco.Core.IO;
namespace Umbraco.Core.Runtime
{
public class CoreInitialComponent : IComponent
{
private readonly IIOHelper _ioHelper;
private readonly GlobalSettings _globalSetti... | using Microsoft.Extensions.Options;
using Umbraco.Core.Composing;
using Umbraco.Core.Configuration.Models;
using Umbraco.Core.Hosting;
using Umbraco.Core.IO;
namespace Umbraco.Core.Runtime
{
public class CoreInitialComponent : IComponent
{
private readonly IIOHelper _ioHelper;
private readonly... | Update Ensure calls to use full path | Update Ensure calls to use full path
| C# | mit | dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,umbra... |
a421ce5881269c0ec3c40d55ad47724de9789ad3 | Src/BlockchainSharp.Tests/Processors/MinerProcessorTests.cs | Src/BlockchainSharp.Tests/Processors/MinerProcessorTests.cs | namespace BlockchainSharp.Tests.Processors
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BlockchainSharp.Stores;
using BlockchainSharp.Processors;
using BlockchainSharp.Tests.TestUtils;
using BlockchainSharp.Core;
[TestClass]
public class MinerProc... | namespace BlockchainSharp.Tests.Processors
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BlockchainSharp.Stores;
using BlockchainSharp.Processors;
using BlockchainSharp.Tests.TestUtils;
using BlockchainSharp.Core;
[TestClass]
public class MinerProc... | Fix test, mine block with transaction | Fix test, mine block with transaction
| C# | mit | ajlopez/BlockchainSharp |
368fd4326721fdf39ee1d1e42ca1ce475bc911ea | src/DialogServices/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | src/DialogServices/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuGet.Dialog.PackageManagerUI
{
public class StringCollectionsToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cu... | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuGet.Dialog.PackageManagerUI
{
public class StringCollectionsToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cultur... | Add a safety check for when Authors is null, which shouldn't happen in the first place. Work items: 1727, 1728 | Add a safety check for when Authors is null, which shouldn't happen in the first place. Work items: 1727, 1728
--HG--
branch : 1.6
| C# | apache-2.0 | mdavid/nuget,mdavid/nuget |
00bb6a3eb7c2f83850b012367899a57ea08338ab | src/backend/SO115App.Persistence.MongoDB/GestioneInterventi/GetListaEventiByCodiceRichiesta.cs | src/backend/SO115App.Persistence.MongoDB/GestioneInterventi/GetListaEventiByCodiceRichiesta.cs | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.API.Models.Classi.Soccorso;
using SO115App.API.Models.Classi.Soccorso.Eventi;
using SO115App.API.Models.Servizi.CQRS.Queries.ListaEventi;
using SO115App.Models.Servizi.Infrastruttura.GetListaEventi;
using System;
using System.Collections.Generic;
using Sy... | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.API.Models.Classi.Soccorso;
using SO115App.API.Models.Classi.Soccorso.Eventi;
using SO115App.API.Models.Servizi.CQRS.Queries.ListaEventi;
using SO115App.Models.Servizi.Infrastruttura.GetListaEventi;
using System;
using System.Collections.Generic;
using Sy... | Fix - Cambiata chiave degli eventi da id richiesta a codice | Fix - Cambiata chiave degli eventi da id richiesta a codice
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf |
ac0ec0f6db732cf0caa0ed7bcaf9a9c0cd3d12df | Sailthru/Sailthru.Tests/Test.cs | Sailthru/Sailthru.Tests/Test.cs | using NUnit.Framework;
using System;
namespace Sailthru.Tests
{
[TestFixture()]
public class Test
{
[Test()]
public void TestCase()
{
Assert.Fail();
}
}
}
| using NUnit.Framework;
using System;
namespace Sailthru.Tests
{
[TestFixture()]
public class Test
{
[Test()]
public void TestCase()
{
}
}
}
| Revert "[DEVOPS-245] verify test failure" | Revert "[DEVOPS-245] verify test failure"
This reverts commit 11678f30528dfc2ecc5463ad693822d1af2ad1ff.
| C# | mit | sailthru/sailthru-net-client |
b2a2df31d645d65f3e4b8df3cadb435e5d6681ec | src/NHibernate.Test/NHSpecificTest/NH315/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH315/Fixture.cs | using System;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH315
{
/// <summary>
/// Summary description for Fixture.
/// </summary>
[TestFixture]
[Ignore("Not working, see http://jira.nhibernate.org/browse/NH-315")]
public class Fixture : TestCase
{
protected override string MappingsAssem... | using System;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH315
{
/// <summary>
/// Summary description for Fixture.
/// </summary>
[TestFixture]
public class Fixture : BugTestCase
{
public override string BugNumber
{
get { return "NH315"; }
}
[Test]
public void SaveClient()
... | Enable NH-315 fixture since it works now | Enable NH-315 fixture since it works now
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@2313
| C# | lgpl-2.1 | fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,gliljas/nhibernate-core,alobakov/nhibernate-core,RogerKratz/nhibernat... |
2b3c38d623ac8f4eb163bb6516eb64db34c54127 | src/RealEstateAgencyFranchise/Controllers/OfficeController.cs | src/RealEstateAgencyFranchise/Controllers/OfficeController.cs | using RealEstateAgencyFranchise.Database;
using Starcounter;
using System.Linq;
namespace RealEstateAgencyFranchise.Controllers
{
internal class OfficeController
{
public Json Get(ulong officeObjectNo)
{
return Db.Scope(() =>
{
var offices = Db.SQL<Offic... | using RealEstateAgencyFranchise.Database;
using RealEstateAgencyFranchise.ViewModels;
using Starcounter;
using System.Linq;
namespace RealEstateAgencyFranchise.Controllers
{
internal class OfficeController
{
public Json Get(ulong officeObjectNo)
{
return Db.Scope(() =>
... | Fix missed view model reference | Fix missed view model reference
| C# | mit | aregaz/starcounterdemo,aregaz/starcounterdemo |
b66087cc0718af4ef2f28e45ddf26657ae9ec04b | Scripts/GameApi/Messages/ServerTimeMessage.cs | Scripts/GameApi/Messages/ServerTimeMessage.cs | using System.Collections;
using System.Collections.Generic;
using LiteNetLib.Utils;
namespace LiteNetLibManager
{
public struct ServerTimeMessage : INetSerializable
{
public int serverUnixTime;
public void Deserialize(NetDataReader reader)
{
serverUnixTime = reader.GetPack... | using System.Collections;
using System.Collections.Generic;
using LiteNetLib.Utils;
namespace LiteNetLibManager
{
public struct ServerTimeMessage : INetSerializable
{
public long serverUnixTime;
public void Deserialize(NetDataReader reader)
{
serverUnixTime = reader.GetPac... | Change time type to long | Change time type to long
| C# | mit | insthync/LiteNetLibManager,insthync/LiteNetLibManager |
56459fb6d3db10e3a3e493b5d2046771a150fb96 | osu.Framework.Templates/templates/template-empty/TemplateGame.iOS/Application.cs | osu.Framework.Templates/templates/template-empty/TemplateGame.iOS/Application.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 UIKit;
namespace TemplateGame.iOS
{
public static class Application
{
public static void Main(string[] args)
{
UIApplication.M... | // 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.iOS;
using UIKit;
namespace TemplateGame.iOS
{
public static class Application
{
public static void Main(string[] args)
{
... | Fix `TemplateGame.iOS` failing to build | Fix `TemplateGame.iOS` failing to build
| C# | mit | peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework |
a9957c647cd3f4037dc151ae0118297e476c1bac | src/Avalonia.Base/Utilities/StyleClassParser.cs | src/Avalonia.Base/Utilities/StyleClassParser.cs | using System;
using System.Globalization;
namespace Avalonia.Utilities
{
#if !BUILDTASK
public
#endif
static class StyleClassParser
{
public static ReadOnlySpan<char> ParseStyleClass(this ref CharacterReader r)
{
if (IsValidIdentifierStart(r.Peek))
{
... | using System;
using System.Globalization;
namespace Avalonia.Utilities
{
#if !BUILDTASK
public
#endif
static class StyleClassParser
{
public static ReadOnlySpan<char> ParseStyleClass(this ref CharacterReader r)
{
if (IsValidIdentifierStart(r.PeekOneOrThrow))
{
... | Fix build failure from the merge to master. | Fix build failure from the merge to master.
| C# | mit | SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,akrisiun/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,grokys/Perspex,Perspex/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawso... |
a3712439f1902f3709ef01296f49c800153df831 | osu.Framework.Desktop/Platform/Architecture.cs | osu.Framework.Desktop/Platform/Architecture.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Desktop.Platform
{
internal static class Architecture
{
... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Desktop.Platform
{
internal static class Architecture
{
... | Use RuntimeInfo.IsLinux to check for Linux | Use RuntimeInfo.IsLinux to check for Linux
It's quite easy to do this, FYI
| C# | mit | EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,Tom94/osu-framework,peppy/osu-framework,paparony03/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,Nabi... |
9ec5be3017eedcac40c52d85003f5232e858911d | src/Squirrel.Core/ReactiveUIMicro/ReactiveUI/WhenAnyShim.cs | src/Squirrel.Core/ReactiveUIMicro/ReactiveUI/WhenAnyShim.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Windows;
namespace ReactiveUIMicro
{
public static class WhenAnyShim
{
public static IObservable<TVal> WhenAny<TSender, TTarget, TVal>(this TSen... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Windows;
namespace ReactiveUIMicro
{
public static class WhenAnyShim
{
public static IObservable<TVal> WhenAny<TSender, TTarget, TVal>(this TSen... | Fix casting error in WhenAny shim | Fix casting error in WhenAny shim
| C# | mit | rzhw/Squirrel.Windows,rzhw/Squirrel.Windows |
9b9d5c17d84327b60e144bc82edb1f83f146ed2e | WindowsUniversalAppDriver/WindowsUniversalAppDriver.InnerServer/Commands/GetElementAttributeCommand.cs | WindowsUniversalAppDriver/WindowsUniversalAppDriver.InnerServer/Commands/GetElementAttributeCommand.cs | namespace WindowsUniversalAppDriver.InnerServer.Commands
{
using System.Reflection;
using WindowsUniversalAppDriver.Common;
internal class GetElementAttributeCommand : CommandBase
{
#region Public Properties
public string ElementId { get; set; }
#endregion
#region P... | namespace WindowsUniversalAppDriver.InnerServer.Commands
{
using System;
using System.Reflection;
using WindowsUniversalAppDriver.Common;
internal class GetElementAttributeCommand : CommandBase
{
#region Public Properties
public string ElementId { get; set; }
#endregion
... | Add support for nested properties access in GetElementAttribute command using dot separated syntax | Add support for nested properties access in GetElementAttribute command using dot separated syntax
Now you can access nested property of element using dot separated syntax in /session/:sessionId/element/:id/attribute/:name command
e.g., "SelectedItem.DisplayName", etc.
| C# | mpl-2.0 | 2gis/Winium.StoreApps,krishachetan89/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,goldbillka/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,goldbillka/Winium.StoreApps,2gis/Winium.StoreApps,krishachetan89/Winium.StoreApps |
5268355310cd9c719d8a498c2247330253649e03 | App/StackExchange.DataExplorer/Views/Shared/PageNotFound.cshtml | App/StackExchange.DataExplorer/Views/Shared/PageNotFound.cshtml | @using StackExchange.DataExplorer
@{this.SetPageTitle("Page not found - Stack Exchange Data Explorer");}
<div class="subheader">
<h2>Page Not Found</h2>
</div>
<div style="width:400px; float:left;">
<p>Sorry we could not find the page requested. However, we did find a picture of <a href="http://en.wiki... | @using StackExchange.DataExplorer
@{this.SetPageTitle("Page not found - Stack Exchange Data Explorer");}
<div class="subheader">
<h2>Page Not Found</h2>
</div>
<div style="width:400px; float:left;">
<p>Sorry we could not find the page requested. However, we did find a picture of <a href="http://en.wiki... | Remove stray space in 404 page | Remove stray space in 404 page | C# | mit | StackExchange/StackExchange.DataExplorer,rschrieken/StackExchange.DataExplorer,jango2015/StackExchange.DataExplorer,rschrieken/StackExchange.DataExplorer,tms/StackExchange.DataExplorer,vebin/StackExchange.DataExplorer,gavioto/StackExchange.DataExplorer,vebin/StackExchange.DataExplorer,tms/StackExchange.DataExplorer,veb... |
7e44cd73c85ae4871fdad8b87c64124ce0e1506a | JabbR/Models/ChatRoom.cs | JabbR/Models/ChatRoom.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace JabbR.Models
{
public class ChatRoom
{
[Key]
public int Key { get; set; }
public DateTime LastActivity { get; set; }
public DateTime? LastNudged { get; set; }
public ... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace JabbR.Models
{
public class ChatRoom
{
[Key]
public int Key { get; set; }
public DateTime LastActivity { get; set; }
public DateTime? LastNudged { get; set; }
public ... | Set the last activity on creation so sql doesn't blow up. | Set the last activity on creation so sql doesn't blow up.
| C# | mit | aapttester/jack12051317,SonOfSam/JabbR,Org1106/Project13221106,kudupublic/test0704jabbr,mogulTest1/Project13171205,mogultest2/Project92105,krolson/kkJabbr,AAPT/jean0226case1322,lukehoban/JabbR,kudupublic/test0704jabbr,yadyn/JabbR,test0925/test0925,mogulTest1/ProjectfoIssue6,MogulTestOrg1008/Project13221008,kudupublic/l... |
f687ac24d27432ed7f0b8ae2aef62794695529c4 | BitCommitment/BitCommitmentProvider.cs | BitCommitment/BitCommitmentProvider.cs | using System;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages. Based on Bruce Schneier's RandBytes1-way
/// function method for committing bits
/// </summary>
pu... | using System;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages. Based on Bruce Schneier's one-way
/// function method for committing bits. See p.87 of `Applied Cryptograp... | Fix refactor fail and add book reference | Fix refactor fail and add book reference
| C# | mit | 0culus/ElectronicCash |
ed8bdd4cc473f487f6019778027abeeb3a956a9a | Source/TeaCommerce.Umbraco.Configuration/Compatibility/Domain.cs | Source/TeaCommerce.Umbraco.Configuration/Compatibility/Domain.cs | using System.Collections.Generic;
using System.Linq;
using TeaCommerce.Api.Infrastructure.Caching;
using Umbraco.Core;
namespace TeaCommerce.Umbraco.Configuration.Compatibility {
public static class Domain {
private const string CacheKey = "Domains";
public static umbraco.cms.businesslogic.web.Domain[] Ge... | using System.Collections.Generic;
using System.Linq;
using TeaCommerce.Api.Infrastructure.Caching;
using Umbraco.Core;
namespace TeaCommerce.Umbraco.Configuration.Compatibility {
public static class Domain {
private const string CacheKey = "Domains";
public static umbraco.cms.businesslogic.web.Domain[] Ge... | Change domain id to new naming format | Change domain id to new naming format
| C# | mit | TeaCommerce/Tea-Commerce-for-Umbraco,TeaCommerce/Tea-Commerce-for-Umbraco,TeaCommerce/Tea-Commerce-for-Umbraco |
1a16527a3e3f96a561a74a6c554a5d81e059739f | Crosscutter/Properties/AssemblyInfo.cs | Crosscutter/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("Crosscutter")]
[assembly: AssemblyDescrip... | 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("Crosscutter")]
[assembly: AssemblyDescrip... | Edit assembly description to make xml compliant for nuspec output. | Edit assembly description to make xml compliant for nuspec output.
| C# | mit | dbenzel/Crosscutter |
3e8fa66488121df4758366d32d08615301de2ac5 | PS.Mothership.Core/PS.Mothership.Core.Common.Rellaid/Dto/InboundQueueDistributorDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common.Rellaid/Dto/InboundQueueDistributorDto.cs | using System.Runtime.Serialization;
namespace PS.Mothership.Core.Common.Rellaid.Dto
{
[DataContract]
public class InboundQueueDistributorDto
{
[DataMember]
public string FilterNumber { get; set; }
[DataMember]
public int RungCount { get; set; }
}
}
| using System.Runtime.Serialization;
namespace PS.Mothership.Core.Common.Rellaid.Dto
{
[DataContract]
public class InboundQueueDistributorDto
{
[DataMember]
public string PhoneNumber { get; set; }
[DataMember]
public int RungCount { get; set; }
}
}
| Change FilterNumber to PhoneNumber so that it has the same name as the database field | Change FilterNumber to PhoneNumber so that it has the same name as the database field
git-svn-id: 2ba1368c4e437a7d9ecf55f7e32b22ba866dc236@460 0f896bb5-3ab0-2d4e-82a7-85ef10020915
| C# | mit | Paymentsense/Dapper.SimpleSave |
91a79f75ee56abf065d63ba8f87d0d0bb56d0080 | Model/Flag/Impl/NoVehiclesUsageFlag.cs | Model/Flag/Impl/NoVehiclesUsageFlag.cs | using System.Collections.Generic;
using Rocket.Unturned.Player;
using RocketRegions.Util;
using SDG.Unturned;
using UnityEngine;
namespace RocketRegions.Model.Flag.Impl
{
public class NoVehiclesUsageFlag : BoolFlag
{
public override string Description => "Allow/Disallow usage of vehicles in region";
... | using System.Collections.Generic;
using Rocket.Unturned.Player;
using RocketRegions.Util;
using SDG.Unturned;
using UnityEngine;
namespace RocketRegions.Model.Flag.Impl
{
public class NoVehiclesUsageFlag : BoolFlag
{
public override string Description => "Allow/Disallow usage of vehicles in region";
... | Fix for NoVehicleUsage flag doing nothing | Fix for NoVehicleUsage flag doing nothing
| C# | agpl-3.0 | Trojaner25/Rocket-Safezone,Trojaner25/Rocket-Regions |
87db62214de261e0095e6a945b3c01c94dbd6c0f | Scripts/GameApi/DefaultInterestManager.cs | Scripts/GameApi/DefaultInterestManager.cs | using System.Collections.Generic;
using UnityEngine;
namespace LiteNetLibManager
{
public class DefaultInterestManager : BaseInterestManager
{
[Tooltip("Update every ? seconds")]
public float updateInterval = 1f;
private float updateCountDown = 0f;
private void Update()
... | using System.Collections.Generic;
using UnityEngine;
namespace LiteNetLibManager
{
public class DefaultInterestManager : BaseInterestManager
{
[Tooltip("Update every ? seconds")]
public float updateInterval = 1f;
private float updateCountDown = 0f;
private void Update()
... | Delete null check codes, it is not necessary because set owner object function bugs was solved. | Delete null check codes, it is not necessary because set owner object function bugs was solved.
| C# | mit | insthync/LiteNetLibManager,insthync/LiteNetLibManager |
180fc6a2c73ec37eb0bc84b4e9b483c087b4b3b0 | TestingFxTests/When_comparing_booleans.cs | TestingFxTests/When_comparing_booleans.cs | using Machine.Specifications;
namespace TestingFxTests
{
[Subject("Booleans")]
public class When_comparing_booleans
{
private static bool Subject;
private Establish context = () => Subject = false;
private Because of = () => Subject = true;
private It should_be_true = () =... | using Machine.Specifications;
namespace TestingFxTests
{
[Subject("Mspec")]
public class MspecExample
{
private static bool Subject;
private Establish context = () => Subject = false;
private Because of = () => Subject = true;
private It should_be_true = () => Subject.Shou... | Rename recommended mSpec convention to MspecExample for consistency | Rename recommended mSpec convention to MspecExample for consistency
| C# | mit | harryhazza77/testingFx |
c83388c7d091b4d3099f1218ed9c74f4ae6b83d8 | Dcc/Startup.cs | Dcc/Startup.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
namespace Tiesmaster.Dcc
{
public class Startup
{
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
namespace Tiesmaster.Dcc
{
public class Startup
{
public void Configure(IApplicationBuilder a... | Copy in Proxy code from ProxyMiddleware.cs, | Copy in Proxy code from ProxyMiddleware.cs,
from ASP.NET Core Proxy package [1].
[1] https://raw.githubusercontent.com/aspnet/Proxy/dev/src/Microsoft.AspNetCore.Proxy/ProxyMiddleware.cs
| C# | mit | tiesmaster/DCC,tiesmaster/DCC |
03c5e7653b23fb43244be68086d360e62c626708 | test/IdentityServer.IntegrationTests/Clients/DiscoveryClient.cs | test/IdentityServer.IntegrationTests/Clients/DiscoveryClient.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 IdentityModel.Client;
using IdentityServer4.IntegrationTests.Clients;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.T... | // 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 FluentAssertions;
using IdentityModel.Client;
using IdentityServer4.IntegrationTests.Clients;
using Microsoft.AspNetCore.Hosting;
usin... | Add one more discovery test | Add one more discovery test
| C# | apache-2.0 | siyo-wang/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,siyo-wang/IdentityServer4,siyo-wang/IdentityServer4,chrisowhite/IdentityServer4,c... |
933c694487c96763af1c03b0160ddf427540a403 | Sync/IRC/MessageFilter/Filters/DefaultFormat.cs | Sync/IRC/MessageFilter/Filters/DefaultFormat.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sync.IRC.MessageFilter.Filters
{
class DefaultFormat : FilterBase, IDanmaku, IOsu
{
public override void onMsg(ref MessageBase msg)
{
msg.user.setPerfix("<"... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sync.IRC.MessageFilter.Filters
{
class DefaultFormat : FilterBase, IDanmaku, IOsu
{
public override void onMsg(ref MessageBase msg)
{
msg.user.setPerfix("<"... | Add ":" to default suffix | Add ":" to default suffix
| C# | mit | Deliay/osuSync,Deliay/Sync |
8b78536a110f9470adb29d6a29e6c9135db3fee6 | src/CompetitionPlatform/Data/AzureRepositories/Project/ProjectFileInfoRepository.cs | src/CompetitionPlatform/Data/AzureRepositories/Project/ProjectFileInfoRepository.cs | using System.Threading.Tasks;
using AzureStorage.Tables;
using Microsoft.WindowsAzure.Storage.Table;
namespace CompetitionPlatform.Data.AzureRepositories.Project
{
public class ProjectFileInfoEntity : TableEntity, IProjectFileInfoData
{
public static string GeneratePartitionKey()
{
... | using System.Threading.Tasks;
using AzureStorage.Tables;
using Microsoft.WindowsAzure.Storage.Table;
namespace CompetitionPlatform.Data.AzureRepositories.Project
{
public class ProjectFileInfoEntity : TableEntity, IProjectFileInfoData
{
public static string GeneratePartitionKey()
{
... | Change File Info repository save method, file info can now be updated. | Change File Info repository save method, file info can now be updated.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform |
cbbad7c74affdbeeea2927df5246df7fb0990cb7 | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs | using NUnit.Framework;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers
{
public class MyDatabaseSettings : IMyDatabaseSettings
{
public string ConnectionString { get; } = $@"Data Source={TestContext.CurrentContext.TestDirectory}\Tests.db;Version=3;New=True;BinaryGUID=False... | using NUnit.Framework;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers
{
public class MyDatabaseSettings : IMyDatabaseSettings
{
public string ConnectionString { get; } = $@"Data Source={TestContext.CurrentContext.TestDirectory}\IoCTests.db;Version=3;New=True;BinaryGUID=Fa... | Change name of daabase for IoC | Change name of daabase for IoC
| C# | mit | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork |
2e46a8b1ac3f7251db1936b1da1c4ae5d415c901 | Injector/InstructionRemover.cs | Injector/InstructionRemover.cs | using Mono.Cecil;
using Mono.Cecil.Cil;
using System.Linq;
namespace Injector
{
public class InstructionRemover
{
public InstructionRemover(ModuleDefinition targetModule)
{
_targetModule = targetModule;
}
ModuleDefinition _targetModule;
public void Replace... | using Mono.Cecil;
using Mono.Cecil.Cil;
using System.Linq;
namespace Injector
{
public class InstructionRemover
{
public InstructionRemover(ModuleDefinition targetModule)
{
_targetModule = targetModule;
}
ModuleDefinition _targetModule;
public void Replace... | Add useful overload for instruction remover | Add useful overload for instruction remover
| C# | mit | fistak/MaterialColor |
fe3878304f0a115a6451e24176c102d4adb42d4c | Daves.DeepDataDuplicator.IntegrationTests/SqlDatabaseSetup.cs | Daves.DeepDataDuplicator.IntegrationTests/SqlDatabaseSetup.cs | using Microsoft.Data.Tools.Schema.Sql.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Data;
using System.Data.SqlClient;
using System.Transactions;
namespace Daves.DeepDataDuplicator.IntegrationTests
{
[TestClass]
public class SqlDatabaseSetup
{
public static readonly... | using Microsoft.Data.Tools.Schema.Sql.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Data;
using System.Data.SqlClient;
using System.Transactions;
namespace Daves.DeepDataDuplicator.IntegrationTests
{
[TestClass]
public class SqlDatabaseSetup
{
[AssemblyInitialize]
... | Fix connection bug for fresh environments | Fix connection bug for fresh environments
| C# | mit | davghouse/Daves.DeepDataDuplicator |
8bb9dd4657a98543c531944513badf8c95e9ff35 | Examples/CSharp/Programming-Documents/Fields/InsertIncludeFieldWithoutDocumentBuilder.cs | Examples/CSharp/Programming-Documents/Fields/InsertIncludeFieldWithoutDocumentBuilder.cs | using Aspose.Words.Fields;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspose.Words.Examples.CSharp.Programming_Documents.Working_with_Fields
{
class InsertIncludeFieldWithoutDocumentBuilder
{
public static void Run()
... | using Aspose.Words.Fields;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspose.Words.Examples.CSharp.Programming_Documents.Working_with_Fields
{
class InsertIncludeFieldWithoutDocumentBuilder
{
public static void Run()
... | Update "Insert Include Field" example | Update "Insert Include Field" example
| C# | mit | asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET |
42782299604bd6aa4ad57fef56700434d46685e1 | Espera.Network/NetworkSong.cs | Espera.Network/NetworkSong.cs | using System;
namespace Espera.Network
{
public class NetworkSong
{
public string Album { get; set; }
public string Artist { get; set; }
public TimeSpan Duration { get; set; }
public string Genre { get; set; }
public Guid Guid { get; set; }
public NetworkSo... | using System;
namespace Espera.Network
{
public class NetworkSong
{
public string Album { get; set; }
public string Artist { get; set; }
public TimeSpan Duration { get; set; }
public string Genre { get; set; }
public Guid Guid { get; set; }
public NetworkSo... | Add the track number to the song | Add the track number to the song
| C# | mit | flagbug/Espera.Network |
056a6b452e8669f9b788d2ce7cd8de95745beb3f | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostPlayedRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostPlayedRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Shows.Common;
using System.Collections.Generic;
internal class TraktShowsMostPlayedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostPlayedShow>, TraktMos... | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base;
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Shows.Common;
using System.Collections.Generic;
internal class TraktShowsMostPlayedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostPlaye... | Add filter property to most played shows request. | Add filter property to most played shows request.
| C# | mit | henrikfroehling/TraktApiSharp |
ef3ca907c7d3cc81dc8e221e4c8c13fd4414de97 | src/Orchard.Web/Modules/Orchard.DynamicForms/Elements/Fieldset.cs | src/Orchard.Web/Modules/Orchard.DynamicForms/Elements/Fieldset.cs | using Orchard.Layouts.Helpers;
using Orchard.Layouts.Elements;
namespace Orchard.DynamicForms.Elements {
public class Fieldset : Container {
public override string Category {
get { return "Forms"; }
}
public string Legend {
get { return this.Retrieve(f => f.Legend)... | using Orchard.Layouts.Helpers;
using Orchard.Layouts.Elements;
namespace Orchard.DynamicForms.Elements {
public class Fieldset : Container {
public override string Category {
get { return "Forms"; }
}
public override bool HasEditor {
get { return false; }
}... | Remove editor completely when adding a fieldset to the layout editor. | Remove editor completely when adding a fieldset to the layout editor.
| C# | bsd-3-clause | angelapper/Orchard,Anton-Am/Orchard,cooclsee/Orchard,SzymonSel/Orchard,m2cms/Orchard,qt1/Orchard,stormleoxia/Orchard,DonnotRain/Orchard,sebastienros/msc,andyshao/Orchard,planetClaire/Orchard-LETS,m2cms/Orchard,phillipsj/Orchard,hbulzy/Orchard,hhland/Orchard,yonglehou/Orchard,Codinlab/Orchard,cooclsee/Orchard,neTp9c/Orc... |
c712760841ea71574cfb8ea3bbf6462b51e55a52 | PSCompatibilityAnalyzer/Microsoft.PowerShell.CrossCompatibility/Commands/CommandUtilities.cs | PSCompatibilityAnalyzer/Microsoft.PowerShell.CrossCompatibility/Commands/CommandUtilities.cs | using System;
using System.IO;
using System.Management.Automation;
namespace Microsoft.PowerShell.CrossCompatibility.Commands
{
internal static class CommandUtilities
{
private const string COMPATIBILITY_ERROR_ID = "CompatibilityAnalysisError";
public const string MODULE_PREFIX = "PSCompatibil... | using System;
using System.IO;
using System.Management.Automation;
namespace Microsoft.PowerShell.CrossCompatibility.Commands
{
internal static class CommandUtilities
{
private const string COMPATIBILITY_ERROR_ID = "CompatibilityAnalysisError";
public const string MODULE_PREFIX = "PSCompatibil... | Convert scrap errors to warnings | Convert scrap errors to warnings
| C# | mit | PowerShell/PSScriptAnalyzer |
3bac6ad93820e9710c0cebb8678b3ddc4e81ff1a | src/BehaviorsSDKManaged/Microsoft.Xaml.Interactivity/Behavior.cs | src/BehaviorsSDKManaged/Microsoft.Xaml.Interactivity/Behavior.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Windows.UI.Xaml;
namespace Microsoft.Xaml.Interactivity
{
/// <summary>
/// A base class for behaviors, implementing the basic plumbing of IBehavior
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Windows.UI.Xaml;
namespace Microsoft.Xaml.Interactivity
{
/// <summary>
/// A base class for behaviors, implementing the basic plumbing of... | Check associated object parameter for null. Throw ArgumentNullException if it is null | Check associated object parameter for null. Throw ArgumentNullException if it is null
| C# | mit | PedroLamas/XamlBehaviors,PedroLamas/XamlBehaviors,Microsoft/XamlBehaviors,PedroLamas/XamlBehaviors,Microsoft/XamlBehaviors,Microsoft/XamlBehaviors |
882050da6791ee8aa7b7f74191b1016b52d2e510 | VCSJones.FiddlerCert/SettingsModel.cs | VCSJones.FiddlerCert/SettingsModel.cs | using Fiddler;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace VCSJones.FiddlerCert
{
public class SettingsModel : INotifyPropertyChanged
{
private bool _checkForUpdates;
private RelayCommand _saveCommand, _cancelCommand;
public ... | using Fiddler;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace VCSJones.FiddlerCert
{
public class SettingsModel : INotifyPropertyChanged
{
private bool _checkForUpdates;
private RelayCommand _saveCommand, _cancelCommand;
public ... | Fix default value in settings window. | Fix default value in settings window.
| C# | mit | vcsjones/FiddlerCert,madmarks/FiddlerCert |
a6cdd160deb8e0cf57a210905f7f017e934d3714 | src/ScriptBuilder/Writers/SubscriptionWriter.cs | src/ScriptBuilder/Writers/SubscriptionWriter.cs | using System.IO;
using NServiceBus.Persistence.Sql.ScriptBuilder;
class SubscriptionWriter
{
public static void WriteSubscriptionScript(string scriptPath, BuildSqlDialect sqlDialect)
{
var createPath = Path.Combine(scriptPath, "Subscription_Create.sql");
File.Delete(createPath);
using ... | using System.IO;
using NServiceBus.Persistence.Sql.ScriptBuilder;
class SubscriptionWriter
{
public static void WriteSubscriptionScript(string scriptPath, BuildSqlDialect sqlDialect)
{
var createPath = Path.Combine(scriptPath, "Subscription_Create.sql");
File.Delete(createPath);
using ... | Fix the subscription drop script | Fix the subscription drop script
| C# | mit | NServiceBusSqlPersistence/NServiceBus.SqlPersistence |
1cad2bdc29d94af2190f83393d9466b4b1598cc4 | src/jzeferino.XSAddin/Properties/AddinInfo.cs | src/jzeferino.XSAddin/Properties/AddinInfo.cs | using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
Id = "jzeferino.XSAddin",
Namespace = "jzeferino.XSAddin",
Version = "0.0.1"
)]
[assembly: AddinName("jzeferino.XSAddin")]
[assembly: AddinCategory("IDE extensions")]
[assembly: AddinDescription("This add-in let you create a Xamarin Cros... | using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
Id = "jzeferino.XSAddin",
Namespace = "jzeferino.XSAddin",
Version = "0.1"
)]
[assembly: AddinName("jzeferino.XSAddin")]
[assembly: AddinCategory("IDE extensions")]
[assembly: AddinDescription("This add-in let you create a Xamarin Cross ... | Make addin version assembly to 0.1. | Make addin version assembly to 0.1.
| C# | mit | jzeferino/jzeferino.XSAddin,jzeferino/jzeferino.XSAddin |
1f3fbf148f7b26b7a6a416e38e833d6f03f02aab | Proxies/Collections.cs | Proxies/Collections.cs | using System;
using System.Collections;
using System.Collections.Generic;
using JSIL.Meta;
using JSIL.Proxy;
namespace JSIL.Proxies {
[JSProxy(
new[] {
"System.Collections.ArrayList",
"System.Collections.Hashtable",
"System.Collections.Generic.List`1",
"Syst... | using System;
using System.Collections;
using System.Collections.Generic;
using JSIL.Meta;
using JSIL.Proxy;
namespace JSIL.Proxies {
[JSProxy(
new[] {
"System.Collections.ArrayList",
"System.Collections.Hashtable",
"System.Collections.Generic.List`1",
"Syst... | Fix MemberwiseClone calls being generated for .GetEnumerator() on dictionary keys/values collections. | Fix MemberwiseClone calls being generated for .GetEnumerator() on dictionary keys/values collections.
| C# | mit | sq/JSIL,volkd/JSIL,sq/JSIL,volkd/JSIL,hach-que/JSIL,sander-git/JSIL,volkd/JSIL,mispy/JSIL,acourtney2015/JSIL,mispy/JSIL,x335/JSIL,x335/JSIL,volkd/JSIL,iskiselev/JSIL,acourtney2015/JSIL,x335/JSIL,antiufo/JSIL,antiufo/JSIL,acourtney2015/JSIL,acourtney2015/JSIL,volkd/JSIL,Trattpingvin/JSIL,dmirmilshteyn/JSIL,FUSEEProjectT... |
1fae099a4edc60d44636051c66f6a7606515f379 | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/ArtistTagsTests.cs | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/ArtistTagsTests.cs | using System.Linq;
using NUnit.Framework;
using SevenDigital.Api.Schema.Tags;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.TagsEndpoint
{
[TestFixture]
public class ArtistTagsTests
{
[Test]
public void Can_hit_endpoint()
{
ArtistTags tags = Api<ArtistTags>.Create
.WithParame... | using System.Linq;
using NUnit.Framework;
using SevenDigital.Api.Schema.Tags;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.TagsEndpoint
{
[TestFixture]
public class ArtistTagsTests
{
[Test]
public void Can_hit_endpoint()
{
ArtistTags tags = Api<ArtistTags>.Create
.WithParame... | Change artist in tags test | Change artist in tags test
- After migrating to solr kkeane no longer has multiple tags.:wqa
| C# | mit | bettiolo/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api... |
d8423af4fbb5ef30ffa75f9358b578495003c5ba | src/Photosphere.Mapping/Extensions/MappingObjectExtensions.cs | src/Photosphere.Mapping/Extensions/MappingObjectExtensions.cs | using Photosphere.Mapping.Static;
namespace Photosphere.Mapping.Extensions
{
public static class MappingObjectExtensions
{
/// <summary> Map from source to existent object target</summary>
public static void MapTo<TSource, TTarget>(this TSource source, TTarget target)
where TTarget... | using Photosphere.Mapping.Static;
namespace Photosphere.Mapping.Extensions
{
public static class MappingObjectExtensions
{
/// <summary> Map from source to existent object target</summary>
public static void MapTo<TSource, TTarget>(this TSource source, TTarget target)
where TTarget... | Make beauty to extensions API | Make beauty to extensions API
| C# | mit | sunloving/photosphere-mapping |
2a47af6af08810a57e3553e2ce118fb4084b5e8f | src/SFA.DAS.ProviderApprenticeshipsService.Web/Validation/ApprenticeshipViewModelValidator.cs | src/SFA.DAS.ProviderApprenticeshipsService.Web/Validation/ApprenticeshipViewModelValidator.cs | using FluentValidation;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.Validation
{
public sealed class ApprenticeshipViewModelValidator : AbstractValidator<ApprenticeshipViewModel>
{
public ApprenticeshipViewModelValidator()
{
... | using FluentValidation;
using SFA.DAS.ProviderApprenticeshipsService.Web.Models;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.Validation
{
public sealed class ApprenticeshipViewModelValidator : AbstractValidator<ApprenticeshipViewModel>
{
public ApprenticeshipViewModelValidator()
{
... | Update the validation messages for uln and cost | Update the validation messages for uln and cost
| C# | mit | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice |
3bd052db68eeb121e608d2c04e5dc1daf2db0715 | Phoebe/Build.cs | Phoebe/Build.cs | using System;
namespace Toggl.Phoebe
{
public static class Build
{
#warning Please fill in build settings and make git assume this file is unchanged.
#region Phoebe build config
public static readonly Uri ApiUrl = new Uri ("https://toggl.com/api/");
public static readonly Uri ReportsAp... | using System;
namespace Toggl.Phoebe
{
public static class Build
{
#warning Please fill in build settings and make git assume this file is unchanged.
#region Phoebe build config
public static readonly Uri ApiUrl = new Uri ("https://toggl.com/api/");
public static readonly Uri ReportsAp... | Add InsightsApiKey to conf file. | Add InsightsApiKey to conf file.
| C# | bsd-3-clause | masterrr/mobile,ZhangLeiCharles/mobile,ZhangLeiCharles/mobile,peeedge/mobile,eatskolnikov/mobile,peeedge/mobile,eatskolnikov/mobile,eatskolnikov/mobile,masterrr/mobile |
c35ff713c44194a901e7b744832fb23d5a8c6131 | src/GRA.Data/Model/AvatarLayer.cs | src/GRA.Data/Model/AvatarLayer.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace GRA.Data.Model
{
public class AvatarLayer : Abstract.BaseDbEntity
{
[Required]
public int SiteId { get; set; }
[Required]
[MaxLength(255)]
public string Name { get; set; }
... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace GRA.Data.Model
{
public class AvatarLayer : Abstract.BaseDbEntity
{
[Required]
public int SiteId { get; set; }
[Required]
[MaxLength(255... | Add precision and scale to avatar zoom scale | Add precision and scale to avatar zoom scale
| C# | mit | MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure |
cb60e3abf6ae0213ba071340b4dd264796406445 | JustEat.Simples.AwsTools.UnitTests/SqsNotificationListener/WhenThereAreExceptionsInSqsCalling.cs | JustEat.Simples.AwsTools.UnitTests/SqsNotificationListener/WhenThereAreExceptionsInSqsCalling.cs | using System;
using Amazon.SQS.Model;
using JustEat.Testing;
using NSubstitute;
using NUnit.Framework;
namespace AwsTools.UnitTests.SqsNotificationListener
{
public class WhenThereAreExceptionsInSqsCalling : BaseQueuePollingTest
{
private int _sqsCallCounter;
protected override void Given()
... | using System;
using Amazon.SQS.Model;
using JustEat.Testing;
using NSubstitute;
using NUnit.Framework;
namespace AwsTools.UnitTests.SqsNotificationListener
{
public class WhenThereAreExceptionsInSqsCalling : BaseQueuePollingTest
{
private int _sqsCallCounter;
protected override void Given()
... | Test requires longer to run on slower aws build agents | Test requires longer to run on slower aws build agents
| C# | apache-2.0 | Intelliflo/JustSaying,eric-davis/JustSaying,Intelliflo/JustSaying |
2251bf3bcbdb82f706ba81624faf6a943b60324a | osu.Game/Overlays/Profile/Sections/Historical/UserHistoryGraph.cs | osu.Game/Overlays/Profile/Sections/Historical/UserHistoryGraph.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using osu.Framework.Extensions.LocalisationExtensions;
using osu.Framewor... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using osu.Framework.Extensions.LocalisationExtensions;
using osu.Framewor... | Use lambda spec for method | Use lambda spec for method
| C# | mit | peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu |
f949bd443947b588772af700f8c4660ff174f51e | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Requests/GetApprenticeshipRequest.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Requests/GetApprenticeshipRequest.cs | using Microsoft.AspNetCore.Mvc;
namespace SFA.DAS.CommitmentsV2.Api.Types.Requests
{
public class GetApprenticeshipRequest
{
[FromQuery]
public long? AccountId { get; set; }
[FromQuery]
public long? ProviderId { get; set; }
[FromQuery]
public int PageNumber { ge... |
namespace SFA.DAS.CommitmentsV2.Api.Types.Requests
{
public class GetApprenticeshipRequest
{
public long? AccountId { get; set; }
public long? ProviderId { get; set; }
public int PageNumber { get; set; }
public int PageItemCount { get; set; }
public string SortField { g... | Remove dot net core dependency | Remove dot net core dependency
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments |
fe9f0d8de55dfdded1d6640ccace919cfbbd0605 | Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Utilities/RectTransformCubeScaler.cs | Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Utilities/RectTransformCubeScaler.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
/// <summary>
/// RectTransforms do not scale 3d objects (such as unit cubes) to fit within their bounds.
/// This helper class will apply a scal... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// RectTransforms do not scale 3d objects (such as unit cubes) to fit... | Move REcttransform scaler into mrtk namespace | Move REcttransform scaler into mrtk namespace
| C# | mit | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity |
400690b84523541226b51676d393882015da20ae | src/EventSourced.Net.ReadModel/ReadModel/Users/Internal/Queries/UserDocumentByContactChallengeCorrelationId.cs | src/EventSourced.Net.ReadModel/ReadModel/Users/Internal/Queries/UserDocumentByContactChallengeCorrelationId.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using ArangoDB.Client;
using EventSourced.Net.ReadModel.Users.Internal.Documents;
namespace EventSourced.Net.ReadModel.Users.Internal.Queries
{
public class UserDocumentByContactChallengeCorrelationId : IQuery<Task<UserDocument>>
{
public Guid Cor... | using System;
using System.Linq;
using System.Threading.Tasks;
using ArangoDB.Client;
using EventSourced.Net.ReadModel.Users.Internal.Documents;
namespace EventSourced.Net.ReadModel.Users.Internal.Queries
{
public class UserDocumentByContactChallengeCorrelationId : IQuery<Task<UserDocument>>
{
public Guid Cor... | Fix bug with query after json ignoring user doc contact challenges. | Fix bug with query after json ignoring user doc contact challenges.
| C# | mit | danludwig/eventsourced.net,grrizzly/eventsourced.net,danludwig/eventsourced.net,danludwig/eventsourced.net,grrizzly/eventsourced.net,grrizzly/eventsourced.net |
d8714dd7d18a9df0ee5bce7780846b3fe9ec955b | src/SyncTrayzor/Syncthing/ApiClient/EventType.cs | src/SyncTrayzor/Syncthing/ApiClient/EventType.cs | using Newtonsoft.Json;
namespace SyncTrayzor.Syncthing.ApiClient
{
[JsonConverter(typeof(DefaultingStringEnumConverter))]
public enum EventType
{
Unknown,
Starting,
StartupComplete,
Ping,
DeviceDiscovered,
DeviceConnected,
DeviceDisconnected,
... | using Newtonsoft.Json;
namespace SyncTrayzor.Syncthing.ApiClient
{
[JsonConverter(typeof(DefaultingStringEnumConverter))]
public enum EventType
{
Unknown,
Starting,
StartupComplete,
Ping,
DeviceDiscovered,
DeviceConnected,
DeviceDisconnected,
... | Add a missing event type | Add a missing event type
| C# | mit | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor |
1b5047541dbf3e99ba7e118056b2b03184b5b44a | src/Mockaroo.Core/Fields/JSONArrayField.cs | src/Mockaroo.Core/Fields/JSONArrayField.cs | namespace Gigobyte.Mockaroo.Fields
{
public partial class JSONArrayField
{
public int Min { get; set; } = 1;
public int Max { get; set; } = 5;
public override string ToJson()
{
return $"{base.BaseJson()},\"minItems\":{Min},\"maxItems\":{Max}}}";
}
}
} | namespace Gigobyte.Mockaroo.Fields
{
public partial class JSONArrayField
{
public int Min
{
get { return _min; }
set { _min = value.Between(0, 100); }
}
public int Max
{
get { return _max; }
set { _max = value.Between(0, 1... | Add limiter to JsonArrayField min and max properties | Add limiter to JsonArrayField min and max properties
| C# | mit | Ackara/Mockaroo.NET |
9f9cefb773bdbb8a8a21e9dce61d39c88ba78795 | Badges/Views/Shared/_ExperienceWork.cshtml | Badges/Views/Shared/_ExperienceWork.cshtml | @model Badges.Models.Shared.ExperienceViewModel
<div id="work-container" class="container work">
<div class="row">
@foreach (var work in @Model.SupportingWorks)
{
@* <div class="col-md-4"> *@
<div class="@work.Type work-item-box">
@Html.Partial("_View... | @model Badges.Models.Shared.ExperienceViewModel
<div id="work-container" class="container work">
<div class="row">
@foreach (var work in @Model.SupportingWorks)
{
@* <div class="col-md-4"> *@
<div class="@work.Type work-item-box">
@Html.Partial("_View... | Add edit / remove buttons to each file on experience page | Add edit / remove buttons to each file on experience page
| C# | mpl-2.0 | ucdavis/Badges,ucdavis/Badges |
63ff8d4a4d1319caf43ae8afefb54ea7e7285cf2 | AIWolfLib/ShuffleExtensions.cs | AIWolfLib/ShuffleExtensions.cs | //
// ShuffleExtensions.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Collections.Generic;
using System.Linq;
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// IEnumerableインターフ... | //
// ShuffleExtensions.cs
//
// Copyright (c) 2017 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
using System;
using System.Collections.Generic;
using System.Linq;
namespace AIWolf.Lib
{
#if JHELP
/// <summary>
/// IEnumerableインターフ... | Make Shuffle() returns IList to avoid delayed execution. | Make Shuffle() returns IList to avoid delayed execution.
| C# | mit | AIWolfSharp/AIWolf_NET |
c60481f655c11b75b8eb74bf66076e951f12c7c2 | cli/src/MsgPack/Serialization/SerializationMethodGeneratorOption.cs | cli/src/MsgPack/Serialization/SerializationMethodGeneratorOption.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 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.apache.org... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 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.apache.org... | Add comments for internal API. | Add comments for internal API.
| C# | apache-2.0 | msgpack/msgpack-cli,modulexcite/msgpack-cli,undeadlabs/msgpack-cli,undeadlabs/msgpack-cli,msgpack/msgpack-cli,scopely/msgpack-cli,scopely/msgpack-cli,modulexcite/msgpack-cli |
f787ce367ca2064db9685ffadd4134b0764e8321 | Eco/Properties/AssemblyInfo.cs | Eco/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Eco;
// 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: Assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Eco;
// 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: Assemb... | Move all Eco setting types to the Eco namespace | Move all Eco setting types to the Eco namespace
| C# | apache-2.0 | lukyad/Eco |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.