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 |
|---|---|---|---|---|---|---|---|---|
// Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <info@amplify.pt>
namespace AmplifyShaderEditor
{
[System.Serializable]
[NodeAttributes( "Light Color", "Light", "Light Color, RGB value already contains light intensity while A only contains light intensity" )]
public sea... | 34.916667 | 140 | 0.770883 | [
"MIT"
] | kompyang/UnityGamePlayPocketLab | FPS/Assets/3rd/AmplifyShaderEditor/Plugins/Editor/Nodes/Constants/ShaderVariables/Lighting/LightColorNode.cs | 838 | C# |
using System;
namespace ColdBoi.CPU.Instructions
{
public class LdHN : Instruction
{
public const byte OPCODE = 0x26;
public const string NAME = "ld";
public LdHN(Processor processor) : base(processor, OPCODE, 1, 8, NAME)
{
}
public override void Execute(params... | 24.208333 | 100 | 0.590361 | [
"MIT"
] | Myuujinn/ColdBoi | ColdBoi/CPU/Instructions/Ld/LdHN.cs | 581 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 32.121622 | 109 | 0.65082 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/NumberFilterMarshaller.cs | 2,377 | C# |
using System.ComponentModel.DataAnnotations;
using System.Windows.Input;
using Param_RootNamespace.Core.Contracts.Services;
using Param_RootNamespace.Core.Models;
namespace Param_RootNamespace.ViewModels;
public class Param_ItemNameViewModel : ObservableValidator
{
private readonly ISampleDataService _s... | 29.044693 | 141 | 0.599154 | [
"MIT"
] | Microsoft/WindowsTemplateStudio | code/TemplateStudioForWinUICs/Templates/Pg/Form/Param_ProjectName/ViewModels/Param_ItemNameViewModel.cs | 5,023 | C# |
using System;
namespace KaiHeiLa.Commands
{
// Cosmetic Summary, for Groups and Commands
/// <summary>
/// Attaches a summary to your command.
/// </summary>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
... | 25.35 | 140 | 0.635108 | [
"MIT"
] | gehongyan/KaiHeiLa.Net | src/KaiHeiLa.Net.Commands/Attributes/SummaryAttribute.cs | 507 | C# |
#if UNITY_EDITOR
using UnityEditor;
#endif
using System;
namespace UnityEngine.Rendering
{
/// <summary>
/// Data-Driven Lens Flare can be added on any gameobeject
/// </summary>
[ExecuteAlways]
[AddComponentMenu("Rendering/Lens Flare (SRP)")]
public sealed class LensFlareComponentSRP : MonoBe... | 38.405556 | 144 | 0.580934 | [
"MIT"
] | Liaoer/ToonShader | Packages/com.unity.render-pipelines.core@12.1.3/Runtime/PostProcessing/LensFlareComponentSRP.cs | 6,913 | C# |
using System;
using UltimaOnline.Items;
using UltimaOnline.Engines.MLQuests.Items;
namespace UltimaOnline.Items
{
public class BoneMachete : ElvenMachete, ITicket
{
public override WeaponAbility PrimaryAbility { get { return null; } }
public override WeaponAbility SecondaryAbility { get { return null; }... | 26.328125 | 153 | 0.672997 | [
"MIT"
] | netcode-gamer/game.ultimaonline.io | UltimaOnline.Data/Items/Weapons/Swords/BoneMachete.cs | 1,685 | C# |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
* for more information concerning the license and the contributors participating to this project.
*/
using System;
using System.Security.Claims;
u... | 41.166667 | 122 | 0.666397 | [
"Apache-2.0"
] | dealarconjose/AspNet.Security.OAuth.Providers | src/AspNet.Security.OAuth.Salesforce/SalesforceAuthenticationOptions.cs | 2,470 | C# |
// -------------------------------------------------------------------------------------------------
// <copyright file="GetNodeProtocolInfoResponse.cs" company="Martin Karlsson">
// Copyright (c) Martin Karlsson. All rights reserved.
// </copyright>
// ---------------------------------------------------------------... | 46.3 | 101 | 0.436285 | [
"MIT"
] | martin-repo/zwaveserialapi | src/ZWaveSerialApi/Functions/ZWave/GetNodeProtocolInfoResponse.cs | 465 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using BellDetectWpf.Enums;
using BellDetectWpf.Repository;
namespace BellDetectWpf.ViewModels
{
public partial class ButterworthVM... | 24.354839 | 86 | 0.483444 | [
"MIT"
] | tjbarnes23/BellDetectWpf | BellDetectWpf/ViewModels/Butterworth/ButterworthVM.cs | 2,267 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 04.07.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... | 31.255319 | 205 | 0.567903 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/NotEqual/Complete2__objs/DateOnly/NullableDateOnly/TestSet_001__fields__02__VN.cs | 5,878 | C# |
using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace LeptonicaSharp
{
public partial class _All
{
// textops.c (115, 1)
// pixAddSingleTextblock(pixs, bmf, textstr, val, location, poverflow) as Pix
// pixAddSingleTextblock(PIX *, L_BMF *, const char... | 42.197556 | 138 | 0.646798 | [
"BSD-2-Clause"
] | VLunev/LeptonicaSharp | LeptonicaSharp/Functions/textops.cs | 20,719 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Bicep.Core.Parsing;
using Bicep.Core.Resources;
using Bicep.Core.TypeSystem;
n... | 52.903226 | 233 | 0.703506 | [
"MIT"
] | AzureMentor/bicep | src/Bicep.Core/LanguageConstants.cs | 13,120 | C# |
// Mozilla Public License 2.0
// If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Copyright (C) LibreHardwareMonitor and Contributors
// All Rights Reserved
using System.Drawing;
using System.IO;
using System.Reflection;
namespace LibreHardwareMonitor.Util... | 33.316667 | 111 | 0.503752 | [
"MPL-2.0"
] | Vargson/LibreHardwareMonitor | LibreHardwareMonitor/Utilities/EmbeddedResources.cs | 1,999 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Linq;
[Serializable]
public class InputVar{
public string name;
public string varType;
public string var;
}
[Serializable]
public class Rule{
public string detectModuleType;
[NonSerialized]
... | 30.719626 | 143 | 0.613021 | [
"MIT"
] | Llarence/Cooked-Game | Assets/Scripts/AI.cs | 3,289 | C# |
namespace AdminUI.STS.Identity.ViewModels.Manage
{
public class ShowRecoveryCodesViewModel
{
public string[] RecoveryCodes { get; set; }
}
}
| 12 | 51 | 0.660714 | [
"MIT"
] | vbjay/IDS4-Sample | src/AdminUI/src/AdminUI.STS.Identity/ViewModels/Manage/ShowRecoveryCodesViewModel.cs | 170 | C# |
using System;
using System.Diagnostics;
namespace _07._Water_Overflow
{
class Program
{
static void Main(string[] args)
{
int numberOfOperations = int.Parse(Console.ReadLine());
short littresWater = 0;
for (int i = 0; i < numberOfOperations; i++)
... | 24.612903 | 67 | 0.465269 | [
"MIT"
] | ErsanYashar/SoftUni-C--Fundamentals | Data Types and Variables - Exercise/07. Water Overflow/Program.cs | 765 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://ww... | 43.072464 | 163 | 0.599596 | [
"MIT"
] | hchungmsft/azure-powershell | src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage/Service/SetManagementService.cs | 2,904 | 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... | 42.385135 | 166 | 0.6249 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/ApiManagement/GatewayHostnameConfiguration.cs | 6,273 | C# |
using System;
using System.Linq;
using System.IO;
using System.Reflection;
using RoslynIntellisense;
using Microsoft.CodeAnalysis;
namespace Syntaxer
{
public class Test
{
public static void All()
{
var trigegr_loadig_var = csscript.Cscs_asm;
// Test.SuggestUsings(); ret... | 30.874429 | 135 | 0.47911 | [
"MIT"
] | oleg-shilo/syntaxer | Test.cs | 13,523 | C# |
// MIT License - Copyright (c) Callum McGing
// This file is subject to the terms and conditions defined in
// LICENSE, which is part of this source code package
using System;
using System.Numerics;
using ImGuiNET;
using LibreLancer;
using LibreLancer.Interface;
using LibreLancer.GameData;
using LibreLancer.ImUI;
nam... | 33.578313 | 99 | 0.54503 | [
"MIT"
] | HaydnTrigg/Librelancer | src/Editor/SystemViewer/SystemMap.cs | 2,787 | C# |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2022 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | 30.636364 | 119 | 0.642136 | [
"Apache-2.0"
] | AaronWu666/WeiXinMPSDK | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Entities/Response/ResponseMessagetTransfer_Customer_Service.cs | 1,787 | C# |
//------------------------------------------------------------------------------
// <copyright file="ContractReference.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------... | 45.190647 | 148 | 0.503065 | [
"Apache-2.0"
] | 295007712/295007712.github.io | sourceCode/dotNet4.6/ndp/cdf/src/NetFx20/System.Web.Services/System/Web/Services/Discovery/ContractReference.cs | 12,563 | 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... | 45.394137 | 172 | 0.60333 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/V20190801/VirtualNetwork.cs | 13,936 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerDummy : MovingObject {
// Use this for initialization
void Start () {
InitializePosition();
}
}
| 16.615385 | 41 | 0.703704 | [
"MIT"
] | Graygzou/Brain-Control | Assets/Dossiers Personnels/Greg/PlaceHolder/PlayerDummy.cs | 218 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 31 | 102 | 0.615469 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Glue/Generated/Model/MLUserDataEncryption.cs | 2,728 | C# |
using JetBrains.Rd.Tasks;
using JetBrains.Rider.FSharp.TypeProviders.Protocol.Server;
namespace JetBrains.ReSharper.Plugins.FSharp.TypeProviders.Host.Hosts
{
internal class ProvidedAssemblyHost : IOutOfProcessHost<RdProvidedAssemblyProcessModel>
{
private readonly TypeProvidersContext myTypeProvidersContext;
... | 39.939394 | 116 | 0.805008 | [
"Apache-2.0"
] | JetBrains/fsharp-support | ReSharper.FSharp/src/FSharp.TypeProviders.Host/src/Hosts/ProvidedAssemblyHost.cs | 1,320 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using Microsoft.Extensions.Logging;
namespace Adeotek.MicroWebServer.Example
{
class Program
{
static ILogger _logger;
static void Main(string[] args)
{
ConsoleKeyInfo cki;
var loggerFactory = Lo... | 30.232143 | 83 | 0.508565 | [
"MIT"
] | adeotek/DotNet.MicroWebServer | src/Adeotek.MicroWebServer.Example/Program.cs | 1,695 | C# |
#if THUNDERKIT_CONFIGURED
namespace PassivePicasso.ThunderKit.Proxy
{
public partial class NGSS_Local : global::NGSS_Local {}
}
#endif | 19.857143 | 59 | 0.791367 | [
"MIT"
] | Jarlyk/Rain-of-Stages | Assets/RainOfStages/RoR2/GeneratedProxies/NGSS_Local.cs | 139 | C# |
//
// Copyright 2018-2020 Dynatrace 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | 40.291063 | 153 | 0.603789 | [
"Apache-2.0"
] | stefaneberl/openkit-dotnet | tests/Dynatrace.OpenKit.Tests/Protocol/HttpClientTest.cs | 33,363 | C# |
// The MIT License (MIT)
//
// Copyright (c) Andrew Armstrong/FacticiusVir 2019
//
// 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 r... | 35.40625 | 81 | 0.652251 | [
"MIT"
] | Y-Less/SharpVk | src/SharpVk/FenceCreateInfo.gen.cs | 2,266 | C# |
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace DotNext.Numerics;
/// <summary>
/// Allows to convert bit vectors to scalar values.
/// </summary>
public static class BitVector
{
private interface IValueBuilder<TResult>
where TResult : unmanaged
{
... | 37.571429 | 111 | 0.64615 | [
"MIT"
] | ranma42/dotNext | src/DotNext/Numerics/BitVector.cs | 4,208 | C# |
using UnityEditor;
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
using System;
// Arktoon-Shaders
//
// Copyright (c) 2018 synqark
//
// This code and repos(https://github.com/synqark/Arktoon-Shader) is under MIT licence, see LICENSE
//
// 本コードおよびリポジトリ(https://github.com/synqark/Arktoon-Shad... | 59.66385 | 190 | 0.591923 | [
"MIT"
] | RamType-0/Arktoon-Shaders | Assets/arktoon Shaders/Editor/ArktoonInspector.cs | 64,064 | C# |
using CupCake.DefaultCommands.Commands.User;
namespace CupCake.DefaultCommands
{
public sealed class UserCommandsMuffin : CupCakeMuffin<UserCommandsMuffin>
{
public KickCommand KickCommand { get; private set; }
public KillCommand KillCommand { get; private set; }
public TeleportCommand... | 47.178571 | 78 | 0.683573 | [
"MIT"
] | KylerM/CupCake | CupCake.DefaultCommands/UserCommandsMuffin.cs | 1,323 | C# |
using Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate;
using System.Threading.Tasks;
namespace Microsoft.eShopWeb.ApplicationCore.Interfaces
{
public interface IOrderReserver
{
Task ReserveOrderAsync(Order order);
}
}
| 22.818182 | 66 | 0.776892 | [
"MIT"
] | spriazhkin/eShopOnWeb | src/ApplicationCore/Interfaces/IOrderReserver.cs | 253 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 47.210526 | 195 | 0.63687 | [
"MIT"
] | ScriptBox99/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/requests/AuthorizationPolicyDefaultUserRoleOverridesCollectionRequest.cs | 9,867 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 35.853081 | 175 | 0.598414 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/Lightsail/Generated/Model/CreateLoadBalancerRequest.cs | 7,565 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 42.238806 | 192 | 0.643993 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/Lightsail/Generated/Model/Internal/MarshallTransformations/StartRelationalDatabaseResponseUnmarshaller.cs | 5,660 | C# |
// <auto-generated />
using ImageServer.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using System;
namespace ImageServer.Data.Migrations
{
[DbContext(typeof(A... | 37.65942 | 125 | 0.468251 | [
"MIT"
] | itIsEazy/ImageServer | ImageServer/Data/Migrations/ApplicationDbContextModelSnapshot.cs | 10,394 | 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 ... | 52.745856 | 236 | 0.655494 | [
"Apache-2.0"
] | Mattlk13/google-cloud-dotnet | apis/Google.Cloud.Dataflow.V1Beta3/Google.Cloud.Dataflow.V1Beta3.Tests/SnapshotsV1Beta3ClientTest.g.cs | 9,547 | C# |
/// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
using NSubstitute;
using NSubstitute.ExceptionExtensions;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using Twilio.Clients;
using Twilio.Converters;
using Twilio.Exceptions;
using ... | 49.877828 | 872 | 0.569355 | [
"MIT"
] | BrimmingDev/twilio-csharp | test/Twilio.Test/Rest/Trusthub/V1/EndUserResourceTest.cs | 11,023 | C# |
namespace BinaryDataSerialization.Test
{
public class Ingredients
{
[FieldOrder(0)]
public byte MainIngredientIndicator { get; set; }
[FieldOrder(1)]
[Subtype(nameof(MainIngredientIndicator), 1, typeof(CalciumCarbonate))]
[Subtype(nameof(MainIngredientIndicator), 2, typ... | 30.733333 | 79 | 0.663774 | [
"MIT"
] | jackwakefield/BinaryDataSerializer | BinaryDataSerializer.Test/Ingredients.cs | 463 | C# |
using UniRx;
namespace ReMotion
{
public class ObservableEasing
{
const float DefaultOvershoot = 1.70158f;
const float DefaultAmplitude = 1.70158f;
const float DefaultPeriod = 0.0f;
public static IObservable<float> Create(EasingFunction easing, float duration, bool ignoreTimeS... | 44.043478 | 169 | 0.673149 | [
"MIT"
] | HagamosVideojuegos/ReMotion | Assets/Scripts/ObservableEasing.cs | 10,132 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class movement : MonoBehaviour
{
private Animator Anim;
public GameObject parachute;
// Start is called before the first frame update
void Start()
{
Anim = gameObject.GetComponent<Animator> ();
... | 24.507463 | 71 | 0.537759 | [
"MIT"
] | TheCodeCrush/Sky-Diving | Assets/Script/movement.cs | 1,644 | 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 System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using osu.Framework.Allocation;
using os... | 35.543568 | 156 | 0.517044 | [
"MIT"
] | apollo-dw/osu | osu.Game/Screens/Select/Leaderboards/BeatmapLeaderboard.cs | 8,326 | C# |
using System;
using System.Globalization;
using System.Text;
namespace Poker.Deck
{
internal static class CardFormat
{
private const string DefaultCardMaskFormat = "ia";
internal static string Format(CardMask cardMask, string format, CardFormatInfo cardFormatInfo)
{
if (st... | 37.108597 | 120 | 0.525058 | [
"MIT"
] | Pulsatrix/Poker | Poker/Deck/CardFormat.cs | 8,203 | 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/wingdi.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows;
... | 42.647059 | 145 | 0.74069 | [
"MIT"
] | reflectronic/terrafx.interop.windows | sources/Interop/Windows/Windows/um/wingdi/EMRSETWORLDTRANSFORM.cs | 727 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using SFA.DAS.Events.Api.Types;
namespace SFA.DAS.Data.Worker.Events.EventsCollectors
{
public interface IEventsCollector<T>
{
Task<ICollection<T>> GetEvents();
}
}
| 20.916667 | 53 | 0.729084 | [
"MIT"
] | SkillsFundingAgency/das-data | src/SFA.DAS.Data.Worker/Events/EventsCollectors/IEventsCollector.cs | 253 | C# |
using System;
namespace Apocalypse.Any.Core.Model.Damage
{
/// <summary>
/// A dynamic damage that can be lazy loaded or its implementation can be changed at runtime
/// </summary>
/// <typeparam name="TDamageValueType"></typeparam>
public sealed class DynamicDamage<TDamageValueType> : Damage<TDam... | 39.454545 | 136 | 0.701613 | [
"MIT"
] | inidibininging/apocalypse_netcore | Apocalypse.Any.Core/Model/Damage/DynamicDamage.cs | 870 | C# |
using Agridea.Diagnostics.Contracts;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Web.Mvc;
using System.Web.Routing;
namespace Agridea.Web.Mvc.Grid
{
public static class GridHelper
{
public static string GetDefaul... | 45.433735 | 151 | 0.631663 | [
"MIT"
] | ni11c/AkkaJobs | AgrideaCore/Web/Mvc/Grid/Extensions/GridHelper.cs | 3,773 | C# |
using System;
using System.Threading;
using Xunit;
namespace DelimitedDataParser
{
public partial class ParserTest
{
[Fact]
public void Can_Cancel_Parse()
{
var cts = new CancellationTokenSource();
cts.Cancel();
var parser = new Parser
{... | 26.147541 | 108 | 0.51348 | [
"MIT"
] | EnableSoftware/DelimitedDataParser | test/DelimitedDataParser.Test/ParserTest.CancellationToken.cs | 1,597 | C# |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2019 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | 29.870968 | 90 | 0.586393 | [
"Apache-2.0"
] | Frunck8206/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Card/Submerchat/GetApplyProtocolJsonResult.cs | 2,908 | 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("ha... | 37.540541 | 84 | 0.743701 | [
"MIT"
] | LucaCorigliano/hacbuild | hacbuild/Properties/AssemblyInfo.cs | 1,392 | C# |
namespace StripeTests
{
using Newtonsoft.Json;
using Stripe;
using Xunit;
public class CustomerBalanceTransactionTest : BaseStripeTest
{
public CustomerBalanceTransactionTest(StripeMockFixture stripeMockFixture)
: base(stripeMockFixture)
{
}
[Fact]
... | 34.433962 | 110 | 0.630137 | [
"Apache-2.0"
] | Furysoft/stripe-dotnet | src/StripeTests/Entities/CustomerBalanceTransactions/CustomerBalanceTransactionTest.cs | 1,825 | C# |
using MMBackend.MapEditor;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace CTF.MapEditor
{
public class DeleteButton : MonoBehaviour
{
public EditorJudgementHolder judgementHolder;
public Timer timer;
void Start()
... | 26.375 | 94 | 0.616114 | [
"MIT"
] | 2haus/MateMatirun | Assets/Scripts/MapEditor/DeleteButton.cs | 846 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TFSUpgradeTeamProjectFeatures
{
class TextWriterDebug : TextWriter
{
public override Encoding Encoding
{
get { re... | 23.060465 | 92 | 0.530254 | [
"MIT"
] | kszicsillag/TFSUpgradeTeamProjectFeatures | TFSUpgradeTeamProjectFeatures/DebugWriter.cs | 4,960 | C# |
namespace DigitRecognizerBot.Services
{
public class MLStudioDigitRecognizerConfiguration
{
/// <summary>
/// URL of the MLStudioDigitRecognizer service.
/// </summary>
public string ServiceUrl { get; set; }
/// <summary>
/// API Key used for authentication with... | 27 | 85 | 0.611111 | [
"MIT"
] | Bhawk90/digit-recognizer-bot | digit-recognizer-bot/Services/MLStudioDigitRecognizerConfiguration.cs | 434 | C# |
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Thrift;
using Thrift.Collections;
using System.Runtime.Serializati... | 26.264317 | 111 | 0.556692 | [
"Apache-2.0"
] | live106/TetrisClone | Assets/Scripts/Net/Thrift/ResponseUserLogin.cs | 5,962 | 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 System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Ex... | 38.740413 | 191 | 0.503617 | [
"MIT"
] | MBmasher/osu | osu.Game/Overlays/BeatmapListingOverlay.cs | 12,797 | C# |
//
// System.Net.Mail.SmtpPermission
//
// Authors:
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (C) 2006 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software")... | 26.073684 | 96 | 0.688938 | [
"Apache-2.0"
] | CRivlaldo/mono | mcs/class/System/System.Net.Mail/SmtpPermission.cs | 4,954 | C# |
using System;
using System.Threading.Tasks;
using Cosmos.Debug.Kernel;
using Cosmos.TestRunner;
namespace Cosmos.Compiler.Tests.Bcl.System
{
public static class StringTest
{
public static void Execute()
{
Assert.IsTrue(("a" + "b") == "ab", "concatting 2 string using + doesn't work"... | 50.955224 | 196 | 0.613943 | [
"BSD-3-Clause"
] | ERamaM/Cosmos | Tests/Cosmos.Compiler.Tests.Bcl/System/StringTest.cs | 3,416 | C# |
using AutoMapper;
using MediatR;
using Ordering.Application.Contracts.Persistence;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Ordering.Application.Features.Orders.Queries.GetOrderList
{
public class GetOrder... | 35.15625 | 107 | 0.736 | [
"MIT"
] | andguto/AspNetMicroservices | src/Services/Ordering/Ordering.Application/Features/Orders/Queries/GetOrderList/GetOrdersListQueryHandler.cs | 1,127 | C# |
using System;
using System.Runtime.InteropServices;
namespace hds
{
public class AttributeClass2625 :GameObject
{
public Attribute Orientation = new Attribute(16, "Orientation");
public Attribute Position = new Attribute(24, "Position");
public Attribute HalfExtents = new Attribute(12, "HalfExtents"... | 24.166667 | 68 | 0.677586 | [
"MIT"
] | hdneo/mxo-hd | hds/resources/gameobjects/definitions/AttributeClasses/AttributeClass2625.cs | 580 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using TriggersTools.SharpUtils.Collections;
namespace TriggersTools.SharpUtils.IO {
/// <summary>
/// Extension methods for the <see cref="IDisposable"/> interface.
/// </summary>
public static class IDisposableExtensions {
#region ToDisposable... | 35.351064 | 104 | 0.692447 | [
"MIT"
] | trigger-death/TriggersTools.SharpUtils | src/TriggersTools.SharpUtils/IO/IDisposableExtensions.cs | 3,325 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 48.140741 | 203 | 0.604862 | [
"MIT"
] | Peter-Schneider/azure-powershell | src/ResourceManager/Insights/Commands.Insights/Alerts/AddAlertRuleCommand.cs | 12,731 | C# |
using System;
using System.Collections.Generic;
namespace Nutrients.DataAccess.Models
{
public partial class DerivationCode
{
public DerivationCode()
{
this.NutrientDatas = new List<NutrientData>();
}
public string DerivationCode1 { get; set; }
public string... | 24.631579 | 76 | 0.632479 | [
"MIT"
] | suvroc/NutrientApi | Nutrients.DataAccess/Models/DerivationCode.cs | 468 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DisplayImage2 : MonoBehaviour
{
public enum State
{
normal, zoom, ChangedView, idle
};
public State CurrentState { get; set; }
public int CurrentWall
{
get { return currentWall; }
... | 18.207547 | 117 | 0.536788 | [
"MIT"
] | asleshapokhrel/Escape-Lab | Assets/NewResources/Level2/DisplayImage2.cs | 967 | C# |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 44.403509 | 270 | 0.63552 | [
"MIT"
] | 0xced/azure-sdk-for-net | src/SDKs/Batch/DataPlane/Azure.Batch/GeneratedProtocol/Models/JobSchedulePatchHeaders.cs | 5,062 | C# |
namespace exam_center.usercontrols
{
partial class loginx
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 30.042553 | 107 | 0.548867 | [
"MIT"
] | denicos/android_andela | exam_center/exam_center/usercontrols/loginx.Designer.cs | 1,414 | 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.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using... | 40.851459 | 174 | 0.517791 | [
"MIT"
] | belav/roslyn | src/Features/Core/Portable/CodeFixes/CodeFixService.cs | 61,606 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace ResultSharp
{
/// <summary>
/// Interface for common Result operations
/// </summary>
public interface IResult
{
/// <summary>
/// Type of the Ok value
/// </summary>
Type OkType { get; }
/// <summary>
/// Type of the Error... | 21.5 | 63 | 0.615385 | [
"MIT"
] | sebbert/ResultSharp | ResultSharp/IResult.cs | 1,120 | C# |
using Micro.Mails;
namespace Micro.Auth.Api.Internal.Configs
{
public class Mail
{
public EmailUrlConfig EmailUrlConfig { set; get; }
public Smtp Smtp { set; get; }
public Sender DefaultSender { set; get; }
}
}
| 20.666667 | 58 | 0.633065 | [
"MIT"
] | fossapps/Micro.Auth | Micro.Auth.Api/Internal/Configs/Mail.cs | 248 | C# |
using System.Text;
namespace _04.Software_University_Learning_System.People.Students
{
public class CurrentStudent : Student
{
private string currentCourse;
public CurrentStudent(string firstName, string lastName, int age, int studentNumber, double averageGrade,
string currentCourse)
: base(firstName, la... | 23.59375 | 107 | 0.721854 | [
"MIT"
] | HouseBreaker/OOP | 01. Defining classes/04. Software University Learning System/People/Students/CurrentStudent.cs | 757 | C# |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using ... | 27.283019 | 72 | 0.643154 | [
"MIT"
] | ThomasMiz/Silk.NET | src/Microsoft/Silk.NET.Direct3D11/Structs/QueryDataSOStatistics.gen.cs | 1,446 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DomainResults.Common;
using Raven.Client.Documents;
using Raven.Client.Documents.Linq;
using Raven.Client.Documents.Session;
using Raven.Yabt.Database.Common;
using Raven.Yabt.Database.Common.BacklogItem;
using Rave... | 34.421053 | 183 | 0.727829 | [
"MIT"
] | gregolsky/samples-yabt | back-end/Domain/BacklogItemServices/Commands/BacklogItemDtoToEntityConversion.cs | 6,540 | 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... | 29.341463 | 88 | 0.660848 | [
"Apache-2.0"
] | stevesloka/pulumi-docker | sdk/dotnet/Outputs/ContainerMountVolumeOptions.cs | 1,203 | C# |
using System;
using System.Collections.Generic;
using Xunit;
using Bunit;
using Moq;
using ToolsApp.Components.Shared;
namespace ToolsApp.Components.UnitTests.Shared
{
public class ActionDataListCSharpTest : TestContext
{
[Fact]
public void ActionDataListComponentActionButtonClicked()
{
// Arr... | 22.8125 | 75 | 0.613699 | [
"MIT"
] | t4d-classes/blazor-server_08022021 | ToolsApp/ToolsApp.Components.UnitTests/Shared/ActionDataListCSharpTest.cs | 1,097 | C# |
using Rhino.ServiceBus.StructureMap;
using StructureMap.Configuration.DSL;
namespace TaskRunner.Core.BootStrappers
{
public class CustomBootStrapper<TType> : StructureMapBootStrapper where TType : Registry, new()
{
protected override void ConfigureContainer()
{
base.Confi... | 31.703125 | 116 | 0.546575 | [
"MIT"
] | Foxpips/LayeredArchitecture | TaskRunner.Core/BootStrappers/CustomBootStrapper.cs | 2,029 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Xml;
namespace System.Runtime.Serialization.Json
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.... | 47.059501 | 273 | 0.552003 | [
"MIT"
] | Jacksondr5/runtime | src/libraries/System.Private.DataContractSerialization/src/System/Runtime/Serialization/Json/JsonFormatReaderGenerator.cs | 49,036 | C# |
// uScript Action Node
// (C) 2015 Detox Studios LLC
#if (UNITY_4_6 || UNITY_4_7 || UNITY_5 || UNITY_2017 || UNITY_2017_1_OR_NEWER)
using UnityEngine;
[NodePath("Actions/Animation/Animator")]
[NodeCopyright("Copyright 2015 by Detox Studios LLC")]
[NodeToolTip("Resets a Trigger parameter of a Animator Controller on th... | 34.022222 | 175 | 0.675376 | [
"MIT"
] | detoxstudios/uscript | uScript_Dev/Assets/uScript/uScriptRuntime/Nodes/Actions/Animation/Animator/uScriptAct_AnimatorResetParameterTrigger.cs | 1,531 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using LazyStackDynamoDBRepo;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.Model;
using PetStoreSchema.Models;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace PetStoreRepo.Models
{
public class PetEnvelope : DataEnvelope... | 37.222707 | 113 | 0.544932 | [
"MIT"
] | InSciCo/InSciCo | docs/assets/tutorial/code/PetStoreRepo/PetRepo.cs | 8,524 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercise6
{
class Program
{
static void Main(string[] args)
{
List<int> numbers = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
for... | 22.769231 | 89 | 0.463964 | [
"MIT"
] | ghostdog87/Programming-Fundamentals-2018 | Lesson12 - Lists/Exercise6/Program.cs | 890 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Windows;
namespace GitHelper
{
public static class Utility
{
public static bool? ShowDialog(Window window)
{
window.Owner = Application.Current.MainWindow;
return window.Show... | 24.488372 | 86 | 0.529915 | [
"MIT"
] | g2384/GitHelper | GitHelper/Utility.cs | 1,053 | C# |
// Файл IP2PService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
namespace P2P
{
[ServiceContract]
public interface IP2PService
{
[OperationContract]
string GetName();
[Opera... | 20.65 | 54 | 0.7046 | [
"MIT"
] | silicium-one/OTUS_EXAMPLES | Examples/p2pWpf/IP2PService.cs | 419 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Medallion.Shell.Signals;
using Medallion.Shell.Streams;
names... | 50.407631 | 171 | 0.623232 | [
"MIT"
] | JTOne123/MedallionShell | MedallionShell/Command.cs | 25,105 | C# |
/*
Copyright (C) 2008, 2009 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 commer... | 28.331858 | 174 | 0.684523 | [
"MIT"
] | Nicero/uno | src/compiler/backend/ikvm/reflect/Impl/SymbolSupport.cs | 6,403 | C# |
// Copyright (c) 2009, Semyon A. Chertkov (semyonc@gmail.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code m... | 37.457055 | 115 | 0.535828 | [
"BSD-3-Clause"
] | 3rdandUrban-dev/Nuxleus | src/Xameleon/QueryMachine/QueryMachine.XQuery/Util/TimeValue.cs | 12,213 | 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.
#nullable enable
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostic... | 40.356589 | 132 | 0.607184 | [
"MIT"
] | CommunityToolkit/Lottie-Windows | source/Lottie/AnimatedVisualFactory.cs | 5,208 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestConsoleApp1
{
class Program
{
static void Main(string[] args)
{
string hello = "asdf"
}
}
}
| 16 | 39 | 0.625 | [
"MIT"
] | StanleyGoldman/GitHubActionsMSBuildLogger | test-resources/simple-project-error/TestConsoleApp1/Program.cs | 274 | C# |
using System;
using System.Runtime.CompilerServices;
using XamariNES.Cartridge.Mappers.Enums;
using XamariNES.Common.Extensions;
namespace XamariNES.Cartridge.Mappers.impl
{
/// <summary>
/// NES Mapper 1 (MMC1)
///
/// More Info: https://wiki.nesdev.com/w/index.php/MMC1
/// </summary>
... | 36.100313 | 134 | 0.500087 | [
"MIT"
] | mediaexplorer74/XamariNES | XamariNES.Cartridge/Mappers/impl/MMC1.cs | 11,518 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Moq;
using Web.Extensions;
using Xunit;
namespace Test.Web.UnitTest... | 20.791667 | 70 | 0.687375 | [
"MIT"
] | dbogatov/ore-benchmark | test/Web/UnitTests/LoggerTests.cs | 1,996 | C# |
using System.Collections.Generic;
using Recruit.Vacancies.Client.Domain.Entities;
namespace Esfa.Recruit.Vacancies.Client.Infrastructure.QueryStore.Projections.BlockedOrganisations
{
public class BlockedProviderOrganisations : QueryProjectionBase
{
public BlockedProviderOrganisations() : base(QueryView... | 35.153846 | 105 | 0.78337 | [
"MIT"
] | SkillsFundingAgency/das-recru | src/Shared/Recruit.Vacancies.Client/Infrastructure/QueryStore/Projections/BlockedOrganisations/BlockedProviderOrganisations.cs | 457 | C# |
namespace DIAssignment.ESEntryPoint
{
class Program
{
static void Main()
{
ESEntryPointService.Start().WaitForExit();
}
}
}
| 15.727273 | 54 | 0.543353 | [
"MIT"
] | Davidblkx/DIAssignment | DIAssignment.ESEntryPoint/Program.cs | 175 | C# |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class ParticleSceneControls : MonoBehaviour {
public DemoParticleSystemList demoParticles;
public float distFromSurface = 0.5f;
public float multiply = 1;
public bool clearOnChange... | 22.956164 | 134 | 0.626328 | [
"BSD-3-Clause"
] | GuillaumeArruda/LOG4715 | Cadriciel_TP1_2015_v2/Assets/Sample Assets/Sample Scenes/Scripts/ParticleSceneControls.cs | 8,381 | C# |
using System;
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class Libsodium
{
internal const int crypto_sign_ed25519_BYTES = 64;
internal const int crypto_sign_ed25519_PUBLICKEYBYTES = 32;
internal const int crypto_sign_ed25519_SEC... | 39.557692 | 85 | 0.695673 | [
"MIT"
] | Bobface/DotNetLightning | src/NSec/Interop/Interop.Ed25519.cs | 2,057 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Custom/PlayerData")]
public class SO_PlayerData : ScriptableObject {
const int itemQuantity = 13;
public int level;
public bool[] collectedItems = new bool[itemQuantity];
}
| 26.090909 | 56 | 0.783972 | [
"MIT"
] | TanookiVerde/Muquirana | Assets/code/muquirana/SO_PlayerData.cs | 289 | C# |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | 30.251799 | 160 | 0.539358 | [
"Apache-2.0"
] | 29366365/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/JsonResult/WeixinUserInfoResult.cs | 4,987 | C# |
/// System.Extensions License
///
/// Copyright (c) 2004 Jonathan de Halleux, http://www.dotnetwiki.org
///
/// 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... | 29.045977 | 90 | 0.754254 | [
"MIT"
] | Plankankul/Framework-w-WebApp | Framework/CodeDOM/ImplementationMemberDeclaration.cs | 2,527 | C# |
using System;
class Program
{
static void Main()
{
string hexademical = Console.ReadLine();
Console.WriteLine("{0}", Convert.ToInt32(hexademical, 16));
}
} | 18.5 | 67 | 0.610811 | [
"MIT"
] | GabrielRezendi/Programming-Fundamentals-2017 | 01.Short Fundamentals/11.DATA TYPES AND VARIABLES - EXERCISES/04. Variable in Hex Format/Program.cs | 187 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Xml;
using Microsoft.Build.Framewor... | 41.042254 | 161 | 0.66987 | [
"MIT"
] | AaronRobinsonMSFT/msbuild | src/Build/BackEnd/Components/Logging/BuildLoggingContext.cs | 2,916 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.