commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
cf0f30e92663fcad060d09297e5eca384256b2ff | Increase version info | ZEISS-PiWeb/PiWeb-Formplots | SDK/Formplots/Properties/AssemblyInfo.cs | SDK/Formplots/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("PiWeb Formplots")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyCompany("Carl Zeiss Innovationszentrum für Messtechnik GmbH")]
[assembly: AssemblyProduct("PiWeb")]
[assembly: AssemblyCopyright("Copyright © 2017 Carl Zeiss Innovationszentrum für Mes... | using System.Reflection;
[assembly: AssemblyTitle("PiWeb Formplots")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyCompany("Carl Zeiss Innovationszentrum für Messtechnik GmbH")]
[assembly: AssemblyProduct("PiWeb")]
[assembly: AssemblyCopyright("Copyright © 2017 Carl Zeiss Innovationszentrum für Mes... | bsd-3-clause | C# |
7358d784ddf44f90fd96163e2f7a7a3c741966d4 | Fix a bug that caused the sensor host to crash | rossdargan/PRTG-Sensors | Sensors/UpsSensor/UpsSensor/UPSSensor.cs | Sensors/UpsSensor/UpsSensor/UPSSensor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PowerChuteCS;
using SensorHost.Shared;
namespace UpsSensor
{
public class UPSSensor : SensorHost.Shared.SensorBase
{
private PowerChuteData _dataFactory;
public UPSSensor()... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PowerChuteCS;
using SensorHost.Shared;
namespace UpsSensor
{
public class UPSSensor : SensorHost.Shared.SensorBase
{
public override IEnumerable<Result> Results()
{
... | apache-2.0 | C# |
0f2f363f5f1316d83ebf5d9f4a3d9b2248ed991b | Prepare new release. | AlegriGroup/FeatureSwitcher.VstsConfiguration | src/FeatureSwitcher.VstsConfiguration/Properties/AssemblyInfo.cs | src/FeatureSwitcher.VstsConfiguration/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Fea... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Fea... | mit | C# |
05ec31dbcb21a70b9595a8ee979df99c8e6c8bf3 | make sync | shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,tmat/roslyn,KevinRansom/roslyn,wvdd007/roslyn,physhi/roslyn,bartdesmet/roslyn,panopticoncentral/roslyn,KevinRansom/roslyn,tannergooding/roslyn,diryboy/roslyn,panopticoncentral/roslyn,tannergooding/roslyn,dotnet/roslyn,diryboy/roslyn,dotnet/roslyn,sharwell/roslyn,mavasani... | src/Features/Core/Portable/Diagnostics/IDiagnosticModeService.cs | src/Features/Core/Portable/Diagnostics/IDiagnosticModeService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeA... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeA... | mit | C# |
130c344125945423a30d3265825ea2a2b9f0a0b2 | add sensePastWalls field for choosing whether the sensor detects objects across walls | billtowin/mega-epic-super-tankz,billtowin/mega-epic-super-tankz | modules/myModule/scripts/behaviors/misc/ProximitySensor.cs | modules/myModule/scripts/behaviors/misc/ProximitySensor.cs | if (!isObject(ProximitySensorBehavior))
{
%template = new BehaviorTemplate(ProximitySensorBehavior);
%template.friendlyName = "Proximity Sensor Behavior";
%template.behaviorType = "Misc";
%template.description = "Smart Mine AI whichs renders the owner invisible when Tank /or/ Vehicle is near and reveals i... | if (!isObject(ProximitySensorBehavior))
{
%template = new BehaviorTemplate(ProximitySensorBehavior);
%template.friendlyName = "Proximity Sensor Behavior";
%template.behaviorType = "Misc";
%template.description = "Smart Mine AI whichs renders the owner invisible when Tank /or/ Vehicle is near and reveals i... | mit | C# |
1567befb2ce4f0891cf08440046ea9714dc4cd4d | Add overload to the default Host to accept any configuration | noobot/noobot,Workshop2/noobot | src/Noobot.Runner/NoobotHost.cs | src/Noobot.Runner/NoobotHost.cs | using System;
using Common.Logging;
using Noobot.Core;
using Noobot.Core.Configuration;
using Noobot.Core.DependencyResolution;
namespace Noobot.Runner
{
/// <summary>
/// NoobotHost is required due to TopShelf.
/// </summary>
public class NoobotHost
{
private readonly IConfigReader _confi... | using System;
using Common.Logging;
using Noobot.Core;
using Noobot.Core.Configuration;
using Noobot.Core.DependencyResolution;
namespace Noobot.Runner
{
/// <summary>
/// NoobotHost is required due to TopShelf.
/// </summary>
public class NoobotHost
{
private readonly IConfigReader _confi... | mit | C# |
4e9ec329dddbc7866fa168ad90e0738ddf3c546d | Set log level to INFO | boumenot/Grobid.NET | test/Grobid.Test/GrobidTest.cs | test/Grobid.Test/GrobidTest.cs | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | using System;
using System.IO;
using ApprovalTests;
using ApprovalTests.Reporters;
using FluentAssertions;
using Xunit;
using Grobid.NET;
using org.apache.log4j;
using org.grobid.core;
namespace Grobid.Test
{
[UseReporter(typeof(DiffReporter))]
public class GrobidTest
{
static G... | apache-2.0 | C# |
13a08c002e9a14c6781bcc198479f556230d52f3 | Make PlayerInputBehavior always occupy movement | futurechris/zombai | Assets/Scripts/Models/Behaviors/PlayerControlBehavior.cs | Assets/Scripts/Models/Behaviors/PlayerControlBehavior.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PlayerControlBehavior : AgentBehavior
{
// Get keyboard/touch input and convert it into a "plan"
public override bool updatePlan(List<AgentPercept> percepts, int allottedWorkUnits)
{
if(_myself.MoveInUse)
{
return fal... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PlayerControlBehavior : AgentBehavior
{
// Get keyboard/touch input and convert it into a "plan"
public override bool updatePlan(List<AgentPercept> percepts, int allottedWorkUnits)
{
if(_myself.MoveInUse)
{
return fal... | mit | C# |
b7f6edd65540e131452c144819711982484bfcd9 | change tree | pixel-stuff/ld_dare_32 | Unity/ludum-dare-32-PixelStuff/Assets/Scripts/Tree/tree.cs | Unity/ludum-dare-32-PixelStuff/Assets/Scripts/Tree/tree.cs | using UnityEngine;
using System.Collections;
public class tree : MonoBehaviour {
enum TreeState{
UP,
CHOPED,
FALLEN,
PICKED
};
public GameObject rightChop;
public GameObject leftChop;
public GameObject trunk;
public GameObject stump;
public float SecondeAnimation;
// Use this for initialization
priv... | using UnityEngine;
using System.Collections;
public class tree : MonoBehaviour {
enum TreeState{
UP,
CHOPED,
FALLEN,
PICKED
};
public GameObject rightChop;
public GameObject leftChop;
public GameObject trunk;
public GameObject stump;
public float SecondeAnimation;
// Use this for initialization
priv... | mit | C# |
42bdfdfa10f3759bcd1c688e705f3b2a923b32a7 | Make class generatng code clearer (?) | TeamnetGroup/schema2fm | src/ConsoleApp/Table.cs | src/ConsoleApp/Table.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ConsoleApp
{
public class Table
{
private readonly string tableName;
private readonly IEnumerable<Column> columns;
public Table(string tableName, IEnumerable<Column> columns)
{
... | mit | C# |
26f2f88c67ae54cacb211d48827a74f7700d07ab | Add documentation attribute default value (#6095) | QuantConnect/Lean,jameschch/Lean,QuantConnect/Lean,QuantConnect/Lean,jameschch/Lean,JKarathiya/Lean,AlexCatarino/Lean,JKarathiya/Lean,JKarathiya/Lean,jameschch/Lean,jameschch/Lean,AlexCatarino/Lean,AlexCatarino/Lean,QuantConnect/Lean,jameschch/Lean,AlexCatarino/Lean,JKarathiya/Lean | Common/DocumentationAttribute.cs | Common/DocumentationAttribute.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | apache-2.0 | C# |
8284b9518dd52e453dad94b982d6cf7672d5d830 | Update to fix small error in code. | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | dotnet3.5/S3/ListObjectsExample/ListObjects/ListObjects.cs | dotnet3.5/S3/ListObjectsExample/ListObjects/ListObjects.cs | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX - License - Identifier: Apache - 2.0
// snippet-start:[S3.dotnet35.ListObjects]
using Amazon;
using Amazon.S3;
using Amazon.S3.Model;
using System;
using System.Threading.Tasks;
namespace ListObjects
{
// The following example lists o... | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX - License - Identifier: Apache - 2.0
// snippet-start:[S3.dotnet35.ListObjects]
using Amazon;
using Amazon.S3;
using Amazon.S3.Model;
using System;
using System.Threading.Tasks;
namespace ListObjects
{
// The following example lists o... | apache-2.0 | C# |
67db9b7a61b64ab11345efef546fe69c54099ea4 | Add methods to buy stuff | bastuijnman/ludum-dare-36 | Assets/Scripts/Player.cs | Assets/Scripts/Player.cs | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
private int money = 500;
public int GetMoney () {
return money;
}
public bool Buy (int price) {
if (price > money) {
return false;
}
money -= price;
return true;
}
// Update is called once per frame
void Updat... | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetMouseButtonDown(0)) {
// TODO: place tower
}
}
}
| mit | C# |
c7c8dff05accc9703bc681ab7bbd0edc83a5f41e | Save Ian (#5759) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/Spawners/Components/ConditionalSpawnerComponent.cs | Content.Server/Spawners/Components/ConditionalSpawnerComponent.cs | using System.Collections.Generic;
using Content.Server.GameTicking;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Random;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.Spawners.Components
{
... | using System.Collections.Generic;
using Content.Server.GameTicking;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Random;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.Spawners.Components
{
... | mit | C# |
a7a1956a32a67a2f668701be1863bab596c78c85 | Add method to get path segment representing parent element | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade/Core/Noark5/ReadElementEventArgs.cs | src/Arkivverket.Arkade/Core/Noark5/ReadElementEventArgs.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Arkivverket.Arkade.Core.Noark5
{
public class ReadElementEventArgs : EventArgs
{
public string Name { get; set; }
public string Value { get; set; }
public ElementPath Path { get; set; }
public ReadElem... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Arkivverket.Arkade.Core.Noark5
{
public class ReadElementEventArgs : EventArgs
{
public string Name { get; set; }
public string Value { get; set; }
public ElementPath Path { get; set; }
public ReadElem... | agpl-3.0 | C# |
d079f08745b07492f8c0427089d84e6ace9d0695 | Fix 'overriding view manager' sample | canton7/Stylet,canton7/Stylet | Samples/Stylet.Samples.OverridingViewManager/CustomViewManager.cs | Samples/Stylet.Samples.OverridingViewManager/CustomViewManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Windows;
namespace Stylet.Samples.OverridingViewManager
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
sealed class ViewModelAttribute : Attribute
{
readon... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Windows;
namespace Stylet.Samples.OverridingViewManager
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
sealed class ViewModelAttribute : Attribute
{
readon... | mit | C# |
9b252de849a11985c7d1cf15ad91cbef11f0a847 | Add IComparable interface to AnalyzeRequest | mjrousos/dotnet-apiport-old,conniey/dotnet-apiport,conniey/dotnet-apiport,Microsoft/dotnet-apiport,conniey/dotnet-apiport,twsouthwick/dotnet-apiport,mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,JJVertical/dotnet-apiport,Microsoft/dotnet-apiport,twsouthwick/dotnet-apiport,JJVertical/dotnet-apiport,mjrousos/dotnet-ap... | src/Microsoft.Fx.Portability/ObjectModel/AnalyzeRequest.cs | src/Microsoft.Fx.Portability/ObjectModel/AnalyzeRequest.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace Microsoft.Fx.Portability.ObjectModel
{
public sealed class AnalyzeRequest : IComp... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Microsoft.Fx.Portability.ObjectModel
{
public sealed class AnalyzeRequest
{
public ... | mit | C# |
c311f38ef8e63684ac53bcdb4bbfc207ffd465e4 | Update WalletWasabi/Microservices/ProcessStartInfoFactory.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Microservices/ProcessStartInfoFactory.cs | WalletWasabi/Microservices/ProcessStartInfoFactory.cs | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace WalletWasabi.Microservices
{
/// <summary>
/// Factory for <see cref="ProcessStartInfo"/> with pre-defined properties as needed in Wasabi Wallet.
/// </summary>
public class ProcessStartInfoFactory
{
/// <summary>
/// Crea... | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace WalletWasabi.Microservices
{
/// <summary>
/// Factory for <see cref="ProcessStartInfo"/> with pre-defined properties as needed in Wasabi Wallet.
/// </summary>
public class ProcessStartInfoFactory
{
/// <summary>
/// Crea... | mit | C# |
85c5cf87fc533a7ecc5abce5a8e83a3de4557f29 | Add panel1 object | 60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope | QueueDataGraphic/QueueDataGraphic/Form1.Designer.cs | QueueDataGraphic/QueueDataGraphic/Form1.Designer.cs | namespace QueueDataGraphic
{
partial class Form1
{
/// <summary>
/// 設計工具所需的變數。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清除任何使用中的資源。
/// </summary>
/// <param name="disposing">如果應該處置 Managed 資源則為 true,否則為 false。</param>
protected override void Di... | namespace QueueDataGraphic
{
partial class Form1
{
/// <summary>
/// 設計工具所需的變數。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清除任何使用中的資源。
/// </summary>
/// <param name="disposing">如果應該處置 Managed 資源則為 true,否則為 false。</param>
protected override void Di... | apache-2.0 | C# |
39e96b3201fe5e5973b43cad3b10c01d9d9e9fdf | Update CommonTelemetryOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/CommonTelemetryOptions.cs | TIKSN.Core/Analytics/Telemetry/CommonTelemetryOptions.cs | namespace TIKSN.Analytics.Telemetry
{
public class CommonTelemetryOptions
{
public CommonTelemetryOptions()
{
this.IsEventTrackingEnabled = true;
this.IsExceptionTrackingEnabled = true;
this.IsMetricTrackingEnabled = true;
this.IsTraceTrackingEnab... | namespace TIKSN.Analytics.Telemetry
{
public class CommonTelemetryOptions
{
public CommonTelemetryOptions()
{
IsEventTrackingEnabled = true;
IsExceptionTrackingEnabled = true;
IsMetricTrackingEnabled = true;
IsTraceTrackingEnabled = true;
... | mit | C# |
fae4e956e1ec969fe059d0b4ecffc8e349b879fb | Fix tests | Flepper/flepper,Flepper/flepper | Flepper.Tests.Unit/QueryBuilder/Commands/DeleteCommandTests.cs | Flepper.Tests.Unit/QueryBuilder/Commands/DeleteCommandTests.cs | using Flepper.Core.QueryBuilder;
using FluentAssertions;
using Xunit;
namespace Flepper.Tests.Unit.QueryBuilder.Commands
{
[Collection("CommandTests")]
public class DeleteCommandTests
{
[Fact]
public void ShouldCreateDeleteStatement()
{
FlepperQueryBuilder.Delete().Fro... | using Flepper.Core.QueryBuilder;
using FluentAssertions;
using Xunit;
namespace Flepper.Tests.Unit.QueryBuilder.Commands
{
[Collection("CommandTests")]
public class DeleteCommandTests
{
[Fact]
public void ShouldCreateDeleteStatement()
{
FlepperQueryBuilder.Delete().Fro... | mit | C# |
1617bf6442ab68c2b495acc9c712895480d9f58a | Update Arsenal.cs (#55) | BosslandGmbH/BuddyWing.DefaultCombat | trunk/DefaultCombat/Routines/Advanced/Mercenary/Arsenal.cs | trunk/DefaultCombat/Routines/Advanced/Mercenary/Arsenal.cs | // Copyright (C) 2011-2016 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
public class Arsenal : RotationBase
{
public override string Name
{
get { r... | // Copyright (C) 2011-2016 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
public class Arsenal : RotationBase
{
public override string Name
{
get { r... | apache-2.0 | C# |
f9a4f796db967ab04291810c3d1997303e1246c2 | Add Show toggle for GridDebugger | yanyiyun/LockstepFramework,SnpM/Lockstep-Framework,erebuswolf/LockstepFramework | Integration/Test/GridDebugger.cs | Integration/Test/GridDebugger.cs | using UnityEngine;
using System.Collections;
namespace Lockstep
{
public class GridDebugger : MonoBehaviour
{
public bool Show;
public GridType LeGridType;
public float LeHeight;
[Range (.1f,.9f)]
public float NodeSize = .4f;
void OnDrawGizmos ()
{
... | using UnityEngine;
using System.Collections;
namespace Lockstep
{
public class GridDebugger : MonoBehaviour
{
public GridType LeGridType;
public float LeHeight;
[Range (.1f,.9f)]
public float NodeSize = .4f;
void OnDrawGizmos ()
{
nodeScale = new Ve... | mit | C# |
654f5dfbfac729ad232b8fbc16dd43925d48e2a6 | fix xml doc | NebulousConcept/b2-csharp-client | b2-csharp-client/B2.Client/Rest/AuthenticatedB2Client.cs | b2-csharp-client/B2.Client/Rest/AuthenticatedB2Client.cs | using System.Net;
using System.Threading.Tasks;
using B2.Client.Rest.Api;
using B2.Client.Rest.Request;
using B2.Client.Rest.Response;
namespace B2.Client.Rest
{
/// <summary>
/// A B2 REST client that can make authenticated API calls.
/// </summary>
public sealed class AuthenticatedB2Client : RestCl... | using System.Net;
using System.Threading.Tasks;
using B2.Client.Rest.Api;
using B2.Client.Rest.Request;
using B2.Client.Rest.Response;
namespace B2.Client.Rest
{
/// <summary>
/// A B2 REST client that can make authenticated API calls.
/// </summary>
public sealed class AuthenticatedB2Client : RestCl... | mit | C# |
526f4e551d2e8c8de668714f3128d532e5eaa87c | Add create for purchase method for Address | goshippo/shippo-csharp-client | Shippo/Address.cs | Shippo/Address.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject (MemberSerialization.OptIn)]
public class Address : ShippoId {
[JsonProperty (PropertyName = "object_state")]
public string ObjectState;
[JsonProperty (PropertyName = "object_purpose"... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject (MemberSerialization.OptIn)]
public class Address : ShippoId {
[JsonProperty (PropertyName = "object_state")]
public string ObjectState;
[JsonProperty (PropertyName = "object_purpose"... | apache-2.0 | C# |
465492ba0a8aefb704106983895149deed372e3f | add new branhc | toannvqo/dnn_publish | Components/ProductController.cs | Components/ProductController.cs | using DotNetNuke.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Christoc.Modules.DNNModule1.Components
{
public class ProductController
{
public Product GetProduct(int productId)
{
Product p;
using (IDataContext ctx ... | using DotNetNuke.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Christoc.Modules.DNNModule1.Components
{
public class ProductController
{
public Product GetProduct(int productId)
{
Product p;
using (IDataContext ctx ... | mit | C# |
c2b98bd41c7935342fd8a0290bb12269ee660c06 | Add IEnumerable<KeyValuePair<>>.ConcatKVP convenience function | orbitalgames/collections-extensions | IEnumerableExtensions.cs | IEnumerableExtensions.cs | /*
The MIT License (MIT)
Copyright (c) 2015 Orbital Games, LLC.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify,... | /*
The MIT License (MIT)
Copyright (c) 2015 Orbital Games, LLC.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify,... | mit | C# |
b7595a1e770b928bddc1a4bd4751532e63531893 | Fix indentation homecontroller | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Zk/Controllers/HomeController.cs | Zk/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Zk.Helpers;
using Zk.ViewModels;
namespace Zk.Controllers
{
[Authorize]
public class HomeController : Controller
{
public ActionResult Index()
{
// Months are used for the CSS class... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Zk.Helpers;
using Zk.ViewModels;
namespace Zk.Controllers
{
[Authorize]
public class HomeController : Controller
{
public ActionResult Index()
{
// Months are used for the CSS classes
//... | mit | C# |
bd518ebab5dfbbd432ad46b471843d144981cc97 | Update Reporter to detect OpenTK version. | eylvisaker/AgateLib | Drivers/AgateOTK/Otk_Reporter.cs | Drivers/AgateOTK/Otk_Reporter.cs | // The contents of this file are subject to the Mozilla Public License
// Version 1.1 (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.mozilla.org/MPL/
//
// Software distributed under the License is dist... | // The contents of this file are subject to the Mozilla Public License
// Version 1.1 (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.mozilla.org/MPL/
//
// Software distributed under the License is dist... | mit | C# |
c0f0bbf7991cb0b69238ce2a93efc83dcf054c9c | adjust test code for algorithm | myxini/block-program | block-program/RecognitionTest/ClassifierTest.cs | block-program/RecognitionTest/ClassifierTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Myxini.Recognition;
using Myxini.Recognition.Image;
using Myxini.Recognition.Properties;
using System.Drawing;
namespace RecognitionTest
{
[TestClass]
public class ClassifierTest
{
[TestMethod]
public void ClusteringT... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Myxini.Recognition;
using Myxini.Recognition.Image;
using Myxini.Recognition.Properties;
using System.Drawing;
namespace RecognitionTest
{
[TestClass]
public class ClassifierTest
{
[TestMethod]
public void ClusteringT... | mit | C# |
6d498d43cf25fc3739f1b3efa8b62fb2b6e09cd0 | Update PanoramaGroupHeaderConverter.cs | Danghor/MahApps.Metro,Evangelink/MahApps.Metro,xxMUROxx/MahApps.Metro,pfattisc/MahApps.Metro,p76984275/MahApps.Metro,batzen/MahApps.Metro,ye4241/MahApps.Metro,jumulr/MahApps.Metro,chuuddo/MahApps.Metro,MahApps/MahApps.Metro,Jack109/MahApps.Metro,psinl/MahApps.Metro | MahApps.Metro/Converters/PanoramaGroupHeaderConverter.cs | MahApps.Metro/Converters/PanoramaGroupHeaderConverter.cs | using MahApps.Metro.Controls;
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace MahApps.Metro.Converters
{
public class PanoramaGroupHeaderConverter : IMultiValueConverter
{
public object Convert(object[] values, Type ta... | using MahApps.Metro.Controls;
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace MahApps.Metro.Converters
{
public class PanoramaGroupHeaderConverter : IMultiValueConverter
{
public object Convert(object[] values, Type ta... | mit | C# |
e26bab1d86d47aa561f59f2d49e747cec21bf880 | Revert LowLatencyTaskFactory to the default. | rubyu/CreviceApp,rubyu/CreviceApp | CreviceApp/GM.GestureMachine.cs | CreviceApp/GM.GestureMachine.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Crevice.GestureMachine
{
using System.Threading;
using System.Drawing;
using Crevice.Core.FSM;
using Crevice.Core.Events;
using Crevice.Threading;
public class NullGes... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Crevice.GestureMachine
{
using System.Threading;
using System.Drawing;
using Crevice.Core.FSM;
using Crevice.Core.Events;
using Crevice.Threading;
public class NullGes... | mit | C# |
66f636045e54ad0e96a4c001f09b01bb665ac3f1 | Add instantiation of context on app start. | miracle-as/kitos,miracle-as/kitos,os2kitos/kitos,os2kitos/kitos,miracle-as/kitos,miracle-as/kitos,os2kitos/kitos,os2kitos/kitos | Presentation.Web/Global.asax.cs | Presentation.Web/Global.asax.cs | using System.Data.Entity;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Infrastructure.DataAccess;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Presentation.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,... | using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Presentation.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
... | mpl-2.0 | C# |
101c99ecca9bd77238a88d06c1219d881aa71913 | change JWK content type to application/json | MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4 | src/IdentityServer4/src/Endpoints/Results/JsonWebKeysResult.cs | src/IdentityServer4/src/Endpoints/Results/JsonWebKeysResult.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 IdentityServer4.Extensions;
using IdentityServer4.Hosting;
using IdentityServer4.Models;
using Microsoft.AspNetCore.Http;
using System;
... | // 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 IdentityServer4.Extensions;
using IdentityServer4.Hosting;
using IdentityServer4.Models;
using Microsoft.AspNetCore.Http;
using System;
... | apache-2.0 | C# |
a528b9d5f47b02e44e4748e8c4ba2a98ee9f3366 | Allow .map files as default browsable file extensions from the App_Plugins static file handler. | robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-... | src/Umbraco.Core/Configuration/Models/UmbracoPluginSettings.cs | src/Umbraco.Core/Configuration/Models/UmbracoPluginSettings.cs | // Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Collections.Generic;
namespace Umbraco.Cms.Core.Configuration.Models
{
/// <summary>
/// Typed configuration options for the plugins.
/// </summary>
[UmbracoOptions(Constants.Configuration.ConfigPlugins)]
public class UmbracoP... | // Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Collections.Generic;
namespace Umbraco.Cms.Core.Configuration.Models
{
/// <summary>
/// Typed configuration options for the plugins.
/// </summary>
[UmbracoOptions(Constants.Configuration.ConfigPlugins)]
public class UmbracoP... | mit | C# |
02fd2a4487590a8d2f375aa6ee52b52fd718f349 | remove using | northwoodspd/UIA.Extensions,northwoodspd/UIA.Extensions | src/UIA.Extensions.Units/AutomationProviders/ValueProviderTest.cs | src/UIA.Extensions.Units/AutomationProviders/ValueProviderTest.cs | using System.Windows.Automation;
using System.Windows.Forms;
using NUnit.Framework;
using Should.Fluent;
namespace UIA.Extensions.AutomationProviders
{
[TestFixture]
public class ValueProviderTest
{
private ValueControlStub _valueControl;
private ValueProvider _valueProvider;
[Set... | using System;
using System.Windows.Automation;
using System.Windows.Forms;
using NUnit.Framework;
using Should.Fluent;
namespace UIA.Extensions.AutomationProviders
{
[TestFixture]
public class ValueProviderTest
{
private ValueControlStub _valueControl;
private ValueProvider _valueProvider;... | mit | C# |
f39dc8f5ff1aef8d9948f7ae60efefc1fe30114e | Return review URL in response to auto API review create request (#1292) | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | src/dotnet/APIView/APIViewWeb/Controllers/AutoReviewController.cs | src/dotnet/APIView/APIViewWeb/Controllers/AutoReviewController.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using APIViewWeb.Filters;
using APIViewWeb.Respositories;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace APIViewWeb.Controllers
{
[TypeFilte... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using APIViewWeb.Filters;
using APIViewWeb.Respositories;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace APIViewWeb.Controllers
{
[TypeFilte... | mit | C# |
c2ea3bdd447f470bcea261a336ed32afba567b88 | Improve ManualResetEventSlim creation and disposal | EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework | osu.Framework.Tests/IO/BackgroundGameHeadlessGameHost.cs | osu.Framework.Tests/IO/BackgroundGameHeadlessGameHost.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.Threading;
using System.Threading.Tasks;
using osu.Framework.Platform;
namespace osu.Framework.Tests.IO
{
/// <summary>
/// Ad headless host for tes... | // 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.Threading;
using System.Threading.Tasks;
using osu.Framework.Platform;
namespace osu.Framework.Tests.IO
{
/// <summary>
/// Ad headless host for tes... | mit | C# |
0adf819830028c3f984163237205c8e7c5c2efe5 | Use https for Sparkle updates and change log access | cixonline/cixreader,cixonline/cixreader,cixonline/cixreader,cixonline/cixreader | CIXReader/Utilities/Constants_Windows.cs | CIXReader/Utilities/Constants_Windows.cs | // *****************************************************
// CIXReader
// Constants_Windows.cs
//
// Author: Steve Palmer (spalmer@cix)
//
// Created: 21/06/2015 11:02
//
// Copyright (C) 2013-2015 CIX Online Ltd. All Rights Reserved.
// *****************************************************
namespace CIXReader.Uti... | // *****************************************************
// CIXReader
// Constants_Windows.cs
//
// Author: Steve Palmer (spalmer@cix)
//
// Created: 21/06/2015 11:02
//
// Copyright (C) 2013-2015 CIX Online Ltd. All Rights Reserved.
// *****************************************************
namespace CIXReader.Uti... | apache-2.0 | C# |
ff6d1a814f5f622fdaa423f28158f9cae82f101a | Fix issue where SECDataConverter would fatally fail | jameschch/Lean,StefanoRaggi/Lean,QuantConnect/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,JKarathiya/Lean,JKarathiya/Lean,jameschch/Lean,jameschch/Lean,StefanoRaggi/Lean,QuantConnect/Lean,StefanoRaggi/Lean,jameschch/Lean,QuantConnect/Lean,JKarathiya/Lean,QuantConnect/Lean,jameschch/Lean,JKarathiya/Lean,AlexCatarino/Lean,A... | Common/Data/Custom/SEC/SECReportFiler.cs | Common/Data/Custom/SEC/SECReportFiler.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... | apache-2.0 | C# |
68e3d217c0411bfef5e2a2e1dd3a06db79396f12 | Fix race in DotnetUnderTest.FullPath on Windows. | johnbeisner/cli,johnbeisner/cli,livarcocc/cli-1,johnbeisner/cli,livarcocc/cli-1,livarcocc/cli-1 | test/Microsoft.DotNet.Tools.Tests.Utilities/DotnetUnderTest.cs | test/Microsoft.DotNet.Tools.Tests.Utilities/DotnetUnderTest.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Globalization;
using System.Runtime.InteropServices;
using Microsoft.DotNet.Cli.Utils;
namespace Mic... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Globalization;
using System.Runtime.InteropServices;
using Microsoft.DotNet.Cli.Utils;
namespace Mic... | mit | C# |
8ad9e0958fe01e917894447e7d38252f9aa9d88f | Create Contact method added to Contact Controller | ADukeLabs/DEX,ADukeLabs/DEX,ADukeLabs/DEX | DEX/DEX/Controllers/ContactController.cs | DEX/DEX/Controllers/ContactController.cs | using DEX.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DEX.Controllers
{
public class ContactController : Controller
{
private ApplicationDbContext db = new ApplicationDbContext();
... | using DEX.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DEX.Controllers
{
public class ContactController : Controller
{
private ApplicationDbContext db = new ApplicationDbContext();
}
} | apache-2.0 | C# |
c35c900f43234ae76092c7e1d4014287ea361c57 | Add "equal to" and "not equal to" deserialization values to TriggerCondition | lordmilko/PrtgAPI,lordmilko/PrtgAPI | src/PrtgAPI/Enums/Deserialization/Triggers/TriggerCondition.cs | src/PrtgAPI/Enums/Deserialization/Triggers/TriggerCondition.cs | using System.Xml.Serialization;
using PrtgAPI.Attributes;
namespace PrtgAPI
{
/// <summary>
/// Specifies threshold conditions to be used in notification triggers.
/// </summary>
public enum TriggerCondition
{
/// <summary>
/// Trigger when sensor's value is above the threshold.
... | using System.Xml.Serialization;
using PrtgAPI.Attributes;
namespace PrtgAPI
{
/// <summary>
/// Specifies threshold conditions to be used in notification triggers.
/// </summary>
public enum TriggerCondition
{
/// <summary>
/// Trigger when sensor's value is above the threshold.
... | mit | C# |
f7db1475ca6a4dfb75b12f7f499ee043ab95ab60 | fix typo | shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,rpmoore/ds3_net_sdk,shabtaisharon/ds3_net_sdk,rpmoore/ds3_net_sdk,RachelTucker/ds3_net_sdk,rpmoore/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,SpectraLogic/ds3_net_sdk | Ds3/Helpers/Strategies/ReadRandomAccessHelperStrategy.cs | Ds3/Helpers/Strategies/ReadRandomAccessHelperStrategy.cs | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is locate... | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is locate... | apache-2.0 | C# |
fdef0a7f0d885223d2dfe1a9f6b8bfc81ffc8659 | 还原ILContext代码。 | winddyhe/knight | Assets/Plugins/ILRuntime/ILRuntime/Runtime/Enviorment/ILContext.cs | Assets/Plugins/ILRuntime/ILRuntime/Runtime/Enviorment/ILContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.CLR.Method;
namespace ILRuntime.Runtime.Enviorment
{
public unsafe struct ILContext
{
public AppDomain AppDomain { get; private set; ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.CLR.Method;
namespace ILRuntime.Runtime.Enviorment
{
public unsafe struct ILContext
{
public AppDomain AppDomain { get; private set; ... | mit | C# |
573b3456bbc6e5e3c1c4bb414678ccd9a233aa02 | Fix converting default colors | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui | Ooui.Forms/Extensions/ColorExtensions.cs | Ooui.Forms/Extensions/ColorExtensions.cs | using System;
namespace Ooui.Forms.Extensions
{
public static class ColorExtensions
{
public static Color ToOouiColor (this Xamarin.Forms.Color color)
{
const byte defaultRed = 0;
const byte defaultGreen = 0;
const byte defaultBlue = 0;
const byte defaultAlpha = 2... | using System;
namespace Ooui.Forms.Extensions
{
public static class ColorExtensions
{
public static Color ToOouiColor (this Xamarin.Forms.Color color)
{
return new Color ((byte)(color.R * 255.0 + 0.5), (byte)(color.G * 255.0 + 0.5), (byte)(color.B * 255.0 + 0.5), (byte)(color.A * 255.0 + 0.5));
}
... | mit | C# |
bac3108aea03fb72b9ccc146b6cfb7353cf8f63a | Remove unnecessary keywords | peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game/Overlays/Settings/Sections/Gameplay/HUDSettings.cs | osu.Game/Overlays/Settings/Sections/Gameplay/HUDSettings.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.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Configuration;
using osu.Game.Localisat... | // 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.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Configuration;
using osu.Game.Localisat... | mit | C# |
1437cfe1672993cc82767aca0f257592b7bd729d | Make SentryLogger thread safe (ContextData was being modified while it was being serialized) | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion | osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs | osu!StreamCompanion/Code/Core/Loggers/SentryLogger.cs | using System;
using System.Collections.Generic;
using osu_StreamCompanion.Code.Helpers;
using SharpRaven;
using SharpRaven.Data;
using StreamCompanionTypes.Enums;
using StreamCompanionTypes.Interfaces.Services;
namespace osu_StreamCompanion.Code.Core.Loggers
{
public class SentryLogger : IContextAwareLogger
{... | using System;
using System.Collections.Generic;
using osu_StreamCompanion.Code.Helpers;
using SharpRaven;
using SharpRaven.Data;
using StreamCompanionTypes.Enums;
using StreamCompanionTypes.Interfaces.Services;
namespace osu_StreamCompanion.Code.Core.Loggers
{
public class SentryLogger : IContextAwareLogger
{... | mit | C# |
b06128ffa5f4845bd0c9ae6dabe11120336b5cf4 | Rename "Final PP" to "Achieved PP" | peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu | osu.Game/Rulesets/Difficulty/PerformanceAttributes.cs | osu.Game/Rulesets/Difficulty/PerformanceAttributes.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using Newtonsoft.Json;
namespace osu.Game.Rulesets.Difficulty
{
public class PerformanceAttributes
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using Newtonsoft.Json;
namespace osu.Game.Rulesets.Difficulty
{
public class PerformanceAttributes
{
/// <summary>
... | mit | C# |
f41fd69129ddced6c0f70f5ae844f035fb68a6ac | delete spaces | sunkaixuan/SqlSugar | Src/Asp.Net/SqlSugar/Enum/ProperyType.cs | Src/Asp.Net/SqlSugar/Enum/ProperyType.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SqlSugar
{
public enum CSharpDataType
{
@int,
@bool,
@string,
@DateTime,
@decimal,
@double,
@Guid,
@byte,
@enum,
@short,
@long... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SqlSugar
{
public enum CSharpDataType
{
@int,
@bool,
@string,
@DateTime,
@decimal,
@double,
@Guid,
@byte,
@enum,
@short,
@long... | apache-2.0 | C# |
d985b8ab2aafd86c9f4d24fdcd39634de8a0b10c | Increase beatmapset download timeout | peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu | osu.Game/Online/API/Requests/DownloadBeatmapSetRequest.cs | osu.Game/Online/API/Requests/DownloadBeatmapSetRequest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.IO.Network;
using osu.Game.Beatmaps;
namespace osu.Game.Online.API.Requests
{
public class DownloadBeatmapSetRequest : ArchiveDownloadRequest<Be... | // 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.Game.Beatmaps;
namespace osu.Game.Online.API.Requests
{
public class DownloadBeatmapSetRequest : ArchiveDownloadRequest<BeatmapSetInfo>
{
priv... | mit | C# |
4f91e949b5b30ebab073c321dcf5088109b34e2c | Revert the addition of SQL code for deleting DuplicateCuratedPackages. This will move over to a SQL script in NuGetOperations. | KuduApps/NuGetGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,KuduApps/NuGetGallery,JetBrains/ReSharperGallery,KuduApps/NuGetGallery,mtian/SiteExtensionGallery,JetBrains/ReSharperGallery,JetBrains/ReSharperGa... | Website/Migrations/201304030226233_CuratedFeedPackageUniqueness.cs | Website/Migrations/201304030226233_CuratedFeedPackageUniqueness.cs | namespace NuGetGallery.Migrations
{
using System.Data.Entity.Migrations;
public partial class CuratedFeedPackageUniqueness : DbMigration
{
public override void Up()
{
// ADD uniqueness constraint - as an Index, since it seems reasonable to look up curated package entries by ... | namespace NuGetGallery.Migrations
{
using System.Data.Entity.Migrations;
public partial class CuratedFeedPackageUniqueness : DbMigration
{
public override void Up()
{
// DELETE duplicate CuratedPackages from the database
// Trying to prefer keeping duplicated ent... | apache-2.0 | C# |
2b9044ba1ab00f91a9d9d96268bba534f6f522a3 | Handle code execution synchronously | appharbor/ConsolR,appharbor/ConsolR | Web/EndPoints/ExecuteEndPoint.cs | Web/EndPoints/ExecuteEndPoint.cs | using System;
using System.Configuration;
using System.Threading.Tasks;
using System.Web.Mvc;
using Compilify.Models;
using Compilify.Web.Services;
using Newtonsoft.Json;
using SignalR;
using SignalR.Hosting;
using Compilify.Services;
namespace Compilify.Web.EndPoints
{
public class ExecuteEndPoint :... | using System;
using System.Configuration;
using System.Threading.Tasks;
using System.Web.Mvc;
using Compilify.Models;
using Compilify.Web.Services;
using Newtonsoft.Json;
using SignalR;
using SignalR.Hosting;
namespace Compilify.Web.EndPoints
{
public class ExecuteEndPoint : PersistentConnection
... | mit | C# |
3ce66812c1b5b4156e955f916da9114daa55f50b | Revert "add comment" | toannvqo/dnn_publish | Components/ProductController.cs | Components/ProductController.cs | using DotNetNuke.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Christoc.Modules.DNNModule1.Components
{
public class ProductController
{
public Product GetProduct(int productId)
{
Product p;
using (IDataContext ctx ... | using DotNetNuke.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Christoc.Modules.DNNModule1.Components
{
public class ProductController
{
public Product GetProduct(int productId)
{
Product p;
using (IDataContext ctx ... | mit | C# |
5ef0badaf1919f2f637c350865bb13b887840927 | Fix casing inconsistency | cake-contrib/Cake.Recipe,cake-contrib/Cake.Recipe | Cake.Recipe/Content/addins.cake | Cake.Recipe/Content/addins.cake | ///////////////////////////////////////////////////////////////////////////////
// ADDINS
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Codecov&version=0.3.0
#addin nuget:?package=Cake.Coveralls&version=0.7.0
#addin nuget:?package=Cake.Figlet&version=1.0.0
#... | ///////////////////////////////////////////////////////////////////////////////
// ADDINS
///////////////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.Codecov&version=0.3.0
#addin nuget:?package=Cake.Coveralls&version=0.7.0
#addin nuget:?package=Cake.Figlet&version=1.0.0
#... | mit | C# |
ffe33fa804e0cf09deece6081c321915f3d77198 | use string interpolation | isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,maul-esel/ssharp,isse-augsburg/ssharp | models/SelfOrganizingPillProduction/ParticulateDispenser.cs | models/SelfOrganizingPillProduction/ParticulateDispenser.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace SelfOrganizingPillProduction
{
/// <summary>
/// A production station that adds ingredients to the containers.
/// </summary>
class ParticulateDispenser : Station
{
private readonly Dictionary<IngredientType, uint... | using System;
using System.Collections.Generic;
using System.Linq;
namespace SelfOrganizingPillProduction
{
/// <summary>
/// A production station that adds ingredients to the containers.
/// </summary>
class ParticulateDispenser : Station
{
private readonly Dictionary<IngredientType, uint... | mit | C# |
c089240eb6f766111ed66ce6d6d101dce3bd41ff | Convert members to properties | justincolangelo/EdgeInstallerTest,justincolangelo/EdgeInstallerTest,codevlabs/DirigoEdge,justincolangelo/EdgeInstallerTest,justincolangelo/EdgeInstallerTest,codevlabs/DirigoEdge,codevlabs/DirigoEdge,justincolangelo/EdgeInstallerTest,codevlabs/DirigoEdge,codevlabs/DirigoEdge | DirigoEdge/Areas/Admin/Models/ViewModels/EditModuleViewModel.cs | DirigoEdge/Areas/Admin/Models/ViewModels/EditModuleViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using DirigoEdgeCore.Data.Entities;
using DirigoEdgeCore.Models.ViewModels;
namespace DirigoEdge.Areas.Admin.Models.ViewModels
{
public class EditModuleViewModel : DraftableModel
{
public ContentModule TheModule { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using DirigoEdgeCore.Data.Entities;
using DirigoEdgeCore.Models.ViewModels;
namespace DirigoEdge.Areas.Admin.Models.ViewModels
{
public class EditModuleViewModel : DraftableModel
{
public ContentModule TheModule;
public List<S... | mit | C# |
f1449a9ecd3808577ba1b869303548d49fc68cb1 | Replace String with string. | Zakkgard/Moonfire | Moonfire/Core/Moonfire.CoreTests/Collections/ObjectPoolTests.cs | Moonfire/Core/Moonfire.CoreTests/Collections/ObjectPoolTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moonfire.Core.Collections;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moonfire.Core.Collections.Tests
{
[TestClass()]
public class ObjectPoolTests
{
private ... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moonfire.Core.Collections;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moonfire.Core.Collections.Tests
{
[TestClass()]
public class ObjectPoolTests
{
private ... | mit | C# |
f84b0f665254090035ced9fbf98599d2cfe7c895 | Add support for nullable sources | plainerman/TicTacTube | TicTacTubeCore/Pipelines/DataPipeline.cs | TicTacTubeCore/Pipelines/DataPipeline.cs | using System;
using System.Collections.Generic;
using System.Linq;
using log4net;
using TicTacTubeCore.Processors.Definitions;
using TicTacTubeCore.Sources.Files;
namespace TicTacTubeCore.Pipelines
{
/// <inheritdoc />
/// <summary>
/// A pipeline that stores multiple processors that process / modify / ... som... | using System;
using System.Collections.Generic;
using System.Linq;
using log4net;
using TicTacTubeCore.Processors.Definitions;
using TicTacTubeCore.Sources.Files;
namespace TicTacTubeCore.Pipelines
{
/// <inheritdoc />
/// <summary>
/// A pipeline that stores multiple processors that process / modify / ... som... | mit | C# |
630b4f1bb5d9ed15399869a046493164f34c8726 | fix table html | codingoutloud/matechtax,codingoutloud/matechtax | MATechTaxWebSite/MATechTaxWebSite/Views/Home/Index.cshtml | MATechTaxWebSite/MATechTaxWebSite/Views/Home/Index.cshtml | @{
@model IEnumerable<MATechTaxWebSite.Models.BlobSnapshot>
ViewBag.Title = "Interested in the MA Tech Tax on Software Services?";
ViewBag.FaqUrl = System.Configuration.ConfigurationManager.AppSettings["DorFaqUrl"];
}
@section featured {
<section class="featured">
<div class="content-wra... | @{
@model IEnumerable<MATechTaxWebSite.Models.BlobSnapshot>
ViewBag.Title = "Interested in the MA Tech Tax on Software Services?";
ViewBag.FaqUrl = System.Configuration.ConfigurationManager.AppSettings["DorFaqUrl"];
}
@section featured {
<section class="featured">
<div class="content-wra... | mit | C# |
79d9fbb998f4bdb48e6ef13cee5a9e50fa754704 | Add comments to the notification interface | mattgwagner/CertiPay.Common | CertiPay.Common.Notifications/Notifications/Notification.cs | CertiPay.Common.Notifications/Notifications/Notification.cs | using System;
using System.Collections.Generic;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Describes the base notification content required to send
/// </summary>
public class Notification
{
/// <summary>
/// The content of the message
/// </summary>
... | using System;
using System.Collections.Generic;
namespace CertiPay.Common.Notifications
{
public class Notification
{
public String Content { get; set; }
public ICollection<String> Recipients { get; set; }
public Notification()
{
this.Recipients = new List<String>... | mit | C# |
d64f07b00c0694fba9293e9b7948b792dd06eef9 | Remove unused positional constructor arg | PietroProperties/holms.platformclient.net | csharp/HOLMS.Platform/HOLMS.Platform/Types/Extensions/Booking/CancellationPolicy.cs | csharp/HOLMS.Platform/HOLMS.Platform/Types/Extensions/Booking/CancellationPolicy.cs | using HOLMS.Types.Booking.Indicators;
using HOLMS.Types.Extensions;
using HOLMS.Types.Primitive;
namespace HOLMS.Types.Booking {
public partial class CancellationPolicy : EntityDTO<CancellationPolicyIndicator> {
public CancellationPolicy(CancellationPolicyIndicator id, string description,
int ... | using HOLMS.Types.Booking.Indicators;
using HOLMS.Types.Extensions;
using HOLMS.Types.Primitive;
namespace HOLMS.Types.Booking {
public partial class CancellationPolicy : EntityDTO<CancellationPolicyIndicator> {
public CancellationPolicy(CancellationPolicyIndicator id, string description,
int ... | mit | C# |
b966c386f091c7bf27815284f68376a56a2d8592 | Fix method name | RichardHowells/Dnn.Platform,dnnsoftware/Dnn.AdminExperience.Library,mitchelsellers/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsellers/Dnn.Platform,EPTamminga/Dnn.Platform,valadas/Dnn.Platform,RichardHowells/Dnn.Platform,Ric... | src/Dnn.PersonaBar.Library/Prompt/Common/ControllerBase.cs | src/Dnn.PersonaBar.Library/Prompt/Common/ControllerBase.cs | using System.IO;
using System.Net;
using System.Net.Http;
using Dnn.PersonaBar.Library.Prompt.Models;
using Localization = DotNetNuke.Services.Localization.Localization;
namespace Dnn.PersonaBar.Library.Prompt.Common
{
public abstract class ControllerBase : PersonaBarApiController
{
private static stri... | using System.IO;
using System.Net;
using System.Net.Http;
using Dnn.PersonaBar.Library.Prompt.Models;
using Localization = DotNetNuke.Services.Localization.Localization;
namespace Dnn.PersonaBar.Library.Prompt.Common
{
public abstract class ControllerBase : PersonaBarApiController
{
private static stri... | mit | C# |
6a69283358dd0a9a0e18d53b971480551a278bdd | Fix MessageHistoryResource after merge conflict | mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.... | src/Glimpse.Server.Web/Resources/MessageHistoryResource.cs | src/Glimpse.Server.Web/Resources/MessageHistoryResource.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.Net.Http.Headers;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Glimpse.Server.Web
{
public class MessageHistoryResource : IResource
{
private readonly InMemoryStorage _... | using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.Net.Http.Headers;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Glimpse.Server.Web
{
public class MessageHistoryResource : IResource
{
private readonly InMemoryStorage _... | mit | C# |
c8eaf8130f6136140531c0e9168bc75a51c931db | Remove redundant | nikeee/HolzShots | src/HolzShots.Core.Tests/FileStringContentDataAttribute.cs | src/HolzShots.Core.Tests/FileStringContentDataAttribute.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Xunit.Sdk;
namespace HolzShots
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public sealed class FileStringContentDataAttribute : DataAttribute
{
public string File... | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Xunit.Sdk;
namespace HolzShots.Core.Tests
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public sealed class FileStringContentDataAttribute : DataAttribute
{
public ... | agpl-3.0 | C# |
854b4592be76a765fa32b68e5e67032d1389826b | update wording | ForNeVeR/fornever.me,ForNeVeR/fornever.me,ForNeVeR/fornever.me | ForneverMind/views/Index.cshtml | ForneverMind/views/Index.cshtml | @using RazorEngine.Templating
@inherits TemplateBase<ForneverMind.Models.PostArchiveModel>
@{
Layout = "_Layout.cshtml";
ViewBag.Title = "int 20h";
}
<p>Привет!</p>
<p>
Меня зовут <a class="secret-link" href="http://scpfoundation.ru/scp-579">
[ДАННЫЕ УДАЛЕНЫ]
</a>, в интернете я известен под ... | @using RazorEngine.Templating
@inherits TemplateBase<ForneverMind.Models.PostArchiveModel>
@{
Layout = "_Layout.cshtml";
ViewBag.Title = "int 20h";
}
<p>Привет!</p>
<p>Меня зовут <a class="secret-link" href="http://scpfoundation.ru/scp-579">[ДАННЫЕ УДАЛЕНЫ]</a>, в интернете я известен
под псевдонимом “Фридри... | mit | C# |
4af885f6b1b4a28b91c6fa115e8f1718b2041c97 | Adjust default mania speed to match stable | UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,DrabWeb/osu,peppy/osu,smoogipooo/osu,johnneijzen/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,ZLima12/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,EVAST9919/osu,naoey/osu,peppy/osu-new,2yangk23/osu,ppy/osu,EVAST9919/... | osu.Game.Rulesets.Mania/Configuration/ManiaConfigManager.cs | osu.Game.Rulesets.Mania/Configuration/ManiaConfigManager.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration.Tracking;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
using osu.Game.Rulesets.Mania.UI;
namespace osu.Game.R... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration.Tracking;
using osu.Game.Configuration;
using osu.Game.Rulesets.Configuration;
using osu.Game.Rulesets.Mania.UI;
namespace osu.Game.R... | mit | C# |
5f43299d3779ffbde32d3bd2f735592f30fad820 | Fix tests failing due to base logic firing | peppy/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu | osu.Game/Overlays/Changelog/ChangelogUpdateStreamControl.cs | osu.Game/Overlays/Changelog/ChangelogUpdateStreamControl.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStre... | // 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.Game.Online.API.Requests.Responses;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamControl : OverlayStreamControl<APIUpdateStre... | mit | C# |
eda4f3c165acd66395c18051e7cdf026ef74bccf | Remove ConcurrentQueue wrapper around input enumerable and just iterate it directly in the Run method | HeadspringLabs/bulk-writer | src/BulkWriter/Pipeline/Internal/StartEtlPipelineStep.cs | src/BulkWriter/Pipeline/Internal/StartEtlPipelineStep.cs | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
namespace BulkWriter.Pipeline.Internal
{
internal class StartEtlPipelineStep<TIn> : EtlPipelineStep<TIn, TIn>
{
private readonly IEnumerable<TIn> _inputEnumerable;
public StartEtlPipelineStep(EtlPip... | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
namespace BulkWriter.Pipeline.Internal
{
internal class StartEtlPipelineStep<TIn> : EtlPipelineStep<TIn, TIn>
{
public StartEtlPipelineStep(EtlPipelineContext pipelineContext, IEnumerable<TIn> enumerable) : ... | apache-2.0 | C# |
e7aab02adb1794ee14055ce922d56943a4ed7de3 | Fix broken test | gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/Bloom... | src/BloomTests/TeamCollection/FolderTeamCollectionTests2.cs | src/BloomTests/TeamCollection/FolderTeamCollectionTests2.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bloom.TeamCollection;
using BloomTemp;
using NUnit.Framework;
using SIL.IO;
namespace BloomTests.TeamCollection
{
/// <summary>
/// The main FolderTeamCollectionTests class is m... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bloom.TeamCollection;
using BloomTemp;
using NUnit.Framework;
using SIL.IO;
namespace BloomTests.TeamCollection
{
/// <summary>
/// The main FolderTeamCollectionTests class is m... | mit | C# |
a78b4761875ca06649d8884ea71ab046e9cd7020 | Use minute instead of month in logger timestamp. | krishachetan89/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,krishachetan89/Winium.StoreApps,2gis/Winium.StoreApps,2gis/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps | Winium/Winium.StoreApps.Driver/Logger.cs | Winium/Winium.StoreApps.Driver/Logger.cs | namespace Winium.StoreApps.Driver
{
#region
using System.ComponentModel;
using NLog;
using NLog.Targets;
#endregion
internal static class Logger
{
#region Constants
private const string LayoutFormat = "${date:format=HH\\:mm\\:ss} [${level:uppercase=true}] ${message}";
... | namespace Winium.StoreApps.Driver
{
#region
using System.ComponentModel;
using NLog;
using NLog.Targets;
#endregion
internal static class Logger
{
#region Constants
private const string LayoutFormat = "${date:format=HH\\:MM\\:ss} [${level:uppercase=true}] ${message}";
... | mpl-2.0 | C# |
4de11793b1f5401203ef8bb3e077092e993236d9 | Speed up dotnet restore by * not executing _commandRunner to check for existence of dotnet (dotnet-script is already running as a dotnet tool) * computing a project hash so we only have to run dotnet restore once per project configuration. If runtime or nuget package dependencies change, it will run dotnet restore, oth... | filipw/dotnet-script,filipw/dotnet-script | src/Dotnet.Script.DependencyModel/Context/DotnetRestorer.cs | src/Dotnet.Script.DependencyModel/Context/DotnetRestorer.cs | using Dotnet.Script.DependencyModel.Environment;
using Dotnet.Script.DependencyModel.Logging;
using Dotnet.Script.DependencyModel.Process;
using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
namespace Dotnet.Script.DependencyModel.Context
{
public class DotnetRestorer : IRestorer... | using System;
using System.Linq;
using Dotnet.Script.DependencyModel.Environment;
using Dotnet.Script.DependencyModel.Logging;
using Dotnet.Script.DependencyModel.Process;
namespace Dotnet.Script.DependencyModel.Context
{
public class DotnetRestorer : IRestorer
{
private readonly CommandRunner _comman... | mit | C# |
bc24ded0f0905cd085b048ae2a390e0f021a15ef | Add Requester ID | mattnis/ZendeskApi_v2,CKCobra/ZendeskApi_v2,mwarger/ZendeskApi_v2,dcrowe/ZendeskApi_v2 | ZendeskApi_v2/Models/Requests/Request.cs | ZendeskApi_v2/Models/Requests/Request.cs | // JSON C# Class Generator
// http://at-my-window.blogspot.com/?page=json-class-generator
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using ZendeskApi_v2.Models.Shared;
using ZendeskApi_v2.Models.Tickets;
namespace ZendeskApi_v2.Models.Requests
{
public cla... | // JSON C# Class Generator
// http://at-my-window.blogspot.com/?page=json-class-generator
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using ZendeskApi_v2.Models.Shared;
using ZendeskApi_v2.Models.Tickets;
namespace ZendeskApi_v2.Models.Requests
{
public cla... | apache-2.0 | C# |
180521a2bd542d33f19b0fec2f2b217e4c77c762 | Add simple Anmeldung email template caching via static ConcurrentDictionary | christophwille/myhaflinger.com,christophwille/myhaflinger.com,christophwille/myhaflinger.com | src/MyHaflinger.Treffen/Services/AnmeldungMailService.cs | src/MyHaflinger.Treffen/Services/AnmeldungMailService.cs | using System;
using System.Collections.Concurrent;
using System.IO;
using System.Threading.Tasks;
using MyHaflinger.Common.Services;
using MyHaflinger.Treffen.Db;
using RazorLight;
namespace MyHaflinger.Treffen.Services
{
public class AnmeldungMailService
{
private static readonly ConcurrentDictionary<string,stri... | using System;
using System.IO;
using System.Threading.Tasks;
using MyHaflinger.Common.Services;
using MyHaflinger.Treffen.Db;
using RazorLight;
namespace MyHaflinger.Treffen.Services
{
public class AnmeldungMailService
{
private readonly ISmtpMailService _smtpMailService;
private readonly string _sender;
pub... | mit | C# |
d0b45512defe712c4f5d0d8e533520346607455c | revert constructor | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Api.Types/ChangedByUserInfo.cs | src/SFA.DAS.EmployerUsers.Api.Types/ChangedByUserInfo.cs | namespace SFA.DAS.EmployerUsers.Api.Types
{
public class ChangedByUserInfo
{
public string UserId { get; set; }
public string Email { get; set; }
public ChangedByUserInfo(string userId, string email)
{
UserId = userId;
Email = email;
}
}
}
| namespace SFA.DAS.EmployerUsers.Api.Types
{
public class ChangedByUserInfo
{
public string UserId { get; set; }
public string Email { get; set; }
}
}
| mit | C# |
ed072d8cc3445b2de54947c4045bd92ae2190ad9 | Allow click-through of toolbar items. | bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto | Source/Eto.Platform.Windows/Forms/ToolBar/ToolBarHandler.cs | Source/Eto.Platform.Windows/Forms/ToolBar/ToolBarHandler.cs | using SD = System.Drawing;
using SWF = System.Windows.Forms;
using Eto.Forms;
using System;
namespace Eto.Platform.Windows
{
public class ToolBarHandler : WidgetHandler<ToolStripEx, ToolBar>, IToolBar
{
ToolBarDock dock = ToolBarDock.Top;
public ToolBarHandler()
{
Control = new ToolStripEx();
Control.La... | using SD = System.Drawing;
using SWF = System.Windows.Forms;
using Eto.Forms;
using System;
namespace Eto.Platform.Windows
{
public class ToolBarHandler : WidgetHandler<SWF.ToolStrip, ToolBar>, IToolBar
{
ToolBarDock dock = ToolBarDock.Top;
public ToolBarHandler()
{
Control = new SWF.ToolStrip();
Contro... | bsd-3-clause | C# |
eafe2b145241d786c8ec384639f844c89eebb3ea | Improve NicknameHistoryRepository. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Services/Database/Repositories/Impl/NicknameHistoryRepository.cs | src/MitternachtBot/Services/Database/Repositories/Impl/NicknameHistoryRepository.cs | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database.Models;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class NicknameHistoryRepository : Repository<NicknameHistoryModel>, INicknameHistoryRepository {
public NicknameHistoryRepository(DbCon... | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database.Models;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class NicknameHistoryRepository : Repository<NicknameHistoryModel>, INicknameHistoryRepository {
public NicknameHistoryRepository(DbCon... | mit | C# |
1dbbbc0b38776f29885fe0707c2fe0678373b2d0 | Add all opcodes to the enum | joshpeterson/mos,joshpeterson/mos,joshpeterson/mos | Mos6510/Instructions/Opcodes.cs | Mos6510/Instructions/Opcodes.cs | namespace Mos6510.Instructions
{
public enum Opcode
{
Adc, // Add Memory to Accumulator with Carry
And, // "AND" Memory with Accumulator
Asl, // Shift Left One Bit (Memory or Accumulator)
Bcc, // Branch on Carry Clear
Bcs, // Branch on Carry Set
Beq, // Branch on Result Zero
Bit, // Test... | namespace Mos6510.Instructions
{
public enum Opcode
{
Inx,
Iny,
Nop,
And,
Ora,
Eor,
Adc,
Clc,
Lda,
Sbc,
Sta,
Ldx,
Ldy,
}
}
| mit | C# |
5e1a387369b958138e2a98c285f57e34de52b5b1 | Fix wrong json key of WeekdayOfMonth property. | omise/omise-dotnet | Omise/Models/ScheduleRequest.cs | Omise/Models/ScheduleRequest.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Omise.Models
{
public class ScheduleOnRequest : Request
{
[JsonProperty("weekdays")]
public Weekdays[] Weekdays { get; set; }
[JsonProperty("days_of_month")]
public int[] DaysOfMonth { get; set; ... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Omise.Models
{
public class ScheduleOnRequest : Request
{
[JsonProperty("weekdays")]
public Weekdays[] Weekdays { get; set; }
[JsonProperty("days_of_month")]
public int[] DaysOfMonth { get; set; ... | mit | C# |
ea16a83f2371dd485a70289c9fd1dbf211e91827 | Improve test by adding zero and error check | aloisdg/RandomStringUtils | RandomStringUtils.Test/Tests.cs | RandomStringUtils.Test/Tests.cs | using System;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NUnit.Framework;
using Assert = NUnit.Framework.Assert;
namespace RandomStringUtils.Test
{
[TestFixture]
public class Tests
{
private const int Count = 126;
... | using System;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NUnit.Framework;
using Assert = NUnit.Framework.Assert;
namespace RandomStringUtils.Test
{
[TestFixture]
public class Tests
{
private const int Count = 126;
[Test]
public void TestRandom()
... | apache-2.0 | C# |
2b6ffe651a372d2adf21fa0acdbaa571f940d394 | Move it to other GetMapExpression method 2 | gentledepp/AutoMapper,BlaiseD/AutoMapper,lbargaoanu/AutoMapper,AutoMapper/AutoMapper,mjalil/AutoMapper,AutoMapper/AutoMapper | src/AutoMapper/QueryableExtensions/ExpressionRequest.cs | src/AutoMapper/QueryableExtensions/ExpressionRequest.cs |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace AutoMapper.QueryableExtensions
{
[DebuggerDisplay("{SourceType.Name}, {DestinationType.Name}")]
public class ExpressionRequest : IEquatable<ExpressionRequest>
{
public ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace AutoMapper.QueryableExtensions
{
[DebuggerDisplay("{SourceType.Name}, {DestinationType.Name}")]
public class ExpressionRequest : IEquatable<ExpressionRequest>
{
public ... | mit | C# |
09f82213107996d824fa0e29bf104d74057abcd2 | Fix problem with multivalues (#1363) | leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net | src/Joinrpg.AspNetCore.Helpers/FormCollectionHelpers.cs | src/Joinrpg.AspNetCore.Helpers/FormCollectionHelpers.cs | using System;
using System.Collections.Generic;
using System.Linq;
using JoinRpg.Helpers;
using Microsoft.AspNetCore.Http;
namespace Joinrpg.AspNetCore.Helpers
{
public static class FormCollectionHelpers
{
private static Dictionary<string, string?> ToDictionary(this IFormCollection collection) => colle... | using System;
using System.Collections.Generic;
using System.Linq;
using JoinRpg.Helpers;
using Microsoft.AspNetCore.Http;
namespace Joinrpg.AspNetCore.Helpers
{
public static class FormCollectionHelpers
{
private static Dictionary<string, string?> ToDictionary(this IFormCollection collection) => colle... | mit | C# |
71c680388c0e83ec5a3b5a3a4c7bf914bc844eb4 | Make ExcludeFromCodeCoverage compatibility stub internal | lunet-io/markdig | src/Markdig/Helpers/ExcludeFromCodeCoverageAttribute.cs | src/Markdig/Helpers/ExcludeFromCodeCoverageAttribute.cs | #if NET35 || UAP
using System;
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
internal class ExcludeFromCodeCoverageAttribute : Attribute
{
}
}
#endif | #if NET35 || UAP
using System;
namespace System.Diagnostics.CodeAnalysis
{
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = false)]
public class ExcludeFromCodeCoverageAttribute : Attribute
{
}
}
#endif | bsd-2-clause | C# |
63e95f0f55e1b4ab494341e7bc63c8ee23fdbdd8 | check for keys already existing | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Models/Api/Request/Accounts/KeysRequestModel.cs | src/Core/Models/Api/Request/Accounts/KeysRequestModel.cs | using Bit.Core.Models.Table;
using System.ComponentModel.DataAnnotations;
namespace Bit.Core.Models.Api
{
public class KeysRequestModel
{
public string PublicKey { get; set; }
[Required]
public string EncryptedPrivateKey { get; set; }
public User ToUser(User existingUser)
... | using Bit.Core.Models.Table;
using System.ComponentModel.DataAnnotations;
namespace Bit.Core.Models.Api
{
public class KeysRequestModel
{
public string PublicKey { get; set; }
[Required]
public string EncryptedPrivateKey { get; set; }
public User ToUser(User existingUser)
... | agpl-3.0 | C# |
35a3edaa743d43e6c4b88949bd5c10c4f3b38e48 | Reformat comment | wangkanai/Detection | src/DependencyInjection/DetectionCollectionExtensions.cs | src/DependencyInjection/DetectionCollectionExtensions.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Wangkanai.Detection.DependencyInjection.Options;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Contains extension meth... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Wangkanai.Detection.DependencyInjection.Options;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Contains extension ... | apache-2.0 | C# |
638cf4e3d8ad2f1f41aaec1f4158b904e1eddf79 | Fix for editing bug | funnelweblog/FunnelWeb,funnelweblog/FunnelWeb,funnelweblog/FunnelWeb | src/FunnelWeb.Web/Application/Mvc/Binders/ArrayBinder.cs | src/FunnelWeb.Web/Application/Mvc/Binders/ArrayBinder.cs | using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.Helpers;
namespace FunnelWeb.Web.Application.Mvc.Binders
{
/// <summary>
/// Lets us take an array of values (comma seperated) or duplicate values of the same name from HTTP input
/// and convert it to an ... | using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
namespace FunnelWeb.Web.Application.Mvc.Binders
{
/// <summary>
/// Lets us take an array of values (comma seperated) or duplicate values of the same name from HTTP input
/// and convert it to an array of integers. For exam... | bsd-3-clause | C# |
627913a4af48dc16541d29e9376f2569c49bf282 | fix shlemiel-method of retrieving information | wislon/xamarin-android-use-removable-sd-card | src/TestExternalSd/StorageClasses/ExternalSdCardInfo.cs | src/TestExternalSd/StorageClasses/ExternalSdCardInfo.cs | namespace TestExternalSd.StorageClasses
{
public static class ExternalSdCardInfo
{
private static string _path = null;
private static bool? _isWriteable;
private static FileSystemBlockInfo _fileSystemBlockInfo = null;
/// <summary>
/// Quick property you can check after initialising
... | namespace TestExternalSd.StorageClasses
{
public static class ExternalSdCardInfo
{
private static string _path = null;
private static bool? _isWriteable;
private static FileSystemBlockInfo _fileSystemBlockInfo = null;
/// <summary>
/// Quick property you can check after initialising
... | mit | C# |
299ed6228f43f01d1fc1c8c12f0de3c79398ff5a | add entropy at RandomUtils initialization | you21979/NBitcoin,thepunctuatedhorizon/BrickCoinAlpha.0.0.1,lontivero/NBitcoin,stratisproject/NStratis,MetacoSA/NBitcoin,MetacoSA/NBitcoin,dangershony/NStratis,NicolasDorier/NBitcoin,bitcoinbrisbane/NBitcoin,HermanSchoenfeld/NBitcoin | NBitcoin/RandomUtils.partial.cs | NBitcoin/RandomUtils.partial.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin
{
public class RNGCryptoServiceProviderRandom : IRandom
{
readonly RNGCryptoServiceProvider _Instance;
public RNGCryptoServicePro... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin
{
public class RNGCryptoServiceProviderRandom : IRandom
{
readonly RNGCryptoServiceProvider _Instance;
public RNGCryptoServicePro... | mit | C# |
61a878fbd74cef12939dcdfb001fee353fe71531 | fix bad merge | agrc/Crash-web,agrc/Crash-web,agrc/Crash-web,agrc/Crash-web | api/chart-function/Models/Row.cs | api/chart-function/Models/Row.cs | namespace crash_statistics.Models
{
public class Row
{
public Row()
{
}
public Row(int occurrences, object label, string type)
{
Occurrences = occurrences;
Label = label;
Type = type;
}
public int Occurrences { get;... | namespace crash_statistics.Models
{
public class Row
{
public Row()
{
}
public Row(int occurrences, object label, string type)
{
Occurrences = occurrences;
Label = label;
Type = type;
}
public int Occurrences { get;... | mit | C# |
2fdc815802eb7478e6e3931de2771e4100274831 | Change of query for API get all account balances | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Api/Orchestrators/AccountsOrchestrator.cs | src/SFA.DAS.EAS.Api/Orchestrators/AccountsOrchestrator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.UI;
using MediatR;
using NLog;
using SFA.DAS.EAS.Api.Models;
using SFA.DAS.EAS.Application.Queries.AccountTransactions.GetAccountBalances;
using SFA.DAS.EAS.Application.Queries.GetBatchEm... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.UI;
using MediatR;
using NLog;
using SFA.DAS.EAS.Api.Models;
using SFA.DAS.EAS.Application.Queries.AccountTransactions.GetAccountBalances;
using SFA.DAS.EAS.Application.Queries.GetBatchEm... | mit | C# |
d4c465334123dc2bb533f26fc57382f97f016390 | Add skip lines | zzzprojects/Z.ExtensionMethods | src/Z.IO/System.IO.StreamReader/StreamReader.SkipLines.cs | src/Z.IO/System.IO.StreamReader/StreamReader.SkipLines.cs | // Description: C# Extension Methods Library to enhances the .NET Framework by adding hundreds of new methods. It drastically increases developers productivity and code readability. Support C# and VB.NET
// Website & Documentation: https://github.com/zzzprojects/Z.ExtensionMethods
// Forum: https://github.com/zzzproje... | // Description: C# Extension Methods Library to enhances the .NET Framework by adding hundreds of new methods. It drastically increases developers productivity and code readability. Support C# and VB.NET
// Website & Documentation: https://github.com/zzzprojects/Z.ExtensionMethods
// Forum: https://github.com/zzzproje... | mit | C# |
581334ab8184701e9440fd95046d63fc4fe7913b | fix adding tabs to TabControl after it is loaded on a form | bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,l8s/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1 | Source/Eto.Platform.Gtk/Forms/Controls/TabControlHandler.cs | Source/Eto.Platform.Gtk/Forms/Controls/TabControlHandler.cs | using System;
using System.Collections;
using Eto.Forms;
namespace Eto.Platform.GtkSharp
{
public class TabControlHandler : GtkControl<Gtk.Notebook, TabControl>, ITabControl
{
public TabControlHandler()
{
Control = new Gtk.Notebook();
Control.SwitchPage += delegate {
Widget.OnSelectedIndexChanged (Even... | using System;
using System.Collections;
using Eto.Forms;
namespace Eto.Platform.GtkSharp
{
public class TabControlHandler : GtkControl<Gtk.Notebook, TabControl>, ITabControl
{
public TabControlHandler()
{
Control = new Gtk.Notebook();
Control.SwitchPage += delegate {
Widget.OnSelectedIndexChanged (Even... | bsd-3-clause | C# |
4485a50d1ea1d7656ba6d90a76eba3cfe3fcaac4 | Update ApplicationInsightsHelper.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/ApplicationInsightsHelper.cs | TIKSN.Core/Analytics/Telemetry/ApplicationInsightsHelper.cs | using System;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
namespace TIKSN.Analytics.Telemetry
{
internal static class ApplicationInsightsHelper
{
internal static SeverityLevel? ConvertSeverityLevel(TelemetrySeverityLevel? severityLevel)
{
... | using System;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
namespace TIKSN.Analytics.Telemetry
{
internal static class ApplicationInsightsHelper
{
internal static SeverityLevel? ConvertSeverityLevel(TelemetrySeverityLevel? severityLevel)
{
... | mit | C# |
3f9168c21ec937f32dbae75cfaba878c9632e2b9 | Disable EF Core transaction test. | ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,AlexGeller/aspnetboilerplate,ryancyq/aspnetboilerplate,lvjunlei/aspnetboilerplate,verdentk/aspnetboilerplate,fengyeju/aspnetboilerplate,verdentk/aspnetboilerplate,jaq316/aspnetboilerplate,virtualcca/aspnetboilerplate,aspnetboilerpla... | test/Abp.EntityFrameworkCore.Tests/Transaction_Tests.cs | test/Abp.EntityFrameworkCore.Tests/Transaction_Tests.cs | using System;
using System.Threading.Tasks;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.EntityFrameworkCore.Tests.Domain;
using Microsoft.EntityFrameworkCore;
using Shouldly;
namespace Abp.EntityFrameworkCore.Tests
{
//WE CAN NOT TEST TRANSACTIONS SINCE INMEMORY DB DOES NOT SUPPORT IT! TODO: Use... | using System;
using System.Threading.Tasks;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.EntityFrameworkCore.Tests.Domain;
using Microsoft.EntityFrameworkCore;
using Shouldly;
using Xunit;
namespace Abp.EntityFrameworkCore.Tests
{
public class Transaction_Tests : EntityFrameworkCoreModuleTestBase... | mit | C# |
e28e51beb5f552bfe3ddf16c82712df6123cf0a0 | Create CreateHostBuilder method. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Backend/Program.cs | WalletWasabi.Backend/Program.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using System;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Backend
{
public static class Program
{
#pragma warning disable IDE1006 // Naming Styles
public static async Task Main(string[] args)
#pragma warni... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using System;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Backend
{
public static class Program
{
#pragma warning disable IDE1006 // Naming Styles
public static async Task Main(string[] args)
#pragma warni... | mit | C# |
291250b4c2e239b8cb7bb733c7384b2b0a36e686 | Fix typo | tom-englert/Wax | Wax.Model/Wix/WixProductNode.cs | Wax.Model/Wix/WixProductNode.cs | namespace tomenglertde.Wax.Model.Wix
{
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Xml.Linq;
using JetBrains.Annotations;
using tomenglertde.Wax.Model.Tools;
public class WixProductNode : WixNode
{
public WixProductNod... | namespace tomenglertde.Wax.Model.Wix
{
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Xml.Linq;
using JetBrains.Annotations;
using tomenglertde.Wax.Model.Tools;
public class WixProductNode : WixNode
{
public WixProductNod... | mit | C# |
1e76c830908f21f8b25ddcbb2f93aa2a99106b0e | clean up whitespace | mgutekunst/ace-jump,jsturtevant/ace-jump | AceJump/LetterReference.xaml.cs | AceJump/LetterReference.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
30dca2a094ce63eeede1278835cb4f63f7640468 | Make card image types optional | timheuer/alexa-skills-dotnet,stoiveyp/alexa-skills-dotnet | Alexa.NET/Response/CardImage.cs | Alexa.NET/Response/CardImage.cs | using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class CardImage
{
[JsonProperty("smallImageUrl",NullValueHandling = NullValueHandling.Ignore)]
public string SmallImageUrl { get; set; }
[JsonProperty("largeImageUrl", NullValueHandling = NullValueHandling.Ignore)]
p... | using Newtonsoft.Json;
namespace Alexa.NET.Response
{
public class CardImage
{
[JsonProperty("smallImageUrl")]
[JsonRequired]
public string SmallImageUrl { get; set; }
[JsonProperty("largeImageUrl")]
[JsonRequired]
public string LargeImageUrl { get; set; }
... | mit | C# |
be2295dbca8af09cc44f8d62457e035358f1a325 | Update assembly to version 1.1.2 | Brightspace/valence-sdk-dotnet-restsharp | lib/D2L.Extensibility.AuthSdk.Restsharp/Properties/AssemblyInfo.cs | lib/D2L.Extensibility.AuthSdk.Restsharp/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("D2... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("D2... | apache-2.0 | C# |
28e8327699a8267c08a5ff04e613c5afeed4a4d8 | Make RoslynCodeGlobals State property generic | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | Dependencies/ScriptEngine.Roslyn/Roslyn/RoslynCodeGlobals.cs | Dependencies/ScriptEngine.Roslyn/Roslyn/RoslynCodeGlobals.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test2d;
namespace Test2d
{
/// <summ... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test2d;
namespace Test2d
{
/// <summ... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.