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 |
|---|---|---|---|---|---|---|---|---|
f1ea65145bd084f76414a2f93ca6e208853d2de6 | Add ExclamationMark token | transistor1/PoorMansTSqlFormatter,transistor1/PoorMansTSqlFormatter,transistor1/PoorMansTSqlFormatter,transistor1/PoorMansTSqlFormatter | PoorMansTSqlFormatterLib/Interfaces/SqlTokenType.cs | PoorMansTSqlFormatterLib/Interfaces/SqlTokenType.cs | /*
Poor Man's T-SQL Formatter - a small free Transact-SQL formatting
library for .Net 2.0, written in C#.
Copyright (C) 2011-2013 Tao Klerks
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Found... | /*
Poor Man's T-SQL Formatter - a small free Transact-SQL formatting
library for .Net 2.0, written in C#.
Copyright (C) 2011-2013 Tao Klerks
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Found... | agpl-3.0 | C# |
c80450666cb53c6ed001910bc75141e3aba57a8b | Use CancelKeyPress event to exist ServerNode app. | icsharp/Hangfire.Topshelf,icsharp/Hangfire.Topshelf,icsharp/Hangfire.Topshelf | cluster/HF.Samples.ServerNode/Program.cs | cluster/HF.Samples.ServerNode/Program.cs | using System;
using System.Reflection;
using System.Threading;
using Autofac;
using CommandLine;
using Serilog;
using Hangfire;
using Hangfire.Samples.Framework;
using Hangfire.Samples.Framework.Logging;
using HF.Samples.GoodsService;
using HF.Samples.OrderService;
using HF.Samples.StorageService;
namespace HF.Sampl... | using System;
using System.Reflection;
using Autofac;
using CommandLine;
using Serilog;
using Hangfire;
using Hangfire.Samples.Framework;
using Hangfire.Samples.Framework.Logging;
using HF.Samples.GoodsService;
using HF.Samples.OrderService;
using HF.Samples.StorageService;
namespace HF.Samples.ServerNode
{
public c... | mit | C# |
c8099872fdcff56c6c97624fec324ec939feb725 | Add clarifying comment. | PlanetLotus/TetrisClone2D | Assets/GridManager.cs | Assets/GridManager.cs | using UnityEngine;
public class GridManager : MonoBehaviour
{
public bool IsValidPosition(Transform transform)
{
// Check out of bounds
if (transform.position.x > MaxX || transform.position.x < MinX ||
transform.position.y < MinY)
{
return false;
}
... | using UnityEngine;
public class GridManager : MonoBehaviour
{
public bool IsValidPosition(Transform transform)
{
// Check out of bounds
if (transform.position.x > MaxX || transform.position.x < MinX ||
transform.position.y < MinY)
{
return false;
}
... | mit | C# |
6ff52de55637424185397fbc1dbd7060c3871f93 | add command_setCombaud() / command_setMonitor() | yasokada/unity-151117-linemonitor-UI | Assets/SettingSend.cs | Assets/SettingSend.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Text.RegularExpressions; // for Regex
// for UDP send
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
public class SettingSend : MonoBehaviour {
public const string kCommandIpAddressPrefix = "192.168.10."... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System.Text.RegularExpressions; // for Regex
// for UDP send
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
public class SettingSend : MonoBehaviour {
public const string kCommandIpAddressPrefix = "192.168.10."... | mit | C# |
34b9dc84a66597aa9ca3831fa1e7a5053f1376b8 | Remove many TODO items by switching to NotSupportedException | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil | Agiil.Auth.Impl/FakeAuthenticationManager.cs | Agiil.Auth.Impl/FakeAuthenticationManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.Owin.Security;
namespace Agiil.Auth
{
public class FakeAuthenticationManager : IAuthenticationManager
{
public AuthenticationResponseChallenge AuthenticationResponseCh... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.Owin.Security;
namespace Agiil.Auth
{
public class FakeAuthenticationManager : IAuthenticationManager
{
public AuthenticationResponseChallenge AuthenticationResponseCh... | mit | C# |
80f3b8daf712460c4392f80756ca77ae29f0972e | Add sorting for APFT | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/APFT/List.cshtml | Battery-Commander.Web/Views/APFT/List.cshtml | @model IEnumerable<APFT>
<div class="page-header">
<h1>APFT @Html.ActionLink("Add New", "New", "APFT", null, new { @class = "btn btn-default" })</h1>
</div>
<table class="table table-striped" id="dt">
<thead>
<tr>
<th>Soldier</th>
<th>Date</th>
<th>Score</th>
... | @model IEnumerable<APFT>
<div class="page-header">
<h1>APFT @Html.ActionLink("Add New", "New", "APFT", null, new { @class = "btn btn-default" })</h1>
</div>
<table class="table table-striped">
<tbody>
@foreach (var model in Model)
{
<tr>
<td>@Html.DisplayFor(_ => m... | mit | C# |
c68c729c9770e26396db3321ec587ac2c00fa01a | Add warning | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/SUTA/Edit.cshtml | Battery-Commander.Web/Views/SUTA/Edit.cshtml | @model BatteryCommander.Web.Commands.UpdateSUTARequest
<div class="alert alert-warning">
ATTENTION! Requests for HHB, 3-116 should be submitted at <a href="https://redleg.app/SUTA">https://redleg.app/SUTA</a>, NOT HERE. The form is being migrated there.
</div>
@using (Html.BeginForm("Edit", "SUTA", new { M... | @model BatteryCommander.Web.Commands.UpdateSUTARequest
@using (Html.BeginForm("Edit", "SUTA", new { Model.Id }, FormMethod.Post, true, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.Disp... | mit | C# |
920ff3a2ea067a37367af06267c9e97ab80920b8 | Apply the code fix to all valid diagnostics | Velir/Jabberwocky | Jabberwocky.Glass.CodeAnalysis/Jabberwocky.Glass.CodeAnalysis/CodeFixProvider.cs | Jabberwocky.Glass.CodeAnalysis/Jabberwocky.Glass.CodeAnalysis/CodeFixProvider.cs | using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp... | using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp... | mit | C# |
9daa137c48985e2dc4ba088b0e5aa8d3bfcea8e8 | Fix to preserve SelectedValue. | cube-soft/Cube.Forms,cube-soft/Cube.Core,cube-soft/Cube.Forms,cube-soft/Cube.Core | Libraries/Extensions/ComboBoxExtension.cs | Libraries/Extensions/ComboBoxExtension.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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.... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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-2.0 | C# |
b6969f0c097f89c6348902f28d0613362f554059 | Remove stale remarks | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Providers/OpenXR/Scripts/OpenXRCameraSettingsProfile.cs | Assets/MRTK/Providers/OpenXR/Scripts/OpenXRCameraSettingsProfile.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.CameraSystem;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.XRSDK.OpenXR
{
[CreateAssetMenu(menuName = "Mixed Reality/Toolkit/Providers/OpenXR/OpenXR Camera Settings Profile", fileName = "... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.CameraSystem;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.XRSDK.OpenXR
{
[CreateAssetMenu(menuName = "Mixed Reality/Toolkit/Providers/OpenXR/OpenXR Camera Settings Profile", fileName = "... | mit | C# |
4a377c23a87d13b1cd967be0f0f67519185e4f1c | make leg goal position immutable | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped/LegGoalPositions.cs | DynamixelServo.Quadruped/LegGoalPositions.cs | namespace DynamixelServo.Quadruped
{
struct LegGoalPositions
{
public readonly float Coxa;
public readonly float Femur;
public readonly float Tibia;
public LegGoalPositions(float coxa, float femur, float tibia)
{
Coxa = coxa;
Femur = femur;
... | namespace DynamixelServo.Quadruped
{
struct LegGoalPositions
{
public float Coxa;
public float Femur;
public float Tibia;
public LegGoalPositions(float coxa, float femur, float tibia)
{
Coxa = coxa;
Femur = femur;
Tibia = tibia;
... | apache-2.0 | C# |
8e9a309d1f2d6c874dc50611fdbdcbae79b9bf29 | Fix BaseApiController | DimitarDKirov/Forum-Paulo-Coelho,DimitarDKirov/Forum-Paulo-Coelho,DimitarDKirov/Forum-Paulo-Coelho | Forum-Paulo-Coelho/ForumSystem.Api/Controllers/BaseApiController.cs | Forum-Paulo-Coelho/ForumSystem.Api/Controllers/BaseApiController.cs | namespace ForumSystem.Api.Controllers
{
using ForumSystem.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
public class BaseApiController : ApiController
{
protected IForumDb... | namespace ForumSystem.Api.Controllers
{
using ForumSystem.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
public class BaseApiController : ApiController
{
protected IForumDb... | mit | C# |
b9e7c875966352355af0beb6147b338a5c9352cc | Update assembly version | CalebChalmers/NetworkMonitor | NetworkMonitor/Properties/AssemblyInfo.cs | NetworkMonitor/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# |
fb4376b228a8bd0a50672d19b6314586e8fb8b13 | Use lowered transform value in hash computing | Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize,Romanets/RestImageResize | RestImageResize/Security/HashGenerator.cs | RestImageResize/Security/HashGenerator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace RestImageResize.Security
{
public class HashGenerator
{
public string ComputeHash(string privateKey, int width, int height, ImageTransform transform)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace RestImageResize.Security
{
public class HashGenerator
{
public string ComputeHash(string privateKey, int width, int height, ImageTransform transform)
{
... | mit | C# |
b18e735abcbe4866dbbe0ce99370c0c63005337b | Update AssemblyInfo version number to 0.1.5 | blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon | csharp/Crayon/Properties/AssemblyInfo.cs | csharp/Crayon/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: AssemblyTi... | 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: AssemblyTi... | mit | C# |
37aba6ed699b4a62b7b2ec784a579a4188bb1e15 | Change panel icon to the cog | SAEnergy/Infrastructure,SAEnergy/Superstructure,SAEnergy/Infrastructure | Src/Client/Client.Admin.Plugins/Views/ComponentManagerPanel.xaml.cs | Src/Client/Client.Admin.Plugins/Views/ComponentManagerPanel.xaml.cs | using Client.Base;
using Core.Comm;
using Core.Interfaces.ServiceContracts;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Sys... | using Client.Base;
using Core.Comm;
using Core.Interfaces.ServiceContracts;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Sys... | mit | C# |
9a7c7a0d253eb4c77b13484fb72ca8b4f1fd405e | Improve form safe name regex | kjac/FormEditor,kjac/FormEditor,kjac/FormEditor | Source/Solution/FormEditor/FieldHelper.cs | Source/Solution/FormEditor/FieldHelper.cs | using System.Text.RegularExpressions;
namespace FormEditor
{
public static class FieldHelper
{
private static readonly Regex FormSafeNameRegex = new Regex("[^a-zA-Z0-9_]", RegexOptions.Compiled);
public static string FormSafeName(string name)
{
return FormSafeNameRegex.Replace(name ?? string.Empty, "_");
... | using System.Text.RegularExpressions;
namespace FormEditor
{
public static class FieldHelper
{
private static readonly Regex FormSafeNameRegex = new Regex("[ -]", RegexOptions.Compiled);
public static string FormSafeName(string name)
{
return FormSafeNameRegex.Replace(name ?? string.Empty, "_");
}
}
} | mit | C# |
ba6d90d1cb04a4a6313a4a274976ab9d15484af9 | Fix in unit test | Fody/LoadAssembliesOnStartup | src/LoadAssembliesOnStartup.Test/AssemblyWeaver.cs | src/LoadAssembliesOnStartup.Test/AssemblyWeaver.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyWeaver.cs" company="Catel development team">
// Copyright (c) 2008 - 2013 Catel development team. All rights reserved.
// </copyright>
// --------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyWeaver.cs" company="Catel development team">
// Copyright (c) 2008 - 2013 Catel development team. All rights reserved.
// </copyright>
// --------------------------------... | mit | C# |
61da12e73b4ce0c57dc86384189cc0a9b25e390d | test teardown fix | yetanotherchris/Remy | src/Remy.Tests/Unit/Core/Tasks/TypeManagerTests.cs | src/Remy.Tests/Unit/Core/Tasks/TypeManagerTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Remy.Core.Tasks;
using Remy.Tests.StubsAndMocks;
using Serilog;
namespace Remy.Tests.Unit.Core.Tasks
{
[TestFixture]
public class TypeManagerTests
{
private ILogger _logger;
private string _currentD... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using Remy.Core.Tasks;
using Remy.Tests.StubsAndMocks;
using Serilog;
namespace Remy.Tests.Unit.Core.Tasks
{
[TestFixture]
public class TypeManagerTests
{
private ILogger _logger;
private string _currentD... | mit | C# |
8fb505afa10ce1bd58faa75940f06506951ceda0 | Mark IsNullable usage with a TODO | actionshrimp/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,knocte/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,luised... | src/SevenDigital.Api.Schema/TrackEndpoint/Track.cs | src/SevenDigital.Api.Schema/TrackEndpoint/Track.cs | using System;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.ArtistEndpoint;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
using SevenDigital.Api.Schema.Pricing;
using SevenDigital.Api.Schema.ReleaseEndpoint;
namespace SevenDigital.Api.Schema.... | using System;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.ArtistEndpoint;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
using SevenDigital.Api.Schema.Pricing;
using SevenDigital.Api.Schema.ReleaseEndpoint;
namespace SevenDigital.Api.Schema.... | mit | C# |
0a9239cabfe7fb9a3a9c1f14d5193bb94a22602a | rename test after client no longer implements IDispose | RossLieberman/NEST,adam-mccoy/elasticsearch-net,UdiBen/elasticsearch-net,cstlaurent/elasticsearch-net,CSGOpenSource/elasticsearch-net,cstlaurent/elasticsearch-net,RossLieberman/NEST,azubanov/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,elastic/elasticsearch-net,cstlaurent/elasticsearch-ne... | src/Tests/ClientConcepts/LowLevel/Lifetimes.doc.cs | src/Tests/ClientConcepts/LowLevel/Lifetimes.doc.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Net;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Newtonsoft.Json;
using Tests.Framework;
namespace Tests.ClientConcepts.LowLevel
{
public class Lifetimes
{
/**
... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Net;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Newtonsoft.Json;
using Tests.Framework;
namespace Tests.ClientConcepts.LowLevel
{
public class Lifetimes
{
/**
... | apache-2.0 | C# |
89a4f255da916630f1fe4a6497acfadae0ce4023 | remove GetState | acple/ParsecSharp | ParsecSharp/Parser/Internal/Builder.cs | ParsecSharp/Parser/Internal/Builder.cs | using System;
using System.Runtime.CompilerServices;
namespace ParsecSharp.Internal
{
public static class Builder
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Parser<TToken, T> Create<TToken, T>(Func<IParsecStateStream<TToken>, Result<TToken, T>> function)
=> n... | using System;
using System.Runtime.CompilerServices;
namespace ParsecSharp.Internal
{
public static class Builder
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static Parser<TToken, T> Create<TToken, T>(Func<IParsecStateStream<TToken>, Result<TToken, T>> function)
=> n... | mit | C# |
739e87c5ab1afec58d012c797a97553ac281c99c | Add one decimal place to MB/GB/TB in the table in the Attachments tab | chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker,chylex/Discord-History-Tracker | app/Desktop/Common/BytesValueConverter.cs | app/Desktop/Common/BytesValueConverter.cs | using System;
using System.Globalization;
using Avalonia.Data.Converters;
namespace DHT.Desktop.Common {
sealed class BytesValueConverter : IValueConverter {
private sealed class Unit {
private readonly string label;
private readonly string numberFormat;
public Unit(string label, int decimalPlaces) {
... | using System;
using System.Globalization;
using Avalonia.Data.Converters;
namespace DHT.Desktop.Common {
sealed class BytesValueConverter : IValueConverter {
private static readonly string[] Units = {
"B",
"kB",
"MB",
"GB",
"TB"
};
private const int Scale = 1000;
private static string Convert... | mit | C# |
e8c768638c3cb0c348606ea39ef381df2e8d52ed | Fix XML comments | henkmollema/Jwt.NET,henkmollema/Jwt.NET | src/JsonWebTokens/JwtHashAlgorithm.cs | src/JsonWebTokens/JwtHashAlgorithm.cs | namespace Jwt
{
/// <summary>
/// Specifies the hashing algorithm being used used.
/// </summary>
public enum JwtHashAlgorithm
{
/// <summary>
/// Hash-based Message Authentication Code (HMAC) using SHA256.
/// </summary>
HS256,
/// <summary>
/// Hash... | namespace Jwt
{
/// <summary>
/// Represents the hashing algorithm being used used.
/// </summary>
public enum JwtHashAlgorithm
{
/// <summary>
/// Hash-based Message Authentication Code (HMAC) using SHA256.
/// </summary>
HS256,
/// <summary>
/// Has... | mit | C# |
0e12ae4cb2452e81e6a25868554168540a06ff55 | Improve performance of puzzle 10 | martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle010.cs | src/ProjectEuler/Puzzles/Puzzle010.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | apache-2.0 | C# |
f3df4c5ba8b4d7610a047f49628265c6190056b7 | add pet skill to passivities | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Data/Databases/PassivityDatabase.cs | TCC.Core/Data/Databases/PassivityDatabase.cs | using System.Collections.Generic;
using TCC.Data.Skills;
using TeraDataLite;
namespace TCC.Data.Databases
{
public static class PassivityDatabase
{
//TODO: maybe move this to a TeraData tsv file (or merge in hotdot.tsv)
public static Dictionary<uint, uint> Passivities { get; } = new Dictionary... | using System.Collections.Generic;
using TCC.Data.Skills;
using TeraDataLite;
namespace TCC.Data.Databases
{
public static class PassivityDatabase
{
//TODO: maybe move this to a TeraData tsv file (or merge in hotdot.tsv)
public static Dictionary<uint, uint> Passivities { get; } = new Dictionary... | mit | C# |
d506831d8406a3bff20810399f1b4b0115abe106 | Update to hello support example. | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | dotnetv3/Support/Actions/HelloSupport.cs | dotnetv3/Support/Actions/HelloSupport.cs | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using Amazon.AWSSupport;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace SupportActions;
/// <summary>
/// Hello AWS Support example.
/// </summary>
public stat... | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using Amazon.AWSSupport;
using Amazon.Extensions.NETCore.Setup;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensio... | apache-2.0 | C# |
542f598d9b4772e6f3f330bda5ccbc1255f69bd4 | Write the DOCTYPE and use two-space indentation | openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,mono/dbus-sharp,arfbtwn/dbus-sharp,arfbtwn/dbus-sharp | src/Introspection.cs | src/Introspection.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Text;
namespace NDesk.DBus
{
//TODO: complete this class
public c... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Diagnostics;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Text;
namespace NDesk.DBus
{
//TODO: complete this class
public c... | mit | C# |
6d94953fc13a95f121448651aba901ac52483eca | remove unused method | kcummings/kgrep,kcummings/kgrep | src/ReplaceTokens.cs | src/ReplaceTokens.cs | using System.Collections.Generic;
using System.Text.RegularExpressions;
using NLog;
namespace kgrep {
public class ReplaceTokens : IFileAction {
protected static Logger logger = LogManager.GetCurrentClassLogger();
public IHandleOutput sw = new WriteStdout();
protected int _countO... | using System.Collections.Generic;
using System.Text.RegularExpressions;
using NLog;
namespace kgrep {
public class ReplaceTokens : IFileAction {
protected static Logger logger = LogManager.GetCurrentClassLogger();
public IHandleOutput sw = new WriteStdout();
protected int _countO... | mit | C# |
f92436b9c2f6bd9d1f067e95c1539dc795523dc0 | Remove fullanme tooltip | leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net | Joinrpg/Views/Shared/DisplayTemplates/User.cshtml | Joinrpg/Views/Shared/DisplayTemplates/User.cshtml | @model JoinRpg.DataModel.User
@if (Model == null)
{
<span>нет</span>
return;
}
<span style="font-weight: bold">
<nobr><a href="@Url.Action("Details", "User", new {Model.UserId})"><span class="glyphicon glyphicon-user"></span>@Model.DisplayName.Trim()</a></nobr>
</span> | @model JoinRpg.DataModel.User
@if (Model == null)
{
<span>нет</span>
return;
}
<span style="font-weight: bold">
<nobr><a href="@Url.Action("Details", "User", new {Model.UserId})" title="@Model.FullName"><span class="glyphicon glyphicon-user"></span>@Model.DisplayName.Trim()</a></nobr>
</span> | mit | C# |
3bf5df5c7e6e4ad710e73949145e3477c98f637d | Update copyright version | SonarSource-VisualStudio/sonarlint-visualstudio | src/AssemblyInfo.Shared.cs | src/AssemblyInfo.Shared.cs | /*
* SonarLint for Visual Studio
* Copyright (C) 2016-2017 SonarSource SA and Microsoft Corporation
* mailto: contact AT sonarsource DOT com
*
* Licensed under the MIT License.
* See LICENSE file in the project root for full license information.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIN... | /*
* SonarLint for Visual Studio
* Copyright (C) 2016-2017 SonarSource SA and Microsoft Corporation
* mailto: contact AT sonarsource DOT com
*
* Licensed under the MIT License.
* See LICENSE file in the project root for full license information.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIN... | mit | C# |
4ca01f491aea6bd621fc80cad41e50854b142a90 | fix test | khipu/lib-dotnet | unittest/Khipu/HtmlHelperTest.cs | unittest/Khipu/HtmlHelperTest.cs | using System;
using NUnit.Framework;
using Khipu.Api;
using Rhino.Mocks;
using System.IO;
namespace unittest
{
[TestFixture ()]
public class HtmlHelperTest
{
HtmlHelper endPoint;
[TestFixtureSetUp]
public void PreTestInitialize ()
{
endPoint = MockRepository.GeneratePartialMock<HtmlHelper> ("1234", "123... | using System;
using NUnit.Framework;
using Khipu.Api;
using Rhino.Mocks;
using System.IO;
namespace unittest
{
[TestFixture ()]
public class HtmlHelperTest
{
HtmlHelper endPoint;
[TestFixtureSetUp]
public void PreTestInitialize ()
{
endPoint = MockRepository.GeneratePartialMock<HtmlHelper> ("1234", "123... | bsd-3-clause | C# |
a386548439d2ff054f23bf3ef8c5f5359509a031 | Add alt tags to image, add download links. | dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch | TeacherPouch.Web/Views/Photos/PhotoDetails.cshtml | TeacherPouch.Web/Views/Photos/PhotoDetails.cshtml | @model PhotoDetailsViewModel
@{
ViewBag.Title = "Photo Details";
}
<div id="photoDetails">
<header>
<h1>@Model.Photo.Name</h1>
</header>
<table class="photo-details-tbl">
<tr>
<td class="prev-arrow-cell">
@if (Model.PreviousPhoto != null)
{... | @model PhotoDetailsViewModel
@{
ViewBag.Title = "Photo Details";
}
<div id="photoDetails">
<header>
<h1>@Model.Photo.Name</h1>
</header>
<table class="photo-details-tbl">
<tr>
<td class="prev-arrow-cell">
@if (Model.PreviousPhoto != null)
{... | mit | C# |
87a626f495707429e07fb2b3ef942c2b17fd8556 | Update ReferenceCacheManager.cs | PowerMogli/Rabbit.Db | src/Micro+/Caching/ReferenceCacheManager.cs | src/Micro+/Caching/ReferenceCacheManager.cs | using System;
using MicroORM.Entity;
namespace MicroORM.Caching
{
internal static class ReferenceCacheManager
{
private static readonly object _lock = new object();
private static EntityInfoReferenceCache<object> _referenceCache = new EntityInfoReferenceCache<object>();
internal static... | using System;
using MicroORM.Entity;
namespace MicroORM.Caching
{
internal static class ReferenceCacheManager
{
private static readonly object _lock = new object();
private static EntityInfoReferenceCache<object> _referenceCache = new EntityInfoReferenceCache<object>();
internal stati... | apache-2.0 | C# |
dc1556e8b3153d4dd6b4d4bf9b7992097218b3b5 | Tidy up BindingPaths a bit | jamesqo/Sirloin | src/Sirloin.DesignerSupport/BindingPaths.cs | src/Sirloin.DesignerSupport/BindingPaths.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Typed.Xaml;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Sirloin.Internal
{
public sealed class BindingPaths
{
private BindingPaths()
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Typed.Xaml;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace Sirloin.Internal
{
public sealed class BindingPaths
{
private BindingPaths()
... | bsd-2-clause | C# |
3613751426b06c361931aebdce9ae27a277eaa67 | add conversation window private var | octoblu/meshblu-connector-skype,octoblu/meshblu-connector-skype | src/csharp/join-meeting.cs | src/csharp/join-meeting.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Lync.Model;
using Microsoft.Lync.Model.Conversation;
using Microsoft.Lync.Model.Conversation.Sharing;
using Microsoft.Lync.Model.Conversation.AudioVideo;
using Microsoft.Lync.Model.Ex... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Lync.Model;
using Microsoft.Lync.Model.Conversation;
using Microsoft.Lync.Model.Conversation.Sharing;
using Microsoft.Lync.Model.Conversation.AudioVideo;
using Microsoft.Lync.Model.Ex... | mit | C# |
10f9b522f2cfd724750fcaa1b7e91ebbf8ec8b74 | Consolidate ButtonFactory - AboutWindow | larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,mmoening/MatterControl,jlewin/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,larsbrubaker/MatterC... | AboutPage/AboutWindow.cs | AboutPage/AboutWindow.cs | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2014, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | bsd-2-clause | C# |
bef565592df5a8bd0b7368e188a125af2e5a7bf2 | Remove unused code | cloudfoundry-incubator/garden-windows,stefanschneider/garden-windows,cloudfoundry-incubator/garden-windows,stefanschneider/garden-windows,cloudfoundry/garden-windows,stefanschneider/garden-windows,cloudfoundry-incubator/garden-windows,cloudfoundry/garden-windows,cloudfoundry/garden-windows | Containerizer/Program.cs | Containerizer/Program.cs | using Microsoft.Owin.Hosting;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using Owin.WebSocket;
using Owin.WebSocket.Extensions;
using System.Threading.Tasks;
namespace Containerizer
{
public class Program
{
static void Main(string[] arg... | using Microsoft.Owin.Hosting;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using Owin.WebSocket;
using Owin.WebSocket.Extensions;
using System.Threading.Tasks;
namespace Containerizer
{
public class Program
{
public class WS : WebSocketCo... | apache-2.0 | C# |
fad86b09e5734f1c384a0ee075acf3a79be23aaa | change default view service templates folder to 'templates' | kouweizhong/IdentityServer3,wondertrap/IdentityServer3,wondertrap/IdentityServer3,chicoribas/IdentityServer3,jackswei/IdentityServer3,mvalipour/IdentityServer3,mvalipour/IdentityServer3,roflkins/IdentityServer3,delRyan/IdentityServer3,EternalXw/IdentityServer3,huoxudong125/Thinktecture.IdentityServer.v3,delRyan/Identit... | source/Core/Services/DefaultViewService/FileSystemWithEmbeddedFallbackViewLoader.cs | source/Core/Services/DefaultViewService/FileSystemWithEmbeddedFallbackViewLoader.cs | /*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | /*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | apache-2.0 | C# |
527b52f5cec6a3cb5f4f4e0185ec8881cd46916b | Fix unit tests. | Eusth/IPA | IPA.Tests/ProgramTest.cs | IPA.Tests/ProgramTest.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace IPA.Tests
{
public class ProgramTest
{
[Theory]
// Unrelated path
[InlineData("test/from.dll", "test/to.dll", "native", false, new... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace IPA.Tests
{
public class ProgramTest
{
[Theory]
// Unrelated path
[InlineData("test/from.dll", "test/to.dll", "native", false, new... | mit | C# |
4c8fe9b05a30a8eeacdba923920f23d6a582c59e | add Env modified: Dragon/Source/Symbols.cs | Mooophy/cs143,Mooophy/cs143,Mooophy/cs143,Mooophy/cs143,Mooophy/cs143 | Dragon/Source/Symbols.cs | Dragon/Source/Symbols.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dragon
{
public class Env
{
private Dictionary<Token, Id> _table;
protected Env _prev;
public Env(Env prev)
{
_table = new Dictionary<Token... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dragon
{
public class Type : Word
{
public int Width;
public Type(string typeName, char tag, int width)
: base(typeName, tag)
{
this... | mit | C# |
4ada2a912e159fc3b165d4f41201633b1593bee5 | bump verison | mstyura/Anotar,distantcam/Anotar,modulexcite/Anotar,Fody/Anotar | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("0.13.0.0")]
[assembly: AssemblyFileVersion("0.13.0.0")]
| mit | C# |
1cabcca0ff03818e972cf9f70dc65a3c09cb8c15 | Add comments to PersonalInfoDto. | harrison314/MapperPerformace | MapperPerformace/Testing/PersonInfoDto.cs | MapperPerformace/Testing/PersonInfoDto.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MapperPerformace.Testing
{
/// <summary>
/// Dto represents <see cref="MapperPerformace.Ef.Person"/>.
/// </summary>
public class PersonInfoDto
{
public int Business... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MapperPerformace.Testing
{
/// <summary>
/// POCO class for short personal informations.
/// </summary>
public class PersonInfoDto
{
public int BusinessEntityID
... | mit | C# |
9893da92ac50226235547f2c3823e9a60d9520da | Make consistent and add a comment for clarification | ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing | Purchasing.Mvc/Views/Order/_Submit.cshtml | Purchasing.Mvc/Views/Order/_Submit.cshtml | @model OrderModifyModel
@{
var submitMap = new Dictionary<string, string> {{"Request", "Create"}, {"Edit", "Save"}, {"Copy", "Save"}};
var submitText = submitMap[ViewBag.Title];
var submitTitle = ViewBag.Title == "Copy" ? "Save this order which was duplicated from an existing order" : string.E... | @model OrderModifyModel
@{
var submitMap = new Dictionary<string, string> {{"Request", "Create"}, {"Edit", "Save"}, {"Copy", "Save"}};
var submitText = submitMap[ViewBag.Title];
var submitTitle = ViewBag.Title == "Copy" ? "Save this order which was duplicated from an existing order" : string.E... | mit | C# |
c85c6d1199607fbc73534e151460aa668a1f9ffd | Update new-blog.cshtml | mishrsud/sudhanshutheone.com,mishrsud/sudhanshutheone.com,mishrsud/sudhanshutheone.com,daveaglick/daveaglick,daveaglick/daveaglick | Somedave/Views/Blog/Posts/new-blog.cshtml | Somedave/Views/Blog/Posts/new-blog.cshtml | @{
Title = "New Blog";
Lead = "Look, Ma, no database!";
Published = new DateTime(2014, 9, 2);
Tags = new[] { "blog", "meta" };
}
<p>It's been a little while coming, but I'm finally launching my new blog. It's built from scratch in ASP.NET MVC. Why go to all the trouble to build a blog engine from scrat... | @{
Title = "New Blog";
Lead = "Look, Ma, no database!";
//Published = new DateTime(2014, 9, 4);
Tags = new[] { "blog", "meta" };
}
<p>It's been a little while coming, but I'm finally launching my new blog. It's built from scratch in ASP.NET MVC. Why go to all the trouble to build a blog engine from scr... | mit | C# |
eefa1e41c4bcff5924abb6420f2c9d4a656f2251 | Stop testing Message property in UnchangedParametersInError(). | PenguinF/sandra-three | SysExtensions/Tests/JsonErrorInfoTests.cs | SysExtensions/Tests/JsonErrorInfoTests.cs | #region License
/*********************************************************************************
* JsonErrorInfoTests.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | #region License
/*********************************************************************************
* JsonErrorInfoTests.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | apache-2.0 | C# |
afdf9eabe605ac314c54fc7855da2461dacbd252 | fix non-passing unit test. | ParagonTruss/UnitClassLibrary | UnitClassLibrary/Force/ForceConversion.cs | UnitClassLibrary/Force/ForceConversion.cs | using System;
namespace UnitClassLibrary
{
public partial class Force
{
/// <summary>Converts one unit of Force to another</summary>
/// <param name="typeConvertingTo">input unit type</param>
/// <param name="passedValue"></param>
/// <param name="typeConvertingFrom">desired output unit type</param>
/// ... | using System;
namespace UnitClassLibrary
{
public partial class Force
{
/// <summary>Converts one unit of Force to another</summary>
/// <param name="typeConvertingTo">input unit type</param>
/// <param name="passedValue"></param>
/// <param name="typeConvertingFrom">desired output unit type</param>
/// ... | lgpl-2.1 | C# |
ae3662c392b6670dcfbdd63b9bf850e2f024d6ff | Remove nameof operator because it caused a build error in AppHarbor | nelsonwellswku/Yahtzee,nelsonwellswku/Yahtzee,nelsonwellswku/Yahtzee | Website/Security/EnforceHttpsAttribute.cs | Website/Security/EnforceHttpsAttribute.cs | using System;
using System.Web.Mvc;
namespace Website.Security
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class EnforceHttpsAttribute : RequireHttpsAttribute
{
public override void OnAuthorization(AuthorizationContext filterContext)
{
if(filterContext == null)
{
throw... | using System;
using System.Web.Mvc;
namespace Website.Security
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class EnforceHttpsAttribute : RequireHttpsAttribute
{
public override void OnAuthorization(AuthorizationContext filterContext)
{
if(filterContext == null)
{
throw... | mit | C# |
a3136065406748f4e34a048783f5ccf061ef8100 | Change test settings default Redis Db | jdehlin/CacheSleeve,MonoSoftware/CacheSleeve | CacheSleeve.Tests/TestSettings.cs | CacheSleeve.Tests/TestSettings.cs | using System.Collections.Generic;
using CacheSleeve.Tests.TestObjects;
namespace CacheSleeve.Tests
{
public static class TestSettings
{
public static string RedisHost = "localhost";
public static int RedisPort = 6379;
public static string RedisPassword = null;
public static int... | using System.Collections.Generic;
using CacheSleeve.Tests.TestObjects;
namespace CacheSleeve.Tests
{
public static class TestSettings
{
public static string RedisHost = "localhost";
public static int RedisPort = 6379;
public static string RedisPassword = null;
public static int... | apache-2.0 | C# |
b0e2806be46e5ea88800d48fd5bb505586d0bb21 | use file name as the parameter for controller | Mooophy/158212 | as4/TextAnalysis/TextAnalysis/MainForm.cs | as4/TextAnalysis/TextAnalysis/MainForm.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows;
using System.IO;
namespace TextAnalysis
{
public partial class MainForm : Form... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows;
using System.IO;
namespace TextAnalysis
{
public partial class MainForm : Form... | mit | C# |
d99b2b64d3452ad40b585a9816ac29f19b41d31f | Fix too close neighbors | creepylava/RotMG-Dungeon-Generator | DungeonGenerator/RoomCollision.cs | DungeonGenerator/RoomCollision.cs | /*
Copyright (C) 2015 creepylava
This file is part of RotMG Dungeon Generator.
RotMG Dungeon Generator is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License,... | /*
Copyright (C) 2015 creepylava
This file is part of RotMG Dungeon Generator.
RotMG Dungeon Generator is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License,... | agpl-3.0 | C# |
145c714580de659e23389047a48c54e10b147772 | Enable nullable reference type | neuecc/MagicOnion | src/MagicOnion.Server.HttpGateway/MagicOnionMiddlewareExtensions.cs | src/MagicOnion.Server.HttpGateway/MagicOnionMiddlewareExtensions.cs | #nullable enable
using Grpc.Core;
using MagicOnion.Server.HttpGateway;
using MagicOnion.Server.HttpGateway.Swagger;
using MagicOnion.Server;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Grpc.Net.Client;
using Microsoft.AspNetCore.Routing;
nam... | using Grpc.Core;
using MagicOnion.Server.HttpGateway;
using MagicOnion.Server.HttpGateway.Swagger;
using MagicOnion.Server;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Grpc.Net.Client;
using Microsoft.AspNetCore.Routing;
namespace Microsoft.... | mit | C# |
5f2001fa599673d067f10404e2a38ac82842175a | Enable offline exception catching | File-New-Project/EarTrumpet | EarTrumpet/Services/ErrorReportingService.cs | EarTrumpet/Services/ErrorReportingService.cs | using Bugsnag;
using Bugsnag.Clients;
using EarTrumpet.Extensions;
using EarTrumpet.Misc;
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using Windows.ApplicationModel;
namespace EarTrumpet.Services
{
class ErrorReportingService
{
internal static void Initialize... | using Bugsnag;
using Bugsnag.Clients;
using EarTrumpet.Extensions;
using EarTrumpet.Misc;
using System;
using System.Diagnostics;
using System.IO;
using Windows.ApplicationModel;
namespace EarTrumpet.Services
{
class ErrorReportingService
{
internal static void Initialize()
{
try
... | mit | C# |
7c810f259f88a45a1b601f74ba1504121ee0f0e9 | Update YourFoodDbContext.cs | Telerik-Hackathon-2014/YourFood-WebAPI,Telerik-Hackathon-2014/YourFood-WebAPI | YourFood.Data/DbContext/YourFoodDbContext.cs | YourFood.Data/DbContext/YourFoodDbContext.cs | namespace YourFood.Data.DbContext
{
using System;
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
using YourFood.Common;
using YourFood.Data.Migrations;
using YourFood.Models;
public class YourFoodDbContext : IdentityDbContext<User>, IYourFoodDbContext
{
... | namespace YourFood.Data.DbContext
{
using System;
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
using YourFood.Common;
using YourFood.Data.Migrations;
using YourFood.Models;
public class YourFoodDbContext : IdentityDbContext<User>, IYourFoodDbContext
{
... | mit | C# |
3ca3062118d5498dae38fe953bb447f0261c9e33 | Fix crash when viewing some maps with features close to the edge | MHeasell/Mappy,MHeasell/Mappy | Mappy/Data/Feature.cs | Mappy/Data/Feature.cs | namespace Mappy.Data
{
using System;
using System.Drawing;
using Grids;
public class Feature
{
public Feature(string name, Bitmap image)
: this(name, image, new Point(0, 0), new Size(1, 1))
{
}
public Feature(string name, Bitmap image, Point... | namespace Mappy.Data
{
using System;
using System.Drawing;
using Grids;
public class Feature
{
public Feature(string name, Bitmap image)
: this(name, image, new Point(0, 0), new Size(1, 1))
{
}
public Feature(string name, Bitmap image, Point... | mit | C# |
d1a06381161223bd024ee6c80ea483834ee0b477 | Add configuration options for HMRC to use MI Feed | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/HmrcConfiguration.cs | src/SFA.DAS.EmployerApprenticeshipsService.Domain/Configuration/HmrcConfiguration.cs | namespace SFA.DAS.EAS.Domain.Configuration
{
public class HmrcConfiguration
{
public string BaseUrl { get; set; }
public string ClientId { get; set; }
public string Scope { get; set; }
public string ClientSecret { get; set; }
public string ServerToken { get; set; }
... | namespace SFA.DAS.EAS.Domain.Configuration
{
public class HmrcConfiguration
{
public string BaseUrl { get; set; }
public string ClientId { get; set; }
public string Scope { get; set; }
public string ClientSecret { get; set; }
public string ServerToken { get; set; }
... | mit | C# |
c4ab17da68ff73ddf5aa10e895fd52394b6fa007 | Remove static that is unused. | mgoertz-msft/roslyn,KevinRansom/roslyn,dpoeschl/roslyn,bartdesmet/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,KirillOsenkov/roslyn,tmeschter/roslyn,reaction1989/roslyn,genlu/roslyn,OmarTawfik/roslyn,eriawan/roslyn,agocke/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,swaroop-sridhar/roslyn,VSadov/roslyn,jcouv/roslyn,c... | src/Workspaces/Core/Portable/CodeFixes/FixAllOccurrences/WellKnownFixAllProviders.cs | src/Workspaces/Core/Portable/CodeFixes/FixAllOccurrences/WellKnownFixAllProviders.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 Microsoft.CodeAnalysis.CodeActions;
namespace Microsoft.CodeAnalysis.CodeFixes
{
/// <summary>
/// Contains well known implementations of <see... | // 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 Microsoft.CodeAnalysis.CodeActions;
namespace Microsoft.CodeAnalysis.CodeFixes
{
/// <summary>
/// Contains well known implementations of <see... | mit | C# |
2d37d0a7ac922b282b0c0f5b9816d65d934a4757 | Update Singleton.cs | efruchter/UnityUtilities | Patterns/Singleton.cs | Patterns/Singleton.cs | using System;
using UnityEngine.Assertions;
namespace Patterns
{
/// <summary>
/// Singleton manager. Provides a warning when trying to double-add or get null singletons.
/// </summary>
public static class Singleton<T> where T : class
{
private static T _singleton;
private static Action<T> _onAdd;
/// <sum... | using System;
using System.Collections.Generic;
using UnityEngine.Assertions;
/// <summary>
/// Singleton manager. Provides a warning when trying to double-add or get null singletons.
/// </summary>
public static class Singleton<T> where T : class
{
private static T _singleton;
private static Action<T> _onAdd;
pub... | mit | C# |
3ca2a7767a04d2911d8244bb1d2755747e099a45 | Exclude misses and empty window hits from UR calculation | ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu | osu.Game/Screens/Ranking/Statistics/UnstableRate.cs | osu.Game/Screens/Ranking/Statistics/UnstableRate.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Screens.Ranking.Statistics
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Screens.Ranking.Statistics
{
/// <summary>
... | mit | C# |
a31be8f846c890c95a2ffdc2571686ce5f9f9130 | Fix name violation | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserFilterViewModel.cs | WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserFilterViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Avalonia.Controls;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.ManagedDialogs
{
internal class ManagedFileChooserFilterViewModel : ViewModelBase
{
private readonly string[] Extensions;
public string Name { get; }
public... | using System;
using System.Collections.Generic;
using System.Linq;
using Avalonia.Controls;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.ManagedDialogs
{
internal class ManagedFileChooserFilterViewModel : ViewModelBase
{
private readonly string[] _extensions;
public string Name { get; }
publi... | mit | C# |
038099a58a1cb4dde9afa510e343993345fc5b69 | Update to skype production openId configuration | xiangyan99/BotBuilder,dr-em/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,stevengum97/BotBuilder,dr-em/BotBuilder,yakumo/BotBuilder,dr-em/BotBuilder,xiangyan99/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,Clairety/ConnectMe,mmatkow/BotBuilder,mmatkow/BotBuilder,Clairety/ConnectMe,msft-shahins/B... | CSharp/Library/Microsoft.Bot.Connector/JwtConfig.cs | CSharp/Library/Microsoft.Bot.Connector/JwtConfig.cs | using System;
using System.IdentityModel.Tokens;
using System.Linq;
namespace Microsoft.Bot.Connector
{
/// <summary>
/// Configuration for JWT tokens
/// </summary>
public static class JwtConfig
{
/// <summary>
/// TO BOT FROM CHANNEL: OpenID metadata document for tokens coming fr... | using System;
using System.IdentityModel.Tokens;
using System.Linq;
namespace Microsoft.Bot.Connector
{
/// <summary>
/// Configuration for JWT tokens
/// </summary>
public static class JwtConfig
{
/// <summary>
/// TO BOT FROM CHANNEL: OpenID metadata document for tokens coming fr... | mit | C# |
d73a3da61da863a5b5e76b3f7ce868b3719eea1f | tweak enemy spawn delay | paidgeek/Withstand | Assets/Scripts/Enemies/EnemySpawner.cs | Assets/Scripts/Enemies/EnemySpawner.cs | using System.Collections;
using UnityEngine;
public class EnemySpawner : MonoBehaviour
{
[SerializeField] private Transform[] m_EnemyPrefabs;
private float m_Rate;
private void Start()
{
m_Rate = 8.0f;
StartCoroutine(SpawnerCoroutine());
}
public void OnGameOver()
{
StopAllCoroutines();
... | using System.Collections;
using UnityEngine;
public class EnemySpawner : MonoBehaviour
{
[SerializeField] private Transform[] m_EnemyPrefabs;
private float m_Rate;
private void Start()
{
m_Rate = 8.0f;
StartCoroutine(SpawnerCoroutine());
}
public void OnGameOver()
{
StopAllCoroutines();
... | apache-2.0 | C# |
595fb247d6626fb78741d145c57f02d5dc8b9f30 | add ModelState.Clear() | hatelove/MyMvcHomework,hatelove/MyMvcHomework,hatelove/MyMvcHomework | MyMoney/MyMoney/Controllers/AccountingController.cs | MyMoney/MyMoney/Controllers/AccountingController.cs | using MyMoney.Models.Enums;
using MyMoney.Models.ViewModels;
using System;
using System.Collections.Generic;
using System.Web.Mvc;
namespace MyMoney.Controllers
{
public class AccountingController : Controller
{
private static List<AccountingViewModel> accountings = new List<AccountingViewModel>
... | using MyMoney.Models.Enums;
using MyMoney.Models.ViewModels;
using System;
using System.Collections.Generic;
using System.Web.Mvc;
namespace MyMoney.Controllers
{
public class AccountingController : Controller
{
private static List<AccountingViewModel> accountings = new List<AccountingViewModel>
... | mit | C# |
21b39dcd61467ec8490c0875a37e396c9398d9fb | Update XQuadraticBezierSegment.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Path/Segments/XQuadraticBezierSegment.cs | src/Core2D/Path/Segments/XQuadraticBezierSegment.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Core2D.Shapes;
namespace Core2D.Path.Segments
{
/// <summary>
/// Quadratic bezier path segment.
/// </summary... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Core2D.Shapes;
namespace Core2D.Path.Segments
{
/// <summary>
/// Quadratic bezier path segment.
/// </summary... | mit | C# |
51983d05c9e630bb27a1ead12d2821e742cf7bb8 | Build fix (am I the only one getting this?) | PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto | Source/Eto.Test/Eto.Test/DynamicLayoutExtensions.cs | Source/Eto.Test/Eto.Test/DynamicLayoutExtensions.cs | using System;
using Eto.Forms;
namespace Eto.Test
{
public static class DynamicLayoutExtensions
{
public static void AddLabelledSection (this DynamicLayout layout, string text, Control control)
{
var label = new Label { Text = text, VerticalAlign = VerticalAlign.Middle };
#if DESKTOP
layout.AddRow (label, ... | using System;
using Eto.Forms;
namespace Eto.Test
{
public static class DynamicLayoutExtensions
{
public static void AddLabelledSection (this DynamicLayout layout, string text, Control control)
{
var label = new Label { Text = text, VerticalAlign = VerticalAlign.Middle };
#if DESKTOP
layout.AddRow (Label, ... | bsd-3-clause | C# |
e3ef6c174e6a6fd382ab7ea27dff814b0ecafe94 | Add group support for NoVehiclesUsage | Trojaner25/Rocket-Regions,Trojaner25/Rocket-Safezone | Model/Flag/Impl/NoVehiclesUsageFlag.cs | Model/Flag/Impl/NoVehiclesUsageFlag.cs | using System.Collections.Generic;
using Rocket.Unturned.Player;
using RocketRegions.Util;
using SDG.Unturned;
using UnityEngine;
namespace RocketRegions.Model.Flag.Impl
{
public class NoVehiclesUsageFlag : BoolFlag
{
public override string Description => "Allow/Disallow usage of vehicles in region";
... | using System.Collections.Generic;
using Rocket.Unturned.Player;
using RocketRegions.Util;
using SDG.Unturned;
using UnityEngine;
namespace RocketRegions.Model.Flag.Impl
{
public class NoVehiclesUsageFlag : BoolFlag
{
public override string Description => "Allow/Disallow usage of vehicles in region";
... | agpl-3.0 | C# |
41efb49427532bb534b835f6279ddf182c95795c | Convert invoker proxy over to be internal | pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototy... | src/Glimpse.Agent.Connection.Stream/Connection/StreamInvokerProxy.cs | src/Glimpse.Agent.Connection.Stream/Connection/StreamInvokerProxy.cs | using Microsoft.AspNet.SignalR.Client;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent.Connection.Stream.Connection
{
internal class StreamInvokerProxy : IStreamInvokerProxy
{
private readonly IHubProxy _hubProxy;
internal StreamInvokerProxy(IHubProxy hubProxy)
{
... | using Microsoft.AspNet.SignalR.Client;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent.Connection.Stream.Connection
{
public class StreamInvokerProxy : IStreamInvokerProxy
{
private readonly IHubProxy _hubProxy;
internal StreamInvokerProxy(IHubProxy hubProxy)
{
... | mit | C# |
202f354a3df30d8391cfbf01744098abdfebfe94 | Use commitAcitivty in HasChild query | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Tests/QueryDsl/Joining/HasChild/HasChildQueryUsageTests.cs | src/Tests/Tests/QueryDsl/Joining/HasChild/HasChildQueryUsageTests.cs | using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework.Integration;
namespace Tests.QueryDsl.Joining.HasChild
{
public class HasChildUsageTests : QueryDslUsageTestsBase
{
public HasChildUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usage) { }
protec... | using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework.Integration;
namespace Tests.QueryDsl.Joining.HasChild
{
public class HasChildUsageTests : QueryDslUsageTestsBase
{
public HasChildUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usage) { }
protec... | apache-2.0 | C# |
473ea01bce331ceef500b939761734eea662e424 | fix price type | Jitrixis/2NET-Restaurant-Management-Software | 2NET-Restaurant-Management-Software/Database/Meal.cs | 2NET-Restaurant-Management-Software/Database/Meal.cs | using System;
using System.Collections.Generic;
namespace _2NET_Restaurant_Management_Software.Database
{
class Meal
{
public int MealId { get; set; }
public string Meal_name { get; set; }
public double Price { get; set; }
public virtual List<Bill> Bill { get; set; }
}
}... | using System;
using System.Collections.Generic;
namespace _2NET_Restaurant_Management_Software.Database
{
class Meal
{
public int MealId { get; set; }
public string Meal_name { get; set; }
public int Price { get; set; }
public virtual List<Bill> Bill { get; set; }
}
}
| mit | C# |
768c3bc31e70272332fde096be6dfb093de0a972 | Use PlayMode instead of GameMode | Drezi126/osu,tacchinotacchi/osu,Damnae/osu,smoogipoo/osu,RedNesto/osu,naoey/osu,theguii/osu,DrabWeb/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,NotKyon/lolisu,ppy/osu,DrabWeb/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,2yangk23/osu,ZLima12/osu,naoey/osu,ZLima12/osu,naoey/osu,johnneijzen/osu,smoogipoo... | osu.Game/Database/BeatmapMetadata.cs | osu.Game/Database/BeatmapMetadata.cs | using System;
using osu.Game.GameModes.Play;
using SQLite;
namespace osu.Game.Database
{
public class BeatmapMetadata
{
[PrimaryKey]
public int ID { get; set; }
public string Title { get; set; }
public string TitleUnicode { get; set; }
public string Artist { get; set... | using System;
using osu.Game.Beatmaps;
using SQLite;
namespace osu.Game.Database
{
public class BeatmapMetadata
{
[PrimaryKey]
public int ID { get; set; }
public string Title { get; set; }
public string TitleUnicode { get; set; }
public string Artist { get; set; }
... | mit | C# |
926281831b85353c1ddf878167abfbbad965a56f | Fix missing XMLDoc bit. | UselessToucan/osu,peppy/osu-new,UselessToucan/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu | osu.Game/Database/ICanAcceptFiles.cs | osu.Game/Database/ICanAcceptFiles.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Threading.Tasks;
namespace osu.Game.Database
{
/// <summary>
/// A class which can accept files for importing.
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Threading.Tasks;
namespace osu.Game.Database
{
/// <summary>
/// A class which can accept files for importing.
... | mit | C# |
ba211f525943612bb268b7f6e682392a092a9834 | Fix IndexRequest | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Elastic.Clients.Elasticsearch/Api/IndexRequest.cs | src/Elastic.Clients.Elasticsearch/Api/IndexRequest.cs | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Text.Json;
using System.Text.Json.Serialization;
using Elastic.Transport;
namespace Elastic.Clients.... | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Text.Json;
using System.Text.Json.Serialization;
using Elastic.Transport;
namespace Elastic.Clients.... | apache-2.0 | C# |
9a9cae13edba18eeed77aea61f687ccc2fc80c90 | Simplify cancellation check. | sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/SJP.Schema | src/SJP.Schematic.Core/Extensions/OptionExtensions.cs | src/SJP.Schematic.Core/Extensions/OptionExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using LanguageExt;
namespace SJP.Schematic.Core.Extensions
{
public static class OptionExtensions
{
public static T UnwrapSome<T>(this Option<T> input)
{
if (inp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using LanguageExt;
namespace SJP.Schematic.Core.Extensions
{
public static class OptionExtensions
{
public static T UnwrapSome<T>(this Option<T> input)
{
if (inp... | mit | C# |
f60b9b57dbd818f9f15a11ff5feeb53c1adc8ad1 | add streamstreamreference with factory | Kukkimonsuta/Odachi | src/Odachi.Extensions.Primitives/StreamStreamReference.cs | src/Odachi.Extensions.Primitives/StreamStreamReference.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Odachi.Abstractions;
using System.IO;
namespace Odachi.Extensions.Primitives
{
public class StreamStreamReference : IStreamReference, IDisposable
{
public StreamStreamReference(string name, Fun... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Odachi.Abstractions;
using System.IO;
namespace Odachi.Extensions.Primitives
{
public class StreamStreamReference : IStreamReference, IDisposable
{
public StreamStreamReference(string name, St... | apache-2.0 | C# |
02fbbc506d73036c87f3466774c2eaec0a5e987b | Fix spelling of .editorconfig option | tmeschter/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,sharwell/roslyn,tvand7093/roslyn,tannergooding/roslyn,mattscheffer/roslyn,jcouv/roslyn,khyperia/roslyn,gafter/roslyn,davkean/roslyn,robinsedlaczek/roslyn,orthoxerox/roslyn,physhi/roslyn,brettfo/roslyn,tmeschter/roslyn,swaroop-sridhar/roslyn,jmarolf/roslyn,AnthonyD... | src/Workspaces/Core/Portable/Editing/GenerationOptions.cs | src/Workspaces/Core/Portable/Editing/GenerationOptions.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 Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Editing
{
internal class GenerationOptions
{
public static readonly P... | // 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 Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Editing
{
internal class GenerationOptions
{
public static readonly P... | mit | C# |
2ce0a8316650920744b5ff1557ea9dbe012f633b | Fix formatting and remove unnecessary using | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework | osu.Framework/Graphics/Shaders/Uniform.cs | osu.Framework/Graphics/Shaders/Uniform.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.Graphics.OpenGL;
using System;
namespace osu.Framework.Graphics.Shaders
{
public class Uniform<T> : IUniformWithValue<T>
where T : struc... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Graphics.OpenGL;
using System;
namespace osu.Framework.Graphics.Shaders
{
public class Uniform<T> : IUniformWi... | mit | C# |
bae2c06de47d07ed2969b3d19b496d1edb42e42d | Bump version and copyright year | nmaier/simpleDLNA,bra1nb3am3r/simpleDLNA,antonio-bakula/simpleDLNA | GlobalAssemblyInfo.cs | GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Nils Maier")]
[assembly: AssemblyProduct("SimpleDLNA")]
[assembly: AssemblyCop... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Nils Maier")]
[assembly: AssemblyProduct("SimpleDLNA")]
[assembly: AssemblyCop... | bsd-2-clause | C# |
b62981ee820a272b6840acc20512843b069833e8 | Remove filepath non-null constraint. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver/IO/ByteArrayInputFile.cs | src/AsmResolver/IO/ByteArrayInputFile.cs | using System;
using System.IO;
namespace AsmResolver.IO
{
/// <summary>
/// Represents a file for which the data is represented by a byte array.
/// </summary>
public sealed class ByteArrayInputFile : IInputFile
{
private readonly ByteArrayDataSource _dataSource;
/// <summary>
... | using System;
using System.IO;
namespace AsmResolver.IO
{
/// <summary>
/// Represents a file for which the data is represented by a byte array.
/// </summary>
public sealed class ByteArrayInputFile : IInputFile
{
private readonly ByteArrayDataSource _dataSource;
/// <summary>
... | mit | C# |
643efbe660b2df96b9b29c338e0a84e2dbabd816 | Change version on Binding redirects | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | tooling/Microsoft.VisualStudio.RazorExtension/Properties/BindingRedirectAttributes.cs | tooling/Microsoft.VisualStudio.RazorExtension/Properties/BindingRedirectAttributes.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 Microsoft.VisualStudio.Shell;
[assembly: ProvideBindingRedirection(
AssemblyName = "Microsoft.AspNetCore.Mvc.Razor.Extensions",
Generate... | // 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 Microsoft.VisualStudio.Shell;
[assembly: ProvideBindingRedirection(
AssemblyName = "Microsoft.AspNetCore.Mvc.Razor.Extensions",
Generate... | apache-2.0 | C# |
a18342b7e00c28af04ee650dbc352396e7eedb64 | Append version number to title | maxinfet/FlaUI,Roemer/FlaUI | src/FlaUInspect/Views/MainWindow.xaml.cs | src/FlaUInspect/Views/MainWindow.xaml.cs | using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using FlaUInspect.ViewModels;
namespace FlaUInspect.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private readonly MainViewM... | using System.Windows;
using System.Windows.Controls;
using FlaUInspect.ViewModels;
namespace FlaUInspect.Views
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private readonly MainViewModel _vm;
publi... | mit | C# |
d9d52dc8eae5fca9bb24d831fa8f05b2a0ae705f | Fix blog pathing | PioneerCode/pioneer-blog,PioneerCode/pioneer-blog,PioneerCode/pioneer-blog,PioneerCode/pioneer-blog | src/Pioneer.Blog/Views/Post/Index.cshtml | src/Pioneer.Blog/Views/Post/Index.cshtml | @{
Layout = "~/Views/Post/_Template.cshtml";
ViewBag.Title = Model[(int)PreviousCurrentNextPosition.Current].Title;
}
@using Microsoft.AspNetCore.Mvc.Rendering
@model List<Post>
<article class="post">
<section class="hero-gradient hg-large" style="background-image: url(/blogs/@Model[(int)PreviousCurrentNextP... | @{
Layout = "~/Views/Post/_Template.cshtml";
ViewBag.Title = Model[(int)PreviousCurrentNextPosition.Current].Title;
}
@using System.Collections.Generic
@using Microsoft.AspNetCore.Mvc.Rendering
@model List<Post>
<article class="post">
<section class="hero-gradient hg-large" style="background-image: url(@Mode... | mit | C# |
5ddf54bb533dc353e17be3101b32493ffb056d6c | fix enumerator (#1744) | AntShares/AntShares | src/neo/SmartContract/ApplicationEngine.Enumerator.cs | src/neo/SmartContract/ApplicationEngine.Enumerator.cs | using Neo.SmartContract.Enumerators;
using Neo.SmartContract.Iterators;
using Neo.VM.Types;
using System;
using Array = Neo.VM.Types.Array;
namespace Neo.SmartContract
{
partial class ApplicationEngine
{
public static readonly InteropDescriptor System_Enumerator_Create = Register("System.Enumerator.Cre... | using Neo.SmartContract.Enumerators;
using Neo.SmartContract.Iterators;
using Neo.VM.Types;
using System;
using Array = Neo.VM.Types.Array;
namespace Neo.SmartContract
{
partial class ApplicationEngine
{
public static readonly InteropDescriptor System_Enumerator_Create = Register("System.Enumerator.Cre... | mit | C# |
cee7c6219e008ddb0bf108b1313e594e2c0f67dc | Make TrackManager implement IResourceStore | EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework | osu.Framework/Audio/Track/TrackManager.cs | osu.Framework/Audio/Track/TrackManager.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.IO;
using System.Threading.Tasks;
using osu.Framework.IO.Stores;
namespace osu.Framework.Audio.Track
{
public class TrackManager : AudioCollectionManag... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.IO.Stores;
namespace osu.Framework.Audio.Track
{
public class TrackManager : AudioCollectionManager<Track>
{
private readonly IResou... | mit | C# |
de1715b760ce03098a55adedef7c3a60994c8c3c | modify exensions | dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap | src/Cap.Consistency.EntityFrameworkCore/ConsistencyEntityFrameworkBuilderExtensions.cs | src/Cap.Consistency.EntityFrameworkCore/ConsistencyEntityFrameworkBuilderExtensions.cs | using System;
using System.Reflection;
using Cap.Consistency;
using Cap.Consistency.EntityFrameworkCore;
using Cap.Consistency.Infrastructure;
using Microsoft.EntityFrameworkCore;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>
/// Contains extension methods to <see cref="ConsistencyBuilder... | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Cap.Consistency.EntityFrameworkCore
{
/// <summary>
/// Contains extension methods to <see cref="ConsistencyBuilder"/> for adding entity frame... | mit | C# |
3df4cbca2cfd09d81226b530f96fba6a5588e2a9 | Reduce precision of difficulty calculator tests | NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu-new,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Tests/Beatmaps/DifficultyCalculatorTest.cs | osu.Game/Tests/Beatmaps/DifficultyCalculatorTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using System.Reflection;
using NUnit.Framework;
using osu.Framework.Extensions.ObjectExtensions;
using osu.Game.Beatmaps;
using osu.Game.Be... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using System.Reflection;
using NUnit.Framework;
using osu.Framework.Extensions.ObjectExtensions;
using osu.Game.Beatmaps;
using osu.Game.Be... | mit | C# |
a2239381d41dd4974bf74dbb7860909320f6029b | Rename tests | dotnet/roslyn-analyzers,dotnet/roslyn-analyzers,pakdev/roslyn-analyzers,pakdev/roslyn-analyzers,mavasani/roslyn-analyzers,mavasani/roslyn-analyzers | src/Roslyn.Diagnostics.Analyzers/UnitTests/AvoidOptSuffixForNullableEnableCodeTests.cs | src/Roslyn.Diagnostics.Analyzers/UnitTests/AvoidOptSuffixForNullableEnableCodeTests.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.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
Roslyn.Diagnostics... | // 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.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp;
using Xunit;
using VerifyCS = Test.Utilities.CSharpCodeFixVerifier<
Roslyn.Diagnostics... | mit | C# |
d15b3bdd0453fa1a66e97e5ee06778d5c4e9c1fa | remove implicit conversion because its confusing an error prone | akatakritos/SassSharp | SassSharp/Selector.cs | SassSharp/Selector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SassSharp
{
public struct Selector : IEquatable<Selector>
{
public string Value { get; private set; }
public Selector(string selector)
: this(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SassSharp
{
public struct Selector : IEquatable<Selector>
{
public string Value { get; private set; }
public Selector(string selector)
: this(... | mit | C# |
5a81a0437a4b57952bdbe23fea2c854bddacb042 | Fix MicrogameTraitsSingleScene | Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Scripts/Microgame/MicrogameTraitsSingleScene.cs | Assets/Scripts/Microgame/MicrogameTraitsSingleScene.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Microgame Traits/Traits (Single Scene)")]
public class MicrogameTraitsSingleScene : MicrogameTraits
{
public override bool SceneDeterminesDifficulty => false;
public override string GetSceneName(Microg... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Microgame Traits/Traits (Single Scene)")]
public class MicrogameTraitsSingleScene : MicrogameTraits
{
public string commandKeySuffix;
[SerializeField]
private DifficultyCommand difficulty1;
[Se... | mit | C# |
90354ec107ee66b7134b38bdfcd7b534893948b5 | Refactor Dynamic Document clone | ajlopez/SharpMongo | Src/SharpMongo.Core/DynamicDocument.cs | Src/SharpMongo.Core/DynamicDocument.cs | namespace SharpMongo.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class DynamicDocument : DynamicObject
{
public DynamicDocument(params object[] arguments)
: base(arguments)
{
}
i... | namespace SharpMongo.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class DynamicDocument : DynamicObject
{
public DynamicDocument(params object[] arguments)
: base(arguments)
{
}
i... | mit | C# |
90c75a64cf9e30e213821706e8d54de262d2b629 | Fix legacy control point precision having an adverse effect on the editor | peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu | osu.Game/Screens/Edit/Timing/DifficultySection.cs | osu.Game/Screens/Edit/Timing/DifficultySection.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.Bindables;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Screens.Edit.Timing
{
internal class Difficu... | // 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.Bindables;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Screens.Edit.Timing
{
internal class Difficu... | mit | C# |
d6fce070c2591858ce190d40a1781651df44ebac | Add tag replacement on backup paths | 15below/Ensconce,BlythMeister/Ensconce,15below/Ensconce,BlythMeister/Ensconce | src/Ensconce.Console/Backup.cs | src/Ensconce.Console/Backup.cs | using System.IO;
using System.IO.Compression;
namespace Ensconce.Console
{
internal static class Backup
{
internal static void DoBackup()
{
var backupSource = Arguments.BackupSource.Render();
var backupDestination = Arguments.BackupDestination.Render();
if ... | using System.IO;
using System.IO.Compression;
namespace Ensconce.Console
{
internal static class Backup
{
internal static void DoBackup()
{
if (File.Exists(Arguments.BackupDestination) && Arguments.BackupOverwrite)
{
File.Delete(Arguments.BackupDestinati... | mit | C# |
bbee11afd1141e20a0d28e9c33026d742648651d | Resolve potential breaking change for clients using ReleaseDate | scooper91/SevenDigital.Api.Schema,7digital/SevenDigital.Api.Schema | src/Schema/Releases/Release.cs | src/Schema/Releases/Release.cs | using System;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.Legacy;
using SevenDigital.Api.Schema.Media;
using SevenDigital.Api.Schema.Packages;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
using SevenDi... | using System;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.Legacy;
using SevenDigital.Api.Schema.Media;
using SevenDigital.Api.Schema.Packages;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
using SevenDi... | mit | C# |
d88649ecd2dbea412381a38cfcb4692fd166f13d | Increment projects copyright year to 2020 | atata-framework/atata-sample-app-tests | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("© Yevgeniy Shunevych 2020")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("© Yevgeniy Shunevych 2019")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1... | apache-2.0 | C# |
6ecfa4b0658806b0478f6bc21744d4b1a4afeb9e | Remove unused using directive. | fhchina/elmah-mvc,jmptrader/elmah-mvc,alexbeletsky/elmah-mvc,mmsaffari/elmah-mvc | src/Elmah.Mvc/Settings.cs | src/Elmah.Mvc/Settings.cs | //
// ELMAH.Mvc
// Copyright (c) 2011 Atif Aziz, James Driscoll. All rights reserved.
//
// Author(s):
//
// James Driscoll
//
// 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 a... | //
// ELMAH.Mvc
// Copyright (c) 2011 Atif Aziz, James Driscoll. All rights reserved.
//
// Author(s):
//
// James Driscoll
//
// 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 a... | apache-2.0 | C# |
73a4e370a251e10e2186e4018387ef223d02c0e8 | Fix MonoTouch build | cwensley/maccore,jorik041/maccore,beni55/maccore,mono/maccore | src/Foundation/NSValue.cs | src/Foundation/NSValue.cs | //
// Copyright 2010, 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 in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
... | //
// Copyright 2010, 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 in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
... | apache-2.0 | C# |
c85935783e8c55744ca3215a8dab65e8daa92ef3 | Add comment | 60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope | QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs | QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* Debug.cs *
* 本檔案用於宣告偵錯相關工具物件 *
********************************************************************
*/
using System;
using... | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* Debug.cs *
* 本檔案用於宣告偵錯相關工具物件 *
********************************************************************
*/
using System;
using... | apache-2.0 | C# |
b28057a218daadb6a8cb9830f2ea616b6ea24d49 | Remove unreachable condition | bartdesmet/roslyn,mavasani/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,jasonmalinowski/roslyn... | src/Features/CSharp/Portable/Completion/KeywordRecommenders/NameOfKeywordRecommender.cs | src/Features/CSharp/Portable/Completion/KeywordRecommenders/NameOfKeywordRecommender.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Extensi... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Extensi... | mit | C# |
f48e1ef2c205aea5ab0901cc2bb470377f7bd2a3 | Move from ASCII to UTF-8 | sqt-android/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,olofd/google-api-dotnet-client,kekewong/google-api-dotnet-client,nicolasdavel/google-api-dotnet-client,ephraimncory/google-api-dotnet-client,jtattermusch/google-api-dotnet-client,eydjey/google-api-dotnet-client,ajmal744/google-api-dotnet-client,j... | Src/GoogleApis/Apis/Discovery/StringDiscoveryDevice.cs | Src/GoogleApis/Apis/Discovery/StringDiscoveryDevice.cs | /*
Copyright 2010 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 2010 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# |
2c0c4c00e873ba10b149786546c7b63152643595 | fix role creation | wilcommerce/Wilcommerce.Auth | src/Wilcommerce.Auth/Services/RoleFactory.cs | src/Wilcommerce.Auth/Services/RoleFactory.cs | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Wilcommerce.Auth.Services.Interfaces;
namespace Wilcommerce.Auth.Services
{
/// <summary>
/// Implementation of <see cref="IRoleFactory"/>
/// </summary>
public class RoleFactory : IRoleFactory
{
private... | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Wilcommerce.Auth.Services.Interfaces;
namespace Wilcommerce.Auth.Services
{
/// <summary>
/// Implementation of <see cref="IRoleFactory"/>
/// </summary>
public class RoleFactory : IRoleFactory
{
private... | mit | C# |
3965b0703cacbdbf489138bdd8a9adfbff2d2012 | Create a Help section | awseward/Squirrel.Windows,bowencode/Squirrel.Windows,kenbailey/Squirrel.Windows,punker76/Squirrel.Windows,josenbo/Squirrel.Windows,aneeff/Squirrel.Windows,yovannyr/Squirrel.Windows,EdZava/Squirrel.Windows,JonMartinTx/AS400Report,markuscarlen/Squirrel.Windows,willdean/Squirrel.Windows,Squirrel/Squirrel.Windows,markuscar... | src/Update/Program.cs | src/Update/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mono.Options;
namespace Update
{
class Program
{
static OptionSet opts;
static int Main(string[] args)
{
if (args.Any(x => x.StartsWith("/squirrel", St... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mono.Options;
namespace Update
{
class Program
{
static int Main(string[] args)
{
if (args.Any(x => x.StartsWith("/squirrel", StringComparison.OrdinalIgnoreCase... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.