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 |
|---|---|---|---|---|---|---|---|---|
5eb77a26a7e5a0bd5826f474fb63085da5de2dbb | Change namespace | wadewegner/uber-sdk-for-net | src/UberSDKForNet.UnitTests/Tests.cs | src/UberSDKForNet.UnitTests/Tests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Uber;
namespace Uber.UnitTests
{
[TestFixture]
public class Tests
{
[Test]
public void UserActivity_Fail_ServerToken()
{
var ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Uber;
namespace UberSDKForNet.UnitTests
{
[TestFixture]
public class Tests
{
[Test]
public void UserActivity_Fail_ServerToken()
{
... | mit | C# |
28cef8c622092b9dfd47959a225d0876ba64a1a2 | fix broken build by adding f to 0.2 for a float | knexer/Chinese-Rooms-what-do-they-know-do-they-know-things-lets-find-out | Assets/Scripts/DraggableCellMachine.cs | Assets/Scripts/DraggableCellMachine.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DraggableCellMachine : MonoBehaviour
{
public float distanceThreshold = 0.2f;
private MachineGrid grid;
private bool dragging;
// Use this for initialization
void Start()
{
grid = FindObjectO... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DraggableCellMachine : MonoBehaviour
{
public float distanceThreshold = 0.2;
private MachineGrid grid;
private bool dragging;
// Use this for initialization
void Start()
{
grid = FindObjectOf... | mit | C# |
24a561bb1ad38b89af179a61d19f9d13b5721ae4 | Add new test for NotNull with provided message. | devtyr/gullap | DevTyr.Gullap.Tests/With_Guard/For_NotNull/When_argument_is_null.cs | DevTyr.Gullap.Tests/With_Guard/For_NotNull/When_argument_is_null.cs | using System;
using NUnit.Framework;
using DevTyr.Gullap;
namespace DevTyr.Gullap.Tests.With_Guard.For_NotNull
{
[TestFixture]
public class When_argument_is_null
{
[Test]
public void Should_throw_argumentnullexception ()
{
Assert.Throws<ArgumentNullException> (() => Guard.NotNull (null, null));
}
[Te... | using System;
using NUnit.Framework;
using DevTyr.Gullap;
namespace DevTyr.Gullap.Tests.With_Guard.For_NotNull
{
[TestFixture]
public class When_argument_is_null
{
[Test]
public void Should_throw_argumentnullexception ()
{
Assert.Throws<ArgumentNullException> (() => Guard.NotNull (null, null));
}
[Te... | mit | C# |
807b63aafe06ae283b5d9bd49c5f9dcfdf633b2f | Update SelectCommandExtensions.cs | Flepper/flepper,Flepper/flepper | Flepper.QueryBuilder/Commands/Extensions/SelectCommandExtensions.cs | Flepper.QueryBuilder/Commands/Extensions/SelectCommandExtensions.cs | namespace Flepper.QueryBuilder
{
/// <summary>
/// Select Command Extensions
/// </summary>
public static class SelectCommandExtensions
{
/// <summary>
/// Add From to query
/// </summary>
/// <param name="selectCommand">Select Command Extension</param>
/// <... | namespace Flepper.QueryBuilder
{
/// <summary>
/// Select Command Extensions
/// </summary>
public static class SelectCommandExtensions
{
/// <summary>
/// Add From to query
/// </summary>
/// <param name="selectCommand">Select Command Extension</param>
/// <... | mit | C# |
aa84ecd9d0598d324bb320696a68bb175b39480c | fix brewer filter scripts | Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net,Kentico/Deliver-Dancing-Goat-.NET-MVC | DancingGoat/Views/Brewers/Index.cshtml | DancingGoat/Views/Brewers/Index.cshtml | @model DancingGoat.Models.BrewersViewModel
@{
Layout = "~/Views/Shared/_StoreLayout.cshtml";
ViewBag.Title = Localizer["Brewers"];
}
<div class="product-page row">
<div class="flex">
<aside class="col-md-4 col-lg-3 product-filter">
@using (Html.BeginForm("Filter", "Brewers"))
... | @model DancingGoat.Models.BrewersViewModel
@{
Layout = "~/Views/Shared/_StoreLayout.cshtml";
ViewBag.Title = Localizer["Brewers"];
}
<div class="product-page row">
<div class="flex">
<aside class="col-md-4 col-lg-3 product-filter">
@using (Html.BeginForm("Filter", "Brewers"))
... | mit | C# |
b534c771802c2eb462701928f05cc01171718c90 | Fix variable name typo | juvchan/kudu,badescuga/kudu,shanselman/kudu,mauricionr/kudu,dev-enthusiast/kudu,duncansmart/kudu,mauricionr/kudu,dev-enthusiast/kudu,uQr/kudu,EricSten-MSFT/kudu,shanselman/kudu,MavenRain/kudu,dev-enthusiast/kudu,shibayan/kudu,EricSten-MSFT/kudu,kali786516/kudu,juoni/kudu,sitereactor/kudu,kali786516/kudu,bbauya/kudu,dev... | Kudu.Client/Ninject/DefaultBindings.cs | Kudu.Client/Ninject/DefaultBindings.cs | using Kudu.Client.Infrastructure;
using Kudu.Core.Deployment;
using Kudu.Core.Editor;
using Kudu.Core.SourceControl;
using Ninject;
using Ninject.Activation;
using Ninject.Modules;
namespace Kudu.Client {
public class DefaultBindings : NinjectModule {
public override void Load() {
Bind<ISiteCo... | using Kudu.Client.Infrastructure;
using Kudu.Core.Deployment;
using Kudu.Core.Editor;
using Kudu.Core.SourceControl;
using Ninject;
using Ninject.Activation;
using Ninject.Modules;
namespace Kudu.Client {
public class DefaultBindings : NinjectModule {
public override void Load() {
Bind<ISiteCo... | apache-2.0 | C# |
864f27d6fe1d720e3e8023eb8c628c752721348d | Update version to 0.4.0 | mwijnands/PluploadMvc,mwijnands/PluploadMvc | PluploadMvc/Properties/AssemblyInfo.cs | PluploadMvc/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("Xp... | 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("Xp... | mit | C# |
548244f0495898492616f520fec7b08c267574d9 | Add Union TMemoryBuffer support Client: csharp Patch: carl | jeking3/thrift,bitemyapp/thrift,collinmsn/thrift,i/thrift,dcelasun/thrift,koofr/thrift,x1957/thrift,bforbis/thrift,reTXT/thrift,jackscott/thrift,akshaydeo/thrift,bgould/thrift,jackscott/thrift,ochinchina/thrift,dtmuller/thrift,weweadsl/thrift,prashantv/thrift,strava/thrift,alfredtofu/thrift,siemens/thrift,strava/thrift... | lib/csharp/src/Transport/TMemoryBuffer.cs | lib/csharp/src/Transport/TMemoryBuffer.cs | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 | C# |
13162c7073470beb7d86d40d6c90dd897beec353 | change dependency registration to use 'local' marker interfaces. | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance/DependencyResolution/HashingRegistry.cs | src/SFA.DAS.EmployerFinance/DependencyResolution/HashingRegistry.cs | using System;
using SFA.DAS.EmployerFinance.Configuration;
using SFA.DAS.HashingService;
using StructureMap;
using IPublicHashingService = SFA.DAS.EmployerFinance.MarkerInterfaces.IPublicHashingService;
namespace SFA.DAS.EmployerFinance.DependencyResolution
{
public class HashingRegistry : Registry
{
... | using SFA.DAS.EmployerFinance.Configuration;
using SFA.DAS.HashingService;
using SFA.DAS.ObsoleteHashing;
using StructureMap;
namespace SFA.DAS.EmployerFinance.DependencyResolution
{
public class HashingRegistry : Registry
{
public HashingRegistry()
{
For<IHashingService>().Use(c =... | mit | C# |
260bf4dfd7bac5de37eba004ac43dc9bfe04c9f6 | Update WalletController.cs | kristjank/ark-net,sharkdev-j/ark-net | ark-net/Controller/WalletController.cs | ark-net/Controller/WalletController.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="WalletController.cs" company="Ark">
// MIT License
// //
// // Copyright (c) 2017 Kristjan Košič
// //
// // Permission is hereby granted, free of charge, to any perso... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="WalletController.cs" company="Ark Labs">
// MIT License
// //
// // Copyright (c) 2017 Kristjan Košič
// //
// // Permission is hereby granted, free of charge, to any ... | mit | C# |
9b55648e41f044de583d6d682f3b964e398af034 | Fix build | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Server/_Nav.cshtml | BTCPayServer/Views/Server/_Nav.cshtml | <div class="nav flex-column nav-pills">
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Users)" asp-action="Users">Users</a>
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Emails)" asp-action="Emails">Email server</a>
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Policies)" as... | <div class="nav flex-column nav-pills">
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Users)" asp-action="Users">Users</a>
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Rates)" asp-action="Rates">Rates</a>
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Emails)" asp-action="E... | mit | C# |
47d2c8f644239120afc69731d977d67727f0fb10 | Add test for invalid range | farity/farity | CSharp.Functional.Tests/RangeTests.cs | CSharp.Functional.Tests/RangeTests.cs | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CSharp.Functional.Tests
{
public class RangeTests
{
[Theory]
[InlineData(0, 1)]
public void RangeProvidesAnIEnumerable(int start, int end)
{
var result = F.Range(st... | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CSharp.Functional.Tests
{
public class RangeTests
{
[Theory]
[InlineData(0, 1)]
public void RangeProvidesAnIEnumerable(int start, int end)
{
var result = F.Range(st... | mit | C# |
0c8c094c8199db38cea0818d12521e624bfa93b9 | Fix several bugs in Program | wjk/ChocolateyInstaller,wjk/ChocolateyInstaller,wjk/ChocolateyInstaller | ChocolateyInstaller.Wizard/Program.cs | ChocolateyInstaller.Wizard/Program.cs | using System;
using System.IO.Pipes;
using System.Windows.Forms;
namespace ChocolateyInstaller.Wizard
{
static class Program
{
[STAThread]
static void Main(string[] args)
{
if (args.Length > 0 && args[0] == "/install")
{
AnonymousPipeClientStream... | using System;
using System.IO.Pipes;
using System.Windows.Forms;
namespace ChocolateyInstaller.Wizard
{
static class Program
{
[STAThread]
static void Main(string[] args)
{
if (args[0] == "/install")
{
AnonymousPipeClientStream pipe = (args.Lengt... | mit | C# |
747fa191779ce69545788e76eba3231c78ddc260 | add ET support for custom variables | maul-esel/CobaltAHK,maul-esel/CobaltAHK | CobaltAHK/ExpressionTree/Generator.cs | CobaltAHK/ExpressionTree/Generator.cs | using System;
using System.Collections.Generic;
using DLR = System.Linq.Expressions;
using CobaltAHK.Expressions;
namespace CobaltAHK.ExpressionTree
{
public static class Generator
{
public static DLR.Expression Generate(Expression expr, Scope scope, ScriptSettings settings)
{
if (expr is FunctionCallExpressi... | using System;
using System.Collections.Generic;
using DLR = System.Linq.Expressions;
using CobaltAHK.Expressions;
namespace CobaltAHK.ExpressionTree
{
public static class Generator
{
public static DLR.Expression Generate(Expression expr, Scope scope, ScriptSettings settings)
{
if (expr is FunctionCallExpressi... | mit | C# |
1d37217c3227eaf5421bef43cb3654b48faaad12 | Update TreeScript | jojona/AGI17_perkunas,jojona/AGI17_perkunas | Perkunas/Assets/Scripts/TreeScript.cs | Perkunas/Assets/Scripts/TreeScript.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TreeScript : MonoBehaviour {
public float offset = 0;
private GameObject terrainObject;
private GrabableTerrain grabTerrain;
private Terrain terrain;
private float heightmapPosX;
private float heightmapPo... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TreeScript : MonoBehaviour {
private GameObject terrainObject;
private GrabableTerrain grabTerrain;
private Terrain terrain;
private float heightmapPosX;
private float heightmapPosZ;
// Use this for initial... | mit | C# |
7a8837b4b8843b7b40503afe91e29c5be0e8e18a | Update mines.cs | GTANetworkDev/ExampleResources,GTANetworkDev/ExampleResources,GTANetworkDev/ExampleResources,GTANetworkDev/ExampleResources | mines/mines.cs | mines/mines.cs | using GTANetworkAPI;
public class MinesScript : Script
{
[ServerEvent(Event.ResourceStart)]
public void MyResourceStart()
{
NAPI.Util.ConsoleOutput("Mines resource started!");
}
[Command("mine")]
public void PlaceMine(Client sender, float mineRange = 10f)
{
var playerPos = ... | namespace WipRagempResource.mines
{
using GTANetworkAPI;
public class MinesTest : Script
{
public MinesTest()
{
}
[ServerEvent(Event.ResourceStart)]
public void MyResourceStart()
{
NAPI.Util.ConsoleOutput("Starting mines!");
}
... | mit | C# |
0eeca8faf9d548fa3a3cdb600eb42338ab3113d5 | Fix dash being minus sign in PTS Formatter | LiveSplit/LiveSplit,Glurmo/LiveSplit,kugelrund/LiveSplit,ROMaster2/LiveSplit,Glurmo/LiveSplit,kugelrund/LiveSplit,Glurmo/LiveSplit,kugelrund/LiveSplit,ROMaster2/LiveSplit,ROMaster2/LiveSplit | LiveSplit/LiveSplit.Core/TimeFormatters/PossibleTimeSaveFormatter.cs | LiveSplit/LiveSplit.Core/TimeFormatters/PossibleTimeSaveFormatter.cs | using System;
namespace LiveSplit.TimeFormatters
{
public class PossibleTimeSaveFormatter : ITimeFormatter
{
public TimeAccuracy Accuracy { get; set; }
public string Format(TimeSpan? time)
{
var formatter = new ShortTimeFormatter();
if (time == null)
... | using System;
namespace LiveSplit.TimeFormatters
{
public class PossibleTimeSaveFormatter : ITimeFormatter
{
public TimeAccuracy Accuracy { get; set; }
public string Format(TimeSpan? time)
{
var formatter = new ShortTimeFormatter();
if (time == null)
... | mit | C# |
396847d363b6b324e21712f1ed0c09494d08e3a9 | Implement Equals and GetHashCode in NullableValue | ermshiperete/libpalaso,gmartin7/libpalaso,tombogle/libpalaso,tombogle/libpalaso,glasseyes/libpalaso,glasseyes/libpalaso,ermshiperete/libpalaso,ddaspit/libpalaso,gtryus/libpalaso,gmartin7/libpalaso,andrew-polk/libpalaso,mccarthyrb/libpalaso,mccarthyrb/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,ddaspit/libpalaso... | SIL.Core/ObjectModel/NullableValue.cs | SIL.Core/ObjectModel/NullableValue.cs | using System.Collections;
using System.Collections.Generic;
namespace SIL.ObjectModel
{
public struct NullableValue<T> : IStructuralEquatable
{
private T _value;
private bool _hasValue;
public NullableValue(T value)
{
_value = value;
_hasValue = true;
}
public bool HasValue
{
get { return _h... | using System.Collections;
namespace SIL.ObjectModel
{
public struct NullableValue<T> : IStructuralEquatable
{
private T _value;
private bool _hasValue;
public NullableValue(T value)
{
_value = value;
_hasValue = true;
}
public bool HasValue
{
get { return _hasValue; }
set
{
_hasVal... | mit | C# |
0487178c3d9105407e3394dac169595bcdfa653f | Simplify login docs region & only show action | GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet | aspnet/4-auth/Controllers/SessionController.cs | aspnet/4-auth/Controllers/SessionController.cs | // Copyright(c) 2016 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 agree... | // Copyright(c) 2016 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 agree... | apache-2.0 | C# |
4f0a1d0ed8dad56c09732924b857e641f838c035 | Fix bad SourceCodeUrl. | ejball/ArgsReading | tools/Build/Build.cs | tools/Build/Build.cs | using System;
using Faithlife.Build;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
build.AddDotNetTargets(
new DotNetBuildSettings
{
DocsSettings = new DotNetDocsSettings
{
GitLogin = new GitLoginInfo("ejball", Environment.GetEnvironm... | using System;
using Faithlife.Build;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
build.AddDotNetTargets(
new DotNetBuildSettings
{
DocsSettings = new DotNetDocsSettings
{
GitLogin = new GitLoginInfo("ejball", Environment.GetEnvironm... | mit | C# |
717fd4381de1c35866e0a9f7ecaeb981b7031003 | Use minimal build verbosity. | FacilityApi/FacilityCSharp,FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript,FacilityApi/Facility | tools/Build/Build.cs | tools/Build/Build.cs | using System;
using System.Linq;
using Faithlife.Build;
using static Faithlife.Build.BuildUtility;
using static Faithlife.Build.DotNetRunner;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
var codegen = "fsdgen___";
var dotNetBuildSettings = new DotNe... | using System;
using System.Linq;
using Faithlife.Build;
using static Faithlife.Build.BuildUtility;
using static Faithlife.Build.DotNetRunner;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
var codegen = "fsdgen___";
var dotNetBuildSettings = new DotNe... | mit | C# |
f341863cab1d6492c0651eabcc63ba3fe86365cf | disable test for informix due to client bug (#813) | lvaleriu/linq2db,MaceWindu/linq2db,genusP/linq2db,genusP/linq2db,linq2db/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,lvaleriu/linq2db,LinqToDB4iSeries/linq2db,linq2db/linq2db,ronnyek/linq2db | Tests/Linq/UserTests/Issue513Tests.cs | Tests/Linq/UserTests/Issue513Tests.cs | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Tests.UserTests
{
using LinqToDB;
using Model;
[TestFixture]
public class Issue513Tests : TestBase
{
[Test, DataContextSource, Category("WindowsOnly")]
public void Simple(string context)
{
using (... | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Tests.UserTests
{
using Model;
[TestFixture]
public class Issue513Tests : TestBase
{
[Test, DataContextSource, Category("WindowsOnly")]
public void Simple(string context)
{
using (var db = GetDataC... | mit | C# |
0ee3dacd3c2184452140a6fc8c43f951db06e816 | Update ApplicationInsightsMetricTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/ApplicationInsightsMetricTelemeter.cs | TIKSN.Core/Analytics/Telemetry/ApplicationInsightsMetricTelemeter.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights.DataContracts;
namespace TIKSN.Analytics.Telemetry
{
public class ApplicationInsightsMetricTelemeter : IMetricTelemeter
{
[Obsolete]
public Task TrackMetricAsync(string metricName, decimal ... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights.DataContracts;
namespace TIKSN.Analytics.Telemetry
{
public class ApplicationInsightsMetricTelemeter : IMetricTelemeter
{
public Task TrackMetric(string metricName, decimal metricValue)
{
... | mit | C# |
36bb2086420e20a1eae477b958d9e58915ec8047 | Use type inference in type definition | eggapauli/MyDocs,eggapauli/MyDocs | WindowsStore/Service/CameraService.cs | WindowsStore/Service/CameraService.cs | using MyDocs.Common.Contract.Service;
using MyDocs.Common.Contract.Storage;
using MyDocs.Common.Model;
using MyDocs.WindowsStore.Storage;
using System;
using System.Threading.Tasks;
using Windows.Media.Capture;
namespace MyDocs.WindowsStore.Service
{
public class CameraService : ICameraService
{
... | using MyDocs.Common.Contract.Service;
using MyDocs.Common.Contract.Storage;
using MyDocs.Common.Model;
using MyDocs.WindowsStore.Storage;
using System;
using System.Threading.Tasks;
using Windows.Media.Capture;
namespace MyDocs.WindowsStore.Service
{
public class CameraService : ICameraService
{
... | mit | C# |
8708555b2726a804d57c78e351533980b4da98dd | Update server.cs | TDXDigital/TPS,TDXDigital/TPS,TDXDigital/TPS,TDXDigital/TPS,TDXDigital/TPS | comserver/server.cs | comserver/server.cs | //http://tech.pro/tutorial/704/csharp-tutorial-simple-threaded-tcp-server
/* This server is designed to continuosly listen to a TCP destination for data to be broadcasted
* alternative design is to have system listen for TCP and have access to com port
* that will essentially interupt the transmission to upload to se... | using System;
using System.Text;
using System.Net.Sockets;
using System.Threading;
using System.Net;
namespace TCPServerTutorial
{
class Server
{
private TcpListener tcpListener;
private Thread listenThread;
public Server()
{
this.tcpListener = new TcpListener(IPAddress.Any, 3000);
thi... | mit | C# |
2398d677105b558d2220249a051059206bcc96ba | Refactor test to use AutoCommandData | appharbor/appharbor-cli | src/AppHarbor.Tests/Commands/CreateCommandTest.cs | src/AppHarbor.Tests/Commands/CreateCommandTest.cs | using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Ploeh.AutoFixture.Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class CreateCommandTest
{
private readonly IFixture _fixture;
public CreateCommandTest()
{
_fixture = new Fixtur... | using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Xunit;
namespace AppHarbor.Tests.Commands
{
public class CreateCommandTest
{
private readonly IFixture _fixture;
public CreateCommandTest()
{
_fixture = new Fixture().Customize(new AutoMoqCustomization());... | mit | C# |
fcffdaebe3499638fab6ff8377a2f577cefe1366 | Add EnvironmentVariableConfiguration#Set | appharbor/appharbor-cli | src/AppHarbor/EnvironmentVariableConfiguration.cs | src/AppHarbor/EnvironmentVariableConfiguration.cs | using System;
namespace AppHarbor
{
public class EnvironmentVariableConfiguration
{
public void Set(string variable, string value, EnvironmentVariableTarget environmentVariableTarget)
{
Environment.SetEnvironmentVariable(variable, value, environmentVariableTarget);
}
}
}
| namespace AppHarbor
{
public class EnvironmentVariableConfiguration
{
}
}
| mit | C# |
fce462f0b258dcca01341d9babf3658993f3cb62 | Clean Up UsageReport a bit | markaschell/SoftwareThresher | code/SoftwareThresher/SoftwareThresher/Configurations/UsageReport.cs | code/SoftwareThresher/SoftwareThresher/Configurations/UsageReport.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using SoftwareThresher.Utilities;
using Console = SoftwareThresher.Utilities.Console;
namespace SoftwareThresher.Configurations {
public class UsageReport {
readonly IConsole console;
readonly IClassFinder class... | using System;
using System.Linq;
using SoftwareThresher.Utilities;
using Console = SoftwareThresher.Utilities.Console;
namespace SoftwareThresher.Configurations {
public class UsageReport {
readonly IConsole console;
readonly IClassFinder classFinder;
public UsageReport() : this(new ClassFinder(... | mit | C# |
76cae17fd71a9513a817979d4185bdfb2ba0ed43 | Change DestinationFilenamePrefix to be a required field | drdk/ffmpeg-farm,ongobongo/ffmpeg-farm | ffmpeg-farm-server/API.WindowsService/Models/AudioJobRequestModel.cs | ffmpeg-farm-server/API.WindowsService/Models/AudioJobRequestModel.cs | using System.ComponentModel.DataAnnotations;
using API.WindowsService.Validators;
using Contract;
using FluentValidation.Attributes;
namespace API.WindowsService.Models
{
[Validator(typeof(AudioRequestValidator))]
public class AudioJobRequestModel : JobRequestModel
{
[Required]
public Audi... | using System.ComponentModel.DataAnnotations;
using API.WindowsService.Validators;
using Contract;
using FluentValidation.Attributes;
namespace API.WindowsService.Models
{
[Validator(typeof(AudioRequestValidator))]
public class AudioJobRequestModel : JobRequestModel
{
[Required]
public Audi... | bsd-3-clause | C# |
a7edc8446a31be544a978a4d0571fc6d6c344bf9 | Remove old comment | rasmus/EventFlow,AntoineGa/EventFlow | Source/EventFlow.EventStores.EventStore.Tests/IntegrationTests/EventStoreEventStoreTests.cs | Source/EventFlow.EventStores.EventStore.Tests/IntegrationTests/EventStoreEventStoreTests.cs | // The MIT License (MIT)
//
// Copyright (c) 2015-2016 Rasmus Mikkelsen
// Copyright (c) 2015-2016 eBay Software Foundation
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), ... | // The MIT License (MIT)
//
// Copyright (c) 2015-2016 Rasmus Mikkelsen
// Copyright (c) 2015-2016 eBay Software Foundation
// https://github.com/rasmus/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), ... | mit | C# |
566a20a623a5d82f73d4e11f6c2ea9836ce14566 | Add keyword "delay" to hold-to-confirm activation time setting | NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game/Overlays/Settings/Sections/UserInterface/GeneralSettings.cs | osu.Game/Overlays/Settings/Sections/UserInterface/GeneralSettings.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Configuration;
using osu.Game.Graphics.UserInterface;
usin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Configuration;
using osu.Game.Graphics.UserInterface;
usin... | mit | C# |
852445b35ad721cdc294ff5b7b8d38c109aafcf3 | Use in process (#649) | ThomasBarnekow/Open-XML-SDK,OfficeDev/Open-XML-SDK,tomjebo/Open-XML-SDK | test/DocumentFormat.OpenXml.Benchmarks/Program.cs | test/DocumentFormat.OpenXml.Benchmarks/Program.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Diagnostics.Windows;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Diagnostics.Windows;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs... | mit | C# |
5425c69df6eae203c58a5f00c9a65baa97e4765f | Use path.combine instead | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/CleanProjectIntegrationTest.cs | test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/CleanProjectIntegrationTest.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
{
public class CleanProjec... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
{
public class CleanProjectIntegrationTest ... | apache-2.0 | C# |
d8fad92710f72d7069e64195abf7482a2cc473e4 | Change SnapshotShardFailure shard_id to int (#4543) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Modules/SnapshotAndRestore/Snapshot/SnapshotShardFailure.cs | src/Nest/Modules/SnapshotAndRestore/Snapshot/SnapshotShardFailure.cs | using System.Runtime.Serialization;
namespace Nest
{
[DataContract]
public class SnapshotShardFailure
{
[DataMember(Name ="index")]
public string Index { get; set; }
[DataMember(Name ="node_id")]
public string NodeId { get; set; }
[DataMember(Name ="reason")]
public string Reason { get; set; }
[Da... | using System.Runtime.Serialization;
namespace Nest
{
[DataContract]
public class SnapshotShardFailure
{
[DataMember(Name ="index")]
public string Index { get; set; }
[DataMember(Name ="node_id")]
public string NodeId { get; set; }
[DataMember(Name ="reason")]
public string Reason { get; set; }
[Da... | apache-2.0 | C# |
2daf6b7483e13db8873d3ea3ff334ebf0fe7e5d2 | allow create link on inner item in share | yar229/WebDavMailRuCloud | MailRuCloud/MailRuCloudApi/SpecialCommands/SharedFolderLinkCommand.cs | MailRuCloud/MailRuCloudApi/SpecialCommands/SharedFolderLinkCommand.cs | using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using YaR.MailRuCloud.Api.Base.Requests;
using YaR.MailRuCloud.Api.Extensions;
namespace YaR.MailRuCloud.Api.SpecialCommands
{
public class SharedFolderLinkCommand : SpecialCommand
{
public SharedFolde... | using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using YaR.MailRuCloud.Api.Base.Requests;
using YaR.MailRuCloud.Api.Extensions;
namespace YaR.MailRuCloud.Api.SpecialCommands
{
public class SharedFolderLinkCommand : SpecialCommand
{
public SharedFolde... | mit | C# |
0d4bb7e355a97bee291c9225c6072d02edc79d97 | Fix fullscreen. | JohanLarsson/Gu.Wpf.Media | Gu.Wpf.Media.Demo/MainWindow.xaml.cs | Gu.Wpf.Media.Demo/MainWindow.xaml.cs | namespace Gu.Wpf.Media.Demo
{
using System;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using Microsoft.Win32;
public partial class MainWindow : Window
{
private Stretch stretch;
public MainWindow()
{
this.InitializeCom... | namespace Gu.Wpf.Media.Demo
{
using System;
using System.Windows;
using System.Windows.Input;
using Microsoft.Win32;
public partial class MainWindow : Window
{
public MainWindow()
{
this.InitializeComponent();
}
private void OpenExecuted(object sen... | mit | C# |
aafbebf549f3ca0b0ad174f5716293025b7da88e | Add frictions | EasyPeasyLemonSqueezy/MadCat | MadCat/NutEngine/Physics/Material.cs | MadCat/NutEngine/Physics/Material.cs | namespace NutEngine.Physics
{
public class Material
{
public float Density { get; set; }
public float Restitution { get; set; }
public float StaticFriction { get; set; }
public float DynamicFriction { get; set; }
}
} | namespace NutEngine.Physics
{
public class Material
{
public float Density { get; set; }
public float Restitution { get; set; }
}
} | mit | C# |
dac91ab0cea89723f4c76d097da9576056663708 | Fix WS-14919 WS-14966 Email in XUbuntu | gtryus/libpalaso,chrisvire/libpalaso,darcywong00/libpalaso,sillsdev/libpalaso,hatton/libpalaso,tombogle/libpalaso,darcywong00/libpalaso,andrew-polk/libpalaso,chrisvire/libpalaso,ermshiperete/libpalaso,hatton/libpalaso,marksvc/libpalaso,ermshiperete/libpalaso,tombogle/libpalaso,mccarthyrb/libpalaso,gtryus/libpalaso,mark... | Palaso/Email/EmailProviderFactory.cs | Palaso/Email/EmailProviderFactory.cs | using System;
using System.IO;
using System.Xml;
using System.Xml.XPath;
namespace Palaso.Email
{
public class EmailProviderFactory
{
public static IEmailProvider PreferredEmailProvider()
{
if (Environment.OSVersion.Platform == PlatformID.Unix)
{
if (ThunderbirdIsDefault())
{
return new Thunde... | using System;
using System.Xml;
using System.Xml.XPath;
namespace Palaso.Email
{
public class EmailProviderFactory
{
public static IEmailProvider PreferredEmailProvider()
{
if (Environment.OSVersion.Platform == PlatformID.Unix)
{
if (ThunderbirdIsDefault())
{
return new ThunderbirdEmailProvide... | mit | C# |
8b88e2f3526fa41153b9fcfd000222c5ad5f9b11 | Add keep-alive log printing. | projectkudu/KuduSync.NET,projectkudu/KuduSync.NET,kostrse/KuduSync.NET,uQr/KuduSync.NET,uQr/KuduSync.NET,kostrse/KuduSync.NET | KuduSync.NET/Logger.cs | KuduSync.NET/Logger.cs | using System;
using System.IO;
using System.Text;
namespace KuduSync.NET
{
public class Logger : IDisposable
{
private const int KeepAliveLogTimeInSeconds = 20;
private int _logCounter = 0;
private StreamWriter _writer;
private int _maxLogLines;
private DateTime _nextL... | using System;
using System.IO;
using System.Text;
namespace KuduSync.NET
{
public class Logger : IDisposable
{
private int _logCounter = 0;
private StreamWriter _writer;
private int _maxLogLines;
/// <summary>
/// Logger class
/// </summary>
/// <param ... | apache-2.0 | C# |
beb1c45d51c1291814977f5e3ec791e6aa186217 | fix removal of custom attributes | icnocop/RemoveReference.Fody | RemoveReference.Fody/ModuleWeaver.cs | RemoveReference.Fody/ModuleWeaver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
namespace RemoveReference.Fody
{
public class ModuleWeaver
{
// Will log an informational message to MSBuild
public Action<string> LogInfo { get; set; }
// An instance of Mono.Cecil.ModuleDefinition... | using System;
using System.Linq;
using Mono.Cecil;
namespace RemoveReference.Fody
{
public class ModuleWeaver
{
// Will log an informational message to MSBuild
public Action<string> LogInfo { get; set; }
// An instance of Mono.Cecil.ModuleDefinition for processing
public Modul... | mit | C# |
8fd701bdd485e191469d621cba4ecc435ef808b1 | add summmary doc comment | killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit/Definitions/CameraSystem/MixedRealityCameraSettingsConfiguration.cs | Assets/MixedRealityToolkit/Definitions/CameraSystem/MixedRealityCameraSettingsConfiguration.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
using System;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.CameraSystem
{
/// <summary>
/// ... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
using System;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.CameraSystem
{
[Serializable]
pub... | mit | C# |
32f03d8b39570775f767c0ff42838930278dd517 | Bump version numbers | will-hart/AnvilEditor,will-hart/AnvilEditor | AnvilEditor/Properties/AssemblyInfo.cs | AnvilEditor/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# |
9ada62e600c59e2af6201212705428f1a7f33478 | Remove the 'readnone' attribute from 'GC.Allocate' | jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm | runtime/GC.cs | runtime/GC.cs | namespace __compiler_rt
{
/// <summary>
/// Garbage collection functionality that can be used by the compiler.
/// </summary>
public static unsafe class GC
{
[#builtin_attribute(NoAliasAttribute)]
[#builtin_attribute(NoThrowAttribute)]
private static extern void* GC_malloc(ul... | namespace __compiler_rt
{
/// <summary>
/// Garbage collection functionality that can be used by the compiler.
/// </summary>
public static unsafe class GC
{
[#builtin_attribute(NoAliasAttribute)]
[#builtin_attribute(NoThrowAttribute)]
[#builtin_attribute(ReadNoneAttribute)]
... | mit | C# |
11af25b9b7e136f23e64543daa7d6058a003564f | Fix travis build break. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Internal/ViewComponentTagHelperChunkVisitorTest.cs | test/Microsoft.AspNetCore.Mvc.Razor.Host.Test/Internal/ViewComponentTagHelperChunkVisitorTest.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.AspNetCore.Mvc.Razor.Host.Internal;
using Microsoft.AspNetCore... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.AspNetCore.Mvc.Razor.Host.Internal;
using Microsoft.AspNetCore... | apache-2.0 | C# |
d9fda4b63d1d748aade640bad87fc916e0048e06 | Refactor to build on Visual Studio 2013 | makmu/outlook-matters,maxlmo/outlook-matters,makmu/outlook-matters,maxlmo/outlook-matters | OutlookMatters/Settings/SaveCommand.cs | OutlookMatters/Settings/SaveCommand.cs | using System;
using System.Windows.Input;
namespace OutlookMatters.Settings
{
public class SaveCommand : ICommand
{
private readonly ISettingsSaveService _saveService;
private readonly IClosableWindow _window;
public SaveCommand(ISettingsSaveService saveService, IClosableWindow window... | using System;
using System.Windows.Input;
namespace OutlookMatters.Settings
{
public class SaveCommand : ICommand
{
private readonly ISettingsSaveService _saveService;
private readonly IClosableWindow _window;
public SaveCommand(ISettingsSaveService saveService, IClosableWindow window... | mit | C# |
164d4066c3326aebbb0bf8aef8972d2e9e29959e | add exception handling | Zocdoc/schemazen,sethreno/schemazen,keith-hall/schemazen,ruediger-stevens/schemazen,sethreno/schemazen | console/Program.cs | console/Program.cs | using System;
using System.Collections.Generic;
namespace console {
internal class Program {
private static int Main(string[] args) {
ICommand cmd = new Default();
if (args.Length > 0) {
var commands = new Dictionary<string, ICommand>();
commands.Add("script", new Script());
commands.Ad... | using System;
using System.Collections.Generic;
namespace console {
internal class Program {
private static int Main(string[] args) {
ICommand cmd = new Default();
if (args.Length > 0) {
var commands = new Dictionary<string, ICommand>();
commands.Add("script", new Script());
commands.Ad... | mit | C# |
e6292c92daf6ee0ea8a34d82d358a4913390dbf7 | Update sample | mattleibow/square-bindings,Redth/square-bindings,Redth/square-bindings | sample/ValetSample/ViewController.cs | sample/ValetSample/ViewController.cs | using System;
using Foundation;
using UIKit;
using Square.Valet;
namespace ValetSample
{
public partial class ViewController : UIViewController
{
private SecureEnclaveValet valet;
private string username;
public ViewController (IntPtr handle)
: base (handle)
{
}
public override void ViewDidLoad (... | using System;
using Foundation;
using UIKit;
using Square.Valet;
namespace ValetSample
{
public partial class ViewController : UIViewController
{
private SecureEnclaveValet valet;
private string username;
public ViewController (IntPtr handle)
: base (handle)
{
}
public override void ViewDidLoad (... | apache-2.0 | C# |
b1037d276af6cad3726a572b7bfab0d3f546de02 | Create ThemeRoot if not exists | faint32/snowflake-1,RonnChyran/snowflake,faint32/snowflake-1,faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake | Snowflake.Shell.Windows/ThemeServer.cs | Snowflake.Shell.Windows/ThemeServer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Net;
using System.Threading;
using Snowflake.Extensions;
using Snowflake.Service.HttpServer;
using Newtonsoft.Json;
using Unosquare.Labs.EmbedIO;
using Unosquare.Labs.EmbedI... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Net;
using System.Threading;
using Snowflake.Extensions;
using Snowflake.Service.HttpServer;
using Newtonsoft.Json;
using Unosquare.Labs.EmbedIO;
using Unosquare.Labs.EmbedI... | mpl-2.0 | C# |
71b281c8f20e4e1c19e9c94458896c6beb3fdad3 | Make well defined top level names | brettfo/roslyn,reaction1989/roslyn,heejaechang/roslyn,jmarolf/roslyn,brettfo/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,weltkante/roslyn,dotnet/roslyn,eriawan/roslyn,heejaechang/roslyn,agocke/roslyn,AlekseyTs/roslyn,tmat/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,aelij/roslyn,agocke/roslyn,tannergooding/roslyn,shya... | src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.cs | src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.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;
using System.Composition;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Serialization... | // 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;
using System.Composition;
using System.IO;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Serialization;
namespace Micros... | mit | C# |
532311cd257a537175faa28a3aa1a23d7da280b4 | Update SemanticClassificationBufferTaggerProvider.cs | xasx/roslyn,antonssonj/roslyn,xasx/roslyn,pdelvo/roslyn,mgoertz-msft/roslyn,MatthieuMEZIL/roslyn,jhendrixMSFT/roslyn,leppie/roslyn,diryboy/roslyn,amcasey/roslyn,tannergooding/roslyn,xoofx/roslyn,nguerrera/roslyn,lorcanmooney/roslyn,stephentoub/roslyn,amcasey/roslyn,Maxwe11/roslyn,davkean/roslyn,Pvlerick/roslyn,jamesqo/... | src/EditorFeatures/Core/Implementation/Classification/SemanticClassificationBufferTaggerProvider.cs | src/EditorFeatures/Core/Implementation/Classification/SemanticClassificationBufferTaggerProvider.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis.Notification;
using Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
using Mi... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis.Notification;
using Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
using Mi... | apache-2.0 | C# |
62df7f869031c6b772e1b32a0b34832786e5b841 | Add filter | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/JoeMeyer.cs | src/Firehose.Web/Authors/JoeMeyer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JoeMeyer : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Joe";
public string LastName => "Meyer";
... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JoeMeyer : IAmACommunityMember
{
public string FirstName => "Joe";
public string LastName => "Meyer";
public string StateOrRegion => "Chicago, IL";
public string TwitterHandle ... | mit | C# |
b7c216e686754e92b24b81f608e96be80629e169 | Support for creating customer object with shipping info | bhushan-firake/NStripe | src/NStripe/Models/StripeCustomer.cs | src/NStripe/Models/StripeCustomer.cs | using System;
using System.Collections.Generic;
namespace NStripe
{
[Route("/customers", "POST")]
public class CreateStripeCustomer : StripeRequestBase, IResponse<StripeCustomer>
{
public int? AccountBalance { get; set; }
public string Coupon { get; set; }
public string Description... | using System;
using System.Collections.Generic;
namespace NStripe
{
[Route("/customers", "POST")]
public class CreateStripeCustomer : StripeRequestBase, IResponse<StripeCustomer>
{
public int? AccountBalance { get; set; }
public string Coupon { get; set; }
public string Description... | mit | C# |
2f37a37f8ea695e53f0ad67ba510bba9dee428e2 | Add BookLoan Class to LibraryContext. | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Data/LibraryContext.cs | src/Open-School-Library/Data/LibraryContext.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Open_School_Library.Models.DatabaseModels;
namespace Open_School_Library.Data
{
public class LibraryContext : DbContext
{
public LibraryContext(DbContextOptions<L... | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Open_School_Library.Models.DatabaseModels;
namespace Open_School_Library.Data
{
public class LibraryContext : DbContext
{
public LibraryContext(DbContextOptions<L... | mit | C# |
2946a35b0e8099ed8ec39da51a7ba17487950b32 | use delegate instead of Expression | adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress | src/SharpCompress/Writers/IWriterExtensions.cs | src/SharpCompress/Writers/IWriterExtensions.cs | using System;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
namespace SharpCompress.Writers
{
public static class IWriterExtensions
{
public static void Write(this IWriter writer, string entryPath, Stream source)
{
writer.Write(entryPath, source, null);
... | using System;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
namespace SharpCompress.Writers
{
public static class IWriterExtensions
{
public static void Write(this IWriter writer, string entryPath, Stream source)
{
writer.Write(entryPath, source, null);
... | mit | C# |
f5f35be31dcd49027e55169c24939bc6fe1bc4e9 | Remove duplicate attribute | onovotny/SignService,onovotny/SignService,onovotny/SignService | src/SignService/Controllers/AdminController.cs | src/SignService/Controllers/AdminController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using SignService.Services;
namespace SignService.Controllers
{
[Authorize(Roles = "admin_signservice")]
[RequireHttps]
public class Ad... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using SignService.Services;
namespace SignService.Controllers
{
[Authorize(Roles = "admin_signservice")]
[Authorize]
[RequireHttps]
... | mit | C# |
82a2f9b0a9b6f2f60fecdf41d1233ff3eb0d77e6 | Fix the issue that .JSON file is 404 when running docfx serve | LordZoltan/docfx,928PJY/docfx,hellosnow/docfx,sergey-vershinin/docfx,DuncanmaMSFT/docfx,superyyrrzz/docfx,superyyrrzz/docfx,928PJY/docfx,DuncanmaMSFT/docfx,hellosnow/docfx,pascalberger/docfx,hellosnow/docfx,superyyrrzz/docfx,LordZoltan/docfx,sergey-vershinin/docfx,LordZoltan/docfx,dotnet/docfx,LordZoltan/docfx,dotnet/d... | src/docfx/SubCommands/ServeCommand.cs | src/docfx/SubCommands/ServeCommand.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.SubCommands
{
using System;
using System.IO;
using Microsoft.DocAsCode;
using Microsoft.DocAsCode.Common;
using Micro... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.SubCommands
{
using System;
using System.IO;
using Microsoft.DocAsCode;
using Microsoft.DocAsCode.Common;
using Micro... | mit | C# |
0417f9a76170b499f637ea769171c0fa792d8cd7 | Update Promise.cs | drew-r/Maverick | Promise.cs | Promise.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Maverick
{
public class Promise
{
public Promise(Func<object> asyncOp)
{
Scheduler.Request();
task = new Task(() =>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Maverick
{
public class Promise
{
public Promise(Func<object> asyncOp)
{
Scheduler.Request();
task = new Task(() =>
... | mit | C# |
dbc7faaf247d36f6a056764b4560b06ec5a2bcb0 | Update Bridge.cs | BaamStudios/SharpAngie,BaamStudios/SharpAngie,BaamStudios/SharpAngie | BaamStudios.SharpAngie/Bridge.cs | BaamStudios.SharpAngie/Bridge.cs | using System;
using ServiceStack.Text;
namespace BaamStudios.SharpAngie
{
public class Bridge
{
private string _changingPropertyFromJs;
private readonly ViewModelBase _viewModel;
private readonly IAngularInterface _angularInterface;
public Bridge(ViewModelBase vie... | using System;
using ServiceStack.Text;
namespace BaamStudios.SharpAngie
{
public class Bridge
{
private string _changingPropertyFromJs;
private readonly ViewModelBase _viewModel;
private readonly IAngularInterface _angularInterface;
public Bridge(ViewModelBase vie... | mit | C# |
d1d7ccee594bf0632e306d2019132051bfbfb18e | Fix exception when including this in a project without TriggerAction | ShaneOBrien/unity3d-console,Bonemind/unity3d-console,mikelovesrobots/unity3d-console,davidaayers/unity3d-console | Console/Scripts/ConsoleAction.cs | Console/Scripts/ConsoleAction.cs | using UnityEngine;
using System.Collections;
public abstract class ConsoleAction : MonoBehaviour {
public abstract void Activate();
}
| using UnityEngine;
using System.Collections;
public abstract class ConsoleAction : ActionBase {
public abstract void Activate();
}
| bsd-3-clause | C# |
8aee8525047f99319d9caa48b6d0f27dbbd700db | Load game for presentation | thinktecture/BreTTspielabend,thinktecture/BreTTspielabend,thinktecture/BreTTspielabend | src/api/Thinktecture.Brettspielabend/Thinktecture.Brettspielabend.Api/Controllers/ContestController.cs | src/api/Thinktecture.Brettspielabend/Thinktecture.Brettspielabend.Api/Controllers/ContestController.cs | using System;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Thinktecture.Brettspielabend.Api.Data;
using Thinktecture.Brettspielabend.Api.Helpers;
namespace Thinktecture.Brettspielabend.Api.Controllers
{
public class ContestController : ApiController
{
private readonly DataStore _store;
... | using System;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Thinktecture.Brettspielabend.Api.Data;
using Thinktecture.Brettspielabend.Api.Helpers;
namespace Thinktecture.Brettspielabend.Api.Controllers
{
public class ContestController : ApiController
{
private readonly DataStore _store;
... | mit | C# |
8cbbcecf2b2ab52ecc2aa4f3029cfac48794f162 | check if listened table exists in migration | B1naryStudio/Azimuth,B1naryStudio/Azimuth | Azimuth.Migrations/Migrations/Migration_201409101200_RemoveListenedTableAndAddCounterToPlaylistTable.cs | Azimuth.Migrations/Migrations/Migration_201409101200_RemoveListenedTableAndAddCounterToPlaylistTable.cs |
using FluentMigrator;
namespace Azimuth.Migrations
{
[Migration(201409101200)]
public class Migration_201409101200_RemoveListenedTableAndAddCounterToPlaylistTable: Migration
{
public override void Up()
{
if (Schema.Table("Listened").Exists())
{
Dele... |
using FluentMigrator;
namespace Azimuth.Migrations
{
[Migration(201409101200)]
public class Migration_201409101200_RemoveListenedTableAndAddCounterToPlaylistTable: Migration
{
public override void Up()
{
Delete.Table("Listened");
Alter.Table("Playlists").AddColumn(... | mit | C# |
c95743cebeb88a27e3b4c014efed58f25d2d88f7 | Add test.' | CaptainHayashi/roslyn,MattWindsor91/roslyn,zooba/roslyn,MatthieuMEZIL/roslyn,vslsnap/roslyn,AnthonyDGreen/roslyn,orthoxerox/roslyn,panopticoncentral/roslyn,Giftednewt/roslyn,tvand7093/roslyn,mgoertz-msft/roslyn,mattwar/roslyn,jasonmalinowski/roslyn,Giftednewt/roslyn,bartdesmet/roslyn,MattWindsor91/roslyn,KevinH-MS/rosl... | src/EditorFeatures/CSharpTest/CodeActions/ReplacePropertyWithMethods/ReplacePropertyWithMethodsTests.cs | src/EditorFeatures/CSharpTest/CodeActions/ReplacePropertyWithMethods/ReplacePropertyWithMethodsTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.CodeRefactorings;
using Microsoft.CodeAnalysis.ReplacePropertyWithMethods;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.CodeRefactorings;
using Microsoft.CodeAnalysis.ReplacePropertyWithMethods;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis... | apache-2.0 | C# |
d1e9fc7e0999071ae4d921248e7ddce17290a49c | Align enum values | spe3d/unitytesttools,spe3d/unitytesttools | Assets/UnityTestTools/Assertions/CheckMethod.cs | Assets/UnityTestTools/Assertions/CheckMethod.cs | using System;
namespace UnityTest
{
[Flags]
public enum CheckMethod
{
AfterPeriodOfTime = 1 << 0,
Start = 1 << 1,
Update = 1 << 2,
FixedUpdate = 1 << 3,
LateUpdate = 1 << 4,
OnDestroy ... | using System;
namespace UnityTest
{
[Flags]
public enum CheckMethod
{
AfterPeriodOfTime = 1 << 0,
Start = 1 << 1,
Update = 1 << 2,
FixedUpdate = 1 << 3,
LateUpdate = 1 << 4,
... | mit | C# |
a48f43ea9cd27fbddf3268b0d2e109f8492abc0a | Use the correct strong name for dbus-sharp-glib friend assembly | Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,mono/dbus-sharp,mono/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp | src/AssemblyInfo.cs | src/AssemblyInfo.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | mit | C# |
55e8af66858aaf695f5d2ff5b56d9118fed4e4c6 | update theme (#529) | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/_Head.cshtml | input/_Head.cshtml | <link rel="apple-touch-icon" sizes="180x180" href="@Context.GetLink("/assets/img/favicons/apple-touch-icon.png")">
<link rel="icon" type="image/png" sizes="32x32" href="@Context.GetLink("/assets/img/favicons/favicon-32x32.png")">
<link rel="icon" type="image/png" sizes="16x16" href="@Context.Get... | <link rel="apple-touch-icon" sizes="180x180" href="@Context.GetLink("/assets/img/favicons/apple-touch-icon.png")">
<link rel="icon" type="image/png" sizes="32x32" href="@Context.GetLink("/assets/img/favicons/favicon-32x32.png")">
<link rel="icon" type="image/png" sizes="16x16" href="@Context.Get... | mit | C# |
5e7a574fcfb7796a78098f108cf0b4ea0fb8e13f | Bump version to 0.13.4 | ar3cka/Journalist | src/SolutionInfo.cs | src/SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.13.4")]
[assembly: AssemblyInformationalVersionAttribute("0.13.4")]
[assembly: AssemblyFileVersionAttribute("0.13.4")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namesp... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.13.3")]
[assembly: AssemblyInformationalVersionAttribute("0.13.3")]
[assembly: AssemblyFileVersionAttribute("0.13.3")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namesp... | apache-2.0 | C# |
760c3e8f0ba931f5a6c69f4d8627a31884d0e96c | adjust AssemblyTitle to real assembly name | mooware/mooftpserv | lib/AssemblyInfo.cs | lib/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("mooftpservlib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assem... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("mooftpserv-lib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[asse... | mit | C# |
d3183c1e2388b239b499626affda9d285e08f744 | Improve 'current submission' detection. | heejaechang/roslyn,KevinH-MS/roslyn,xasx/roslyn,mseamari/Stuff,VSadov/roslyn,HellBrick/roslyn,CyrusNajmabadi/roslyn,jhendrixMSFT/roslyn,KirillOsenkov/roslyn,jcouv/roslyn,genlu/roslyn,danielcweber/roslyn,oocx/roslyn,Pvlerick/roslyn,jhendrixMSFT/roslyn,jamesqo/roslyn,KevinRansom/roslyn,jaredpar/roslyn,MatthieuMEZIL/rosly... | src/Interactive/EditorFeatures/Core/Implementation/Interactive/InteractiveDocumentSupportsSuggestionService.cs | src/Interactive/EditorFeatures/Core/Implementation/Interactive/InteractiveDocumentSupportsSuggestionService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Composition;
using Microsoft.CodeAnalysis.Editor.Shared.SuggestionSupport;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Te... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Composition;
using Microsoft.CodeAnalysis.Editor.Shared.SuggestionSupport;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalys... | mit | C# |
605c11431136cccf6c9fab7009e99e7208e62314 | Add IpAddress for IpPermission | muhammedikinci/FuzzyCore | FuzzyCore/Data/JsonCommand.cs | FuzzyCore/Data/JsonCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Sockets;
namespace FuzzyCore.Data
{
public class JsonCommand
{
public String CommandType { get; set; }
public String Premission { get; set; }
public flo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net.Sockets;
namespace FuzzyCore.Data
{
public class JsonCommand
{
public String CommandType { get; set; }
public String Premission { get; set; }
public flo... | mit | C# |
d533048f135b5262843d45555c5f4c276ad0775e | set console title | jbijlsma/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,siyo-wang/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,siyo-wang/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,siyo-wang/IdentityServer4,MienDev/IdentityServer4,jbijl... | src/Host/Program.cs | src/Host/Program.cs | using System.IO;
using Microsoft.AspNetCore.Hosting;
using System;
namespace Host
{
public class Program
{
public static void Main(string[] args)
{
Console.Title = "IdentityServer4";
var host = new WebHostBuilder()
.UseKestrel()
.UseUrls... | using System.IO;
using Microsoft.AspNetCore.Hosting;
namespace Host
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseUrls("http://localhost:1941")
.UseContentRoot(Dire... | apache-2.0 | C# |
dc8e2a49b6f4bb9e60e3f6b2d945279b6ed458b6 | Add a builder for the base environ, so it's easier to work with | horia141/nvalidate,horia141/nvalidate | src/BaseEnviron.cs | src/BaseEnviron.cs | using System;
using System.Collections.Generic;
namespace NValidate
{
public class BaseEnviron : Environ
{
readonly Dictionary<Type, Func<Environ, object>> _modelExtractors;
readonly Dictionary<Type, object> _models;
public BaseEnviron(Dictionary<Type, Func<Environ, objec... | using System;
using System.Collections.Generic;
namespace NValidate
{
public class BaseEnviron : Environ
{
readonly Dictionary<Type, Func<Environ, object>> _modelExtractors;
readonly Dictionary<Type, object> _models;
public BaseEnviron(Dictionary<Type, Func<Environ, objec... | mit | C# |
ddc64fe25835a9fd6360e4b3fa66ffdba3edf348 | Clean up: Contact | ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth,ramzzzay/GalleryMVC_With_Auth | GalleryMVC_With_Auth/Views/StartHome/Contact.cshtml | GalleryMVC_With_Auth/Views/StartHome/Contact.cshtml | @using System.Globalization
@using Jmelosegui.Mvc.Googlemap
@model string
@{
ViewBag.Title = "Контакты";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
Беларусь<br />
Брест, набярэжная Францыска Скарыны 2<br />
<abbr title="Phone">Тел:</abbr>
8 0162 20-45-95
@(Html.GoogleMap().... | @using System.Globalization
@using Jmelosegui.Mvc.Googlemap
@model string
@{
ViewBag.Title = "Контакты";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
Беларусь<br />
Брест, набярэжная Францыска Скарыны 2<br />
<abbr title="Phone">Тел:</abbr>
8 0162 20-45-95
@(Html.GoogleMap().... | apache-2.0 | C# |
d33b7902dc211504ad2019bf8b343d9a829406f5 | Test uses same date object for comparison | mrward/Pash,WimObiwan/Pash,Jaykul/Pash,mrward/Pash,ForNeVeR/Pash,sburnicki/Pash,Jaykul/Pash,sburnicki/Pash,mrward/Pash,sillvan/Pash,ForNeVeR/Pash,WimObiwan/Pash,Jaykul/Pash,WimObiwan/Pash,sillvan/Pash,sburnicki/Pash,sillvan/Pash,ForNeVeR/Pash,WimObiwan/Pash,sburnicki/Pash,Jaykul/Pash,mrward/Pash,ForNeVeR/Pash,sillvan/P... | Source/TestHost/System.Management/ParameterTests.cs | Source/TestHost/System.Management/ParameterTests.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management.Automation;
namespace TestHost
{
[TestFixture]
public class ParameterTests
{
... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Management.Automation;
namespace TestHost
{
[TestFixture]
public class ParameterTests
{
... | bsd-3-clause | C# |
7a810ae15e0c43dec52eb56136b0ecb29708c2b0 | Fix problem with parsing server url. | stephenjannin/csnats,nats-io/csnats | NATS.Client/Srv.cs | NATS.Client/Srv.cs | // Copyright 2015 Apcera Inc. All rights reserved.
using System;
namespace NATS.Client
{
// Tracks individual backend servers.
internal class Srv
{
internal Uri url = null;
internal bool didConnect = false;
internal int reconnects = 0;
internal DateTime lastAtt... | // Copyright 2015 Apcera Inc. All rights reserved.
using System;
namespace NATS.Client
{
// Tracks individual backend servers.
internal class Srv
{
internal Uri url = null;
internal bool didConnect = false;
internal int reconnects = 0;
internal DateTime lastAtt... | mit | C# |
49b82a00e4a22e89ec537cb4ead26f7a5e517394 | update AssemblyVersion | 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
//
// THIS... | #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
//
// THIS... | apache-2.0 | C# |
a5ac1e0ee01494a4f839677c991999ee0bb14cb1 | Fix word comparer order | davghouse/wordament-solver | WordamentSolver/Models/WordComparer.cs | WordamentSolver/Models/WordComparer.cs | using System.Collections.Generic;
using WordamentSolver.Models.WordComparers;
namespace WordamentSolver.Models
{
public abstract class WordComparer : IComparer<Word>
{
public static readonly WordComparer Alphabet = new AlphabetComparer();
public static readonly WordComparer Points = new Points... | using System.Collections.Generic;
using WordamentSolver.Models.WordComparers;
namespace WordamentSolver.Models
{
public abstract class WordComparer : IComparer<Word>
{
public static readonly WordComparer Alphabet = new AlphabetComparer();
public static readonly WordComparer Points = new Points... | mit | C# |
48db24b1e7b251c401b4e26b2a009647cab218f4 | Update PackEnvironment.cs | ExceptionCustomiser/PackIt | PackIt/PackIt/Util/PackEnvironment.cs | PackIt/PackIt/Util/PackEnvironment.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PackIt.Util
{
internal class PackEnvironment
{
/// <summary>The private instance.</summary>
private static PackEnvironment _Instance;
/// <summary>The instance of the package environment.</s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PackIt.Util
{
internal class PackEnvironment
{
/// <summary>The private instance.</summary>
private static PackEnvironment _Instance;
/// <summary>The instance of the package environment.</s... | mit | C# |
1b92d231cb3847ff41743339375517571892479e | ロールバック時の掃除処理はRecordに移動。 | SunriseDigital/sdxweb,SunriseDigital/sdxweb,SunriseDigital/cs-sdx-web,SunriseDigital/sdxweb,SunriseDigital/cs-sdx-web | _private/csharp/scaffold/edit.ascx.cs | _private/csharp/scaffold/edit.ascx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Sdx.WebLib.Control.Scaffold
{
public partial class Edit : System.Web.UI.UserControl
{
protected Sdx.Scaffold.Manager scaffold;
protected Sdx.Html.Form form;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Sdx.WebLib.Control.Scaffold
{
public partial class Edit : System.Web.UI.UserControl
{
protected Sdx.Scaffold.Manager scaffold;
protected Sdx.Html.Form form;
... | mit | C# |
b6e89dc6e729f2545c336df303a2860c4a402b93 | bump to 2.0.2 | Sevitec/oneoffixx-connectclient | Windows/src/OneOffixx.ConnectClient.WinApp/Properties/AssemblyInfo.cs | Windows/src/OneOffixx.ConnectClient.WinApp/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# |
c9da550ce4987e01c1bbce9d0a17b860e1d300b3 | Remove API check in ActivityIndicatorRenderer's UpdateColor method (#261) | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Platform.Android/Renderers/ActivityIndicatorRenderer.cs | Xamarin.Forms.Platform.Android/Renderers/ActivityIndicatorRenderer.cs | using System.ComponentModel;
using Android.Graphics;
using Android.OS;
using Android.Views;
using AProgressBar = Android.Widget.ProgressBar;
namespace Xamarin.Forms.Platform.Android
{
public class ActivityIndicatorRenderer : ViewRenderer<ActivityIndicator, AProgressBar>
{
public ActivityIndicatorRenderer()
{
... | using System.ComponentModel;
using Android.Graphics;
using Android.OS;
using Android.Views;
using AProgressBar = Android.Widget.ProgressBar;
namespace Xamarin.Forms.Platform.Android
{
public class ActivityIndicatorRenderer : ViewRenderer<ActivityIndicator, AProgressBar>
{
public ActivityIndicatorRenderer()
{
... | mit | C# |
cf16ec791ea32c1ccc7e2bace84c9d79f1788f84 | Fix missed version, https://github.com/antlr/antlr4/pull/2987#pullrequestreview-575417430 | antlr/antlr4,antlr/antlr4,antlr/antlr4,ericvergnaud/antlr4,antlr/antlr4,antlr/antlr4,antlr/antlr4,antlr/antlr4,parrt/antlr4,ericvergnaud/antlr4,ericvergnaud/antlr4,ericvergnaud/antlr4,antlr/antlr4,parrt/antlr4,parrt/antlr4,ericvergnaud/antlr4,parrt/antlr4,parrt/antlr4,ericvergnaud/antlr4,parrt/antlr4,parrt/antlr4,antlr... | runtime/CSharp/Properties/AssemblyInfo.cs | runtime/CSharp/Properties/AssemblyInfo.cs | /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
using System;
using System.Reflection;
[assembly: CLSCompliant(true)]
[assembly: AssemblyVersion("4.9.1")] | /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
using System;
[assembly: CLSCompliant(true)]
| bsd-3-clause | C# |
cb550fc6f0d234bfe8cfe45b6dbaa7781a194035 | use shared runspace in tests | mzboray/PSAutomation | src/PSAutomation.Test/PSTestBase.cs | src/PSAutomation.Test/PSTestBase.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management.Automation.Runspaces;
using System.Text;
using System.Threading.Tasks;
namespace PSAutomation.Test
{
[TestFixture]
public abstract class PSTestBase
{
private static re... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management.Automation.Runspaces;
using System.Text;
using System.Threading.Tasks;
namespace PSAutomation.Test
{
[TestFixture]
public abstract class PSTestBase
{
protected static ... | mit | C# |
f474358a3616e6160e22675a01c9219afc6e13d2 | Fix AdvancingText getTotalVisibleChars | Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare | Assets/Scripts/UI/AdvancingText.cs | Assets/Scripts/UI/AdvancingText.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using TMPro;
public class AdvancingText : MonoBehaviour
{
[SerializeField]
private float advanceSpeed;
[SerializeField]
private UnityEvent onComplete;
private TMP_Te... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using TMPro;
public class AdvancingText : MonoBehaviour
{
[SerializeField]
private float advanceSpeed;
[SerializeField]
private UnityEvent onComplete;
private TMP_Te... | mit | C# |
d4845ef7a529e16a891f2bae6944917bcc351b84 | Remove deprecated application insights code | kapdap/DinkToPdf | DinkToPdf.TestWebServer/Startup.cs | DinkToPdf.TestWebServer/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using DinkToPdf.Contract... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using DinkToPdf.Contract... | mit | C# |
406990c5cbc5007e80faf03fd16c4d9a99ae2d7d | Make TemplarVirtualPathProvider easier to override. | mrydengren/templar,mrydengren/templar | src/Templar/TemplarVirtualPathProvider.cs | src/Templar/TemplarVirtualPathProvider.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Web.Caching;
using System.Web.Hosting;
namespace Templar
{
public class TemplarVirtualPathProvider : VirtualPathProvider
{
protected readonly Dictionary<string, IContentSource> sources = new Dictionary<string, ICont... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Web.Caching;
using System.Web.Hosting;
namespace Templar
{
public class TemplarVirtualPathProvider : VirtualPathProvider
{
private readonly Dictionary<string, IContentSource> sources = new Dictionary<string, IConten... | mit | C# |
fa6b0a873b8245689624a5383792b8333e5bb477 | Improve the comments | RRode/TinyPools | src/TinyPools.Samples/MemoryPoolSample.cs | src/TinyPools.Samples/MemoryPoolSample.cs | using System;
using System.Threading.Tasks;
namespace TinyPools.Samples
{
public static class MemoryPoolSample
{
public static void Run()
{
Console.WriteLine("Starting memory pool sample");
var random = new Random();
//Define array sizes returned from memo... | using System;
using System.Threading.Tasks;
namespace TinyPools.Samples
{
public static class MemoryPoolSample
{
public static void Run()
{
Console.WriteLine("Starting memory pool sample");
var random = new Random();
//Define array sizes returned from memo... | mit | C# |
2d87351d2a507d10c059d5f3036c0ede45ec51d4 | Add tests back to AppVeyor | adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress | build.cake | build.cake | var target = Argument("target", "Default");
var tag = Argument("tag", "cake");
Task("Restore")
.Does(() =>
{
DotNetCoreRestore(".");
});
Task("Build")
.IsDependentOn("Restore")
.Does(() =>
{
if (IsRunningOnWindows())
{
MSBuild("./sharpcompress.sln", c =>
{
c.SetConfigur... | var target = Argument("target", "Default");
var tag = Argument("tag", "cake");
Task("Restore")
.Does(() =>
{
DotNetCoreRestore(".");
});
Task("Build")
.IsDependentOn("Restore")
.Does(() =>
{
if (IsRunningOnWindows())
{
MSBuild("./sharpcompress.sln", c =>
{
c.SetConfigur... | mit | C# |
f585416fdf27fe817492c0fb065127b96cc81170 | build test projects | neekgreen/PaginableCollections,neekgreen/PaginableCollections | build.cake | build.cake | var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var buildDirectory = Directory("./artifacts");
Task("Clean")
.Does(() =>
{
CleanDirectory(buildDirectory);
});
Task("Restore")
.IsDependentOn("Clean")
.Does(() =>
{
DotNetCoreR... | var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var buildDirectory = Directory("./artifacts");
Task("Clean")
.Does(() =>
{
CleanDirectory(buildDirectory);
});
Task("Restore")
.IsDependentOn("Clean")
.Does(() =>
{
DotNetCoreR... | mit | C# |
8b5766ae70cedf4aa13dee846707647d2a936f7b | Add test cloud to build script | Redth/ContinuousBrewskies,Redth/ContinuousBrewskies | build.cake | build.cake | #addin "Cake.FileHelpers"
#addin "Cake.Xamarin"
var TARGET = Argument ("target", Argument ("t", "Default"));
Task ("Default").Does (() =>
{
NuGetRestore ("./ContinuousBrewskies.sln");
DotNetBuild ("./ContinuousBrewskies.sln", c => c.Configuration = "Release");
});
Task ("InjectKeys").Does (() =>
{
// Get the API... | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "Default"));
Task ("Default").Does (() =>
{
});
Task ("InjectKeys").Does (() =>
{
// Get the API Key from the Environment variable
var breweryDbApiKey = EnvironmentVariable ("BREWERY_DB_API_KEY") ?? "";
// Replace the placeholder in our C... | apache-2.0 | C# |
fce2be9dc7118db2caa6a32729f9fb709d4f68bd | Allow running inspect core with cakeclr. | ppy/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,ZLima12/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,johnneijzen/osu,DrabWeb/osu,peppy/osu,peppy/osu,DrabWeb/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,smoogipo... | build.cake | build.cake | #addin "nuget:?package=CodeFileSanity"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools"
#tool "nuget:?package=NVika.MSBuild"
#tool "nuget:?package=NuGet.CommandLine"
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
////////////////////////////////////////////////... | #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools"
#tool "nuget:?package=NVika.MSBuild"
#addin "nuget:?package=CodeFileSanity"
var NVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
////////... | mit | C# |
9df87d2337857d91fde5603af1532a8f469bb8cd | Bump version to 0.7.1 | ar3cka/Journalist | src/SolutionInfo.cs | src/SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.7.1")]
[assembly: AssemblyInformationalVersionAttribute("0.7.1")]
[assembly: AssemblyFileVersionAttribute("0.7.1")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.7.0")]
[assembly: AssemblyInformationalVersionAttribute("0.7.0")]
[assembly: AssemblyFileVersionAttribute("0.7.0")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | apache-2.0 | C# |
159edbb1ad6d1b2cb817eedbe55acfbf83819805 | change message | jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad | 02-sqlite/Program.cs | 02-sqlite/Program.cs | using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.Data.Entity;
namespace ConsoleApp
{
public class Program
{
public static void Main()
{
using (var db = new BloggingContext())
{
db.Blogs.RemoveRange(db.Blogs);
... | using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.Data.Entity;
namespace ConsoleApp
{
public class Program
{
public static void Main()
{
using (var db = new BloggingContext())
{
db.Blogs.RemoveRange(db.Blogs);
... | mit | C# |
7073c1dbc8a11fb0dd7884a1d5d96edbb3fb7916 | add sourcetype | sebastus/AzureFunctionForSplunk | shared/sendToSplunk.csx | shared/sendToSplunk.csx | #r "Newtonsoft.Json"
using System;
using System.Dynamic;
using System.Net;
using System.Net.Http.Headers;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public class SingleHttpClientInstance
{
private static readonly HttpClient HttpClient;
static SingleHttpClientInstance()
{
... | #r "Newtonsoft.Json"
using System;
using System.Dynamic;
using System.Net;
using System.Net.Http.Headers;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public class SingleHttpClientInstance
{
private static readonly HttpClient HttpClient;
static SingleHttpClientInstance()
{
... | mit | C# |
f3287200b15be4e0cb20cc78c5cee97b48ba04bb | Fix the broken "New" link in the header. | ekyoung/contact-repository,ekyoung/contact-repository | Source/Web/Views/Shared/_Layout.cshtml | Source/Web/Views/Shared/_Layout.cshtml | @using System.Web.Optimization
<!DOCTYPE html>
@if (@ViewBag.AngularJsApp != null)
{
@: <html lang="en" ng-app="@ViewBag.AngularJsApp">
}
else
{
@: <html lang="en">
}
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
... | @using System.Web.Optimization
<!DOCTYPE html>
@if (@ViewBag.AngularJsApp != null)
{
@: <html lang="en" ng-app="@ViewBag.AngularJsApp">
}
else
{
@: <html lang="en">
}
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
... | mit | C# |
688a3b14e0b9681924b595392974d3f8928f8f01 | move each action into a convention list | Pondidum/Conifer,Pondidum/Conifer | TypedRoutingTest/ConventionalRouter.cs | TypedRoutingTest/ConventionalRouter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web.Http;
using System.Web.Http.Controllers;
namespace TypedRoutingTest
{
public class ConventionalRouter
{
private readonly HttpConfiguration _configuration;
public ConventionalRouter(HttpConfiguration con... | using System;
using System.Linq;
using System.Reflection;
using System.Web.Http;
using System.Web.Http.Controllers;
namespace TypedRoutingTest
{
public class ConventionalRouter
{
private readonly HttpConfiguration _configuration;
public ConventionalRouter(HttpConfiguration configuration)
{
_configuration ... | lgpl-2.1 | C# |
2a2ebceac1892d6d4dd25b8237a14dbe16d1e9f8 | increment the version | B2MSolutions/reyna.net,B2MSolutions/reyna.net | src/reyna/Properties/AssemblyInfo.cs | src/reyna/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... | mit | C# |
ad906e7a038e3a68181c4003d7b9719ff1311aea | Update FizzBuzz.cs | michaeljwebb/Algorithm-Practice | LeetCode/FizzBuzz.cs | LeetCode/FizzBuzz.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class FizzBuzz
{
private static void Main(string[] args)
{
for (int i = 1; i < 16; i++)
{
if (i % 3 == 0 && i % 5 == 0)
{
Con... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class FizzBuzz
{
private static void Main(string[] args)
{
for (int i = 1; i < 16; i++)
{
if (i % 3 == 0 && i % 5 == 0)
{
Console.Wr... | mit | C# |
6a6e51c3cb2d1fec19a2f1a59de98a5aba698ad0 | Remove leading tabs. | rcorre/libgit2sharp,vivekpradhanC/libgit2sharp,xoofx/libgit2sharp,github/libgit2sharp,GeertvanHorrik/libgit2sharp,OidaTiftla/libgit2sharp,AMSadek/libgit2sharp,libgit2/libgit2sharp,dlsteuer/libgit2sharp,nulltoken/libgit2sharp,GeertvanHorrik/libgit2sharp,Zoxive/libgit2sharp,oliver-feng/libgit2sharp,jamill/libgit2sharp,AM... | LibGit2Sharp/Mode.cs | LibGit2Sharp/Mode.cs | namespace LibGit2Sharp
{
/// <summary>
/// Git specific modes for entries.
/// </summary>
public enum Mode
{
// Inspired from http://stackoverflow.com/a/8347325/335418
/// <summary>
/// 000000 file mode (the entry doesn't exist)
/// </summary>
Nonexisten... | namespace LibGit2Sharp
{
/// <summary>
/// Git specific modes for entries.
/// </summary>
public enum Mode
{
// Inspired from http://stackoverflow.com/a/8347325/335418
/// <summary>
/// 000000 file mode (the entry doesn't exist)
/// </summary>
Nonexisten... | mit | C# |
01e584fac286904792b2824f4e47a58c540dfdda | Build and publish nuget package | QuickenLoans/XSerializer | XSerializer/Properties/AssemblyInfo.cs | XSerializer/Properties/AssemblyInfo.cs | using System;
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: Ass... | using System;
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: Ass... | mit | C# |
5b7af842082b19e619d7c9781206aa98fa894f02 | remove trial_exp claim | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Api/IdentityServer/ApiResources.cs | src/Api/IdentityServer/ApiResources.cs | using IdentityServer4.Models;
using System.Collections.Generic;
using System.Security.Claims;
namespace Bit.Api.IdentityServer
{
public class ApiResources
{
public static IEnumerable<ApiResource> GetApiResources()
{
return new List<ApiResource>
{
new Api... | using IdentityServer4.Models;
using System.Collections.Generic;
using System.Security.Claims;
namespace Bit.Api.IdentityServer
{
public class ApiResources
{
public static IEnumerable<ApiResource> GetApiResources()
{
return new List<ApiResource>
{
new Api... | agpl-3.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.