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.Linq.Expressions; using HotChocolate.Language; namespace HotChocolate.Data.Filters.Expressions { public class QueryableStringNotEndsWithHandler : QueryableStringOperationHandler { public QueryableStringNotEndsWithHandler() { CanBeNull = false; } protec...
28.142857
84
0.663706
[ "MIT" ]
GraemeF/hotchocolate
src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/String/QueryableStringNotEndsWithHandler.cs
788
C#
using FluentValidation.Results; using System; using System.Collections.Generic; using System.Linq; namespace Order.Application.Exceptions { public class ValidationException : ApplicationException { public ValidationException() : base("One or more validation failures have occured.") { ...
31.821429
104
0.639731
[ "MIT" ]
mehmetkaradeniz/ms
src/Services/Order/Order.Application/Exceptions/ValidationException.cs
893
C#
using System; using PdfSharp.Drawing; using PdfSharp.Drawing.Layout; namespace PdfSharp.Pdf.Signatures { internal class DefaultAppearanceHandler : ISignatureAppearanceHandler { public string Location { get; set; } public string Reason { get; set; } public string Signer { get; set; } ...
34.757576
153
0.590235
[ "MIT" ]
brunoserrano/PDFsharp
src/PdfSharp/Pdf.Signatures/DefaultAppearanceHandler.cs
1,149
C#
namespace DawtNetProject.Migrations { using System; using System.Data.Entity.Migrations; public partial class Initial : DbMigration { public override void Up() { CreateTable( "dbo.Articles", c => new { ...
38.068182
83
0.428955
[ "MIT" ]
IHorvalds/DawtNetProj
Migrations/202011282036595_Initial.cs
3,352
C#
using System; using System.Collections.Generic; using System.Text; namespace PlayersAndMonsters { public class Wizard : Hero { public Wizard(string username, int level) : base(username, level) { } } }
16
73
0.641667
[ "MIT" ]
Anzzhhela98/CSharp-Advanced
C# OOP/01.Inheritance/Inheritance - Exercises/PlayersAndMonsters/Wizard.cs
242
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
41.297578
1,358
0.580729
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V6301/Generated/UKCT_MT140301UK03PertinentInformation3.cs
11,935
C#
namespace WebChemistry.Framework.Core { using WebChemistry.Framework.Math; using System; using WebChemistry.Framework.Core.Pdb; /// <summary> /// A representation of the Mol2 atom record. /// </summary> public sealed class Mol2Atom : Atom { /// <summary> /// Mol 2 atom ...
36.739837
193
0.543704
[ "MIT" ]
dsehnal/PatternQuery
src/WebChemistry.Framework.Core/Structure/Mol2/Mol2Atom.cs
4,521
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Globalization; using System.IO; using System.Linq; using M...
36.098398
156
0.634992
[ "MIT" ]
Evangelink/vstest
src/vstest.console/Processors/ListFullyQualifiedTestsArgumentProcessor.cs
15,775
C#
namespace MassTransit.GrpcTransport.Tests { using System; using System.Threading.Tasks; using Courier.Contracts; using NUnit.Framework; using TestFramework; using Testing; public record DemoArguments(Guid Id); public record DemoEvent(Guid Id); public class DemoActivityTests : ...
33.081967
152
0.688801
[ "ECL-2.0", "Apache-2.0" ]
AlexanderMeier/MassTransit
tests/MassTransit.GrpcTransport.Tests/RoutingSlipDictionary_Specs.cs
2,018
C#
using System; using System.Collections.Generic; using System.Text; namespace DayVsNight.Themes { class ThemeMessage { public const string ThemeChanged = "ThemeChanged"; } }
16.333333
59
0.704082
[ "MIT" ]
DaraOladapo/DayVsNight
src/DayVsNight/DayVsNight/DayVsNight/Themes/ThemeMessage.cs
198
C#
namespace NoLockScreenHelper2 { partial class SettingsForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
55.008889
162
0.648622
[ "MIT" ]
lordrak007/NLSH
NoLockScreenHelper2/SettingsForm.Designer.cs
24,789
C#
using Models.DB; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System.Collections.Generic; using System.Threading.Tasks; namespace API.Controllers { [Route("api/[controller]")] //[Authorize] [ApiController] public class TcontrollersController : Controller {...
25.648148
93
0.701083
[ "Apache-2.0" ]
LightosLimited/RailML
v3.1/API/Controllers/TcontrollerController.cs
1,385
C#
// ------------------------------------------------------------------------ // Copyright 2021 The Dapr Authors // 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/li...
47.080402
160
0.5943
[ "Apache-2.0" ]
ChrisProlls/dotnet-sdk
src/Dapr.Actors.AspNetCore/ActorsEndpointRouteBuilderExtensions.cs
9,369
C#
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com namespace ExtraGACUtil.Interfaces { interface IProjectsRepository { } }
26.5
96
0.716981
[ "MIT" ]
Rombique/ExtraGACUtil
Interfaces/IProjectsRepository.cs
267
C#
using System.Drawing; using SciChart.Charting3D.Common.Math; using SciChart.Charting3D.Model; using SciChart.Charting3D.Model.DataSeries.Xyz; using SciChart.Charting3D.Modifiers; using SciChart.Charting3D.Visuals; using SciChart.Charting3D.Visuals.Axes; using SciChart.Charting3D.Visuals.Camera; using SciChart....
38.173333
139
0.596228
[ "MIT" ]
ABTSoftware/SciChart.Xamarin.Examples
src/Xamarin.Examples.Demo.Droid/Fragments/Examples3D/CreatePointCloud3DChartFragment.cs
2,865
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Web.Models { public class BankAccountsModel { public string Status { get; set; } public List<BankAccountModel> BankAccounts { get; set; } } }
18.666667
64
0.692857
[ "MIT" ]
guvenbank/guvenbank.web
Web/Web/Models/BankAccountsModel.cs
282
C#
using System.Collections.ObjectModel; namespace FriendOrganizer.Model { public class FriendMeetings { public int FriendId { get; set; } public Friend Friend { get; set; } public int MeetingId { get; set; } public Meeting Meeting { get; set; } } }
22.538462
44
0.627986
[ "MIT" ]
pancholopez/EnterpriseWpf
FriendOrganizer/FriendOrganizer.Model/FriendMeetings.cs
295
C#
using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Z80.Kernel.Z80Assembler; namespace Z80.Kernel.Test.AssemblerInstructionTests { [TestClass] public class EquInstructionTests { [TestMethod] public void EquIsWorkingWithByte() { va...
54.635294
133
0.664298
[ "MIT" ]
konzolcowboy/TVCStudio
Z80.Kernel.Test/AssemblerInstructionTests/EquInstructionTests.cs
4,656
C#
using Entia.Core; using Entia.Experimental.Serialization; using Entia.Injectables; using Entia.Messages; using Entia.Modules; using Entia.Queryables; using Entia.Systems; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.IO; using System.Runtime.Serialization.For...
40.269663
150
0.542597
[ "MIT" ]
Magicolo/Entia
Entia.Experiment/Program.cs
21,506
C#
////******************************************************************** // <copyright file="FindAllCallCompletedEventArgs.cs" company="Intuit"> /******************************************************************************* * Copyright 2016 Intuit * * Licensed under the Apache License, Version 2.0 (the "License")...
33.622951
86
0.540712
[ "Apache-2.0" ]
ANSIOS-X9SAN-iOS-XR/QuickBooks-V3-DotNET-SDK
IPPDotNetDevKitCSV3/Code/Intuit.Ipp.Core/RestCalls/EventArgs/FindAllCallCompletedEventArgs.cs
2,053
C#
using System; namespace Alex.GuiDebugger.Models { public class ElementTreeItemProperty { public Guid ElementId { get; } public string Name { get; } public Type Type { get; } public object Value { get; set; } public ElementTreeItemProperty() {...
19.2
101
0.527778
[ "MPL-2.0" ]
TheBlackPlague/Alex
src/Tools/GuiDebugger/Alex.GuiDebugger/Models/ElementTreeItemProperty.cs
578
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using CryptoExchange.Net.Interfaces; using CryptoExchange.Net.Objects; using Kucoin.Net.Objects; using Kucoin.Net.Objects.Spot; namespace Kucoin.Net.Interfaces { /// <summary> /// Interface for the Kucoin clie...
55.159938
323
0.631957
[ "MIT" ]
agent-rat/Kucoin.Net
Kucoin.Net/Interfaces/IKucoinClientSpot.cs
35,523
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using ContractTools.WebApp.Base; using ContractTools.WebApp.Model; using ZyGames.Framework.Common; using ZyGames.Framework.Common.Log; namespace ContractTools.WebApp {...
33.089744
108
0.431616
[ "Unlicense" ]
seem-sky/Scut
Source/Tools/ContractTools/src/ContractTools.WebApp/ContractEdit.aspx.cs
5,218
C#
using System; using System.Collections.Generic; using System.Text; namespace Model { public enum Color { White, Black } }
10.076923
33
0.717557
[ "MIT" ]
Bobby-Read/ReallyGoodChess
Model/Color.cs
133
C#
using System.Collections.Generic; namespace Edison.Core.Common.Models { public class ResponseActionPlanModel { public string Name { get; set; } public string Description { get; set; } public string Color { get; set; } public string Icon { get; set; } public double Prima...
33.5
74
0.651741
[ "MIT" ]
Mahesh1998/ProjectEdison
Edison.Core/Edison.Core.Common/Models/Response/ResponseActionPlanModel.cs
605
C#
using System; namespace NModbus { /// <summary> /// Represents a serial resource. /// Implementor - http://en.wikipedia.org/wiki/Bridge_Pattern /// </summary> public interface IStreamResource : IDisposable { /// <summary> /// Indicates that no timeout sho...
40.306122
128
0.576203
[ "MIT" ]
vantyaevserega/NModbus
NModbus.Interfaces/IStreamResource.cs
1,977
C#
using DreamWallHub.Core.ViewModels; using DreamWallHub.Infrastructure.Data; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DreamWallHub.Core.Contracts { public interface IProjectService { Task<IEnumerable<AllProjectViewMode...
24.625
64
0.754653
[ "MIT" ]
StrikeITBG/DreamWallHub
DreamWallHub/DreamWallHub.Core/Contracts/IProjectService.cs
593
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. // </auto-generated> //------------------------------------------...
40.652174
80
0.64385
[ "MIT" ]
BoomlabsInc/BCSF
2022-S1/W6/ArgsDemo/obj/Debug/net6.0/ArgsDemo.AssemblyInfo.cs
935
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Trapezoid_Area { class Program { static void Main(string[] args) { var b1 = double.Parse(Console.ReadLine()); var b2 = double.Parse...
23.818182
59
0.557252
[ "MIT" ]
Menkachev/SoftUni-C-Sharp-Basics-Fundamentals
Programing Basics - October 2016/01. Simple Calculations - October 22, 2016/05. Trapezoid Area/Program.cs
526
C#
using System; using GitIssue.Fields; using GitIssue.Issues; namespace GitIssue.Formatters { /// <summary> /// A simple formatter for showing the issue on a single line /// </summary> public class DelegateFormatter : IIssueFormatter, IFieldFormatter { private readonly Func<IField, strin...
31.765625
114
0.587309
[ "MIT" ]
lennoncork/GitIssue
src/GitIssue/Formatters/DelegateFormatter.cs
2,035
C#
// *********************************************************************** // Copyright (c) 2007 Charlie Poole // // 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, incl...
49.494737
145
0.572097
[ "MIT" ]
jnm2/nunit
src/NUnitFramework/tests/Constraints/CollectionSubsetConstraintTests.cs
4,704
C#
using System; using System.Collections.Generic; namespace AltUI.Collections { public class ObservableListModified<T> : EventArgs { public IEnumerable<T> Items { get; private set; } public ObservableListModified(IEnumerable<T> items) { Items = items; } } }
19.6875
59
0.631746
[ "MIT" ]
kran27/AltUI
AltUI/Collections/ObservableListModified.cs
317
C#
using System.Linq.Expressions; namespace ExpressionTreeParsing.Domain { public class ParsedNewExpression : ParsedExpression { public ParsedNewExpression( ParsedConstructorInfo constructor) : base() { this.Constructor = constructor; } public ...
23.315789
70
0.65237
[ "MIT" ]
Rightpoint/ExpressionTreeParsing
ExpressionTreeParsing.Domain/ParsedNewExpression.cs
445
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
34.419355
84
0.743205
[ "MIT" ]
dhindrik/TDswe16
Lab - Xamarin.Android/solution/Xamarin_Android/Properties/AssemblyInfo.cs
1,070
C#
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Data.OleDb; using System.Web.UI.HtmlControls; using Nitobi.Compon...
31.712195
250
0.678511
[ "MIT" ]
stevengill/completeui
server/samples/server/grid/dotnet/csharp2.0/Basic/Paging/index.aspx.cs
6,501
C#
using System.Reflection; namespace TechTalk.SpecFlow.Bindings.Reflection { public class RuntimeBindingParameter : IBindingParameter { private readonly ParameterInfo parameterInfo; public IBindingType Type { get { return new RuntimeBindingType(parameterInfo.ParameterType); }...
27.234043
79
0.594531
[ "BSD-3-Clause", "Apache-2.0", "MIT" ]
Jedarc/SpecFlow
TechTalk.SpecFlow/Bindings/Reflection/RuntimeBindingParameter.cs
1,280
C#
using System.Diagnostics; using Clean.Architecture.Web.ViewModels; using Microsoft.AspNetCore.Mvc; namespace Clean.Architecture.Web.Controllers; /// <summary> /// A sample MVC controller that uses views. /// Razor Pages provides a better way to manage view-based content, since the behavior, viewmodel, and view are a...
37.304348
129
0.749417
[ "MIT" ]
Allann/CleanArchitecture-1
src/Clean.Architecture.Web/Controllers/HomeController.cs
860
C#
namespace LinFx.Extensions.Auditing { /// <summary> /// This interface can be implemented to add standard auditing properties to a class. /// </summary> public interface IAuditedObject : ICreationAuditedObject, IModificationAuditedObject { } /// <summary> /// Extends <see cref="IAudited...
34.352941
125
0.69863
[ "MIT" ]
ailuozhu/LinFx
src/LinFx/Extensions/Auditing/IAuditedObject.cs
584
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 28.03.2019. // // <param>.ExtractMonth() // using System; using System.Linq; using System.ComponentModel.DataAnnotat...
24.979757
202
0.546272
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Funcs/NullableDateTime/SET001/EXT/ExtractMonth/TestSet___param.cs
12,342
C#
using System.IO; using Kralizek.Assembla.Connector.Files; using Kralizek.Assembla.Connector.Files.Content; using NUnit.Framework; using Shouldly; namespace Tests.Connector.Files { [TestFixture] public class FileContentTests { private const string FileName = "fileName.txt"; [Test, CustomAu...
30.557692
82
0.658905
[ "MIT" ]
Kralizek/Assembla.Connector
tests/Tests.Assembla.Connector/Connector/Files/FileContentTests.cs
1,591
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; using System.Runtime.CompilerServices; using HarmonyLib; using UnityEngine; using System.Collections; namespace NoBlockDetach { public static class IngressPoint { ...
49.475207
217
0.623737
[ "MIT" ]
FLSoz/NoBlockDetach
IngressPoint.cs
11,975
C#
using CyberCAT.Core.Classes.Mapping; namespace CyberCAT.Core.Classes.DumpedClasses { [RealName("IWorldWidgetComponent")] public class IWorldWidgetComponent : WidgetBaseComponent { [RealName("isEnabled")] public bool IsEnabled { get; set; } [RealName("glitchValue")] ...
28.75
79
0.627536
[ "MIT" ]
Deweh/CyberCAT
CyberCAT.Core/Classes/DumpedClasses/IWorldWidgetComponent.cs
690
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using NeoWeb.Data; namespace NeoWeb.Da...
32.673077
125
0.450592
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
EdgeDLT/neo.org
NeoWeb/Data/Migrations/20181204062844_BlogTag.Designer.cs
15,293
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.Collections.Immutable; using System.Linq; using System...
53.901639
361
0.759732
[ "MIT" ]
Cosifne/roslyn
src/Features/LanguageServer/Protocol/AbstractRequestHandlerProvider.cs
3,290
C#
// This file is part of SharpNEAT; Copyright Colin D. Green. // See LICENSE.txt for details. using SharpNeat.Graphs; using SharpNeat.Neat.Genome; namespace SharpNeat.Neat.DistanceMetrics.Double; // TODO: Performance tuning target. E.g. use Math.Fma(), vectorisation, or use single-precision floats for some of the cal...
41.067901
164
0.622501
[ "MIT" ]
karuzzo/sharpneat-refactor
src/SharpNeat/Neat/DistanceMetrics/Double/ManhattanDistanceMetric.cs
13,308
C#
// ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI...
33.648649
147
0.510843
[ "MIT" ]
Bhaskers-Blu-Org2/UnityUWPBTLEPlugin
UnityUWPBTLEPlugin/BluethoothLEHelper/GattDeviceServiceWrapper.cs
6,231
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.143541
161
0.618609
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/WorkbookTableSortRequest.cs
9,017
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("Co...
38.189189
84
0.748054
[ "MIT" ]
Contasimple-Engineering/PDFsharp-samples
samples/wpf/ConcatenateDocuments/Properties/AssemblyInfo.cs
1,416
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\d3dkmddi.h(560,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _D3DKM_TRANSPARENTBLTFLAGS__union_0__struct_0 { [MarshalAs(UnmanagedType.ByVal...
41.125
178
0.724924
[ "MIT" ]
riQQ/DirectN
DirectN/DirectN/Generated/_D3DKM_TRANSPARENTBLTFLAGS__union_0__struct_0.cs
660
C#
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Application.Common.Interfaces; using Application.Common.Models; using Domain.Event; using MediatR; using Microsoft.Extensions.Logging; namespace Application.Cities.EventHandler { public class CityCreatedEventHandler : IN...
35.186047
125
0.64772
[ "MIT" ]
digaomatias/CleanArchitecture
src/Common/Application/Cities/EventHandler/CityCreatedEventHandler.cs
1,515
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Miru.Fabrication; using Miru.Foundation.Hosting; using Miru.Testing; using Miru.Testing.Userfy; using Supportreon.Domain; using Supportreon.Tests.Features.Donations; namespace Supportreon.Tests.Config { public class TestsConf...
27.836066
85
0.539458
[ "MIT" ]
joaofx/Supportreon
tests/Supportreon.Tests/Config/TestConfig.cs
1,698
C#
using System; using System.Collections.Generic; using System.Text; namespace Lab8_CS { class FirstTask { public delegate int LineOperator(string str, char ch); public static int FirstChar(string str, char ch) => str.IndexOf(ch); public int firstChar(string str, char ch) => str.IndexOf(...
23.785714
76
0.675676
[ "Apache-2.0" ]
AshBringer47/KPI_OOP
Lab8/Lab8_CS/FirstTask.cs
335
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// <summary> /// DeviceRelationData Data Structure. /// </summary> [Serializable] public class DeviceRelationData : AopObject { /// <summary> /// 生效计划id列表 ...
22.555556
51
0.530378
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/DeviceRelationData.cs
625
C#
using System.Collections.Generic; using System.Xml.Serialization; using Alipay.AopSdk.Core.Domain; namespace Alipay.AopSdk.Core.Response { /// <summary> /// AlipayUserTradeSearchResponse. /// </summary> public class AlipayUserTradeSearchResponse : AopResponse { /// <summary> /// 总页数...
24.53125
60
0.574522
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Response/AlipayUserTradeSearchResponse.cs
811
C#
using System; namespace _01._Smallest_of_three { class Program { static int SmallestOfThree(int firstNum, int secondNum, int thirdNum) { return Math.Min(firstNum, Math.Min(secondNum, thirdNum)); } static void Main(string[] args) { int first = int...
27.35
77
0.586837
[ "MIT" ]
DeyanDanailov/SoftUniCSharpFundamentals
repos/01. Smallest of three/Program.cs
549
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.107143
96
0.687421
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Maps/Outputs/CreatorPropertiesResponse.cs
787
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.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// Microsoft...
68.822436
30,342
0.774429
[ "Apache-2.0" ]
brianorwhatever/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMduplicaterecord.cs
107,363
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Kureshark.Model.Network { [Flags] public enum IpV4Dscp : byte { /// <summary> /// Default /// </summary> Default=0x00, /// <summary> /// Expedited Forwarding ...
21.970588
34
0.398483
[ "MIT" ]
KureFM/Kureshark
Kureshark.Model/Network/IpV4/IpV4Dscp.cs
2,243
C#
using Javeriana.Convenios.Api.Models; using Javeriana.Convenios.Api.Repository; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Javeriana.Convenios.Api.Interfaces { public interface IPaisRepository : IRepositoryBase<Pais> ...
24.625
61
0.781726
[ "Apache-2.0" ]
jacking1008/toures-balon
services/Convenios/ConveniosAPI/Convenios/ConveniosAPI/Interfaces/IPaisRepository.cs
396
C#
// // System.Runtime.InteropServices.ComTypes.IBindCtx.cs // // Author: // Andreas Nahr (ClassDevelopment@A-SoftTech.com) // Kazuki Oikawa (kazuki@panicode.com) // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of t...
43.113208
129
0.768053
[ "Apache-2.0" ]
121468615/mono
mcs/class/corlib/System.Runtime.InteropServices.ComTypes/IBindCtx.cs
2,285
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using TestClassLibrary; namespace TestClassLibraryTest { [TestClass] public class IndexerStubsTest { [TestMethod] public void TestIndexerGet() { var stub = new StubIGenericContainer<int>(); st...
27.098361
69
0.486388
[ "MIT" ]
Bhaskers-Blu-Org2/SimpleStubs
test/TestClassLibraryTest/IndexerStubsTest.cs
1,655
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Expression.cs" company="Hukano"> // Copyright (c) Hukano. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information....
43.253968
119
0.617982
[ "MIT" ]
hugener/Sundew.Quantities
Source/Sundew.Quantities/Representations/Expressions/Expression.cs
2,725
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using UnityEngine; using UnityEngine.Assertions; using UnityEngine.Rendering; namespace UnityEditor.Rendering { /// <summary> /// This attributes tells a <see cref="VolumeComponentEditor"/> class which type of /// <...
38.967593
272
0.56677
[ "MIT" ]
thelebaron/bendfoldjam
Packages/com.unity.render-pipelines.core/Editor/Volume/VolumeComponentEditor.cs
16,834
C#
using System; using System.IO; using System.Windows.Forms; using VanBurenExplorer.Properties; using VanBurenExplorerLib; using VanBurenExplorerLib.Helpers; using VanBurenExplorerLib.Views; namespace VanBurenExplorer { public partial class MainForm : Form, IMainView { private readonly MainViewPresenter...
35.782353
120
0.532632
[ "MIT" ]
bsimser/Van-Buren-Explorer
VanBurenExplorer/MainForm.cs
6,085
C#
using System.Windows; namespace LucaHome.Dialogs { public enum DialogAction { NULL, CONFIRM, CANCEL }; public partial class SetDialog : Window { private const string TAG = "SetDialog"; private DialogAction _setDialogAction = DialogAction.NULL; public SetDialog(string title, stri...
26.5
109
0.605346
[ "MIT" ]
FriedrichWilhelmNietzsche/LucaHome-WPFApplication
LucaHome/Dialogs/SetDialog.xaml.cs
1,274
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...
37.886792
163
0.680777
[ "Apache-2.0" ]
samritchie/aws-sdk-net
AWSSDK_DotNet35/Amazon.CloudFront/Model/NoSuchOriginException.cs
2,008
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.XPath; using System....
33.078261
161
0.606467
[ "Apache-2.0" ]
LBRNZ/ReqIF_Editor
Tools/SpecObjectsViewModel.cs
3,806
C#
using System; using System.Collections.Generic; namespace binarysearchtree { // https://stackoverflow.com/a/36496436/1051256 public static class BTreePrinter { class NodeInfo { public BinarySearchTree Node; public string Text; public int StartPos; ...
36.476636
105
0.450679
[ "MIT" ]
macromania/algorithms-data-structures
data-structures/binarysearchtree/TreePrinter.cs
3,913
C#
using Light.Domain.Bus.EventHandler; using Light.Domain.Bus.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Light.Event.Contracts { public interface IAuditVersionedEventHandler : IEventHandler<VersionedEvent> { } }
21.266667
80
0.789969
[ "MIT" ]
delexw/net-lightBoilerplate
Domain/Light.Event/Contracts/IAuditVersionedEventHandler.cs
321
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.988764
153
0.60317
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/WorkbookFunctionsMatchRequest.cs
3,470
C#
namespace PersonInfo { public interface IIdentifiable { string Id { get; } } }
11.666667
34
0.552381
[ "MIT" ]
teodortenchev/C-Sharp-Advanced-Coursework
C# OOP Basics/InterfacesAndAbstraction/P2_MultipleImplementation/IIdentifiable.cs
107
C#
using System; namespace WeifenLuo.WinFormsUI.Docking { public class DockContentEventArgs : EventArgs { private IDockContent m_content; public DockContentEventArgs(IDockContent content) { m_content = content; } public IDockContent Content { get { return m_content; } } } }
14.9
51
0.731544
[ "MIT" ]
3-Delta/Unity-UI
Tools/AI/Behaviac/External/DockPanel/WinFormsUI/Docking/DockContentEventArgs.cs
298
C#
#region --- License --- /* Copyright (c) 2006 - 2008 The Open Toolkit library. 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...
35.108766
146
0.509109
[ "MIT" ]
tksuoran/renderstack_net
technologies/opentk/Source/OpenTK/Math/Vector4d.cs
43,254
C#
using System; using System.Collections.Generic; using System.Windows; using Caliburn.Micro; using Paint101.Desktop.ViewModels; namespace Paint101.Desktop { /// <summary> /// Caliburn bootstrapper for application /// </summary> public class AppBootstrapper : BootstrapperBase { private Simpl...
23.218182
76
0.616288
[ "MIT" ]
kinpa200296/Paint101
Paint101/Paint101.Desktop/AppBootstrapper.cs
1,279
C#
// Copyright 2017-2020 Elringus (Artyom Sovetnikov). All Rights Reserved. using System; using UnityEngine; namespace Naninovel { /// <summary> /// Allows detecting touch swipes by sampling user input. /// </summary> [Serializable] public class InputSwipeTrigger { [Tooltip...
39.285714
136
0.561558
[ "MIT" ]
286studio/Sim286
AVG/Assets/Naninovel/Runtime/Input/InputSwipeTrigger.cs
1,927
C#
using System; using System.Linq; using System.Linq.Expressions; namespace NPoco.FluentMappings { public class Map<T> : IMap { private readonly TypeDefinition _petaPocoTypeDefinition; public Map() : this(new TypeDefinition(typeof(T))) { } public Map(TypeDefinition petaP...
33.819048
112
0.621233
[ "Apache-2.0" ]
asterd/NPoco.iSeries
NPoco/FluentMappings/Map.cs
3,551
C#
namespace Trifolia.DB { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("role")] public partial class Role { [System.Diagnostics.CodeAnalysis...
35.44186
128
0.671916
[ "Apache-2.0" ]
lantanagroup/trifolia
Trifolia.DB/Model/role.cs
1,524
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...
45.303191
965
0.643067
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/Models/VMwareCbtUpdateMigrationItemInput.cs
8,517
C#
//From https://github.com/LogosBible/Logos.Utility/blob/master/src/Logos.Utility/GuidUtility.cs#L16 //Modified by removing the built in guids this class had. using System; using System.Security.Cryptography; using System.Text; namespace Logos.Utility { /// <summary> /// Helper methods for working with <see c...
46.06383
171
0.605312
[ "MIT" ]
threax/Threax.IdServer
Threax.IdServer/Services/GuidServices/GuidUtility.cs
4,334
C#
using SharpPulsar.Extension; using SharpPulsar.Interfaces.ISchema; using SharpPulsar.Shared; using System; /// <summary> /// 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 /// regardi...
26.364865
67
0.695541
[ "Apache-2.0" ]
eaba/SharpPulsar
SharpPulsar/Schemas/DateSchema.cs
1,953
C#
using System; using System.Diagnostics; using System.Net; using System.Text; using System.Threading; using System.Web; using System.Windows; using System.Xml; namespace ScriptPlayer.Shared { public class VlcTimeSource : TimeSource, IDisposable { private VlcConnectionSettings _connectionSettings; ...
31.150943
114
0.522108
[ "BSD-3-Clause" ]
hotcoconuts/ScriptPlayer
ScriptPlayer/ScriptPlayer.Shared/TimeSource/VlcTimeSource.cs
8,257
C#
// <copyright file="AirSpeed.cs" company="Mark Lauter"> // Copyright (c) Mark Lauter. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> using System; namespace Tello.State { internal sealed class AirSpeed : IAirSpeed { ...
30.203125
193
0.580445
[ "MIT" ]
marklauter/TelloAPI
src/Tello/State/AirSpeed.cs
1,935
C#
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Runtime.Serialization; namespace MOE.Common.Models { [DataContract] public class VersionAction { [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] [DataMember] ...
23.722222
57
0.679157
[ "Apache-2.0" ]
AndreRSanchez/ATSPM
MOE.Common/Models/VersionAction.cs
429
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V3109</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
41.150538
1,358
0.575298
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V3109/Generated/PORX_MT024003UK06SuppliedMaterial.cs
11,481
C#
using System; using System.Collections.Generic; using System.Linq; using System.Drawing; using MonoMac.Foundation; using MonoMac.AppKit; using MonoMac.CoreVideo; using MonoMac.OpenGL; namespace GLFullScreen { public partial class MyOpenGLView : MonoMac.AppKit.NSView { NSOpenGLContext openGLContext; NSOpenGLPixe...
27.845771
177
0.727711
[ "MIT" ]
Devolutions/monomac
samples/GLFullScreen/MyOpenGLView.cs
5,597
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using Microsoft.PowerFx.Core.Errors; using Microsoft.PowerFx.Core.Lexer.Tokens; using Microsoft.PowerFx.Core.Syntax.Nodes; using Microsoft.PowerFx.Core.Syntax.SourceInformation; using Microsoft.PowerFx.Core.Ut...
31.785714
152
0.654682
[ "MIT" ]
ivanradicek/Power-Fx
src/libraries/Microsoft.PowerFx.Core/Parser/ParseResult.cs
1,337
C#
using System.Runtime.Serialization; namespace Structurizr { /// <summary> /// A definition of an element style. /// </summary> [DataContract] public sealed class ElementStyle { /// <summary> /// The tag to which this element style applies. /// </summary> ...
28.693069
87
0.477916
[ "Apache-2.0" ]
kurattila/dotnet
Structurizr.Core/View/ElementStyle.cs
2,898
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ResetButton : MonoBehaviour { public Image playImage; public Sprite playSprite; public void Start() { this.gameObject.SetActive(false); } public void Reset() { ...
25.153846
83
0.600917
[ "Apache-2.0" ]
Dead-Doctor/Cell-Machine-Mystic-Mod
src/Assets/Scripts/UI/Level Scene/ResetButton.cs
1,310
C#
#pragma checksum "..\..\..\..\..\HUD\Assets\UserControls\ItemBar.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "033309168ED0AC0FCC68E44BB33CEAF8D05A0E6377E78BE5B0B0CA08FD6A8C22" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a ...
40.629213
180
0.636892
[ "MIT" ]
CodingJinxx/polypoly
UserInterface/HUD/obj/Debug/HUD/Assets/UserControls/ItemBar.g.cs
3,618
C#
using System; using System.Collections.Generic; using System.Text; namespace DP.B.Strategy.Real { interface IMovable { void Move(); } }
13.166667
33
0.658228
[ "MIT" ]
Mihu89/DesignPatterns
DP/DP/B/Strategy/Real/IMovable.cs
160
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated (once) by \generate-code.bat, but will not be // regenerated when it already exists. The purpose of creating this file is to make // it easier to remember to implement all the un...
47.358209
104
0.69335
[ "MIT" ]
AlexejLiebenthal/UnitsNet
UnitsNet.Tests/CustomCode/SpecificVolumeTests.cs
3,175
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.IO; using System.Collections; using System.Reflection; using System.Threading; using System.Diagnostics; using DigitalPlatform; // Stop类 using DigitalPlatform.rms.Client; using DigitalPlatform.Xml; using DigitalPlatform...
36.71099
478
0.39737
[ "Apache-2.0" ]
zgren/dp2
DigitalPlatform.LibraryServer/AppLogRecover.cs
338,856
C#
using System; namespace AlexaTVInfoSkill.Areas.HelpPage.ModelDescriptions { /// <summary> /// Describes a type model. /// </summary> public abstract class ModelDescription { public string Documentation { get; set; } public Type ModelType { get; set; } public string Name { ...
21.1875
59
0.625369
[ "MIT" ]
kmcoulson/AlexaTvInfoSkill
AlexaTVInfoSkill/Areas/HelpPage/ModelDescriptions/ModelDescription.cs
339
C#
using System; using System.Runtime.InteropServices; namespace DbgEng { [StructLayout(LayoutKind.Sequential, Pack = 4)] public struct _DEBUG_LAST_EVENT_INFO_EXIT_THREAD { public uint ExitCode; } }
16.916667
49
0.788177
[ "Apache-2.0" ]
rdev0/PadAnalyzer
Source/CsDebugScript.DbgEng/DbgEng/_DEBUG_LAST_EVENT_INFO_EXIT_THREAD.cs
203
C#
//------------------------------------------------------------------------------ // 此代码版权(除特别声明或在RRQMCore.XREF命名空间的代码)归作者本人若汝棋茗所有 // 源代码使用协议遵循本仓库的开源协议及附加协议,若本仓库没有设置,则按MIT开源协议授权 // CSDN博客:https://blog.csdn.net/qq_40374647 // 哔哩哔哩视频:https://space.bilibili.com/94253567 // Gitee源代码仓库:https://gitee.com/RRQM_Home // Gi...
37.480769
160
0.573628
[ "Apache-2.0" ]
RRQM/RRQMSocket.RPC
RRQMSocket.RPC/RRQMRPC/Config/UdpRpcParserConfig.cs
2,287
C#
using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; namespace RucheHome.Util { /// <summary> /// プロパティ変更通知をサポートするオブジェクトのコレクションクラス。 /// </summary> /// <typeparam name="TItem"> /// コレクション要素型。 INotifyPropertyChanged インタフェースを実装する必要がある。 /// </typepar...
27.950413
76
0.50414
[ "MIT" ]
biss-git/KISS4V
RucheHomeLib/Util/BindableCollection.cs
3,968
C#
#pragma checksum "C:\Users\DRAGON\Downloads\eShop-master\eShop-master\eShop-master\MyShop\MyShopK6\Views\_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d563719e351c2799e4dee3a31e8cc8c1b76afa2d" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.Razor...
54.777778
208
0.757945
[ "Apache-2.0" ]
yennhi2404/k6shoponline
MyShop/MyShopK6/obj/Debug/netcoreapp2.2/Razor/Views/_ViewStart.g.cshtml.cs
2,958
C#
using Domain.Interfaces; using Domain.Entities; namespace Infra.Authentication { public class FakeAuthentication : IToken { public string TokenGenerateClient(Client client) { return "token-implementation-fake"; } public string TokenGenerateOperator(Operator op) ...
21.722222
56
0.631714
[ "MIT" ]
Micheler720/Localiza
Tests/Infra/Authentication/FakeAuthentication.cs
391
C#
using RWCustom; using System; using System.Collections.Generic; using UnityEngine; namespace PrimitiveArmory { public class PlayerHooks { public static int swingTime = 10; // Time between regular swings. public static float comboTimeMultiplier = 4f; // Multiplier for how long after a player ...
44.392532
364
0.499005
[ "MIT" ]
Penguixia/PrimitiveArmory
PlayerHooks.cs
48,745
C#
using UnityEngine; using System.Collections; namespace Telescopes { public interface IParameterizedCurve { Vector3 StartPosition { get; } Vector3 EndPosition { get; } Vector3 StartTangent { get; } Vector3 EndTangent { get; } void RotateAndOffset(Quaternion rotation, V...
20.944444
97
0.668435
[ "MIT" ]
icethrush/telescoping-structures
Assets/Scripts/IParameterizedCurve.cs
379
C#