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 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...
26.725
101
0.596352
[ "Apache-2.0" ]
akdor1154/aws-sdk-net
sdk/src/Services/DatabaseMigrationService/Generated/AmazonDatabaseMigrationServiceConfig.cs
2,138
C#

1.75
2
0
[ "MIT" ]
manekovskiy/Web-Forms-Routing-Through-Attributes
PhysicalFilePathUpdater.cs
9
C#
using System; using System.Threading.Tasks; using Orleans.Runtime; using Orleans.Serialization; using Microsoft.Extensions.Logging; using Microsoft.Extensions.DependencyInjection; namespace Orleans.Streams { internal class PersistentStreamProducer<T> : IInternalAsyncBatchObserver<T> { private readonly S...
40.862745
195
0.691459
[ "MIT" ]
angerico-carino/orleans
src/Orleans.Core/Streams/PersistentStreams/PersistentStreamProducer.cs
2,084
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...
34.892857
94
0.647219
[ "MIT" ]
DmitryGolubenkov/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Structs/PipelineCreationFeedbackCreateInfoEXT.gen.cs
2,931
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Metadata; using Sekai.Database.Models; namespace Sekai.Database.Context { public class TimelineContext : DbContext { public DbSet...
27.75
107
0.655405
[ "MIT" ]
drasticactions/sekai
Sekai/Sekai.Database/Context/TimelineContext.cs
890
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.461538
81
0.664926
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20210201Preview/Outputs/NetworkManagerPropertiesResponseNetworkManagerScopes.cs
1,149
C#
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif public class LayerHandler { public static bool[] layer_pack_used = new bool[4]; private LayerHandler() { for (int k = 0; k < 4; k++) layer_pack_used [k] = false; } private static LayerHandler _instance = null; public static LayerHandler ...
23.346405
64
0.740761
[ "MIT" ]
rush17m/zed-unity
ZEDCamera/Assets/ZED/SDK/Helpers/Scripts/Utilities/LayerHandler.cs
3,574
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace Vim.UnitTest { public abstract class StringUtilTest { public sealed class ReplaceNoCase : StringUtilTest { private void Expect(string source, string toFind, stri...
28.019608
108
0.441568
[ "Apache-2.0" ]
Kazark/VsVim
Test/VimCoreTest/StringUtilTest.cs
1,431
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03BarracksFactory.Contracts { public interface IUnit : IDestroyable, IAttacker { } }
16.214286
52
0.757709
[ "MIT" ]
BorislavBarov/OOP-Advanced-With-C-Sharp
Exercise/05. Reflection - Exercise/03.BarracksFactory/Contracts/IUnit.cs
229
C#
using System.Collections.Generic; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; namespace WebApplication.Models { // Add profile data for application users by adding properties to the ApplicationUser class public class ApplicationUser : IdentityUser { public List<UserPermission> Permiss...
28.916667
95
0.760807
[ "MIT" ]
aggieben/authorization-demo
Models/ApplicationUser.cs
347
C#
#pragma checksum "F:\DotNetSelfPractise_Home\source\MyProjects\YogiProjects\NextCRUD\Views\Person\Thanks.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "831c764df7527b4b6309c5905dfacf25555ba1f2" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAt...
59.868852
299
0.751232
[ "MIT" ]
Amphibian007/DotNetSelfPractise_Home
source/MyProjects/YogiProjects/NextCRUD/obj/Debug/netcoreapp3.1/Razor/Views/Person/Thanks.cshtml.g.cs
7,304
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Immutable; using osu.Framework.Input.Handlers; using osu.Framework.Input.StateChanges; using osu.Framework.Input.StateChanges.Events; usi...
36.33871
136
0.598313
[ "MIT" ]
EVAST9919/osu-framework
osu.Framework/Input/UserInputManager.cs
2,194
C#
using SpaceShared; using SpaceShared.APIs; using StardewModdingAPI; using StardewModdingAPI.Events; using StardewValley; namespace JumpOver { public class Mod : StardewModdingAPI.Mod { public static Mod instance; public static Configuration Config; /// <summary>The mod entry point, cal...
40.297521
147
0.522765
[ "MIT" ]
strobel1ght/StardewValleyMods
JumpOver/Mod.cs
4,878
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Linq; using Microsoft.Quantum.Simulation.Simulators; using Microsoft.Quantum.Simulation.Common; using Microsoft.Quantum.Simulation.Core; using CommandLine; using Microsoft.Quantum.Simulation.Simulators.QCTraceSimulat...
45.344262
148
0.608339
[ "MIT" ]
CyberNitta/Quantum
samples/algorithms/integer-factorization/Program.cs
8,300
C#
namespace Raspicam.Net.Mmal.Components.EncoderComponents { interface IImageEncoder : IEncoder { } }
21
57
0.771429
[ "MIT" ]
zeroexploit/MMALSharp
Source/Raspicam.Net/Mmal/Components/EncoderComponents/IImageEncoder.cs
107
C#
using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_ParticleSystemCollisionQuality : LuaObject { static public void reg(IntPtr l) { getEnumTable(l,"UnityEngine.ParticleSystemCollisionQuality"); addMember(l,0,"High"); addMember(l,1,"Medium"); addMember(l...
25.714286
73
0.758333
[ "MIT" ]
zhangjie0072/FairyGUILearn
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_ParticleSystemCollisionQuality.cs
362
C#
using System; namespace FormsSample.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty( RequestId ); } }
17.272727
66
0.736842
[ "MIT" ]
fjeller/Smarthouse.AspnetCore.Samples
__NetCore2/FormsSample/FormsSample/Models/ErrorViewModel.cs
190
C#
using Autofac; using Newbe.Claptrap.StorageProvider.Relational; namespace Newbe.Claptrap.StorageProvider.MySql.Module { public class MySqlStorageModule : Autofac.Module, IClaptrapAppModule { public string Name { get; } = "MySql storage module"; public string Description { get; } = "Module for s...
32.851852
109
0.602029
[ "MIT" ]
Z4t4r/Newbe.Claptrap
src/Newbe.Claptrap.StorageProvider.MySql/Module/MySqlStorageModule.cs
887
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Runtime.Serialization.Json; using System.Threading; using System.Threading.Tasks; using System.Threading.Tasks.Dataflow; using Microsoft.Extensions.Logging; u...
38.631579
278
0.619891
[ "MIT" ]
aksl2019/Aksl-2.0
Aksl.BulkInsert/Contoso/Contoso.ConsoleApp/Pipe/BatchBlock.cs
3,672
C#
using TMPro; using UnityEngine; namespace UI { [RequireComponent(typeof(TextMeshProUGUI))] public class UpdateSizeUI : MonoBehaviour { private TextMeshProUGUI _tmPro; private void Start() { _tmPro = GetComponent<TextMeshProUGUI>(); } public void Change...
19.380952
53
0.584767
[ "Apache-2.0" ]
Hadjime/ProjectPainter
Assets/Scripts/UI/UpdateSizeUI.cs
409
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...
28.676768
103
0.593519
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/UpdateBotRequest.cs
2,839
C#
using System.Collections.Generic; using System.Linq; namespace Sanakan.Web.Models { /// <summary> /// Describes user profile in a website. /// </summary> public class UserSiteProfile { /// <summary> /// The aggregated number of cards grouped by rarity. /// </summary> ...
29.036585
106
0.536749
[ "MPL-2.0" ]
Jozpod/sanakan
Web/Models/UserSiteProfile.cs
2,383
C#
namespace Acme.ShoppingCart.WebApi.Models.Responses { /// <summary> /// Configuration /// </summary> public class ConfigurationModel { /// <summary> /// Service bus configuration /// </summary> public ServicebusModel ServiceBus { get; set; } /// <summary> ...
29.7
63
0.575758
[ "MIT" ]
cortside/coeus
shoppingcart-api/src/Acme.ShoppingCart.WebApi/Models/Responses/ConfigurationModel.cs
594
C#
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1B6550EACFFCBCD0E3C4D10DD80D1379D5FE9024" //------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更...
31.546512
127
0.629193
[ "MIT" ]
MrViliam/NetCoreWpfMVVMPrismSample
PrismMetroSample/PrismMetroSample.Shell/obj/Debug/netcoreapp3.1/App.g.cs
2,821
C#
using Model.Effects; namespace Model.Items { class Poison : Item { public Poison() { Name = "Poison Potion"; UserTarget = TargetType.Any; SpriteNumber = 705; InColor = UnityEngine.Color.magenta; OutColor = UnityEngine.Colo...
23.913043
69
0.501818
[ "MIT" ]
unagi11/project21
Assets/Scripts/Model/Items/Poison.cs
550
C#
using System; using Microsoft.Azure.WebJobs; namespace HttpBinding { public static class HttpExtension { public static IWebJobsBuilder AddHttpBinding(this IWebJobsBuilder builder) { if (builder == null) { throw new ArgumentNullException(nameof(builder));...
21.55
82
0.584687
[ "MIT" ]
Jandev/CustomBindings
HttpBinding/HttpExtension.cs
433
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. using System; using System.Globalization; using System.Text; using static TerraFX.Utilities.HashUtilities; namespace TerraFX.Numerics { /// <summary>Defines a quaternio...
43.039604
176
0.566483
[ "MIT" ]
johnkellyoxford/terrafx
sources/Core/Numerics/Quaternion.cs
8,695
C#
// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. // edited in project using this as a submodule // INSTRUCTIONS // This set of utils is here to help custom action development, and scripts in general that wants to connect and work with PlayMaker API. public partial class PlayMakerUtils { // ...
45.8
140
0.762009
[ "MIT" ]
pdyxs/UnityProjectStarter
Assets/Plugins/Externals/PlayMaker Utils/PlayMakerUtils.cs
458
C#
using Microsoft.Extensions.Logging; using NICE.Identity.Authorisation.WebAPI.ApiModels; using NICE.Identity.Authorisation.WebAPI.Repositories; using System; using System.Collections.Generic; using System.Linq; namespace NICE.Identity.Authorisation.WebAPI.Services { public interface IJobsService { ...
36.491667
134
0.533912
[ "MIT" ]
nhsevidence/identity
NICE.Identity.Authorisation.WebAPI/Services/JobsService.cs
4,381
C#
using RimWorld; using System; using System.Linq; using System.Collections.Generic; using UnityEngine; using Verse; using AbilityUser; namespace TorannMagic { [StaticConstructorOnStartup] public class FlyingObject_DemonFlight : Projectile { private static readonly Color wingColor = new Color(10f, 1...
37.110721
484
0.47921
[ "BSD-3-Clause" ]
TorannD/TMagic
Source/TMagic/TMagic/FlyingObject_DemonFlight.cs
21,118
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; using System.Reflection; using System.Windows.Forms; using System.Security.AccessControl; using System.Security.Principal; using Microsoft.Win32; namespace Charlotte.Commons { public static ...
21.393617
117
0.650588
[ "MIT" ]
soleil-taruto/Elsa
e20201006_NovelAdv/Elsa20200001/Elsa20200001/Commons/ProcMain.cs
6,253
C#
/****************************************************************************** * Spine Runtimes License Agreement * Last updated January 1, 2020. Replaces all prior versions. * * Copyright (c) 2013-2020, Esoteric Software LLC * * Integration of the Spine Runtimes into software or otherwise creating * derivative...
42.641791
145
0.726986
[ "MIT" ]
BaekNothing/Dalpangyeekiwoogi
Assets/Spine/Runtime/spine-unity/Asset Types/AnimationReferenceAsset.cs
2,857
C#
using System; using System.IO; using Elide.Core; using Elide.Environment; using Elide.Scintilla; using Elide.Scintilla.ObjectModel; using System.Collections.Generic; namespace Elide.TextEditor { public abstract class TextDocument : Document { private SciDocument sciDoc; protecte...
23.288136
87
0.54294
[ "MIT" ]
vorov2/ela
Elide/Elide.TextEditor/TextDocument.cs
1,376
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("Ci...
38.135135
84
0.743444
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
NazliAksoy/todo
Data/Cil.Todo.Data.Model/Properties/AssemblyInfo.cs
1,414
C#
using System; using System.Collections.Specialized; using System.Diagnostics; using System.Net; using System.Text; using System.Threading.Tasks; using Nano.Web.Core; using Nano.Web.Core.Host.HttpListener; using NUnit.Framework; namespace Nano.Tests.SpeedTests { [TestFixture] public class FuncSpeedTest { ...
41.431034
141
0.596754
[ "MIT" ]
revnique/Nano
src/Nano.Tests/SpeedTests/FuncSpeedTest.cs
2,405
C#
/* MIT License Copyright(c) 2014-2018 Infragistics, Inc. 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 u...
34.686275
102
0.765404
[ "MIT" ]
IG-JM/BreakingChangesDetector
BreakingChangesDetector/TypeReferenceEqualityComparer.cs
1,771
C#
using OmniSharp; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("OmniSharp" + OmniSharpPublicKey.Key)] [assembly: InternalsVisibleTo("OmniSharp.Host" + OmniSharpPublicKey.Key)] [assembly: InternalsVisibleTo("OmniSharp.MSBuild" + OmniSharpPublicKey.Key)] [assembly: InternalsVisibleTo("OmniSharp.R...
54.363636
85
0.817726
[ "MIT" ]
Anakael/omnisharp-roslyn
src/OmniSharp.Shared/AssemblyInfo.cs
600
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /cgi-bin/account/fastregister 接口的请求。</para> /// </summary> public class CgibinAccountFastRegisterRequest : WechatApiRequest, IMapResponse<CgibinAccountFastRegisterRequest, CgibinAccountFastRegisterResponse> { ...
35.8125
151
0.666667
[ "MIT" ]
vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinAccount/CgibinAccountFastRegisterRequest.cs
623
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("Sp...
38.621622
84
0.746676
[ "Apache-2.0" ]
oromand/tennis-scoring
Sport.Scoring.Tennis.Console/Properties/AssemblyInfo.cs
1,432
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="RotateManipulator.cs" company="Helix 3D Toolkit"> // http://helixtoolkit.codeplex.com, license: MIT // </copyright> // ----------------------------------------------------------...
33.110638
120
0.508546
[ "BSD-3-Clause" ]
BigJohnn/KinectUI
HelixToolkit.Wpf/Visual3Ds/Manipulators/RotateManipulator.cs
7,783
C#
using EfficientDynamoDb.DocumentModel; namespace EfficientDynamoDb.Operations.BatchWriteItem { public class BatchWritePutRequest { /// <summary> /// A map of attributes and their values. Each entry in this map consists of an attribute name and an attribute value. /// </summary> ...
30.428571
127
0.678404
[ "MIT" ]
AllocZero/EfficientDynamoDb
src/EfficientDynamoDb/Operations/BatchWriteItem/BatchWritePutRequest.cs
426
C#
using NUnit.Framework; using System.Collections.Generic; namespace csharp { [TestFixture] public class GildedRoseTest { [Test] public void foo() { IList<Item> Items = new List<Item> { new Item { Name = "fixme", SellIn = 0, Quality = 0 } }; GildedRose app = n...
23.473684
104
0.556054
[ "MIT" ]
empalacios/GildedRose-Refactoring-Kata
csharp/GildedRoseTest.cs
448
C#
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com //------------------------------------------------------------------------------ // <copyright company="DMV"> // Copyright 2014 Ded Medve...
44.775862
199
0.642665
[ "Apache-2.0" ]
dedmedved/cheburashka
Cheburashka/Rules/Utility Classes/DMVRuleSetup.cs
2,599
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces { using Microsoft.Rest; using Models; using System.Collections; usin...
49.143541
519
0.548924
[ "Apache-2.0" ]
BrendanBeachBC/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/PmuareamarketeventsExtensions.cs
10,271
C#
using System; using UnityEngine; /// <summary> /// An object that can be grabbed and thrown by OVRGrabber. /// </summary> public class OVRCookedCopyGrabbable : OVRCookedGrabbable { [SerializeField] OVRCookedGrabbable grabbablePrefab; public override OVRCookedGrabbable GetGrabbable() { OVRCook...
28.538462
126
0.726415
[ "MIT" ]
gpiffaretti/ovrcooked
Assets/OVRCooked/Scripts/OVR/OVRCookedCopyGrabbable.cs
744
C#
using Content.Server.GameObjects.Components.Atmos; using Content.Server.GameObjects.Components.Mobs; using Content.Server.GameObjects.Components.Nutrition; using Content.Shared.GameObjects.Components.Damage; using Content.Shared.GameObjects.Verbs; using Robust.Server.Console; using Robust.Server.Interfaces.GameObjects...
32.611111
110
0.59046
[ "MIT" ]
AlphaQwerty/space-station-14
Content.Server/GlobalVerbs/RejuvenateVerb.cs
2,937
C#
using Polly; using Polly.Extensions.Http; using System; using System.Net.Http; using System.Threading.Tasks; namespace LocationFromIP.CodeTest.Infrastructure.WeatherApi { internal static class PollyPolicy { internal static IAsyncPolicy<HttpResponseMessage> Create() { va...
32.666667
87
0.61146
[ "MIT" ]
DanHarltey/CodeTest-LocationFromIP
src/LocationFromIP.CodeTest.Infrastructure/WeatherApi/PollyPolicy.cs
1,276
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...
27.674419
81
0.630252
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20200801/Outputs/VirtualApplianceSkuPropertiesResponse.cs
1,190
C#
using System.Runtime.Serialization; namespace Service.MarketProduct.Grpc.Models { [DataContract] public class ProductListGrpcResponse { [DataMember(Order = 1)] public MarketProductGrpcModel[] Products { get; set; } } }
20.727273
56
0.763158
[ "MIT" ]
MyJetEducation/Service.MarketProduct
src/Service.MarketProduct.Grpc/Models/ProductListGrpcResponse.cs
230
C#
using System; using System.Collections.Generic; using System.Text; namespace MathObjects { public static class AdditionTime { static public int Sum(int augEnd, int addEnd) { var sum = augEnd + addEnd; return sum; } static public decimal Sum(decimal augE...
20.021739
65
0.479913
[ "MIT" ]
Rjp76/Calctime
MathObjects/Addition.cs
923
C#
using UnityEngine; using static Assets.Core.Utils.GW; namespace Assets.Core.Controller.Environments { public static partial class GBE { public struct Environment { private const string copyright = "©"; private readonly string ipAddress; private readonly str...
30.1
110
0.535548
[ "MIT" ]
Devwarlt/r-unity-lite
Assets/Core/Controller/Environments/GBE.Environment.cs
1,508
C#
using System; using System.Text; namespace DoFactory.HeadFirst.State.Gumball { class GumballMachineTestDrive { static void Main(string[] args) { var gumballMachine = new GumballMachine(5); Console.WriteLine(gumballMachine); gumballMachine.InsertQuarter(); ...
29.896714
89
0.510364
[ "MIT" ]
kiapanahi/famous-design-patterns
Head First/DoFactory.HeadFirst.State.Gumball/GumballMachineTestDrive.cs
6,368
C#
#pragma warning disable SA1107,SA1127,SA1128,SA1402,SA1516,SA1515,SA1600 namespace OfaSchlupfer.MSSQLReflection.AST { using ScriptDom = Microsoft.SqlServer.TransactSql.ScriptDom; public interface IAuthorization { Identifier Owner { get; set; } } }
27
72
0.751852
[ "MIT" ]
FlorianGrimm/OfaSchlupfer
OfaSchlupfer.MSSQLReflection/AST/Nodes/IAuthorization.cs
270
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. To update the generation of this file, modify and re-call Little...
42.692565
166
0.596579
[ "MIT" ]
zengliugen/LittleBaby.Framework
UnityProject/Packages/LittleBaby.Framework.FixedMathematics/Runtime/Generated/ulong3.gen.cs
51,105
C#
using Core; using Core.Entities; using Core.Services.Interfaces; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using System; using System.Linq; using System.Threading.Tasks; using Willezone.Azure.WebJobs.Extensions.DependencyInjection; namespace Restaurant { public static class CreateSupplierO...
38.410256
142
0.690254
[ "MIT" ]
ecraciun/ServerlessRoboRestaurant
Restaurant/CreateSupplierOrderActivity.cs
1,498
C#
using System.Reflection; 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. [assembly: AssemblyTitle("LegendaryClient")] [...
44.46
96
0.758884
[ "BSD-2-Clause" ]
ResQue1980/RtmpsLegendaryClient
LegendaryClient/Properties/AssemblyInfo.cs
2,225
C#
namespace Merchain.Data.Models { public class ProductColor { public int ProductId { get; set; } public virtual Product Product { get; set; } public int ColorId { get; set; } public virtual Color Color { get; set; } } }
19.071429
52
0.59176
[ "MIT" ]
pavelMihhailov/CodingLife
Merchain/Data/Merchain.Data.Models/ProductColor.cs
269
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.802326
105
0.648657
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Route53/Generated/Model/HostedZoneOwner.cs
3,165
C#
using MO.Common.Collection; using MO.Common.Lang; using System.Xml; namespace MO.Common.Content { //============================================================ // <T>XML文档工具类。</T> //============================================================ public class RXml { // 扩展名 public const string ...
36.679775
99
0.425946
[ "Apache-2.0" ]
favedit/MoCross
Utiliy/Common/MuCommon/Content/RXml.cs
6,941
C#
// This file is part of Core WF which is licensed under the MIT license. // See LICENSE file in the project root for full license information. namespace CoreWf.Statements { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using CoreWf...
43.891304
166
0.453987
[ "MIT" ]
OIgnat/corewf
src/CoreWf/Statements/Compensate.cs
10,095
C#
/* * API Doctor * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * 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 ...
35.661538
95
0.673425
[ "MIT" ]
BarryShehadeh/apidoctor
ApiDoctor.Console/Auth/BasicAccount.cs
2,320
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System; using System.Linq; namespace Deformer { [CreateAssetMenu(menuName = "rsTools/MeshObject")] public class MeshDescription : ScriptableObject { [SerializeField] Mesh _mesh; [Seriali...
30.30137
112
0.52396
[ "MIT" ]
robertstratton630/unityComputeShaders
rsDeformerTools/Utils/MeshDescription.cs
4,424
C#
using System; using System.Collections; namespace IrProject.Indexing { /// <summary> /// Represents the page graph (or link graph) as an adjacency list. /// Used to build the graph by adding pages and links and return the calculated hub and authority scores. /// </summary> public class AHPageGraph { public st...
27.354286
106
0.645707
[ "Unlicense" ]
ic4f/oldcode
2007-ir-crawl-index-search/Indexing/AHPageGraph.cs
4,787
C#
// MyPlugin file generated by Kari. // This file should be included almost as-is in the generated output. // The text version of this file and the helpers for the attributes defined here are available in the // MyPluginAnnotations.Generated.cs version of this file. namespace Kari.Plugins.MyPlugin { // It is importa...
36.8
101
0.733696
[ "MIT" ]
AntonC9018/Kari
source/dotnet_new_templates/basic_plugin_project/MyPluginAnnotations.cs
920
C#
using _03_Challenge_Repository; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03_Challenge_Console { public class ProgramUI { private BadgesRepository _repo = new BadgesRepository(); public void Run() { ...
35.3663
124
0.41595
[ "MIT" ]
CazaresCode/GoldBadge_Challenges
03_Challenge_Console/ProgramUI.cs
9,657
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Cus.Entities.Entities { public class Shippers { public int ShipperID {get; set;} public string CompanyName {get; set;} public string Phone {get; set;} } }
16.375
39
0.736641
[ "Unlicense" ]
wugelis/Cus.WebForm
Cus.Entities/Entities/Shippers.cs
262
C#
#pragma warning disable 1591 using System; using System.Collections.Generic; using System.Text; namespace AjaxControlToolkit { public interface IClientStateManager { bool SupportsClientState { get; } void LoadClientState(string clientState); string SaveClientState(); } } #pragma warn...
21
49
0.735119
[ "BSD-3-Clause" ]
sergiolmachado/AjaxControlToolkit-master
AjaxControlToolkit/ExtenderBase/IClientStateManager.cs
336
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Web; using Azure.Storage.Files.Shares; using Frank.Libraries.AzureStorage.FileShare.Exceptions; using Microsoft.Extensions.Options; namespace Frank.Libraries.AzureStorage.FileShare { publ...
35.611111
172
0.567343
[ "MIT" ]
frankhaugen/Frank.Extensions
src/Frank.Libraries.AzureStorage/FileShare/FileShareClient.cs
5,771
C#
using ay.Controls; using System; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Media.Media3D; namespace Ay.Framework.WPF.Controls.Transitions { // Base class for 3D transitions public abstract class Transition3D : Transition { static Transitio...
42.824074
166
0.573189
[ "MIT" ]
WertherHu/AYUI8Community
Ay/ay/SDK/ThreeLib/Transitions/Transition3D.cs
4,625
C#
using Xunit; namespace erp2018abp.Tests { public sealed class MultiTenantFactAttribute : FactAttribute { public MultiTenantFactAttribute() { if (!erp2018abpConsts.MultiTenancyEnabled) { Skip = "MultiTenancy is disabled."; } } } }
20
64
0.565625
[ "MIT" ]
vban528/erp2018abp
src/Tests/erp2018abp.Tests/MultiTenantFactAttribute.cs
322
C#
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage( "D...
47.914286
104
0.750745
[ "MIT" ]
lanceccraig/SpreadsheetIO
tests/TestingSuppressions.cs
1,677
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; using Excel; using System.Data; namespace ExifRemover { class ExcelImporter { public void ImportListExcel(string filepath) { using (FileStream stream = File.Open(filepath, FileMode.Open, FileAccess....
32.556604
110
0.34164
[ "MIT" ]
fourDotsSoftware/ExifRemover
ExifRemover/ExcelImporter.cs
3,453
C#
// *********************************************************************** // Assembly : XLabs.Platform.WP81 // Author : XLabs Team // Created : 12-27-2015 // // Last Modified By : XLabs Team // Last Modified On : 01-04-2016 // ****************************************************************...
34.523529
143
0.548645
[ "Apache-2.0" ]
Bhekinkosi12/Xamarin-Forms-Labs
src/Platform/XLabs.Platform.Shared/Services/IO/FileManager.cs
5,869
C#
/** * @file * @author Mamadou Babaei <info@babaei.net> * @version 0.1.0 * * @section LICENSE * * (The MIT License) * * Copyright (c) 2018 - 2019 Mamadou Babaei * Copyright (c) 2018 - 2019 Seditious Games Studio * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this soft...
32.577778
113
0.687813
[ "MIT" ]
SeditiousGames/GodsOfDeceit
Source/GodsOfDeceitVersion/GodsOfDeceitVersion.Build.cs
4,398
C#
// Copyright (c) Arun Mahapatra. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Cliy.Template.Tests; using Boxed.DotnetNewTest; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Threading.Tasks; ...
31.653846
102
0.658566
[ "MIT" ]
codito/cliy
test/CliyTemplateTest.cs
1,646
C#
using System.IO; using Zaabee.Extensions; namespace Zaabee.Binary { public static partial class BinaryHelper { public static MemoryStream Pack(object obj) => obj is null ? new MemoryStream() : BinarySerializer.Pack(obj); public static void Pack(object obj, Stream stream) {...
31.869565
106
0.633015
[ "MIT" ]
Mutuduxf/Zaabee.Serializers
src/Zaabee.Binary/Binary.Helper.Stream.cs
735
C#
using ALE.ETLBox; using ALE.ETLBox.ConnectionManager; using ALE.ETLBox.ControlFlow; using ALE.ETLBox.DataFlow; using ALE.ETLBox.Helper; using ALE.ETLBox.Logging; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using Xunit; namespace ALE.ETLBoxTe...
31.7
107
0.539883
[ "MIT" ]
HaSaM-cz/etlbox
TestsPerformance/src/LeaveConnectionOpenTests.cs
2,221
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 19.10.2021. using Microsoft.EntityFrameworkCore.Migrations.Operations; using NUnit.Framework; using xEFCore=Lcpi.E...
27.394089
122
0.639813
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D2/Migrations/Generations/SET001/DataTypes/Clr/Guid/TestSet_ERR002__bad_Precision.cs
5,563
C#
using Godot; using System.Collections.Generic; public class Game : Node2D { public List<string> Levels = new List<string>(); private PackedScene menuScene = null; private Transition transition = null; private Player player = null; private int currentId = -1; private Node currentLevel = null; ...
24.421053
80
0.58944
[ "MIT" ]
Nimmda/LD46
Scripts/Game.cs
1,856
C#
/* Copyright (c) 2018, Lars Brubaker, 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...
35.612245
127
0.759026
[ "BSD-2-Clause" ]
Bhalddin/MatterControl
MatterControlLib/ApplicationView/LogoSpinner.cs
3,492
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using System.IO; using System.Threading.Tasks; namespace OrderProcessor { public static class DeliveryOrderProces...
36.04878
173
0.64276
[ "MIT" ]
BhuvanRam/AzureHomeTask
OrderProcessor/DeliveryOrderProcessor.cs
1,478
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.EntityFrameworkCore.Storage.ValueConversion; /// <summary> /// Converts strings to and from <see cref="bool" /> values. /// </summary> /// <remarks> /// ...
37.122449
137
0.638813
[ "MIT" ]
Applesauce314/efcore
src/EFCore/Storage/ValueConversion/StringToBoolConverter.cs
1,819
C#
using Hybrid.Quartz.Dashboard.Models.Dtos; using Microsoft.AspNetCore.Mvc; using Quartz; using System.Threading.Tasks; namespace Hybrid.Quartz.Dashboard.Controllers { /// <summary> /// 定时任务 /// </summary> public class JobsController : QuartzBaseController { public IActionResult Index() ...
22.107692
117
0.545581
[ "Apache-2.0" ]
ArcherTrister/ESoftor
src/Hybrid.Quartz/Dashboard/Controllers/JobsController.cs
1,447
C#
using UnityEngine; public class PortalCamera : MonoBehaviour { public Transform playerCamera; public Transform portal; public Transform otherPortal; void Update () { Vector3 playerOffsetFromPortal = playerCamera.position - otherPortal.position; transform.position = portal.position + pl...
37.95
122
0.774704
[ "MIT" ]
oddlord/gamedev-projects
unity/Portals/Assets/PortalCamera.cs
761
C#
/* * This file is part of LuaInterface. * * Copyright (C) 2003-2005 Fabio Mascarenhas de Queiroz. * Copyright (C) 2012 Megax <http://megax.yeahunter.hu/> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to ...
25.861702
80
0.70835
[ "MIT" ]
tstavrianos/Lua.NET
LuaInterface/LuaUserData.cs
2,433
C#
using UnityEngine; using UnityEngine.UI; namespace EcsLite.UI { [RequireComponent (typeof (ScrollRect))] public sealed class EcsUiScrollViewAction : EcsUiActionBase { ScrollRect _scrollView; void Awake() { _scrollView = GetComponent<ScrollRect>(); _scrollVie...
26.142857
79
0.579235
[ "MIT" ]
supremestranger/EcsLite-ui
Runtime/Actions/EcsUiScrollViewAction.cs
732
C#
using FluentAssertions; using System; using System.Linq; using Xunit; namespace PrettyConsoleHelper.Tests { public enum Season { Summer, Winter } public class InputHelperTests { readonly MockPrettyConsole _console = new(); readonly InputHelper _subject; p...
31.5625
126
0.590382
[ "MIT" ]
chrisK00/PrettyConsoleHelper
PrettyConsoleHelper.Tests/InputHelperTests.cs
3,537
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
37.55814
98
0.67678
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/apps/alertcenter/v1beta1/google-cloud-apps-alertcenter-v1beta1-csharp/Google.Apps.AlertCenter.V1Beta1.StandaloneSnippets/AlertCenterServiceClient.GetAlertMetadataRequestObjectSnippet.g.cs
1,615
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Gui.Crm.Services.Hosts.WebApi.Migrations { public partial class Product_Filter : Migration { protected override void Up(MigrationBuilder migrationBuilder) { } protected override void Down(MigrationBuilder migrationBuil...
19.666667
71
0.677966
[ "MIT" ]
xiillii/crm.services
src/hosts/Gui.Crm.Services.Hosts.WebApi/Migrations/20210418070313_Product_Filter.cs
356
C#
//---------------------------------------------- // Flip Web Apps: Game Framework // Copyright © 2016 Flip Web Apps / Mark Hewitt // // Please direct any bugs/comments/suggestions to http://www.flipwebapps.com // // The copyright owner grants to the end user a non-exclusive, worldwide, and perpetual license to ...
47.762712
124
0.682399
[ "MIT" ]
Kaiweitu/eecs494_p3
Assets/FlipWebApps/BeautifulTransitions/Scripts/Transitions/Editor/PlayMakerActions/BT_WipeScreenEditor.cs
2,821
C#
namespace LTPTranslations.Data.Common.Models { using System; public interface IAuditInfo { DateTime CreatedOn { get; set; } DateTime? ModifiedOn { get; set; } } }
16.5
45
0.621212
[ "MIT" ]
AntoniyaIvanova/SoftUni
C#/C# Web/ASP.NET Core/Final Project/Data/LTPTranslations.Data.Common/Models/IAuditInfo.cs
200
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using log4net; using Manufacturing.Framework.Dto; namespace Manufacturing.DataCollector { public class MemoryRecordRepository : ILocalRecordRepository { private static readonly List<DatasourceRecord> Records = ...
26.884615
109
0.534335
[ "Apache-2.0" ]
ytechie/Manufacturing.DataCollector
MemoryRecordRepository.cs
1,400
C#
// ----------------------------------------------------------------------------- // Copyright (c) 2020 Paul C. // Licensed under the MPL 2.0 license. See LICENSE.txt for full information. // ----------------------------------------------------------------------------- namespace PoorMan.Mocks { using System; u...
35.75
84
0.502225
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
pcnova/poorman-mocks
Mocks/AddedBehavior.cs
1,575
C#
using ADP_HomeWork.DataBase.Tables; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace WCFService { [ServiceContract] public interface INewsService { [OperationContract] List<N...
19.205882
55
0.664625
[ "MIT" ]
Mohammed95m/ADP_HomeWork
WCFService/INewsService.cs
655
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Text.RegularExpressions; using System.Threading.Tasks; using MapleFedNet.Model; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace MapleFedNet { public static class Mast...
38.798246
114
0.54454
[ "MIT" ]
IsaacSchemm/MapleFedNet
MapleFedNet/Common/HttpHelper.cs
8,848
C#
using System; using System.Collections.Generic; namespace Dissonance.Engine { internal sealed class MessageManager : EngineModule { private static class MessageData<T> where T : struct { public static List<T>[] messagesByWorld = Array.Empty<List<T>>(); static MessageData() { ClearLists += Clear; ...
21.446154
84
0.685796
[ "MIT" ]
Mirsario/DissonanceEngine
Src/Core/ECS/Messages/MessageManager.cs
1,396
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> //--...
34.516129
151
0.583178
[ "MIT" ]
mantamusica/interfacesDesign
UD2_InterfacesXML/Ejercicios basicos/WpfApplication2/Properties/Settings.Designer.cs
1,072
C#
using System; using System.Text; namespace S22.Imap.Auth.Sasl.Mechanisms.Ntlm { /// <summary> /// Represents an NTLM Type 1 Message. /// </summary> internal class Type1Message { /// <summary> /// The NTLM message signature which is always "NTLMSSP". /// </summary> static readonly string signature = "NTLMS...
28.518248
79
0.6688
[ "MIT" ]
AlexSte/S22.Imap
Auth/Sasl/Mechanisms/Ntlm/Type1Message.cs
3,909
C#
//****************************************************************************************************** // IBinaryImageParser.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See ...
43.182927
132
0.589099
[ "MIT" ]
gemstone/common
src/Gemstone/IO/Parsing/IBinaryImageParser.cs
3,544
C#
using System; using System.Threading; using Zero.Foundation.Aspect; using Zero.Foundation.Daemons; namespace Zero.Foundation.Unity { public class ExpireStaticLifetimeDaemon : ChokeableClass, IDaemonTask { public ExpireStaticLifetimeDaemon(IFoundation iFoundation) : base(iFoundation) { ...
25.409091
104
0.48062
[ "MIT" ]
wmansfield/zero.foundation
Zero.Foundation.Core/Unity/ExpireStaticLifetimeDaemon.cs
3,354
C#