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 © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System.... | 47.527778 | 172 | 0.732905 | [
"MIT"
] | Ethereal77/terrafx.interop.windows | tests/Interop/Windows/um/d3d12/D3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFOTests.cs | 1,713 | C# |
using System;
using System.Net;
using xGame.Memory;
namespace xGame.Transport
{
public interface ITransportManager
{
ITransport CreateTransport(string ip, int port);
ITransport CreateTransport(string ip, int port, int connectTimeout);
ITransport CreateTransport(string ip, int port, in... | 33.346939 | 158 | 0.734394 | [
"MIT"
] | NullFlyGames/xGame | xGame/Transport/ITransportManager.cs | 1,634 | C# |
//
// VR-Studies
// Created by miuccie miurror on 11/04/2016.
// Copyright 2016 Yumemi.Inc / miuccie miurror
//
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PenSample : GrabControllerTarget {
public Color inkColor;
LineRenderer lineRenderer;
List<Vector3> points... | 24.684211 | 81 | 0.711087 | [
"MIT"
] | yumemi-inc/vr-studies | vol1/VR-studies/Assets/VR-studies/2_VR-controller/2-3_GrabController/PenSample.cs | 966 | C# |
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Newtonsoft.Json.Linq;
using ServerlessWorkflow.Sdk.Models;
using Synapse.Domain.Models;
using Synapse.Runner.Application.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks... | 51.04918 | 263 | 0.658157 | [
"Apache-2.0"
] | manuelstein/synapse | src/Runner/Synapse.Runner.Application/Services/Processors/EventStateProcessor.cs | 6,230 | C# |
using System;
using System.Net;
namespace NewLife.Data
{
/// <summary>数据帧接口</summary>
public interface IData
{
#region 属性
/// <summary>原始数据包</summary>
Packet Packet { get; set; }
/// <summary>远程地址</summary>
IPEndPoint Remote { get; set; }
//... | 21.608696 | 40 | 0.521127 | [
"MIT"
] | NewLifeX/X | NewLife.Core/Data/IData.cs | 557 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Melville.Lists.Caches
{
public sealed class SimpleCache<TKey, TResult>
{
private readonly int size;
private readonly Func<TKey, TResult> create;
private List<(TKey, TResult)> data;
public SimpleCache(Func<TKey, TResult> ... | 20.672414 | 98 | 0.552544 | [
"MIT"
] | DrJohnMelville/Melville | src/Melville.Lists/Caches/SimpleCache.cs | 2,400 | C# |
using System;
using StandardUtils.Helpers;
using StandardUtils.Models.Requests;
namespace Translation.Common.Models.Requests.Label.LabelTranslation
{
public sealed class LabelTranslationReadRequest : BaseAuthenticatedRequest
{
public Guid LabelTranslationUid { get; }
public LabelTranslationR... | 29.590909 | 110 | 0.698925 | [
"MIT"
] | Enisbeygorus/translation | Source/Translation.Common/Models/Requests/Label/LabelTranslation/LabelTranslationReadRequest.cs | 653 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace ProjBobcat.Class.Model.ServerPing;
public class ServerPingModInfo
{
[JsonProperty("type")] public string Type { get; set; }
[JsonProperty("modList")] public List<ModInfo> ModList { get; set; }
}
public class ModInfo
{
[JsonProperty("mod... | 22.578947 | 72 | 0.708625 | [
"MIT"
] | Corona-Studio/ProjBobcat | ProjBobcat/ProjBobcat/Class/Model/ServerPing/ServerPingModInfo.cs | 431 | C# |
using UnityEngine;
using System.Collections;
public static class Tags
{
//Player root GameObject
public static string player = "Player";
public static string camera = "MainCamera";
public static string interactable = "Interactable";
}
| 23 | 55 | 0.731225 | [
"MIT"
] | lucasrumney94/JDPolterGhost | JDPolterGhost/Assets/Scripts/Static/Tags.cs | 255 | C# |
using System.Collections.Generic;
using NUnit.Framework;
using System.Linq;
namespace TestStack.BDDfy.Tests.Scanner
{
// ToDo: I really need to clean this class up
[TestFixture]
public class WhenTestClassFollowsGivenWhenThenNamingConvention
{
private List<Step> _steps;
private TypeWitho... | 34.635762 | 137 | 0.626386 | [
"MIT"
] | jason-roberts/TestStack.BDDfy | TestStack.BDDfy.Tests/Scanner/WhenTestClassFollowsGivenWhenThenNamingConvention.cs | 5,230 | C# |
using System.Threading;
using Gossip.Transactions;
namespace Gossip.Connection.Fluent
{
public class QueryConfiguration
{
private ITransaction _transaction;
public QueryConfiguration()
{
Transaction = new NullTransaction();
}
public string Qu... | 30.147059 | 138 | 0.564878 | [
"Apache-2.0"
] | DanCNo/Gossip | src/Connection/Fluent/QueryConfiguration.cs | 1,027 | 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... | 29.858108 | 185 | 0.572301 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20210201/GetIpAllocation.cs | 4,419 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 35.789474 | 113 | 0.595735 | [
"Apache-2.0"
] | SaschaHaertel/AmazonAWS | sdk/src/Services/Route53/Generated/Model/ListHostedZonesByNameResponse.cs | 6,800 | C# |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Test.Shared.Completion;
using Microsoft.PowerShell.EditorServices.Test.Shared.Definition;
using Microsoft.PowerShell.Ed... | 41.655405 | 149 | 0.643309 | [
"MIT"
] | Benny1007/PowerShellEditorServices | test/PowerShellEditorServices.Test/Language/LanguageServiceTests.cs | 18,497 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.At... | 28.559524 | 78 | 0.569821 | [
"MIT"
] | DmitryGolubenkov/Silk.NET | src/Vulkan/Silk.NET.Vulkan/Structs/PerformanceOverrideInfoINTEL.gen.cs | 2,399 | C# |
using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc.Controllers;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.FeatureManagement;
using Microsoft.FeatureManagement.Mvc;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace Swashbuckle.AspNetCore.Filters
{
... | 40.393939 | 137 | 0.571643 | [
"Apache-2.0"
] | kdcllc/FeatureManagementDemo | src/FeatureManagementWeb/SwaggerFilters/FeatureManagementFilter.cs | 2,668 | C# |
using System;
using System.Threading.Tasks;
using System.Linq;
using StackExchange.Redis;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.IO;
namespace SocketCore.Server.AspNetCore
{
public class RedisConnectionManager : IConnectionManager, IDisposable
{
private Task _DrumBeatTask... | 34.392857 | 127 | 0.564512 | [
"MIT"
] | janusznoszczynski/SocketCore.Server.AspNetCore | src/RedisConnectionManager.cs | 7,704 | C# |
using System;
namespace WebService.Models {
public class PostModel {
public string Body { get; set; }
public int Score { get; set; }
public DateTime CreationDate { get; set; }
public string Author { get; set; }
public string Answers { get; set; }
public string Comme... | 30.538462 | 51 | 0.599496 | [
"MIT"
] | WilliamHerrgott/rawdata-porfolio-sova | WebService/Models/PostModel.cs | 399 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Cognifide.PowerShell.Core.Extensions;
using Cognifide.PowerShell.Core.Modules;
using Cognifide.PowerShell.Core.Settings.Authorization;
using Cognifide.PowerShell.Core.Utility;
using Sitecore;
using Sitecore.Configuration;
using Sitecore.Data;
usi... | 40.127389 | 350 | 0.592222 | [
"MIT"
] | hetaldave/SCUniversitySession8 | Cognifide.PowerShell/Client/Commands/MenuItems/ScriptLibraryMenuItem.cs | 6,302 | C# |
using DataDynamics.PageFX.Common.Services;
using DataDynamics.PageFX.Common.TypeSystem;
using DataDynamics.PageFX.Common.Utilities;
using DataDynamics.PageFX.Flash.Abc;
namespace DataDynamics.PageFX.Flash.Core.CodeGeneration.Corlib
{
internal sealed class EnvironmentTypeImpl
{
private readonly AbcGenerat... | 23.52 | 86 | 0.653061 | [
"MIT"
] | GrapeCity/pagefx | source/libs/Flash/Core/CodeGeneration/Corlib/EnvironmentTypeImpl.cs | 1,178 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class CTests
{
const int TimeLimit = 2000;
const double RelativeError = 1e-9;
[TestMethod, Timeout(TimeLimit)]
public void Test1()
{
const string input = @"20
";
... | 11.560976 | 59 | 0.563291 | [
"CC0-1.0"
] | AconCavy/AtCoder.Tasks.CS | ABC-Like/AISING2020/Tests/CTests.cs | 474 | C# |
/*
* Copyright 2010 Joern Schou-Rode
*
* 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... | 44.298246 | 120 | 0.649901 | [
"Apache-2.0"
] | arisoyang/ncron | src/NCron.Integration.Autofac/AutofacIntegration.cs | 2,527 | 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 lo... | 41.803807 | 167 | 0.500665 | [
"Apache-2.0"
] | KenHundley/aws-sdk-net | sdk/src/Services/S3/Custom/Util/AmazonS3Util.cs | 28,554 | C# |
using System.Collections;
using System.Collections.Generic;
using Unity.Burst;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Transforms;
using UnityEngine;
// Standard ComponentSystem example with Pure ECS
//public class CubeFloaterSystem : ComponentSystem
//{
/... | 30.269841 | 125 | 0.660199 | [
"MIT"
] | hedvik/Unity-Toybox | ExperimentalScenes/Assets/Scripts/ECS/Systems/Pure/EntityFloaterSystem.cs | 1,909 | 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/DirectML.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... | 38.522727 | 145 | 0.658407 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | tests/Interop/Windows/um/DirectML/DML_RESAMPLE_OPERATOR_DESCTests.cs | 1,697 | C# |
using ColorMixer.Tests;
using ColorMixer.Tests.Attributes;
using ColorMixer.ViewModels;
using FluentAssertions;
using Ninject;
using Xunit;
namespace ViewModels
{
public class Connection
{
private readonly IKernel kernel;
public Connection()
{
kernel = new StandardKernel()... | 33 | 70 | 0.57989 | [
"MIT"
] | dimiboi/ColorMixer | ColorMixer.Tests/ViewModels/Connection.cs | 1,454 | C# |
using System;
namespace Leptonica
{
/// <summary>
/// Data structure to hold accumulating generated code for storing
/// and extracing serializable leptonica objects (e.g., pixa, recog).
/// </summary>
public class L_StrCode : LeptonicaObjectBase
{
public L_StrCode(IntPtr pointer) : ba... | 24.642857 | 73 | 0.655072 | [
"Apache-2.0"
] | itoledo/Birdie.Tesseract | tvn-cosine.imaging/tvn-cosine.imaging.leptonica/tvn-cosine.imaging.leptonica/Definitions/StringCode/L_StrCode.cs | 347 | C# |
using GraphicsComposerLib.Svg.Attributes;
using GraphicsComposerLib.Svg.Elements.Categories;
using GraphicsComposerLib.Svg.Values;
namespace GraphicsComposerLib.Svg.Elements.Animation
{
/// <summary>
/// The 'animate' SVG element is used to animate an attribute or property of an element over time.
/// It'... | 34.29771 | 145 | 0.581942 | [
"MIT"
] | ga-explorer/GeometricAlgebraFulcrumLib | GraphicsComposerLib/GraphicsComposerLib.Svg/Elements/Animation/SvgElementAnimate.cs | 13,481 | C# |
using System.IO;
using System.Linq;
using NUnit.Framework;
using ObjectApproval;
[TestFixture]
public class NuGetPackageRootTest
{
[Test]
public void WithNuGetPackageRoot()
{
var combine = Path.GetFullPath(Path.Combine(TestContext.CurrentContext.TestDirectory, "../../FakeNuGetPackageRoot"));
... | 30.368421 | 125 | 0.696707 | [
"MIT"
] | LaudateCorpus1/Fody | Fody.Tests/NuGetPackageRootTest.cs | 577 | 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.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
names... | 43.879625 | 176 | 0.607399 | [
"MIT"
] | BrianH12345/runtime | src/coreclr/src/System.Private.CoreLib/src/System/Reflection/CustomAttribute.cs | 84,205 | C# |
using CmsShoppingCart.Models.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CmsShoppingCart.Models.ViewModels.Pages
{
public class SidebarVM
{
public SidebarVM()
{
}
public SidebarVM(SidebarDTO row)
... | 19.115385 | 49 | 0.583501 | [
"MIT"
] | ritchie200/cmsmvcwebsite | CmsShoppingCart/Models/ViewModels/Pages/SidebarVM.cs | 499 | 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.Diagnostics;
using System.Threading;
namespace System.Net
{
internal enum SocketPerfCounterName
... | 30.264706 | 102 | 0.693878 | [
"MIT"
] | Acidburn0zzz/corefx | src/System.Net.Sockets/src/System/Net/SocketPerfCounters.cs | 1,029 | C# |
namespace DistributedShop.Products.Dto
{
using DistributedShop.Common.Mediator.Contracts;
using System;
public class UpdateProductInputModel : ICommand
{
public UpdateProductInputModel(Guid id, string name, string description, string vendor, decimal price, int quantity)
{
t... | 24.483871 | 124 | 0.587615 | [
"MIT"
] | stoyanov7/DistributedShop | src/DistributedShop.Products/Dto/UpdateProductInputModel.cs | 761 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 32.935484 | 109 | 0.69001 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/EventBridge/Generated/Model/Internal/MarshallTransformations/SqsParametersMarshaller.cs | 2,042 | C# |
/*
Copyright (c) 2017, Kevin Pope, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and th... | 32.817647 | 133 | 0.751748 | [
"BSD-2-Clause"
] | mrtwizta/MatterControl | MatterControlLib/PrinterControls/ControlWidgets/TemperatureControls.cs | 5,581 | C# |
namespace FiveOhFirstDataCore.Data.Services
{
public interface IRefreshRequestService
{
/// <summary>
/// An <see cref="Action"/> that is called when a refresh is requested.
/// </summary>
public event Action RefreshRequested;
/// <summary>
/// Trigger the <see c... | 30.866667 | 99 | 0.613391 | [
"MIT"
] | 501stLegionA3/FiveOhFirstDataCore | FiveOhFirstDataCore.Core/Services/IRefreshRequestService.cs | 465 | C# |
using Bonsai;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
// TODO: replace this with the source output type.
using TSource = System.String;
namespace $rootnamespace$
{
public class $safeitemname$ : Source<TSource>
{
p... | 23 | 56 | 0.648221 | [
"MIT"
] | medengineer/Bonsai_3.0 | Bonsai.Templates/Bonsai.SourceTemplate/SourceTemplate.cs | 508 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace TBACS.BlazorGridCustomStyle.Server.Controllers
{
[Route("api/[controller]")]
[ApiCont... | 25.509804 | 95 | 0.581091 | [
"MIT"
] | edrohler/blogging-source | theming-across-products/Post03/src/TBACS.BlazorGridCustomStyle/Server/Controllers/FilesController.cs | 1,303 | C# |
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2022 @Olivier Lefebvre
using Aguacongas.IdentityServer.KeysRotation;
#if DUENDE
using Duende.IdentityServer.Stores;
using static Duende.IdentityServer.IdentityServerConstants;
#else
using IdentityServer4.Stores;
using static IdentityServer4.IdentityServerConstants;... | 49.859504 | 217 | 0.646445 | [
"Apache-2.0"
] | LibertyEngineeringMovement/TheIdServer | src/IdentityServer/Shared/Aguacongas.IdentityServer.KeysRotation.Shared/Extensions/ServiceCollectionExtensions.cs | 6,035 | C# |
using UnityEngine;
using UnityEngine.Events;
namespace MyFrameworkPure
{
public class UnityEventFloat : UnityEvent<float>
{
}
public class GestureTool : CSingletonMono<GestureTool>
{
public float HThreshold { get; set; }//水平阈值
public float VThreshold { get; set; }//垂直阈值
... | 25.178082 | 74 | 0.494015 | [
"MIT"
] | lihaiyang-xx/MyFrameworkPure | Tool/GestureTool.cs | 1,856 | C# |
using Alex.Blocks.Materials;
namespace Alex.Blocks.Minecraft.Slabs
{
public class StoneBrickSlab : Slab
{
public StoneBrickSlab() : base()
{
BlockMaterial = Material.Stone.Clone().WithHardness(1.5f);
//Hardness = 1.5f;
}
}
} | 18.461538 | 61 | 0.695833 | [
"MPL-2.0"
] | ConcreteMC/Alex | src/Alex/Blocks/Minecraft/Slabs/StoneBrickSlab.cs | 240 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using NuGet.VisualSt... | 41.87013 | 112 | 0.644541 | [
"Apache-2.0"
] | marcin-krystianc/NuGet.Client | test/NuGet.Clients.Tests/NuGet.PackageManagement.UI.Test/Utility/ProjectUtilityTests.cs | 3,224 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Nep;
using Newtonsoft.Json;
public class Example : MonoBehaviour // Change MonoBehaviour name for your class in unity
{
// NEP objects as global
Node node;
Subscriber sub;
// Example of message to send
class Msg
... | 23.236364 | 89 | 0.597027 | [
"MIT"
] | enriquecoronadozu/NEP_samples | ZMQ(recommended)/unity/master_local/sub.cs | 1,278 | C# |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Red.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Red.Formats.Red.Records.Enums;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CExplorationStateSkateSlide :... | 34.814815 | 139 | 0.740426 | [
"MIT"
] | bclnet/GameEstate | src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CExplorationStateSkateSlide.cs | 940 | C# |
using System.Windows;
using Elmah.Everywhere.Diagnostics;
namespace Wpf_Sample
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
// Make an ... | 30.358974 | 98 | 0.388514 | [
"Apache-2.0"
] | vincoss/vinco-logging-toolk | Source/Samples/Wpf_Sample/MainWindow.xaml.cs | 1,186 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 42.013699 | 136 | 0.603847 | [
"MIT"
] | hchungmsft/azure-powershell | src/ResourceManager/OperationalInsights/Commands.OperationalInsights/Search/RemoveAzureOperationalInsightsSavedSearchCommand.cs | 2,997 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Mahjong.Model
{
[Serializable]
public struct WaitingData
{
public Tile[] HandTiles;
public Tile[] WaitingTiles;
public override string ToString()
{
return $"HandTiles: {string.Join("", HandTiles)}, "
+ $"WaitingTiles:... | 22.028571 | 79 | 0.66537 | [
"MIT"
] | HitomiFlower/NaoMahjong | Assets/Scripts/Mahjong/Model/TransferData.cs | 771 | C# |
namespace mc_pi_csharp_df
{
public class McpiCsharp
{
private struct Fastrand
{
private ulong _rctr;
public void SplitMix64(ulong seed = 0x956126898) => _rctr = seed;
public double Rand()
{
_rctr %= 0xFFFFFFFF;
_rct... | 26.604651 | 77 | 0.386364 | [
"MIT"
] | noname0310/PythonBindingSample | mc_pi_csharp_df/Class1.cs | 1,146 | C# |
namespace OrbitalShell.Lib
{
/// <summary>
/// based on System.Runtime.RuntimeEnvironment
/// </summary>
public enum TargetPlatform
{
FreeBSD,
Linux,
OSX,
Windows,
Any,
Unspecified
}
} | 17.066667 | 50 | 0.53125 | [
"MIT"
] | OrbitalShell/Orbital-Shell | OrbitalShell-ConsoleApp/Lib/TargetPlatform.cs | 256 | 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;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Tags;
using Microsoft.VisualStudio.Core.Imaging;
using Microsoft.VisualStudio.... | 46.038776 | 161 | 0.512922 | [
"Apache-2.0"
] | ObsidianMinor/roslyn | src/EditorFeatures/Core/Shared/Extensions/GlyphExtensions.cs | 22,561 | C# |
using RWCustom;
using UnityEngine;
namespace CentiShields
{
sealed class CentiShield : Weapon
{
private static float Rand => Random.value;
new public float rotation;
new public float lastRotation;
public float rotVel;
public float lastDarkness = -1f;
public flo... | 39.191837 | 163 | 0.5402 | [
"CC0-1.0"
] | Dual-Iron/fisob-api | examples/centipede-shields/CentiShield.cs | 9,604 | C# |
using System;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.Extensions.Configuration;
using Micr... | 42.686747 | 162 | 0.613322 | [
"MIT"
] | burhanwani/dotnetlabs | ASPNetCoreLabs/NginxLoadBalancer/src/MyWebApi/Startup.cs | 3,543 | C# |
using BEDF.Domain.Entity;
namespace BEDF.Domain.Interfaces
{
public interface ITransactionRepository : IGenericRepository<Transaction>
{
}
}
| 17.222222 | 77 | 0.748387 | [
"MIT"
] | RMiike/MaratonaDiscovery | Back-End-Dev-Finance/src/domain/BEDF.Domain/Interfaces/ITransactionRepository.cs | 157 | C# |
using System;
using System.Collections.Generic;
using ZKWeb.Localize;
using ZKWeb.Plugins.Common.Base.src.UIComponents.ListItems.Interfaces;
using ZKWebStandard.Extensions;
namespace ZKWeb.Plugins.Common.Base.src.UIComponents.ListItems {
/// <summary>
/// 根据枚举值提供选项列表
/// </summary>
/// <typeparam name="... | 30.083333 | 95 | 0.691136 | [
"MIT"
] | 303248153/ZKWeb.Plugins | src/ZKWeb.Plugins/Common.Base/src/UIComponents/ListItems/ListItemFromEnum.cs | 766 | C# |
using System.Threading.Tasks;
using AElf.OS.Network.Application;
using AElf.OS.Network.Events;
using AElf.OS.Network.Grpc;
using AElf.OS.Network.Helpers;
using AElf.OS.Network.Infrastructure;
using AElf.OS.Network.Protocol.Types;
using AElf.Types;
using Grpc.Core;
using Shouldly;
using Volo.Abp.EventBus.Local;
using Xu... | 36.939024 | 111 | 0.637174 | [
"MIT"
] | ezaruba/AElf | test/AElf.OS.Network.Grpc.Tests/GrpcNetworkServerBootNodesTests.cs | 3,029 | C# |
using System.Reflection;
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("Famoser.MassPass.Tests")]
[assembly: Asse... | 38.277778 | 84 | 0.74238 | [
"MIT"
] | famoser/MassPass | Famoser.MassPass.Tests/Properties/AssemblyInfo.cs | 1,381 | C# |
using System;
namespace DefiningClasses
{
public class Person
{
private string name;
private int age;
public Person()
{
this.name = "No name";
this.age = 1;
}
public Person(int number) : this()
{
this.age... | 17.425 | 44 | 0.401722 | [
"MIT"
] | rumenand/HomeWork_Tasks | CSharp Advanced/06. Exercises Defining Classes/Problem 2. Creating Constructors/Person.cs | 699 | C# |
namespace oadr2b_ven.UserControls.OptSchedule
{
partial class ucOptStateButton
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 39.847619 | 107 | 0.575526 | [
"BSD-3-Clause"
] | epri-dev/OpenADR-Virtual-End-Node | oadr2b-ven/UserControls/OptSchedule/ucOptStateButton.Designer.cs | 4,186 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Xml.Schema;
using System.Xml.Xsl.Runtime;
namespace System.Xml
{
///... | 32.656627 | 153 | 0.468087 | [
"MIT"
] | 71221-maker/runtime | src/libraries/System.Private.Xml/src/System/Xml/Core/XmlEventCache.cs | 21,684 | C# |
using AerovelenceMod;
using Terraria.ModLoader;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Terraria;
using System.Collections.Generic;
using System.Linq;
using System;
using static Terraria.ModLoader.ModContent;
using System.Reflection;
namespace AerovelenceMod.Core.Prim
{
class ... | 39.263158 | 137 | 0.488829 | [
"MIT"
] | Arcri/AerovelenceMod | Core/Prim/LegPrimTrail.cs | 4,478 | C# |
/*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using UniJSON;
// Image 37: UniGLTF.dll - Assembly: UniGLTF, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null - Types 5565-5923
nam... | 33.65625 | 117 | 0.778087 | [
"MIT"
] | TotalJTM/PrimitierModdingFramework | Dumps/PrimitierDumpV1.0.1/UniGLTF/glTF_KHR_materials_unlit.cs | 1,079 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集
// 控制。變更這些屬性值可修改與組件關聯的
// 資訊。
[assembly: AssemblyTitle("webAp2")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProdu... | 25.527778 | 56 | 0.715996 | [
"Apache-2.0"
] | rainmakerho/cross-machines-formsbase-auth-sso | webAp2/Properties/AssemblyInfo.cs | 1,270 | 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/d3d12video.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Sy... | 40.666667 | 145 | 0.687842 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/um/d3d12video/D3D12_RESOURCE_COORDINATETests.cs | 1,466 | 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>
//---... | 42.458333 | 81 | 0.660451 | [
"MIT"
] | hetal-ahir/REV-SDK | examples/searchAndExportDocument/obj/Debug/netcoreapp2.1/searchAndExportDocument.AssemblyInfo.cs | 1,019 | C# |
using BookLovers.Base.Infrastructure.Queries;
using BookLovers.Publication.Infrastructure.Dtos.Publications;
namespace BookLovers.Publication.Infrastructure.Queries.Quotes
{
public class PaginatedUserQuotesQuery : IQuery<PaginatedResult<QuoteDto>>
{
public int ReaderId { get; set; }
public in... | 31.837209 | 91 | 0.597516 | [
"MIT"
] | kamilk08/BookLoversApi | BookLovers.Publication.Infrastructure/Queries/Quotes/PaginatedUserQuotesQuery.cs | 1,371 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Data.Entity;
using POC.Repository.Interface;
using POC.Models;
namespace POC.Repository.Implementation
{
public class RoleRepository : IRoleRepository
{
/// <summary>
/// Get RoleID Name by RoleName
/// </s... | 30.009434 | 138 | 0.377711 | [
"MIT"
] | sunil233/AngularPOC | POC.Repository/Repository/Implementation/RolesRepository.cs | 6,364 | C# |
// Copyright(c) 2021 Digital Asset(Switzerland) GmbH and/or its affiliates.All rights reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
namespace Daml.Ledger.Api.Data.Test.Factories
{
public static class TransactionTreeFactory
{
private static readonly DateTimeOffset _now = DateTime... | 58.352941 | 218 | 0.765121 | [
"Apache-2.0"
] | AndrewDCDrummond/daml-net | src/Daml.Ledger.Api.Data.Test/factories/TransactionTreeFactory.cs | 994 | C# |
using BenchmarkDotNet.Attributes;
using CryptoBase.Abstractions.SymmetricCryptos;
using CryptoBase.BouncyCastle.SymmetricCryptos.StreamCryptos;
using CryptoBase.SymmetricCryptos.StreamCryptos;
using System;
using System.Security.Cryptography;
namespace CryptoBase.Benchmark;
[MemoryDiagnoser]
public class RC4Benchmark... | 21.826087 | 66 | 0.768924 | [
"MIT"
] | HMBSbige/CryptoBase | CryptoBase.Benchmark/RC4Benchmark.cs | 1,004 | C# |
#pragma checksum "E:\home\development\blazer\OWFBlazorDemo\Pages\Counter.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "20ae260217ec86e891965ad991f995d07c2706da"
// <auto-generated/>
#pragma warning disable 1591
namespace OWFBlazorDemo.Pages
{
#line hidden
using System;
using System.Collections.Generic;
... | 31.834043 | 169 | 0.692554 | [
"MIT"
] | ssdhaliwal/OWFBlazor | obj/Debug/net5.0/Razor/Pages/Counter.razor.g.cs | 7,481 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using ServiceStack.Common;
using ServiceStack.IO;
using ServiceStack.Text;
using ServiceStack.WebHost.Endpoints;
namespace ServiceStack.VirtualPath
{
public interface IWriteableVirtualPathProvider
{
void A... | 30.359551 | 113 | 0.588083 | [
"BSD-3-Clause"
] | GSerjo/ServiceStack | src/ServiceStack/VirtualPath/InMemoryVirtualPathProvider.cs | 5,229 | C# |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Tests
{
using System;
using System.Collections.Generic;
using System.Globalization;
... | 45.111111 | 364 | 0.594975 | [
"MIT"
] | askazakov/azure-cosmos-dotnet-v3 | Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/CosmosClientTests.cs | 10,152 | 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.Generic;
using Xunit;
using static Interop;
namespace System.Windows.Forms.Tests
{
pu... | 38.721519 | 139 | 0.683557 | [
"MIT"
] | Amy-Li03/winforms | src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/SplitContainer.SplitContainerAccessibleObjectTests.cs | 3,061 | C# |
using System.Reflection;
// 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: AssemblyCompany("Microsoft Corporation")]
[assembly: AssemblyVersion("15.0.1.0")]
[assem... | 49.6 | 80 | 0.784274 | [
"MIT"
] | ChangDu2021/Interop-TestSuites | SharePoint/Source/MS-VIEWSS/Adapter/Properties/AssemblyInfo.cs | 496 | C# |
namespace Cedar.Handlers
{
using System.Collections.Generic;
public abstract class DomainEventMessage
{
public readonly dynamic DomainEvent;
public readonly IDictionary<string, object> Headers;
public readonly int Version;
public readonly string CheckpointToken;
pub... | 27.916667 | 100 | 0.591045 | [
"MIT"
] | AGiorgetti/Cedar | src/Cedar/Handlers/DomainEventMessage.cs | 1,342 | C# |
using Abp.Domain.Entities.Auditing;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
namespace HS.Farm.Core
{
[Table("AbpThuHoach")]
public class ThuHoach : FullAuditedEntity, IMayHaveTenant
{
[MaxLength(50)]
... | 28.190476 | 61 | 0.680743 | [
"MIT"
] | tranthebao/HS.Farm | aspnet-core/src/HS.Farm.Core/Farm/ThuHoach.cs | 594 | C# |
using pdxpartyparrot.Core;
using pdxpartyparrot.Core.Time;
using pdxpartyparrot.Core.Util;
using pdxpartyparrot.Game.Data.Characters.BehaviorComponents;
using UnityEngine;
namespace pdxpartyparrot.Game.Characters.BehaviorComponents
{
[RequireComponent(typeof(JumpBehaviorComponent))]
public class HoverBehavio... | 26.732984 | 127 | 0.549354 | [
"Apache-2.0"
] | pdxparrot/ssj2019 | Assets/Scripts/Game/Characters/BehaviorComponents/HoverBehaviorComponent.cs | 5,108 | C# |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pose;
namespace Pose.Tests.Mocks
{
[TestClass]
public class MockConstructorTests
{
public class MyClass
{
public MyClass()
{
MyProperty = 5;
}
public MyCl... | 23.768116 | 74 | 0.457927 | [
"MIT"
] | jonkeda/pose | test/Pose.Tests/Mocks/MockConstructorTests.cs | 1,642 | C# |
#if !NETSTANDARD2_0
using Microsoft.Online.SharePoint.TenantAdministration;
using Microsoft.SharePoint.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OfficeDevPnP.Core.Entities;
using OfficeDevPnP.Core.Framework.Graph;
using OfficeDevPnP.Core.Framework.Provisioning.Connectors;
using OfficeDevPnP.Co... | 42.508637 | 169 | 0.509189 | [
"MIT"
] | bricenocar/PnP-Sites-Core | Core/OfficeDevPnP.Core.Tests/Framework/Providers/BaseTemplateTests.cs | 22,149 | C# |
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Ateliex.Modules.Decisoes.Vendas
{
public class AoCalcularTaxaDeMarcacao : Test
{
protected CalculadoraDeTaxaDeMarcacao calculadoraDeTaxaDeMarcacao;
protected decimal custoFixo;
... | 24.634146 | 120 | 0.657426 | [
"MIT"
] | ateliex/UseCaseDrivenDesign | tests/Ateliex.Domain.Tests/Modules/Decisoes/Vendas/CalculadoraDeTaxaDeMarcacaoTests.cs | 1,012 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Diagnostics;
using System.Runtime.CompilerServices; // Do not remove. This is necessar... | 40.212389 | 180 | 0.455573 | [
"MIT"
] | AfsanehR-zz/corefx | src/Common/src/CoreLib/System/SpanHelpers.T.cs | 36,352 | 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... | 35.435294 | 130 | 0.648406 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/KeyManagementService/Generated/Model/Internal/MarshallTransformations/InvalidArnExceptionUnmarshaller.cs | 3,012 | C# |
using System;
using State.Fody;
public class Default
{
bool _isSyncing;
public bool IsLoading { get; set; }
[AddState("_isSyncing")]
public void TestField()
{
Console.WriteLine("TestField");
}
[AddState("IsLoading")]
public void TestProperty()
{
Console.WriteLine... | 17.428571 | 45 | 0.588525 | [
"MIT"
] | msioen/State.Fody | State.Fody.Tests/ValidAssemblyFiles/Default.cs | 612 | C# |
namespace ClassLib054
{
public class Class026
{
public static string Property => "ClassLib054";
}
}
| 15 | 55 | 0.633333 | [
"MIT"
] | 333fred/performance | src/scenarios/weblarge2.0/src/ClassLib054/Class026.cs | 120 | C# |
using Ordering.Domain.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Ordering.Application.Contracts.Persistence
{
public interface IAsyncRepository<T> where T : EntityBase
{
Task<IReadOnlyList<T>> GetAll... | 32.676471 | 83 | 0.635464 | [
"MIT"
] | CodeWithKashif/AspNetMicroservices | src/Services/Ordering/Ordering.Application/Contracts/Persistence/IAsyncRepository.cs | 1,113 | C# |
using Microsoft.AspNetCore.Identity;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Zero.Configuration;
using MRPanel.Authorization.Roles;
using MRPanel.Authorization.... | 32.782609 | 76 | 0.637268 | [
"MIT"
] | iPazooki/MRPanel | aspnet-core/src/MRPanel.Core/Authorization/LoginManager.cs | 1,510 | C# |
using BotSharp.Algorithm.HiddenMarkovModel.Helpers;
using BotSharp.Algorithm.HiddenMarkovModel.MathHelpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BotSharp.Algorithm.HiddenMarkovModel.Learning.Unsupervised
{
public partial class BaumWelchLearning : IUnsuper... | 34.098859 | 110 | 0.377007 | [
"Apache-2.0"
] | david0718/BotSharp | BotSharp.Algorithm/HiddenMarkovModel/Learning/Unsupervised/BaumWelchLearning.cs | 8,970 | C# |
#if !UNITY_ZEROPLAYER
using NUnit.Framework;
using Unity.Jobs;
namespace Unity.Entities.Tests
{
class IJobProcessComponentInjection : ECSTestsFixture
{
[DisableAutoCreation]
class TestSystem : JobComponentSystem
{
private struct Process1 : IJobForEach<EcsTestData>
... | 29.282609 | 78 | 0.548627 | [
"MIT"
] | ToadsworthLP/Millenium | Library/PackageCache/com.unity.entities@0.0.12-preview.30/Unity.Entities.Tests/IJobProcessComponentInjection.cs | 1,349 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YamlDotNet.RepresentationModel;
namespace VSKubernetes
{
class Kubernetes
{
public static Process RunPowerShellProcess(string path, string workingDirector... | 41.954887 | 223 | 0.595341 | [
"Apache-2.0"
] | cloudbase/VSKubernetes | VSKubernetes/Kubernetes.cs | 5,582 | C# |
// FILE AUTOGENERATED. DO NOT MODIFY
namespace Starfield.Core.Item.Items {
[Item("minecraft:dark_oak_trapdoor", 231, 64, 227)]
public class ItemDarkOakTrapdoor : BlockItem { }
} | 31.833333 | 56 | 0.712042 | [
"MIT"
] | StarfieldMC/Starfield | Starfield.Core/Item/Items/ItemDarkOakTrapdoor.cs | 191 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EntityFramework.Functions.Tests.Library")]
[assembly: Guid("27afffb0-bc81-40ea-9d93-55523e1aff06")]
| 31.833333 | 68 | 0.811518 | [
"MIT"
] | ChristosMylonas/EntityFramework.Functions | EntityFramework.Functions.Tests.Library/Properties/AssemblyInfo.cs | 193 | C# |
using System;
namespace Sexy
{
public abstract class SoundManager
{
public abstract void Release();
public abstract void Enable(bool enable);
public abstract bool Initialized();
public abstract bool LoadSound(uint theSfxID, string theFilename);
public abstract int LoadSound(string the... | 16.19697 | 74 | 0.730589 | [
"MIT"
] | OptiJuegos/Plants-VS-Zombies-NET | DotNETPvZ_Shared/Sexy/SoundManager.cs | 1,071 | C# |
namespace Sports.Models
{
public class Sport
{
public string Name { get; set; }
public uint FieldPlayers { get; set; }
public bool Goalie { get; set; }
public string Origin { get; set; }
public string Description { get; set; }
}
}
| 21.5 | 43 | 0.627907 | [
"MIT"
] | atkins126/I18N | Samples/ASP.NET/Framework/MVC/SportsOld/Models/Sport.cs | 260 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Shop.Web.Data.Entities
{
public class Product : IEntity
{
[Key]
public int Id { get; set; }
[MaxLength(50)]
[Required]
... | 24 | 83 | 0.602183 | [
"MIT"
] | EsauMtzxD/Shop | Shop/Shop.Web/Data/Entities/Product.cs | 1,010 | C# |
/* http://www.zkea.net/ Copyright 2016 ZKEASOFT http://www.zkea.net/licenses */
using System;
using System.Collections.Generic;
using Easy.IOC;
using Easy.Modules.Role;
namespace Easy.Models
{
public interface IUser : IEntity
{
string UserID { get; set; }
string NickName { get; set; }
s... | 32.195122 | 79 | 0.561364 | [
"Apache-2.0"
] | xcz1997/EasyFrameWork | EasyFrameWork/Models/IUser.cs | 1,320 | C# |
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace AMSApp.Storage {
public partial cla... | 27.177215 | 81 | 0.453656 | [
"Apache-2.0"
] | zhenghua75/AMSCenter | AMSApp/Storage/wfmPrintReceiveSend.aspx.designer.cs | 2,807 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RevloLib.Models.Rewards
{
public class Reward
{
[JsonProperty(PropertyName = "reward_id")]
public int RewardId { get; protected set; }
[J... | 33.758621 | 57 | 0.657814 | [
"MIT"
] | swiftyspiffy/RevloLib | RevloLib/Models/Rewards/Reward.cs | 981 | C# |
#region Copyright Simple Injector Contributors
/* The Simple Injector is an easy-to-use Inversion of Control library for .NET
*
* Copyright (c) 2013 Simple Injector Contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentatio... | 40.899408 | 120 | 0.592737 | [
"MIT"
] | theunrepentantgeek/SimpleInjector | src/SimpleInjector/Diagnostics/Debugger/ContainerDebugView.cs | 6,746 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace UI.Info
{
public partial class Form_Results : Form
{
public Form_Results()
... | 23.578947 | 70 | 0.583705 | [
"MIT"
] | angelrps/ARP_Toolkit | 2020/TransferWorksets/VS_TransferWorksets/UI/Form_Results.cs | 898 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using Microsoft.MixedReality.WebRTC;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace TestAppUwp
{
/// <summary>
/// Page for general application settings.
/// </summary>
public... | 33.638889 | 85 | 0.533939 | [
"MIT"
] | AltspaceVR/MixedReality-WebRTC | examples/TestAppUwp/SettingsPage.xaml.cs | 6,055 | C# |
using System.Collections.Generic;
using System;
using FFImageLoading.Config;
using FFImageLoading.Work;
using System.Net.Http;
using FFImageLoading.Helpers;
using FFImageLoading.Cache;
using System.Threading;
using System.IO;
using System.Threading.Tasks;
using System.Linq;
#if SILVERLIGHT
using FFImage... | 33.868946 | 207 | 0.629879 | [
"MIT"
] | klaaspolinder/FFImageLoading | source/FFImageLoading.Shared/ImageService.cs | 11,888 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.