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 |
|---|---|---|---|---|---|---|---|---|
// %BANNERBEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHTBEGIN%
// <copyright file="MLLocation.cs" company="Magic Leap">
//
// Copyright (c) 2018-present, Magic Leap, Inc. All Rights Reserved.
//
// </copyright>
//
// %COPYRIGHTEND%
// -------------------------------------... | 42.531807 | 182 | 0.597009 | [
"Apache-2.0"
] | kedarshashi/UnityTemplate | Assets/MagicLeap/Lumin/Deprecated/MLIdentityProfile.cs | 16,715 | 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 "li... | 32.77193 | 111 | 0.655782 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/MediaConvert/Generated/Model/TeletextSourceSettings.cs | 1,868 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
using Infobip.Api.Config;
using Infobip.Api.Model.Omni.Send;
using System;
namespace Infobip.Api.Model.Omni.Send
{
/// <summary>
/// This is a generated class and is not intended for modification!
/// </summary>
public class PushData
{
... | 26.645161 | 71 | 0.664649 | [
"Apache-2.0"
] | MirzaAbazovic/infobip-api-csharp-client | InfobipClient/InfobipClientLib/Infobip/Api/Model/Omni/Send/PushData.cs | 826 | C# |
namespace RealArtists.ShipHub.Common.GitHub.Models.WebhookPayloads {
public class PullRequestReviewPayload {
public string Action { get; set; }
public Review Review { get; set; }
public PullRequest PullRequest { get; set; }
public Repository Repository { get; set; }
public Account Organization { ... | 34.363636 | 69 | 0.701058 | [
"MIT"
] | opsroller/shiphub-server | RealArtists.ShipHub.Common/GitHub/Models/WebhookPayloads/PullRequestReviewPayload.cs | 380 | C# |
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
namespace Coldairarrow.DataRepository
{
class BaseDbContext : DbContext
{
public BaseDbContext(DbConnection existingConnection, DbCompiledModel model)
: base(existingConnection, model, true)
... | 21.4375 | 84 | 0.696793 | [
"MIT"
] | shmilyin/Colder.Fx.Net.AdminLTE | src/Coldairarrow.DataRepository/DbContext/BaseDbContext.cs | 345 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core;
using Azure.Core.Pipeline;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Azure.Security.KeyVault.Keys
{
/// <summary>
/// The Key... | 57.474932 | 239 | 0.646408 | [
"MIT"
] | Violet26/azure-sdk-for-net | sdk/keyvault/Azure.Security.KeyVault.Keys/src/KeyClient.cs | 63,052 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace values_cs
{
class values_cs
{
//URL
public static string apiURL_clientAuth = "https://api.ggs-network.de/client/online";
public static string apiURL_clientConfi... | 36.714286 | 102 | 0.714656 | [
"Apache-2.0"
] | Good-Game-Services/vpn-client | Client/assets/values.cs | 773 | C# |
using System;
using Calitha.Common;
namespace Calitha.GoldParser
{
public enum SymbolType
{
None,
Eof,
Whitespace,
End,
CommentStart,
CommentEnd,
CommentLine,
Error
}
/// <summary>
/// Symbol implementation.
/// </summary>
public class Symbol
{
public static Symbol EOF = new Symbol(0, SymbolT... | 18.434783 | 63 | 0.643868 | [
"MIT"
] | jbosh/calculator | Calculator 3/Calitha/GoldParser/Symbol.cs | 1,272 | C# |
// Copyright (c) 2015 Alachisoft
//
// 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 t... | 30.420455 | 95 | 0.595816 | [
"Apache-2.0"
] | NCacheDev/NCache | Src/NCRuntime/Exceptions/ConfigurationException.cs | 2,677 | C# |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... | 60.54717 | 325 | 0.777189 | [
"Apache-2.0"
] | motoko89/aws-sdk-net-xamarin | sdk/src/Services/SimpleWorkflow/Properties/AssemblyInfo.cs | 3,209 | C# |
// CS1057: `B.E': Static classes cannot contain protected members
// Line: 6
public static class B
{
protected class E {}
}
| 15.75 | 65 | 0.698413 | [
"Apache-2.0"
] | 121468615/mono | mcs/errors/cs1057-2.cs | 126 | C# |
using Catalog.API.Data;
using Catalog.API.Entities;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Catalog.API.Repositories
{
public class ProductRepository: IProductRepository
{
private readonly ICatalogContext _context;
p... | 29.072289 | 106 | 0.581019 | [
"MIT"
] | simhamp/AspnetMicroservices | src/Services/Catalog/Catalog.API/Repositories/ProductRepository.cs | 2,415 | C# |
using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/menu/addconditional 接口的请求。</para>
/// </summary>
public class CgibinMenuAddConditionalRequest : WechatApiRequest
{
public static class Types
... | 35.637931 | 141 | 0.555878 | [
"MIT"
] | arden27336/DotNetCore.SKIT.FlurlHttpClient.Wechat | src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinMenu/Conditional/CgibinMenuAddConditionalRequest.cs | 2,183 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
namespace ShaneSpace.VisualStudio.InvisibleCharacterVisualizer
{
internal abstract class RegexTagger<T> : ITagger<T>
where ... | 38.225 | 120 | 0.576848 | [
"MIT"
] | shaneray/ShaneSpace.VisualStudio.InvisibleCharacterVisualizer | src/ShaneSpace.VisualStudio.InvisibleCharacterVisualizer/RegexTagger.cs | 4,589 | 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
*
... | 35.438017 | 95 | 0.615905 | [
"Apache-2.0"
] | TencentCloud/tencentcloud-sdk-dotnet | TencentCloud/Vod/V20180717/Models/CreateAIRecognitionTemplateRequest.cs | 4,690 | 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.ComponentModel;
using System.Linq;
using Microsoft.Toolkit.Uwp.UI.Extensions;
using Wind... | 38.273006 | 170 | 0.589324 | [
"MIT"
] | edparitor/Uno.WindowsCommunityToolkit | Microsoft.Toolkit.Uwp.UI.Controls/TabView/TabView.cs | 12,479 | C# |
using Newtonsoft.Json;
namespace TokenFunctionHelper.TokenStuff
{
public class TokenRequest
{
[JsonProperty("token")]
public string Token { get; set; }
[JsonProperty("rsaKey")]
public string RsaKey { get; set; }
[JsonProperty("issuer")]
public string Issuer { ge... | 24.588235 | 44 | 0.598086 | [
"MIT"
] | jakkaj/Presentation_NDCSydney2016 | src/DemoApi/src/TokenFunctionHelper/TokenStuff/TokenRequest.cs | 420 | C# |
using System;
using Android.App;
namespace DeepSound.Helpers.Model
{
public static class UserDetails
{
public static string AccessToken = string.Empty;
public static int UserId;
public static string Username = string.Empty;
public static string FullName = string.Empty... | 39.233333 | 166 | 0.579014 | [
"Unlicense"
] | CroccityJamz/Croccityjamz-android | Helpers/Model/UserDetails.cs | 2,356 | C# |
using System;
using System.Threading;
namespace LeanCode.Time
{
public sealed class FixedTimeProvider : ITimeProvider
{
private static readonly FixedTimeProvider SharedInstance = new FixedTimeProvider();
private readonly AsyncLocal<DateTimeOffset> savedTime = new AsyncLocal<DateTimeOffset>();
... | 35.672414 | 117 | 0.60899 | [
"Apache-2.0"
] | leancodepl/corelibrary | src/Domain/LeanCode.TimeProvider/FixedTimeProvider.cs | 2,069 | C# |
namespace FortniteReplayReader.Core.Models
{
public static class ReplayEventTypes
{
public const string PLAYER_ELIMINATION = "playerElim";
public const string MATCH_STATS = "AthenaMatchStats";
public const string TEAM_STATS = "AthenaMatchTeamStats";
public const string ENCRYPTION... | 42.153846 | 72 | 0.720803 | [
"MIT"
] | Chenglei-dev/FortniteReplayReader | src/FortniteReplayReader.Core/Models/Enums/ReplayEventTypes.cs | 548 | C# |
/*
License: The MIT License (MIT)
Copyright (c) 2011 CslaGenFork project.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to us... | 43.432432 | 129 | 0.586808 | [
"MIT"
] | CslaGenFork/CslaGenFork | tags/Rules sample v.1.0.0.0/CslaGenFork.Rules-4.1.0/Business Rules/NoDuplicates.cs | 4,823 | C# |
namespace Primavera.Platform.Geolocation
{
partial class TabMapCustomers
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// ... | 33.365385 | 119 | 0.588473 | [
"MIT"
] | Everest89/ERP10Extensibility | Implementation/GeolocationExtension/UserControls/TabMapCustomers.Designer.cs | 1,739 | C# |
using System;
using System.IO;
using Nikki.Core;
using Nikki.Utils;
using Nikki.Reflection.Enum;
using Nikki.Reflection.Exception;
using Nikki.Support.Carbon.Class;
using CoreExtensions.IO;
namespace Nikki.Support.Carbon.Framework
{
/// <summary>
/// A <see cref="Manager{T}"/> for <see cref="PresetSkin"/> collect... | 24.146825 | 108 | 0.654725 | [
"MIT"
] | SpeedReflect/Nikki | Nikki/Support.Carbon/Framework/PresetSkinManager.cs | 6,087 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | 38.831683 | 99 | 0.614227 | [
"MIT"
] | DeltaDizzy/LaserLumia | src/LaserLumia/LaserLumia/App.xaml.cs | 3,924 | C# |
using System.Collections.Generic;
using System.Linq;
using NewsPlus.Api.Controllers;
namespace NewsPlus.Api.Models
{
public class NewsRepository : INewsRepository
{
private readonly ApplicationDbContext _applicationDbContext;
public NewsRepository()
{
_applicationDbContext... | 27.290323 | 71 | 0.548463 | [
"MIT"
] | akachaik/newsplus | NewsPlus.Api/Models/NewsRepository.cs | 848 | C# |
using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Diagnostics;
namespace Gecko.Interop
{
/// <summary>
/// COM pointer wrapper
/// SHOULD be used for temporal variables
/// </summary>
/// <typeparam name="T"></typeparam>
internal class ComPtr<T>
:... | 28.808917 | 112 | 0.529516 | [
"MIT"
] | haga-rak/Freezer | Freezer/GeckoFX/__Core/Interop/ComPtr.cs | 4,525 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace LinCms.Web.Data
{
public class SwaggerFileHeaderPa... | 35.484375 | 142 | 0.524879 | [
"MIT"
] | crazyants/lin-cms-dotnetcore | src/LinCms.Web/Data/SwaggerFileHeaderParameter.cs | 2,281 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace InventoryManagementSystemAPI.Models
{
public class ImageModel
{
[Key]
public int Id { get; set; }
[Required]
public string Im... | 21.04 | 47 | 0.634981 | [
"MIT"
] | Celestialy/Lagersystem-Vue-Preview | InventoryManagementSystemAPI/Models/ImageModel.cs | 528 | C# |
// Copyright (c) KhooverSoft. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Khoo... | 24.333333 | 111 | 0.716438 | [
"MIT"
] | khoover768/Toolbox | Src/Dev/Khooversoft.Toolbox/Tools/StateManager/IStateManager.cs | 732 | C# |
using Microsoft.AspNetCore.Identity;
namespace Altairis.AskMe.Data.Base.Objects {
public class ApplicationUser : IdentityUser<int> {
}
}
| 21 | 54 | 0.748299 | [
"MIT"
] | Olbrasoft/AskMe | src/Altairis.AskMe.Data/Base/Objects/ApplicationUser.cs | 149 | C# |
#nullable enable
using System;
using Content.Shared.Alert;
using Content.Shared.GameObjects.Components.Mobs;
using Content.Shared.GameObjects.EntitySystems;
using Content.Shared.Physics;
using Content.Shared.Physics.Pull;
using Robust.Shared.Containers;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.... | 30.785311 | 252 | 0.49376 | [
"MIT"
] | BananaFlambe/space-station-14 | Content.Shared/GameObjects/Components/Pulling/SharedPullableComponent.cs | 10,900 | 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("Au... | 38.783784 | 84 | 0.751916 | [
"MIT"
] | amarant/AutoFixture | Src/AutoRhinoMockUnitTest/Properties/AssemblyInfo.cs | 1,438 | C# |
// Copyright (c) Dapplo and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Newtonsoft.Json;
namespace Dapplo.Jira.Entities
{
/// <summary>
/// StatusCategory information
/// </summary>
[JsonObject]
... | 26.333333 | 101 | 0.565017 | [
"MIT"
] | dapplo/Dapplo.Jira | src/Dapplo.Jira/Entities/StatusCategory.cs | 871 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace AnyClone.Tests.TestObjects
{
public enum TestEnum
{
Test1 = 1,
Test2 = 2,
Test3 = 3
}
}
| 14.5 | 36 | 0.610837 | [
"Unlicense"
] | PrimusStudios/blazor-state | Tests/TestApp/Client/TestObjects/TestEnum.cs | 205 | C# |
namespace PathFinderServer.Abilities
{
internal class Dexterity : Ability
{
public override Abilities Type
{
get { return Abilities.Dexterity; }
}
}
} | 19.9 | 47 | 0.58794 | [
"MIT"
] | joefroh/PathfinderTool | PathfinderServer/PathFinderServer/Abilities/Dexterity.cs | 201 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MvcMovie.Models
{
public class Movie
{
public int Id { get; set; }
[StringLength(60, MinimumLength = 3)]
public string Title { get; set; }
[Display(Name = ... | 29.962963 | 83 | 0.605686 | [
"MIT"
] | cynicalcynic/aia | MvcMovie/Models/Movie.cs | 811 | C# |
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
using FairyGUI;
using FairyGUI.Utils;
namespace GamingUI
{
public partial class View_effect_frozen: GComponent
{
public Transition t0;
public const string URL = "ui://dpc3yd4tmrrjf4";
public static ... | 25.24 | 92 | 0.637084 | [
"MIT"
] | Noname-Studio/ET | Unity/Assets/Scripts/Client/UI/View/GamingUI/View_effect_frozen.cs | 631 | C# |
using DurableLoans.LoanProcess.Models;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
using Microsoft.Azure.WebJobs.Extensions.SignalRService;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
namespace DurableLoans.LoanProcess
{
public st... | 39.44898 | 208 | 0.628039 | [
"MIT"
] | bradygaster/DurableLoanProcess | DurableLoans.LoanProcess/Functions/Agencies.cs | 1,933 | 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.... | 37.621622 | 84 | 0.744971 | [
"MIT"
] | spiderbait90/Step-By-Step-In-C-Sharp | Programming Fundamentals/Exams Practice/02. Ladybugs/Properties/AssemblyInfo.cs | 1,395 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace DM.DZ1
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
... | 22.727273 | 62 | 0.584 | [
"MIT"
] | lukacvetkovic/DM.DZ1 | DM.DZ1/App_Start/WebApiConfig.cs | 502 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using... | 35.990991 | 125 | 0.618023 | [
"MIT"
] | ovidiaconescu/saaskit | samples/AspNetMvcSample/Startup.cs | 3,997 | C# |
using System;
using System.Collections.Generic;
namespace WpfApp2.ChainOfResp
{
private List<Criteria> criterias;
private Filter next;
public class DurationFilter : Filter
{
public Filter SetNext(Filter filter)
{
this.next = filter;
}
public List<Object> fil... | 21.48 | 67 | 0.612663 | [
"MIT"
] | metidjisidahmed/EsiCOS-SourceCode-Software-Redesign | Noyau/ChainOfResp/DurationFilter.cs | 537 | C# |
using Assertion;
using Lemonad.ErrorHandling.Extensions;
using Xunit;
namespace Lemonad.ErrorHandling.Unit.Result.Tests {
public class ToResultTests {
[Fact]
public void Create_Result_From_Value_With_False_Predicate() {
var predicateExecuted = false;
var errorSelectorExecut... | 36.471698 | 103 | 0.551992 | [
"MIT"
] | inputfalken/Lemonad | test/Lemonad.ErrorHandling.Unit/Result.Tests/ToResultTests.cs | 1,935 | 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("Swa... | 37.837838 | 84 | 0.749286 | [
"MIT"
] | mover5/SwaggerGenerator | SwaggerGenerator/Properties/AssemblyInfo.cs | 1,403 | 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... | 35.611765 | 135 | 0.675586 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/CodeStarNotifications/Generated/Model/Internal/MarshallTransformations/LimitExceededExceptionUnmarshaller.cs | 3,027 | C# |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Abp.Authorization;
using Abp.Domain.Repositories;
using Abp.Extensions;
using Abp.IdentityFramework;
using Abp.MultiTenancy;
using Abp.Runtime.Security;
using M... | 39.330508 | 149 | 0.659987 | [
"MIT"
] | tigeryzx/MediaShare | aspnet-core/src/MediaShare.Application/MultiTenancy/TenantAppService.cs | 4,641 | 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... | 24.44186 | 81 | 0.576594 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/Latest/Outputs/ExpressRouteCircuitSkuResponse.cs | 1,051 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using CoreGraphics;
using Foundation;
using UIKit;
using Firebase.Auth;
using Firebase.CloudFirestore;
namespace CloudFirestoreSample
{
public partial class FoldersTableViewControl... | 32.14554 | 209 | 0.706295 | [
"MIT"
] | DigitallyImported/GoogleApisForiOSComponents | samples/Firebase/CloudFirestore/CloudFirestoreSample/Controllers/FoldersTableViewController.cs | 13,702 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using static Albot.Snake.SnakeStructs;
using static Albot.Snake.SnakeConstants;
using static Albot.Constants;
namespace Albot.Snake {
internal static class SnakeJsonHandler {
private st... | 41.141593 | 119 | 0.63519 | [
"MIT"
] | Albot-Online/Albot-CSharp-Library | Albot/Snake/SnakeJsonHandler.cs | 4,651 | C# |
using System.Drawing;
using System.IO;
namespace ControlLibrary
{
public class Tags
{
public static Image GetMetaImage(string MusicPath)
{
TagLib.File f = new TagLib.Mpeg.AudioFile(MusicPath);
var pic = f.Tag.Pictures[0];
using (var ms = new MemoryStream(pic... | 21.857143 | 65 | 0.535948 | [
"MIT"
] | MalauD/Musics-Free-musics-player | ControlLibrary/MusicUtils/Tags.cs | 459 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Numerics;
using Windows.UI;
using Windows.UI.Composition;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Hosting;
namespace VanArsdel
{
public sealed partial class Shadow : U... | 32.611429 | 224 | 0.593306 | [
"MIT"
] | Bhaskers-Blu-Org2/VanArsdel | VanArsdel/Controls/Shadow.xaml.cs | 5,709 | C# |
using Microsoft.EntityFrameworkCore;
using CarvedRock.Api.Models;
namespace CarvedRock.Api.Data
{
public class CarvedRockContext : DbContext
{
public CarvedRockContext(DbContextOptions<CarvedRockContext> options)
: base(options)
{
}
public DbSet<Wishlis... | 22.625 | 77 | 0.651934 | [
"Unlicense"
] | urlichLivonian/azure-b2c-samples | m4/CarvedRock.Api/Data/CarvedRockContext.cs | 362 | C# |
namespace Dxw.Throttling.Asp.Keyers
{
using System.Net.Http;
using Core.Keyers;
using Core;
using Core.Logging;
using Core.Configuration;
using System.Xml;
public class URIMethodKeyer : IKeyer<IAspArgs>, IXmlConfigurable
{
private ILog _log;
public object GetKey(IAspA... | 24.642857 | 107 | 0.608696 | [
"MIT"
] | dlatushkin/Dxw.Throttling | Source/Projects/Dxw.Throttling.Asp/Keyers/URIMethodKeyer.cs | 692 | C# |
#region License
/*
The MIT License
Copyright (c) 2008 Sky Morey
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy... | 36.882353 | 78 | 0.76555 | [
"MIT"
] | Grimace1975/bclcontrib-web | System.WebEx/Web+Activation/IActivationMethodAttribute.cs | 1,256 | C# |
namespace Incoding.Data
{
#region << Using >>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Incoding.Extensions;
#endregion
public abstract class AdHocFetchSpecificationBase<TEntity>
{
#region Fields
inter... | 41.75641 | 257 | 0.6856 | [
"Apache-2.0"
] | Incoding-Software/Incoding-Framework | src/Incoding/Data/Core/Specifications/Fetch/AdHocFetchSpecificationBase.cs | 3,259 | C# |
using Document.Library.Entity;
using Document.Library.Entity.Exceptions;
using Document.Library.Globals;
using Document.Library.Globals.Enum;
using Document.Library.Repo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Document.Library.Serv... | 29.179487 | 135 | 0.588752 | [
"MIT"
] | Shivam4415/RudderStack-assignment-GarmentStore | Document.Library.ServiceLayer/UserServices.cs | 2,278 | C# |
using System.Runtime.CompilerServices;
namespace Farmhash.Sharp.Benchmarks
{
/// <summary>
/// Taken from https://github.com/ravendb/ravendb/blob/b87a422e91dcf7d4590bad631c9266258be7cab3/Raven.Sparrow/Sparrow/Hashing.cs
/// </summary>
class SparrowHashing
{
/// <summary>
/// A port... | 35.426295 | 144 | 0.394962 | [
"MIT"
] | alexandre-lecoq/Farmhash.Sharp | Farmhash.Sharp.Benchmarks/SparrowHashing.cs | 8,894 | C# |
/**
* The MIT License (MIT)
*
* Copyright (c) 2012-2017 DragonBones team and other contributors
*
* 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... | 36.461957 | 143 | 0.493069 | [
"Apache-2.0"
] | zfiona/client | Assets/3rdParty/DragonBonesCSharp-master/Unity/src/DragonBones/Editor/AssetProcess.cs | 6,711 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using static Microsoft.CodeAnalysis.C... | 44.125461 | 309 | 0.753805 | [
"Apache-2.0"
] | sgjsakura/SignalRHubProxyGenerator | Sakura.AspNetCore.SignalR.HubProxyGenerators/Sakura.AspNetCore.SignalR.HubProxyGenerators/SyntaxHelper.cs | 11,960 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.W... | 47.222973 | 229 | 0.586588 | [
"MIT"
] | livingston12/contenedor-app-API | Contenedor_WebApi/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs | 20,967 | 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... | 36.809524 | 165 | 0.664942 | [
"Apache-2.0"
] | ermshiperete/aws-sdk-net | AWSSDK_DotNet35/Amazon.DirectConnect/Model/Internal/MarshallTransformations/DescribeVirtualInterfacesRequestMarshaller.cs | 3,092 | 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("Me... | 38.081081 | 84 | 0.745919 | [
"MIT"
] | tarik-s/Basis | SandBoxes/Basis.SandBox/Properties/AssemblyInfo.cs | 1,412 | C# |
namespace system.runtime.compilerservices {
public static class VoidHelper
{
// this helper class assists in casting a Span<T> to an IntPtr.
// this is accomplished by caching a reference to the target object
// and returning the table key id as an IntPtr, which may then be
//... | 38.573034 | 95 | 0.542674 | [
"MIT"
] | spaceflint7/bluebonnet | Baselib/src/System/Runtime/VoidHelper.cs | 3,433 | C# |
namespace SurveySystem.Data.Common.Models
{
using System;
public interface IDeletableEntity
{
bool IsDeleted { get; set; }
DateTime? DeletedOn { get; set; }
}
}
| 16.333333 | 42 | 0.617347 | [
"MIT"
] | viktorrr/SurveySystem | Data/SurveySystem.Data.Common/Models/IDeletableEntity.cs | 198 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
Script que contiene las funciones para cambiar entre preguntas.
Autor: Luis Ignacio Ferro Salinas A01387248
Última actualización: 27 de abril de 2021.
*/
public class BotonContinuarIndustrial : MonoBehaviour
{
// Start is calle... | 16.241379 | 63 | 0.685775 | [
"Apache-2.0"
] | JoanDGG/Proyecto-Marte | Assets/Scripts/scriptsIndustrial/ScriptsPreguntas/BotonContinuarIndustrial.cs | 473 | C# |
using System;
using System.Collections;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace TestFu.Operations
{
public class UniformPairWizeProductDomainTupleEnumerable : ITupleEnumerable
{
private IDomainCollection domains;
public UniformPairWizeProduc... | 32.710784 | 116 | 0.402368 | [
"ECL-2.0",
"Apache-2.0"
] | Gallio/mbunit-v2 | src/mbunit/TestFu/Operations/UniformPairWizeProductDomainTupleEnumerable.cs | 6,675 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace Project
{
class Program
{
public static event Func<int, Task> a;
static void Main(string[] args)
{
a += Program_a;
NatashaInitializer.I... | 27.59375 | 70 | 0.492072 | [
"MIT"
] | night-moon-studio/DynamicDictionary | samples/Project/Program.cs | 1,768 | 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 t... | 31.323077 | 87 | 0.605108 | [
"MIT"
] | easykeys/EasyKeys.Google.GData | src/EasyKeys.Google.GData.ContentForShopping/elements/permission.cs | 2,038 | C# |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: ant.merchant.expand.assetinfo.delivery.sync
/// </summary>
public class AntMerchantExpandAssetinfoDeliverySyncRequest : IAopRequest<AntMerchantExpandAsset... | 23.918182 | 124 | 0.610414 | [
"Apache-2.0"
] | Varorbc/alipay-sdk-net-all | AlipaySDKNet/Request/AntMerchantExpandAssetinfoDeliverySyncRequest.cs | 2,651 | C# |
using System;
namespace LedDashboardCore
{
public interface LightController : IDisposable
{
public bool Enabled { get; set; }
//public void SendData(int ledCount, byte[] data, LightingMode mode);
public void SendData(LEDFrame data);
}
}
| 21.230769 | 77 | 0.663043 | [
"Apache-2.0"
] | Akumass/leagueoflegends-led | LedDashboardCore/LightController.cs | 278 | C# |
using CustomUI.BeatSaber;
using CustomUI.Utilities;
using IPA.Loader;
using IPA.Loader.Features;
using IPA.Old;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace BSIPA_ModList.UI.ViewControllers
{
internal interface ICl... | 34.795775 | 190 | 0.581967 | [
"MIT"
] | VSeryi/BeatSaber-IPA-Reloaded | BSIPA-ModList/UI/ViewControllers/ModCells.cs | 9,884 | C# |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
/// <summary>
/// OapiEduMainDataGetResponse.
/// </summary>
public class OapiEduMainDataGetResponse : DingTalkResponse
{
/// <summary>
/// 错误码
//... | 27.362791 | 78 | 0.521673 | [
"MIT"
] | lee890720/YiShaAdmin | YiSha.Util/YsSha.Dingtalk/DingTalk/Response/OapiEduMainDataGetResponse.cs | 6,367 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pacer : MonoBehaviour {
public float speed = 2.5f; //speed of the ball
private float zMax = 7.5f;
private float zMin = -7.5f; //starting position
private int direction = 1; // positive to start
// Updat... | 23.129032 | 79 | 0.566248 | [
"MIT"
] | nitrogendragon/roll-da-bally | Assets/Scripts/Pacer.cs | 719 | C# |
using System.Collections.Generic;
using Unity.UIWidgets.async;
using Unity.UIWidgets.editor;
using Unity.UIWidgets.external.simplejson;
using Unity.UIWidgets.foundation;
using Unity.UIWidgets.ui;
using Unity.UIWidgets.widgets;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using RawI... | 38.364286 | 135 | 0.574009 | [
"Apache-2.0"
] | Luciano-0/2048-Demo | Library/PackageCache/com.unity.uiwidgets@1.5.4-preview.12/Runtime/engine/UIWidgetsPanel.cs | 16,113 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using stellar_dotnet_sdk.responses.operations;
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Newtonsoft.Json;
using stellar_dotnet_sdk.responses;
namespace stellar_dotnet_sdk_test.responses
{
[TestClass]
public cla... | 37.915254 | 92 | 0.644613 | [
"Apache-2.0"
] | alphapoint/dotnet-stellar-sdk | stellar-dotnet-sdk-test/responses/OperationFeeStatsDeserializerTest.cs | 2,239 | C# |
using System.Runtime.CompilerServices;
using Windows.UI.Xaml.Controls;
namespace Uno.UI;
internal static class MenuBar_737b513acf107ddd62b115a6fa290d25XamlApplyExtensions
{
public delegate void XamlApplyHandler0(ItemsControl instance);
public delegate void XamlApplyHandler1(Grid instance);
public delegate void X... | 29.714286 | 133 | 0.841346 | [
"MIT"
] | ljcollins25/Codeground | src/UnoApp/UnoDecompile/Uno.UI/Uno.UI/MenuBar_737b513acf107ddd62b115.cs | 1,040 | 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.
namespace Microsoft.AspNetCore.Mvc.Filters
{
internal readonly struct FilterFactoryResult
{
public FilterFactoryResult(FilterItem[] cac... | 30.315789 | 111 | 0.680556 | [
"Apache-2.0"
] | belav/aspnetcore | src/Mvc/Mvc.Core/src/Filters/FilterFactoryResult.cs | 578 | C# |
using System;
namespace UnrealEngine
{
public partial class UNavPathObserverInterface:UInterface
{
}
}
| 11.1 | 58 | 0.765766 | [
"MIT"
] | xiongfang/UnrealCS | Script/UnrealEngine/GeneratedScriptFile/UNavPathObserverInterface.cs | 111 | C# |
// Copyright (c) Amer Koleci and contributors.
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
using SharpGen.Runtime;
namespace Vortice.XAudio2
{
[Shadow(typeof(IXAudio2VoiceCallbackShadow))]
public parti... | 47.46 | 722 | 0.65276 | [
"MIT"
] | DanielElam/Vortice.Windows | src/Vortice.XAudio2/IXAudio2VoiceCallback.cs | 7,119 | C# |
/*
* FactSet Overview Report Builder API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;... | 35.846491 | 160 | 0.595497 | [
"Apache-2.0"
] | factset/enterprise-sdk | code/dotnet/OverviewReportBuilder/v1/src/FactSet.SDK.OverviewReportBuilder/Model/DataPointMeta.cs | 8,173 | C# |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
public abstract class ExecutablePart<P> : Part<P>, IExecutablePart<P>
w... | 36.066667 | 79 | 0.415896 | [
"BSD-3-Clause"
] | 0xCM/z0 | src/workflow/src/wf.shell/abstractions/ExecutablePart.cs | 541 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Repository;
using Repository.Seed;
using System;
using System.Threading.Tasks;
namespace API
{
public class Program
... | 32.822222 | 86 | 0.574137 | [
"MIT"
] | sofire07/skinet-backend | API/Program.cs | 1,477 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace BlankApp1.Services
{
public interface IChatDataStore : IDataStore<Chat>
{
Task<IEnumerable<Chat>> GetChatsAsync();
}
}
| 19.545455 | 54 | 0.72093 | [
"MIT"
] | silvajnr/PrismTabbedDbContext | BlankApp1/BlankApp1/BlankApp1/Services/IChatDataStore.cs | 217 | C# |
version https://git-lfs.github.com/spec/v1
oid sha256:c69635935108225fdef17a59ae6e3610f1a4d7e424f14c7b6780e0ea0993336d
size 2318
| 32.25 | 75 | 0.883721 | [
"MIT"
] | bakiya-sefer/bakiya-sefer | Assets/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/ec/custom/sec/SecP192K1Curve.cs | 129 | C# |
using System;
using System.Runtime.Serialization;
using PlatHak.Common.Maths;
namespace PlatHak.Common.World
{
public class WorldConfig
{
/// <summary>
/// A default world config that is setup for the entire world.
/// </summary>
public static readonly WorldConfig Default ... | 44.606061 | 192 | 0.654721 | [
"CC0-1.0"
] | coman3/PlatHak | PlatHak/PlatHak.Common/World/WorldConfig.cs | 5,890 | C# |
using Unosquare.PocoData.Tests.DataModels;
using AutoFixture;
using Xunit;
using FluentAssertions;
using System.Linq;
namespace Unosquare.PocoData.Tests
{
public class InsertTest : DbTest
{
public InsertTest() : base(QueryFactory.CreateEmployeeTable)
{
}
[Fact]
public ... | 28.022989 | 81 | 0.559475 | [
"MIT"
] | unosquare/pocodata | Unosquare.PocoData.Tests/InsertTest.cs | 2,440 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq.Expressions;
using System.Threading.Tasks;
using AntDesign.Forms;
using AntDesign.Internal;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
namespace AntDesign
{
/// <summary>
/// ... | 36.100295 | 154 | 0.55581 | [
"MIT"
] | Banyc/ant-design-blazor | components/core/Base/AntInputComponentBase.cs | 12,240 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
using AsyncGenerator.Analyzation;
using AsyncGenerator.Core;
using AsyncGenerator.TestCases;
using AsyncGenerator.Tests.MethodReferences.Input;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
namespace Asyn... | 29 | 125 | 0.740053 | [
"MIT"
] | bubdm/AsyncGenerator | Source/AsyncGenerator.Tests/MethodReferences/Fixture.cs | 1,133 | C# |
namespace Lifx
{
// Represents a color comprised of hue and saturation.
public struct Color
{
public Color(Hue hue, Percentage saturation)
{
Hue = hue;
Saturation = saturation;
}
public static Color None { get; } = White;
public static Color White { get; } = new Color(0, 0);
public static Color ... | 29.483871 | 58 | 0.643326 | [
"BSD-3-Clause"
] | OllieDay/Lifx | Lifx/Color.cs | 916 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Linq;
using System.Text.Json;
using BlazorGameTemplate.Server.Extensions;
using BlazorGameTemplate.Server.Repository;
using BlazorGameTemplate.Shared;
namespace BlazorGameTemplate.Server.Controllers
{
[Route("api/[controller]")]
... | 37.292308 | 193 | 0.659653 | [
"MIT"
] | JustinWilkinson/BlazorGameTemplate | Server/Controllers/GameController.cs | 2,426 | C# |
//---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 2020 October 09 04:48:46 UTC
// </auto-generated>
//--------------... | 39.211538 | 103 | 0.611084 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/runtime/string_tmpBufStructOf(array(byte)).cs | 2,039 | C# |
using MYDIPLOMA.Interface;
using MYDIPLOMA.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Xml.Linq;
namespace MYDIPLOMA.DataInterpretor
{
public class TableRelationShips : SelectorInterface, ICloneabl... | 29.391304 | 335 | 0.494486 | [
"MIT"
] | ademvelika/AReport | MYDIPLOMA/MYDIPLOMA/DataInterpretor/TableRelationShips.cs | 7,438 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.InputSystem;
public class Controls : MonoBehaviour
{
[HideInInspector]
public UnityEvent keyboard_w;
[HideInInspector]
public UnityEvent keyboard_w_up;
[HideInInspector]
p... | 24.511864 | 208 | 0.588577 | [
"Unlicense"
] | albertllopart/Warpolis-TFG-Unity | Assets/Scripts/Gameplay/Controls.cs | 7,237 | C# |
using System.Data.Common;
using Microsoft.EntityFrameworkCore;
namespace TakTikan.Tailor.EntityFrameworkCore
{
public static class TailorDbContextConfigurer
{
public static void Configure(DbContextOptionsBuilder<TailorDbContext> builder, string connectionString)
{
builder.UseSqlSer... | 29.944444 | 111 | 0.716141 | [
"MIT"
] | vahidsaberi/TakTikan-Tailor | aspnet-core/src/TakTikan.Tailor.EntityFrameworkCore/EntityFrameworkCore/TailorDbContextConfigurer.cs | 541 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | 36.716738 | 133 | 0.52858 | [
"MIT"
] | alexisbssn/squidex | src/Squidex/Areas/IdentityServer/Config/LazyClientStore.cs | 8,558 | C# |
using System;
using TencentSDK.Exmail.Apis;
using TencentSDK.Exmail.Common;
namespace TencentSDK.Exmail
{
/// <summary>
/// 腾讯企业邮箱API客户端类
/// </summary>
public class TencentExmailApiClient : ApiClientBase
{
/// <summary>
/// 成员管理接口
/// </summary>
public UserApi User... | 24.947368 | 96 | 0.517581 | [
"Apache-2.0"
] | arbing/WeixinSDK | src/TencentSDK.Exmail/TencentExmailApiClient.cs | 1,520 | C# |
using System;
using ElectionGuard.Encryption.Tests.Utils;
using NUnit.Framework;
namespace ElectionGuard.Encrypt.Tests
{
[TestFixture]
public class TestEncrypt
{
readonly string manifest_json = "{\"ballot_styles\":[{\"geopolitical_unit_ids\":[\"some-geopoltical-unit-id\"],\"object_id\":\"some-ball... | 58.595238 | 1,699 | 0.636327 | [
"MIT"
] | Jayita10/electionguard-cpp | bindings/netstandard/ElectionGuard/ElectionGuard.Encryption.Tests/TestEncrypt.cs | 4,924 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SemVer;
using NanoFabric.Core;
namespace NanoFabric.AspNetCore.Tests
{
public class InMemoryRegistryHost : Core.IRegistryHost
{
private readonly List<Core.RegistryInformation> _serviceInstances = ne... | 37.75 | 201 | 0.605426 | [
"MIT"
] | AndrewChien/NanoFabric | test/NanoFabric.AspNetCore.Tests/InMemoryRegistryHost.cs | 4,683 | C# |
using FluentMigrator.Runner.Generators.DB2;
using NUnit.Framework;
using NUnit.Should;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FluentMigrator.Tests.Unit.Generators.Db2
{
[TestFixture]
public class Db2DataTests : BaseDataTests
{
protected Db2G... | 37.475309 | 172 | 0.639433 | [
"Apache-2.0"
] | BartDM/fluentmigrator | src/FluentMigrator.Tests/Unit/Generators/Db2/Db2DataTests.cs | 6,073 | C# |
using System;
namespace ObviousCode.Alchemy.Creatures.DecisionProcessing
{
public class AdditionOperator : OperatorValue
{
public override decimal GetValue ()
{
return Stack.Pop ().GetValue () + Stack.Pop ().GetValue ();
}
public override OperatorValue CreateNew ()
{
return new AdditionOperator ();... | 18.692308 | 62 | 0.635802 | [
"MIT"
] | lagerdalek/alchemy | ObviousCode.Alchemy.Creatures/ObviousCode.Alchemy.Creatures.DecisionProcessing/Operators/AdditionOperator.cs | 488 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.