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 |
|---|---|---|---|---|---|---|---|---|
26f8ab75a7a3d8a9b2dbc7f0efed1fe97ade1b0d | Add missing enums for File purpose | stripe/stripe-dotnet | src/Stripe.net/Constants/FilePurpose.cs | src/Stripe.net/Constants/FilePurpose.cs | namespace Stripe
{
public static class FilePurpose
{
public const string AccountRequirement = "account_requirement";
public const string AdditionalVerification = "additional_verification";
public const string BusinessIcon = "business_icon";
public const string BusinessLogo = "... | namespace Stripe
{
public static class FilePurpose
{
public const string AdditionalVerification = "additional_verification";
public const string BusinessIcon = "business_icon";
public const string BusinessLogo = "business_logo";
public const string CustomerSignature = "custome... | apache-2.0 | C# |
597b74c73ce6456a3f95883e3da1c082605a1ae5 | Add disableOnPlay option to changeOrderInLayer | NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/UI/ChangeOrderInLayer.cs | Assets/Scripts/UI/ChangeOrderInLayer.cs | using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class ChangeOrderInLayer : MonoBehaviour
{
[SerializeField]
private Renderer _renderer;
[SerializeField]
private int orderInLayer;
[SerializeField]
private string sortingLayer = "Default";
[SerializeField]
private ... | using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class ChangeOrderInLayer : MonoBehaviour
{
#pragma warning disable 0649
[SerializeField]
private Renderer _renderer;
[SerializeField]
private int orderInLayer;
#pragma warning restore 0649
void Start()
{
if (_renderer ... | mit | C# |
05cbd13476edc7f4526f064365653001b1b06296 | Remove unnecessary propchange hook. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ViewModels/ViewModelBase.cs | WalletWasabi.Gui/ViewModels/ViewModelBase.cs | using ReactiveUI;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using WalletWasabi.Gui.ViewModels.Validation;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels
{
public class ViewModelBase : ReactiveObj... | using ReactiveUI;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using WalletWasabi.Gui.ViewModels.Validation;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels
{
public class ViewModelBase : ReactiveObj... | mit | C# |
7380a4ac143d8859c26e6bea6929b43468935e29 | update bisector and target vector | LanJian/stellar | Assets/Scripts/Ship/ShipMovement.cs | Assets/Scripts/Ship/ShipMovement.cs | using UnityEngine;
using System.Collections;
public class ShipMovement : MonoBehaviour {
private Vector3 target;
private Vector3 targetVector;
private Vector3 bisector;
private Rigidbody rb;
private float dot;
// Use this for initialization
void Start () {
rb = GetComponent<Rigidbody> ();
}
// Update i... | using UnityEngine;
using System.Collections;
public class ShipMovement : MonoBehaviour {
private Vector3 target;
private Vector3 targetVector;
private Vector3 bisector;
private Rigidbody rb;
private float dot;
// Use this for initialization
void Start () {
rb = GetComponent<Rigidbody> ();
}
// Update i... | mit | C# |
3544d71b7ecaabdfb05becb5ad8d4ae4e846879d | Fix intermittent test failures. | punker76/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,kekekeks/Perspex,susloparovdenis/Avalonia,akrisiun/Perspex,SuperJMN/Avalonia,kekekeks/Perspex,tshcherban/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/... | tests/Perspex.SceneGraph.UnitTests/Properties/AssemblyInfo.cs | tests/Perspex.SceneGraph.UnitTests/Properties/AssemblyInfo.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
using Xunit;
[assembly: AssemblyTitle("Perspex.SceneGraph.UnitTests")]
// Don't run tests in parallel.
[assembly: CollectionBeh... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
[assembly: AssemblyTitle("Perspex.SceneGraph.UnitTests")]
| mit | C# |
87bb26d99b883e5530af153f4bd8f9b2b29691c1 | Add [Serializable] attribute | dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute | Source/NSubstitute/Exceptions/CallSequenceNotFoundException.cs | Source/NSubstitute/Exceptions/CallSequenceNotFoundException.cs | using System;
using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
[Serializable]
public class CallSequenceNotFoundException : SubstituteException
{
public CallSequenceNotFoundException(string message) : base(message) { }
protected CallSequenceNotFoundException(Serializati... | using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
[Serializable]
public class CallSequenceNotFoundException : SubstituteException
{
public CallSequenceNotFoundException(string message) : base(message) { }
protected CallSequenceNotFoundException(SerializationInfo info, ... | bsd-3-clause | C# |
ad204412f671bbd7075160a97e6f4b3b73dcdbd2 | Update IOBuffer to latest API | analogdevicesinc/libiio,analogdevicesinc/libiio,Sunderfield/libiio,analogdevicesinc/libiio,Sunderfield/libiio,gburca/libiio,gburca/libiio,Sunderfield/libiio,sensarliar/libiio,sensarliar/libiio,gburca/libiio,sensarliar/libiio,analogdevicesinc/libiio | bindings/csharp/IOBuffer.cs | bindings/csharp/IOBuffer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace iio
{
class IOBuffer
{
public IntPtr buf;
private uint samples_count;
[DllImport("libiio.dll", CallingConvention = Calling... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace iio
{
class IOBuffer
{
public IntPtr buf;
private bool is_output;
private uint samples_count;
[DllImport("libiio.d... | lgpl-2.1 | C# |
44168b1654757b47aa80f997413ee1a5fcf2764b | Fix incorrect license | DrabWeb/osu,Nabile-Rahmani/osu,UselessToucan/osu,naoey/osu,ppy/osu,peppy/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,naoey/osu,2yangk23/osu,DrabWeb/osu,smoogipooo/osu,EVAST9919/osu,naoey/osu,Frontear/osuKyzer,NeoAdonis/osu,ppy/osu,DrabWeb/osu,2yangk23/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/... | osu.Game/Utils/ZipUtils.cs | osu.Game/Utils/ZipUtils.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using SharpCompress.Archives.Zip;
namespace osu.Game.Utils
{
public static class ZipUtils
{
public static bool IsZipArchive(str... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using SharpCompress.Archives.Zip;
namespace osu.Game.Utils
{
public static class ZipUtils
{
public static bool IsZipA... | mit | C# |
4aa06b8eae5532ef7be345a9f9a1dcae005254af | Handle item expiration | mdavid/nuget,mdavid/nuget | src/Core/Utility/MemoryCache.cs | src/Core/Utility/MemoryCache.cs | using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using System.Threading;
namespace NuGet {
internal sealed class MemoryCache {
private MemoryCache() {
}
internal static MemoryCache Default {
get {
return InternalMemor... | using System;
using System.Collections.Concurrent;
namespace NuGet {
internal sealed class MemoryCache {
private MemoryCache() {
}
internal static MemoryCache Default {
get
{
return InternalMemoryCache.Instance;
}
}
... | apache-2.0 | C# |
d6ff615d6af80782630877b58a5d8486ca64feb9 | Add silent Open override | allquixotic/banshee-gst-sharp-work,arfbtwn/banshee,Dynalon/banshee-osx,stsundermann/banshee,dufoli/banshee,babycaseny/banshee,mono-soc-2011/banshee,mono-soc-2011/banshee,directhex/banshee-hacks,petejohanson/banshee,directhex/banshee-hacks,lamalex/Banshee,dufoli/banshee,Dynalon/banshee-osx,petejohanson/banshee,lamalex/B... | src/Core/Banshee.Services/Banshee.Web/Browser.cs | src/Core/Banshee.Services/Banshee.Web/Browser.cs | //
// Browser.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2006-2008 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal... | //
// Browser.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2006-2008 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal... | mit | C# |
e22506afd3a3a1e9702d59afdc76f86812ed23a2 | Refactor VSConstants, Nemerle constant goes up | mrward/NuGet.V2,RichiCoder1/nuget-chocolatey,oliver-feng/nuget,xoofx/NuGet,mrward/nuget,xoofx/NuGet,jmezach/NuGet2,ctaggart/nuget,mrward/NuGet.V2,mrward/nuget,themotleyfool/NuGet,dolkensp/node.net,ctaggart/nuget,antiufo/NuGet2,antiufo/NuGet2,mono/nuget,rikoe/nuget,jmezach/NuGet2,indsoft/NuGet2,GearedToWar/NuGet2,ctagga... | src/VisualStudio/VSConstants.cs | src/VisualStudio/VSConstants.cs | namespace NuGet.VisualStudio
{
internal static class VsConstants
{
// Project type guids
internal const string WebApplicationProjectTypeGuid = "{349C5851-65DF-11DA-9384-00065B846F21}";
internal const string WebSiteProjectTypeGuid = "{E24C65DC-7377-472B-9ABA-BC803B73C61A}";
... | namespace NuGet.VisualStudio
{
internal static class VsConstants
{
// Project type guids
internal const string WebApplicationProjectTypeGuid = "{349C5851-65DF-11DA-9384-00065B846F21}";
internal const string WebSiteProjectTypeGuid = "{E24C65DC-7377-472B-9ABA-BC803B73C61A}";
... | apache-2.0 | C# |
52ecec3d69a4be33790030499a56c011f5bea80e | Update GameManager.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/GameManager.cs | Real_Game/Assets/Scripts/GameManager.cs | using UnityEngine;
using System.Collections;
public class GameManager : MonoBehaviour {
// Score based stuff
public float highScore = 0f;
//Level based stuff
public int currentLevel = 0;
public int unlockedLevel;
// Things that deal with GUI or whatever
public Rect stopwatchRect;
public Rect stopwatchBox... | using UnityEngine;
using System.Collections;
public class GameManager : MonoBehaviour {
// Score based stuff
public float highScore = 0f;
//Level based stuff
public int currentLevel = 0;
public int unlockedLevel;
// Things that deal with GUI or whatever
public Rect stopwatchRect;
public Rect stopwatchBox... | mit | C# |
e874a49934b7858900c051064aa04f998da117d6 | Build fix | mdileep/NFugue | tests/NFugue.Tests/Staccato/UnknownTokenTests.cs | tests/NFugue.Tests/Staccato/UnknownTokenTests.cs | using FluentAssertions;
using NFugue.Parsing;
using NFugue.Staccato;
using System;
using Xunit;
namespace Staccato.Tests
{
public class UnknownTokenTests
{
private readonly StaccatoParser parser = new StaccatoParser();
[Fact]
public void Should_ignore_unknown_token_by_default()
... | using FluentAssertions;
using NFugue.Parsing;
using NFugue.Staccato;
using System;
using Xunit;
namespace Staccato.Tests
{
public class UnknownTokenTests : IDisposable
{
private readonly StaccatoParser parser = new StaccatoParser();
[Fact]
public void Should_ignore_unknown_token_by_de... | apache-2.0 | C# |
7bbad86eb42f06de158806e63057aba7b9152dcc | Support CreateColumn<Guid>() | hhland/Orchard,jimasp/Orchard,emretiryaki/Orchard,cooclsee/Orchard,angelapper/Orchard,bedegaming-aleksej/Orchard,xiaobudian/Orchard,OrchardCMS/Orchard,enspiral-dev-academy/Orchard,escofieldnaxos/Orchard,li0803/Orchard,omidnasri/Orchard,yonglehou/Orchard,jerryshi2007/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,alej... | src/Orchard/Data/Migration/Schema/SchemaUtils.cs | src/Orchard/Data/Migration/Schema/SchemaUtils.cs | using System;
using System.Data;
namespace Orchard.Data.Migration.Schema {
public static class SchemaUtils {
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "System.Enum.TryParse<System.Data.DbType>(System.String,System.Boolean,System... | using System;
using System.Data;
namespace Orchard.Data.Migration.Schema {
public static class SchemaUtils {
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1806:DoNotIgnoreMethodResults", MessageId = "System.Enum.TryParse<System.Data.DbType>(System.String,System.Boolean,System... | bsd-3-clause | C# |
26277f62f444f9c24a161a1d3fee2276b3f4b5ea | Update days to estimated_days in Rate object | goshippo/shippo-csharp-client | Shippo/Rate.cs | Shippo/Rate.cs | using System;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject(MemberSerialization.OptIn)]
public class Rate : ShippoId {
[JsonProperty(PropertyName = "object_created")]
public object ObjectCreated { get; set; }
[JsonProperty(PropertyName = "object_owner")]
public object ... | using System;
using Newtonsoft.Json;
namespace Shippo {
[JsonObject(MemberSerialization.OptIn)]
public class Rate : ShippoId {
[JsonProperty(PropertyName = "object_created")]
public object ObjectCreated { get; set; }
[JsonProperty(PropertyName = "object_owner")]
public object ... | apache-2.0 | C# |
cd3ac1982adc3ac023db3b505668b7aa39f4b5b9 | fix some non-async in StarChart too | WorldWideTelescope/wwt-website,WorldWideTelescope/wwt-website,WorldWideTelescope/wwt-website | src/WWT.Providers/Providers/Starchartprovider.cs | src/WWT.Providers/Providers/Starchartprovider.cs | #nullable disable
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Threading;
using System.Threading.Tasks;
namespace WWT.Providers
{
[RequestEndpoint("/wwtweb/StarChart.aspx")]
public class StarChartProvider : StarChart
{
public override string ContentType => Content... | #nullable disable
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Threading;
using System.Threading.Tasks;
namespace WWT.Providers
{
[RequestEndpoint("/wwtweb/StarChart.aspx")]
public class StarChartProvider : StarChart
{
public override string ContentType => Content... | mit | C# |
871872772e788d1e21741c9e11afc31486860eeb | Revert "Changed Regex for owners to make sure the string is at the end of the task description" | jawsthegame/PivotalExtension,jawsthegame/PivotalExtension | PivotalTrackerDotNet/Domain/Task.cs | PivotalTrackerDotNet/Domain/Task.cs | using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
namespace PivotalTrackerDotNet.Domain {
public class Task {
public int Id { get; set; }
public string Description { get; set; }
public bool Complete { get; set; }
public int ParentStoryId { get; set; }
public int Proj... | using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
namespace PivotalTrackerDotNet.Domain {
public class Task {
public int Id { get; set; }
public string Description { get; set; }
public bool Complete { get; set; }
public int ParentStoryId { get; set; }
public int Proj... | mit | C# |
625827ee2c51d63125f79f0a0678d637e9538efa | Update BuildWebsite.cs | dotnetsheff/dotnetsheff-api,dotnetsheff/dotnetsheff-api | src/dotnetsheff.Api/BuildWebsite/BuildWebsite.cs | src/dotnetsheff.Api/BuildWebsite/BuildWebsite.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
namespace dotnetsheff.Api.BuildWebsite
{
public static class BuildWebsite
{
private static readonly HttpClient HttpClient = new HttpClien... | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
namespace dotnetsheff.Api.BuildWebsite
{
public static class BuildWebsite
{
private static readonly HttpClient HttpClient = new HttpClien... | mit | C# |
54f79ad5dff458eafd372c00524236134568e66f | Use pattern switch | physhi/roslyn,VSadov/roslyn,abock/roslyn,agocke/roslyn,wvdd007/roslyn,KevinRansom/roslyn,MattWindsor91/roslyn,swaroop-sridhar/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,srivatsn/roslyn,OmarTawfik/roslyn,jcouv/roslyn,MichalStrehovsky/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,mmitche/roslyn,VSadov/roslyn,mattschef... | src/Features/CSharp/Portable/DesignerAttributes/CSharpDesignerAttributeService.cs | src/Features/CSharp/Portable/DesignerAttributes/CSharpDesignerAttributeService.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.Collections.Generic;
using System.Composition;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Desig... | // 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.Collections.Generic;
using System.Composition;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Desig... | mit | C# |
3e9259ab682d8638c906fd7320a4e440810e7d1c | Update DefaultLayerEvaluationService.cs | JRKelso/Orchard,jchenga/Orchard,omidnasri/Orchard,AdvantageCS/Orchard,johnnyqian/Orchard,Lombiq/Orchard,TalaveraTechnologySolutions/Orchard,Fogolan/OrchardForWork,hbulzy/Orchard,Dolphinsimon/Orchard,LaserSrl/Orchard,mvarblow/Orchard,OrchardCMS/Orchard,SzymonSel/Orchard,Praggie/Orchard,neTp9c/Orchard,neTp9c/Orchard,fass... | src/Orchard.Web/Modules/Orchard.Widgets/Services/DefaultLayerEvaluationService.cs | src/Orchard.Web/Modules/Orchard.Widgets/Services/DefaultLayerEvaluationService.cs | using System;
using System.Collections.Generic;
using Orchard.Conditions.Services;
using Orchard.Localization;
using Orchard.Logging;
using Orchard.Widgets.Models;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Utilities;
namespace Orchard.Widgets.Services{
public class DefaultLayerEvaluationSer... | using System;
using System.Collections.Generic;
using Orchard.Conditions.Services;
using Orchard.Localization;
using Orchard.Logging;
using Orchard.Widgets.Models;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Utilities;
namespace Orchard.Widgets.Services{
public class DefaultLayerEvaluationSer... | bsd-3-clause | C# |
7985b9e5e44af192f6cb5f08be72d2986c1b6525 | update assembly for release | zoosk/testrail-client | TestRail/Properties/AssemblyInfo.cs | TestRail/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("TestRail Client")]
[assembly: AssemblyDes... | 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("TestRail Client")]
[assembly: AssemblyDes... | apache-2.0 | C# |
e4789add18bf42e05141db26e24b7c3186d817ec | Update ConvertingPieChartToImageFile.cs | asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells... | Examples/CSharp/Articles/ConvertExcelChartToImage/ConvertingPieChartToImageFile.cs | Examples/CSharp/Articles/ConvertExcelChartToImage/ConvertingPieChartToImageFile.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.ConvertExcelChartToImage
{
public class ConvertingPieChartToImageFile
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir ... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.ConvertExcelChartToImage
{
public class ConvertingPieChartToImageFile
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.... | mit | C# |
7e0c242e65d58a381f70383318fc841d406236a7 | enable events on token client tests code path | roflkins/IdentityServer3,IdentityServer/IdentityServer3,johnkors/Thinktecture.IdentityServer.v3,johnkors/Thinktecture.IdentityServer.v3,roflkins/IdentityServer3,IdentityServer/IdentityServer3,IdentityServer/IdentityServer3,johnkors/Thinktecture.IdentityServer.v3,roflkins/IdentityServer3 | source/Tests/UnitTests/TokenClients/Setup/Startup.cs | source/Tests/UnitTests/TokenClients/Setup/Startup.cs | using IdentityServer3.Core.Configuration;
using IdentityServer3.Core.Services;
using Microsoft.Owin.Builder;
using Owin;
namespace IdentityServer3.Tests.TokenClients
{
class TokenClientIdentityServer
{
public static AppBuilder Create()
{
AppBuilder app = new AppBuilder();
... | using IdentityServer3.Core.Configuration;
using IdentityServer3.Core.Services;
using Microsoft.Owin.Builder;
using Owin;
namespace IdentityServer3.Tests.TokenClients
{
class TokenClientIdentityServer
{
public static AppBuilder Create()
{
AppBuilder app = new AppBuilder();
... | apache-2.0 | C# |
328e47834e3abbc9f89e8e4c04bdb55d283a8ce0 | Add ASP.NET Core MapGet routing end point example. | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/ql/test/library-tests/dataflow/flowsources/aspremote/AspRemoteFlowSource.cs | csharp/ql/test/library-tests/dataflow/flowsources/aspremote/AspRemoteFlowSource.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
namespace Testing
{
public class ViewModel
{
public string RequestId { get; set; } // Considered tainted.
public object RequestIdField; // Not considered tainted as it is a field.
public string RequestIdOnlyGet { get; ... | using Microsoft.AspNetCore.Mvc;
namespace Testing
{
public class ViewModel
{
public string RequestId { get; set; } // Considered tainted.
public object RequestIdField; // Not considered tainted as it is a field.
public string RequestIdOnlyGet { get; } // Not considered tainted as there... | mit | C# |
947de2a4d16d4fbcff647a23561cde6817550f7c | Update Program.cs | relianz/s2i-aspnet-example,relianz/s2i-aspnet-example,relianz/s2i-aspnet-example | app/Program.cs | app/Program.cs | // using System;
// using System.Collections.Generic;
// using System.IO;
// using System.Linq;
// using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace WebApplication
{
public class Program
{
public static void Main(string[] args)
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace WebApplication
{
public class Program
{
public static void Main(string[] args)
{
... | apache-2.0 | C# |
550e959d293821d5d89293e71db60d27c45cfa3c | Update API | numenta/htmresearch,ywcui1990/htmresearch,ywcui1990/nupic.research,numenta/htmresearch,ywcui1990/nupic.research,numenta/htmresearch,cogmission/nupic.research,neuroidss/nupic.research,mrcslws/htmresearch,marionleborgne/nupic.research,chanceraine/nupic.research,numenta/htmresearch,subutai/htmresearch,mrcslws/htmresearch,... | vehicle-control/simulation/Assets/Scripts/API.cs | vehicle-control/simulation/Assets/Scripts/API.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using JsonFx;
public class DataDefinition {
public string name;
public string type;
}
public class API : MonoBehaviour {
public bool blockOnResponse = false;
public float updateRate = 30; // hertz
public float runSpeed = 1.0f;
pub... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using JsonFx;
public class DataDefinition {
public string name;
public string type;
}
public class API : MonoBehaviour {
public bool blockOnResponse = false;
public float updateRate = 30; // hertz
public float runSpeed = 1.0f;
pub... | agpl-3.0 | C# |
59b7de46883a5a1af40ef8f82aadd31f9b4fb3f4 | Update PostType.cs | vknet/vk,vknet/vk | VkNet/Enums/SafetyEnums/PostType.cs | VkNet/Enums/SafetyEnums/PostType.cs | using System;
namespace VkNet.Enums.SafetyEnums
{
/// <summary>
/// Тип записи post, copy, reply, postpone, suggest
/// </summary>
[Serializable]
public sealed class PostType : SafetyEnum<PostType>
{
/// <summary>
/// Запись на стене (по умолчанию);
/// v5.6+ - репосты имею тип "post"
/// </summary>
pu... | using System;
namespace VkNet.Enums.SafetyEnums
{
/// <summary>
/// Тип записи post, copy, reply, postpone, suggest
/// </summary>
[Serializable]
public sealed class PostType : SafetyEnum<PostType>
{
/// <summary>
/// Популярные за день (по умолчанию);
/// </summary>
public static readonly PostType Post... | mit | C# |
c707c7a4f6216c46518e5079658438e13fda9e02 | Use Be instead of BeEquivalentTo | beardgame/utilities | Bearded.Utilities.Testing/Core/MaybeAssertions.cs | Bearded.Utilities.Testing/Core/MaybeAssertions.cs | using FluentAssertions;
using FluentAssertions.Execution;
namespace Bearded.Utilities.Testing
{
public sealed class MaybeAssertions<T>
{
private readonly Maybe<T> subject;
public MaybeAssertions(Maybe<T> instance) => subject = instance;
[CustomAssertion]
public void Be... | using FluentAssertions;
using FluentAssertions.Execution;
namespace Bearded.Utilities.Testing
{
public sealed class MaybeAssertions<T>
{
private readonly Maybe<T> subject;
public MaybeAssertions(Maybe<T> instance) => subject = instance;
[CustomAssertion]
public void Be... | mit | C# |
2f0f104ae259a17bf15a81f79eed2a1f24e2d772 | Add the new scripts to each page | adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats | Website/Views/Shared/_Layout.cshtml | Website/Views/Shared/_Layout.cshtml | @model BroadbandSpeedStats.Models.SpeedTestResultRequest
<!-- Template from http://getbootstrap.com/examples/dashboard/ -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=... | @model BroadbandSpeedStats.Models.SpeedTestResultRequest
<!-- Template from http://getbootstrap.com/examples/dashboard/ -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=... | mit | C# |
19c295525c19f0657587bf17524221b97490e890 | Bump version | Coding-Enthusiast/BitcoinTransactionTool | BitcoinTransactionTool/Properties/AssemblyInfo.cs | BitcoinTransactionTool/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
faa991ce4d9540d42624416db97aed4431f8a539 | remove libc function signature comment | NickStrupat/CacheLineSize.NET | OSX.cs | OSX.cs | using System;
using System.Runtime.InteropServices;
namespace NickStrupat
{
internal static class OSX
{
public static Int32 GetSize()
{
IntPtr lineSize;
IntPtr sizeOfLineSize = (IntPtr) IntPtr.Size;
sysctlbyname("hw.cachelinesize", out lineSize, r... | using System;
using System.Runtime.InteropServices;
namespace NickStrupat
{
internal static class OSX
{
public static Int32 GetSize()
{
IntPtr lineSize;
IntPtr sizeOfLineSize = (IntPtr) IntPtr.Size;
sysctlbyname("hw.cachelinesize", out lineSize, r... | mit | C# |
66672b3c0b2b10435b792823e2c03306da008561 | fix incorrect link for glyph upload (#482) | neowutran/TeraDamageMeter,neowutran/ShinraMeter | Data/DpsServerData.cs | Data/DpsServerData.cs | using System;
namespace Data
{
public class DpsServerData
{
public Uri UploadUrl { get; set; }
public Uri AllowedAreaUrl { get; set; }
public Uri GlyphUrl { get; set; }
public string Username { get; set; }
public string Token { get; set; }
public bool Enabled {... | using System;
namespace Data
{
public class DpsServerData
{
public Uri UploadUrl { get; set; }
public Uri AllowedAreaUrl { get; set; }
public Uri GlyphUrl { get; set; }
public string Username { get; set; }
public string Token { get; set; }
public bool Enabled {... | mit | C# |
326a2c05eaf7ed2125642509327165ecb0cb5296 | Fix certificate generation not refreshing test | phogue/Potato,phogue/Potato,phogue/Potato | src/Procon.Setup.Test/Models/CertificateModelTest.cs | src/Procon.Setup.Test/Models/CertificateModelTest.cs | using System.Security.Cryptography.X509Certificates;
using NUnit.Framework;
using Procon.Service.Shared;
using Procon.Setup.Models;
namespace Procon.Setup.Test.Models {
[TestFixture]
public class CertificateModelTest {
/// <summary>
/// Tests a certificate will be generated and can be read by ... | using System.Security.Cryptography.X509Certificates;
using NUnit.Framework;
using Procon.Service.Shared;
using Procon.Setup.Models;
namespace Procon.Setup.Test.Models {
[TestFixture]
public class CertificateModelTest {
/// <summary>
/// Tests a certificate will be generated and can be read by ... | apache-2.0 | C# |
4ff77e9d164a59b77889d2ba936818f452e0c4a7 | Change "Countdown Clock" name | danielchalmers/DesktopWidgets | DesktopWidgets/Widgets/CountdownClock/Metadata.cs | DesktopWidgets/Widgets/CountdownClock/Metadata.cs | namespace DesktopWidgets.Widgets.CountdownClock
{
public static class Metadata
{
public const string FriendlyName = "Countdown";
}
} | namespace DesktopWidgets.Widgets.CountdownClock
{
public static class Metadata
{
public const string FriendlyName = "Countdown Clock";
}
} | apache-2.0 | C# |
368568adc6e3e98f8118ec1e61676bf88b4755c1 | Fix copy/paste bug in RenderOffsetCalculator | ethanmoffat/EndlessClient | EndlessClient/Rendering/RenderOffsetCalculator.cs | EndlessClient/Rendering/RenderOffsetCalculator.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using EOLib;
using EOLib.Domain.Character;
using EOLib.Domain.Extensions;
using EOLib.Domain.NPC;
namespace EndlessClient.Rendering
{
public class RenderOffsetCalcul... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using EOLib;
using EOLib.Domain.Character;
using EOLib.Domain.Extensions;
using EOLib.Domain.NPC;
namespace EndlessClient.Rendering
{
public class RenderOffsetCalcul... | mit | C# |
90a3abb6aa442779090799448a831ffd8ea5c8fc | Fix the help message of output_pattern | BigEggTools/JsonComparer | JsonComparer.Console/Parameters/SplitParameter.cs | JsonComparer.Console/Parameters/SplitParameter.cs | namespace BigEgg.Tools.JsonComparer.Parameters
{
using BigEgg.Tools.ConsoleExtension.Parameters;
[Command("split", "Split the big JSON file to multiple small files.")]
public class SplitParameter
{
[StringProperty("input", "i", "The path of JSON file to split.", Required = true)]
publi... | namespace BigEgg.Tools.JsonComparer.Parameters
{
using BigEgg.Tools.ConsoleExtension.Parameters;
[Command("split", "Split the big JSON file to multiple small files.")]
public class SplitParameter
{
[StringProperty("input", "i", "The path of JSON file to split.", Required = true)]
publi... | mit | C# |
cd11f17261b035bbe31fb10fcf88e968c1f73193 | add constant fields | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/Constants.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/Constants.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class Constants
{
#region App Config Values
// Test Settings
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class Constants
{
}
}
| apache-2.0 | C# |
fe947c2337990fb639e638e4357afa1654f92ee7 | Improve how much space we reserve for tag changes | haefele/SpotifyRecorder | SpotifyRecorder/Core/SpotifyRecorder.Core.Implementations/Services/ID3TagService.cs | SpotifyRecorder/Core/SpotifyRecorder.Core.Implementations/Services/ID3TagService.cs | using System.IO;
using System.Linq;
using SpotifyRecorder.Core.Abstractions.Entities;
using SpotifyRecorder.Core.Abstractions.Services;
using TagLib;
using TagLib.Id3v2;
using File = TagLib.File;
namespace SpotifyRecorder.Core.Implementations.Services
{
public class ID3TagService : IID3TagService
{
pu... | using System.IO;
using System.Linq;
using SpotifyRecorder.Core.Abstractions.Entities;
using SpotifyRecorder.Core.Abstractions.Services;
using TagLib;
using TagLib.Id3v2;
using File = TagLib.File;
namespace SpotifyRecorder.Core.Implementations.Services
{
public class ID3TagService : IID3TagService
{
pu... | mit | C# |
d698defdadae6485730cb573ea6fe3eb9de36dff | Test visual studio push | tpaananen/SeeSharpHttpLiveStreaming | SeeSharpLiveStreaming.Tests/Utils/RequireTests.cs | SeeSharpLiveStreaming.Tests/Utils/RequireTests.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using NUnit.Framework;
using SeeSharpHttpLiveStreaming.Utils;
namespace SeeSharpHttpLiveStreaming.Tests.Utils
{
[TestFixture]
public class RequireTests
{
[Test]
public void TestRequireThrowsArgumentNullE... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using NUnit.Framework;
using SeeSharpHttpLiveStreaming.Utils;
namespace SeeSharpHttpLiveStreaming.Tests.Utils
{
[TestFixture]
public class RequireTests
{
[Test]
public void TestRequireThrowsArgumentNullE... | mit | C# |
3daede6cdff88b52fa54f75832455663e9f3490a | remove 'b' suffix from the version number. | poderosaproject/poderosa,poderosaproject/poderosa,Chandu/poderosa,ArsenShnurkov/poderosa,ttdoda/poderosa,poderosaproject/poderosa,ttdoda/poderosa,poderosaproject/poderosa,Chandu/poderosa,ttdoda/poderosa,poderosaproject/poderosa,Chandu/poderosa,ttdoda/poderosa,ArsenShnurkov/poderosa,ArsenShnurkov/poderosa | Plugin/VersionInfo.cs | Plugin/VersionInfo.cs | /*
* Copyright 2004,2006 The Poderosa Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* $Id: VersionInfo.cs,v 1.13 2012/06/09 15:06:58 kzmi Exp $
*/
using System;
using System.Collections.Generic;
using System.Tex... | /*
* Copyright 2004,2006 The Poderosa Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* $Id: VersionInfo.cs,v 1.13 2012/06/09 15:06:58 kzmi Exp $
*/
using System;
using System.Collections.Generic;
using System.Tex... | apache-2.0 | C# |
dabdc72da0bda47a45a7c4571db2400aedf0b42e | Set default TextureUpload format to Rgba. | NeoAdonis/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,default0/osu-framework,paparony03/osu-framework,Tom94/osu-framework,NeoAdonis/osu-framework,ppy/osu-framework,default0/osu-framework,peppy/osu-framework,naoey/o... | osu.Framework/Graphics/OpenGL/Textures/TextureUpload.cs | osu.Framework/Graphics/OpenGL/Textures/TextureUpload.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.Drawing;
using OpenTK.Graphics.ES20;
namespace osu.Framework.Graphics.OpenGL.Textures
{
public class TextureUpload : ID... | //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.Drawing;
using OpenTK.Graphics.ES20;
namespace osu.Framework.Graphics.OpenGL.Textures
{
public class TextureUpload : ID... | mit | C# |
4ee6762ee57b0e746d96779f10fe2a5ccc1459e9 | Fix incorrect XML comment | martincostello/api,martincostello/api,martincostello/api | src/API/Models/TimeResponse.cs | src/API/Models/TimeResponse.cs | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Api.Models
{
using System;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
/// <summary>
... | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Api.Models
{
using System;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
/// <summary>
... | mit | C# |
5449ef951e2bad06a80aa15a492fdfcbceb28bc6 | Remove extra char that sneaked onto XML comment | autofac/Autofac | src/Autofac/ResolveRequest.cs | src/Autofac/ResolveRequest.cs | using System.Collections.Generic;
using Autofac.Core;
namespace Autofac
{
/// <summary>
/// The details of an individual request to resolve a service.
/// </summary>
public class ResolveRequest
{
/// <summary>
/// Initializes a new instance of the <see cref="ResolveRequest"/> class... | using System.Collections.Generic;
using Autofac.Core;
namespace Autofac
{
/// <summary>
/// The details of an individual request to resolve a service.
/// </summary>
public class ResolveRequest
{
/// <summary>
/// Initializes a new instance of the <see cref="ResolveRequest"/> class... | mit | C# |
eb6752e85ff8e6b0b599fd4584f4534a7e717c7b | Test Refactor, let tests | ajlopez/ClojSharp | Src/ClojSharp.Core.Tests/SpecialForms/LetTests.cs | Src/ClojSharp.Core.Tests/SpecialForms/LetTests.cs | namespace ClojSharp.Core.Tests.SpecialForms
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Compiler;
using ClojSharp.Core.Language;
using ClojSharp.Core.SpecialForms;
using Microsoft.VisualStudio.TestTools.UnitTestin... | namespace ClojSharp.Core.Tests.SpecialForms
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Compiler;
using ClojSharp.Core.Language;
using ClojSharp.Core.SpecialForms;
using Microsoft.VisualStudio.TestTools.UnitTestin... | mit | C# |
0c6e2e6f1eb4430616fc86bebd20a35ee002af79 | Add default_card parameter to update customer request. | ChadBurggraf/stripe-dotnet | src/StripeClient.Customers.cs | src/StripeClient.Customers.cs | using System;
using System.Linq;
using RestSharp;
using RestSharp.Validation;
namespace Stripe
{
public partial class StripeClient
{
public StripeObject CreateCustomer(ICreditCard card = null, string coupon = null, string email = null, string description = null, string plan = null, DateTimeOffset? trialEnd = nul... | using System;
using System.Linq;
using RestSharp;
using RestSharp.Validation;
namespace Stripe
{
public partial class StripeClient
{
public StripeObject CreateCustomer(ICreditCard card = null, string coupon = null, string email = null, string description = null, string plan = null, DateTimeOffset? trialEnd = nul... | mit | C# |
792319dfe99c0d4d0468f1f92b0e4c12c122b692 | Load TodoTxt files | ChrisWay/TodoTxt.Sharp | src/TodoTxt.Sharp/TaskFile.cs | src/TodoTxt.Sharp/TaskFile.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace TodoTxt.Sharp
{
public class TaskFile
{
private readonly string _path;
private bool _endsWithNewLine;
private DateTime _fileLastWriteTime;
public TaskFile(string path)
{
... | using System;
namespace TodoTxt.Sharp
{
public class TaskFile
{
private string _path;
public TaskFile(string path)
{
_path = path;
}
public void Save()
{
}
public void SaveAs(string path)
{
_path = ... | mit | C# |
4156aadb5d02f52d155761894de2cb5d2c4afdc3 | Prepare for December master merge | rajashekarusa/PnP-Sites-Core,Oaden/PnP-Sites-Core,Oaden/PnP-Sites-Core,comblox/PnP-Sites-Core,phillipharding/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,m-carter1/PnP-Sites-Core,Puzzlepart/PnP-Sites-Core,m-carter1/PnP-Sites-Core,PieterVeenstra/PnP-Sites-Core,philliphard... | Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs | Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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.
[asse... | using System.Reflection;
using System.Resources;
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.
[asse... | mit | C# |
d847f8f3a0db0b561058f3738ff3d0f92ed734de | Fix compiler errors | red-gate/RedGate.AppHost,nycdotnet/RedGate.AppHost | RedGate.AppHost.Example.Server/MainWindow.xaml.cs | RedGate.AppHost.Example.Server/MainWindow.xaml.cs | using System;
using System.AddIn.Pipeline;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using RedGate.AppHost.Interfaces;
using RedGate.AppHost.Server;
namespace RedGate.AppHost.Example.Server
{
public class ServiceLocator : MarshalByRefObject, IAppHostServices
... | using System;
using System.AddIn.Pipeline;
using System.Windows;
using RedGate.AppHost.Interfaces;
using RedGate.AppHost.Server;
namespace RedGate.AppHost.Example.Server
{
public class ServiceLocator : MarshalByRefObject, IAppHostServices
{
public T GetService<T>() where T : MarshalByRefObje... | apache-2.0 | C# |
17f5bd733f67b0aa0ca321aeaccbbe5e6b444db0 | Update Mobile.cs | jkanchelov/Telerik-OOP-Team-StarFruit | TeamworkStarFruit/CatalogueLib/Products/Mobile.cs | TeamworkStarFruit/CatalogueLib/Products/Mobile.cs | namespace CatalogueLib
{
using CatalogueLib.Products.Enumerations;
using CatalogueLib.Products.Struct;
using System.Text;
public abstract class Mobile : Product
{
public Mobile()
{
}
public Mobile(int ID, decimal price, bool isAvailable, Brand brand, int Memory, s... | namespace CatalogueLib
{
using CatalogueLib.Products.Enumerations;
using CatalogueLib.Products.Struct;
using System.Text;
public abstract class Mobile : Product
{
public Mobile()
{
}
public Mobile(int ID, decimal price, bool isAvailable, Brand brand, int Memory, s... | mit | C# |
27dd5104a40ebf2fb249278f2a5dc5730ae422ba | use IIS on azure | Sphiecoh/MusicStore,Sphiecoh/MusicStore | src/NancyMusicStore/Program.cs | src/NancyMusicStore/Program.cs | using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace NancyMusicStore
{
public class Program
{
static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWeb... | using System.IO;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace NancyMusicStore
{
public class Program
{
static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWeb... | mit | C# |
c72596c3b1831e6708956e9286124c740df0272d | Extend IResolver with new Resolver Methods | Domysee/Pather.CSharp | src/Pather.CSharp/IResolver.cs | src/Pather.CSharp/IResolver.cs | using System.Collections.Generic;
using Pather.CSharp.PathElements;
namespace Pather.CSharp
{
public interface IResolver
{
IList<IPathElementFactory> PathElementFactories { get; set; }
IList<IPathElement> CreatePath(string path);
object Resolve(object target, IList<IPathElement> pathE... | using System.Collections.Generic;
using Pather.CSharp.PathElements;
namespace Pather.CSharp
{
public interface IResolver
{
IList<IPathElementFactory> PathElementFactories { get; set; }
object Resolve(object target, string path);
}
} | mit | C# |
38ec2184d94f7be9b6dbab78e563804433c13919 | Update changeculture on master | adraut/code-cracker,ElemarJR/code-cracker,carloscds/code-cracker,jwooley/code-cracker,carloscds/code-cracker,AlbertoMonteiro/code-cracker,kindermannhubert/code-cracker,giggio/code-cracker,thomaslevesque/code-cracker,akamud/code-cracker,eriawan/code-cracker,code-cracker/code-cracker,thorgeirk11/code-cracker,code-cracker... | test/Common/CodeCracker.Test.Common/ChangeCulture.cs | test/Common/CodeCracker.Test.Common/ChangeCulture.cs | using System;
using System.Globalization;
using System.Threading;
namespace CodeCracker.Test
{
public class ChangeCulture : IDisposable
{
private readonly CultureInfo originalCulture;
private readonly CultureInfo originalUICulture;
private readonly CultureInfo originalDefaultCulture;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeCracker.Test
{
public class ChangeCulture : IDisposable
{
public ChangeCulture(string cultureName)
{
System.Threading.Thread.CurrentThread.CurrentCultur... | apache-2.0 | C# |
c01b18f02fb617f3e31004775500080d9243d9c1 | Adjust expected testcase value | NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu,EVAST9919/osu,naoey/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,smoogipooo/osu,DrabWeb/osu,DrabWeb/osu,johnneijzen/osu,peppy/osu-new,DrabWeb/osu,naoey/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,Z... | osu.Game.Rulesets.Catch.Tests/CatchDifficultyCalculatorTest.cs | osu.Game.Rulesets.Catch.Tests/CatchDifficultyCalculatorTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Difficulty;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Tests.Beatmaps;
namespace os... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Difficulty;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Tests.Beatmaps;
namespace os... | mit | C# |
ddc1ad848e3334f68d0d56ae2ffc0234f75d15b2 | Fix failing test | ZLima12/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,DrabWeb/osu,johnneijzen/osu,naoey/osu,EVAST9919/osu,smoogipooo/osu,2yangk23/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,DrabWeb/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu,DrabWeb/osu,ppy/osu,naoey/osu,NeoAdonis/osu,smo... | osu.Game.Rulesets.Taiko.Tests/TaikoDifficultyCalculatorTest.cs | osu.Game.Rulesets.Taiko.Tests/TaikoDifficultyCalculatorTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Taiko.Difficulty;
using osu.Game.Tests.Beatmaps;
namespace os... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Taiko.Difficulty;
using osu.Game.Tests.Beatmaps;
namespace os... | mit | C# |
8cec81a5e7db13a89fee88d94f1a0a9da36b0d4f | add logging _AssetPath at ResourceLoadSpreadSheet | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/SpreadSheetLoader/SpreadSheetUnityLoader.cs | Unity/SpreadSheetLoader/SpreadSheetUnityLoader.cs | /**
MIT License
Copyright (c) 2017 NDark
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, merge, publish, distr... | /**
MIT License
Copyright (c) 2017 NDark
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, merge, publish, distr... | mit | C# |
cbc74e3963c35e717cbc429ebc8a3fb7a56ee691 | Reformat code. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Tests/UnitTests/TestBlockProvider.cs | WalletWasabi.Tests/UnitTests/TestBlockProvider.cs | using NBitcoin;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Wallets;
namespace WalletWasabi.Tests.UnitTests
{
public class TestBlockProvider : IBlockProvider
{
public TestBlockProvider(Dictionary<uint256, Block> blocks)
{
Blocks = blocks;
}
p... | using NBitcoin;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Wallets;
namespace WalletWasabi.Tests.UnitTests
{
public class TestBlockProvider : IBlockProvider
{
private Dictionary<uint256, Block> Blocks { get; }
public TestBlockProvider(Dictionary<ui... | mit | C# |
a90681a22da8bdf06d85de0b6fce9c52327c8a47 | Add contains function to RectD class | brnkhy/MapzenGo,brnkhy/MapzenGo | Assets/MapzenGo/Helpers/VectorD/RectD.cs | Assets/MapzenGo/Helpers/VectorD/RectD.cs | using UnityEngine;
using System.Collections;
public class RectD
{
public Vector2d Min { get; private set; }
public Vector2d Size { get; private set; }
public Vector2d Center
{
get
{
return new Vector2d(Min.x + Size.x / 2, Min.y + Size.y / 2);
}
set
... | using UnityEngine;
using System.Collections;
public class RectD
{
public Vector2d Min { get; private set; }
public Vector2d Size { get; private set; }
public Vector2d Center
{
get
{
return new Vector2d(Min.x + Size.x / 2, Min.y + Size.y / 2);
}
set
... | mit | C# |
c101d629be13cc47a81b9d5776254cb140a6f812 | Set RenderProcessMessageHandler and LoadHandler to null on Dispose Reoder so they match the order in IWebBrowser so they're easier to compare | jamespearce2006/CefSharp,jamespearce2006/CefSharp,wangzheng888520/CefSharp,dga711/CefSharp,dga711/CefSharp,dga711/CefSharp,VioletLife/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,wangzheng888520/CefSharp,dga711/CefSharp,Livit/CefSharp,VioletLife/CefSharp,Livit/CefSharp,VioletLife/CefSharp,w... | CefSharp/InternalWebBrowserExtensions.cs | CefSharp/InternalWebBrowserExtensions.cs | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using CefSharp.Internals;
namespace CefSharp
{
internal static class InternalWebBrowserExtensions
{
internal static void SetHandl... | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using CefSharp.Internals;
namespace CefSharp
{
internal static class InternalWebBrowserExtensions
{
internal static void SetHandl... | bsd-3-clause | C# |
10b9a5d86eaa731ca4c4111550cb4188931cf018 | Update names of tests | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving | src/MobileApps/MyDriving/MyDriving.UITests/Tests/LoginTests.cs | src/MobileApps/MyDriving/MyDriving.UITests/Tests/LoginTests.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using NUnit.Framework;
using Xamarin.UITest;
namespace MyDriving.UITests
{
public class LoginTests : AbstractSetup
{
public LoginTests(Platform platform) :... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using NUnit.Framework;
using Xamarin.UITest;
namespace MyDriving.UITests
{
public class LoginTests : AbstractSetup
{
public LoginTests(Platform platform) :... | mit | C# |
eff1346f4fe23d03fc21a3c091bd9ce0b8612e3d | Use synchronous socket method if data is available. Fixes #164 | mysql-net/MySqlConnector,mysql-net/MySqlConnector | src/MySqlConnector/Protocol/Serialization/SocketByteHandler.cs | src/MySqlConnector/Protocol/Serialization/SocketByteHandler.cs | using System;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace MySql.Data.Protocol.Serialization
{
internal sealed class SocketByteHandler : IByteHandler
{
public SocketByteHandler(Socket socket)
{
m_socket = socket;
var socketEventArgs = new SocketAsyncEventArgs();
m_socketAwaitable =... | using System;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace MySql.Data.Protocol.Serialization
{
internal sealed class SocketByteHandler : IByteHandler
{
public SocketByteHandler(Socket socket)
{
m_socket = socket;
var socketEventArgs = new SocketAsyncEventArgs();
m_socketAwaitable =... | mit | C# |
ece1aef4dd140b603e9037852e273595e6c4e18c | Fix failing get alias tests | CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net | src/Tests/Indices/AliasManagement/GetAlias/GetAliasApiTests.cs | src/Tests/Indices/AliasManagement/GetAlias/GetAliasApiTests.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
namespace Tests.Indices.AliasManagement.GetAlias
{
public class GetAliasApiTests : ApiIntegrationTestBase<R... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
namespace Tests.Indices.AliasManagement.GetAlias
{
public class GetAliasApiTests : ApiIntegrationTestBase<R... | apache-2.0 | C# |
6e2b3ae1d16f45ec025ceb012cfb25046d68b51c | move config loading to after logging config in ConfigR.Tests.Smoke.Service | config-r/config-r | tests/ConfigR.Tests.Smoke.Service/Program.cs | tests/ConfigR.Tests.Smoke.Service/Program.cs | // <copyright file="Program.cs" company="ConfigR contributors">
// Copyright (c) ConfigR contributors. (configr.net@gmail.com)
// </copyright>
namespace ConfigR.Tests.Smoke.Service
{
using System;
using System.Threading.Tasks;
using ConfigR;
using ConfigR.Tests.Smoke.Service.Logging;
us... | // <copyright file="Program.cs" company="ConfigR contributors">
// Copyright (c) ConfigR contributors. (configr.net@gmail.com)
// </copyright>
namespace ConfigR.Tests.Smoke.Service
{
using System;
using System.Threading.Tasks;
using ConfigR;
using ConfigR.Tests.Smoke.Service.Logging;
us... | mit | C# |
0850b533d8d4016b7200f84c491d5cfb407c5106 | Fix revision number of support libraries to 0 | jskeet/google-api-dotnet-client,chrisdunelm/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,ivannaranjo/google-api-dotnet-client,ivannaranjo/google-api-dotnet-client,chrisdunelm/google-api-dotnet-client,ivannaranjo/google-api-dotnet-client,jskeet/google-api-dotnet-client,Duikmeester/google-api-dotnet-clie... | Src/Support/CommonAssemblyInfo.cs | Src/Support/CommonAssemblyInfo.cs | /*
Copyright 2015 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | /*
Copyright 2015 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | apache-2.0 | C# |
d9116a7184a7ab89d2eb4969c2316ea4a889598e | Disable parallelization | rmandvikar/csharp-trie,rmandvikar/csharp-trie | tests/rm.TrieTest/Properties/AssemblyInfo.cs | tests/rm.TrieTest/Properties/AssemblyInfo.cs | using NUnit.Framework;
[assembly: Parallelizable(ParallelScope.None)]
| using NUnit.Framework;
[assembly: Parallelizable(ParallelScope.All)]
| mit | C# |
7b7c631244de8430b92a31bb2ece3439e041a08d | Stop filtering out stop words in package ids and titles. | KuduApps/NuGetGallery,KuduApps/NuGetGallery,KuduApps/NuGetGallery,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,pr... | Website/Infrastructure/Lucene/PerFieldAnalyzer.cs | Website/Infrastructure/Lucene/PerFieldAnalyzer.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.Standard;
namespace NuGetGallery
{
public class PerFieldAnalyzer : PerFieldAnalyzerWrapper
{
public PerFieldAnalyzer()
: base(new StandardAnalyzer... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.Standard;
namespace NuGetGallery
{
public class PerFieldAnalyzer : PerFieldAnalyzerWrapper
{
public PerFieldAnalyzer()
: base(new StandardAnalyzer... | apache-2.0 | C# |
c09346080f492714f850aac2f004553e24c76d27 | Remove the unused desktop project variable | naoey/osu,ZLima12/osu,peppy/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,naoey/osu,DrabWeb/osu,2yangk23/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,naoey/osu,NeoAdonis/osu,DrabWeb/osu,johnneijzen/osu,ZLima12/osu,peppy/osu-new,EVAST9919/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,EVAS... | build/build.cake | build/build.cake | #addin "nuget:?package=CodeFileSanity&version=0.0.21"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2018.2.2"
#tool "nuget:?package=NVika.MSBuild&version=1.0.1"
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
///////////////////////////////////////////////////////... | #addin "nuget:?package=CodeFileSanity&version=0.0.21"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2018.2.2"
#tool "nuget:?package=NVika.MSBuild&version=1.0.1"
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
///////////////////////////////////////////////////////... | mit | C# |
f343edf6822de6ac77480944ff77e7428a15b4fe | update structure to allow score difference calc | agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov | WebAPI.API/DataStructures/TopAddressCandidates.cs | WebAPI.API/DataStructures/TopAddressCandidates.cs | using System.Collections.Generic;
using WebAPI.Common.DataStructures;
using WebAPI.Domain.ArcServerResponse.Geolocator;
namespace WebAPI.API.DataStructures
{
public class TopAddressCandidates : TopNList<Candidate>
{
public TopAddressCandidates(int size, IComparer<Candidate> comparer)
: bas... | using System.Collections.Generic;
using WebAPI.Common.DataStructures;
using WebAPI.Domain.ArcServerResponse.Geolocator;
namespace WebAPI.API.DataStructures
{
public class TopAddressCandidates : TopNList<Candidate>
{
public TopAddressCandidates(int size, IComparer<Candidate> comparer)
: bas... | mit | C# |
99df6b620c0c87be8b1fabadc461cdbe3d6e348f | fix timespan const | AdmiralPotato/ggj2013,AdmiralPotato/ggj2013,AdmiralPotato/ggj2013 | Server/Web/Enemy.cs | Server/Web/Enemy.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebGame
{
public class Enemy : Ship
{
public override string Type
{
get
{
return "Enemy";
}
}
private static TimeSpan reFireTime =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebGame
{
public class Enemy : Ship
{
public override string Type
{
get
{
return "Enemy";
}
}
private const TimeSpan reFireTime = ... | mit | C# |
b61d8563c19f0d0e45ebc3ae6435598d5fd0bfd0 | Implement transform to tree for option as skeleton only | jagrem/slang,jagrem/slang,jagrem/slang | slang/Lexing/Trees/Transformers/OptionRuleExtensions.cs | slang/Lexing/Trees/Transformers/OptionRuleExtensions.cs | using slang.Lexing.Rules.Extensions;
using slang.Lexing.Trees.Nodes;
namespace slang.Lexing.Trees.Transformers
{
public static class OptionRuleExtensions
{
public static Tree Transform (this Option rule, Node parent)
{
return new Tree ();
}
}
}
| using slang.Lexing.Rules.Extensions;
using slang.Lexing.Trees.Nodes;
namespace slang.Lexing.Trees.Transformers
{
public static class OptionRuleExtensions
{
public static Node Transform (this Option rule, Node parent)
{
var option = rule.Value.Transform (parent);
return ... | mit | C# |
e300072cf744119647e24c9760cd13ed19d03724 | Update run.csx | he3/afunc | a/run.csx | a/run.csx | using System.Net;
public static string Run(HttpRequestMessage req, TraceWriter log)
{
//log.Info($"C# Timer trigger function executed at: {DateTime.Now}");
string data;
try
{
using (var client = new WebClient())
{
// test comment.4
data = client.DownloadSt... | using System.Net;
public static string Run(HttpRequestMessage req, TraceWriter log)
{
//log.Info($"C# Timer trigger function executed at: {DateTime.Now}");
string data;
try
{
using (var client = new WebClient())
{
// test comment.3
data = client.DownloadSt... | mit | C# |
ca13c37a90e03f9ba53f064920879f89d424ec24 | update version | jefking/King.Service.ServiceFabric | King.Service.ServiceFabric/Properties/AssemblyInfo.cs | King.Service.ServiceFabric/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("King.Service.ServiceFabric")]
[assembly: AssemblyDescription("Task scheduling for Service Fabric.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("King.Service.ServiceFabric")]
... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("King.Service.ServiceFabric")]
[assembly: AssemblyDescription("Task scheduling for Service Fabric.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("King.Service.ServiceFabric")]
... | mit | C# |
eecabebf18222c06c487e1d6093939e210c72a27 | Update AssemblyVersion | hotelde/regtesting | RegTesting.Tests.Framework/Properties/AssemblyInfo.cs | RegTesting.Tests.Framework/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("Re... | 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("Re... | apache-2.0 | C# |
4e7995c5afc6c2b0a96d7f430714c34faa6f9127 | Update framework version | hotelde/regtesting | RegTesting.Tests.Framework/Properties/AssemblyInfo.cs | RegTesting.Tests.Framework/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("Re... | 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("Re... | apache-2.0 | C# |
301de2a0417edca781aacb7c8a5dd4feafec9cb7 | Remove unused fields | Ackara/Daterpillar | src/Daterpillar.Core/Index.cs | src/Daterpillar.Core/Index.cs | using System.Collections.Generic;
using System.Xml.Serialization;
namespace Gigobyte.Daterpillar
{
/// <summary>
/// Represents a database index.
/// </summary>
public class Index
{
public Index()
{
Columns = new List<IndexColumn>();
}
public Table Tabl... | using System.Collections.Generic;
using System.Xml.Serialization;
namespace Gigobyte.Daterpillar
{
/// <summary>
/// Represents a database index.
/// </summary>
public class Index
{
public Index()
{
Columns = new List<IndexColumn>();
}
public Table Tabl... | mit | C# |
2f35cd90d2011191e8801f17736fa9b83711c24c | Add Reopened state | Secullum/GitLabApi | src/GitLabApi/Models/Issue.cs | src/GitLabApi/Models/Issue.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace GitLabApi.Models
{
public class Issue
{
public enum IssueState
{
[JsonProperty("opened")]
Opened,
[JsonProperty("closed")]
Closed,
[JsonProperty("reopene... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace GitLabApi.Models
{
public class Issue
{
public enum IssueState
{
[JsonProperty("opened")]
Opened,
[JsonProperty("closed")]
Closed
}
[JsonProperty("i... | mit | C# |
b9a5e984f1b5cbc13ce7266bd17f908ea924315d | Test that finds members with "admin" in username now works when there's more than one. | versionone/VersionOne.SDK.NET.APIClient,versionone/VersionOne.SDK.NET.APIClient | APIClient.Tests/QueryTests/QueryFindTester.cs | APIClient.Tests/QueryTests/QueryFindTester.cs | using NUnit.Framework;
namespace VersionOne.SDK.APIClient.Tests.QueryTests
{
[TestFixture]
public class QueryFindTester
{
private EnvironmentContext _context;
[TestFixtureSetUp]
public void TestFixtureSetup()
{
_context = new EnvironmentContext();
}
... | using NUnit.Framework;
namespace VersionOne.SDK.APIClient.Tests.QueryTests
{
[TestFixture]
public class QueryFindTester
{
private EnvironmentContext _context;
[TestFixtureSetUp]
public void TestFixtureSetup()
{
_context = new EnvironmentContext();
}
... | bsd-3-clause | C# |
738e06ae1d025ccc197702c8d29de35f318eb887 | Use tracker1 & tracker2 | JohanLarsson/Gu.State,JohanLarsson/Gu.State,JohanLarsson/Gu.ChangeTracking | Gu.State.Tests/Internals/Collections/RefCountCollectionTests.cs | Gu.State.Tests/Internals/Collections/RefCountCollectionTests.cs | namespace Gu.State.Tests.Internals.Collections
{
using System;
using Moq;
using NUnit.Framework;
public class RefCountCollectionTests
{
[Test]
public void GetOrAddSameReturnsSame()
{
var collection = new RefCountCollection<IDisposable>();
var s1 = n... | namespace Gu.State.Tests.Internals.Collections
{
using System;
using Moq;
using NUnit.Framework;
public class RefCountCollectionTests
{
[Test]
public void GetOrAddSameReturnsSame()
{
var collection = new RefCountCollection<IDisposable>();
var s1 = n... | mit | C# |
3c3948bf8d0e26ef54de76165aeb67f80a8920f1 | Mark field as const instead of static readonly | Kingloo/Pingy | src/Gui/App.xaml.cs | src/Gui/App.xaml.cs | using System;
using System.IO;
using System.Windows;
using System.Windows.Threading;
using Pingy.Common;
namespace Pingy.Gui
{
public partial class App : Application
{
private static readonly string defaultDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private co... | using System;
using System.IO;
using System.Windows;
using System.Windows.Threading;
using Pingy.Common;
namespace Pingy.Gui
{
public partial class App : Application
{
private readonly static string defaultDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
private re... | unlicense | C# |
5f7e000f2fd22e35349da464fa2c1583c4dd8c14 | Update sample to use AggregateAB | haithemaraissia/Xamarin.Mobile,xamarin/Xamarin.Mobile,orand/Xamarin.Mobile,xamarin/Xamarin.Mobile,moljac/Xamarin.Mobile,nexussays/Xamarin.Mobile | MonoDroid/Samples/ContactsSample/Activity1.cs | MonoDroid/Samples/ContactsSample/Activity1.cs | using System.Text;
using Android.App;
using Android.Database;
using Android.Net;
using Android.OS;
using Android.Provider;
using Android.Widget;
using Xamarin.Contacts;
using System.Linq;
namespace ContactsSample
{
[Activity(Label = "ContactsSample", MainLauncher = true, Icon = "@drawable/icon")]
public class Activ... | using System.Text;
using Android.App;
using Android.Database;
using Android.Net;
using Android.OS;
using Android.Provider;
using Android.Widget;
using Xamarin.Contacts;
using System.Linq;
namespace ContactsSample
{
[Activity(Label = "ContactsSample", MainLauncher = true, Icon = "@drawable/icon")]
public class Activ... | apache-2.0 | C# |
144863efd1c5d94a75a9834ea3dc9ffc72cffdec | Remove TextEdit type's dependency on IScriptExtent | dlwyatt/PSScriptAnalyzer,daviwil/PSScriptAnalyzer,PowerShell/PSScriptAnalyzer | Engine/TextEdit.cs | Engine/TextEdit.cs | namespace Microsoft.Windows.PowerShell.ScriptAnalyzer
{
/// <summary>
/// Class to provide information about an edit
/// </summary>
public class TextEdit
{
/// <summary>
/// 1-based line number on which the text, which needs to be replaced, starts.
/// </summary>
pub... | using System;
using System.Management.Automation.Language;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer
{
/// <summary>
/// Class to provide information about an edit
/// </summary>
public class TextEdit
{
public IScriptExtent ScriptExtent { get; private set; }
public int ... | mit | C# |
79402c50fa02faa9bd192eac1348217adc6b677f | Use NavigateAndReset | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/NavBarItemViewModel.cs | WalletWasabi.Fluent/ViewModels/NavBarItemViewModel.cs | using ReactiveUI;
using System;
using System.Reactive;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels
{
public abstract class NavBarItemViewModel : ViewModelBase, IRoutableViewModel
{
private NavigationStateViewModel _navigationState;
private NavigationTarget _navigationTarget;
pri... | using ReactiveUI;
using System;
using System.Reactive;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels
{
public abstract class NavBarItemViewModel : ViewModelBase, IRoutableViewModel
{
private NavigationStateViewModel _navigationState;
private NavigationTarget _navigationTarget;
pri... | mit | C# |
c04f2b0840ded76704dc37210273285d2bf8200a | Reposition taiko playfield to be closer to the top of the screen | UselessToucan/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,ppy/osu | osu.Game.Rulesets.Taiko/UI/TaikoPlayfieldAdjustmentContainer.cs | osu.Game.Rulesets.Taiko/UI/TaikoPlayfieldAdjustmentContainer.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.Game.Rulesets.UI;
using osuTK;
namespace osu.Game.Rulesets.Taiko.UI
{
public class TaikoPlayfieldAdjustmentCont... | // 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.Game.Rulesets.UI;
using osuTK;
namespace osu.Game.Rulesets.Taiko.UI
{
public class TaikoPlayfieldAdjustmentCont... | mit | C# |
f11bca733aa0b8b85ec9cdecb59b2c2d371e8e12 | Make the green slightly darker, so that the text is readable. | ThomasArdal/NuGetPackageVisualizer | DgmlColorConfiguration.cs | DgmlColorConfiguration.cs | namespace NuGetPackageVisualizer
{
public class DgmlColorConfiguration : IColorConfiguration
{
public string VersionMismatchPackageColor
{
get { return "#FF0000"; }
}
public string PackageHasDifferentVersionsColor
{
get { return "#FCE4... | namespace NuGetPackageVisualizer
{
public class DgmlColorConfiguration : IColorConfiguration
{
public string VersionMismatchPackageColor
{
get { return "#FF0000"; }
}
public string PackageHasDifferentVersionsColor
{
get { return "#FCE4... | apache-2.0 | C# |
5c51d95bedc2664e48d839c29b08d5e049e7f910 | Make Actions direct property | XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactivity/Trigger.cs | src/Avalonia.Xaml.Interactivity/Trigger.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia.Metadata;
namespace Avalonia.Xaml.Interactivity
{
/// <summary>
/// A base class for behaviors, implementing the basic plumbing of <seeals... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia.Metadata;
namespace Avalonia.Xaml.Interactivity
{
/// <summary>
/// A base class for behaviors, implementing the basic plumbing of <seeals... | mit | C# |
512cc835a4919fe0cac9676c2b5c048ec10c48c7 | Disable logging so the performance profiling is more accurate. | mchaloupka/DotNetR2RMLStore,mchaloupka/EVI | src/Slp.Evi.Storage/Slp.Evi.Test.System/Sparql/SparqlFixture.cs | src/Slp.Evi.Storage/Slp.Evi.Test.System/Sparql/SparqlFixture.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Slp.Evi.Storage;
using Slp.Evi.Storage.Bootstrap;
using Slp.Evi.Storage.Database;
namespace Slp.Evi.Test.System.Sparql
{
public abstract class SparqlFixture
{
... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Slp.Evi.Storage;
using Slp.Evi.Storage.Bootstrap;
using Slp.Evi.Storage.Database;
namespace Slp.Evi.Test.System.Sparql
{
public abstract class SparqlFixture
{
... | mit | C# |
73e5e0c58b3031d43fe4384c10e10e32e28fdf3c | Update ClientContext.cs | hprose/hprose-dotnet | src/Hprose.RPC/ClientContext.cs | src/Hprose.RPC/ClientContext.cs | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | mit | C# |
113d7815c2133dcea906ceab59d74dd50a6da369 | Make internals visible to UnitTests | nats-io/csnats | src/NATS.Client/Properties/AssemblyInfo.cs | src/NATS.Client/Properties/AssemblyInfo.cs | using System.Runtime.CompilerServices;
// Since NATS.Client is signed, friends must be signed too.
// We use the same SNK for simplicity.
// https://docs.microsoft.com/en-us/dotnet/standard/assembly/create-signed-friend
#if DEBUG
[assembly: InternalsVisibleTo("UnitTests")]
[assembly: InternalsVisibleTo("MicroBenchmar... | using System.Runtime.CompilerServices;
// Since NATS.Client is signed, friends must be signed too.
// We use the same SNK for simplicity.
// https://docs.microsoft.com/en-us/dotnet/standard/assembly/create-signed-friend
#if DEBUG
[assembly: InternalsVisibleTo("UnitTests")]
[assembly: InternalsVisibleTo("MicroBenchmar... | mit | C# |
1a3583aca887e81e6aa8d6919c027685f60d0d14 | Add some basic doco to ICompletionCallback | rlmcneary2/CefSharp,AJDev77/CefSharp,wangzheng888520/CefSharp,ITGlobal/CefSharp,illfang/CefSharp,dga711/CefSharp,haozhouxu/CefSharp,haozhouxu/CefSharp,twxstar/CefSharp,twxstar/CefSharp,Haraguroicha/CefSharp,AJDev77/CefSharp,Livit/CefSharp,illfang/CefSharp,VioletLife/CefSharp,wangzheng888520/CefSharp,dga711/CefSharp,Liv... | CefSharp/ICompletionCallback.cs | CefSharp/ICompletionCallback.cs | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
/// <summary>
/// Generic callback interface used for asynchronous completion.
/// </summary>
public interfa... | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public interface ICompletionCallback
{
void OnComplete();
}
}
| bsd-3-clause | C# |
80412ba14dc9a300400f9b62a48e6bc81db94c14 | Update version | gigya/microdot | SolutionVersion.cs | SolutionVersion.cs | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THI... | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THI... | apache-2.0 | C# |
e2fe1c82608244e3bb77596079f7884bff8beaaf | Refactor IValueConnector for Deploy | dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,mattbrailsford/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,hfloyd/Umbraco-CMS,abryukhov/Umbraco-CMS,madsoulswe/Umbraco-CMS,arknu/Umbraco-CMS,tcmorris/Umbraco-CMS,KevinJump/Umbraco-CMS,mattbrailsford/Umbraco-CMS,hf... | src/Umbraco.Core/Deploy/IValueConnector.cs | src/Umbraco.Core/Deploy/IValueConnector.cs | using System.Collections.Generic;
using Umbraco.Core.Models;
namespace Umbraco.Core.Deploy
{
/// <summary>
/// Defines methods that can convert a property value to / from an environment-agnostic string.
/// </summary>
/// <remarks>Property values may contain values such as content identifiers, that wo... | using System.Collections.Generic;
using Umbraco.Core.Models;
namespace Umbraco.Core.Deploy
{
/// <summary>
/// Defines methods that can convert a property value to / from an environment-agnostic string.
/// </summary>
/// <remarks>Property values may contain values such as content identifiers, that wo... | mit | C# |
3c074f5436598cbbf1a4eeb2ff48b68d455a937d | Update DBInitializer.cs | tiagocesar/sharp-blog,tiagocesar/sharp-blog,tiagocesar/sharp-blog | Entities/DBInitializer.cs | Entities/DBInitializer.cs | using System.Data.Entity;
using Entities.Models;
namespace Entities
{
public class DBInitializer : CreateDatabaseIfNotExists<BlogContext>
{
protected override void Seed(BlogContext context)
{
context.Users.Add(new UsersEntity
{
Name = "Default user",
Email = "me@someone.com",
Password = "12345"... | using System.Data.Entity;
using Entities.Models;
namespace Entities
{
public class DBInitializer : CreateDatabaseIfNotExists<BlogContext>
{
protected override void Seed(BlogContext context)
{
context.Users.Add(new UsersEntity
{
Name = "Default user",
Email = "me@someone.com",
Password = "12345"... | mit | C# |
64c4239b31ce5a203e3d5bd87178e7ce39995e22 | Replace FullName with Name on ModelTypeInfo. | toddams/RazorLight,toddams/RazorLight | src/RazorLight/ModelTypeInfo.cs | src/RazorLight/ModelTypeInfo.cs | using System;
using System.Dynamic;
using RazorLight.Extensions;
namespace RazorLight
{
/// <summary>
/// Stores information about model of the template page
/// </summary>
public class ModelTypeInfo
{
/// <summary>
/// Indicates whether given model is not a dynamic or anonymous object
/// </summary>
pub... | using System;
using System.Dynamic;
using RazorLight.Extensions;
namespace RazorLight
{
/// <summary>
/// Stores information about model of the template page
/// </summary>
public class ModelTypeInfo
{
/// <summary>
/// Indicates whether given model is not a dynamic or anonymous object
/// </summary>
pub... | apache-2.0 | C# |
219e696ef701090df2e88a1435b1c13ce9a45940 | Test can get by LINQ statement | TheEadie/LazyLibrary,TheEadie/LazyStorage,TheEadie/LazyStorage | LazyLibraryTests/Storage/Memory/MemoryRepositoryTests.cs | LazyLibraryTests/Storage/Memory/MemoryRepositoryTests.cs | using LazyLibrary.Storage;
using LazyLibrary.Storage.Memory;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace LazyLibrary.Tests.Storage.Memory
{
[TestClass]
public class MemoryRepositoryTests
{
[TestMethod]
public void CanAdd()
{
... | using LazyLibrary.Storage;
using LazyLibrary.Storage.Memory;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
namespace LazyLibrary.Tests.Storage.Memory
{
[TestClass]
public class MemoryRepositoryTests
{
[TestMethod]
public void CanAdd()
{
... | mit | C# |
ba41e77ddc49cbc6601f9dbc3966685023df6392 | Update DownloadInfo | witoong623/TirkxDownloader,witoong623/TirkxDownloader | Framework/DownloadInfo.cs | Framework/DownloadInfo.cs | using System;
using System.Collections.Generic;
using System.IO;
using Caliburn.Micro;
namespace TirkxDownloader.Framework
{
public enum DownloadStatus { Queue, Complete, Downloading, Error, Preparing, Stop }
public class DownloadInfo : PropertyChangedBase
{
private string fileName;
priva... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TirkxDownloader.Framework
{
public enum DownloadStatus { Queue, Complete, Downloading, Error }
public class DownloadInfo
{
public string FileName { get; set; }
pub... | mit | C# |
0fa5640e2c174b47b1994fbc73e2be029ad4b7e2 | Add apply command. | mminns/xwt,TheBrainTech/xwt,akrisiun/xwt,hwthomas/xwt,sevoku/xwt,mono/xwt,steffenWi/xwt,mminns/xwt,directhex/xwt,antmicro/xwt,hamekoz/xwt,lytico/xwt,cra0zy/xwt,iainx/xwt,residuum/xwt | Xwt/Xwt/Command.cs | Xwt/Xwt/Command.cs | //
// Command.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// 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, ... | //
// Command.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// 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, ... | mit | C# |
16ed9b2bac5ef06b170b2894b29a5bccb94df9b9 | set WebTest to be using a stronger object type | Nibons/OperationsDashboard,Nibons/OperationsDashboard,Nibons/OperationsDashboard,Nibons/OperationsDashboard | HostConnection/WebTest.cs | HostConnection/WebTest.cs | using System;
using System.Net;
namespace OperationsDashboard.Common
{
public class WebTest
{
public WebClient WebClient { get; private set; }
public IPAddress IpAddress;
public string Hostname;
public Uri url;
public WebTest(string url, IPAddress IpAddress)
{
... | using System;
using System.Net;
namespace OperationsDashboard.Common
{
public class WebTest
{
public WebClient WebClient { get; private set; }
private string IpAddress;
private string Hostname;
private string url;
public WebTest(string url,string originalHostname,string... | mit | C# |
d610cb98fac40a711ab0957dcceffcf3fea65617 | fix GenderUtils | petrovich/petrovich-net | NPetrovich/Utils/GenderUtils.cs | NPetrovich/Utils/GenderUtils.cs | using System.Globalization;
namespace NPetrovich.Utils
{
public static class GenderUtils
{
private const string ExceptionMessage = "You must specify middle name to detect gender";
private const string ParameterName = "middleName";
public static Gender Detect(string middleName)
... | using System.Globalization;
namespace NPetrovich.Utils
{
public static class GenderUtils
{
private const string ExceptionMessage = "You must specify middle name to detect gender";
private const string ParameterName = "middleName";
public static Gender Detect(string middleName)
... | mit | C# |
0b8fa336372968362c4b7017f696078312fe0107 | remove errors from MD console while executing. Fix bug #1396 | sakthivelnagarajan/monotouch-samples,iFreedive/monotouch-samples,xamarin/monotouch-samples,haithemaraissia/monotouch-samples,sakthivelnagarajan/monotouch-samples,kingyond/monotouch-samples,labdogg1003/monotouch-samples,W3SS/monotouch-samples,hongnguyenpro/monotouch-samples,nelzomal/monotouch-samples,hongnguyenpro/monot... | Keychain/Keychain/Main.cs | Keychain/Keychain/Main.cs | //
// Shows how to use the MonoTouch.Security stack on iOS5 to
// securely store a password on the KeyChain.
//
// This API is not particularly user-friendly
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.S... | //
// Shows how to use the MonoTouch.Security stack on iOS5 to
// securely store a password on the KeyChain.
//
// This API is not particularly user-friendly
//
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.Security;
namespace Keyc... | mit | C# |
062067163a2242a47853c478bef21b03463f3981 | Add Basic auth parser test | stormpath/stormpath-dotnet-owin-middleware | test/Stormpath.Owin.UnitTest/BasicAuthenticationParserShould.cs | test/Stormpath.Owin.UnitTest/BasicAuthenticationParserShould.cs | using System.Threading;
using FluentAssertions;
using Stormpath.Owin.Middleware;
using Xunit;
namespace Stormpath.Owin.UnitTest
{
public class BasicAuthenticationParserShould
{
[Fact]
public void ReportNullHeaderInvalid()
{
var parser = new BasicAuthenticationParser(null, n... | using FluentAssertions;
using Stormpath.Owin.Middleware;
using Xunit;
namespace Stormpath.Owin.UnitTest
{
public class BasicAuthenticationParserShould
{
[Fact]
public void ReportNullHeaderInvalid()
{
var parser = new BasicAuthenticationParser(null, null);
parser... | apache-2.0 | C# |
cc9a24fdfe1613dddd7f5e75c3bc4ba665993fa3 | PUT => POST (incorrect docs?) | simontaylor81/Syrup,simontaylor81/Syrup | SRPTests/Util/CIHelper.cs | SRPTests/Util/CIHelper.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace SRPTests.Util
{
// Continuous integration helper functionality.
// Currently suppor... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace SRPTests.Util
{
// Continuous integration helper functionality.
// Currently suppor... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.