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 |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Tests for the ProjectTaskOutputPropertyInstanceTests class.</su... | 37.83871 | 109 | 0.559676 | [
"MIT"
] | OmniSharp/msbuild | src/XMakeBuildEngine/UnitTestsPublicOM/Instance/ProjectTaskOutputPropertyInstance_Tests.cs | 2,285 | C# |
using AutoMapper;
using InTheWoods.ActionFilters;
using InTheWoods.Contracts;
using InTheWoods.Data;
using InTheWoods.DataTransferObjects;
using InTheWoods.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Ta... | 33.890625 | 152 | 0.655141 | [
"MIT"
] | Mr-Nelson/IntoTheWoods-Capstone | InTheWoods/Controllers/AuthenticationController.cs | 2,171 | C# |
using Xamarin.Forms.Controls.GalleryPages.CollectionViewGalleries.CarouselViewGalleries;
using Xamarin.Forms.Controls.GalleryPages.CollectionViewGalleries.EmptyViewGalleries;
using Xamarin.Forms.Controls.GalleryPages.CollectionViewGalleries.GroupingGalleries;
using Xamarin.Forms.Controls.GalleryPages.CollectionViewGal... | 57.590909 | 126 | 0.771902 | [
"MIT"
] | 07101994/Xamarin.Forms | Xamarin.Forms.Controls/GalleryPages/CollectionViewGalleries/CollectionViewGallery.cs | 2,534 | C# |
using UnityEngine;
using UnityEditor;
public class Test9SlicedMesh : Editor
{
[MenuItem("Edit/NGTools/Make 9-sliced mesh")]
static void Make9SlicedMesh()
{
GameObject go = new GameObject("9sliced");
MeshFilter meshFilter = go.AddComponent<MeshFilter>();
go.AddComponent<MeshRenderer>... | 25.866667 | 62 | 0.680412 | [
"MIT"
] | Naphier/NGTools | Assets/NGTools/IntegrationTests/Editor/Test9SlicedMesh.cs | 388 | C# |
version https://git-lfs.github.com/spec/v1
oid sha256:2858f53bf727a23e8679185664bcdb7777087758b565e4ec82cc7b77f149d077
size 808
| 32 | 75 | 0.882813 | [
"MIT"
] | Vakuzar/Multithreaded-Blood-Sim | Blood/Library/PackageCache/com.unity.render-pipelines.universal@8.1.0/Editor/2D/ShapeEditor/GUIFramework/LayoutData.cs | 128 | C# |
/* _BEGIN_TEMPLATE_
{
"id": "DRG_650",
"name": [
"无敌巨龙迦拉克隆",
"Galakrond, the Unbreakable"
],
"text": [
"<b>战吼:</b>抽一张随从牌,使其获得+4/+4。<i>(",
"[x]<b>Battlecry:</b> Draw 1 minion.\nGive it +4/+4.\n<i>("
],
"cardClass": "WARRIOR",
"type": "HERO",
"cost": 7,
"rarity": "LEGENDARY",
"set": "D... | 21.482759 | 75 | 0.545746 | [
"MIT"
] | chi-rei-den/Silverfish | cards/DRAGONS/DRG/Sim_DRG_650.cs | 721 | C# |
using System.Collections.Generic;
using Gear.Domain.PmEntities.Enums;
using Gear.ProjectManagement.Manager.Domain.Projects.Queries.GetProjectListByGroup;
using MediatR;
namespace Gear.ProjectManagement.Manager.Domain.Projects.Queries.GetProjectListByStatus
{
public class GetProjectListByStatusQuery : IRequest<Pro... | 31.066667 | 87 | 0.781116 | [
"MIT"
] | indrivo/bizon360_pm | IndrivoPM/Gear.ProjectManagement.Application/Domain/Projects/Queries/GetProjectListByStatus/GetProjectListByStatusQuery.cs | 468 | C# |
// -----------------------------------------------------------------------------------------
// <copyright file="BlobCancellationUnitTests.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except... | 40.462963 | 150 | 0.554539 | [
"Apache-2.0"
] | Meertman/azure-storage-net | Test/WindowsRuntime/Blob/BlobCancellationUnitTests.cs | 6,557 | C# |
/****
* Exyzer
* Copyright (C) 2020-2021 Yigty.ORG; all rights reserved.
* Copyright (C) 2020-2021 Takym.
*
* distributed under the MIT License.
****/
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosti... | 24.244444 | 74 | 0.691109 | [
"MIT"
] | Takym/Exyzer | src/Exyzer.Apps.Web.Server/Startup.cs | 1,047 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Samples.Controls;
using Xamarin.Forms;
using Xamarin.F... | 32.899083 | 109 | 0.557864 | [
"MIT"
] | GeorGeWzw/XamarinForms-Samples | Code/Samples/Samples.Android/Renderer/VideoPlayerRenderer.cs | 7,174 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Diagnostics;
using CalculatorApp;
using CalculatorApp.Controls;
using Windows.Foundation;
using Windows.Devices.Input;
using Window... | 36.042169 | 162 | 0.54471 | [
"MIT"
] | Flre-fly/calculator | src/Calculator/Controls/OperatorPanelListView.cs | 5,983 | C# |
namespace EnoCore.Models
{
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// PK: FlagServiceId, sf.FlagRoundId, sf.FlagOwnerId, sf.FlagRoundOffset, sf.AttackerTeamId
/// Flag FK: FlagServiceId, FlagRoundId, FlagOwnerId, FlagRoundOffset
/// </summ... | 29.4 | 97 | 0.651361 | [
"MIT"
] | DanielHabenicht/EnoEngine | EnoCore/Models/SubmittedFlag.cs | 590 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 42.712329 | 203 | 0.60712 | [
"MIT"
] | rd-dev-ukraine/demo-time-track | LanceTrack.Web/Features/Shared/ValidationMessages.Designer.cs | 3,120 | 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:53:22 UTC
// </auto-generated>
//--------------... | 39.203704 | 115 | 0.626358 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/math/big/float_RoundingModeStructOf(byte).cs | 2,117 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class LogMouseOverPop : MonoBehaviour
{
private float popPosition;
private UpgradeMenu state;
private LogRumble logRumble;
// Start is called before the first frame update
v... | 24.969231 | 110 | 0.556377 | [
"MIT"
] | TreeSloths/IdleClickerGroup | Assets/UI/UpgradeMenu_Log/LogMouseOverPop.cs | 1,625 | 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://www.ap... | 32.368421 | 110 | 0.443722 | [
"MIT"
] | hchungmsft/azure-powershell | src/ResourceManager/AzureBatch/Commands.Batch/Models.Generated/PSStartTask.cs | 5,367 | C# |
namespace Microsoft.Zelig.Debugger.ArmProcessor
{
partial class BreakpointsView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 66.060241 | 178 | 0.702535 | [
"MIT"
] | NETMF/llilum | Zelig/Zelig/DebugTime/Debugger/UserControls/BreakpointsView.Designer.cs | 16,449 | C# |
namespace CarShop.Models.Cars
{
public class AllCarsModel
{
public string Id { get; set; }
public string Model { get; init; }
public int Year { get; init; }
public string PlateNumber { get; set; }
public string Image { get; set; }
public int FixedIssues { ge... | 19.5 | 49 | 0.571795 | [
"MIT"
] | tsborissov/C_Sharp-Web | Exam Prep/CarShop/CSharp-Web-Server-main/CarShop/Models/Cars/AllCarsModel.cs | 392 | C# |
namespace TeamBuilder.App.Core.Commands
{
using System;
using Models;
using Data;
using Utilities;
using System.Linq;
public class LoginCommand
{
public string Execute(string[] args)
{
Check.CheckLength(2, args);
string username = args[0];
... | 26.104167 | 136 | 0.569034 | [
"MIT"
] | ShadyObeyd/DatabaseAdvanced-EntityFramework-June2018 | 12.Workshop/TeamBuilder.App/Core/Commands/LoginCommand.cs | 1,255 | C# |
/*
http://www.cgsoso.com/forum-211-1.html
CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源!
CGSOSO 主打游戏开发,影视设计等CG资源素材。
插件如若商用,请务必官网购买!
daily assets update for try.
U should buy the asset from home store if u use it in your project!
*/
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
using ... | 28.326996 | 115 | 0.344564 | [
"MIT"
] | zhoumingliang/test-git-subtree | Assets/RotateMe/Scripts/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/ec/custom/sec/SecT409Field.cs | 7,544 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Bicep.Core.Syntax
{
public static class StringSyntaxExtensions
{
/// <summary>
/// Checks if the syntax node contains an interpolated string or a literal string.
/// </summary>
/// <param name="... | 37.043478 | 110 | 0.644366 | [
"MIT"
] | AlanFlorance/bicep | src/Bicep.Core/Syntax/StringSyntaxExtensions.cs | 852 | C# |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
// Modified for Intuit's Oauth2 implementation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Syst... | 38.986425 | 359 | 0.587744 | [
"Apache-2.0"
] | RVDtech1/QB-V3-NET-SDK | IPPDotNetDevKitCSV3/Code/Intuit.Ipp.OAuth2PlatformClient/Client/TokenClient.cs | 8,618 | C# |
/* _BEGIN_TEMPLATE_
{
"id": "LOOTA_BOSS_11e",
"name": [
"鞭打成型",
"Whipped Into Shape"
],
"text": [
"+2攻击力。",
"+2 Attack."
],
"cardClass": "NEUTRAL",
"type": "ENCHANTMENT",
"cost": null,
"rarity": null,
"set": "LOOTAPALOOZA",
"collectible": null,
"dbfId": 46316
}
_END_TEMPLATE_ */
... | 14.925926 | 42 | 0.568238 | [
"MIT"
] | chi-rei-den/Silverfish | cards/LOOTAPALOOZA/LOOTA/Sim_LOOTA_BOSS_11e.cs | 419 | C# |
using SharpKml.Base;
namespace SharpKml.Dom
{
/// <summary>
/// Specifies a description of a <see cref="Feature"/>, which should be
/// displayed in the description balloon.
/// </summary>
/// <remarks>
/// <para>OGC KML 2.2 Section 9.1.3.10.</para>
/// <para>The text may include HTML cont... | 28.606061 | 76 | 0.549788 | [
"BSD-2-Clause"
] | Pacesetter/KML2SQL | sharpkml-25721/SharpKml/Dom/Features/Description.cs | 946 | C# |
using MinecraftMappings.Internal.Models.Block;
namespace MinecraftMappings.Minecraft.Java.Models.Block
{
public class RedstoneTorchOff : JavaBlockModel
{
public RedstoneTorchOff() : base("Redstone Torch, Off")
{
AddVersion("redstone_torch_off", "1.0.0")
.WithPath("m... | 29.375 | 65 | 0.619149 | [
"MIT"
] | null511/MinecraftMappings.NET | MinecraftMappings.NET/Minecraft/Java/Models/Block/RedstoneTorchOff.cs | 472 | 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.Security;
using System.Security.Permissions;
namespace System.Net.PeerToPeer
{
#if NET50_OBSOLETIONS
[Obsolete(Obsoletions.CodeAccessSecurityMessage, DiagnosticId =... | 42.95 | 147 | 0.779977 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Security.Permissions/src/System/Net/PeerToPeer/PnrpPermissionAttribute.cs | 859 | C# |
using System.Collections.Generic;
namespace SharpGEDParser.Model
{
/// <summary>
/// Container for DATA within a source (SOUR) record.
/// </summary>
public class SourceData : StructCommon, NoteHold
{
private List<SourEvent> _events;
/// <summary>
/// Details regarding the ... | 31.848485 | 102 | 0.579448 | [
"Apache-2.0"
] | ennoborg/YAGP | SharpGEDParse/SharpGEDParser/Model/SourceData.cs | 1,051 | C# |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ploeh.AutoFixture;
namespace Medidata.ZipkinTracer.Core.Test
{
[TestClass]
public class ZipkinConfigTests
{
private ZipkinConfig _sut;
[TestInitialize]
public void Init()
... | 39.718121 | 124 | 0.547482 | [
"MIT"
] | ihenjoy/Medidata.ZipkinTracerModule | tests/Medidata.ZipkinTracer.Core.Test/ZipkinConfigTests.cs | 5,920 | C# |
using System.Collections.Generic;
namespace Lykke.Job.ChainalysisHistoryExporter.Common
{
public class Blockchain
{
public string CryptoCurrency { get; set; }
public string BilId { get; set; }
public string AssetBlockchain { get; set; }
public IReadOnlyCollection<string> AssetR... | 27.076923 | 72 | 0.678977 | [
"MIT"
] | LykkeCity/Lykke.Job.ChainalysisHistoryExporter | src/Lykke.Job.ChainalysisHistoryExporter/Common/Blockchain.cs | 354 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 38.486111 | 173 | 0.601949 | [
"MIT"
] | SuatOzcan/WIndowsForms | Sayisal/Sayisal/Properties/Resources.Designer.cs | 2,773 | C# |
using iShape.Clipper.Collision;
using iShape.Collections;
using iShape.Geometry;
using NUnit.Framework;
using Tests.Clipper.Data;
using Unity.Collections;
namespace Tests.Clipper {
public class SimplifyTests {
private IntGeom iGeom = IntGeom.DefGeom;
[Test]
public void Test_00() {
... | 30.883598 | 82 | 0.497858 | [
"MIT"
] | iShapeUnity/Clipper | Tests/Editor/Tests/Clipper/SimplifyTests.cs | 5,837 | C# |
using Zoro.IO;
using Zoro.Network.P2P.Payloads;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
namespace Zoro.Cryptography
{
public static class Helper
... | 37.304348 | 130 | 0.537005 | [
"MIT"
] | ProDog/Zoro | Zoro/Cryptography/Helper.cs | 6,866 | C# |
namespace YourBrand.Payments.Application.Common.Interfaces;
public interface IDateTime
{
DateTime Now { get; }
} | 20.5 | 61 | 0.739837 | [
"MIT"
] | marinasundstrom/YourCompany | Finance/Payments/Payments/Application/Common/Interfaces/IDateTime.cs | 125 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace ClashOfClans.Core
{
internal class NullableTypes
{
private readonly HashSet<string> _checkedNullProperties = new HashSet<string>();
private readonly Dictionary<string, int> _nullProperties = new Dicti... | 30.867647 | 97 | 0.525488 | [
"MIT"
] | tparviainen/clashofclans | src/ClashOfClans/Core/NullableTypes.cs | 2,101 | C# |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.I... | 38.576271 | 174 | 0.657293 | [
"Apache-2.0"
] | pulumi/pulumi-kubernetes-crds | operators/prometheus/dotnet/Kubernetes/Crds/Operators/Prometheus/Monitoring/V1/Inputs/PrometheusSpecContainersLivenessProbeHttpGetArgs.cs | 2,276 | 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... | 36.038835 | 159 | 0.64278 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/SageMaker/Generated/Model/Internal/MarshallTransformations/DescribeEndpointConfigRequestMarshaller.cs | 3,712 | C# |
using AbilityUser;
using RimWorld;
using Verse;
using System.Linq;
using System;
using System.Collections.Generic;
namespace TorannMagic
{
public class Projectile_SmokeCloud : Projectile_AbilityBase
{
protected override void Impact(Thing hitThing)
{
Map map = base.Map;
base.Impact(hit... | 44.372881 | 304 | 0.512605 | [
"BSD-3-Clause"
] | Phenrei/RWoM | RimWorldOfMagic/RimWorldOfMagic/Projectile_SmokeCloud.cs | 2,620 | 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("Ham... | 38.324324 | 84 | 0.748237 | [
"MIT"
] | Evan-Lacy/HammerSpace | HammerSpace.Models/Properties/AssemblyInfo.cs | 1,421 | C# |
using System;
using System.Collections.Generic;
using System.IO.BACnet.Serialize;
using System.Linq;
using System.Text;
namespace System.IO.BACnet
{
public struct BacnetDailySchedule : ASN1.IEncode, ASN1.IDecode
{
public List<BacnetTimeValue> DaySchedule;
public int Decode(byte[] bu... | 25.948276 | 71 | 0.485714 | [
"MIT"
] | mRy0/BACnet | Base/BacnetDailySchedule.cs | 1,507 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assem... | 36.638889 | 97 | 0.756634 | [
"MIT"
] | Winrobrine/audion.cscore | Audion/Properties/AssemblyInfo.cs | 1,322 | C# |
using UnityEngine;
public class UnityDebugLogService : ILogService
{
public void LogMessage(string message)
{
Debug.Log(message);
}
public void ErrorMessage(string message)
{
Debug.LogError(message);
}
}
| 16.466667 | 47 | 0.651822 | [
"MIT"
] | et9930/ECS-Game | Assets/Script/Services/UnityServices/UnityDebugLogService.cs | 249 | C# |
using System;
using System.Globalization;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Algorithms.Tests
{
[TestClass]
public class MergeSortTest
{
[TestMethod]
public void WhenWeGiveArray_ThenItIsSorted()
{
int[] ar... | 23.765432 | 82 | 0.415584 | [
"MIT"
] | andrei-galkin/Structures-and-Algorithms | Lib/Algorithms.Tests/MergeSortTest.cs | 1,927 | C# |
namespace Exceptionless.Core.Models;
public class SummaryData {
public string TemplateKey { get; set; }
public object Data { get; set; }
}
| 21.285714 | 43 | 0.704698 | [
"Apache-2.0"
] | 491134648/Exceptionless | src/Exceptionless.Core/Models/SummaryData.cs | 151 | C# |
using System;
using System.Collections.Generic;
using Sitecore.Data.Items;
using Sitecore.Security.AccessControl;
using Sitecore.Security.Accounts;
using Sitecore.Security.Domains;
using Sitecore.SecurityModel;
namespace Glass.Mapper.Sc.FakeDb
{
public class Helpers
{
public static It... | 26.888889 | 115 | 0.612087 | [
"Apache-2.0"
] | D4rkiii/Glass.Mapper | Tests/Unit Tests/Glass.Mapper.Sc.FakeDb/Helpers.cs | 1,938 | C# |
using Sitecore.Analytics.Data;
using Sitecore.Data.Items;
using Sitecore.Feature.ProfileMapper.Abstractions;
using Sitecore.Reflection;
namespace Sitecore.Feature.ProfileMapper.Models
{
public class ProfileMapItem : CustomItem
{
public ProfileMapItem(Item innerItem) : base(innerItem)
{
... | 31.94 | 104 | 0.622417 | [
"MIT"
] | thinkfreshnick/Sitecore.Feature.ProfileMapper | src/Feature/ProfileMapper/code/Models/ProfileMapItem.cs | 1,599 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using NaughtyAttributes;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.Serialization;
namespace RabbitStewdio.Unity.UnityTools.SmartVars
{
/// <summary>
/// This base class exists only because we cannot use in... | 24.701754 | 112 | 0.514441 | [
"MIT"
] | tmorgner/WeaponSystem | Assets/Plugins/UnityTools/Scripts/SmartVars/SmartRuntimeSet.cs | 4,226 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BitTools.Tests {
[TestClass]
public class ReadingWritingTests {
[TestMethod]
public void TestWriteReadByte() {
// 00000000 00000000 00000000 00000000
// | | | | ... | 43.685039 | 97 | 0.578767 | [
"Unlicense"
] | DMeville/BitTools | Src/BitTools.Tests/ReadingWritingTests.cs | 5,550 | C# |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Tests.Migrations
{
public partial class Inital : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name:... | 36.578125 | 71 | 0.492952 | [
"Unlicense",
"MIT"
] | eyesicedover/GummiBearKingdom | GummiBearKingdomTests/Migrations/20180502205425_Inital.cs | 2,343 | C# |
using FluentValidation;
namespace Application.Features.Commands.Create{
public class CreateUserCommandValidator : AbstractValidator<CreateUserCommand> {
public CreateUserCommandValidator () {
RuleFor (p => p.Name)
.NotEmpty ()
.WithMessage ("{Name} is required.")... | 36.777778 | 84 | 0.49144 | [
"MIT"
] | omerozoglu/YazilimYapimiVizeProjesi | ProjectExchange.API/Services/User/Application/Features/Commands/Create/CreateUserCommandValidator.cs | 993 | C# |
using System.Collections.Generic;
using System.Globalization;
using Ifak.Fast.Json.Utilities;
namespace Ifak.Fast.Json.Linq.JsonPath
{
internal class ArrayIndexFilter : PathFilter
{
public int? Index { get; set; }
public override IEnumerable<JToken> ExecuteFilter(JToken root, IEnumerable<JTok... | 31.090909 | 140 | 0.408626 | [
"MIT"
] | ifakFAST/Mediator.Net | Mediator.Net/MediatorLib/Json/Linq/JsonPath/ArrayIndexFilter.cs | 1,370 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Charlotte
{
public static class Utilities
{
public static int RotL(int direction)
{
return direction / 2 + ((direction / 2) % 2) * 5;
}
public static int RotR(int direction)
{
return direction * 2 - (dir... | 16.52381 | 52 | 0.668588 | [
"MIT"
] | stackprobe/Fairy | wb/t20191102_Dungeon/Dungeon/Dungeon/Utilities.cs | 349 | C# |
using UnityEngine;
using System.Collections;
/// <summary>
/// Controller to retrieve the player inputs
/// and send them to the components that need them
/// (e.g. : movement, attack, ...)
/// </summary>
public class PlayerController : MonoBehaviour {
[SerializeField]
private float joystick = 1;... | 27.151515 | 90 | 0.670759 | [
"MIT"
] | SneakyRedSnake/Ultra-Linking-Space-Race-Championship | UltraLinkingSpaceRaceChampionShip/Assets/Scripts/Controller/PlayerController.cs | 898 | C# |
using FortnoxNET.Utils;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FortnoxNET.Models.Inbox
{
public class File
{
[JsonProperty(PropertyName = "@url")]
public string Url { get; set; }
... | 18.83871 | 45 | 0.626712 | [
"MIT"
] | PolrSE/fortnox.NET | Fortnox.NET/Models/Inbox/File.cs | 586 | C# |
using System;
using Android.Content;
using Android.Graphics;
using Android.Support.Annotation;
using Android.Support.V4.Content.Res;
using Android.Util;
using Android.Widget;
namespace FoldingTabBarAndroidForms
{
public class SelectedMenuItem : ImageView
{
internal Paint mCirclePaint;
internal float radius;
p... | 24.866667 | 132 | 0.726542 | [
"MIT"
] | NashZhou/EZAudioXamarinBinding | FoldingTabBar/Forms/FoldingTabBarAndroidForms/FoldingTabBarAndroidForms/Library/SelectedMenuItem.cs | 1,121 | C# |
using Microsoft.AspNetCore.Mvc.RazorPages;
using Oqtane.Infrastructure;
using Oqtane.Shared;
using Oqtane.Modules;
using Oqtane.Models;
using Oqtane.Themes;
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using Oqtane.Repository;
using Microsoft.AspNetCore.Localization;
using Micro... | 38.742718 | 196 | 0.529758 | [
"MIT"
] | MartyNZ/oqtane.framework | Oqtane.Server/Pages/_Host.cshtml.cs | 7,981 | 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.Collections.Immutable;
namespace Microsoft.CodeAnalysis.Symbols
{
/// <summary>
/// Interface... | 44.68 | 146 | 0.717099 | [
"MIT"
] | BrianFreemanAtlanta/roslyn | src/Compilers/Core/Portable/Symbols/ISymbolCompareKindComparableInternal.cs | 1,119 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace codevalr
{
public class CodeEvalResult
{
public List<UnitTestResult> PublicUnitTestResults { get; set; }
public List<UnitTestResult> PrivateUnitTestResults { get; set; }
}
}
| 20.714286 | 66 | 0.775862 | [
"MIT"
] | anthrich/codevalr | src/codevalr/CodeEvalResult.cs | 292 | C# |
/*
* THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR
*/
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text.Json.Serialization;
namespace Plotly.Blazor.Traces.FunnelLib
{
/// <summary>
/// The Connector class.
... | 31.54386 | 90 | 0.510845 | [
"MIT"
] | BenSzuszkiewicz/Plotly.Blazor | Plotly.Blazor/Traces/FunnelLib/Connector.cs | 3,596 | C# |
version https://git-lfs.github.com/spec/v1
oid sha256:32b3da6190c5d3a02b2e3c5af7e2488a1f57b86267b885046c722602f45dc075
size 2381
| 32.25 | 75 | 0.883721 | [
"MIT"
] | Vakuzar/Multithreaded-Blood-Sim | Blood/Library/PackageCache/com.unity.test-framework@1.1.14/UnityEditor.TestRunner/NUnitExtension/Attributes/AssetPipelineIgnore.cs | 129 | C# |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// MedicalHospitalReportList Data Structure.
/// </summary>
[Serializable]
public class MedicalHospitalReportList : AopObject
{
/// <summary>
/// 报告产出日期 格式为yyyy-MM-dd HH:mm:ss。
... | 25.232558 | 55 | 0.511521 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/MedicalHospitalReportList.cs | 1,157 | C# |
using PKISharp.WACS.DomainObjects;
using PKISharp.WACS.Extensions;
using PKISharp.WACS.Plugins.Interfaces;
using PKISharp.WACS.Properties;
using PKISharp.WACS.Services;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificat... | 31.915254 | 142 | 0.513011 | [
"Apache-2.0"
] | FuseCP-TRobinson/win-acme | src/main/Plugins/StorePlugins/CentralSsl/CentralSsl.cs | 3,768 | C# |
using System.Collections.ObjectModel;
namespace WebApplicationWebAPI1.Areas.HelpPage.ModelDescriptions
{
public class ComplexTypeModelDescription : ModelDescription
{
public ComplexTypeModelDescription()
{
Properties = new Collection<ParameterDescription>();
}
publi... | 28.214286 | 80 | 0.713924 | [
"MIT"
] | scottkoland/web-api-areas | WebApplicationWebAPI1/Areas/HelpPage/ModelDescriptions/ComplexTypeModelDescription.cs | 395 | 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("01... | 37.810811 | 84 | 0.744103 | [
"MIT"
] | TsvetanRazsolkov/Telerik-Academy | Homeworks/Programming/DSA/16.Workshop-Graphs-DynamicProgramming-2015.11.20/01.Staircases/Properties/AssemblyInfo.cs | 1,402 | C# |
using Abp.Localization;
using Abp.Modules;
using Abp.Reflection.Extensions;
using Abp.Timing;
using Abp.Zero;
using Abp.Zero.Configuration;
using AbpCompanyName.AbpProjectName.Authorization.Roles;
using AbpCompanyName.AbpProjectName.Authorization.Users;
using AbpCompanyName.AbpProjectName.Configuration;
using AbpCompa... | 35.826923 | 108 | 0.711755 | [
"MIT"
] | ejohnson-dotnet/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.Core/AbpProjectNameCoreModule.cs | 1,870 | C# |
// *****************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANT... | 38.972466 | 131 | 0.585407 | [
"Apache-2.0"
] | jdm7dv/Microsoft-Biology-Foundation | archive/Changesets/beta/Tests/MBF.TestAutomation/AlphabetsBvtTestCases.cs | 31,141 | C# |
/// <summary>
/// Origin: http://formats.kaitai.io/tr_dos_image/
/// Done some aesthetic updates.
/// </summary>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kaitai
{
public partial class PositionAndLengthCode : KaitaiStruct
{... | 26.511628 | 120 | 0.604386 | [
"MIT"
] | mikkleini/trdos-extract | TRDOS-Extract/Kaitai/PositionAndLengthCode.cs | 1,142 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace NSSDB.Resources
{
public class Status
{
[Required][DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int ID { ... | 24.052632 | 71 | 0.684902 | [
"CC0-1.0",
"MIT"
] | USGS-WiM/NSSServices | NSSDB/Resources/Status.cs | 459 | C# |
using System;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// Autogenerated TDLib APIs
/// </summary>
public partial class TdApi
{
/// <summary>
/// An audio message
/// </summary>
public partial class PushMessageContent : Object
{
///... | 30.857143 | 90 | 0.463624 | [
"MIT"
] | mostafa8026/tdsharp | TDLib.Api/Objects/PushMessageContentAudio.cs | 1,512 | C# |
using System;
using System.Linq;
using Data;
using Enums;
using UnityEngine;
using UnityEngine.UI;
using Random = UnityEngine.Random;
namespace Game.Pages.GameEvent
{
/// <summary>
/// Страница игрового события, описывающая ситуацию
/// </summary>
public class EventMainPage: Page
{
[Header(... | 33.404762 | 104 | 0.6201 | [
"Unlicense"
] | Mispon/rap-way | Assets/Scripts/Game/Pages/GameEvent/EventMainPage.cs | 3,058 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Reflection;
using ScriptCs.Contracts;
namespace ScriptCs
{
public class ScriptExecutor : IScriptExecutor
{
private readonly ILog _log;
public static readonly ... | 37.666667 | 149 | 0.62681 | [
"Apache-2.0"
] | BlackFrog1/scriptcs | src/ScriptCs.Core/ScriptExecutor.cs | 9,946 | 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... | 30.421053 | 101 | 0.616609 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/RDS/Generated/Model/DownloadDBLogFilePortionResponse.cs | 2,890 | C# |
// ==============================================================================================================
// Microsoft patterns & practices
// CQRS Journey project
// ==============================================================================================================
// Copyright (c) Microsoft Co... | 44.06383 | 115 | 0.556736 | [
"Apache-2.0"
] | craiggwilson/cqrs-journey-code | source/Conference/Registration/Handlers/MemoryDelayCommandHandler.cs | 2,073 | C# |
/*
* Copyright 2015-2017 Mohawk College of Applied Arts and Technology
*
*
* 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
*
* U... | 40.484848 | 241 | 0.636976 | [
"Apache-2.0"
] | MohawkMEDIC/openiz | OpenIZ.Persistence.Data.ADO/Services/Persistence/ProtocolPersistenceService.cs | 4,010 | C# |
using System;
using System.Collections;
using System.Text.RegularExpressions;
using NUnit.Framework;
namespace NBehave.Spec.NUnit
{
public static class Extensions
{
public static Exception GetException(this Action action)
{
Exception e = null;
try
... | 32.703072 | 138 | 0.563139 | [
"BSD-3-Clause"
] | MorganPersson/NBehave | src/NBehave.Spec.NUnit/Extensions.cs | 9,584 | C# |
/*
* Copyright(c) 2021 Samsung Electronics 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 a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 42.182674 | 220 | 0.487388 | [
"Apache-2.0",
"MIT"
] | lavataste/TizenFX | src/Tizen.NUI/src/internal/Xaml/CreateValuesVisitor.cs | 22,399 | C# |
// Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
namespace LibObjectFile.Elf
{
/// <summary>
/// Gets the type of a <see cref="ElfNoteType"/>.
/// </summary>
... | 27.846154 | 107 | 0.599448 | [
"BSD-2-Clause"
] | tmds/LibObjectFile | src/LibObjectFile/Elf/Sections/ElfNoteType.cs | 1,812 | C# |
using System.Reflection;
namespace BanallyMe.QuickReflect.Models
{
/// <summary>
/// Pair of an object Property and its corresponding value on an object.
/// </summary>
public class PropertyValuePair
{
/// <summary>
/// The object's property.
/// </summary>
public P... | 36.44186 | 113 | 0.623484 | [
"MIT"
] | BanallyMe/QuickReflect | QuickReflect/QuickReflect/Models/PropertyValuePair.cs | 1,569 | C# |
using ARMeilleure.Decoders;
using ARMeilleure.IntermediateRepresentation;
using ARMeilleure.State;
using ARMeilleure.Translation;
using System;
using System.Reflection;
using static ARMeilleure.Instructions.InstEmitHelper;
using static ARMeilleure.IntermediateRepresentation.Operand.Factory;
namespace ARMeilleure.Inst... | 41.278788 | 132 | 0.59213 | [
"MIT"
] | 2579768776/Ryujinx | ARMeilleure/Instructions/InstEmitSystem.cs | 6,811 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis
{
[Serializable]
public sealed class SerializableVersionStamp
{
private readonly byte[] bytes;
publ... | 24.795455 | 73 | 0.52429 | [
"Apache-2.0"
] | enginekit/copy_of_roslyn | Src/Workspaces/Core/Desktop/Workspace/Solution/SerializableVersionStamp.cs | 1,093 | C# |
#if NETSTANDARD2_0
using System;
using System.Net;
using System.Linq;
using System.IO;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Threading;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using ... | 37.524638 | 228 | 0.461957 | [
"MIT"
] | ShubinKooboo/Kooboo | Kooboo.Data/Server/KestrelServer.cs | 25,894 | C# |
using System;
using AppRopio.Base.Droid.Adapters;
using AppRopio.ECommerce.Products.Droid.Views.Catalog;
namespace AppRopio.ECommerce.Products.Droid.Views.Categories.Disabled
{
public class DCatalogTemplateSelector : IARFlatGroupTemplateSelector
{
private CatalogCollectionType _collectionType;
... | 32.35 | 106 | 0.601236 | [
"Apache-2.0"
] | cryptobuks/AppRopio.Mobile | src/app-ropio/AppRopio.ECommerce/Products/Droid/Views/Categories/Disabled/DCatalogTemplateSelector.cs | 1,296 | C# |
using Car.Data.Enums;
using Microsoft.AspNetCore.Http;
namespace Car.Domain.Dto
{
public class UpdateCarDto
{
public int Id { get; set; }
public int ModelId { get; set; }
public Color Color { get; set; }
public string? PlateNumber { get; set; }
public IFormFile? Ima... | 18.157895 | 48 | 0.594203 | [
"MIT"
] | ita-social-projects/Car-Back-End | Car.Backend/Car.Domain/Dto/Car/UpdateCarDto.cs | 347 | C# |
using System.Collections;
using System.Collections.Generic;
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.CollectionsGeneric;
using NetOffice.MSProjectApi;
namespace NetOffice.MSProjectApi.Behind
{
/// <summary>
/// DispatchInterface Calendar... | 27.204301 | 175 | 0.664427 | [
"MIT"
] | igoreksiz/NetOffice | Source/MSProject/Behind/DispatchInterfaces/Calendars.cs | 5,062 | C# |
using System;
namespace Nez.LibGdxAtlases
{
public class LibGdxAtlasPoint
{
public float x;
public float y;
public LibGdxAtlasPoint()
{}
public LibGdxAtlasPoint( float x, float y )
{
this.x = x;
this.y = y;
}
}
}
| 10.166667 | 45 | 0.635246 | [
"MIT"
] | AlmostBearded/monogame-platformer | Platformer/Nez/Nez.PipelineImporter/LibGdxAtlases/LibGdxAtlasPoint.cs | 246 | 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... | 37.27451 | 148 | 0.59495 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/DataFactory/Inputs/BlobSinkArgs.cs | 3,802 | C# |
using ND.MCJ.Framework;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using ND.MCJ.Framework.Converter;
namespace ND.MCJ.AOP.Security
{
public class Signature
{
/// <summary>
... | 35.041667 | 99 | 0.540428 | [
"Apache-2.0"
] | PengXX0/ND.MCJ | Infrastructure/ND.MCJ.AOP/Security/Signature.cs | 1,710 | C# |
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio.Package;
using Microsoft.VisualStudio.TextManager.Interop;
using Microsoft.VisualStudio.LanguageServices;
using Microsoft.CodeAnalysis;
using Microsoft... | 34.08238 | 138 | 0.523164 | [
"MIT"
] | xs-admin/Excess | Excess.VisualStudio/Excess.VisualStudio.Package/LanguageService.cs | 14,896 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Enyim.Caching.Memcached.Results.StatusCodes;
using Xunit;
namespace Enyim.Caching.Tests
{
public class MemcachedClientGetTests : MemcachedClientTestsBase
{
[Fact]
public vo... | 34.644444 | 102 | 0.579859 | [
"Apache-2.0"
] | RexMorgan/EnyimMemcachedCore | Enyim.Caching.Tests/MemcachedClientGetTests.cs | 6,239 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using BattleSystem.Core.Random;
namespace BattleSystem.Core.Characters.Targets
{
/// <summary>
/// Calculates the action target as one of the characters at random.
/// </summary>
public class RandomCharacterActionTargetCalculator : IAc... | 32.512821 | 127 | 0.629338 | [
"MIT"
] | phrasmotica/BattleSystem | BattleSystem.Core/Characters/Targets/RandomCharacterActionTargetCalculator.cs | 1,270 | C# |
using Symbolica.Abstraction;
using Symbolica.Expression;
namespace Symbolica.Representation.Functions
{
internal sealed class GetRandom : IFunction
{
public GetRandom(FunctionId id, IParameters parameters)
{
Id = id;
Parameters = parameters;
}
public Fu... | 28.714286 | 115 | 0.630597 | [
"MIT"
] | SymbolicaDev/Symbolica | src/Representation/Functions/GetRandom.cs | 806 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Xml;
using Microsoft.Build.Framework;
using Xamarin.MacDev;
using Xamarin.MacDev.Tasks;
using Xamarin.Utils;
namespace Xamarin.iOS.Tasks {
public abstract class G... | 31.242857 | 184 | 0.684804 | [
"BSD-3-Clause"
] | eerhardt/xamarin-macios | msbuild/Xamarin.iOS.Tasks.Core/Tasks/GetMlaunchArgumentsTaskBase.cs | 6,561 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web.Http.Filters;
using System.Net.Http;
public class ValidateModelAttribute : ActionFilterAttribute
{
public override void OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
{
var modelState = actionExe... | 32.882353 | 96 | 0.765653 | [
"CC0-1.0"
] | firepacket/Trustfreemarket | Filters/ValidateFilterAttribute.cs | 561 | C# |
// Copyright 2009-2020 Josh Close and Contributors
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// https://github.com/Jos... | 32.498361 | 183 | 0.702684 | [
"MIT"
] | unity-game-framework/ugf-csv | Packages/UGF.Csv/Runtime/Plugins/CsvHelper/CsvFieldReader.cs | 9,914 | C# |
/***************************************************************************
* Copyright Andy Brummer 2004-2005
*
* This code is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* This code may be used in compiled form in any way you desire. This
* file... | 35.419753 | 182 | 0.642384 | [
"MIT"
] | biosmanager/AutoDarkTheme | Editor/Schedule/ScheduledItems/EventQueue.cs | 2,869 | C# |
/* Copyright (c) 2021 Samsung Electronics 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 a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | 36.769369 | 141 | 0.525947 | [
"Apache-2.0",
"MIT"
] | lol-github/TizenFX | src/Tizen.NUI.Components/Controls/RecyclerView/Item/DefaultGridItem.cs | 20,407 | C# |
#region License
/* LzxDecoder.cs - C# port of libmsport's lzxd.c
* Copyright 2003-2004 Stuart Caie
* Copyright 2011 Ali Scissons
*
* Released under a dual MSPL/LGPL license.
* See lzxdecoder.LICENSE for details.
*/
#endregion
#region Using Statements
using System;
#endregion
using System.IO;
public class LzxDe... | 29.808883 | 124 | 0.619063 | [
"MIT"
] | renaudbedard/HoloFEZ | Assets/FezUnity/LzxDecoder.cs | 22,148 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HiveProject.Models
{
public class Message
{
public int MessageId { get; set; }
public string SenderId { get; set; }
public virtual ApplicationUser Sender { get; set; }
public string... | 21.1 | 61 | 0.592417 | [
"MIT"
] | ginisth/Hive-Project | HiveProject/Models/Message.cs | 635 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.TemplateEngine.Abstractions.Installer
{
/// <summary>
/// Defines possible error codes for <see cref="IInstaller"/> operations.
/// </summary>
pu... | 27.807018 | 104 | 0.555836 | [
"MIT"
] | 2mol/templating | src/Microsoft.TemplateEngine.Abstractions/Installer/InstallerErrorCode.cs | 1,587 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
[System.Serializable]
public class GridObjectDie : UnityEvent<GridObject> { }
[System.Serializable]
public class GridObjectHurt : UnityEvent<GridObject, int> { }
public enum GridObjectFacing {
NONE = 0000,
... | 35.855372 | 157 | 0.584534 | [
"MIT"
] | wolfrug/ldjam46 | LDJAM 46/Assets/GridMover/Scripts/GridObject.cs | 8,679 | C# |
using BloomFilter;
using BloomFilter.Configurations;
using BloomFilter.CSRedis.Configurations;
using System;
namespace Microsoft.Extensions.DependencyInjection
{
public static class ServiceCollectionExtensions
{
/// <summary>
/// Uses the EasyCaching redis.
/// </summary>
/// <... | 39.55 | 143 | 0.659924 | [
"MIT"
] | chrisreiter/BloomFilter.NetCore | src/BloomFilter.EasyCaching/Configurations/ServiceCollectionExtensions.cs | 1,584 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.