content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
namespace FloydPink.Flickr.Downloadr.UnitTests.HelperTests { using NUnit.Framework; using Repository.Helpers; [TestFixture] public class CryptTests { private const string CryptKey = "kn98nkgg90sknka242342234038234(&9883!@%^"; [Test] public void WillEncryptDecryptToken() { ...
30.0625
92
0.66736
[ "MIT" ]
pyliu/flickr-downloadr-gtk
source/FloydPink.Flickr.Downloadr.UnitTests/HelperTests/CryptTests.cs
483
C#
// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit) // Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus // Forum & Issues: https://github.com/zzzprojec...
44.916667
191
0.672542
[ "MIT" ]
Ahmed-Abdelhameed/EntityFramework-Plus
src/Z.Test.EntityFramework.Plus.EFCore.Shared/QueryFilter/DbSet_Filter/WithInclude/ManyFilter_Disabled.cs
2,159
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using System....
39.743802
163
0.640258
[ "MIT" ]
kevingosse/diagnostics
src/tests/dotnet-monitor/DiagnosticsMonitorTests.cs
4,809
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class worldProxyMeshAdvancedBuildParams : CVariable { [Ordinal(0)] [RED("boundingBoxSyncParams")] public worldProxyBoundingBoxSyncParams BoundingBoxSyncParams ...
41.25
122
0.732121
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/worldProxyMeshAdvancedBuildParams.cs
806
C#
 namespace NUSA { partial class NUSAForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param n...
47.264423
137
0.613315
[ "MIT" ]
denism122/NUSA
MainForm.Designer.cs
19,821
C#
namespace org.nxbre { using System; using System.Xml.XPath; using net.ideaity.util; using org.nxbre.rule; /// <summary> /// This interface defines the Flow Engine (FE) of NxBRE. /// </summary> /// <author>David Dossot</author> /// <version>2.5</version> public interface IFlowEngine : IIniti...
26.956522
89
0.616129
[ "MIT" ]
Peidyen/NxBRE
NxBRE2/Source/org/nxbre/IFlowEngine.cs
1,860
C#
using Microsoft.Extensions.Configuration; using System.Xml; using Zhoubin.Infrastructure.Common.Config; namespace Zhoubin.Infrastructure.Common.Test.Config { public sealed class Entity : ConfigEntityBase { public string Propety { get { return GetValue<string>("Propety"); } set { SetValue("Propety", va...
35
116
0.705495
[ "Apache-2.0" ]
cdzhoubin/Infrastructure.Net.Core
Source/Test/Common.Test/Config/Entity.cs
457
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. namespace System.Data.Entity.Core.Common.CommandTrees.Internal { using System.Collections.Generic; using System.Collections.ObjectModel; internal sealed class Db...
31.0625
144
0.714286
[ "MIT" ]
dotnet/ef6tools
src/EntityFramework/Core/Common/CommandTrees/Internal/ExpressionList.cs
497
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NFX.DataAccess.Distributed; namespace UserGraph { public class User { public User() { } public long ID { get; set; } public string Name { get; se...
22.084337
63
0.581015
[ "Apache-2.0" ]
aumcode/piledemo
UserGraph/IUserGraph.cs
1,835
C#
namespace EveOnlineApi; /// <summary> /// level object /// </summary> [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.5.0 (NJsonSchema v10.6.6.0 (Newtonsoft.Json v9.0.0.0))")] public record Levels { [System.Text.Json.Serialization.JsonConstructor] public Levels(flo...
24.116279
122
0.55352
[ "MIT" ]
frankhaugen/Frank.Extensions
src/Frank.Libraries.Gaming/Engine/EveOnlineApi/Levels.cs
1,037
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
32.644068
104
0.65784
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CostExplorer/Generated/Model/CreateAnomalyMonitorRequest.cs
1,926
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DotNetty.Transport.Libuv { using System.Threading.Tasks; using DotNetty.Transport.Channels; public sealed class EventLoop : LoopExecutor, IEvent...
30.636364
101
0.686944
[ "MIT" ]
cnxy/DotNetty
src/DotNetty.Transport.Libuv/EventLoop.cs
676
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Threading.Tasks; using LLVMSharp; using NationalInstruments.Compiler; using NationalInstruments.Core; using NationalInstruments.Dfir; using NationalInstruments.ExecutionFramework; using NationalInstrum...
43.006329
158
0.660927
[ "MIT" ]
FeatureToggleStudy/rebar
src/Rebar/RebarTarget/FunctionCompileHandler.cs
6,797
C#
namespace Fooidity.ContainerTests { using System; using System.Collections.Generic; using Autofac; using Autofac.Core; using Contexts; using Contracts; using Features; using Modules; using NUnit.Framework; [TestFixture] public class Configuring_the_container_...
31.831858
115
0.568807
[ "Apache-2.0" ]
phatboyg/Fooidity
src/Fooidity.ContainerTests/ContextContainer_Specs.cs
3,599
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.227273
155
0.62477
[ "MIT" ]
andrueastman/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/PermissionGrantPolicyIncludesCollectionRequestBuilder.cs
2,721
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.MarkdownLite.Tests { using System.Linq; using Microsoft.DocAsCode.MarkdownLite; using Xunit; public class PerfTest ...
23.116279
102
0.612173
[ "MIT" ]
ghuntley/docfx
test/Microsoft.DocAsCode.MarkdownLite.Tests/PerfTest.cs
1,990
C#
/******************************************************************************** The MIT License(MIT) Copyright(c) 2016 Copyleaks LTD (https://copyleaks.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to de...
42.972973
82
0.677987
[ "MIT" ]
Copyleaks/.net-core-plagiarism-checker
CopyleaksAPI/Models/Responses/Download/FullSuspectedComparisonLayerValues.cs
1,592
C#
#pragma checksum "C:\Users\lord\source\repos\ClearPost\ClearPost\Views\Student\Create.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5fdd0598aa2d97c335c5059ed20d0186524ba994" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspN...
73.427027
359
0.742049
[ "MIT" ]
koninlord/ClearPost
ClearPost/obj/Debug/netcoreapp3.1/Razor/Views/Student/Create.cshtml.g.cs
27,168
C#
namespace UnleashedOrleans.Grains { public class EventHandlerGrainBase { } }
13.714286
39
0.65625
[ "MIT" ]
zdeneksejcek/DDDwithOrleans
src/UnleashedOrleans.Grains/EventHandlerGrainBase.cs
98
C#
/** * Copyright 2013 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
39.206107
104
0.613902
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-ccda-r1_1/Main/Ca/Infoway/Messagebuilder/Model/Ccda_r1_1/Basemodel/ServiceEvent.cs
5,136
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
37.05
99
0.765857
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-rds/Rds/Transform/V20140815/CheckDBNameAvailableResponseUnmarshaller.cs
1,482
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; namespace Charlotte.Tools { public static class FileTools { public static void Delete(string path) { if (File.Exists(path)) { for (int c = 1; ; c++) { try { ...
20.060606
81
0.562941
[ "MIT" ]
stackprobe/Annex
Junk/ProjectTemplate/CSLauncher/Programs/00_Common/Common/Tools/FileTools.cs
2,360
C#
using DragonSpark.Compose; using DragonSpark.Model.Results; using Microsoft.AspNetCore.SignalR.Client; using System; namespace DragonSpark.Application.Connections; public class ClientConnection : Result<HubConnection> { protected ClientConnection(IHubConnections connections, Uri location) : base(connections.Then(...
28.5
70
0.818713
[ "MIT" ]
DragonSpark/Framework
DragonSpark.Application/Connections/ClientConnection.cs
344
C#
using System.Collections; using System.Collections.Generic; public class pt_cart_escort_succ_d616 : st.net.NetBase.Pt { public pt_cart_escort_succ_d616() { Id = 0xD616; } public override st.net.NetBase.Pt createNew() { return new pt_cart_escort_succ_d616(); } public override void fromBinary(byte[] binary) ...
19.44
59
0.73251
[ "BSD-3-Clause" ]
cheng219/tianyu
Assets/Protocol/pt_cart_escort_succ_d616.cs
486
C#
using System; namespace GetServerStorageInfo { class Program { //static string MyIPAddress = "192.168.1.111"; static void Main(string[] args) { try { Console.Write("Please enter valid server IP address: "); var readServerIPAddress...
27.647059
85
0.474468
[ "MIT" ]
shahedbd/ServerStorageDetails
Sln.GetServerStorageInfo/GetServerStorageInfo/Program.cs
942
C#
using System; namespace Talkinator.UWP.Services { public class OnBackgroundEnteringEventArgs : EventArgs { public SuspensionState SuspensionState { get; set; } public Type Target { get; private set; } public OnBackgroundEnteringEventArgs(SuspensionState suspensionState, Type target) ...
23.555556
90
0.65566
[ "MIT" ]
ikarago/Talkinator
Talkinator/Talkinator.UWP/Services/OnBackgroundEnteringEventArgs.cs
426
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...
32.779221
106
0.643819
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/GameLift/Generated/Model/DescribeGameSessionQueuesResponse.cs
2,524
C#
//----------------------------------------------------------------------------- // Filename: SIPConstants.cs // // Description: SIP constants. // // Author(s): // Aaron Clauson (aaron@sipsorcery.com) // // History: // 17 Sep 2005 Aaron Clauson Created, Hobart, Australia. // // License: // BSD 3-Clause "New...
40.582451
190
0.558919
[ "Apache-2.0" ]
grishinrv/sipsorcery
src/core/SIP/SIPConstants.cs
26,825
C#
using System.Collections.Generic; using System.IO; using System.Linq; using Buildalyzer; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Emit; using Microsoft.Extensions.Logging; using Stryker.Core.Exceptions; using Stryker.Core.Initialisation.Buildalyzer; using Stryker.C...
43.591623
219
0.624069
[ "Apache-2.0" ]
AlexNDRmac/stryker-net
src/Stryker.Core/Stryker.Core/Compiling/CsharpCompilingProcess.cs
8,326
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using StudentsFirst.Api.Monolithic.Infrastructure; #nullable disable ...
35.653846
89
0.444564
[ "MIT" ]
saraetx/studentsfirst
StudentsFirst.Api.Monolithic/Data/Migrations/StudentsFirstContextModelSnapshot.cs
8,345
C#
using System; namespace J2N.IO { /// <summary> /// A <see cref="BufferOverflowException"/> is thrown when elements are written /// to a buffer but there is not enough remaining space in the buffer. /// </summary> // It is no longer good practice to use binary serialization. // See: https://gi...
45.698113
175
0.66763
[ "Apache-2.0" ]
introfog/J2N
src/J2N/IO/BufferOverflowException.cs
2,424
C#
using System; namespace Spdy.AspNetCore.IntegrationTests.TestFramework.Helpers { internal class DisposableAction : IDisposable { private readonly Action _dispose; public DisposableAction(Action dispose) { _dispose = dispose; } public void Dispose() ...
19.157895
64
0.587912
[ "MIT" ]
Fresa/Spdy.AspNetCore
tests/Spdy.AspNetCore.IntegrationTests/TestFramework/Helpers/DisposableAction.cs
366
C#
using System.Text; using UnityEngine; using UnityEditor; namespace Adic.Extenstions.BindingsPrinter { /// <summary> /// Prints bindings from containers in the current scene. /// </summary> public class BindingsPrinterWindow : EditorWindow { /// <summary>Window margin value.</summary> p...
38.512821
121
0.561474
[ "MIT" ]
intentor/adic
src/Assets/Adic/Scripts/Extensions/BindingsPrinter/Editor/BindingsPrinterWindow.cs
4,508
C#
// <copyright file="SaveCommandParameter.cs" company="WillowTree, LLC"> // Copyright (c) WillowTree, LLC. All rights reserved. // </copyright> using System.Collections.Generic; using WillowTree.Sweetgum.Client.Environments.Models; namespace WillowTree.Sweetgum.Client.Workbooks.Models { /// <summary> /// The s...
30.153846
87
0.663265
[ "MIT" ]
RealGoodAnthony/Sweetgum
src/Client/Workbooks/Models/SaveCommandParameter.cs
784
C#
namespace Faraboom.Framework.DataAccess { /// <summary> /// The sole purpose of this class is to be used as type for the generic ILogger<typeparamref name="T"/> /// </summary> public class DataAccess { } }
23.1
108
0.645022
[ "Apache-2.0" ]
faraboom/framework
Faraboom.Framework/DataAccess/DataAccess.cs
233
C#
using Dapper; namespace DataDude.Instructions.Execute { public class ExecuteInstruction : IInstruction { public ExecuteInstruction(string sql, object? parameters = null) { Sql = sql; Parameters = new DynamicParameters(parameters); } public string Sql { ...
22.823529
72
0.621134
[ "MIT" ]
carl-berg/data-dude
DataDude/Instructions/Execute/ExecuteInstruction.cs
390
C#
using GalaSoft.MvvmLight.Command; using Microsoft.Win32; using Microsoft.WindowsAPICodePack.Dialogs; using SHM.UI.Pages; using SHM.Utilities; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; names...
41.706897
202
0.581025
[ "MIT" ]
MRGhidini/SHM
SHM.UI/ViewModel/SettingsViewModel.cs
4,840
C#
using System; using System.IO; using System.Threading.Tasks; using Esquire.Data; using Esquire.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace esquire_backend.Controllers { [Produces("application/...
36.336
159
0.560326
[ "Apache-2.0" ]
CDCgov/phlip-backend
Controllers/ExportController.cs
4,544
C#
using System; using System.Xml.Serialization; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; using JdSdk.Request; using JdSdk.Response.Im; namespace JdSdk.Request.Im {  public class ImPopGroupinfoGetRequest : JdRequestBase<ImPopGroupinfoGetResponse> { public overri...
21.28
85
0.68985
[ "Apache-2.0" ]
starpeng/JdSdk2
Source/JdSdk/request/im/ImPopGroupinfoGetRequest.cs
538
C#
using System; using System.Collections.Concurrent; namespace Resiliency { public class CircuitBreaker { private readonly ICircuitBreakerStrategy Strategy; private readonly CircuitBreakerOptions Options; internal readonly object SyncRoot = new object(); public CircuitBreaker(...
31.444444
137
0.596358
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
psibr/REtry
src/Resiliency/CircuitBreaker.cs
3,681
C#
/* * Copyright (c) 2006-2016, openmetaverse.co * All rights reserved. * * - Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this ...
42.900356
196
0.538946
[ "BSD-3-Clause" ]
Spookerton/secondlife_libremetaverse
LibreMetaverse/Inventory.cs
24,110
C#
using Cafebabe.Class; namespace Cafebabe.Attribute; public record JavaAnnotationDefaultAttributeInfo(string Name, JavaAnnotationElementValue Value) : JavaAttributeInfo(Name) { public static JavaAttributeInfo Read(JavaConstantPool constantPool, string name, byte[] data) { using var br = Utils.CreateReader(data); ...
32.214286
121
0.81153
[ "MIT" ]
Parzivail-Modding-Team/ModelPainter
Cafebabe/Attribute/JavaAnnotationDefaultAttributeInfo.cs
451
C#
#region Using directives using System; using System.Drawing; using System.Windows.Forms; using log4net; using treeDiM.Basics; using treeDiM.StackBuilder.Basics; using treeDiM.StackBuilder.Desktop.Properties; using treeDiM.PLMPack.DBClient; using treeDiM.PLMPack.DBClient.PLMPackSR; #endregion namespace treeDiM.Stac...
32.033113
119
0.531528
[ "MIT" ]
metc/StackBuilder
Sources/TreeDim.StackBuilder.Desktop/FormNewPalletFilm.cs
4,839
C#
////////////////////////////////////////////////////// // MicroSplat // Copyright (c) Jason Booth ////////////////////////////////////////////////////// using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; // thanks to Lennart @ awesome technologies namespace JBooth.Micro...
39.917526
150
0.620093
[ "MIT" ]
ITSGameDevTeamY3/Project-Dissonance
Assets/MicroSplat/Core/Scripts/Editor/TextureArrayEditor.cs
3,874
C#
namespace SharePointPnP.LobScenario.Web.Areas.HelpPage { /// <summary> /// Indicates whether the sample is used for request or response /// </summary> public enum SampleDirection { Request = 0, Response } }
22.363636
68
0.630081
[ "MIT" ]
3v1lW1th1n/sp-starter-kit
sample-lob-service/SharePointPnP.LobScenario/SharePointPnP.LobScenario.Web/Areas/HelpPage/SampleGeneration/SampleDirection.cs
246
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...
33.908163
123
0.595245
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/FraudDetector/Generated/Model/Internal/MarshallTransformations/TagUnmarshaller.cs
3,323
C#
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Microsoft.IdentityModel.Tokens; using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Text; using System.Threading.Tasks; namespace AuthSamples {...
37.337349
146
0.635044
[ "MIT" ]
mheere/AuthenticationSamplesNetCore31
JwtToken/JWTAuthenticationService.cs
3,101
C#
using ClumsyBat.Controllers; using ClumsyBat.Players; using UnityEngine; namespace ClumsyBat { public class PlayerManager : Singleton<PlayerManager>, IManager { public Player Clumsy; public PlayerController Controller; public PlayerAIController AIController; [HideInInspector] ...
28.462963
94
0.625244
[ "Apache-2.0" ]
Aspekt1024/ClumsyBat
Assets/Scripts/Core/Modules/PlayerManager.cs
1,539
C#
namespace TwoWeeksReady.Authorization { public static class Roles { public static string Admin = "admin"; } }
16.375
45
0.648855
[ "MIT" ]
HTBox/TwoWeeksReady
api/TwoWeeksReady/Authorization/Roles.cs
133
C#
using Meadow.CoverageReport.AstTypes; using Meadow.CoverageReport.Debugging.Variables; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; namespace Meadow.CoverageReport.Debugging { /// <summary> /// Represents a scope in an exection trace (the set of instructions t...
43.84252
141
0.632902
[ "MIT" ]
MeadowSuite/Meadow
src/Meadow.CoverageReport/Debugging/ExecutionTraceScope.cs
5,570
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 ...
61.944798
252
0.647587
[ "Apache-2.0" ]
GraphikaPS/google-ads-dotnet
tests/V5/Services/CampaignCriterionServiceClientTest.g.cs
29,176
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...
58.876351
256
0.662267
[ "Apache-2.0" ]
diegodias/aws-sdk-net
sdk/src/Services/EKS/Generated/_netstandard/IAmazonEKS.cs
87,143
C#
using System; using System.Globalization; using Modbus.Data; using Modbus.Unme.Common; namespace Modbus.Message { /// <summary> /// /// </summary> public class CustomMessageInfo { private readonly Type _type; private readonly Func<IModbusMessage, DataStore, IModbusMessage> _applyRequest; pri...
23.129412
100
0.637843
[ "Unlicense" ]
KirillDZR/nmodbus
src/Modbus/Message/CustomMessageInfo.cs
1,968
C#
// <auto-generated /> using Aiursoft.Probe.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using System; namespace Aiursoft.Probe.Migrations { [DbContext(typeof(ProbeDbConte...
35.669014
125
0.485489
[ "MIT" ]
zhanghaiboshiwo/Nexus
Probe/Migrations/20191006094035_AddDownloadToken.Designer.cs
5,067
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/cx/v3/flow.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; ...
36.719346
658
0.661109
[ "Apache-2.0" ]
viacheslav-rostovtsev/google-cloud-dotnet
apis/Google.Cloud.Dialogflow.Cx.V3/Google.Cloud.Dialogflow.Cx.V3/Flow.cs
121,284
C#
using System.Windows; using System.Windows.Controls; namespace AdaptiveCards.Rendering.Wpf { public static class AdaptiveTextInputRenderer { public static FrameworkElement Render(AdaptiveTextInput input, AdaptiveRenderContext context) { var textBox = new TextBox() { Text = input.Val...
30.416667
101
0.591781
[ "MIT" ]
AllcryptoquickDevelopment/AdaptiveCards
source/dotnet/Library/AdaptiveCards.Rendering.Wpf/AdaptiveTextInputRenderer.cs
1,095
C#
using System; namespace Grillbot.Models.Math { public class MathAuditLogFilter { public ulong? GuildID { get; set; } public long? UserID { get; set; } public ulong? Channel { get; set; } public DateTime? DateTimeFrom { get; set; } public DateTime? DateTimeTo { get; set;...
24.933333
51
0.585561
[ "MIT" ]
LowwinCZ/GrillBot
Grillbot/Models/Math/MathAuditLogFilter.cs
376
C#
// <auto-generated> // This file was generated automatically by GenerateFromSchema. Do NOT edit it. // https://github.com/AnalyticalGraphicsInc/czml-writer // </auto-generated> using CesiumLanguageWriter.Advanced; using System; using JetBrains.Annotations; using System.Collections.Generic; using System.Drawing; name...
53.360243
442
0.632421
[ "Apache-2.0" ]
NextechGS/czml-writer
DotNet/CesiumLanguageWriter/Generated/EllipseCesiumWriter.cs
114,362
C#
/******************************************************** * Project Name : VAdvantage * Class Name : DistributionVerify * Purpose : Verify GL Distribution * Class Used : ProcessEngine.SvrProcess class * Chronological Development * Deepak 20-Nov-2009 *******************************...
26.4
91
0.606692
[ "Apache-2.0" ]
AsimKhan2019/ERP-CMR-DMS
ViennaAdvantageWeb/ModelLibrary/Process/DistributionVerify.cs
1,586
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.Diagnostics.CodeAnalysis; using System.Globalization; namespace System.Numer...
35.091906
195
0.481018
[ "MIT" ]
CometstarMH/runtime
src/libraries/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs
83,238
C#
using System; using LSVRP.Database.Models; namespace LSVRP.New.Entities.Item { public class Medicine : ItemEntity { public Medicine(Database.Models.Item itemData) : base(itemData){} public override void UseItem(Character charData) { base.UseItem(charData); throw...
23.0625
73
0.642276
[ "MIT" ]
KubasGC/lsvrp-rage-cs
LSVRP/New/Entities/Item/Medicine.cs
369
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Runtime.CompilerServices; using Unity.Profiling; using UnityEngine; using UnityEngine.EventSystems; [assembly: InternalsVisibleTo("Microsoft.MixedReali...
32.520581
181
0.543146
[ "MIT" ]
1ft-seabass/hololens2-work-sample-202101
Assets/MRTK/Services/DiagnosticsSystem/MixedRealityDiagnosticsSystem.cs
13,433
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Destructable1Controller : MonoBehaviour { public List<Destructable1> destructables = new List<Destructable1>(); public float explosionForce = 100.0f; public float explosionRadius = 10.0f; public float upwardsM...
29.181818
155
0.674974
[ "MIT" ]
MacgyverLin/FBXPreprocessor
UnityTest/Destruction/Assets/Method1/Scripts/Destructable1Controller.cs
965
C#
using System.Collections.Generic; namespace OYMLCN.JdVop.Models { /// <summary> /// 商品池商品编号列表 /// </summary> public class PageNumSku { /// <summary> /// 总页数 /// </summary> public int PageCount { get; set; } /// <summary> /// skuId集合 //...
18.47619
46
0.481959
[ "MIT" ]
VicBilibily/OYMLCN.JdVop
src/Models/Product/PageNumSku.cs
418
C#
using System; using System.Collections; public class ConvertToSingle { public static int Main() { ConvertToSingle ac = new ConvertToSingle(); TestLibrary.TestFramework.BeginTestCase("Convert.ToSingle(...)"); if (ac.RunTests()) { TestLibrary.TestFramework.EndTestCas...
32.650602
163
0.563838
[ "MIT" ]
CyberSys/coreclr-mono
tests/src/CoreMangLib/cti/system/convert/converttosingle.cs
5,420
C#
using SHAutomation.Core; using System; using UIA = Interop.UIAutomationClient; namespace SHAutomation.UIA3.Converters { public static class TextRangeConverter { public static ITextRange[] NativeArrayToManaged(UIA3Automation automation, UIA.IUIAutomationTextRangeArray nativeTextRangeArray) { ...
38.307692
136
0.670683
[ "MIT" ]
Streets-Heaver/SHAutomation
src/SHAutomation.UIA3/Converters/TextRangeConverter.cs
1,496
C#
using System; using System.Windows.Forms; namespace FundTracking { /// <summary> /// Class with program entry point. /// </summary> internal sealed class Program { /// <summary> /// Program entry point. /// </summary> [STAThread] private static void Main(string[] args) { Application.EnableVisualSt...
18.695652
56
0.686047
[ "MIT" ]
Sagleft/FundTracking
Controller/Loader.cs
432
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
38.433735
89
0.630721
[ "BSD-3-Clause" ]
hack13/opensimulator
OpenSim/Data/PGSQL/PGSQLFramework.cs
3,190
C#
using System; using System.Runtime.Serialization; using Domain.Interfaces.Properties; namespace Domain.Interfaces { [Serializable] public class ResourceNotFoundException : Exception { public ResourceNotFoundException() : base(Resources.ResourceNotFoundException_Message) { ...
23.1875
73
0.61186
[ "Apache-2.0" ]
jezzsantos/clinics
src/Domain.Interfaces/ResourceNotFoundException.cs
744
C#
using Lego.Ev3.Framework.Firmware; using System.Threading.Tasks; namespace Lego.Ev3.Framework { /// <summary> /// Led located in center of brick /// </summary> public sealed class Led { /// <summary> /// Current mode of the led /// default = Green /// </summary> ...
23.020833
64
0.489593
[ "MIT" ]
mvanderelsen/Lego.Ev3.Framework
Lego.Ev3.Framework/Led.cs
1,107
C#
namespace Interpreter.Models.Report { public class TestReport { } }
10.25
36
0.646341
[ "MIT" ]
marcdacz/interpreter
Code/Interpreter.Models/Report/TestReport.cs
84
C#
using Ryujinx.Common.Logging; using System; using System.Threading; namespace Ryujinx.Graphics.Gpu.Synchronization { /// <summary> /// GPU synchronization manager. /// </summary> public class SynchronizationManager { /// <summary> /// The maximum number of syncpoints supported by t...
38.131944
173
0.585504
[ "MIT" ]
CJBok/Ryujinx
Ryujinx.Graphics.Gpu/Synchronization/SynchronizationManager.cs
5,493
C#
namespace MLOps.NET.SQLServer.IntegrationTests.Constants { internal class ConfigurationKeys { public static string ConnectionString = "SQLServer:ConnectionString"; public static string RegistryName = "Container:RegistryName"; public static string Username = "Container:Username"; ...
34.818182
77
0.723238
[ "MIT" ]
Brett-Parker/MLOps.NET
test/MLOps.NET.SQLServer.IntegrationTests/ConfigurationKeys.cs
385
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace MultiThread.semaphore { public class TestApp { static SemaphoreSlim _semaphore = new SemaphoreSlim(4); static void AccessDataBase(string name, int seconds) { ...
27.166667
84
0.53272
[ "MIT" ]
shenhx/DotNetAll
02CSharp/DotNet_Theads/MultiThread/MultiThread/semaphore/TestApp.cs
1,022
C#
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, ...
40.30303
68
0.750376
[ "MIT" ]
0xced/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/TestObjects/WidgetId1.cs
1,330
C#
using System.Collections.Generic; using System.Threading.Tasks; using MAVN.Service.AdminAPI.Domain.Enums; using MAVN.Service.AdminAPI.Domain.Models; namespace MAVN.Service.AdminAPI.Domain.Services { public interface IAdminsService { Task<(AdminServiceCreateResponseError, AdminModel, string)> Authentic...
33.37037
128
0.654273
[ "MIT" ]
HannaAndreevna/MAVN.Service.AdminAPI
src/MAVN.Service.AdminAPI.Domain/Services/IAdminsService.cs
1,804
C#
using System; using Framework.DomainDriven.Attributes; using Framework.Restriction; namespace Framework.Configuration.Domain { /// <summary> /// Сообщение, отправленное пользователю /// </summary> [NotAuditedClass] public class SentMessage : AuditPersistentDomainObjectBase { ...
29.746479
199
0.535038
[ "MIT" ]
Luxoft/BSSFramework
src/_Configuration/Framework.Configuration.Domain/SentMessage.cs
4,586
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...
59.914431
205
0.689476
[ "Apache-2.0" ]
bgrainger/aws-sdk-net
sdk/src/Services/ElasticMapReduce/Generated/_bcl35/AmazonElasticMapReduceClient.cs
223,361
C#
// Copyright 2015-2016 Google Inc. All Rights Reserved. // Licensed under the Apache License Version 2.0. using Google.Apis.Bigquery.v2; using Google.Cloud.BigQuery.V2; using Google.PowerShell.Common; using System; namespace Google.PowerShell.BigQuery { /// <summary> /// Base class for Google Cloud BigQuery ...
37.054545
103
0.652601
[ "Apache-2.0" ]
GoogleCloudPlatform/google-cloud-powershell
Google.PowerShell/BigQuery/BqCmdlet.cs
2,040
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
65.661017
211
0.804853
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-mts/Mts/Transform/V20140618/UpdateTemplateResponseUnmarshaller.cs
7,748
C#
namespace MvvmNano { /// <summary> /// A simple Service Locator, which is mainly used to enable /// Dependency Injection within the View Models, so they can /// be built in a testable fashion. /// /// Static and unique within the whole application. SetUp() /// needs to be called at app sta...
33.276316
116
0.590747
[ "MIT" ]
69grad/mvvm-nano
src/MvvmNano.Core/MvvmNanoIoC.cs
2,531
C#
using UnityEngine; using UnityEngine.UI; using System.Collections; public class GameplayController : MonoBehaviour { [SerializeField] private GameObject pausePanel; [SerializeField] private Button resumeGame; public void PauseGame() { Time.timeScale = 0f; pausePanel.SetActive (true); resumeGame.onClick....
9.863158
56
0.683031
[ "Apache-2.0" ]
DavePool/MexicoOriginsLevel2
Assets/Scripts/Game Controllers/Gameplay controller/GameplayController.cs
939
C#
namespace Eshop.Data.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using BaseModels; public class Cart : BaseModel { private ICollection<CartItem> cartItems; public Cart() { ...
23.448276
55
0.597059
[ "Apache-2.0" ]
siderisltd/ShopRepo
Eshop/Data/Eshop.Data.Models/Cart.cs
682
C#
namespace VisuMap.DataModeling { partial class PromptInput { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
42.736842
161
0.581527
[ "MIT" ]
VisuMap/OpenVisuMap
DataModeling/PromptInput.Designer.cs
4,062
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...
30.333333
106
0.632736
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Appflow/Generated/Model/SlackMetadata.cs
1,729
C#
// namespace Trudograd.NuclearEdition // { // internal sealed class InventoryItem // { // public Item Item { get; } // public Inventory Inventory { get; } // // public InventoryItem(Inventory inventory, Item item) // { // Inventory = inventory; // Item = ...
25.142857
63
0.508523
[ "MIT" ]
Albeoris/Trudograd.NuclearEdition
Trudograd.NuclearEdition/HUD/BarterHUD/PartyItems/InventoryItem.cs
354
C#
using Verse; using Verse.Sound; using RimWorld; using AbilityUser; using System; using System.Linq; using System.Collections.Generic; using UnityEngine; namespace TorannMagic { [StaticConstructorOnStartup] public class Projectile_LightLance : Projectile_AbilityBase { private bool initialized = fal...
43.607735
265
0.593057
[ "BSD-3-Clause" ]
Sn1p3rr3c0n/RWoM
RimWorldOfMagic/RimWorldOfMagic/Projectile_LightLance.cs
7,895
C#
using PokemonUnity; //using PokemonUnity.Pokemon; using PokemonUnity.Inventory; //using PokemonUnity.Attack; using PokemonUnity.Battle; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PokemonUnity.Battle { public partial class Battle { /// <summary> /// Success s...
20.641791
49
0.589299
[ "BSD-3-Clause" ]
AriesPlaysNation/PokemonUnity
PokemonUnity.Shared/InBattle/Battle/SuccessState.cs
1,385
C#
using Foundation; using UIKit; namespace MobileBle.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding) to // application events from iOS. [Register("AppDelegate")] ...
38.185185
98
0.669253
[ "Apache-2.0" ]
WildernessLabs/Meadow.Project.Samples
Source/Hackster/Bluetooth/MobileBle/MobileBle.iOS/AppDelegate.cs
1,033
C#
using System; using System.Linq; using System.Threading; using SFML.System; namespace Chaser.Game { public class GameObject { public GameObject(int x, int y, int xpic, int ypic, int width, int height, bool isCollidable) { //position State.X = x; State.Y = y;...
28.631579
101
0.521446
[ "MIT" ]
Avokadas/chaser
Chaser.Game/GameObject.cs
1,634
C#
using MiscUtil; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MathExtended.Matrices.Structures.CellsCollection { /// <summary> /// Описывает коллекцию ячеек /// </summary> /// <typeparam name="T">...
26.445498
147
0.49767
[ "MIT" ]
Lamer0/ExtendentMath
Matrices/Structures/CellsCollections/BaseCellsCollection.cs
6,611
C#
using System.Web; using System.Web.Optimization; namespace Exemplo_Web_API_Authentication { public class BundleConfig { // Para obter mais informações sobre o agrupamento, visite https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) ...
41
138
0.61324
[ "MIT" ]
RafaelFoss7/Web-API-Authentication
Exemplo-Web-API-Authentication/App_Start/BundleConfig.cs
1,157
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace FirstTestApp.ViewModels.Account { public class VerifyCodeViewModel { [Required] public string Provider { get; set; } [Required] ...
23.076923
50
0.645
[ "MIT" ]
mikulpatel/AspNet5TestLabs
src/FirstTestApp/ViewModels/Account/VerifyCodeViewModel.cs
602
C#
using Stashbox.Exceptions; using Stashbox.Registration.Fluent; using Stashbox.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Stashbox { /// <summary> /// Represents the extension methods of <see cref="IDependencyCollectionRegistrator"/>. /// </...
53.99115
157
0.641698
[ "MIT" ]
mgth/stashbox
src/Registration/Extensions/CollectionRegistratorExtensions.cs
12,204
C#
#if CREOBIT_BACKEND_APPSTORE && CREOBIT_BACKEND_UNITY && (UNITY_STANDALONE_OSX || UNITY_IOS) using UnityEngine.Purchasing; namespace Creobit.Backend.Store { public interface IAppStoreStore : IUnityStore { #region IAppStoreStore IAppleExtensions AppleExtensions { get; ...
18.947368
93
0.661111
[ "MIT" ]
Creobit-Ltd/Creobit.Backend
AppStore/Scripts/Store/IAppStoreStore.cs
362
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...
48.584
178
0.688786
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CodePipeline/Generated/Model/NotLatestPipelineExecutionException.cs
6,073
C#
namespace server.Exception { using System; public class NotFoundException : Exception { } }
13.444444
46
0.595041
[ "MIT" ]
supermitsuba/NotesJS
server/Exception/NotFoundException.cs
121
C#
using Bridge; namespace Bridge.Html5 { /// <summary> /// The word-wrap CSS property is used to specify whether or not the browser may break lines within words in order to prevent overflow (in other words, force wrapping) when an otherwise unbreakable string is too long to fit in its containing box. /// </...
30
250
0.613333
[ "Apache-2.0" ]
corefan/Bridge
Html5/CSS/OverflowWrap.cs
902
C#
using ParentLoadSoftDelete.Business; namespace ParentLoadSoftDelete.Business.ERLevel { public partial class E05Level111ReChild { #region Pseudo Event Handlers //partial void OnCreate(DataPortalHookArgs args) //{ // throw new System.Exception("The method or operat...
31.375
89
0.585657
[ "MIT" ]
CslaGenFork/CslaGenFork
tags/DeepLoad sample v.1.0.0/ParentLoadSoftDelete.Business/ERLevel/E05Level111ReChild.cs
2,008
C#
using System; namespace GameWarriors.DependencyInjection.Extensions { public static class ServiceProviderExtension { public static T GetService<T>(this IServiceProvider serviceProvider) where T : class { // Debug.Log(serviceProvider); return serviceProvider.GetService(ty...
25.142857
92
0.670455
[ "MIT" ]
Game-Warriors/DependencyInjection-Unity3d
Runtime/Extension/ServiceProviderExtension.cs
352
C#