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
// MIT License // Copyright (c) 2019 Daniel Kubis // 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, modify, mer...
49.434783
138
0.604142
[ "MIT" ]
dkubi/IPAddressExtension
test/IPAddressExtension.UnitTest/ReservedAddressTest.cs
12,557
C#
// Decompiled with JetBrains decompiler // Type: BstkTypeLib.NATProtocol // Assembly: BstkTypeLib, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null // MVID: 38E91E34-8BF8-4856-A23F-FE231831C5D8 // Assembly location: C:\Program Files\BlueStacks\BstkTypeLib.dll using System.Runtime.InteropServices; namespace Bstk...
25.388889
79
0.765864
[ "MIT" ]
YehudaEi/Bluestacks-source-code
src/BstkTypeLib/NATProtocol.cs
459
C#
using System; namespace SPAwesome.WebAPI.Areas.HelpPage { /// <summary> /// This represents an image sample on the help page. There's a display template named ImageSample associated with this class. /// </summary> public class ImageSample { /// <summary> /// Initializes a new instan...
25.829268
130
0.527856
[ "MIT" ]
lazarofl/SPAwesome
WebAPI/SPAwesome.WebAPI/SPAwesome.WebAPI/Areas/HelpPage/SampleGeneration/ImageSample.cs
1,059
C#
namespace SoarBeyond.Data.Entities; public class JournalEntity : IHealthItem { public JournalEntity() { JournalEntries = new List<JournalEntryEntity>(); } public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } public DateTime CreationD...
26.5
72
0.671698
[ "MIT" ]
CalebABG/SoarBeyond
src/SoarBeyond.Data/Entities/JournalEntity.cs
532
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace VSTranslator.Translation.Bing { public class BingConnector { private const string BaseUrl = "http://api.microsofttranslator.com/v2/ajax.s...
36.17284
121
0.566553
[ "MIT" ]
umiyuki/VisualStudioExtensionTranslatorENtoJP
TranslatorVSIX/Translation/Bing/BingConnector.cs
2,932
C#
namespace Basics.Caching { internal sealed class NullCache : IDistributedCache, ICache { } }
17.5
63
0.695238
[ "Apache-2.0" ]
JeevanJames/Basics
Basics/Caching/NullCache.cs
107
C#
namespace NBitcoin.BouncyCastle.Crypto { /** * interface that a message digest conforms to. */ internal interface IDigest { /** * return the algorithm name * * @return the algorithm name */ string AlgorithmName { get; ...
28.142857
85
0.539199
[ "MIT" ]
0tim0/StratisFullNode
src/NBitcoin/BouncyCastle/crypto/IDigest.cs
1,773
C#
using System; using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; namespace PixelComrades { [System.Serializable] public class ImpactRadius : IComponent, ISerializable { public ImpactRadiusTypes Radius { get; } public bool LimitToE...
29.518519
85
0.677541
[ "MIT" ]
FuzzySlipper/Framework
Assets/Framework/Components/Impacts/Radius/ImpactRadius.cs
799
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Losol.Communication.Sms; using Losol.Identity.Data; using Losol.Identity.Model; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.AspNetCore.TestHost; u...
52.580645
117
0.5818
[ "MIT" ]
losol/idem
tests/Losol.Identity.Tests/CustomWebApplicationFactory.cs
4,890
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...
29.431034
109
0.670182
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CognitoIdentityProvider/Generated/Model/CompromisedCredentialsActionsType.cs
1,707
C#
using System; using System.Linq; using Xamarin.Forms; using SignaturePad.Forms; namespace Samples.Views { public partial class SignatureXamlView : ContentPage { public SignatureXamlView () { InitializeComponent (); } private async void OnChangeTheme (object sender, EventArgs e) { var action = awai...
25.363636
168
0.657706
[ "MIT" ]
Acidburn0zzz/SignaturePad
samples/Sample.Forms/Samples/Views/SignatureXamlView.xaml.cs
2,234
C#
using System; using Xunit; using Newtonsoft.Json; using System.Runtime.Serialization.Json; using System.IO; using System.Text; using Papabytes.Cronofy.NetCore.Requests; namespace Papabytes.Cronofy.NetCore.Test.PushNotificationTests { public sealed class JsonParsing { private const string Verificat...
36.448276
117
0.594371
[ "MIT" ]
Toky0/cronofy-csharp
test/Papabytes.Cronofy.NetCore.Test/PushNotificationTests/JsonParsing.cs
4,228
C#
using UnityEngine; using UnityEngine.UI; public class DebugOverlay : MonoBehaviour { [RuntimeInitializeOnLoadMethod] static void Init() { var asset = Resources.Load<GameObject>("UI/Debug"); if(asset == null) return; var go = GameObject.Instantiate(asset.gameObject); DontDestroyOnLoad(go); } static str...
22.38
97
0.706881
[ "MIT" ]
Software-Developers-Association/maze
Assets/App/Scripts/UI/Overlays/Debug/DebugOverlay.cs
1,121
C#
namespace ClearHl7.Codes.V280 { /// <summary> /// HL7 Version 2 Table 0236 - Event Reported To. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0236</remarks> public enum CodeEventReportedTo { /// <summary> /// D - Distributor. /// </summary> Distributor,...
22
59
0.5
[ "MIT" ]
kamlesh-microsoft/clear-hl7-net
src/ClearHl7.Codes/V280/CodeEventReportedTo.cs
662
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; namespace ChromeRemoteSharp.EmulationDomain { public partial class EmulationDomain { /// <summary> /// Overrides value returned by the javascript navigator object. ...
33.68
119
0.66152
[ "MIT" ]
jefersonsv/ChromeRemoteSharp
src/ChromeRemoteSharp/EmulationDomain/SetNavigatorOverridesAsync.cs
842
C#
using System; using GenericServices; using NewAlbums.Entities; using NewAlbums.Spotify.Dto; namespace NewAlbums.Albums.Dto { public class AlbumDto : CreationAuditedEntityDto<long>, ILinkToEntity<Album> { public string SpotifyId { get; set; } public string Name { get; set; } public st...
27.369565
144
0.564734
[ "MIT" ]
Ellfish/newalbumsviaemail
src/NewAlbums.Application/Albums/Dto/AlbumDto.cs
1,261
C#
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
33.058824
106
0.496219
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit.Tests/Pipeline/Retry_Specs.cs
4,498
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace TrashMob.Migrations { public partial class AddPrivateEvents : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn<bool>( name: "IsEventPublic", ...
28.083333
71
0.527201
[ "Apache-2.0" ]
ArijitCloud/TrashMob
TrashMob.Shared/Migrations/20210821003448_AddPrivateEvents.cs
1,013
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....
38
84
0.746088
[ "MIT" ]
mdamyanova/C-Sharp-Web-Development
08.C# Fundamentals/08.03.C# OOP Advanced/04.Generic - Exercise/01.02.03.GenericBox/Properties/AssemblyInfo.cs
1,409
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XCommerce.AccesoDatos; namespace XCommerce.Servicio.Core._04_Localidad { class VarGlobalLocalidad { public void Iniciar() { using (var contex = new ModeloXComme...
29.22
125
0.524298
[ "MIT" ]
RamonChauqui/SubeCodigo
XCommerce.Servicio.Core/04-Localidad/VarGlobalLocalidad.cs
1,463
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class RaisingTimer : TimerScript { public GameObject toRaise; public Transform raiseTo; public Transform raiseFrom; public override void Stopped() { StartCoroutine(SimpleDrop()); } ...
29.365854
110
0.623754
[ "MIT" ]
Arutsuyo/The-Final-Lock
Assets/Scripts/RaisingTimer.cs
1,206
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PairsByDifference { class PairsByDifference { static void Main(string[] args) { int[] inputArray = Console.ReadLine() .Split() ...
25.694444
128
0.467027
[ "MIT" ]
Melkiah/GitubExerciseHomework
ArraysExercises/PairsByDifference/PairsByDifference.cs
927
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading; using System.Threading.Tasks; using Azure.Analytics.Synapse.Spark.Models; using Azure.Core; using Azure.Core.Pipeline; namespace Azure.Analytics.Synapse.Spark { [CodeGenSuppress("...
51.3
205
0.679142
[ "MIT" ]
MahmoudYounes/azure-sdk-for-net
sdk/synapse/Azure.Analytics.Synapse.Spark/src/Customization/SparkSessionClient.cs
5,132
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using DSharpPlus; using DSharpPlus.CommandsNext; using DSharpPlus.CommandsNext.Attributes; using DSharpPlus.Entities; using System.Linq; using Octokit; namespace DerpBot { public class UtilityCommands { [C...
53.746032
234
0.595245
[ "MIT" ]
joelp53/DerpBot
DraxbotDSharpPlus/Commands/UtilityCommands.cs
6,798
C#
using System; using EventStore.ClientAPI; namespace EventStore.PositionRepository { public class ConnectionBuilder : IConnectionBuilder { public Uri ConnectionString { get; } public ConnectionSettings ConnectionSettings { get; } public string ConnectionName { get; } public IEv...
30.48
116
0.690289
[ "Apache-2.0" ]
riccardone/EventStore.PositionRepository
src/EventStore.PositionRepository/ConnectionBuilder.cs
764
C#
using System; using System.Collections.Generic; using System.Text; namespace TrivialJwt.Helpers { public static class SignatureAlgorithmHelper { /// <summary> /// /// </summary> /// <param name="jwa">String identifying the algorithm. Based on https://tools.ietf.org/html/rfc751...
27.064516
127
0.463647
[ "MIT" ]
r3dlin3/TrivialJwt
src/TrivialJwt/Helpers/SignatureAlgorithmHelper.cs
1,680
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Model.SysMaster; namespace BLL.IBLL.SysMaster { public interface ISysRoleMasterBL : IDataBaseCommandBL<Sys_RoleMaster_rlm_Info>, IExtraBL, IMainBL { } }
19.923077
102
0.776062
[ "BSD-3-Clause" ]
sndnvaps/OneCard_
BLL/IBLL/SysMaster/ISysRoleMasterBL.cs
261
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.863636
83
0.667428
[ "Apache-2.0" ]
geffzhang/tencentcloud-sdk-dotnet
TencentCloud/Vpc/V20170312/Models/DeleteServiceTemplateGroupResponse.cs
1,394
C#
using System.Threading.Tasks; using Flurl.Http; using Keycloak.Net.Model.Clients; using Keycloak.Net.Model.Common; namespace Keycloak.Net { /// <remarks> /// <include file='../../keycloak.xml' path='keycloak/docs/api' />#_clients_resource /// </remarks> public partial class KeycloakClient { ...
43.857143
120
0.625872
[ "MIT" ]
egyptianbman/Keycloak.Net
src/core/Clients/Permission.cs
2,151
C#
//___________________________________________________________________________________ // // Copyright (C) 2020, Mariusz Postol LODZ POLAND. // // To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI //__________________________________________________________________________________...
46.590164
143
0.754398
[ "MIT" ]
mpostol/WindowsForms
CAS.Windows.Forms.UnitTests/AssemblyTraceEventUnitTest.cs
2,844
C#
#pragma checksum "..\..\Window1.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8B69661E23AF603C7A0E31FBA4202D61FD648991" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // ...
38.911111
142
0.636208
[ "MIT" ]
ThomasOwca/C-WPF-XAML---Basic-Log-In-Screen
GUI Example/GUI Example/obj/Debug/Window1.g.cs
3,504
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Syntax.InternalSyntax; using Microsoft.CodeAnalysis.Text; using Roslyn.Utilities; namespace SamLu.CodeAnalysis.Lua.Syntax.InternalSyntax { [Flags] internal en...
33.880515
152
0.43199
[ "MIT" ]
sanmuru/luna
src/Compilers/Lua/Portable/Parser/Lexer.cs
19,139
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.Linq; using System.Threading.Tasks; u...
39.921875
132
0.578343
[ "MIT" ]
DiskCrasher/dotnet-docker
tests/Microsoft.DotNet.Docker.Tests/SampleImageTests.cs
7,667
C#
/* * 2015 Sizing Servers Lab, affiliated with IT bachelor degree NMCT * University College of West-Flanders, Department GKG (www.sizingservers.be, www.nmct.be, www.howest.be/en) * * Author(s): * Dieter Vandroemme */ using mshtml; using System.Threading; using System.Windows.Forms; namespace Lup...
37.769231
109
0.540479
[ "MIT" ]
sizingservers/Lupus-Titanium
Lupus-Titanium/Controls and dialogs/WebRenderer.cs
3,930
C#
using System; using System.Collections.Generic; using Bottles; using Bottles.Diagnostics; using FubuMVC.Core.Assets.Content; using FubuCore; namespace FubuMVC.Core.Assets { public class MimetypeRegistrationActivator : IActivator { private readonly IEnumerable<ITransformerPolicy> _policies; ...
29.837838
110
0.57971
[ "Apache-2.0" ]
ketiko/fubumvc
src/FubuMVC.Core/Assets/MimetypeRegistrationActivator.cs
1,104
C#
using UnityEngine; using UnityEditor; using System.Linq; using System.Collections; using System.Collections.Generic; using ProBuilder2.Common; using ProBuilder2.MeshOperations; using ProBuilder2.Math; public class ExpandSelection : Editor { // [MenuItem("Tools/" + pb_Constant.PRODUCT_NAME + "/Selection/Grow Selectio...
38.636364
123
0.772549
[ "MIT" ]
bird1235456/hotfix
Unity/Assets/NewBirdAshScene/ProCore/ProBuilder/Editor/MenuItems/Selection/ExpandSelection.cs
1,275
C#
using System; using System.Globalization; namespace Sirius.Parser.Semantic.Tokens { public class TestConstant<T>: TestValue where T: struct, IConvertible { private readonly T constant; [Terminal(typeof(TestToken), "Integer", @"[0-9]+", GenericTypeParameter = typeof(int))] [Terminal(typeof(TestToken...
34.65
138
0.701299
[ "MIT" ]
siriusch/Sirius.Parser
tests/Sirius.Parser.Tests/Semantic/Tokens/TestConstant.cs
693
C#
namespace System.Colors { using System.Diagnostics.CodeAnalysis; using System.Drawing; /// <summary>Represents a <see href="https://en.wikipedia.org/wiki/CIELUV">CIELUV</see> color.</summary> [SuppressMessage("ReSharper", "InconsistentNaming", Justification = "The names of the properties correspond to ...
53.6
165
0.586839
[ "MIT" ]
lperezperez/System.Colors
System.Colors/CieLuv.cs
2,950
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Text; using Silk.NET.Core.Native; using Ultz.SuperInvoke; #pragma warning disable 1591 namespace S...
17.387097
57
0.630798
[ "MIT" ]
AzyIsCool/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Structs/Queue.gen.cs
539
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v8/errors/string_format_error.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protob...
36.823529
307
0.699681
[ "Apache-2.0" ]
deni-skaraudio/google-ads-dotnet
src/V8/Types/StringFormatError.g.cs
8,138
C#
using SystemChecker.Model.Data.Entities; using SystemChecker.Model.Data.Interfaces; using System; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace SystemChecker.Model.Data.Repositories { public class UserRepository : Repository<User>, IUserRepository { pu...
29
90
0.593596
[ "MIT" ]
MattJeanes/SystemChecker
SystemChecker.Model/Data/Repositories/UserRepository.cs
1,220
C#
using System; namespace ConsoleUI.Elements.Containers.GridContainer { public class CellUpdatedEventArgs : EventArgs { public UInt16 RowIndex { get; } public UInt16 ColumnIndex { get; } public CellUpdatedEventArgs( UInt16 _columnIndex, UInt16 _rowIndex ) { ColumnIndex = _columnIndex; RowIndex = _rowI...
19.647059
70
0.742515
[ "MIT" ]
Arganancer/PathfindingBenchmark_Console
ConsoleUI/Elements/Containers/GridContainer/CellUpdatedEventArgs.cs
336
C#
using UnityEngine; using System.Collections; using DG.Tweening; public class Whisperer : MonoBehaviour { Game game; void Start () { game = GetComponentInParent<Game> (); } void OnMouseOver () { game.SetHelpText (Whisperer.Description ()); } void OnMouseExit () { ...
35.364407
141
0.528157
[ "MIT", "Unlicense" ]
trungtle/shires
Assets/Resources/Scripts/Whisperer.cs
4,175
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Concurrent; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Internal; using Microsoft.EntityFrameworkCore.Meta...
48.620155
128
0.65354
[ "Apache-2.0" ]
pmiddleton/EntityFramework
src/EFCore/Infrastructure/ModelSource.cs
6,272
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
46.935484
215
0.775258
[ "Apache-2.0" ]
qg0/EliteQuant_Excel
SwigConversionLayer/csharp/CapFloorTermVolatilityStructureHandle.cs
5,820
C#
using System; using System.Threading.Tasks; using Cosmos.Serialization.Yaml.SharpYaml; // ReSharper disable once CheckNamespace namespace Cosmos.Serialization.Yaml { /// <summary> /// SharpYaml extensions /// </summary> public static partial class Extensions { /// <summary> /// From...
28.526316
81
0.536285
[ "Apache-2.0" ]
alexinea/dotnet-static-pages
src/Cosmos.Serialization.SharpYaml/Cosmos/Serialization/Yaml/Extensions/Extensions.SharpYaml.String.cs
1,626
C#
using System.Net; using System.Text.RegularExpressions; using System.Xml.Linq; namespace Jox.UiPathCoverageReport; class Tree : TreeNode { public Tree(string name) : base(name) { } public bool AddComment(string comment) => GetOrAdd($"({comment})").IsMetadata = true; public void AddFile(string p...
31.393939
130
0.556708
[ "Unlicense" ]
jopabe/uipath-coveragereport
src/Jox.UiPathCoverageReport/Tree.cs
4,146
C#
using System.Collections.Generic; using BuildingBlocks.CQRS.QueryHandling; using EcommerceDDD.Application.Customers.ViewModels; using FluentValidation; using FluentValidation.Results; namespace EcommerceDDD.Application.Products.ListProducts { public class ListProductsQuery : Query<IList<ProductViewModel>> { ...
26.71875
82
0.680702
[ "MIT" ]
AELMOUMNI/EcommerceDDD
src/EcommerceDDD.Application/Products/ListProducts/ListProductsQuery.cs
857
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.462/blob/master/LICENSE * */ #endregion //////////////////////////////////////////////////////////////////////////...
41.803704
90
0.566847
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.462
Source/Krypton Toolkit Suite Extended/Shared/Persistence/Classes/Security/RandomPassword.cs
11,289
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using OvertimeManager.MVC5.Web; using OvertimeManager.MVC5.Web.Controllers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; namespace OvertimeManager.MVC5.Web.Tests.Controllers { [TestClass] ...
25
91
0.558545
[ "MIT" ]
roughcutsoftware/OvertimeManager
tests/OvertimeManager.MVC5.Web.Tests/Controllers/HomeControllerTest.cs
1,377
C#
using EngineeringUnits.Units; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace EngineeringUnits.Units { public class ElectricConductivityUnit : Enumeration { public static readonly ElectricConductivityUnit SI = new(ElectricAdmittanceUnit.SI, LengthUnit.SI); ...
30.3125
128
0.740206
[ "MIT" ]
ikijano/EngineeringUnits
EngineeringUnits/CombinedUnits/ElectricConductivity/ElectricConductivityEnum.cs
972
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using MySql.Data; using System.Data; using DPS.Classes; namespace DPS.DAO { public class Cliente { public IEnumerable<Models.Cliente> Get() { string comando = @"SELECT telefone_residencial, latitud...
28.666667
86
0.457849
[ "Apache-2.0" ]
AntonioDantas/DPS
DPS/DAO/Cliente.cs
1,378
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Money.Events { /// <summary> /// An event raised when the income is deleted. /// </summary> public class IncomeDeleted : UserEvent { } }
18.875
51
0.695364
[ "Apache-2.0" ]
ScriptBox21/Money
src/Money/Events/IncomeDeleted.cs
304
C#
using System; using System.Collections.Generic; using System.Text; namespace DMTestWebAuto.Compilador.Tokens { public enum EnumComandos { Acesse, Click, Aguarde, VeriqueSeExiste } }
15.2
41
0.649123
[ "MIT" ]
JDouglasMendes/tools-web-test-driver
DMTestWebAuto/DMTestWebAuto.Compilador/Utils/EnumComandos.cs
230
C#
using Wyam.Common.Execution; namespace Wyam.SearchIndex { /// <summary> /// Represents an item in the search index. /// </summary> public interface ISearchIndexItem { /// <summary> /// The title of the search item. /// </summary> string Title { get; } /// <...
28.578947
106
0.541436
[ "MIT" ]
FBoucher/Wyam
src/extensions/Wyam.SearchIndex/ISearchIndexItem.cs
1,088
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...
34.313953
159
0.621823
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataFactory/V20180601/Outputs/ServiceNowObjectDatasetResponse.cs
2,951
C#
/* Copyright (C) 2019 Alex Watt (alexwatt@hotmail.com) This file is part of Highlander Project https://github.com/alexanderwatt/Highlander.Net Highlander is free software: you can redistribute it and/or modify it under the terms of the Highlander license. You should have received a copy of the license along wi...
31.875
100
0.636415
[ "BSD-3-Clause" ]
mmrath/Highlander.Net
Metadata/FpML.V5r3/FpML.V5r3.Reporting/Fra.cs
1,787
C#
using Newtonsoft.Json; using System; using System.Text.RegularExpressions; namespace Taviloglu.Wrike.Core { /// <summary> /// Metadata entry key-value pair. /// Metadata entries are isolated on per-client(application) basis /// </summary> public sealed class WrikeMetadata : IWrikeObject { ...
31.239437
158
0.522092
[ "MIT" ]
hannesb/Taviloglu.Wrike.ApiClient
Taviloglu.Wrike.Core/WrikeMetadata.cs
2,220
C#
/* This code is derived from jgit (http://eclipse.org/jgit). Copyright owners are documented in jgit's IP log. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, is reproduced below, and is available at http://www...
30.109005
92
0.711003
[ "BSD-3-Clause" ]
Kavisha90/IIT-4th-year
NGit.Test/NGit.Junit/JGitTestUtil.cs
6,353
C#
// ========================================================================== // AppCommandMiddlewareTests.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // =============================================...
34.23565
135
0.579951
[ "MIT" ]
andrewhoi/squidex
tests/Squidex.Domain.Apps.Write.Tests/Apps/AppCommandMiddlewareTests.cs
11,334
C#
// ScannerErrors.cs // // Copyright 2010 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
26.52
97
0.715686
[ "MIT" ]
Microsoft/ajaxmin
JSUnitTest/ScannerErrors.cs
1,328
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("Ph...
38.621622
84
0.748076
[ "MIT" ]
sunloving/photosphere-asmemit
src/Photosphere.NativeEmit.Tests/Properties/AssemblyInfo.cs
1,432
C#
// Copyright 2017 Serilog Contributors // // 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 or agr...
33.145038
95
0.60456
[ "Apache-2.0" ]
ArminShoeibi/seq-extensions-logging
test/Seq.Extensions.Logging.Tests/Serilog/Sinks/BatchedConnectionStatusTests.cs
4,344
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. // // Generated on 2020 October 09 05:04:32 UTC // </auto-generated> //--------------...
33.274194
107
0.575376
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/syscall/ztypes_linux_s390x_TimespecStruct.cs
2,063
C#
using System.Globalization; using IBuyStuff.Application.Commands; using IBuyStuff.Application.ViewModels.Orders; using IBuyStuff.Domain.Repositories; using IBuyStuff.Domain.Services; using IBuyStuff.Domain.Services.Impl; using IBuyStuff.Persistence.Repositories; namespace IBuyStuff.Application.Handlers { public c...
39.087719
183
0.695242
[ "MIT" ]
nodashin/DDD-OnionArchitecture-Traning
Samples/IBuyStuff/IBuyStuff-cqrs/src/Site/IBuyStuff.Application/Handlers/ProcessOrderAfterPaymentHandler.cs
2,230
C#
using Xunit; namespace Demo.Tests { public class CalculadoraTests { [Fact] public void Calculadora_Somar_RetornarValorSoma() { // Arrange var calculadora = new Calculadora(); // Act var resultado = calculadora.Somar(2, 2); /...
23.473684
101
0.51009
[ "Apache-2.0" ]
ferjesusjs8/TestsDevIo
TesteDeSoftwareDevIo/Demo.Tests/01 - CalculadoraTests.cs
894
C#
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial ...
31.55102
116
0.717335
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
anam/abs
V1/POS/AdminPos_ProductStatusDisplay.aspx.cs
1,546
C#
// <auto-generated /> using EventAPI.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace EventAPI.Migrations {...
39.572581
130
0.513756
[ "MIT" ]
Janani-Sankar/janani-assignments
Assignment3a/WebApplication1/Migrations/20190927211645_Finall.Designer.cs
4,909
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ReflectionHelper.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the proje...
41.471154
121
0.580261
[ "MIT" ]
kephas-software/kephas
src/Kephas.Core.Abstractions/Reflection/ReflectionHelper.cs
12,941
C#
namespace MySpheroLibrary { using RobotKit; using System; using System.Threading.Tasks; using Windows.Foundation; public sealed class SpheroControl { Sphero sphero; int r; int g; int b; int rotation; float backlightBrightness; private SpheroControl(Sphero spher...
21.265625
92
0.534901
[ "Apache-2.0" ]
pasupulaphani/Sphero-Slalom
MySpheroLibrary/SpheroControl.cs
2,724
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Linq; using Dolittle.Runtime.Events.Processing.EventHandlers; using Machine.Specifications; namespace Integration.Tests.Events.Processing.EventHandlers.wit...
39.6
175
0.782828
[ "MIT" ]
dolittle-runtime/Runtime
Integration/Tests/Events.Processing/EventHandlers/with_a_single/unscoped/partitioned/event_handler/without_implicit_filter/processing_one_event_type/needing_catchup/withoutout_problems.cs
1,188
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using InformedProteomics.Graphics; using NUnit.Framework; namespace InformedProteomics.Test { [TestFixture] class TestLcMsFeatureMap { [Test] ...
29.580645
131
0.654308
[ "Apache-2.0" ]
PNNL-Comp-Mass-Spec/Informed-Proteomics
InformedProteomics.Test/TestLcMsFeatureMap.cs
919
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.Jag.PillPressRegistry.Interfaces { using Microsoft.Rest; using Models; using System.Collections; usi...
44.434343
542
0.629007
[ "Apache-2.0" ]
GeorgeWalker/jag-pill-press-registry
pill-press-interfaces/Dynamics-Autorest/ICustomaddressincidentaddressofbusinessthathasgivenorloaned.cs
4,399
C#
using BobsBuddy; using BobsBuddy.Simulation; using BobsGraphPlugin; using System; using System.Windows; namespace GraphTest { /// <summary> /// Interaktionslogik für MainWindow.xaml /// </summary> public partial class MainWindow : Window { private Random _rand; private BobsGraphUI ...
25.553571
65
0.497554
[ "MIT" ]
Wasserwecken/BobsGraph
GraphTest/MainWindow.xaml.cs
1,434
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/winnt.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System; namespace TerraFX.Int...
41.358491
145
0.712591
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/winnt/ANON_OBJECT_HEADER_V2.cs
2,194
C#
public interface IEquipment { int Attack { get; set; } int AttackChance { get; set; } int Awareness { get; set; } int Defense { get; set; } int DefenseChance { get; set; } int Gold { get; set; } int Health { get; set; } int MaxHealth { get; set; } string Name { get; set; } int S...
22.733333
35
0.565982
[ "MIT" ]
KuaileY/RogueCsharpUnityTraining
Assets/Scripts/Interfaces/IEquipment.cs
341
C#
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using System.Linq; public class FootballLeague { public static void Main() { string key = Console.ReadLine(); string input = Console.ReadLine(); Dictionary<string, long> teamsAndPoi...
34.838384
126
0.575239
[ "MIT" ]
yani-valeva/Programming-Fundamentals
ExamPreparation/Football-League/FootballLeague.cs
3,451
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CurrentRoomPlayerTtlProperty.cs" company="Exit Games GmbH"> // Part of: Pun Cockpit // </copyright> // <author>developer@exitgames.com</author> // ------------------------------...
29.488372
120
0.392744
[ "Unlicense" ]
23SAMY23/Meet-and-Greet-MR
Meet & Greet MR (AR)/Assets/Photon/PhotonUnityNetworking/Demos/PunCockpit/Scripts/ReadOnlyProperties/CurrentRoomPlayerTtlProperty.cs
1,270
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using FingertipsUploadService.ProfileData.Repositories; namespace FingertipsUploadService.ProfileDataTest.Respositories { [TestClass] public class WhenUsingLoggingRepository { private LoggingRepository _loggingRepository; [...
24.12
63
0.686567
[ "MIT" ]
PublicHealthEngland/fingertips-open
FingertipsUploadService/ProfileTest/Respositories/WhenUsingLoggingRepository.cs
605
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SqlServerDataAdapter.Infrastruction { public class TopNumber { public int NO { get; set; } } }
17.357143
45
0.720165
[ "Apache-2.0" ]
nxjcproject/DataAdapter
DataAdapter/SqlServerDataAdapter/Infrastruction/TopNumber.cs
245
C#
// (c) Copyright Microsoft Corporation. // This source is subject to the Microsoft Public License (Ms-PL). // Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details. // All other rights reserved. using System; using System.ComponentModel; using System.Globalization; using System.Windows; using System.Wi...
35.309375
192
0.571024
[ "MIT" ]
misenhower/WPRemote
CommonLibraries/Libraries/Microsoft.Phone.Controls.Toolkit/Microsoft.Phone.Controls.Toolkit/ToggleSwitch/ToggleSwitch.cs
11,301
C#
// <copyright file="AspNetCoreMvc31Tests.cs" company="Datadog"> // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License. // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc. // </copyright> #if NETCOREAPP3_1...
38.298507
134
0.706157
[ "Apache-2.0" ]
DataDog/dd-trace-csharp
tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/AspNetCore/AspNetCoreMvc31Tests.cs
2,566
C#
using CommandLine; using CommandLine.Text; using System.Diagnostics; using System; namespace PbixTools.CLI { class Options { [Option('r', "read", Required = true, HelpText = "Input file to be p rocessed.")] public string InputFile { get; set; } [Option('w', "write", Required = true, Hel...
34.907407
119
0.586207
[ "MIT" ]
okviz/PbixTools
PbixTools.CLI/Program.cs
1,887
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using ConcurrentCollections; using WalletWasabi.Backend.Models; using WalletWasabi.Exceptions; using WalletWasabi.Helpers...
32.634906
283
0.681063
[ "MIT" ]
ferdeen/WalletWasabi
WalletWasabi/Services/WalletService.cs
34,595
C#
using Microsoft.Office.Core; using Microsoft.Office.Interop.Outlook; using Schillings.SwordPhish.Shared; using Schillings.SwordPhish.Shared.Properties; using System; using System.Drawing; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using Office = Microsoft.Office.Core; namespace Sc...
32.273381
144
0.608783
[ "Apache-2.0" ]
Schillings/SwordPhish
Schillings.SwordPhish/Ribbon.cs
4,488
C#
// <auto-generated /> using System; using CourseManagement.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace...
36.755418
133
0.440954
[ "MIT" ]
ewgeni-dinew/Course-Management
CourseManagement_BE/CourseManagement.Data/Migrations/20210917141041_Second.Designer.cs
11,874
C#
#region copyright /* * This code is from the Lawo/ember-plus GitHub repository and is licensed with * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organization * obtaining a copy of the software and accompanying documentation covere...
37.230769
79
0.676309
[ "BSD-3-Clause" ]
IrisBroadcast/LarkspurEmberPlusProvider
src/EmberPlusProviderClassLib/Model/Signal.cs
2,906
C#
using System; using System.Collections.Generic; using System.Linq; using System.Data; using System.ComponentModel.DataAnnotations; using System.Xml; using System.Configuration; namespace Marvin.Persistence.ModelMaps { /// <summary> /// Classe que realiza o mapeamento entre uma Entidade e uma tabela do b...
50.651452
546
0.584828
[ "MIT" ]
viniciuscs84/Marvin
Core/Marvin/Persistence/ModelMaps.cs
36,691
C#
using System; using CoreGraphics; using Foundation; using UIKit; namespace SimpleBackgroundTransfer { public partial class SimpleBackgroundTransferViewController : UIViewController { const string Identifier = "com.SimpleBackgroundTransfer.BackgroundSession"; const string DownloadUrlString = "https://atmire.com/...
31.273885
172
0.738493
[ "Apache-2.0" ]
dannycabrera/monotouch-samples
SimpleBackgroundTransfer/SimpleBackgroundTransfer/SimpleBackgroundTransferViewController.cs
4,910
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...
35.25
103
0.661601
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Macie/Generated/Model/AssociateS3ResourcesRequest.cs
2,961
C#
// 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 0.17.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
36.8125
280
0.626486
[ "MIT" ]
dnelly/azure-sdk-for-net
src/KeyVault/Microsoft.Azure.KeyVault/Generated/Models/IssuerBundle.cs
2,945
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MoAppDevAssignmentOne { public partial class ChatForm : Form { delegate void ...
33.04902
157
0.591813
[ "MIT" ]
Truperton/Mobile-Application-Development-Assignment-One
chatForm.cs
3,373
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("Bac...
37.666667
84
0.749263
[ "MIT" ]
Alexisrecio/TorneoPredicciones
TorneoPredicciones/Backend/Properties/AssemblyInfo.cs
1,359
C#
/* MIT License Copyright (c) 2022 ShuheiOi 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, modify, merge, publish, distr...
34.306452
85
0.67607
[ "MIT" ]
ShuheiOi/AdolescenceNovel
Assets/Sources/Novel/Command/SystemCommand/notcompare/Notcompare.cs
2,345
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\shared\ks.h(481,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct KSCOMPONENTID { public Guid Manufacturer; public Guid Product; publi...
23.944444
82
0.670534
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/KSCOMPONENTID.cs
433
C#
using Common.Classes.Encryption; using ImplantSide.Classes.ErrorHandler; using ImplantSide.Classes.Helpers; using ImplantSide.Interfaces; using SocksProxy.Classes.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading; namespace Impla...
41.829493
217
0.491021
[ "BSD-3-Clause" ]
FDlucifer/SharpSocks
SharpSocksImplant/SharpSocksImplantCore/Classes/Comms/CommandCommunicationHandler.cs
9,079
C#
using System; namespace _08.FuelTank { class Program { static void Main(string[] args) { string text = Console.ReadLine(); double litresFuel = double.Parse(Console.ReadLine()); switch (text) { case "Diesel": i...
28.823529
75
0.338776
[ "MIT" ]
dinikolaeva/Basics-CSharp
ConditionalStatements-Exe/ConditionalStatements-MoreExercises/08.FuelTank/Program.cs
1,472
C#
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Linq.Expressions; using System.Reflection; using CoreSharp.Common.Attributes; using CoreSharp.GraphQL.Configuration; using GraphQL; using GraphQL.Types; using GraphQL.Ut...
36.733333
159
0.626134
[ "MIT" ]
maca88/CoreSharp
CoreSharp.GraphQL/AutoInputGraphType.cs
6,061
C#
#region License // // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // 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 /...
30.925926
75
0.734132
[ "Apache-2.0" ]
ivara/fluentmigrator
src/FluentMigrator.Runner/IMigrationLoader.cs
835
C#
namespace Hexalith.Application.Abstractions.Tests.Fixture { using Hexalith.Domain.ValueTypes; public sealed class TestId : BusinessId { public TestId() { } public TestId(string id) : base(id) { } public TestId(TestId id) : base(id) { ...
18.171429
75
0.531447
[ "MIT" ]
Hexalith/Hexalith
test/Hexalith.Application.Abstractions.Tests/Fixtures/Command.cs
638
C#