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.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace apiwithpomelo { public class Program { public ...
25.740741
70
0.646043
[ "MIT" ]
peedroca/CSharpAdvanced21
src/generics/apiwithpomelo/Program.cs
695
C#
using System; using System.Threading.Tasks; using R5T.T0064; namespace R5T.D0001.Default { [ServiceImplementationMarker] public class OffsetNowUtcProvider : INowUtcProvider, IServiceImplementation { #region Static public static OffsetNowUtcProvider NewFromOffset(TimeSpan off...
27.428571
92
0.62037
[ "MIT" ]
MinexAutomation/R5T.D0001
source/R5T.D0001.Default/Code/Services/Implementations/OffsetNowUtcProvider.cs
1,728
C#
using log4net; using TimeLog.TransactionalAPI.SDK; using TimeLog.TransactionalAPI.SDK.RawHelper; namespace TimeLog.API.ConsoleApp; /// <summary> /// Template class for consuming the transactional API /// </summary> public class ManipulateTasks { private static readonly ILog Logger = LogManager.GetLogger(type...
38.701493
188
0.615503
[ "MIT" ]
TimeLog/TransactionalApiSdk
TimeLog.API.ConsoleApp/ManipulateTasks.cs
2,595
C#
// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. using UnityEngine; namespace HutongGames.PlayMaker.Actions { [ActionCategory("iTween")] [Tooltip("Changes a GameObject's position over time to a supplied destination.")] public class iTweenMoveTo : iTweenFsmAction { [RequiredField] public FsmOw...
44.205556
232
0.69863
[ "MIT" ]
andyrolfes/savr-escape
Assets/PlayMaker/Actions/iTween/iTweenMoveTo.cs
7,957
C#
using UnityEngine; using System.Collections; using System.Linq; using System; using System.Collections.Generic; using UnityEngine.Serialization; namespace HexTiles { [SelectionBase] public class HexTileMap : MonoBehaviour { [FormerlySerializedAs("hexWidth")] public float tileDiameter = 1f;...
33.351443
141
0.532631
[ "MIT" ]
Lepozuk/HexTiles
Assets/Code/HexTiles/HexTileMap.cs
19,646
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace atividade_abstracao_01 { class Arranjo : AnaliseCombinatoria { public override double calcular(int n, int p = 0) { return base.fatorial(n) / base.fatorial(n...
20.294118
59
0.657971
[ "MIT" ]
otavio-augusto/pucminas
08-roteiro-abstracao/atividade-abstracao-01/atividade-abstracao-01/Arranjo.cs
347
C#
using System; using System.Runtime.CompilerServices; using LibHac.Common; using LibHac.Sf; using IStorageSf = LibHac.FsSrv.Sf.IStorage; namespace LibHac.Fs.Impl { /// <summary> /// An adapter for using an <see cref="IStorageSf"/> service object as an <see cref="IStorage"/>. Used /// when receivi...
36.482759
120
0.611846
[ "BSD-3-Clause" ]
Thealexbarney/LibHac
src/LibHac/Fs/Impl/StorageServiceObjectAdapter.cs
3,176
C#
#if !NET452 && !NET46 namespace Microsoft.ApplicationInsights.TestFramework.Extensibility.Implementation.Authentication { using System; using System.Threading; using System.Threading.Tasks; using Azure.Core; /// <remarks> /// Copied from (https://github.com/Azure/azure-sdk-for-net/blob/master...
36
133
0.717078
[ "MIT" ]
304NotModified/ApplicationInsights-dotnet
BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Extensibility/Implementation/Authentication/MockCredential.cs
974
C#
//------------------------------------------------------------------------------ // <auto-generated>This code was generated by LLBLGen Pro v5.3.</auto-generated> //------------------------------------------------------------------------------ using System; using System.Collections.Generic; namespace EFCore20.Bencher....
50.980769
165
0.696718
[ "MIT" ]
sanekpr/RawDataAccessBencher
EFCore2.0/Model/EntityClasses/Address.cs
2,653
C#
using FakeItEasy; using NUnit.Framework; using System; namespace Conway.Domain.Utilities.Tests { public class FastRandomTests { [Test] public void NextBoolean_SetsBitsOnlyOnceEveryThirtyOneCalls() { var sut = A.Fake<FastRandom>(); A.CallTo(sut).CallsBaseMethod(); for (int i = 0; i < 62; ++i) { ...
19.473684
65
0.651351
[ "MIT" ]
Riegardt/Conway
tests/Conway.Domain.Tests/Utilities/FastRandomTests.cs
740
C#
using System; using System.Reflection; using Acquaintance.Utility; namespace Acquaintance.RequestResponse { public class UntypedListenerBuilder { private readonly IReqResBus _messageBus; public UntypedListenerBuilder(IReqResBus messageBus) { _messageBus = messageBus; ...
46.408602
166
0.662419
[ "Apache-2.0" ]
Whiteknight/Acquaintance
Acquaintance/RequestResponse/UntypedListenerBuilder.cs
4,318
C#
// // Copyright © Martin Tamme // // 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 agreed to i...
25.872
89
0.624613
[ "Apache-2.0" ]
mtamme/NProxy
Source/Test/NProxy.Core.Test/Types/OutConstructor.cs
3,237
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; namespace Aiursoft.Gateway.Migrations { public partial class AnotherWayToMarkCodeUseTime : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "I...
28.857143
83
0.548515
[ "MIT" ]
AiursoftWeb/Infrastructures
src/WebServices/Basic/Gateway/Migrations/20190210080359_AnotherWayToMarkCodeUseTime.cs
1,012
C#
// <copyright file="Multinomial.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2013 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this...
38
138
0.565893
[ "MIT" ]
Evangelink/mathnet-numerics
src/Numerics/Distributions/Multinomial.cs
14,556
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using UnityEngine; namespace Fizzyo { // Serializable which holds high score data [System.Serializable] pu...
39.51436
248
0.576054
[ "MIT" ]
Fizzyo/FizzyoFramework-Unity
Assets/Fizzyo/FizzyoFramework/Scripts/FizzyoAchievements.cs
15,136
C#
using System; namespace Xsolla.Login { [Serializable] public class AccessTokenResponse { public string access_token; } }
11.636364
33
0.757813
[ "Apache-2.0" ]
xsolla/inventory-unity-sdk
Assets/Xsolla/Login/Scripts/Entities/AccessTokenResponse.cs
128
C#
namespace SudokuApplication.Core.Enums { public enum PlayerDecisionType { FillCell, Restart, Solve } }
14
39
0.592857
[ "MIT" ]
danielrss/SudokuApplication
SudokuApplication/SudokuApplication.Core/Enums/PlayerDecisionType.cs
142
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; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Utilities; namespace Microsoft.EntityFrameworkCore.Query.SqlExpressions ...
32.756757
111
0.638614
[ "Apache-2.0" ]
1iveowl/efcore
src/EFCore.Relational/Query/SqlExpressions/CaseWhenClause.cs
1,212
C#
using System.Collections.Generic; using People.Domain; namespace Map.Domain { /** * List of all people on the map */ public class PersonList { public List<Person> People { get; } public PersonList() { People = new List<Person>(); } } }
17.111111
43
0.545455
[ "MIT" ]
keypax/object-pooling-in-unity-demo
Assets/Scripts/Map/Domain/PersonList.cs
310
C#
using System; using System.Text; using SampleApp.Business.Entities; using Tenor.Data; using System.Linq; #if MSTEST using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; #else using TestMethodAttribute = NUnit.Framework.TestAttribute; using TestClassAttribute = NUnit.Framework.TestFixtureAtt...
28.688889
105
0.482572
[ "MIT" ]
junalmeida/tenor-framework
Tenor.Test/SavingEntities.cs
5,166
C#
using System.Net; namespace Shared.Api.Response { public class ApiActionResultNotFound : ApiActionResultBase, IApiActionResult { public override int StatusCode { get { return (int)HttpStatusCode.NotFound; } } public ApiActionResultNotFound() : base(null) { Message = "not f...
22.4
87
0.585714
[ "MIT" ]
chenjunsheep/Shared.Library
Shared.Api/Response/ApiActionResultNotFound.cs
562
C#
using System; using DevExpress.Xpo; using DevExpress.Xpo.Metadata; using DevExpress.Data.Filtering; using System.Collections.Generic; using System.ComponentModel; using System.Reflection; namespace DbSurat { public partial class Pegawai { public Pegawai(Session session) : base(session) { } pub...
22.055556
78
0.738035
[ "Apache-2.0" ]
hendrawash/AppSurat
Surat/ORMDataModelSuratCode/Pegawai.cs
399
C#
using System; using Param_ItemNamespace.Core.Models; using Param_ItemNamespace.Services; using Param_ItemNamespace.Helpers; using Microsoft.Toolkit.Uwp.UI.Animations; using Windows.System; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Navigation; namespace Param_ItemNamespace.View...
30.826087
110
0.657264
[ "MIT" ]
AzureMentor/WindowsTemplateStudio
templates/Uwp/Pages/ImageGallery/Views/ImageGalleryViewDetailPage.xaml.cs
1,420
C#
/* * Exchange Web Services Managed API * * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restr...
29.964029
93
0.539976
[ "MIT" ]
serious6/ews-managed-api
ComplexProperties/PeopleInsights/UserProfilePicture.cs
4,165
C#
using System; using System.ComponentModel.DataAnnotations; using EPiServer; using EPiServer.Core; using EPiServer.DataAbstraction; using EPiServer.DataAnnotations; using ImageProcessor.Web.Episerver.UI.Blocks.Business; namespace ImageProcessor.Web.Episerver.UI.Blocks.Models.Blocks { [ContentType(DisplayName = "Ba...
33.394737
78
0.661151
[ "MIT" ]
ErikHen/ImageProcessor.Web.Episerver
src/ImageProcessor.Web.Episerver.UI.Blocks/Models/Blocks/BackgroundBlock.cs
1,271
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { [SerializeField] private float _speed = 5f; [SerializeField] private float _xClamp; [SerializeField] private float _slowTime = 2f; private Rigidbody2D _rbd; void S...
23.783784
122
0.653409
[ "MIT" ]
Crew7Studio/Dodge_The_Blocks
Dodge The Blocks/Assets/Scripts/PlayerController.cs
882
C#
//Generated by LateBindingApi.CodeGenerator using System; using System.Runtime.InteropServices; using NetOffice; namespace NetOffice.MSHTMLApi { /// <summary> /// SupportByVersion MSHTML 4 /// </summary> [SupportByVersionAttribute("MSHTML", 4)] [StructLayout(LayoutKind.Sequential, Pack=4), Guid("00000000-0000-...
27.37931
92
0.732997
[ "MIT" ]
brunobola/NetOffice
Source/MSHTML/Records/__MIDL___MIDL_itf_mshtml_0001_0042_0001.cs
796
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using FluentAssertions; using Nest; using Tests.Core.Extensions; u...
26.589041
110
0.687275
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
tests/Tests/Aggregations/Metric/Average/AverageAggregationUsageTests.cs
1,941
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("Web...
37.891892
84
0.748217
[ "MIT" ]
sourcewalker/hexago.net
Source/Web/Web.Configuration/Properties/AssemblyInfo.cs
1,405
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/enums/conversion_custom_variable_status.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global:...
40.73494
359
0.709948
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V10/Services/ConversionCustomVariableStatus.g.cs
10,143
C#
using System; using System.Diagnostics; using System.Runtime.InteropServices; using Excel = Microsoft.Office.Interop.Excel; namespace AutoCRM { public class CrmFile { //Variáveis para a construção private static int TableRows = 0; private static int TableColumns; private static ...
48.594059
250
0.457349
[ "MIT" ]
SieShow/Windows-Forms
AutoCRM/CrmFile.cs
14,811
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.Staffing { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, Xm...
21.672131
136
0.729955
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Staffing/Stock_PlanObjectType.cs
1,322
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Collections.Generic; using BenchmarkDotNet.Attributes; using Elastic.Apm.Config; using Elastic.Apm.He...
27.116883
146
0.772989
[ "Apache-2.0" ]
SebastienDegodez/apm-agent-dotnet
test/Elastic.Apm.Benchmarks/MetricsBenchmarks.cs
2,088
C#
using System; using System.Linq.Expressions; using ShardingCore.Core.EntityMetadatas; using ShardingCore.Core.VirtualRoutes; using ShardingCore.Helpers; using ShardingCore.Test5x.Common; using ShardingCore.Test5x.Domain.Entities; using ShardingCore.VirtualRoutes.Months; namespace ShardingCore.Test5x.Shardings { p...
36.35
162
0.615543
[ "Apache-2.0" ]
ChangYinHan/sharding-core
test/ShardingCore.Test5x/Shardings/MultiShardingOrderVirtualTableRoute.cs
3,048
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...
40.245161
163
0.610452
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Redshift/Generated/Model/Internal/MarshallTransformations/CreateAuthenticationProfileResponseUnmarshaller.cs
6,238
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; using System.Threading.Tasks; using NuGet.Jobs.Validation.Symbols.Core; using NuGet.Services.ServiceBus; namespace NuGet.Services.Valida...
43.044444
124
0.710893
[ "Apache-2.0" ]
fredatgithub/NuGet.Jobs
src/NuGet.Services.Validation.Orchestrator/Symbols/SymbolsIngesterMessageEnqueuer.cs
1,939
C#
namespace Parametre_sys_Helper { partial class ConfigForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
47.304
146
0.628277
[ "Apache-2.0" ]
YassinLokhat/Parametre_sys_Helper
Parametre_sys_Helper/ConfigForm.Designer.cs
5,951
C#
using System; using System.Threading; using Avalonia; using GitHub.UI.Controls; using GitHub.UI.Commands; using Microsoft.Git.CredentialManager; using Microsoft.Git.CredentialManager.UI; namespace GitHub.UI { public static class Program { public static void Main(string[] args) { //...
36.942029
99
0.593174
[ "MIT" ]
nimatt/Git-Credential-Manager-Core
src/shared/GitHub.UI.Avalonia/Program.cs
2,551
C#
using System; using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Text; using System.Windows.Forms; using MaterialSkin.Animations; namespace MaterialSkin.Controls { public class MaterialRadioButton : RadioButton, IMaterialControl { [Browsable(false)]...
40.15566
198
0.587572
[ "MIT" ]
jokidz90/MaterialSkin
MaterialSkin/Controls/MaterialRadioButton.cs
8,515
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Desk.Gist.API.System.Linq.Enumerable { public class ToLookUpGist { class Package { public string Company { get; set; } public double Weight { ge...
38.461538
90
0.51425
[ "MIT" ]
zhaobingwang/Desk
Gist/src/Desk.Gist/API/System/Linq/Enumerable/ToLookUpGist.cs
4,066
C#
namespace TaxiDinamica.Web.Tests { using System; using System.Diagnostics; using System.Linq; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting.Server.Features; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions....
32.309859
144
0.536181
[ "MIT" ]
jarvandev/cero-filas
src/Tests/TaxiDinamica.Web.Tests/SeleniumServerFactory.cs
2,296
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace AssistidCollector1.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally respon...
36.473684
131
0.691198
[ "MIT" ]
miyamot0/AssistidCollector1
AssistidCollector1/AssistidCollector1.iOS/AppDelegate.cs
1,388
C#
using Godot; using System; public class GraphBullet : Bullet { protected float amplitude = 100.0f; protected float frequency = 10.0f; protected float phase = 0.0f; private bool textureRotating = true; private Vector2 startPos; private Vector2 startDir; protected float speed; public Gra...
29.868421
122
0.651982
[ "MIT" ]
bogi000/bullet-hell-test
bullets/types/GraphBullet.cs
1,135
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; using TMPro; public class Movin : MonoBehaviour { NavMeshAgent agent; public Transform spot; private Vector3 destination = new Vector3(0,0,0); private Vector3 destinationToo = Vector3...
24.593583
93
0.450098
[ "MIT" ]
Kingkiwwi/evolution-git
Evolution/Assets/Code/Movin.cs
4,599
C#
namespace FastFood.Web.Controllers { using Microsoft.AspNetCore.Mvc; using System; using AutoMapper; using System.Linq; using AutoMapper.QueryableExtensions; using Data; using FastFood.Models; using ViewModels.Employees; public class EmployeesController : Controller { ...
25.46875
88
0.574233
[ "MIT" ]
bodyquest/SoftwareUniversity-Bulgaria
Entity Framework Core Oct2019/7.Auto Mapping Objects/AutoMappingObjects-Exercise/FastFood.Web/Controllers/EmployeesController.cs
1,632
C#
//********************************************************************* //Docify //Copyright(C) 2020 Xarial Pty Limited //Product URL: https://docify.net //License: https://docify.net/license/ //********************************************************************* using System; namespace Xarial.Docify.Core.Exception...
29.7
85
0.510101
[ "MIT" ]
EddyAlleman/docify
src/Core/Exceptions/LibraryItemLoadException.cs
596
C#
using System; using HotChocolate; using Nikcio.UHeadless.UmbracoElements.Properties.Bases.Models; using Nikcio.UHeadless.UmbracoElements.Properties.Commands; namespace Nikcio.UHeadless.UmbracoElements.Properties.EditorsValues.DatePicker.Models { /// <summary> /// Represents a date time property value /// ...
36.4
105
0.634615
[ "MIT" ]
nikcio/Nikcio.UHeadless
src/Nikcio.UHeadless/UmbracoElements/Properties/EditorsValues/DateTimePicker/Models/BasicDateTimePicker.cs
1,094
C#
// The MIT License (MIT) // // Copyright (c) 2018 Bambora, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, ...
35.8
80
0.691722
[ "MIT" ]
TacitInnovations/bambora-na-dotnet
BamboraSDK/Domain/Adjustment.cs
1,971
C#
using System.Data.Entity; using Moe.Lib.Data; namespace Jinyinmao.MessageWorker.Domain.Entity { /// <summary> /// SmsMessageDbContext. This class cannot be inherited. /// </summary> public sealed class SmsMessageDbContext : DbContextBase { /// <summary> /// Initializes a new instanc...
29.823529
86
0.588757
[ "MIT" ]
QiuRyan/Bak
Goverment/MessageManager/Source/MessageWorker.Domain.Entity/SmsMessageDbContext.cs
1,014
C#
using Neutronium.Core.Infra; using Neutronium.Core.Navigation; using Neutronium.Core.WebBrowserEngine.JavascriptObject; using Neutronium.MVVMComponents; using Neutronium.MVVMComponents.Relay; using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using Syste...
32.313333
159
0.59707
[ "MIT" ]
NeutroniumCore/Neutronium.BuildingBlocks
Neutronium.BuildingBlocks.SetUp/SetUpViewModel.cs
4,849
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; public class Team { public Vector2 MeanPosition; public Vector2 Direction = new Vector2(1, 0); private List<Boid> Members = new List<Boid>(); public void AddMember(Boid member) { membe...
19.282609
50
0.570462
[ "MIT" ]
iWoz/path_follow_steer
Assets/Scripts/Team.cs
889
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
33.393939
216
0.649728
[ "ECL-2.0", "Apache-2.0" ]
johnktims/pulumi-aws
sdk/dotnet/Organizations/GetOrganizationalUnits.cs
2,204
C#
using System; namespace WSCT.Core.APDU { /// <summary> /// Interface for generic R-APDU, ie response of smartcard. /// </summary> public interface ICardResponse { /// <summary> /// Parses a raw response <paramref name="rAPDU"/> coming from the smartcard. /// </summary> ...
47.0625
136
0.619522
[ "MIT" ]
wsct/WSCT-Core
WSCT/Core/APDU/ICardResponse.cs
1,506
C#
namespace StephanHooft.HybridUpdate { /// <summary> /// An interface for <see cref="HybridUpdater"/>s. /// </summary> public interface IHybridUpdater { #region Properties ////////////////////////////////////////////////////////////////////////////////////////////////////////////////...
44.645833
120
0.55343
[ "MIT" ]
StephanHooft/unity-extensions
Runtime/HybridUpdate/Interfaces/IHybridUpdater.cs
2,143
C#
using AutoMapper; using ITJakub.Web.Hub.Options; using Vokabular.MainService.DataContracts.Contracts.Type; namespace ITJakub.Web.Hub.AutoMapperProfiles { public class PortalTypeProfile : Profile { public PortalTypeProfile() { CreateMap<PortalType, PortalTypeContract>(); } ...
23.285714
57
0.693252
[ "BSD-3-Clause" ]
RIDICS/ITJakub
UJCSystem/ITJakub.Web.Hub/AutoMapperProfiles/PortalTypeProfile.cs
328
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Bot.Schema { using System; using Newtonsoft.Json; /// <summary> /// Supplies monetary amounts. /// </summary> [Obsolete("Bot Framework no longer supports payments.")] public...
32.46875
120
0.580366
[ "MIT" ]
Arsh-Kashyap/botbuilder-dotnet
libraries/Microsoft.Bot.Schema/PaymentCurrencyAmount.cs
2,080
C#
using System; using UnityEngine; using UnityUtility.MathExt; using UnityUtilityTools; namespace UnityUtility.NumericEntities { [Serializable] public struct FilledFloat : IFilledEntity<float>, IEquatable<FilledFloat> { [SerializeField, HideInInspector] private float m_threshold; [Se...
27.534653
89
0.549802
[ "MIT" ]
oleghcp/UnityUtility
Code/Runtime/UnityUtility/NumericEntities/FilledFloat.cs
2,783
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
58.655449
239
0.673734
[ "Apache-2.0" ]
diegodias/aws-sdk-net
sdk/src/Services/DevOpsGuru/Generated/_bcl45/AmazonDevOpsGuruClient.cs
109,807
C#
using CSharpSpeed; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using static System.Math; namespace InstrumentedLibrary { /// <summary> /// The normalize two vectors tests class. /// </summary> ...
41.069767
173
0.582673
[ "MIT" ]
Shkyrockett/CSharpSpeed
InstrumentedLibrary/Mathmatics/Vectors/NormalizeTwoVectors3DTests.cs
3,534
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; using System.Net.WebSockets; using System.Runtime.InteropServices; using System.Security.Authentication.ExtendedProtection; using System.Security.Princip...
36.159574
121
0.5787
[ "MIT" ]
belav/runtime
src/libraries/System.Net.HttpListener/src/System/Net/Windows/HttpListenerContext.Windows.cs
6,798
C#
using System; using System.Collections.Generic; using System.IO; namespace Umbrella.Utilities.Mime { /// <summary> /// A utility to lookup MIME Types. /// </summary> /// <seealso cref="IMimeTypeUtility" /> public class MimeTypeUtility : IMimeTypeUtility { #region Private Constants private const string _defa...
41.558394
142
0.61178
[ "MIT" ]
Zinofi/umbrella
Core/src/Umbrella.Utilities/Mime/MimeTypeUtility.cs
34,163
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. #nullable enable namespace System.Runtime.InteropServices.ComTypes { [StructLayout(LayoutKind.Sequential)] p...
47.333333
161
0.71541
[ "MIT" ]
AfsanehR-zz/corefx
src/Common/src/CoreLib/System/Runtime/InteropServices/ComTypes/IMoniker.cs
2,414
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace MovilShopStock { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/...
24.25
99
0.589347
[ "MIT" ]
emachado9202/sales_system
MovilShopStock/App_Start/RouteConfig.cs
584
C#
// <auto-generated /> using System; using BlindDating.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace BlindDating.Migrations { [DbContext(...
36
126
0.471513
[ "MIT" ]
erne51795/BlindDating.Part1
SecurityContextModelSnapshot.cs
8,462
C#
namespace Showcase.Data.Common.Models { using System; public interface IAuditInfo { DateTime CreatedOn { get; set; } bool PreserveCreatedOn { get; set; } DateTime? ModifiedOn { get; set; } } }
16.928571
44
0.603376
[ "MIT" ]
TelerikAcademy/ShowcaseSystem
Source/Data/Showcase.Data.Common/Models/IAuditInfo.cs
239
C#
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; namespace MoqHttp.Interfaces { public interface IHttpResponse { string Body { get; set; } Dictionary<string, string> Headers { get; set; } int StatusCode { get; set; } Action<HttpContext> Handler {...
21.375
56
0.649123
[ "MIT" ]
KamRon-67/MoqHttp
MoqHttp/Interfaces/IHttpResponse.cs
344
C#
/* * Todo MVC backend style API * * This is a simple API * * The version of the OpenAPI document: 1.0.0 * Contact: you@your-company.com * Generated by: https://github.com/openapitools/openapi-generator.git */ namespace Todos.Client { /// <summary> /// Http methods supported by swagger /// </summa...
23.428571
70
0.576829
[ "MIT" ]
wallymathieu/immutable-csharp-studies
openapi/src/Todos/Client/HttpMethod.cs
820
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; namespace CryptoMining.ApplicationCore.Pool { public class ZergAPI { /// <summary> /// Load coin mining data from zerg p...
39.740741
137
0.504815
[ "Apache-2.0" ]
soemsri/HeroMining
ApplicationCore/Pool/ZergAPI.cs
3,221
C#
using MediatR; using Microsoft.Extensions.Logging; using System; using System.Threading; using System.Threading.Tasks; namespace brewjournal.Application.Common.Behaviours { public class UnhandledExceptionBehaviour<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> { private readonly ILogger...
28.171429
138
0.624746
[ "MIT" ]
matt-goldman/brewjournal
src/Application/Common/Behaviours/UnhandledExceptionBehaviour.cs
988
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*============================================================ ** ** ** Purpose: Serves as a hint to ngen that the decorated method ** (and its statically determinab...
32.21875
101
0.646945
[ "MIT" ]
1Crazymoney/cs2cpp
CoreLib/System/Runtime/Reliability/PrePrepareMethodAttribute.cs
1,031
C#
using MyFilesWin10App.Models; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows...
39.520833
121
0.625901
[ "MIT" ]
HydAu/WebDevCamp
Presentation/12. Connecting to the Cloud/Demos/OneDrive/MyFilesWin10App/App.xaml.cs
5,693
C#
// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
43.084746
126
0.68096
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Redis.V1/Google.Cloud.Redis.V1.GeneratedSnippets/CloudRedisClient.ImportInstanceSnippet.g.cs
2,542
C#
using Essensoft.AspNetCore.Payment.WeChatPay.V3.Response; namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Request { /// <summary> /// 基础支付 - JSAPI支付、APP支付、H5支付、Native支付、小程序支付 - 申请资金账单 /// </summary> /// <remarks> /// <para><a href="https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_7.sht...
42
140
0.656463
[ "MIT" ]
lzw316/payment
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayBillFundflowBillRequest.cs
1,682
C#
// Copyright © 2016 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.IO; using System.Net; namespace CefSharp.SchemeHandler { /// <summary> /// FolderSchemeHandlerFactory is a very simp...
50.898148
191
0.662361
[ "BSD-3-Clause" ]
Bhalddin/CefSharp
CefSharp/SchemeHandler/FolderSchemeHandlerFactory.cs
5,498
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("Xr...
37
84
0.745573
[ "MIT" ]
sigged/xrnforms-nativeservices
XrnCourse.NativeServices/XrnCourse.NativeServices.UWP/Properties/AssemblyInfo.cs
1,076
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.Spice.Interfaces { using Microsoft.Rest; using Models; using Newtonsoft.Json; using System.Colle...
42.211268
353
0.574018
[ "Apache-2.0" ]
BrendanBeachBC/jag-spd-spice
interfaces/Dynamics-Autorest/Baserecordidspicereasonforscreening.cs
8,991
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
27.526316
88
0.608031
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-cloudflare
sdk/dotnet/Inputs/LoadBalancerPoolOriginHeaderGetArgs.cs
1,046
C#
using System.IO; using System.Reflection; using System.Security.Cryptography.X509Certificates; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.FileProviders; namespace OpenIdConnectSample { public static class Program { public static void Main(string[] args) { var ho...
34.3125
102
0.574378
[ "Apache-2.0" ]
bigfont/Security
samples/OpenIdConnectSample/Program.cs
1,649
C#
/******************************************************* * * 作者:胡庆访 * 创建时间:2011 * 说明:此文件只包含一个类,具体内容见类型注释。 * 运行环境:.NET 4.0 * 版本号:1.0.0 * * 历史记录: * 创建文件 胡庆访 2011 13:30 * *******************************************************/ using System; using System.Collections.Generic; using System.Linq...
32.007075
116
0.505121
[ "MIT" ]
zgynhqf/trunk
Rafy/WPF/Rafy.WPF.Controls/WPFExtension.cs
14,039
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.407767
145
0.636413
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Organizations/Generated/Model/Internal/MarshallTransformations/DescribeAccountRequestMarshaller.cs
3,647
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("Ba...
38.405405
84
0.749472
[ "MIT" ]
AlexanderPetrovv/Tech-Module-SoftUni
Programming Fundamentals - May 2017/CondStatementsAndLoops/BackIn30Minutes/Properties/AssemblyInfo.cs
1,424
C#
using System; using BuckarooSdk.DataTypes.ParameterGroups.CreditManagement3; namespace BuckarooSdk.Services.CreditManagement.TransactionRequest { public class CreditManagementInvoiceRequest { /// <summary> /// The VAT amount of the invoice /// </summary> public decimal InvoiceAmountVat { get; set; } /// <...
29.96875
100
0.652763
[ "MIT" ]
FrostAndFlame/BuckarooSdk_DotNet
BuckarooSdk/Services/CreditManagement/TransactionRequest/CreditManagementInvoiceRequest.cs
1,920
C#
namespace Mutators.Tests.FunctionalTests.SecondOuterContract { public class Street { public string[] StreetAndNumberOrPostBoxIdentifier { get; set; } } }
24.714286
72
0.722543
[ "MIT" ]
RGleb/GrobExp.Mutators
Mutators.Tests/FunctionalTests/SecondOuterContract/Street.cs
173
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
39.481481
151
0.581614
[ "MIT" ]
pvoosten/WpfExampleHanoi
HanoiWpfApp/Properties/Settings.Designer.cs
1,068
C#
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Styl...
130.666667
283
0.779592
[ "Apache-2.0" ]
addupsolutions/AddUp.CommonLogging
src/AddUp.CommonLogging/GlobalSuppressions.cs
1,962
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** 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; names...
26.21875
88
0.64124
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-ec
sdk/dotnet/Inputs/GetDeploymentsIntegrationsServer.cs
839
C#
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Azure.Documents.Client; using System.Linq; using Tasks.FunctionApp.Exceptions; n...
30.56
101
0.645942
[ "MIT" ]
FernandoCalmet/DOTNET-6-Azure-FunctionApp-CosmosDB-CRUD
Tasks.FunctionApp/Functions/Note/Remove.cs
1,528
C#
using System; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using Process.NET.Applied; using Process.NET.Native; using Process.NET.Native.Types; namespace Process.NET.Windows { public delegate IntPtr WindowProc(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam); publi...
26.008403
104
0.549273
[ "MIT" ]
TimothyByrd/ChaosHelper
Process.NET/Windows/WndProcHook.cs
3,097
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.IO; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.Code...
66.885065
1,332
0.6318
[ "MIT" ]
06needhamt/roslyn
src/Compilers/CSharp/Test/Semantic/Semantics/QueryTests.cs
297,373
C#
#if CSHARP_7_OR_LATER || (UNITY_2018_3_OR_NEWER && (NET_STANDARD_2_0 || NET_4_6)) #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member using System.Threading; namespace UniRx.Async.Internal { public static class CancellationTokenHelper { public static boo...
30.272727
126
0.58959
[ "MIT" ]
cschladetsch/UniRx
Scripts/Async/Internal/CancellationTokenHelper.cs
1,001
C#
using System.Collections.Generic; using Xamarin.Forms; namespace BindingContextChanged { public partial class ListPage : ContentPage { public ListPage () { InitializeComponent (); listView.ItemsSource = new List<string> { "Apples", "Oranges", "Pears", "Bananas", "Mangos" }; } } }
18.6875
97
0.698997
[ "Apache-2.0" ]
HydAu/XaraminForms
UserInterface/ListView/BindingContextChanged/BindingContextChanged/ListPage.xaml.cs
301
C#
using System.Runtime.Serialization; namespace GhostSharper.Models { /// <summary> /// Information about a single inventory bucket in a vendor flyout UI and how it is shown. /// </summary> [DataContract] public class DestinyVendorInventoryFlyoutBucketDefinition { /// <summary> //...
33.821429
94
0.57339
[ "MIT", "BSD-3-Clause" ]
joshhunt/GhostSharper
BungieNetApi/Models/DestinyVendorInventoryFlyoutBucketDefinition.cs
1,894
C#
namespace AnnoSavegameViewer.Structures.Savegame.Generated { using AnnoSavegameViewer.Serialization.Core; using System.Collections.Generic; public class DecreeFlags { #region Public Properties [BinaryContent(Name = "None", NodeType = BinaryContentTypes.Attribute)] public List<object> None { get; se...
26
75
0.752747
[ "MIT" ]
Veraatversus/AnnoSavegameViewer
src/AnnoSavegameViewer/GeneratedA7s/Structures/Savegame2/Generated/Content/DecreeFlags.cs
364
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...
43.84507
324
0.600707
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/devtestlabs/Microsoft.Azure.Management.DevTestLabs/src/Generated/IPoliciesOperations.cs
9,339
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Blockchain.Models.Api20180601Preview { using Microsoft.Azure.PowerShell.Cmdlets.Blockchain.Runtime.PowerShell; /// <summary> /// A PowerShell PSTypeConverter to support converting to an instance of <see cref="ResourceProviderOperationDisplay" /> /// </...
52.950704
251
0.594494
[ "MIT" ]
3quanfeng/azure-powershell
src/Blockchain/generated/api/Models/Api20180601Preview/ResourceProviderOperationDisplay.TypeConverter.cs
7,378
C#
/* Copyright 2013 Google Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
42.035019
117
0.562621
[ "Apache-2.0" ]
DJJam/google-api-dotnet-client
Src/GoogleApis/Apis/[Media]/Download/MediaDownloader.cs
10,805
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Kucoin.Utility; using Kucoin.WebSocket.Events; using Microsoft.Extensions.Logging; using Newtonsoft.Json.Linq; namespace Kucoin.WebSocket { /// <summary> /// A <see cref="IDepthWebSocketClient"/> implementation. ...
38.133758
211
0.541173
[ "MIT" ]
domibu/MarketTool
Kucoin/WebSocket/DepthWebSocketClient.cs
5,989
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.Threading; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Shared.Collections...
42.509804
148
0.674354
[ "MIT" ]
AlexanderSemenyak/roslyn
src/Features/CSharp/Portable/Structure/Providers/EventDeclarationStructureProvider.cs
2,170
C#
using FakeXrmEasy; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Xrm.Sdk; using System; using System.Reflection; using Abc.LuckyStar2.Shared; using Abc.LuckyStar2.ProxyTypes; using Abc.LuckyStar2.Plugin; namespace Abc.LuckyStar2.PluginTest { [TestClass] public class PostAccountUpdateAsyn...
36.890625
128
0.602499
[ "MIT" ]
Kayserheimer/Dynamics-Crm-DevKit
test/v.2.10.31/Abc.LuckyStar2/Abc.LuckyStar2.Plugin.Test/PostAccountUpdateAsynchronousTest.cs
4,724
C#
using System; using System.Text; using System.Data; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using GRGcms.Common; namespace GRGcms.Web.admin.manager { public partial class group_select : Web.UI.ManagePage { protected int totalCount; ...
36.229167
137
0.554054
[ "MIT" ]
zengfanmao/mpds
LiveVideoSDK/VIMS.Cms/GRGcms.Web/admin/manager/group_select.aspx.cs
3,574
C#