content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
/////////////////////////////////////////////////////////////////////////////////////////////////
//
// Favalon - An Interactive Shell Based on a Typed Lambda Calculus.
// Copyright (c) 2018-2020 Kouji Matsui (@kozy_kekyo, @kekyo2)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not us... | 37.745763 | 98 | 0.645263 | [
"Apache-2.0"
] | kekyo/Favalon | Favalet.Core/Expressions/Algebraic/AndExpression.cs | 2,229 | C# |
using System;
namespace RuriLib.Exceptions
{
public class LoliCodeParsingException : Exception
{
public int LineNumber { get; set; }
public LoliCodeParsingException(int lineNumber)
{
LineNumber = lineNumber;
}
public LoliCodeParsingException(int lineNumber... | 24.555556 | 88 | 0.588235 | [
"MIT"
] | 542980940984363224858439616269115634540/OpenBullet2 | RuriLib/Exceptions/LoliCodeParsingException.cs | 665 | C# |
//#define USE_LAYER
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using AppKit;
using Foundation;
using ReactiveUI;
using UniversalGraphics.Quartz2D;
using UniversalGraphics.Test.Infrastructures;
using UniversalGraphics.Test.ViewModels;
namespace UniversalGraphics.Test
{
public partia... | 23.855769 | 103 | 0.708988 | [
"MIT"
] | mntone/UniversalGraphics | test/Quartz2D/ViewController.cs | 2,483 | C# |
// Copyright (c) Benjamin Proemmer. All rights reserved.
// See License in the project root for license information.
using Dacs7.Protocols.SiemensPlc;
using System.Collections.Generic;
namespace Dacs7.Protocols
{
internal sealed class WritePackage
{
private const int _writeItemHeaderSize = SiemensPlc... | 28.051724 | 136 | 0.595575 | [
"Apache-2.0"
] | proemmer/dacs7 | dacs7/src/Dacs7/Protocols/WritePackage.cs | 1,629 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Slower : Enemy
{
[SerializeField] float _slowAmount = 5;
protected override void PlayerImpact(Player player)
{
TankController controller = player.GetComponent<TankController>();
controller.MoveSpeed -= _slow... | 21.764706 | 69 | 0.743243 | [
"MIT"
] | gummiez/CaoTyty_4368_P01A | Assets/Scripts/Slower.cs | 372 | C# |
using UnityEngine;
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UnityEngine_Application : LuaObject {
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static public int constructor(IntPtr l) {
try {
UnityEngine.Application o;
o=new UnityEngine.Applicat... | 26.965517 | 109 | 0.716408 | [
"MIT"
] | zhukunqian/unity5-slua | Assets/Slua/LuaObject/Unity/Lua_UnityEngine_Application.cs | 20,334 | C# |
using Fur.DependencyInjection;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System;
using System.Linq;
using System.Runtime.CompilerServices;
namespace Fur.DatabaseAccessor
{
/// <summary>
/// 时态查询拓展
/// </summary>
[SkipScan]
public static class Te... | 36.925373 | 141 | 0.563056 | [
"Apache-2.0"
] | LiveFly/Fur | framework/Fur/DatabaseAccessor/Extensions/TemporalExtensions.cs | 5,256 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/wincrypt.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... | 36.522727 | 145 | 0.640324 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/um/wincrypt/CERT_ECC_SIGNATURETests.cs | 1,609 | C# |
/*
Copyright (C) 2011-2013 Jeroen Frijters
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commerc... | 28.365591 | 203 | 0.681344 | [
"Apache-2.0"
] | Distrotech/mono | external/ikvm/runtime/openjdk/java.lang.invoke.cs | 34,294 | C# |
/*
* 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 ... | 28.289474 | 124 | 0.707907 | [
"Apache-2.0"
] | brightness007/unofficial-aliyun-openapi-net-sdk | aliyun-net-sdk-aegis/Aegis/Model/V20161111/DescribeSuspiciousEventsRequest.cs | 2,150 | C# |
// 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.
namespace Microsoft.Diagnostics.Tools.Monitor.CollectionRules
{
internal static class KnownCollectionRuleTrigge... | 40 | 82 | 0.740789 | [
"MIT"
] | ScriptBox21/dotnet-monitor | src/Tools/dotnet-monitor/CollectionRules/KnownCollectionRuleTriggers.cs | 762 | C# |
using System.Linq;
using Content.Server.Atmos;
using Content.Server.Atmos.EntitySystems;
using Content.Server.NodeContainer.Nodes;
using Content.Shared.Atmos;
using Robust.Shared.Utility;
namespace Content.Server.NodeContainer.NodeGroups
{
public interface IPipeNet : INodeGroup, IGasMixtureHolder
{
///... | 29.630435 | 124 | 0.594644 | [
"MIT"
] | space-syndicate/space-station-14 | Content.Server/NodeContainer/NodeGroups/PipeNet.cs | 2,726 | C# |
// NoRealm licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace NoRealm.ExpressionLite.Token
{
/// <summary>
/// Default implementation for <see cref="ILexemeConverter"/>
/// </summary>
public class DefaultLexemeCon... | 33.134454 | 76 | 0.581283 | [
"MIT"
] | norealm/expression-lite | src/lib/Token/DefaultLexemeConverter.cs | 3,945 | C# |
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("En... | 37.378378 | 84 | 0.742589 | [
"MIT"
] | PrasadHonrao/Learn.CSharp | Language/Enums/Enums/Properties/AssemblyInfo.cs | 1,386 | C# |
using System;
namespace Calamari.Tests.Shared.LogParser
{
public class ProcessOutput
{
public ProcessOutput(ProcessOutputSource source, string text)
: this(source, text, DateTimeOffset.UtcNow)
{
}
public ProcessOutput(ProcessOutputSource source, string text, DateTi... | 24.24 | 94 | 0.607261 | [
"Apache-2.0"
] | OctopusDeploy/Sashimi | source/Calamari.Tests.Shared/LogParser/ProcessOutput.cs | 608 | C# |
/*
* 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 ... | 34.8 | 78 | 0.750718 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-ecs/Ecs/Transform/V20140526/DeleteImageResponseUnmarshaller.cs | 1,392 | C# |
// 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.
namespace System.Windows.Forms {
using System;
using System.Collections;
using System.ComponentModel;
... | 39.271676 | 156 | 0.543862 | [
"MIT"
] | abbaye/winforms | src/System.Windows.Forms/src/System/Windows/Forms/TableLayoutPanelCellPosition.cs | 6,794 | C# |
using System;
using System.Globalization;
using System.Text.RegularExpressions;
using System.Xml;
namespace commercetools.Sdk.Linq
{
public static class StringExtensions
{
public static string ToCamelCase(this string value)
{
if (!string.IsNullOrEmpty(value) && value.Length > 1)
... | 31.984375 | 100 | 0.56424 | [
"Apache-2.0"
] | commercetools/commercetools-dotnet-core-sdk | commercetools.Sdk/commercetools.Sdk.Linq/StringExtensions.cs | 2,049 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Steeltoe.Discovery.Client;
using Steeltoe.Management.Tracing;
namespace Microso... | 31.14 | 114 | 0.660886 | [
"MIT"
] | Azure-Samples/Azure-Spring-Cloud-Samples | steeltoe-sample/src/solar-system-weather/Startup.cs | 1,557 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Buffers;
using System.Buffers.Text;
using System.Diagnostics;
using System.Globalization... | 34.93007 | 180 | 0.583984 | [
"MIT"
] | cuteant/SpanJson | src/SpanJson.Extensions/Writer/Utf8JsonWriter.WriteValues.Float.cs | 4,997 | C# |
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Security;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Windows;
using Windows.ApplicationModel.Core;
using Windows.UI;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.... | 27.835681 | 220 | 0.716478 | [
"Apache-2.0"
] | mikedorais/arcgis-runtime-samples-dotnet | src/Phone/ArcGISRuntimeSDKDotNet_PhoneSamples/Samples/Security/TokenSecuredServices.xaml.cs | 5,931 | C# |
// Copyright 2018 yinyue200.com
// 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 agre... | 40.181818 | 99 | 0.686086 | [
"Apache-2.0"
] | alex-harper/LottieSkiaSharp | LottieSkiaSharp/Animation/Keyframe/MaskKeyframeAnimation.cs | 1,770 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MessageBox.Messages
{
public interface IReplyWithPayloadMessage : IReplyMessage, IDisposable
{
/// <summary>
/// Type name of the object serialized in the Payload prope... | 23.5 | 74 | 0.636364 | [
"MIT"
] | adospace/message-box | src/MessageBox.Core/Messages/IReplyWithPayloadMessage.cs | 519 | C# |
Console.Write("Please type in the name of the file " +
"containing the names of the people to be cold called > ");
string? fileName = Console.ReadLine();
if (fileName != null)
{
ColdCallFileReaderLoop1(fileName);
Console.WriteLine();
//ColdCallFileReaderLoop2(fileName);
//Console.WriteLine();
}
Con... | 27.876543 | 83 | 0.622232 | [
"MIT"
] | christiannagel/ProfessionalCSharp2021 | 1_CS/ErrorsAndExceptions/SolicitColdCall/Program.cs | 2,260 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace GameSpace.Data.Migrations
{
public partial class UpdateColumnMessageInNotificationTable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name... | 31.029412 | 75 | 0.532701 | [
"MIT"
] | Simeon-Yankov/GameSpace | GameSpace.Data/Migrations/20210805131108_UpdateColumnMessageInNotificationTable.cs | 1,057 | C# |
//Write a program that converts a decimal number N to its hexadecimal representation.
using System;
using System.Text;
class DecimalToHexadecimal
{
static void Main()
{
long num = long.Parse(Console.ReadLine());
Console.WriteLine(ConvertDecimalToHexadecimal(num));
}
static string Con... | 21.62963 | 86 | 0.606164 | [
"MIT"
] | nina75/C-Sharp-Advanced | NumeraSystems/DecimalToHexadecimal/DecimalToHexadecimal.cs | 586 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blazor.Extensions.MergeStyles
{
public struct CssValue : IComparable<string>, IComparable<double>, IComparable<bool>, IComparable<int>
{
public CssValue(i... | 33.12426 | 171 | 0.574312 | [
"MIT"
] | BlazorExtensions/Blazor.Extensions.OfficeUIFabric | src/Blazor.Extensions.MergeStyles.Core/CssValue.cs | 5,598 | C# |
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("02.... | 38.378378 | 84 | 0.747183 | [
"MIT"
] | sevdalin/Software-University-SoftUni | C-sharp-Web-Developer/C# Advanced/StacksAndQueues/02. Basic Stack Operations/Properties/AssemblyInfo.cs | 1,423 | C# |
using System.IO;
using Sep.Git.Tfs.Commands;
using StructureMap.AutoMocking;
using NDesk.Options;
using Xunit;
namespace Sep.Git.Tfs.Test.Commands
{
public class InitOptionsTest
{
private RhinoAutoMocker<InitOptions> mocks;
public InitOptionsTest()
{
mocks = new RhinoAutoM... | 30.413793 | 97 | 0.581066 | [
"Apache-2.0"
] | spraints/git-tfs | GitTfsTest/Commands/InitOptionsTest.cs | 1,766 | C# |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace Coercive.CSharp.Usage
{
[DiagnosticAnalyzer(Lang... | 51.654545 | 172 | 0.671477 | [
"Apache-2.0"
] | RefactorForce/Coercive | Coercive.CSharp/Usage/RemovePrivateMethodNeverUsedAnalyzer.cs | 8,525 | C# |
//******************************************************************************************************************************************************************************************//
// Copyright (c) 2020 @redhook62 (adfsmfa@gmail.com) ... | 43.923077 | 210 | 0.470422 | [
"MIT"
] | k-korn/adfsmfa | Neos.IdentityServer 3.0/Neos.IdentityServer.Console/Forms/Neos.IdentityServer.Console.SecurityCustomViewControl.cs | 10,280 | C# |
/* Copyright (c) 2006 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... | 38.642857 | 136 | 0.430684 | [
"MIT"
] | FoxCouncil/YUP | YUM/YUM Modules/YouTube/API/Core/atombaselink.cs | 5,410 | C# |
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
// THIS CODE IS PROVIDED ON AN ... | 50.10687 | 169 | 0.642748 | [
"Apache-2.0"
] | 6paklata/python-language-server | src/Parsing/Test/UnixPythonInstallPathResolver.cs | 6,566 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using SequelNet.Connector;
namespace SequelNet.Phrases
{
public class Add : IPhrase
{
public List<ValueWrapper> Values = new List<ValueWrapper>();
#region Constructors
public Add(params ValueWrapper[] values)
... | 28.234043 | 90 | 0.525998 | [
"MIT"
] | danielgindi/SequelNet | SequelNet/Sql/Phrases/Math/Add.cs | 3,983 | C# |
// using point = System.Drawing.Point;
struct point {
int x,y;
public point(int x, int y) { this.x = x; this.y = y; }
override public string ToString() { return System.String.Format("({0},{1})", x, y); }
}
public class test {
static point[,] x = new point[2,4];
public static void Main() {
for (int i... | 24.590909 | 87 | 0.57671 | [
"MIT"
] | sphinxlogic/Singularity-RDK-2.0 | base/Windows/csic/test/2darray2.cs | 541 | C# |
namespace Kissinjer.Scopes {
using System;
using System.Collections.Concurrent;
public class SingletonScopeProvider : IScopeProvider {
private readonly IScope _scope;
public SingletonScopeProvider() {
_scope = new Scope();
}
public bool TryGetScope(out IScope scope) {
scope = _scope;
... | 25.162162 | 119 | 0.677766 | [
"Apache-2.0"
] | smohekey/Kissinjer | src/Kissinjer/Scopes/SingletonScopeProvider.cs | 933 | C# |
namespace Checkout.Payments
{
/// <summary>
/// 3D-Secure Enrollment Data.
/// </summary>
public class ThreeDSEnrollment
{
/// <summary>
/// Gets a value that indicates whether this was a 3D-Secure payment downgraded to Non-3D-Secure (when <see cref="PaymentRequest.AttemptN3D"/> is s... | 36.533333 | 165 | 0.576642 | [
"MIT"
] | bymyslf/checkout-sdk-net | src/CheckoutSdk/Payments/ThreeDsEnrollment.cs | 1,644 | C# |
// 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.ComponentModel;
using Moq;
using WinForms.Common.Tests;
using Xunit;
namespace System.Windows.Forms.T... | 33.014989 | 156 | 0.560384 | [
"MIT"
] | al757/winforms-001 | src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/TimerTests.cs | 15,420 | C# |
// 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;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Sprites;
using osu.Game.G... | 32.721649 | 101 | 0.515123 | [
"MIT"
] | Altenhh/osu | osu.Game/Graphics/UserInterface/ShowMoreButton.cs | 3,080 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Coravel.Mailer.ViewComponents
{
public class EmailLinkButton : ViewComponent
{
public async Task<IViewComponentResult> InvokeAsync(
string text, string url, string backgroundColor = null, string textColor = null
... | 30.85 | 91 | 0.612642 | [
"MIT"
] | Blinke/coravel | Src/Coravel.Mailer/ViewComponents/EmailLinkButton.cs | 617 | C# |
using System;
namespace Triangulo
{
class Program
{
static void Main(string[] args)
{
string linha = Console.ReadLine();
string[] lados = linha.Split(' ');
double a = Convert.ToDouble(lados[0]);
double b = Convert.ToDouble(lados[1]);
... | 25.16129 | 80 | 0.423077 | [
"MIT"
] | douglas-ssouza/URI | Exercicios/iniciante/1043_Triangulo.cs | 780 | C# |
using System;
using System.Collections.Generic;
using FluentAssertions;
using NUnit.Framework;
namespace Ruzzie.Mtg.Core.UnitTests
{
[TestFixture]
public class EnumFlagHelperTests
{
[Test]
[TestCase(0)]
[TestCase(1)]
[TestCase(2)]
[TestCase(4)]
[TestCase(8)]
... | 30.362205 | 140 | 0.584544 | [
"Apache-2.0"
] | Ruzzie/Ruzzie.Mtg.Core | src/RuzzieMtgCore/Ruzzie.Mtg.Core.UnitTests/EnumFlagHelperTests.cs | 3,856 | C# |
using System.Runtime.CompilerServices;
using System.Windows;
[assembly: InternalsVisibleTo("Chatterbox.Client.Tests")]
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,... | 53.230769 | 98 | 0.604046 | [
"MIT"
] | doklem/chatterbox | Chatterbox.Client/AssemblyInfo.cs | 692 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Blockcore.Features.Wallet.Validations;
using Blockcore.Utilities.ValidationAttributes;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Converte... | 36.121951 | 181 | 0.592872 | [
"MIT"
] | x42protocol/x42-BlockCore | src/Features/Blockcore.Features.Wallet/Api/Models/RequestModels.cs | 34,065 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace IdentityServer.Admin.Helpers.TagHelpers
{
[HtmlTargetElement("toggle-button")]
public class SwitchTagHelper : TagHelper
{
public override async Task ProcessAsync(TagHelper... | 34.25 | 97 | 0.673966 | [
"MIT"
] | Olek-HZQ/IdentityServerManagement | src/IdentityServer.Admin/Helpers/TagHelpers/SwitchTagHelper.cs | 824 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft... | 22.869565 | 59 | 0.701521 | [
"BSD-3-Clause"
] | nokiadatagathering/WP7-Official | NDG/Views/SearchPage.xaml.cs | 528 | C# |
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace System.Text.Json.Converters
{
public class StringTypedInt32IListConverter : JsonConverter<IList<int>?>
{
private readonly JsonConverter<List<int>?> _converter = new StringTypedInt32L... | 29.971429 | 118 | 0.633937 | [
"MIT"
] | KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat | src/SKIT.FlurlHttpClient.Wechat/Converters/System.Text.Json/StringTypedInt32IListConverter.cs | 1,051 | C# |
using System.Drawing;
using SpaceSim.SolarSystem;
namespace SpaceSim.Structures
{
class LaunchMount : StructureBase
{
//public override double Width { get { return 17; } }
//public override double Height { get { return 30; } }
public override double Width { get { return 12; } }
pub... | 33.136364 | 89 | 0.648834 | [
"MIT"
] | JohnnyOneSpeed/SpaceSim | src/SpaceSim/Structures/LaunchMount.cs | 731 | C# |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
// This code was generated by an automated template.
using Mosa.Compiler.Framework;
namespace Mosa.Platform.x64.Instructions
{
/// <summary>
/// IRetd
/// </summary>
/// <seealso cref="Mosa.Platform.x64.X64Instruction" />
public sealed class IRe... | 28.145455 | 80 | 0.720284 | [
"BSD-3-Clause"
] | kthompson/MOSA-Project | Source/Mosa.Platform.x64/Instructions/IRetd.cs | 1,548 | C# |
/*
* OpaqueMail (http://opaquemail.org/).
*
* Licensed according to the MIT License (http://mit-license.org/).
*
* Copyright © Bert Johnson (http://bertjohnson.net/) of Bkip Inc. (http://bkip.com/).
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associat... | 55.784314 | 463 | 0.522996 | [
"MIT"
] | percyboy/OpaqueMail | OpaqueMail.Net/MimePart.cs | 36,996 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Controls.Primitives
{
#if false || false || false || false || false
[global::Uno.NotImplemented]
#endif
public partial class PivotHeaderPanel : global::Windows.UI.Xaml.Controls.Canvas
{
... | 38.285714 | 109 | 0.777985 | [
"Apache-2.0"
] | 06needhamt/uno | src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls.Primitives/PivotHeaderPanel.cs | 536 | C# |
#region Copyright (c) 2018 Scott L. Carter
//
//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 ... | 34.652174 | 107 | 0.712673 | [
"Apache-2.0"
] | scottctr/NStateManager | Tests/NStateManager.Tests/TestPayment.cs | 799 | C# |
// Copyright © Microsoft Open Technologies, 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 CO... | 29.540541 | 72 | 0.666972 | [
"Apache-2.0"
] | Mimeo/azuread-graphapi-library-for-dotnet | DirectoryObjects/Helpers/KeyType.cs | 1,097 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 34.4 | 227 | 0.665282 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Compute/V20200930/Inputs/DataDiskImageEncryptionArgs.cs | 1,204 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BojkoSoft.Transformations.Constants;
using Tests;
namespace BojkoSoft.Transformations.Tests
{
[TestClass()]
public class TestBGSWithTPS
{
private static Transformations tr;
[ClassInitialize]
public static void ClassInitial... | 48.563319 | 122 | 0.659203 | [
"MIT"
] | bojko108/Transformations.NET | Tests/TestBGSWithTPS.cs | 11,123 | C# |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 46.254237 | 156 | 0.691829 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/cloud/dialogflow/cx/v3/google-cloud-dialogflow-cx-v3-csharp/Google.Cloud.Dialogflow.Cx.V3.StandaloneSnippets/EnvironmentsClient.RunContinuousTestRequestObjectSnippet.g.cs | 2,729 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using DbUp.Builder;
using DbUp.Engine;
using DbUp.Engine.Output;
using DbUp.Engine.Transactions;
using DbUp.Support.SqlServer;
using NSubstitute;
using NUnit.Framework;
namespace DbUp.Tests.Engine
{
public class UpgradeEngineTests
{
pub... | 37.767677 | 135 | 0.587858 | [
"MIT"
] | DamianMac/DbUp | src/DbUp.Tests/Engine/UpgradeEngineTests.cs | 3,739 | C# |
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("06... | 39.324324 | 84 | 0.753952 | [
"MIT"
] | Databases-Team-Aluminium/Team-Aluminium | TeamAluminium/06.GenerateExelReportsFromMySqlAndSqlLite/Properties/AssemblyInfo.cs | 1,458 | C# |
using System;
using System.Collections.Generic;
namespace FreeAgent.Model
{
public class TrialBalance
{
public Uri Category { get; set; }
public string NominalCode { get; set; }
public string Name { get; set; }
public float Total { get; set; }
public Uri BankAccount { get; set; }
public Uri U... | 20.636364 | 68 | 0.685022 | [
"Apache-2.0"
] | arrowflex/FreeAgent | src/FreeAgent/Model/TrialBalance.cs | 454 | C# |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2016 Ingo Herbote
* http://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
... | 28.711864 | 83 | 0.56464 | [
"Apache-2.0"
] | hismightiness/YAFNET | yafsrc/YAF.Controls/Localized/LocalizedLabel.cs | 3,272 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using OSS.App.Data;
using OSS.Domain.Entities;
namespace OSS.Web.Pages.ShiftTypes
{
public class IndexMod... | 25.133333 | 96 | 0.692308 | [
"MIT"
] | nagasudhirpulla/open_shift_scheduler | src/OSS.Web/Pages/ShiftTypes/Index.cshtml.cs | 756 | C# |
using Playnite.SDK;
using Playnite.SDK.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite.Database
{
public class FeaturesCollection : ItemCollection<GameFeature>
{
private readonly GameDatabase db;... | 26.5 | 103 | 0.539483 | [
"MIT"
] | 1gjunior/Playnite | source/Playnite/Database/Collections/FeaturesCollection.cs | 1,433 | C# |
using Microsoft.AspNetCore.Mvc;
namespace PokemonApi.Controllers;
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
private static readonly string[] Summaries = new[]
{
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering... | 27.088235 | 106 | 0.65038 | [
"MIT"
] | 220328-uta-sh-net-ext/Harsh-Tamakuwala | Training/PokemonApp/PokemonApi/Controllers/WeatherForecastController.cs | 923 | C# |
// Copyright (c) 2020 Yann Crumeyrolle. All rights reserved.
// Licensed under the MIT license. See LICENSE in the project root for license information.
using System;
namespace JsonWebToken.Cryptography
{
/// <summary>Represents a salt generator for cryptographic operation</summary>
public interface ISaltGen... | 28.666667 | 91 | 0.713953 | [
"MIT"
] | signature-opensource/Jwt | src/JsonWebToken/Cryptography/ISaltGenerator.cs | 432 | C# |
using System;
using System.Linq;
using LiteDB;
using Moviebase.Core.Utils;
using Moviebase.DAL;
using Moviebase.DAL.Entities;
// ReSharper disable once InconsistentNaming
namespace Moviebase.Core.App
{
/// <inheritdoc />
public class MoviebaseDAL : IMoviebaseDAL
{
/// <inheritdoc />
publi... | 36.085366 | 105 | 0.558297 | [
"MIT"
] | GreenDragonflyStudio/Moviebase | Moviebase.Core/App/MoviebaseDAL.cs | 2,961 | C# |
/*
Copyright 2011 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... | 36.550459 | 115 | 0.611446 | [
"Apache-2.0"
] | Dmiri/Xamarin.google-apis | src/Externals/google-api-dotnet-client/Src/GoogleApis.Authentication.OAuth2.Tests/OAuth2AuthenticatorTest.cs | 3,986 | C# |
using System;
using System.Collections.Generic;
#nullable disable
namespace KZ.AdventureWorks.Products.Api.Models
{
public partial class SalesOrderHeader
{
public SalesOrderHeader()
{
SalesOrderDetails = new HashSet<SalesOrderDetail>();
SalesOrderHeaderSalesReasons = n... | 41.727273 | 106 | 0.640087 | [
"MIT"
] | az00s/KZ.AdventureWorks.Products.Api | KZ.AdventureWorks.Products.Api/Models/SalesOrderHeader.cs | 2,297 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using Autofac;
using Miningcore.Blockchain.Ergo.Configuration;
using NLog;
using Miningcore.Configuration;
using Miningcore.Extensions;
using Miningcore.Messaging;
using M... | 36.651822 | 284 | 0.552414 | [
"MIT"
] | kevinmarceloph/miningcore | src/Miningcore/Blockchain/Ergo/ErgoJobManager.cs | 18,106 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Workday.FinancialManagement
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStep... | 22.245902 | 136 | 0.73692 | [
"MIT"
] | matteofabbri/Workday.WebServices | Workday.FinancialManagement/Currency_Rate_TypeObjectType.cs | 1,357 | C# |
using Aiursoft.Scanner;
using Aiursoft.XelNaga.Tests.Models;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading.Tasks;
namespace Aiursoft.XelNaga.Tests.Services
{
[TestClass]
public class CannonQueueTests
{
priva... | 32.865672 | 129 | 0.601726 | [
"MIT"
] | AiursoftWeb/Infrastructures | tests/XelNaga.Tests/Services/CannonQueue.Tests.cs | 2,204 | C# |
using System;
using System.Collections.Generic;
using SaaSOvation.Collaboration.Application.Calendars.Data;
using SaaSOvation.Common.Port.Adapters.Persistence;
namespace SaaSOvation.Collaboration.Application.Calendars
{
public class CalendarEntryQueryService : AbstractQueryService
{
public CalendarEn... | 58.764045 | 138 | 0.614149 | [
"Apache-2.0"
] | GermanKuber-zz/IDDD_Samples_NET | iddd_collaboration/Application/Calendars/CalendarEntryQueryService.cs | 5,232 | C# |
// Generated on 12/11/2014 19:01:48
using System;
using System.Collections.Generic;
using System.Linq;
using BlueSheep.Common.Protocol.Types;
using BlueSheep.Common.IO;
using BlueSheep.Engine.Types;
namespace BlueSheep.Common.Protocol.Messages
{
public class ExchangeBidPriceMessage : Message
{
... | 23.293103 | 148 | 0.592894 | [
"MIT"
] | Sadikk/BlueSheep | BlueSheep/Common/Protocol/messages/game/inventory/exchanges/ExchangeBidPriceMessage.cs | 1,351 | C# |
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Collections;
using System.Collections.Generic;
public class shrineContextMenu : MonoBehaviour {
public Button sampleButton;
public GameObject ritualList;
public static MonoBehaviour currentOffering;
public static MonoBehaviour current... | 35.551724 | 131 | 0.691077 | [
"CC0-1.0"
] | Fuskalachi/Village-God | Assets/Scripts/Game Structures/Village Buildings/Shrine/shrineContextMenu.cs | 2,064 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 44.708861 | 180 | 0.612967 | [
"MIT"
] | DamienTehDemon/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/WorkbookFunctionsBinom_DistRequestBuilder.cs | 3,532 | C# |
using Bit.Core.Models.Api;
using Bit.Core.Models.Table;
using Bit.Core.Enums;
using Bit.Core.Repositories;
using IdentityServer4.Models;
using IdentityServer4.Validation;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Threading.Tasks;
usi... | 41.7 | 116 | 0.564777 | [
"MPL-2.0"
] | carloskcheung/fossa-cli | test/fixtures/nuget/src/Core/IdentityServer/ResourceOwnerPasswordValidator.cs | 17,099 | C# |
// This file was modified by Kin Ecosystem (2019)
using Newtonsoft.Json;
using Kin.Base.responses;
using System;
using System.Collections.Generic;
using System.Text;
namespace Kin.Base.responses
{
public class FriendBotResponse
{
[JsonProperty(PropertyName = "_links")]
public Fr... | 30.422222 | 81 | 0.631118 | [
"Apache-2.0"
] | kinecosystem/dotnet-stellar-sdk | kin-base/responses/FriendBotResponse.cs | 1,369 | C# |
namespace BalkanAir.Web.Account
{
using System;
using System.Web;
using System.Web.UI;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Auth;
using Common;
public partial class ChangePassword : Page
{
protected string SuccessMessage { get; priv... | 33.63 | 130 | 0.517693 | [
"MIT"
] | itplamen/Balkan-Air | Balkan Air/Web/BalkanAir.Web/Account/ChangePassword.aspx.cs | 3,365 | C# |
using Microsoft.AspNetCore.Mvc;
using Naspinski.Data.Interfaces;
using Naspinski.FoodTruck.Data;
using Naspinski.FoodTruck.Data.Distribution.Handlers.Specials;
using Naspinski.FoodTruck.Data.Distribution.Models.Specials;
using System.Collections.Generic;
using System.Linq;
namespace Naspinski.FoodTruck.WebApp.Control... | 41.259259 | 148 | 0.587522 | [
"MIT"
] | naspinski/FoodTruck.WebApp | Naspinski.FoodTruck.WebApp/Controllers/SpecialController.cs | 2,230 | C# |
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// AlipayIserviceCcmSwTreeCreateModel Data Structure.
/// </summary>
public class AlipayIserviceCcmSwTreeCreateModel : AlipayObject
{
/// <summary>
/// 子部门ID,不传为默认部门
/// </summa... | 24.652174 | 66 | 0.590829 | [
"MIT"
] | Frunck8206/payment | src/Essensoft.Paylink.Alipay/Domain/AlipayIserviceCcmSwTreeCreateModel.cs | 599 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using BlazQ.Player;
namespace BlazQ.Game
{
public class GameSession
{
public static Dictionary<Int32, String> PlayerKeys { get; } = new Dictionary<int, String>
{
{ 0, "a" },
{ 1, "f" },
{ 2, "... | 34.565891 | 299 | 0.539807 | [
"MIT"
] | just-the-benno/BlazQ | episode4/BlazQ.Episode4Finished/BlazQ.Episode4/Game/GameSession.cs | 4,461 | C# |
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;
namespace LollipopUiDemo
{
public partial class Form1 : Form
{
public Form1()
{
... | 17.761905 | 37 | 0.686327 | [
"MIT"
] | SaLaaRHuSyN/LollipopUiDemo | LollipopUiDemo/Form1.cs | 375 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SmartSql.Starter.API.Message;
using SmartSql.Starter.API.Message.Request.User;
using SmartSql.Starter.API.Message.Response.User;
using SmartSql.Starter.Entitiy;
using SmartSql.Starter.... | 32.668874 | 136 | 0.567809 | [
"Apache-2.0"
] | KenyonLi/SmartSql-Starter | src/SmartSql.Starter.API/Controllers/UserController.cs | 4,935 | C# |
using System;
using System.Collections.Immutable;
using System.Linq;
string[] input = System.IO.File.ReadAllLines("input.txt");
var lines = input[1]
.Split(',')
.Select((id, index) => (id: id, offset: index))
.Where(line => line.id != "x")
.Select(line => new BusLine(long.Parse(line.id), (long)line.offset))
.ToI... | 21.481481 | 69 | 0.663793 | [
"MIT"
] | Karl255/advent-of-code-2020 | AoC2020-13-2/Program.cs | 582 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Xml.Linq;
using AccidentalFish.ApplicationSupport.Azure;
using AccidentalFish.ApplicationSupport.Azure.Configuration;
using AccidentalFish.ApplicationSupport.Core;
using AccidentalFish.ApplicationSupport.Core.Co... | 46.717092 | 192 | 0.523571 | [
"MIT"
] | JamesRandall/AccidentalFish.ApplicationSupport | Source/CmdLine/NewApplicationResources/Program.cs | 23,781 | C# |
using System;
using System.IO;
using System.Linq;
using System.Text;
using RT.TagSoup;
using RT.Util;
using RT.Util.ExtensionMethods;
namespace KtaneStuff
{
static class CheapCheckout
{
[Flags]
enum Categories
{
None = 0,
FixedPrice = 1 << 0,
Sweet =... | 54.346734 | 258 | 0.483773 | [
"MIT"
] | CaitSith2/KtaneStuff | Src/CheapCheckout.cs | 10,823 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 32.25 | 129 | 0.658915 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-pagerduty | sdk/dotnet/Inputs/ServiceAlertGroupingParametersGetArgs.cs | 1,032 | C# |
/*
* Written by Trevor Barnett, <mr.ullet@gmail.com>, 2015
* Released to the Public Domain. See http://unlicense.org/ or the
* UNLICENSE file accompanying this source code.
*/
using System;
using NUnit.Framework;
namespace Ullet.Strix.Generic.Tests.Unit
{
[TestFixture]
public class MutableTests
{
[Tes... | 23.725806 | 79 | 0.625878 | [
"Unlicense"
] | ullet/some_csharp_code | Ullet/Strix/Tests/Unit/Generic/MutableTests.cs | 4,415 | C# |
using LINGYUN.Abp.Saas.Editions;
using LINGYUN.Abp.Saas.Tenants;
using Microsoft.EntityFrameworkCore;
using Volo.Abp;
using Volo.Abp.EntityFrameworkCore.Modeling;
namespace LINGYUN.Abp.Saas.EntityFrameworkCore;
public static class AbpSaasDbContextModelCreatingExtensions
{
public static void ConfigureSaas(
... | 29.926471 | 115 | 0.640295 | [
"MIT"
] | colinin/abp-next-admin | aspnet-core/modules/saas/LINGYUN.Abp.Saas.EntityFrameworkCore/LINGYUN/Abp/Saas/EntityFrameworkCore/AbpSaasDbContextModelCreatingExtensions.cs | 2,035 | C# |
namespace PathfinderRPG.Entities.Races.Languages
{
public class Elven : Language
{
/// <summary>
/// Sets the display name for the specific language
/// </summary>
protected override void SetDisplayName()
{
DisplayName = "Elven";
}
}
}... | 23 | 60 | 0.537267 | [
"MIT"
] | UnityDevelopment/PathFinderRPG | Assets/Scripts/Entities/Langauges/Elven.cs | 324 | C# |
using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using static System.IO.Directory;
namespace CodeDocs.Generator
{
public static class Generate
{
public static void Examples()
{
int counter = 0;
var nestedType1 = (new ExampleTemplat... | 27.684211 | 135 | 0.619138 | [
"MIT"
] | rskopecek/CodeDocs | src/CodeDocs.Generator/Generate.cs | 1,580 | C# |
// <copyright file="RemoteTimeouts.cs" company="WebDriver Committers">
// Copyright 2007-2011 WebDriver committers
// Copyright 2007-2011 Google Inc.
// Portions copyright 2011 Software Freedom Conservancy
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in comp... | 44.067164 | 138 | 0.633531 | [
"Apache-2.0"
] | GiannisPapadakis/selenium | dotnet/src/webdriver/Remote/RemoteTimeouts.cs | 5,907 | C# |
/*
Copyright (c) 2017 Marcin Szeniak (https://github.com/Klocman/)
Apache License Version 2.0
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using Klocm... | 34.620609 | 118 | 0.512278 | [
"Apache-2.0"
] | 102464/Bulk-Crap-Uninstaller | source/UninstallTools/Dialogs/StartupManagerWindow.cs | 14,785 | C# |
using Microsoft.WindowsAzure.Storage.Auth;
using Microsoft.WindowsAzure.Storage.Blob.Protocol;
using Microsoft.WindowsAzure.Storage.Core;
using Microsoft.WindowsAzure.Storage.Core.Auth;
using Microsoft.WindowsAzure.Storage.Core.Executor;
using Microsoft.WindowsAzure.Storage.Core.Util;
using Microsoft.WindowsAzure.Stora... | 36.414847 | 285 | 0.740976 | [
"Apache-2.0"
] | Meertman/azure-storage-net | Lib/AspNet/Microsoft.WindowsAzure.Storage.Facade/FacadeLib/Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient.cs | 8,339 | C# |
using SharpenedMinecraft.Types.Blocks;
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpenedMinecraft.Types.Items
{
public class PeonyItem : ItemStack
{
public override string Id => "minecraft:peony";
public override Int32 ProtocolId => 302;
... | 21.863636 | 75 | 0.650728 | [
"MIT"
] | SharpenedMinecraft/SM1 | Main/Types/Items/PeonyItem.cs | 481 | C# |
using System.Threading.Tasks;
using MonzoNet.Models.Transactions;
using Refit;
namespace MonzoNet.Client
{
public interface IMonzoTransactionApi
{
[Get("/transactions/{transaction_id}")]
Task<RetrieveTransactionResponse> RetrieveTransaction(
[AliasAs("transaction_id")] st... | 34.32 | 63 | 0.656177 | [
"MIT"
] | ryancormack/Monzo.NET | src/MonzoNet.Client/IMonzoTransactionApi.cs | 860 | C# |
using NServiceBus;
public class AuthorizeTransaction : ICommand
{
public string OrderId { get; set; }
} | 18.166667 | 44 | 0.733945 | [
"MIT"
] | HEskandari/NServiceBus.Router | src/Shared/AuthorizeTransaction.cs | 111 | C# |
/**
* The MIT License
* Copyright (c) 2016 Population Register Centre (VRK)
*
* 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
* t... | 40.247619 | 106 | 0.614292 | [
"MIT"
] | MikkoVirenius/ptv-1.7 | src/PTV.Framework/Attributes/ValidationBaseAttribute.cs | 4,228 | C# |
// 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 BasicTestApp;
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
using Microsoft.AspNetCore.Components.E2ETest.Infrastruc... | 49.986371 | 115 | 0.615807 | [
"Apache-2.0"
] | FluentGuru/AspNetCore | src/Components/test/E2ETest/Tests/BindTest.cs | 29,342 | C# |
using AzureDevOpsJanitor.Domain.Aggregates.Release;
using AzureDevOpsJanitor.Domain.Repository;
using AzureDevOpsJanitor.Domain.Services;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace AzureDevOpsJanitor.Application.Services
{
public sealed cla... | 31.015873 | 118 | 0.67042 | [
"MIT"
] | dfds/azure-devops-janitor | src/AzureDevOpsJanitor.Application/Services/ReleaseService.cs | 1,956 | C# |
using Dapper;
using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
using System.Data;
using Microsoft.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace DotNetNote.Models.RecruitManager
{
public interface IRecruitSettingRepository
{
RecruitSetting Add(Rec... | 31.9 | 78 | 0.409328 | [
"MIT"
] | VisualAcademy/DotNetNote | DotNetNote/DotNetNote/Models/RecruitManager/RecruitSettingRepository.cs | 11,145 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.