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
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using Avalonia.Controls; using Avalonia.VisualTree; using DynamicData; using DynamicData.Alias; using ReactiveUI.Fody.Helpers; using Splat; using SS14.Launcher.Models.Data; using SS14.Launcher.Mo...
28.449541
141
0.636246
[ "MIT" ]
Veritius/SS14.Launcher
SS14.Launcher/ViewModels/MainWindowTabs/HomePageViewModel.cs
3,101
C#
using TMPro; using UnityEngine; public class Clock : MonoBehaviour { //References to updateable objects in the scene public Transform minuteClockHandTransform; public Transform hourClockHandTransform; public TMP_Text timeText; //The current day private float day; //Total number of real s...
36.977273
121
0.693915
[ "MIT" ]
MIT-Reality-Hack-2020/FocusField
handtest2/Assets/Scripts/Clock.cs
1,629
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 Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc { /// <summary> /// An <see cref="StatusCodeResult"/> that when executed wi...
31.090909
111
0.634503
[ "Apache-2.0" ]
Elfocrash/Mvc
src/Microsoft.AspNetCore.Mvc.Core/OkResult.cs
684
C#
using System; using System.Collections.Generic; using Neo.IronLua; namespace NeiraEngine.Scripting { public class LuaScriptBase { private Lua _context; private Dictionary<string, LuaScriptEnvironment> _environments; public LuaScriptBase() { try { ...
32
122
0.482416
[ "MIT" ]
dima13230/neira-engine
NeiraEngine/Scripting/LuaScriptBase.cs
11,490
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("01....
37.351351
84
0.743126
[ "MIT" ]
krasiymihajlov/Soft-Uni-practices
C# OOP Advanced/02.Generics - Lab/01. Box/Properties/AssemblyInfo.cs
1,385
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Reflection; using System.Collections.Generic; using System.Collections; using NetOffice; namespace NetOffice.ExcelApi { ///<summary> /// Int...
32.816038
194
0.676585
[ "MIT" ]
NetOffice/NetOffice
Source/Excel/Interfaces/IPivotItemList.cs
6,957
C#
using ExternalProject.Net6.Constructors.Sample.BaseClasses; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ExternalProject.Net6.UnitTestMocks.MSTest.Constructors.Linked.Tests.BaseClasses { [TestClass] [SlowFox.InjectMocks(typeof(DerivedBaseClassWithMultipleDependencies))] public partial cla...
34.952381
89
0.734332
[ "Apache-2.0" ]
Bungalow64/SlowFox
tests/ExternalProject.Net6.UnitTestMocks.MSTest.Constructors.Linked.Tests/BaseClasses/DerivedBaseClassWithMultipleDependenciesTests.cs
736
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.769231
157
0.67095
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/DevOpsGuru/Generated/Model/Internal/MarshallTransformations/GetResourceCollectionRequestMarshaller.cs
3,346
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
48.888889
97
0.784091
[ "MIT" ]
Ethereal77/stride
sources/presentation/Stride.Core.Presentation.Dialogs/Properties/AssemblyInfo.cs
440
C#
using System; using System.Linq; using DdfGuide.Core; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DdfGuide.Test { [TestClass] public class AudioDramaDtoTests { [TestMethod] public void GivenSpotifyId_CorrectSpotifyUri() { var sut = new AudioDramaDto(Gu...
33.16129
92
0.411479
[ "MIT" ]
selmaohneh/DdfGuide
DdfGuide.Test/AudioDramaDtoTests.cs
1,030
C#
//Apache2, 2012, Hernan J Gonzalez, https://github.com/leonbloy/pngcs namespace Hjg.Pngcs { using System; /// <summary> /// Lightweight wrapper for an image scanline, for read and write /// </summary> /// <remarks>It can be (usually it is) reused while iterating over the image lines /// See <c...
35.602778
141
0.495826
[ "MIT" ]
LayoutFarm/PixelFarm
src/PixelFarm/ImgCodec.PngCs/ImgCodec.PngCs/ImageLine.cs
12,817
C#
namespace Md.Tga.Common.TestData.Generators { public class SurveyStatusGeneratorConfiguration : BaseGeneratorConfiguration { public bool IsClosed { get; set; } = false; } }
25.125
81
0.686567
[ "MIT" ]
MichaelDiers/TabletopGameAdmin
nugets/Md.Tga.Common.TestData/Md.Tga.Common.TestData/Generators/SurveyStatusGeneratorConfiguration.cs
203
C#
using System.Threading.Tasks; namespace Aju.Carefree.Cache { public interface ICacheService { #region Get /// <summary> /// 获取缓存 /// </summary> /// <param name="key">缓存key</param> /// <returns></returns> string Get(string key); /// <summary> ...
26.77451
76
0.476016
[ "MIT" ]
lenkasetGitHub/Aju.Carefree
Aju.Carefree.Cache/ICacheService.cs
2,857
C#
namespace InfluencerWannaBeUnitTest.Mocks { using Moq; using InfluencerWannaBe.Services; public static class EmailSenderMock { public static IEmailSender Instance { get { var mock = new Mock<IEmailSender>(); mock.Setup(x => x.Send...
23.5
118
0.542553
[ "MIT" ]
stelianraev/InfluencerWannaBe
InfluencerWannaBeUnitTest/Mocks/EmailSenderMock.cs
472
C#
using MiddleweightReflection; using System; namespace Codegen { public class SyntheticProperty : IEquatable<SyntheticProperty> { public string Name { get; set; } public MrType DeclaringType { get; set; } public MrProperty Property { get; set; } public MrType PropertyT...
32.25
111
0.506695
[ "MIT" ]
angelazhangmsft/react-native-xaml
package/Codegen/SyntheticProperty.cs
1,378
C#
using System; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Extensibility; namespace Lykke.MatchingEngine.Connector.Helpers { internal static class TelemetryHelper { private static readonly TelemetryClient _telemetry = new T...
31.613636
107
0.677211
[ "MIT" ]
JTOne123/MatchingEngineConnector
src/Lykke.MatchingEngine.Connector/Helpers/TelemetryHelper.cs
1,393
C#
using System; using AVFoundation; using CoreAnimation; using CoreGraphics; using CoreVideo; using Foundation; using ObjCRuntime; using ZXingObjC; #if __MACOS__ namespace ZXingObjC.OSX.Binding #else namespace ZXingObjC.iOS.Binding #endif { // @interface ZXCapture : NSObject <AVCaptureVideoDataOutputSampleBufferDele...
36.762394
578
0.697997
[ "Apache-2.0" ]
msioen/ZXingObjC.Binding
ZXingObjC.OSX.Binding/ApiDefinitions.cs
160,909
C#
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using System; using System.Linq; using System.Web.UI; using WebChat.Data; using WebChat.Models; namespace WebChat { public partial class _Default : Page { protected void Page_Init(ob...
31.115385
133
0.529872
[ "MIT" ]
vic-alexiev/TelerikAcademy
ASP.NET Web Forms/Homework Assignments/7. ASP.NET Identity/WebChat/Default.aspx.cs
2,429
C#
using System; namespace MadWorld.Business.Messages { public static class StandardErrorMessages { public const string GeneralError = "Something went wrong"; } }
18.2
66
0.708791
[ "Apache-2.0" ]
oveldman/AzureMadWorld
MadWorld/MadWorld.Business/Messages/StandardErrorMessages.cs
184
C#
namespace Archimedes.Logic { internal interface IClauseNode : ILogicNode { } }
21
51
0.738095
[ "MIT" ]
webrokeit/DTU
02180 - Introduction to Artificial Intelligence/Heureka Project/Archimedes/Logic/IClauseNode.cs
86
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class AlarmLight : BasicDistractionDevice { [Ordinal(0)] [RED("isGlitching")] public CBool IsGlitching { get; set; } public AlarmLight(CR2WFile cr2w, CVar...
24.125
97
0.707254
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/AlarmLight.cs
371
C#
/* * 6. Write a program that prints from given array of integers * all numbers that are divisible by 7 and 3. Use the built-in * extension methods and lambda expressions. * Rewrite the same with LINQ. */ using System; using System.Linq; class Program { static readonly Random rnd = new Random(); static void...
27.804878
74
0.585088
[ "MIT" ]
NinoSimeonov/Telerik-Academy
Programming with C#/3. C# Object-Oriented Programming/03. Extension Methods, Lambda Expressions and LINQ/06. Numbers divisible by 21/Program.cs
1,142
C#
using System; using System.Collections.Generic; using System.Linq; namespace EFSaving.Basics { public class Sample { public static void Run() { using (var db = new BloggingContext()) { db.Database.EnsureDeleted(); db.Database.EnsureCreate...
28.671875
82
0.451226
[ "Apache-2.0" ]
Ashrafnet/EntityFramework.Docs
samples/core/Saving/Saving/Basics/Sample.cs
1,837
C#
using System; using System.IO; using System.Runtime.InteropServices; namespace Vildmark.Serialization { public class Reader : IReader { public Stream BaseStream { get; } public Reader(Stream stream) { BaseStream = stream ?? throw new ArgumentNullException(nameof(stream)); ...
21.777778
83
0.452806
[ "MIT" ]
Phyyl/Vildmark
Vildmark.Core/Serialization/Reader.cs
2,352
C#
using Dexter.Configurations; using Dexter.Databases.Games; using Dexter.Extensions; using Discord; using Discord.WebSocket; using System.Drawing; using System.Text; using System.Text.RegularExpressions; namespace Dexter.Helpers.Games { /// <summary> /// Represents a game of Chess. /// </summary> pub...
44.041033
289
0.434602
[ "MIT" ]
IndigoManedWolf/Dexter
Dexter/Helpers/Games/GameChess.cs
86,939
C#
//----------------------------------------------------------------------- // <copyright file="IJournalBehaviorSetter.cs" company="Akka.NET Project"> // Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net> // </copyr...
37.3125
87
0.542714
[ "Apache-2.0" ]
Legacy07/akka.net
src/core/Akka.Persistence.TestKit/Journal/IJournalBehaviorSetter.cs
597
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.Runtime.InteropServices; using Microsoft.VisualStudio.TextManager.Interop; namespace Microsoft.Visual...
31.939394
113
0.702087
[ "MIT" ]
06needhamt/roslyn
src/VisualStudio/Core/Def/Implementation/Utilities/IVsEnumDebugName.cs
1,056
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...
28.722222
153
0.645068
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Compute/V20181001/Outputs/ManagedDiskParametersResponse.cs
1,034
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Kentico.Kontent.Delivery; using KenticoKontentModels; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; namespace kontent_sample_app_conference_net.Controllers { public class LandingPageC...
28.837838
136
0.636364
[ "MIT" ]
kentico-michaelb/kontent-sample-app-conference-net
kontent-sample-app-conference-net/Controllers/LandingPageController.cs
1,069
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using WaterSimDCDC; namespace WaterSimDCDC { public static class WaterSimManagerInfo { //public static string GetCurrentDirectory = Environment.CurrentDirectory; public static string GetCurrentDirectory ...
45.56701
164
0.445701
[ "MIT" ]
DCDCWaterSim/API_SOURCE_FILES
WaterSimDCDC_API_SIO_v_9_01.cs
13,262
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: grafeas/v1/intoto_provenance.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using ...
37.112984
238
0.657506
[ "Apache-2.0" ]
amanda-tarafa/google-cloud-dotnet
apis/Grafeas.V1/Grafeas.V1/IntotoProvenance.g.cs
59,455
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Microsoft.Phone.Cont...
31.669291
131
0.588016
[ "MIT" ]
Ranin26/msdn-code-gallery-microsoft
Microsoft Office Developer Documentation Team/Apps for SharePoint sample pack/79084-Apps for SharePoint sample pack/SharePoint 2013 Store and retrieve SharePoint list items on a Windows Phone/C#/SPListAppLocalStorage/Views/EditForm.xaml.cs
4,024
C#
namespace Sudoku.App.Factories { using System; using System.Linq; using System.Reflection; using Sudoku.App.Interfaces; using Sudoku.App.Utilities; public class CommandFactory { private readonly ModulesManager modulesManager; public CommandFactory() { t...
28.896552
78
0.539976
[ "MIT" ]
HristoSpasov/Simple-Sudoku
Sudoku.App/Factories/CommandFactory.cs
1,678
C#
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using SerrisTabsServer.Items; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Windows.Storage; namespace SerrisTabsServer.Manager { public static class TabsAccessManager { public...
29.012658
176
0.416958
[ "MIT" ]
AdminVIKO/SerrisCodeEditor
SerrisCodeEditor/SerrisTabsServer/Manager/TabsAccessManager.cs
6,878
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
29.5
81
0.658706
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Cpdp/V20190820/Models/DeleteAgentTaxPaymentInfosRequest.cs
1,304
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2020 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Original...
42.534276
233
0.58606
[ "MIT" ]
UncannyValley21/daggerfall-unity
Assets/Scripts/Terrain/StreamingWorld.cs
78,178
C#
/* * Prime Developer Trial * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Col...
37.574468
200
0.624953
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/StocksAPIforDigitalPortals/v2/src/FactSet.SDK.StocksAPIforDigitalPortals/Model/InlineResponse2005DataReportedKeyFiguresFirstFiscalYearOperatingMargin.cs
5,298
C#
using DaAPI.Core.Packets.DHCPv4; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DaAPI.Infrastructure.StorageEngine.DHCPv4 { public interface IDHCPv4EventStore : IEventStore { Task<Boolean> LogInvalidDHCPv4Packet(DHCPv4Packe...
26.625
86
0.776995
[ "MIT" ]
just-the-benno/DaAPI
src/DaAPI.Infrastructure/StorageEngine/DHCPv4/IDHCPv4EventStore.cs
428
C#
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3...
32.548944
167
0.49599
[ "MIT" ]
3-Delta/Unity-UI
Tools/AI/Behaviac/BehaviacDesigner/MetaPropertyPanel.cs
16,958
C#
using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using UHubApi.AspNetCore.Models; namespace UHubApi.AspNetCore.Middlewares { public class AddUserMiddleware : UHubApiMiddleware<AddUserModel> { ...
29.454545
162
0.75
[ "Apache-2.0" ]
yiyungent/UHub
src/Sdk/UHubApi.AspNetCore/Middlewares/AddUserMiddleware.cs
650
C#
using System; using System.Collections.Generic; using System.Linq; using Wintellect.PowerCollections; namespace _05_CableNetwork { public class Edge { public int First { get; set; } public int Second { get; set; } public int Weight { get; set; } } public class Program { ...
25.706767
77
0.454811
[ "MIT" ]
marinakolova/CSharp-Courses
Algorithms-Advanced-with-CSharp-January-2021/03-GraphsBellmanFordLongestPathInDAG-Exercise/05-CableNetwork/Program.cs
3,421
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; namespace ICSharpCode.SharpDevelop.Dom { /// <summary> /// The GetClassReturnType is used when the class shou...
22.847619
117
0.674865
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/Main/ICSharpCode.SharpDevelop.Dom/Project/Src/Implementations/GetClassReturnType.cs
2,401
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("Od...
38.027027
84
0.746979
[ "MIT" ]
GeorgiPetrovGH/TelerikAcademy
01.C# part 1/03.OperatorsAndExpressions/OddOrEvenIntegers/Properties/AssemblyInfo.cs
1,410
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("tr...
38.189189
84
0.746638
[ "MIT" ]
minrogi/PLMPack
Sources/treeDiM.FileTransfer/Properties/AssemblyInfo.cs
1,416
C#
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 /...
36.962121
138
0.652388
[ "Apache-2.0" ]
Bhaskers-Blu-Org2/PTVS
Python/Product/TestAdapter/ProjectInfo.cs
4,881
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Arm.Expression.Configuration; using Arm.Expression.Expressions; using Bicep.Core.Emit; using Bicep.Core.SemanticModel; using Bicep.Core.Syntax; using Bicep.Core.UnitTests.Utils; using FluentAssertions; using Microsoft.VisualStudio.TestTool...
51.36
151
0.555556
[ "MIT" ]
joncloud/bicep
src/Bicep.Core.UnitTests/Emit/ExpressionConverterTests.cs
3,852
C#
using TechTalk.SpecFlow.Assist.Attributes; namespace Molder.Service.Models { public class Header { [TableAliases("Name", "Имя")] public string Name { get; set; } [TableAliases("Value", "Значение")] public string Value { get; set; } [TableAliases("Style", "Тип")] ...
22.058824
43
0.570667
[ "MIT" ]
Fufelhmertz/AlfaBank.AFT.Core.Library
src/Molder.Service/Models/Header.cs
391
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("He...
37.702703
84
0.744803
[ "MIT" ]
MapuH/Telerik-Academy
Intro-Programming-Homework/HelloCSharp/Properties/AssemblyInfo.cs
1,398
C#
using System; namespace _0543 { /** * Definition for a binary tree node. */ public class TreeNode { public int val; public TreeNode left; public TreeNode right; public TreeNode(int x) { val = x; } } public class Solution { public int DiameterOfBinaryT...
22.270833
136
0.53508
[ "Apache-2.0" ]
twilightgod/PlayLeetcode
0543/Program.cs
1,071
C#
// // System.Web.UI.WebControls.TableRowCollection.cs // // Author: // Sebastien Pouliot <sebastien@ximian.com> // // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // ...
22.5
177
0.676656
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.Web/System.Web.UI.WebControls/TableRowCollection.cs
4,905
C#
using System.Text.Json.Serialization; namespace MtgApiManager.Lib.Dto { internal class RootCardDto : IMtgResponse { [JsonPropertyName("card")] public CardDto Card { get; set; } } }
21
45
0.661905
[ "MIT" ]
MagicTheGathering/mtg-sdk-dotnet
src/MtgApiManager.Lib/Dto/Cards/RootCardDto.cs
212
C#
using System.Collections.Generic; using Elektronik.Renderers; using Elektronik.RosPlugin.Common.Containers; using Elektronik.RosPlugin.Ros2.Bag.Data; using RosSharp.RosBridgeClient.MessageTypes.Sensor; using SQLite; namespace Elektronik.RosPlugin.Ros2.Bag.Containers { public class ImageDBContainer : ...
28.097561
97
0.62934
[ "MIT" ]
dioram/Elektronik
plugins/Ros/Ros2/Bag/Containers/ImageDBContainer.cs
1,154
C#
using System; using System.Text; using Certes.Crypto; using Certes.Json; using Certes.Pkcs; using Newtonsoft.Json; using Org.BouncyCastle.Security; namespace Certes.Jws { /// <summary> /// Represents a JSON Web Signature (JWS) key pair. /// </summary> public interface IAccountKey { /// <su...
29.87
115
0.540676
[ "MIT" ]
webprofusion/certes
src/Certes/Jws/IAccountKey.cs
2,989
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Microsoft.Web.Helpers.Facebook...
322.492308
569
0.803358
[ "Apache-2.0" ]
Icenium/aspnetwebstack
src/Microsoft.Web.Helpers/GlobalSuppressions.cs
20,964
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
36.475336
99
0.573027
[ "MIT" ]
benjguin/Industrial-IoT
services/src/Microsoft.Azure.IIoT.Services.OpcUa.Registry/src/v2/Models/ApplicationInfoApiModel.cs
8,134
C#
using System; using System.Globalization; #if __WPF__ using System.Windows; using System.Windows.Data; #else using Windows.UI.Xaml; using Windows.UI.Xaml.Data; #endif namespace Wokhan.UI.BindingConverters { public sealed class NullableToValueConverter : IValueConverter { public object Convert(object v...
31.333333
163
0.717021
[ "MIT" ]
wokhansoft/Wokhan.UI
Wokhan.UI/BindingConverters/NullableToValueConverter.cs
942
C#
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Uno.Extensions; using Wi...
32.578014
153
0.705236
[ "Apache-2.0" ]
AnonProgrammer007/uno
src/SamplesApp/SamplesApp.Shared/App.xaml.cs
9,189
C#
// Copyright (c) homuler and The Vignette Authors // This file is part of MediaPipe.NET. // MediaPipe.NET is licensed under the MIT License. See LICENSE for details. using System.Diagnostics.Contracts; using System.Runtime.InteropServices; using System.Runtime.Versioning; namespace Mediapipe.Net.Native { internal...
31.388889
76
0.748673
[ "MIT" ]
dbruning/MediaPipe.NET
Mediapipe.Net/Native/SafeNativeMethods/Gpu/Gl.cs
565
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.IO; using UnityEngine; namespace Microsoft.MixedReality.SpectatorView { internal class Ca...
32.669421
129
0.568176
[ "MIT" ]
Bhaskers-Blu-Org2/MixedReality-SpectatorView
src/SpectatorView.Unity/Assets/SpectatorView/Scripts/StateSynchronization/NetworkedComponents/CanvasRenderer/CanvasRendererBroadcaster.cs
3,955
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Rhino; using Rhino.Geometry; using ARDB = Autodesk.Revit.DB; namespace RhinoInside.Revit.Convert.Geometry { using External.DB; using External.DB.Extensions; /// <summary> /// Converts a "complex" <see cref="Brep"/> to be...
34.138269
220
0.581724
[ "MIT" ]
chuongmep/rhino.inside-revit
src/RhinoInside.Revit/Convert/Geometry/BrepEncoder.cs
38,273
C#
using System.Runtime.Serialization; namespace Models.Password { public enum PasswordStrength { [EnumMember(Value = "Blank")] Blank = 0, [EnumMember(Value = "Very Weak")] VeryWeak = 1, [EnumMember(Value = "Weak")] Weak = 2, [EnumMember(Value = "Medium")] ...
22.571429
43
0.535865
[ "MIT" ]
Jay-Aye/Password
Models/Password/PasswordStrength.cs
476
C#
using Milou.Deployer.Web.Core; using Xunit; using Xunit.Abstractions; namespace Milou.Deployer.Web.Tests.Unit { public class VersionHelperTest { private readonly ITestOutputHelper _output; public VersionHelperTest(ITestOutputHelper output) { _output = output; } ...
30.6875
74
0.675153
[ "MIT" ]
milou-se/milou.deployer.web
src/Milou.Deployer.Web.Tests.Unit/VersionHelperTest.cs
984
C#
/** * Autogenerated by Thrift Compiler (0.11.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.IO; using Thrift; using Thrift.Collections; using System.Runtime.Serializat...
21.576923
73
0.541889
[ "MIT" ]
DEIS-Project-EU/DDI-Scripting-Tools
ODE_Tooladapter/ThriftContract/ODEv2ThriftContract/gen_Thrift_ODE/csharp/STB_Modeling_Techniques/DEISProject/ODEDataModel/ThriftContract/TDDIHazardTypeRef.cs
2,805
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
34.3
135
0.632653
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/containerregistry/Microsoft.Azure.Management.ContainerRegistry/src/Generated/Models/EncryptionProperty.cs
2,058
C#
/* * Licensed to SharpSoftware under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * SharpSoftware licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use...
36.542636
136
0.567671
[ "Apache-2.0" ]
eraydin/routing
src/Itinero/Algorithms/Contracted/PathTreeExtensions.cs
4,714
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using PoeCraftLib.Crafting.CraftingSteps; using PoeCraftLib.Currency; using PoeCraftLib.Entities.Items; namespace PoeCraftLib.Crafting { public class CraftManager { public CraftMetadata Craft( List<I...
33.453125
140
0.578935
[ "MIT" ]
DanielWieder/PoeCraftLib
src/CraftingSim/CraftManager.cs
4,284
C#
using System; namespace MockGen.Setup { internal class MethodSetupReturn<TReturn> : MethodSetup, IMethodSetupReturn<TReturn>, IReturnContinuation { private new ActionConfigurationWithReturn<TReturn> currentConfiguration; internal MethodSetupReturn() { currentConf...
29.275
110
0.614005
[ "MIT" ]
thomas-girotto/MockGen
specs/MockGen.Specs/Generated/Setup/MethodSetupReturn.cs
1,173
C#
namespace DynamicVNET.Lib.Integration.Tests { public class TokenStub { public TokenStub InnerToken { get; set; } public string TokenNumber { get; set; } } }
20.666667
49
0.639785
[ "MIT" ]
rasulhsn/DynamicVNET
DynamicVNET.Lib.Integration.Tests/Helper/TokenStub.cs
188
C#
using UnityEngine; using Phenix.Unity.Utilities; using Phenix.Unity.AI; public class AnimFSMStateAttackRoll : AnimFSMState { enum AttackRollState { PREPARE, ROLL, STAND_UP, } AnimFSMEventAttackRoll _eventAttackRoll; Quaternion _finalRotation; Quaternion _startRota...
32.24359
160
0.556859
[ "MIT" ]
tuita520/samurai
samurai/Assets/Scripts/FSM1/FSMState/AnimFSMStateAttackRoll.cs
5,032
C#
using System.Reflection; [assembly: AssemblyCompany("Index laboratory.")] [assembly: AssemblyCopyright("\x00a9 Kuroko Shirai.")] [assembly: AssemblyProduct("momiji")] [assembly: AssemblyTitle("*MapleStory character imitator.")] [assembly: AssemblyVersion("0.0.*")]
33.375
60
0.7603
[ "BSD-2-Clause" ]
SuperCatss/momiji
momiji/assembly.cs
269
C#
// Copyright 2017 Jose Luis Rovira Martin // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
29.45
78
0.679117
[ "Apache-2.0" ]
jlroviramartin/Essence
Essence.View.GL/Models/AbsDrawing3DModel.cs
1,180
C#
namespace json2record.tests.sample2.DTOs { public record CustomerLedgerAccount { public string type { get; init; } public string number { get; init; } public string description { get; init; } } }
33.285714
49
0.630901
[ "MIT" ]
mikalst/dtolab
json2record.tests/DTOs/sample2/CustomerLedgerAccount.cs
233
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...
25.392857
81
0.668073
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/DocumentDB/Latest/Outputs/ContinuousModeBackupPolicyResponse.cs
711
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.Sql.Models { public partial class PrivateEndpointConnectionListResult...
35.574468
127
0.568182
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/PrivateEndpointConnectionListResult.Serialization.cs
1,672
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Vibechat.DataLayer.Repositories.Specifications; namespace Vibechat.DataLayer.Repositories { public interface IAsyncRepository<T> where T: class { Task<T> GetByIdAsync(int id); Task<IReadOnlyList<T>> ListAl...
29.08
68
0.691884
[ "MIT" ]
developeramarish/Vibechat.Core
Vibechat.Web/Vibechat.DataLayer/Repositories/IAsyncRepository.cs
729
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace KSaveDataMan { [System.Serializable] internal class MasterSaveJsonDefault { [SerializeField] internal string gameName = ""; [SerializeField] internal string companyName = ""; [SerializeField] in...
35.866667
77
0.69145
[ "MIT" ]
kaiyumcg/KSaveDataManager
KSaveDataManager/Code/MasterSaveJsonDefault.cs
1,076
C#
using System; using Bernie.Server.Core; using Xunit; namespace Bernie.Tests.Core { public class ThrottleTests { [Fact] public void PreventsEventsBeingRaisedTooManyTimes() { var now = DateTimeOffset.UtcNow; var throttle = new Throttle(TimeSpan.FromSeconds(30)); ...
39.310345
87
0.655263
[ "Apache-2.0" ]
PaulStovell/Bernie
source/Bernie.Tests/Core/ThrottleTests.cs
1,142
C#
using Robust.Shared.Interfaces.Reflection; using Robust.Shared.IoC; using System; using System.Collections.Generic; using System.Reflection; namespace Content.Server.GameObjects.Components.NodeContainer.NodeGroups { public interface INodeGroupFactory { /// <summary> /// Performs reflection...
31.621212
109
0.604696
[ "MIT" ]
Hughgent/space-station-14
Content.Server/GameObjects/Components/NodeContainer/NodeGroups/NodeGroupFactory.cs
2,089
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由T4模板自动生成 // 生成时间 2020-02-04 21:25:26 // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失 // 作者:Harbour CTS // </auto-generated> //---------------------------------------------------------------------...
21.291667
80
0.463796
[ "MIT" ]
haitongxuan/LQExtesion
LQExtension.BLL/T4.DapperExt/EC_ProductBLL.cs
621
C#
namespace Renting.Domain { public class TenantId { private readonly string _id; private TenantId(string id) { _id = id; } public static TenantId From(string tenantId) { return new TenantId(tenantId); } public override str...
17.545455
52
0.5
[ "Apache-2.0" ]
rafalpienkowski/ddd-training
src/Renting/Domain/TenantId.cs
386
C#
using System; using CafeLib.Cryptography.BouncyCastle.Math; using CafeLib.Cryptography.BouncyCastle.Math.EC; using CafeLib.Cryptography.BouncyCastle.Math.Field; namespace CafeLib.Cryptography.BouncyCastle.Asn1.X9 { /** * ASN.1 def for Elliptic-Curve ECParameters structure. See * X9.62, for further detail...
26.989247
105
0.438845
[ "MIT" ]
chrissolutions/CafeLib
Cryptography/CafeLib.Cryptography.BouncyCastle/Asn1/X9/X9ECParameters.cs
5,020
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 ...
19.094118
63
0.653728
[ "Apache-2.0" ]
awei1688/aliyun-openapi-net-sdk
aliyun-net-sdk-dms-enterprise/Dms_enterprise/Model/V20181101/GrantUserPermissionResponse.cs
1,623
C#
using System.Web.Mvc; using System.Web.Routing; namespace cocolab { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapMvcAttributeRoutes(); routes.MapRoute( ...
21.818182
70
0.529167
[ "MIT" ]
TritiumMonoid/cocolab
src/cocolab/App_Start/RouteConfig.cs
482
C#
using System; using UnityEngine; using UnityEditor; using LEM_Effects; namespace LEM_Editor { public class RepeatMoveRotationToTNode : UpdateEffectNode { Transform m_TargetTransform = default; Transform m_ReferenceTransform = default; bool m_WorldRotation = false; float m_Durat...
43.3625
334
0.721822
[ "MIT" ]
bestcolour/Linear-Event-Manager
LEM_Editor_Files/Node_LEM/Nodes/NodeTypes/TransformEffects/MoveTowards/Rotation/RepeatMoveRotationToTNode.cs
3,471
C#
namespace DDD.Light.Realtor.Domain.Model.Buyer { // value object public class Address { public string Address1 { get; private set; } public string Address2 { get; private set; } public string City { get; private set; } public string State { get; private set; } public...
29.47619
95
0.563813
[ "MIT" ]
aksharp/DDD.Light
Examples/RealtorApp/DDD.Light.Realtor.Domain/Model/Buyer/Address.cs
621
C#
using UnityEngine; using System; using System.Reflection; namespace BehaviorDesigner.Runtime.Tasks { [TaskDescription("Compares the field value to the value specified. Returns success if the values are the same.")] [TaskCategory("Reflection")] [TaskIcon("{SkinColor}ReflectionIcon.png")] public...
39
118
0.600855
[ "MIT" ]
654306663/UnityExtensions
Tools/Behavior Designer/Runtime/Tasks/Conditionals/Reflection/CompareFieldValue.cs
2,340
C#
/* swfOP is an open source library for manipulation and examination of Macromedia Flash (SWF) ActionScript bytecode. Copyright (C) 2004 Florian Krüsch. see Licence.cs for LGPL full text! This library is free software; you can redistribute it and/or modify it under the terms of the G...
34.686275
78
0.624647
[ "MIT" ]
Acidburn0zzz/flashdevelop
External/Tools/SwfOp/ByteCode/Actions/ActionThrow.cs
1,722
C#
using System; using Miningcore.Contracts; using Miningcore.Native; namespace Miningcore.Crypto.Hashing.Algorithms { public unsafe class Blake : IHashAlgorithm { public void Digest(ReadOnlySpan<byte> data, Span<byte> result, params object[] extra) { Contract.Requires<ArgumentExceptio...
27.956522
125
0.572317
[ "MIT" ]
4AlexG/miningcore
src/Miningcore/Crypto/Hashing/Algorithms/Blake.cs
643
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.Runtime.InteropServices; using System.Security; using System.Threading.Tasks; namespace System.Runtime...
49.457627
132
0.656957
[ "MIT" ]
davidfowl/coreclr
src/mscorlib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs
5,836
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
34.173611
194
0.589311
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Npp/V20190823/Models/GetVirtualNumRequest.cs
6,129
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime:4.0.30319.42000 // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si // se vuelve a genera...
43.916667
95
0.666983
[ "Apache-2.0" ]
choquejhoselin/ABC
trabajo 9/MediatorDesignPattern/obj/Debug/netcoreapp2.0/MediatorDesignPattern.AssemblyInfo.cs
1,059
C#
using Blish_HUD.Controls; using Blish_HUD.Input; using Snaid1.Blishpad.Controls; using Snaid1.Blishpad.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Snaid1.Blishpad.Types { public class NotesFile { private string ...
25.888889
86
0.546235
[ "MIT" ]
Snaid1/BHUD-Blishpad
Types/NotesFile.cs
2,565
C#
// T4 code generation is enabled for model 'D:\Projects\Databases-Homeworks\11. Entity Framework\Entity-Framework-Homework\Task08-InheritClass\NorthwindEntities.edmx'. // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer // property to 'Legacy ObjectContext'. This property ...
82.6
169
0.773608
[ "MIT" ]
atanas-georgiev/TelerikAcademy
11.Databases/Homeworks/11. Entity Framework/Entity-Framework-Homework/Task08-InheritClass/NorthwindEntities.Designer.cs
828
C#
 namespace ModelGraph.Core { public class Property_ComputeX_Separator : PropertyOf<ComputeX, string> { internal override IdKey IdKey => IdKey.ComputeXSeparatorProperty; internal Property_ComputeX_Separator(PropertyRoot owner) { Owner = owner; Value = new StringV...
27.65
93
0.647378
[ "MIT" ]
davetz/ModelGraph2
ModelGraph/ModelGraph.Core/Property/Property_ComputeX_Separator.cs
555
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
29.876712
81
0.58276
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Cme/V20191029/Models/VideoEncodingPresetAudioSetting.cs
2,351
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.IO; using System.Net.Cache; using System.Net.Http; using System.Net.Test.Comm...
43.375646
131
0.639398
[ "MIT" ]
AlexGhiondea/corefx
src/System.Net.Requests/tests/HttpWebRequestTest.cs
58,774
C#
using Ivvy.API.Json; using Newtonsoft.Json; namespace Ivvy.API.Crm { /// <summary> /// An iVvy CRM lead source. /// </summary> public class LeadSource : ISerializable { [JsonProperty("id", DefaultValueHandling = DefaultValueHandling.Ignore)] public int Id { get; ...
18.765957
80
0.478458
[ "MIT" ]
ivvycode/ivvy-sdk-net
src/Crm/LeadSource.cs
882
C#
using Abp.AutoMapper; using Abp.Modules; using Abp.Reflection.Extensions; using <%= projectName %>.Authorization; namespace <%= projectName %> { [DependsOn( typeof(<%= projectName %>CoreModule), typeof(AbpAutoMapperModule))] public class <%= projectName %>ApplicationModule : AbpModule { ...
30.193548
97
0.634615
[ "MIT" ]
ronymaychan/Pln371
generators/generator-pln/generators/app/templates/aspnet-core/src/Plenumsoft.Application/PlenumsoftApplicationModule.cs
938
C#
using System; using Android.App; using Android.Runtime; namespace Iconize.Sample.Droid { [Application(Label = "Iconize", Theme = "@style/AppTheme")] public class MainApplication : Application { public MainApplication(IntPtr handle, JniHandleOwnership transer) : base(handle, transer) ...
38.5
89
0.548918
[ "MIT" ]
Ali-YousefiTelori/Xamarin.Plugins
Iconize/Samples/Iconize.Sample.Droid/MainApplication.cs
1,155
C#
namespace Orderio.Domain.Models { public class UserRole : BaseModel<int> { public int UserId { get; set; } public User User { get; set; } public int RoleId { get; set; } public Role Role { get; set; } } }
24.9
42
0.566265
[ "MIT" ]
Yaroslav08/Orderio
Orderio/Orderio.Domain/Models/UserRole.cs
251
C#