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 |
|---|---|---|---|---|---|---|---|---|
namespace InsanityBot.Utility.Reference;
using System;
using InsanityBot.Utility.Datafixers.Reference;
public interface IDatafixer
{
public DatafixerLoadingResult Load() => DatafixerLoadingResult.Success;
public String NewDataVersion { get; }
public String OldDataVersion { get; }
public UInt32 DatafixerId { get... | 26.071429 | 72 | 0.791781 | [
"MIT"
] | InsanityBot/InsanityBot | InsanityBot.Utility/Reference/IDatafixer.cs | 367 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using BO;
using BE;
using System.Web.Http.Cors;
namespace ApiSeguraEventos.Controllers
{
[EnableCors("*", "*", "*")]
public class DetEvento_LocalController : ApiController
{
... | 28.627119 | 83 | 0.631143 | [
"MIT"
] | carloseip/ApiEventos | appGetorEventos/Controllers/DetEvento_LocalController.cs | 1,691 | C# |
// Copyright © 2020 Dmitry Sikorsky. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using ExtCore.Infrastructure;
namespace Platformus.Website
{
/// <summary>
/// Overrides the <see cref="ExtensionBase">ExtensionBase</see> clas... | 30.909091 | 130 | 0.663725 | [
"Apache-2.0"
] | alokshukla1978/Platformus | src/Platformus.Website/WebsiteExtension.cs | 1,023 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class AutomaticWeaponInputHandler : WeaponInputHandler
{
public override bool FireInputReceived() {
return Input.GetButton("Fire1");
}
}
| 21.25 | 61 | 0.760784 | [
"MIT"
] | nagahole/scope | SCOPE/Assets/Scripts/Weapon System/Modules/Functional Modules/Input Handlers/AutomaticWeaponInputHandler.cs | 257 | C# |
namespace ModernDesignTemplate
{
public interface IViewModelSwitcher
{
ISwitchableViewModel CurrentView { get; set; }
void Switch(object sender, SwitchViewEventArgs e);
}
} | 22.333333 | 58 | 0.701493 | [
"MIT"
] | TedMANNERs/ModernDesignTemplate | ModernDesignTemplate/IViewModelSwitcher.cs | 201 | C# |
using UnityEngine;
using Dest.Math;
namespace Dest.Math.Tests
{
[ExecuteInEditMode]
public class Test_IntrPlane3Plane3 : Test_Base
{
public Transform Plane0;
public Transform Plane1;
private void OnDrawGizmos()
{
Plane3 plane0 = CreatePlane3(Plane0);
Plane3 plane1 = CreatePlane3(Plane1);
bool te... | 20.868421 | 79 | 0.691047 | [
"MIT"
] | zhlnpu/SmartphoneVR2-ARinVR | SmartPhoneVR-stage2-pc-ARinVR/Assets/MathLibraryForUnity/Tests/Scripts/Intersection/3D/Test_IntrPlane3Plane3.cs | 795 | C# |
using FluentAssertions;
using FluentAssertions.Common;
using KorDevAus.Entities;
using KorDevAus.Orm.Configurations;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace KorDevAus.Orm.Tests.Configurations
{
[TestClass]
public class MemberConfigurationTests
{
[TestMethod]
public ... | 27 | 74 | 0.68277 | [
"MIT"
] | TeamKDA/KorDevAus-Database | test/KorDevAus.Orm.Tests/Configurations/MemberConfigurationTests.cs | 623 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ws_lab_08.Models {
public class ReqJsonRPC {
public string Id { get; set; }
public string Jsonrpc { get; set; }
public string Method { get; set; }
public ISM Params { get; set; }
}
} | 24.538462 | 43 | 0.639498 | [
"MIT"
] | syarhei/web-services | ws_lab_08/ws_lab_08/Models/ReqJsonRPC.cs | 321 | C# |
#pragma checksum "C:\Users\kobe9\source\repos\WinUI_UWP\XamlControlsGallery\SamplePages\SamplePage2.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "324A2D11F4A664E8F61626FB9B095ECB642CE98D8AC15DDDE5F3360FFCFD32A9"
//------------------------------------------------------------------------------
// <auto-generated>
// ... | 45.2 | 214 | 0.665044 | [
"MIT"
] | kobe9936/WinUI_UWP | XamlControlsGallery/obj/XamlControlsGallery/x64/Debug/SamplePages/SamplePage2.g.i.cs | 2,262 | 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 ... | 18.719101 | 63 | 0.644658 | [
"Apache-2.0"
] | aliyun/aliyun-openapi-net-sdk | aliyun-net-sdk-dataworks-public/Dataworks_public/Model/V20200518/GetConnectionMetaResponse.cs | 1,666 | C# |
/**
* https://gamedevelopment.tutsplus.com/tutorials/quick-tip-use-quadtrees-to-detect-likely-collisions-in-2d-space--gamedev-374
* https://gist.github.com/RonildoSouza/4314d279a02a3214acc59c2cf6bf9b12
*/
using Curupira2D.ECS;
using Curupira2D.Extensions;
using Microsoft.Xna.Framework;
using System;
using System.Coll... | 34.158996 | 125 | 0.514209 | [
"MIT"
] | RonildoSouza/MonoGame.Helper | src/Curupira2D/Quadtree.cs | 8,166 | 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.IO;
using System.Runtime.InteropServices;
namespace System
{
public static partial class PlatformD... | 46.35 | 169 | 0.566073 | [
"MIT"
] | 06needhamt/runtime | src/libraries/Common/tests/TestUtilities/System/PlatformDetection.Unix.cs | 14,832 | C# |
using System.ComponentModel.DataAnnotations;
namespace Sikiro.Interface.Customer.User
{
public class UpdateUserStatusRequest
{
[Required]
public string Id { get; set; }
[Required]
public int Status { get; set; }
}
}
| 18.785714 | 45 | 0.634981 | [
"MIT"
] | SkyChenSky/Sikiro | samples/客户系统解决方案-新分层/Sikiro.Interface.Customer/User/UpdateUserStatusRequest.cs | 265 | C# |
using System;
namespace IdentityServer4.Admin.ViewModels.User
{
public class ListUserItemViewModel
{
public string UserName { get; set; }
public string Email { get; set; }
public string GivenName { get; set; }
public string FamilyName { get; set; }
public string PhoneNum... | 27.111111 | 47 | 0.588115 | [
"MIT"
] | ERP-CI-CD-Organization/identityserver | src/IdentityServer4.Admin/ViewModels/User/ListUserItemViewModel.cs | 488 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace ImpulsoProject.Migrations
{
public partial class Upgraded_To_Abp_v3_5_0 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColu... | 32.640625 | 71 | 0.486836 | [
"MIT"
] | Escandiuzzi/ImpulsoProject | aspnet-core/src/ImpulsoProject.EntityFrameworkCore/Migrations/20180320131229_Upgraded_To_Abp_v3_5_0.cs | 4,180 | 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.Configuration.Internal;
using System.Diagnostics;
namespace System.Configuration
{
public sealed class SectionInformation
{
// Flags
private con... | 39.475146 | 129 | 0.614866 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Configuration.ConfigurationManager/src/System/Configuration/SectionInformation.cs | 27,001 | C# |
using Entities.Concrete;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bussines.ValidationRules.FluentValidation
{
public class UserValidator : AbstractValidator<User>
{
public UserValidator()
... | 23.863636 | 56 | 0.638095 | [
"MIT"
] | boole52/EnterpriseProject | Bussines/ValidationRules/FluentValidation/UserValidator.cs | 527 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using koi_jabo.Models;
using koi_jabo.Entity;
using System.Web.Http;
using System.Net.Http;
using MongoDB.Driver;
using koi_jabo_models.Models.Pagination;
namespace koi_jabo.Lib.Repository.Restaurant
{
... | 32.666667 | 143 | 0.649351 | [
"Apache-2.0"
] | KoiJabo/KoiJabo-WebApi | koi jabo/koi jabo/Lib/Repository/Restaurant/RestaurantRepository.cs | 2,158 | C# |
#region Copyright
/*Copyright (C) 2015 Wosad 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 ... | 28.695652 | 75 | 0.739394 | [
"Apache-2.0"
] | Wosad/Wosad.Dynamo | Wosad.Dynamo.UI/Views/Analysis/Beam/Flexure/BeamDeflectionCaseView.xaml.cs | 1,322 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace V... | 38.546875 | 186 | 0.591001 | [
"Apache-2.0"
] | Haxine/V5_DataCollection | V5_DataPublishModule/Properties/Resources.Designer.cs | 2,817 | C# |
#region Copyright
// Copyright 2014 Myrcon Pty. 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 a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | 31.653846 | 75 | 0.716889 | [
"Apache-2.0"
] | phogue/Potato | src/Potato.Database.Shared/Builders/Modifiers/Unique.cs | 823 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Kanyon.Core
{
public class PrecompiledManifestObject : IManifestObject
{
public string ApiVersion => "github.com/kanyon-k8s/kanyon/v1alpha1";
public string Kind => nameof(PrecompiledManifestObject);
public s... | 22.6875 | 76 | 0.710744 | [
"MIT"
] | ermontgo/kapitan | src/Kanyon.Core/PrecompiledManifestObject.cs | 365 | C# |
/*----------------------------------------------------------
This Source Code Form is subject to the terms of the
Mozilla Public License, v.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/.
----------------------------------------------------------... | 42.904762 | 118 | 0.690899 | [
"MPL-2.0"
] | 240596448/OneScript | src/NUnitTests/Properties/AssemblyInfo.cs | 2,438 | C# |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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:... | 38.52439 | 127 | 0.562836 | [
"ECL-2.0",
"Apache-2.0"
] | soelske/mbunit-v3 | src/Gallio/Gallio.UI/ControlPanel/Preferences/PreferenceControlPanelTab.cs | 9,477 | C# |
namespace Reductech.Sequence.Core.Tests.Steps;
public partial class ArrayConcatTests : StepTestBase<ArrayConcat<SCLInt>, Array<SCLInt>>
{
/// <inheritdoc />
protected override IEnumerable<StepCase> StepCases
{
get { yield break; }
}
}
| 24.636364 | 89 | 0.671587 | [
"Apache-2.0"
] | reductech/Core | Core.Tests/Steps/ArrayConcatTests.cs | 273 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using Quartz.Logging;
using Quartz.Util;
namespace Quartz.Impl.AdoJobStore
{
internal class ClusterManager
{
private static readonly ILog log = LogProvider.GetLogger(typeof(ClusterManager));
// keep constant lock requestor i... | 39.628571 | 195 | 0.620524 | [
"Apache-2.0"
] | davidhjones/quartznet | src/Quartz/Impl/AdoJobStore/ClusterManager.cs | 4,163 | C# |
using System;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using Jal.Router.AzureServiceBus.Impl;
using Jal.Router.Interface;
using Jal.Router.Interface.Inbound;
using Jal.Router.Interface.Management;
namespace Jal.Router.AzureServiceBus.Installer
{
... | 52.5 | 276 | 0.776667 | [
"Apache-2.0"
] | bobhonores/Jal.Router | Jal.Router.AzureServiceBus.Installer/AzureServiceBusRouterInstaller.cs | 2,102 | C# |
using System;
using Grasshopper.Kernel;
using ARDB = Autodesk.Revit.DB;
namespace RhinoInside.Revit.GH.Parameters
{
public class AssemblyInstance : GraphicalElementT<Types.AssemblyInstance, ARDB.AssemblyInstance>
{
public override GH_Exposure Exposure => GH_Exposure.secondary;
public override Guid... | 28.409091 | 99 | 0.6816 | [
"MIT"
] | ishanshah4343/rhino.inside-revit | src/RhinoInside.Revit.GH/Parameters/AssemblyInstance.cs | 625 | C# |
using UnityEngine;
public class SingletnoAutoMono<T> : MonoBehaviour where T : SingletnoAutoMono<T>
{
private static string MonoSingletionName = "MonoSingletionRoot";
private static GameObject MonoSingletionRoot;
private static T instance;
public static T Instance
{
get
{
... | 32.055556 | 83 | 0.558059 | [
"MIT"
] | euphoriaer/Roguelike-fantasy | Project/ARMRP-unity/Assets/Scripts/ProjectBase/Base/SingletnoAutoMono.cs | 1,322 | C# |
using Components.Data;
var builder = WebApplication.CreateBuilder(args);
builder.WebHost.UseWebRoot("wwwroot");
builder.WebHost.UseStaticWebAssets();
// Add services to the container.
builder.Services.AddRazorPages();
builder.Services.AddServerSideBlazor();
builder.Services.AddSingleton<WeatherForecastService>();
va... | 26.785714 | 131 | 0.76 | [
"MIT"
] | PotatoMaster101/BlazorServerInDepthSolutions | Components/Program.cs | 750 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using NHibernate.Extensions.Tests.Entities;
using NHibernate.Linq;
using NUnit.Framework;
namespace NHibernate.Extensions.Tests
{
[TestFixture]
public partial class DeepCloneTests : BaseIncludeTest
{
[Test]
public void Test... | 41.469965 | 150 | 0.554192 | [
"MIT"
] | maca88/NHibernate.Extensions | NHibernate.Extensions.Tests/DeepCloneTests.cs | 11,738 | C# |
namespace Community.CsharpSqlite
{
using System;
using u8 = System.Byte;
/*
** Each foreign key constraint is an instance of the following structure.
**
** A foreign key is associated with two tables. The "from" table is
** the table that contains the REFERENCES clause that creates the foreign
... | 32.315068 | 77 | 0.567189 | [
"MIT"
] | ArsenShnurkov/csharp-sqlite | Community.CsharpSqlite/src/engine_scheme/FKey.cs | 2,361 | C# |
using System;
using Newtonsoft.Json;
namespace RimuTec.PiranhaNH.Entities
{
[Serializable]
internal sealed class PostPermissionEntity
{
public Guid PostId { get; set; }
public string Permission { get; set; }
[JsonIgnore]
public PostEntity Post { get; set; }
}
}
| 18.75 | 45 | 0.666667 | [
"MIT"
] | RimuTec/RimuTec.Piranha | src/PiranhaNH/Entities/PostPermissionEntity.cs | 300 | C# |
using CoinbaseExchange.NET.Core;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CoinbaseExchange.NET.Endpoints.OrderBook
{
public class RealtimeOrderBookC... | 32.45749 | 125 | 0.487215 | [
"MIT"
] | sefbkn/CoinbaseExchange.NET | CoinbaseExchange.NET/Endpoints/OrderBook/RealtimeOrderBookClient.cs | 8,019 | C# |
using System.Threading.Tasks;
using CryptoArbitrageSharp.Calculator;
using CryptoArbitrageSharp.Exchanges;
using CryptoArbitrageSharp.Exchanges.Binance;
using CryptoArbitrageSharp.Exchanges.Bitfinex;
using CryptoArbitrageSharp.Exchanges.Bitstamp;
using CryptoArbitrageSharp.Exchanges.Bittrex;
using CryptoArbitrageSharp... | 44.766667 | 122 | 0.712211 | [
"MIT"
] | dougdellolio/Crypto.Arbitrage.CSharp | CryptoArbitrageSharp/ArbitrageClient.cs | 2,688 | C# |
using Nuke.Common;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.DotNet;
using Nuke.Common.Tools.SonarScanner;
using static Nuke.Common.Tools.DotNet.DotNetTasks;
using static Nuke.Common.Tools.SonarScanner.SonarScannerTasks;
using static Helpers;
using static System.IO.Path;
partial class Build
{
[Parameter] ... | 41.444444 | 315 | 0.60992 | [
"MIT"
] | AccountTechnologies/hotchocolate | .build/Build.Sonar.cs | 5,222 | 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.964912 | 90 | 0.617681 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-mongodbatlas | sdk/dotnet/Outputs/GetCloudBackupSchedulePolicyItemWeeklyResult.cs | 1,708 | 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/WebServices.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
... | 35.411765 | 145 | 0.782392 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | sources/Interop/Windows/um/WebServices/WS_HTTP_SSL_POLICY_DESCRIPTION.cs | 604 | C# |
using System.Threading.Tasks;
namespace Augustus.CRM
{
public interface ICrmService
{
CrmContext GetContext();
Task<CrmContext> GetContextAsync();
}
}
| 16.454545 | 43 | 0.662983 | [
"MIT"
] | gothandy/Augustus | Augustus.CRM/ICrmService.cs | 183 | C# |
namespace Backtrace.Unity.Model
{
internal sealed class BacktraceDefaultClassifierTypes
{
internal const string MessageType = "Message";
internal const string ExceptionType = "Exception";
internal const string UnhandledExceptionType = "Unhandled exception";
internal const strin... | 30.214286 | 77 | 0.711584 | [
"MIT"
] | Bruce-Szo/NotABugGameJam2021 | Not A Bug Game Jam 2021/Packages/backtrace-unity-3.7.1/Runtime/Model/BacktraceDefaultClassifierTypes.cs | 425 | C# |
using Autofac;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Nop.Core.Configuration;
using Nop.Core.Infrastructure;
using Nop.Web.Areas.Admin.Controllers;
using Nop.Web.Controllers;
using Nop.Web.F... | 49.518519 | 192 | 0.645942 | [
"MIT"
] | PeterPann23/FireWall | Samples/NopeCommerce/Presentation/Nop.Web/Startup.cs | 10,698 | C# |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
... | 36.583333 | 81 | 0.749431 | [
"MIT"
] | Ethereal77/stride | sources/engine/Stride.Rendering/Rendering/Materials/IMaterialClearCoatFeature.cs | 441 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Request to modify the system's default policy settings.
/// The response is e... | 42.981797 | 157 | 0.691644 | [
"MIT"
] | Rogn/broadworks-connector-net | BroadworksConnector/Ocip/Models/SystemPolicyModifyDefaultRequest22.cs | 37,781 | 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/codecapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... | 42.266667 | 145 | 0.694006 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | tests/Interop/Windows/um/codecapi/CODECAPI_AVEncCommonMinBitRateTests.cs | 1,904 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MikuMikuWorld.Network;
namespace Exporter_MMW
{
public partial class CollisionSphere : UserCon... | 26.033333 | 112 | 0.659411 | [
"BSD-3-Clause"
] | yoship1639/MikuMikuWorld | Exporter_MWO/CollisionSphere.cs | 783 | 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("Ba... | 37.486486 | 84 | 0.743331 | [
"MIT"
] | Bigguy34/ScriptCs.Barrage | ScriptCs.Barrage/Barrage/Properties/AssemblyInfo.cs | 1,390 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Array_Data
{
class Program
{
static void Main(string[] args)
{
List<int> inputNumbers = Console.ReadLine().Split(' ').Select(int.Parse).ToList();
... | 25 | 94 | 0.489474 | [
"MIT"
] | alexdimitrov2000/SU-Initial-Tasks | 4.0 Programming Fundamentals/Array Data/ArrayData.cs | 952 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.Code... | 36.530303 | 174 | 0.630859 | [
"Apache-2.0"
] | 0x53A/roslyn | src/Workspaces/Core/Portable/Shared/Extensions/ISolutionExtensions.cs | 2,413 | C# |
using Imagin.Common;
using Imagin.Common.Input;
using Imagin.Common.Linq;
using Imagin.Common.Media;
using System;
using System.Threading.Tasks;
using System.Windows.Media;
namespace Imagin.Colour.Controls.Models
{
/// <summary>
///
/// </summary>
public abstract class Component : ObjectBase
{
... | 29.755396 | 120 | 0.53264 | [
"BSD-2-Clause"
] | OkumaScott/Imagin.NET | Imagin.Colour.WPF/Models/_Components/Component.cs | 4,138 | C# |
public class Solution {
public int Calculate(string s) {
Stack<char> operStk = new Stack<char>();
Stack<int> numStk = new Stack<int>();
for (int i = 0; i < s.Length; i++) {
var c = s[i];
if (char.IsDigit(c)) {
long currentNumber = 0;
... | 32.384615 | 85 | 0.364014 | [
"MIT"
] | txchen/csharp-leet | solutions/Q224.cs | 1,684 | C# |
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#nullable enable
using System.Linq;
using Dolittle.Runtime.Events.Processing.EventHandlers;
using Integration.Tests.Events.Processing.EventHandlers.given;
namespace In... | 37.735294 | 170 | 0.772408 | [
"MIT"
] | dolittle-runtime/Runtime | Integration/Tests/Events.Processing/EventHandlers/with_a_single/scoped/not_partitioned/fast_event_handler/with_implicit_filter/processing_all_event_types/given/single_tenant_and_event_handlers.cs | 1,283 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Amg.Build
{
public enum InvocationState
{
Pending,
InProgress,
Done,
Failed
}
public interface IInvocation
{
InvocationId Id { get; }
InvocationState State { get; }
... | 24.073171 | 76 | 0.577508 | [
"MIT"
] | sidiandi/Amg.Build | src/Amg.Build/IInvocation.cs | 989 | C# |
namespace ThreeJs4Net.Geometries
{
public class TetrahedronGeometry
{
}
}
| 12.428571 | 36 | 0.689655 | [
"MIT"
] | threejs4net/threejs4net | ThreeJs4Net/Geometries/TetrahedronGeometry.cs | 89 | C# |
// Python Tools for Visual Studio
// 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
/... | 37.214286 | 83 | 0.747601 | [
"Apache-2.0"
] | Bhaskers-Blu-Org2/PTVS | Python/Product/VSInterpreters/PythonWorkspaceContextEventArgs.cs | 1,044 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.
using AttackSurfaceAnalyzer.Objects;
using AttackSurfaceAnalyzer.Types;
using Microsoft.Data.Sqlite;
using Newtonsoft.Json;
using Serilog;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
us... | 44.669708 | 324 | 0.534111 | [
"MIT"
] | Bhaskers-Blu-Org2/AttackSurfaceAnalyzer | Lib/Utils/SqliteDatabaseManager.cs | 48,960 | C# |
using AzureSearchToolkit.Mapping;
using AzureSearchToolkit.Utilities;
using Microsoft.Azure.Search.Models;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace AzureSearchToolkit.Request.Visitors
{
class MemberProjectionExpressionVisi... | 34.066667 | 164 | 0.66683 | [
"Apache-2.0"
] | nkovacic/AzureSearch.Toolkit | AzureSearchToolkit/Request/Visitors/MemberProjectionExpressionVisitor.cs | 2,046 | C# |
using SevenTiny.Bantina;
using System;
namespace SevenTiny.Cloud.MultiTenantPlatform.DataApi.Models
{
public class QueryArgs
{
public string _interface { get; set; }
public int _pageIndex { get; set; }
public int _pageSize { get; set; }
public void QueryArgsCheck()
{
... | 23.142857 | 70 | 0.578189 | [
"Apache-2.0"
] | sevenTiny/7Tiny.Cloud.MultiTenant | Code/SevenTiny.Cloud.MultiTenant.DataApi/Models/QueryArgs.cs | 488 | C# |
using Microsoft.EntityFrameworkCore;
using Skyline.Domain.ContactAggregate;
using Skyline.Infrastructure.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Skyline.Infrastructure.Repositories
{
public class ContactRepository : Reposi... | 30.589744 | 104 | 0.65549 | [
"MIT"
] | zhaobingwang/Skyline | MicroServicesArchitecture/src/Skyline.Infrastructure/Repositories/ContactRepository.cs | 1,225 | C# |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 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 ... | 48.046512 | 245 | 0.487899 | [
"Apache-2.0"
] | AjuPrince/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP/RequestMessageFactory.cs | 13,438 | C# |
using System;
using NetOffice;
using NetOffice.Attributes;
namespace NetOffice.PublisherApi.Enums
{
/// <summary>
/// SupportByVersion Publisher 14, 15, 16
/// </summary>
[SupportByVersion("Publisher", 14,15,16)]
[EntityType(EntityType.IsEnum)]
public enum PbMailMergeDataSource
{
/// <summary>
/// Supp... | 24.333333 | 44 | 0.666667 | [
"MIT"
] | DominikPalo/NetOffice | Source/Publisher/Enums/PbMailMergeDataSource.cs | 659 | C# |
using CompanyName.MyMeetings.Modules.UserAccess.Application.Configuration.Queries;
using Dapper;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace CompanyName.MyMeetings.Modules.UserAccess.Application.Authorization.GetUserPermissions
{
internal class GetUserPermis... | 39.787879 | 127 | 0.689261 | [
"MIT"
] | GamilYassin/modular-monolith-with-ddd | src/Modules/UserAccess/Application/Authorization/GetUserPermissions/GetUserPermissionsQueryHandler.cs | 1,315 | C# |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using OptimizationRepeater.Models;
namespace OptimizationRepeater.ViewModels
{
public class OptimizationFunctionViewModel : BindableBaseWithErrorsContainer
{
public ObservableCollection<OptimizationFunction> OptimizationFunctions ... | 51.458333 | 193 | 0.721457 | [
"MIT"
] | s2atoru/RayStationScripts | OptimizationRepeater/ViewModels/OptimizationFunctionViewModel.cs | 1,237 | C# |
public class OffCollisionCommand : ToolActionCommandBase // TypeDefIndex: 6280
{
// Methods
// RVA: 0x1D8EA70 Offset: 0x1D8EB71 VA: 0x1D8EA70
public void .ctor(ActionCommandDataTable actionCommandData, AS_ToolController controller) { }
// RVA: 0x1D8EAD0 Offset: 0x1D8EBD1 VA: 0x1D8EAD0 Slot: 8
public override voi... | 28.333333 | 94 | 0.767647 | [
"MIT"
] | SinsofSloth/RF5-global-metadata | _no_namespace/OffCollisionCommand.cs | 340 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace LinqToLdap.Visitors
{
/// <summary>
/// Pulled from http://blogs.msdn.com/b/mattwar/archive/2008/11/18/linq-links.aspx
/// </summary>
internal static class Evaluator
{
/// <summary>
... | 34.852632 | 141 | 0.579583 | [
"MIT"
] | madhatter22/LinqToLdap | LinqToLdap/Visitors/Evaluator.cs | 3,313 | C# |
using System.Collections.Generic;
using UnityEngine;
namespace Hydra.HydraCommon.Utils.Comparers
{
/// <summary>
/// ClockwiseComparer provides functionality for sorting a collection of Vector2s such
/// that they are ordered clockwise about a given origin.
/// </summary>
public class ClockwiseC... | 31.776316 | 127 | 0.570186 | [
"MIT"
] | jotaate/Crowds | Assets/Scripts/Utils/ClockwiseComparer.cs | 2,417 | 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... | 33.043796 | 122 | 0.594213 | [
"Apache-2.0"
] | NGL321/aws-sdk-net | sdk/src/Services/DocDB/Generated/Model/DescribeDBClusterParameterGroupsRequest.cs | 4,527 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
using SmartDisplay.Bluetooth;
using SmartDisplay.Contracts;
using SmartDisplay.Utils;
using System;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Windows.Devices.Bluetooth.Rfcomm;
using Windows.Devices.Enumeration;
using Windows.... | 45.257302 | 158 | 0.590934 | [
"MIT"
] | ATM006/Windows-iotcore-samples | Samples/IoTCoreDefaultApp/CS/SmartDisplay/Views/Settings/BluetoothSettingsVM.cs | 32,542 | C# |
using System;
using System.Collections.Generic;
using Timesheet.Domain.Common;
namespace Timesheet.Domain.Entities
{
public class Task : Entity
{
public int Id { get; set; }
public string Code { get; set; }
public string Name { get; set; }
public Status CurrentStatus... | 26.928571 | 67 | 0.535809 | [
"MIT"
] | aert/Timesheet | Timesheet.Domain/Entities/Task.cs | 1,133 | C# |
using System;
using System.Linq.Expressions;
using ConsoleToolkit.Exceptions;
using ConsoleToolkit.Utilities;
namespace ConsoleToolkit.CommandLineInterpretation
{
internal static class SetterBuilder
{
public static object Build(Type target, Expression body)
{
if (!(body i... | 40.825 | 122 | 0.643601 | [
"MIT"
] | jamie-davis/ConsoleTools | ConsoleToolkit/CommandLineInterpretation/SetterBuilder.cs | 1,633 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was automatically generated.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------------------------------------... | 33.46875 | 107 | 0.601307 | [
"MIT"
] | Joey35233/FoxKit | FoxKit/Assets/FoxKit/Modules/DataSet/Fox/TppGameKit/TppTrapCheckIsPlayerAndLocalCallbackDataElement.Generated.cs | 1,071 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Console : MonoBehaviour
{
private Text ConsoleObject; //Reference to the main console object
// Start is called before the first frame update
void Awake()
{
Consol... | 21.893617 | 94 | 0.677357 | [
"CC0-1.0"
] | Espresshock/RoC | Assets/Scripts/Console.cs | 1,029 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace P._01._2015._05.V2_Calculation_Problem_2
{
class Program
{
static void Main(string[] args)
{
//1. read input
//2. convert every number to decima... | 38.101695 | 167 | 0.568505 | [
"MIT"
] | jsdelivrbot/Telerik_Academy | CSharp/CSharp Part 2/Exam-Preparation/P.01.2015.05.V2-Calculation-Problem-2/Program.cs | 2,348 | C# |
namespace SourceControlSystem.Api.Tests.ControllerTests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Controllers;
using MyWebApi;
using Models.Projects;
using System.Web.Http.Cors;
using System.Collections.Generic;
using System;
[TestClass]
public class ProjectsContr... | 35.6 | 97 | 0.55229 | [
"MIT"
] | EmilMitev/Telerik-Academy | Web Services and Cloud/Slides and demos/03. ASP.NET-Web-API-Architecture/LiveDemo-2015-SourceControlSystem/Tests/SourceControlSystem.Api.Tests/ControllerTests/ProjectsControllerTests.cs | 4,630 | C# |
using System;
namespace CheatSheetConsoleApp
{
class Ex17_1_Exception
{
internal static void Run()
{
try
{
ThrowException();
}
catch (Ex17_1_Exception_MyException ex) when (ex.Value >= 1)
{
Console.WriteLine("Catch MyException");
}
catch (E... | 23.895833 | 100 | 0.624237 | [
"MIT"
] | tanaka-takayoshi/CSharpCheatSheet | CheatSheetConsoleApp/Ex17_1_Exception.cs | 1,279 | C# |
using System;
using Newtonsoft.Json;
using Basket.API.Entities;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
namespace Basket.API.Repositories
{
public class BasketRepository : IBasketRepository
{
private readonly IDistributedCache _redisCache;
public BasketRepository(IDi... | 25.780488 | 93 | 0.737938 | [
"MIT"
] | FernandoDevBh/MicroServicesAspnet | src/Services/Basket/Basket.API/Repositories/BasketRepository.cs | 1,059 | C# |
using Microsoft.AspNetCore.Identity;
namespace HeroClub.Domain
{
public class UserRole : IdentityUserRole<int>
{
public User User { get; set; }
public Role Role { get; set; }
}
} | 20.7 | 49 | 0.642512 | [
"MIT"
] | vsandrade/HeroClub | HeroClub.Domain/UserRole.cs | 207 | 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... | 27.402597 | 112 | 0.600948 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/CloudFormation/Generated/Model/CreateChangeSetResponse.cs | 2,110 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from d3dx12.h in the microsoft/DirectX-Graphics-Samples tag v10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT ... | 42.227273 | 151 | 0.684069 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/other/d3dx12/D3DX12_MESH_SHADER_PIPELINE_STATE_DESCTests.cs | 1,860 | 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 ... | 35.77451 | 95 | 0.590299 | [
"Apache-2.0"
] | michael-jia-sage/libgoogle | src/contentforshopping/elements/customgroup.cs | 3,651 | C# |
#if (UNITY_WINRT || UNITY_WP_8_1) && !UNITY_EDITOR && !UNITY_WP8
#region License
// Copyright (c) 2007 James Newton-King
//
// 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
/... | 26.27044 | 93 | 0.6531 | [
"Unlicense"
] | madparker/LumarcaUnity | LumarcaUnity2/Assets/Scripts/JsonDotNet/Source/WinRT/Bson/RT_BsonToken.cs | 4,177 | C# |
namespace GetRichOrDieTrying.Data.Migrations
{
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
mi... | 42.529052 | 122 | 0.486158 | [
"MIT"
] | l3kov9/Who-wants-to-be-a-millionaire- | GetRichOrDieTrying/GetRichOrDieTrying.Data/Migrations/20180609093012_InitialCreate.cs | 13,909 | C# |
// Copyright 2020 The Tilt Brush Authors
//
// 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 ... | 36.475904 | 103 | 0.582164 | [
"Apache-2.0"
] | Baflee/crypto-art-gallery-redo | Assets/Scripts/Tools/FreePaintTool.cs | 6,057 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step... | 46.280702 | 140 | 0.706596 | [
"MIT"
] | Melina-Aero/MelinaAero-UnitsNet | UnitsNet/GeneratedCode/Extensions/Number/NumberToElectricFieldExtensions.g.cs | 2,640 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Script.Serialization;
namespace DozensAPI
{
internal class JavaScriptSerializer : System.Web.Script.Serialization.JavaScriptSerializer
{
}
}
| 19.846154 | 94 | 0.782946 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | jsakamoto/DozensApiClient-for-DotNet | Dozens/Internal/JavaScriptSerializer.cs | 260 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... | 31.659091 | 116 | 0.66906 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet-intl-en | TencentCloud/Vpc/V20170312/Models/EnableCcnRoutesResponse.cs | 1,393 | C# |
namespace EnvironmentAssessment.Common.VimApi
{
public class Description : DynamicData
{
protected string _label;
protected string _summary;
public string Label
{
get
{
return this._label;
}
set
{
this._label = value;
}
}
public string Summary
{
get
{
return this._sum... | 12.387097 | 45 | 0.606771 | [
"MIT"
] | octansIt/environmentassessment | EnvironmentAssessment.Wizard/Common/VimApi/D/Description.cs | 384 | C# |
using Epi.Web.Enter.Common.Message;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Epi.Web;
using Epi.Web.Enter.Common.ObjectMapping;
using Epi.Web.Enter.Common;
using Epi.Web.Enter.Common.DTO;
using Epi.Web.Enter.Common.Exception;
using System... | 34.298361 | 147 | 0.58178 | [
"Apache-2.0"
] | Epi-Info/Epi-Info-Cloud-Data-Capture | SurveyManagerInterface/EWEManagerServiceV2.cs | 10,463 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using VRM;
public class VRMFaceInitialize : MonoBehaviour
{
//[SerializeField] VRMFaceTracker VRMFace;
public void FaceInitialize(GameObject root)
{
var anim = root.GetComponent<Animator>();
var pro... | 26.777778 | 70 | 0.680498 | [
"Apache-2.0"
] | MeBuDA/VRMSelfieApp | Assets/Scripts/VRMModel/VRMFaceInitialize.cs | 484 | C# |
// This file contains auto-generated code.
namespace System
{
namespace Linq
{
// Generated from `System.Linq.Enumerable` in `System.Linq, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a`
public static class Enumerable
{
public static TResult Aggregate<TSou... | 159.647577 | 484 | 0.760017 | [
"MIT"
] | 01SMD/codeql | csharp/ql/test/resources/stubs/_frameworks/Microsoft.NETCore.App/System.Linq.cs | 36,240 | C# |
namespace Mafia2Tool
{
partial class PrefabEditor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 52.502058 | 164 | 0.629723 | [
"MIT"
] | farivarfarsiann/MafiaToolkit | Mafia2Libs/Forms/PrefabEditor.Designer.cs | 12,760 | C# |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Authorization.IdentityServer.Data.ApplicationDb
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "... | 42.304545 | 108 | 0.48845 | [
"Apache-2.0"
] | Calabonga/Authorization-Exercises | Exercises/Authorization.IdentityServer/Data/ApplicationDb/20200613075727_Initial.cs | 9,309 | C# |
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ClaimApplication.Models
{
public class EditUserViewModel
{
public string Id { get; set; }
public str... | 26.315789 | 60 | 0.682 | [
"MIT"
] | rafysanchez/ASP.NET-MVC--Angular-UIGrid-Paging | AuthenticationClaimBasedauthorizationwithIdentity/C#/src/ClaimApplication/Models/EditUserViewModel.cs | 502 | 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: AssemblyTi... | 38.621622 | 85 | 0.725682 | [
"MIT"
] | agilitix/SameAssemblySeveralVersions | ConsoleApp/Properties/AssemblyInfo.cs | 1,432 | C# |
using System.Collections.Generic;
using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.Payments.DataLocks.Domain.Models;
using SFA.DAS.Payments.DataLocks.Domain.Services.CourseValidation;
using SFA.DAS.Payments.Model.Core;
using SFA.DAS.Payments.Model.Core.Entities;
namespace SFA.DAS.Payments.DataLocks.Domain... | 33.777778 | 91 | 0.521382 | [
"MIT"
] | PJChamley/das-payments-V2 | src/SFA.DAS.Payments.DataLocks.Domain.UnitTests/Services/CourseValidation/FrameworkCodeValidatorTests.cs | 3,042 | C# |
using System;
using System.Security.Cryptography;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Numerics;
namespace LibOrbisPkg.Util
{
public static class Crypto
{
/// <summary>
/// From FPKG code:
/// a common function to generate a final key fo... | 32.506527 | 152 | 0.580884 | [
"Unlicense"
] | Mohamadaoda/DirectPackageInstaller | LibOrbisPkg/Util/Crypto.cs | 12,452 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace ODataValidator.RuleEngine
{
#region Namespaces
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
... | 40.422857 | 143 | 0.565027 | [
"MIT"
] | OData/ValidationTool | src/RuleEngine/VerifierFactory.cs | 7,074 | C# |
using Microsoft.Azure.ServiceBus;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using Pds.Contracts.ContractEventProcessor.Services.Interfaces;
using System;
using System.Threading.Tasks;
namespace Pds.Contracts.ContractEventProcessor.Func
{
/// <summary>
/// Example ServiceBus queue trig... | 47.066667 | 241 | 0.655453 | [
"MIT"
] | uk-gov-mirror/SkillsFundingAgency.pds-contracts-func-contract-processor | Pds.Contracts.ContractEventProcessor/Pds.Contracts.ContractEventProcessor.Func/ContractEventProcessorFunction.cs | 2,826 | C# |
#region License
// Copyright (c) 2009, ClearCanvas Inc.
// 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 must retain the above copyright not... | 41.755102 | 87 | 0.742424 | [
"Apache-2.0"
] | econmed/ImageServer20 | Ris/Application/Common/Admin/LocationAdmin/DeleteLocationRequest.cs | 2,048 | C# |
namespace Microsoft.Maui
{
/// <summary>
/// Represents a View that reacts to touch events.
/// </summary>
public interface IButton : IView, IText, IPadding
{
/// <summary>
/// Allows you to display a bitmap image on the Button.
/// </summary>
IImageSource? ImageSource { get; }
void ImageSourceLoaded()... | 19.580645 | 57 | 0.621087 | [
"MIT"
] | Abdesol/maui | src/Core/src/Core/IButton.cs | 607 | C# |
using System;
using Dapper;
using Npgsql;
namespace EventStoreBasics
{
public class EventStore: IDisposable, IEventStore
{
private readonly NpgsqlConnection databaseConnection;
public EventStore(NpgsqlConnection databaseConnection)
{
this.databaseConnection = databaseConnec... | 27.54386 | 136 | 0.563057 | [
"MIT"
] | tstuttard/EventSourcing.NetCore | Workshop/01-EventStoreBasics/02-CreateEventsTable/EventStore.cs | 1,570 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.