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
/* * Copyright 2010-2013 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...
30.969697
79
0.731898
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.IdentityManagement/Model/ResyncMFADeviceResponse.cs
1,022
C#
using System; using NetOffice; namespace NetOffice.ExcelApi.Enums { /// <summary> /// SupportByVersion Excel 9, 10, 11, 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff837807.aspx </remarks> [SupportByVersionAttribute("Excel", 9,10,1...
30.852941
119
0.651096
[ "MIT" ]
brunobola/NetOffice
Source/Excel/Enums/XlBackground.cs
1,051
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using RiskTracker.Entities; using System.ComponentModel.DataAnnotations; namespace RiskTracker.Models { public class Location { private LocationData ld_; private IList<Guid> projectIds_; public Location(LocationData ld...
29.638889
80
0.662605
[ "MIT" ]
Inside-Outcomes/Risk-Tracker
RiskMapsCore/Models/Location.cs
1,069
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace YX { public static class RuntimeGizmos { private const int SphereSliceCount = 24; private const int SphereStackCount = 24; public static Color color; public static Material mat; p...
35.096154
141
0.474521
[ "Apache-2.0" ]
yangxun983323204/unity-utils
Assets/Debug/RuntimeGizmos.cs
3,674
C#
using Orderino.Shared.DTOs; using System.Threading.Tasks; namespace Orderino.Infrastructure.Services.Interfaces { public interface IOrderHistoryService { Task Reorder(ReorderDto reoderDto); } }
19.636364
53
0.75
[ "MIT" ]
extra8/Orderino
Orderino/Orderino.Repository/Services/Interfaces/IOrderHistoryService.cs
218
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class W3DamageAreaTrigger : CEntity { [Ord...
39.683544
131
0.675917
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/W3DamageAreaTrigger.cs
3,135
C#
using System; namespace MicroserviceTemplate.Domain.Models { public class Item { public Guid Id { get; set; } public string Name { get; set; } } }
16.090909
44
0.60452
[ "MIT" ]
albertocorrales/dotnet-template-ddd-cqrs
template/src/MicroserviceTemplate.Domain/MicroserviceTemplate.Domain/Models/ItemAggregate/Item.cs
179
C#
using System.Configuration; namespace TasksEverywhere.Utilities.Config.Sections { public sealed partial class LoggerSectionCollection : ConfigurationElementCollection { public LoggerSectionElement this[int index] { get { return base.BaseGet(index) as Log...
27.869565
88
0.523401
[ "MIT" ]
Crasso91/TasksEverywhere
TasksEverywhere.Utilities/Config.Sections/LoggerSectionCollection.cs
1,284
C#
using System; namespace CodeMonkeys { public static partial class Argument { public static void GreaterThan( long param, long value, string paramName, string message = "") { if (param > value) return; if (...
22.04
81
0.499093
[ "MIT" ]
UltimateCodeMonkeys/CodeMonkeys
src/Core/Guards/Argument/Argument.Number.cs
553
C#
using BCVP.IServices; using BCVP.Model.Models; using Xunit; using System; using System.Linq; using Autofac; namespace BCVP.Tests { public class BlogArticleService_Should { private IBlogArticleServices blogArticleServices; DI_Test dI_Test = new DI_Test(); public BlogArticleService_Sho...
23.219178
118
0.562832
[ "Apache-2.0" ]
hottoy/BCVP.OA
BCVP.Tests/Service_Test/BlogArticleService_Should.cs
1,695
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices.ComTypes; using System.Threading.Tasks; using Tests.Framework; using Elasticsearch.Net; using FluentAssertions; using Xunit; namespace Tests.ClientConcepts.ServerError { public class ServerErrorTests : Serializ...
27.851064
164
0.647059
[ "Apache-2.0" ]
RossLieberman/NEST
src/Tests/ClientConcepts/ServerError/ServerErrorTests.cs
1,311
C#
using System; using System.Management.Automation; using System.Net.Http; using System.Threading; using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.SharePoint.Client; using PnP.Core.Services; using PnP.PowerShell.Commands.Base; using PnP.PowerShell.Commands.Model; using Resources = PnP.PowerShell....
37.424242
234
0.547206
[ "MIT" ]
Jwaegebaert/powershell
src/Commands/Base/PnPSharePointCmdlet.cs
6,177
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.AspNetCore.Localization; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.EntityFrameworkCore; using Micros...
39.382353
119
0.609597
[ "MIT" ]
Aman22sharma/TodoList
TodoList.Web/Startup.cs
5,358
C#
/** * © 2012-2014 Amazon Digital Services, Inc. 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" file accomp...
42.156934
167
0.695567
[ "MIT" ]
grigoryvp/unity_sdk_demo
CustomCameraDemo/Assets/Plugins/Amazon/AmazonGameCirclePlugin/Source/LeaderboardsClient/AGSLeaderboardsClient.cs
23,103
C#
/****************************************************************************** * Copyright (C) Leap Motion, Inc. 2011-2017. * * Leap Motion proprietary and confidential. * * * ...
45.605263
80
0.34622
[ "MIT" ]
DanielD2/3DMenu
Assets/LeapMotion/Core/Scripts/Utils/Editor/UtilsTests.cs
1,733
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataTools.String { /// <summary> /// The KMP (Knuth-Morris-Pratt) class finds the first occurance of a pattern string in a text string. /// </summary> public class KMP : String...
30.953125
106
0.470217
[ "MIT" ]
D15190304050/CSharpConsole2017
DataTools/String/KMP.cs
3,964
C#
using System; using System.Windows; using System.Windows.Media; namespace Microsoft.DwayneNeed.Extensions { public static class PresentationSourceExtensions { /// <summary> /// Convert a point from "client" coordinate space of a window into /// the coordinate space of the speci...
44.952703
120
0.61446
[ "MIT" ]
PresetMagician/PresetMagician
Microsoft.DwayneNeed/Extensions/PresentationSourceExtensions.cs
6,655
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Justin.AspNetCore.ModAuthPubTkt { public struct Rfc7232ForwardedHttpInfo { public string By { get; set; } public string For { get; set; } public string Host { get; set; } ...
22.625
42
0.662983
[ "MIT" ]
jusbuc2k/dotnet_mod_auth_pubtkt
src/Justin.AspNetCore.ModAuthPubTkt/Rfc7232ForwardedHttpInfo.cs
364
C#
using Business.Abstract; using Business.Concrete; using Core.DependencyResolvers; using Core.Extensions; using Core.Utilities.IoC; using Core.Utilities.Security.Encryption; using Core.Utilities.Security.JWT; using DataAccess.Abstract; using DataAccess.Concrete.EntityFramework; using Microsoft.AspNetCore.Authentication....
32.909091
106
0.63229
[ "MIT" ]
avnikasikci/RentACarPortal
WebAPICore/Startup.cs
3,258
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace WebRTC_Internship.Data.Migrations { public partial class CreateIdentitySchema : Migration { protected...
42.05
122
0.502108
[ "MIT" ]
EljakimHerrewijnen/WebRTC_Internship_2017
WebRTC_Internship/WebRTC_Internship/Data/Migrations/00000000000000_CreateIdentitySchema.cs
9,253
C#
#region "copyright" /* Copyright © 2016 - 2021 Stefan Berg <isbeorn86+NINA@googlemail.com> and the N.I.N.A. contributors This file is part of N.I.N.A. - Nighttime Imaging 'N' Astronomy. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not ...
41.034483
214
0.711765
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
daleghent/NINA
NINA.Equipment/Equipment/MyFilterWheel/AtikFilterWheel.cs
2,383
C#
namespace Boo.Lang.Compiler.TypeSystem.Internal { public abstract class AbstractLocalEntity { public bool IsUsed { get; set; } public bool IsShared { get; set; } } }
17.4
47
0.724138
[ "MIT" ]
Spoiledpay/Newboo
BooLangCompiler/Boo/Lang/Compiler/TypeSystem/Internal/AbstractLocalEntity.cs
174
C#
namespace HealthCare020.Core.Models { public class ZdravstvenoStanjeDto { public int Id { get; set; } public string Opis { get; set; } } }
20.875
40
0.610778
[ "MIT" ]
fahirmdz/HealthCare020
HealthCare020.Core/Models/ZdravstvenoStanjeDto.cs
169
C#
namespace cbs.wanderOn.Configuration; public class ProfileConfig { public const string Profiles = "Profiles"; public Dictionary<string, string> Keys {get; set;} = new(); }
22.625
63
0.723757
[ "BSD-2-Clause" ]
EdmundLewry/wander-on
wander-on-application/ProfileConfig.cs
181
C#
/* _BEGIN_TEMPLATE_ { "id": "BGS_018e", "name": [ "猛兽之魂", "Soul of the Beast" ], "text": [ "+4/+4。", "+4/+4." ], "CardClass": "NEUTRAL", "type": "ENCHANTMENT", "cost": null, "rarity": null, "set": "BATTLEGROUNDS", "collectible": null, "dbfId": 59957 } _END_TEMPLATE_ */ namespac...
13.857143
36
0.53866
[ "MIT" ]
chi-rei-den/Silverfish
cards/BATTLEGROUNDS/BGS/Sim_BGS_018e.cs
398
C#
using Framework.Dependency; using Sirenix.OdinInspector; using TMPro; using UnityEngine; using UnityEngine.UI; namespace Seconds.UI.Screen { public class ScreenTeamDisplay : Screen { [SerializeField, Required] private TMP_Text labelTeamName = null; [SerializeField, Required] private Button buttonStart = nu...
18.134615
63
0.732768
[ "MIT" ]
Tjakka5/30-Seconds
Game/Assets/Scripts/UI/Screen/ScreenTeamDisplay.cs
945
C#
namespace Orleans.WebApi.Generator.Metas { public record AttributeMetaInfo { public AttributeMetaInfo(string nspace, string name) { this.Namespace = nspace; this.Name = name; } public string Namespace { get; set; } public string Name { get; set;...
25.181818
84
0.597473
[ "MIT" ]
RayTale/Orleans.WebApi
src/Orleans.WebApi.Generator/Metas/AttributeMetaInfo.cs
556
C#
using ArbitR.Pipeline.Read; namespace ArbitR.Internal.Pipeline.Service { internal interface IReadService { object? Handle(IQuery query); } }
17.888889
42
0.701863
[ "Apache-2.0" ]
Rhexis/ArbitR
ArbitR/Internal/Pipeline/Service/IReadService.cs
161
C#
using System; using System.Collections; using System.Collections.Generic; namespace Plethora.Test.Xaml.UtilityClasses { public class Person { public class NameComparer : IComparer<Person>, IComparer { #region Implementation of IComparer<Person> public int Compare(objec...
32.635417
122
0.571018
[ "MIT", "BSD-3-Clause" ]
mikebarker/Plethora.NET
src/Test/Plethora.Test.Xaml/!UtilityClasses/Person.cs
3,135
C#
using System.IO; using Ducode.Wolk.Common.Utilities; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.FileProviders; namespace Ducode.Wolk.Api.Utilities { public static class StartupUtilities { public static IApplicationBuilder UseGui(this IApplicationBuilder app, bool loadStatic...
27.225806
101
0.545024
[ "MIT" ]
dukeofharen/wolk
src/Ducode.Wolk.Api/Utilities/StartupUtilities.cs
844
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using SharperArchitecture.Authentication.Specifications; using SharperArchitecture.Common.Specifications; using SharperArchitecture.Domain; using SharperArchitecture.Validati...
22.9
63
0.599127
[ "MIT" ]
maca88/PowerArhitecture
Source/SharperArchitecture.Authentication/Entities/UserSetting.cs
1,147
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Text; using Azure.Storage.Blobs.Models; namespace Azure.Storage.Blobs.Models { /// <summary> /// Specifies blob lease access conditions for a container or blob. /// </summary> pu...
32.638298
111
0.535854
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/storage/Azure.Storage.Blobs/src/Models/BlobRequestConditions.cs
3,070
C#
using System; using System.IO; using NitroSharp.NsScript; namespace NitroSharp.Media { internal sealed class Sound : Entity { private readonly NsAudioKind _kind; private VolumeAnimation? _volumeAnim; private readonly PooledAudioSource _audioSource; private bool _playbackStarted...
26.677778
93
0.526864
[ "MIT" ]
CommitteeOfZero/nitrosharp
src/NitroSharp/Media/Sound.cs
2,403
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.offline.marketing.voucher.modify /// </summary> public class AlipayOfflineMarketingVoucherModifyRequest : IAopRequest<AlipayOfflineMarketingVoucher...
23.653465
118
0.61239
[ "MIT" ]
erikzhouxin/CSharpSolution
OSS/Alipay/F2FPayDll/Projects/alipay-sdk-NET20161213174056/Request/AlipayOfflineMarketingVoucherModifyRequest.cs
2,395
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...
45.468191
556
0.542446
[ "MIT" ]
Azure/azure-powershell-common
src/Graph.Rbac/MicrosoftGraph/Version1_0/Groups/GroupsOperations.cs
45,741
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; public class ButtonConditions : MonoBehaviour { public Button MenuButton; public TMP_InputField InputField; public void CheckCondition() { if (InputField.text != null) { ...
19.125
45
0.627451
[ "MIT" ]
SunriseHirame/Home-ForTuna
Assets/Iiro/ButtonConditions.cs
461
C#
using System; using System.Collections.Generic; using System.Linq; namespace Database.Common.DataOperation { /// <summary> /// Represents a query against a single item. /// </summary> public class QueryItem { /// <summary> /// The key this query is against. /// </summary> ...
35.861432
107
0.485381
[ "MIT" ]
CaptainCow95/Database
DatabaseCommon/DataOperation/QueryItem.cs
15,530
C#
using QuartzCronBuilder.Builders; using Xunit; namespace QuartzCronBuilder.Tests.Builders { internal class HoursExpressionBuilderSteps : ExpressionBuilderSteps { private CronExpressionBuilder cronExpressionBuilder; private HoursExpressionBuilder expressionBuilder; public HoursExpressi...
30.875
92
0.642375
[ "MIT" ]
StephenMP/QuartzCronBuilder
QuartzCronBuilder.Tests/Builders/HoursExpressionBuilderSteps.cs
2,225
C#
using AzureFromTheTrenches.Commanding.Abstractions; using FunctionMonkey.Abstractions.SignalR; namespace Evidences.Domain.Commands.SessionCommands { public class StartSessionCommand : ICommand<SignalRMessage> { } }
25.222222
63
0.810573
[ "MIT" ]
trturino/evidences
src/backend/Evidences.Domain/Commands/SessionCommands/StartSessionCommand.cs
227
C#
using Etimo.Id.Entities; using System; using System.Threading.Tasks; namespace Etimo.Id.Abstractions { public interface IUpdateApplicationService { Task<Application> UpdateAsync(Application updatedApplication, Guid userId); } }
20.75
83
0.759036
[ "MIT" ]
Etimo/etimo-id
src/Etimo.Id.Abstractions/Services/ApplicationServices/IUpdateApplicationService.cs
249
C#
// ----------------------------------------------------------------- // <copyright file="MapDescriptor.cs" company="2Dudes"> // Copyright (c) | Jose L. Nunez de Caceres et al. // https://linkedin.com/in/nunezdecaceres // // All Rights Reserved. // // Licensed under the MIT License. See LICENSE in the project root for ...
46.133621
316
0.581145
[ "MIT" ]
jlnunez89/fibula-mmo
src/Fibula.Map/MapDescriptor.cs
10,705
C#
/* * Copyright(c) 2019 Samsung Electronics Co., Ltd. * * 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 ...
40.525466
159
0.589737
[ "Apache-2.0", "MIT" ]
Ali-Alzyoud/TizenFX
src/Tizen.NUI/src/public/Vector4.cs
32,623
C#
using Newtonsoft.Json; namespace FreeAgentSniper.Models { public class PlayerResponse { [JsonProperty("player_key")] public string PlayerKey { get; set; } [JsonProperty("player_id")] public int PlayerId { get; set; } public PlayerName Name { get; set; } public cl...
31.12
50
0.588689
[ "MIT" ]
jmbledsoe/FreeAgentSniper
src/Models/PlayerResponse.cs
778
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace PddOpenSdk.Models.Response.Ad { public class AdUnitHistoryReportGetResponse { /// <summary> /// Examples: 0 /// </summary> [JsonProperty("total")] public int Total { get; set; } /// <summary> ...
23.30303
90
0.587776
[ "Apache-2.0" ]
gitter-badger/open-pdd-net-sdk
PddOpenSdk/PddOpenSdk/Models/Response/Ad/GetAdHistoryUnitReportResponseModel.cs
769
C#
using System; using Grasshopper.Kernel; using PterodactylEngine; namespace Pterodactyl { public class HeadingGH : GH_Component { public HeadingGH() : base("Heading", "Heading", "Creates heading", "Pterodactyl", "Parts") { } public override ...
32.740741
135
0.585407
[ "MIT" ]
shapediver/Pterodactyl
Pterodactyl/HeadingGH.cs
1,770
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Zad5 { class Program { static void Main(string[] args) { string text = Console.ReadLine(); StringBuilder changedText = new StringBuilder(); ...
28.857143
91
0.555693
[ "MIT" ]
Kassomats/TelerikAcademy
StringsHomework/Zad5/Program.cs
810
C#
#region License /* ********************************************************************************** * Copyright (c) Roman Ivantsov * This source code is subject to terms and conditions of the MIT License * for Irony. A copy of the license can be found in the License.txt file * at the root of this distribution. ...
33
93
0.554545
[ "MIT" ]
Tyelpion/irony
Irony.Interpreter/Diagnostics/ScriptStackTrace.cs
660
C#
using System; namespace _2_2_10_2_operatori { class Program { static void Main(string[] args) { Console.WriteLine("Operatori:"); int x = 2; x += 1; // x = x + 1 ili x++ Console.WriteLine("X je "+x); x -= 7; // x = x - 7 ...
22.314286
64
0.421255
[ "MIT" ]
Csharp2020/csharp2020
FVidovic/2_2_10_2_operatori/Program.cs
785
C#
#region License /* MIT License Copyright © 2006-2007 The Mono.Xna Team All rights reserved. Authors: Isaac Llopis (neozack@gmail.com) 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 res...
43.276896
167
0.507091
[ "MIT" ]
djkhz/monoxna
tests/Microsoft.Xna.Framework/GameTests.cs
24,539
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...
32.084375
125
0.566378
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/AwsApiGatewayV2StageDetails.cs
10,267
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net.Http; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; namespace FedagoApp.Managers { public class TunnelManager : IDispo...
34.909091
170
0.513346
[ "MIT" ]
Radovici/Fedago
FedagoClient/Managers/TunnelManager.cs
6,146
C#
using System; using System.ComponentModel; using System.Diagnostics; using System.Xml.Serialization; namespace NPOI.OpenXmlFormats.Dml.Diagram { [Serializable] [DesignerCategory("code")] [XmlType(Namespace = "http://schemas.openxmlformats.org/drawingml/2006/diagram")] [XmlRoot(Namespace = "http://schemas.openxmlfo...
17.486486
101
0.697063
[ "MIT" ]
iNeverSleeeeep/NPOI-For-Unity
NPOI.OpenXmlFormats.Dml.Diagram/CT_ChildMax.cs
647
C#
using System; using System.Linq; using System.Text; using System.Collections.Generic; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Gov.Jag.PillPressRegistry.Public.Models { /// <summary> /// Role Database Model /// </summa...
33
139
0.505713
[ "Apache-2.0" ]
GeorgeWalker/jag-pill-press-registry
pill-press-app/Models/VoteOption.cs
6,039
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Momentum.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. ...
37.7
120
0.477454
[ "MIT" ]
cdrnet/Sundew.Quantities
Source/Sundew.Quantities/Momentum.cs
1,133
C#
using System; using System.Threading; using System.Threading.Tasks; namespace Bet.Extensions.Resilience.Abstractions.Executor { /// <summary> /// <para> /// The policy async executor for wrapped Polly policies.</para> /// <para> /// Polly doesn't support async void methods. So you can't pass an Ac...
43.444444
216
0.649105
[ "MIT" ]
kdcllc/Bet.Extensions.Resilience
src/Bet.Extensions.Resilience.Abstractions/Executor/IPolicyAsyncExecutor.cs
1,957
C#
using System; namespace enki.common.core.WebUtils { [Obsolete("Use Tuple<> instead, this will be serializable.")] public class KeyValueSerializable { public string key { get; set; } public object value { get; set; } public KeyValueSerializable() { } public KeyValueSerializ...
23.105263
65
0.587699
[ "MIT" ]
encontact/Enki.Common
src/enki.common.core/WebUtils/KeyValueSerializable.cs
441
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Windows.Controls.WpfPropertyGrid.Attributes; using Hawk.Core.Utils; using Hawk.Core.Utils.Plugins; using EncodingType = Hawk.Core.Utils.EncodingType; namespace Hawk.Core.Connectors { [XF...
33.307692
120
0.452986
[ "Apache-2.0" ]
az0day/Hawk
Hawk.Core/Connectors/FileConnectorTable.cs
9,271
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TwilioWithThinq; namespace Demo { class Program { static void Main(string[] args) { TwilioWrapper wrapper = new TwilioWrapper("ACa5a21802beff96f147...
28.25
174
0.661947
[ "MIT" ]
harouf/twilio-thinQLCR-dotnet
Demo/Program.cs
567
C#
using System; using System.Net.Http; using System.Threading.Tasks; using System.Web.Mvc; using GenericPayment.Database; using GenericPayment.Models; using Newtonsoft.Json; namespace GenericPayment.Controllers { public class CashController : Controller { public async Task<ActionResult> Agreement(string...
38.405063
204
0.526697
[ "Unlicense" ]
iOS-Arcadier/Sample-Generic-Payments
GenericPayment/Controllers/CashController.cs
3,036
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.17929 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
38.736111
182
0.604518
[ "Apache-2.0" ]
rikkimongoose/wpf-textboxmasked
WpfTextBoxMasked/Properties/Resources.Designer.cs
2,791
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 BenchmarkDotNet.Attributes; using BenchmarkDotNet.Extensions; using MicroBenchmarks; using System.Collections...
27.869565
97
0.49454
[ "MIT" ]
GrabYourPitchforks/performance
src/benchmarks/micro/corefx/System.Collections/CreateAddAndRemove.cs
4,489
C#
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; public class PinchRecognizer : AbstractRecognizer { public event Action<PinchRecognizer> gestureBeginEvent; public event Action<PinchRecognizer> gestureRecognizedEvent; public event Action<PinchRecognizer> gestureE...
24
107
0.538816
[ "MIT" ]
VivekSingal98/financeSimulationGame
Assets/Plugins/TouchSystem/Recognizer/PinchRecognizer.cs
4,560
C#
// 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, // distribute, sublicense, and/or sell...
24.579869
118
0.641236
[ "MIT" ]
AmadeusW/vs-editor-api
src/FPF/WindowsBase/System.Windows.Media/Matrix.cs
11,233
C#
// // System.Xml.Schema.XmlSchemaValidity.cs // // Author: // Atsushi Enomoto <ginga@kit.hi-ho.ne.jp> // // // 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 ...
31.97561
73
0.748284
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.XML/System.Xml.Schema/XmlSchemaValidity.cs
1,311
C#
// Auto-Generated by FAKE; do not edit // <auto-generated/> using System.Reflection; [assembly: AssemblyTitle("Okanshi.SplunkObserver")] [assembly: AssemblyProduct("Okanshi")] [assembly: AssemblyDescription("In-process monitoring library")] [assembly: AssemblyVersion("7.0.0")] [assembly: AssemblyFileVersion("7.0.0")]...
42.333333
91
0.740157
[ "MIT" ]
JTOne123/Okanshi
src/Okanshi.SplunkObserver/Properties/AssemblyInfo.cs
891
C#
using System; using System.Runtime.Serialization; namespace Rebus.Exceptions { /// <summary> /// Special exception that signals that some kind of optimistic lock has been violated, and work must most likely be aborted &amp; retried /// </summary> [Serializable] public class ConcurrencyException : ...
27.027778
142
0.587873
[ "MIT" ]
AndoxADX/Rebus
Rebus/Exceptions/ConcurrencyException.cs
975
C#
namespace MaterialSkin { using MaterialSkin.Controls; using MaterialSkin.Properties; using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Drawing.Text; using System.Linq; using System.Runtime.InteropServices; using System.W...
36.674359
151
0.601272
[ "MIT" ]
maikebing/MaterialSkin
MaterialSkin/MaterialSkinManager.cs
28,608
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ImageDescrypt.Entity { class ResBackDamageMessage : ResAttackResultMessage { private int _back; override public void reading() { base.reading(); ...
25.108108
150
0.596878
[ "MIT" ]
foreachzh/Divine-Sword-of-Archangel
ImageDescrypt/ImageDescrypt/Entity/ResBackDamageMessage.cs
1,860
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 using System.Buffers; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System...
36.12523
120
0.550673
[ "MIT" ]
1shekhar/runtime
src/libraries/Common/src/System/Security/Cryptography/KeyFormatHelper.cs
19,616
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace ModernSlavery.Hosts.IdServer.Models { public class ProcessConsentResult { public bool IsRedirect => RedirectUri != ...
33.833333
107
0.688013
[ "MIT" ]
UKHomeOffice/Modern-Slavery-Alpha
ModernSlavery.Hosts.IdServer/Models/ProcessConsentResult.cs
611
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace SuperDevStore { public partial class Index : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } } }
18.470588
60
0.687898
[ "MIT" ]
GoncaloRod/SuperDevStore
SuperDevStore/Index.aspx.cs
316
C#
using System; using System.Linq; namespace _05.AppliedArithmetics { class Program { static void Main() { var numbers = Console.ReadLine().Split(new string[] { " " }, StringSplitOptions.RemoveEmptyEntries) .Select(int.Parse) .ToArray(); s...
30.071429
111
0.408551
[ "MIT" ]
spacex13/CSharp-Fundamentals
CSharp-Advanced/FunctionalProgramming-Exercises/05.AppliedArithmetics/Program.cs
1,265
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("06...
38.081081
84
0.7445
[ "MIT" ]
nikolaydechev/CSharp-Advanced
03 Matrices/06. TargetPractice/Properties/AssemblyInfo.cs
1,412
C#
using System; using System.Collections.Generic; namespace UnityEngine.Experimental.Rendering.RenderGraphModule { /// <summary> /// Helper class provided in the RenderGraphContext to all Render Passes. /// It allows you to do temporary allocations of various objects during a Render Pass. /// </summary> ...
35.882353
118
0.572404
[ "MIT" ]
Agameofscones/2d_slipsworth_sim
2d_Slipsworth_Sim/Library/PackageCache/com.unity.render-pipelines.core@7.3.1/Runtime/RenderGraph/RenderGraphObjectPool.cs
3,660
C#
using VaultLib.Core.Types; namespace VaultLib.Support.World.VLT.Csis { [VLTTypeInfo("Csis::Type_P_Breaker_Code")] public enum Type_P_Breaker_Code { Invalid_Type_P_Breaker_Code = 0x0, Type_P_Breaker_Code_CODE_A = 0x1, Type_P_Breaker_Code_CODE_B = 0x2, Type_P_Breaker_Code_COD...
30.52381
46
0.700468
[ "MIT" ]
BreakinBenny/VaultLib
VaultLib.Support.World/VLT/Csis/Type_P_Breaker_Code.cs
643
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using WebXR; public class SmoothLocomotion : MonoBehaviour { public bool fly = false; public float speed = 1.0f; public float scale = 0.01f; private GameObject player; private WebXRCamera cameraGroup; private Transf...
33.357143
97
0.664347
[ "MIT" ]
marianydesign/Unity-WebXR-Teleportation-and-SmoothLocomotion
Assets/Scripts/SmoothLocomotion.cs
1,868
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("Sum...
37.837838
84
0.749286
[ "MIT" ]
SimeonGerginov/Telerik-Academy
01. C# I/Exams/2016-04-26/SumOfOddDivisors/Properties/AssemblyInfo.cs
1,403
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Bam.Net.Data.Schema; using Bam.Net.Data.MsSql; using System.IO; using System.CodeDom.Compiler; using System.Reflection; using Bam.Net.CoreServices; namespace Bam.Net.Data.Dynamic { public part...
29.851852
108
0.722084
[ "MIT" ]
BryanApellanes/Bam.Net.Data.Dynamic
_Dynamic/DaoAssemblyGenerator.cs
808
C#
using Sandbox; using Sandbox.UI; using Sandbox.UI.Construct; using System; using System.Linq; namespace SWB_Base { /// <summary> /// A horizontal slider. Can be float or whole number. /// </summary> public class Slider : Panel { public Panel Track { get; protected set; } public Pan...
30.255
115
0.520906
[ "MIT" ]
BullyHunter32/simple-weapon-base
code/swb_base/editor/ui/components/Slider.cs
6,053
C#
// EuropeanOptionFactory.cs // // Classes for creating Eurpean Options. This is // a Factory Method pattern. // // (C) Datasim Education BV 2005-2013 using System; public interface IOptionFactory { Option create(); } public class ConsoleEuropeanOptionFactory: IOptionFactory { public Option cre...
19.3125
63
0.624595
[ "MIT" ]
jdm7dv/financial
windows/CsForFinancialMarkets/CsForFinancialMarkets/BookExamples/Ch9/LatticeMethodsSourceCode/OneFactorBinomial/EuropeanOptionFactory.cs
927
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Web.Syndication { #if __ANDROID__ || __IOS__ || NET46 || __WASM__ [global::Uno.NotImplemented] #endif public partial class SyndicationContent : global::Windows.Web.Syndication.ISyndicationText,glob...
42.151659
203
0.767933
[ "Apache-2.0" ]
nv-ksavaria/Uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Web.Syndication/SyndicationContent.cs
8,894
C#
namespace MassTransit.Serialization { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Context; using Metadata; using Newtonsoft.Json; using Newtonsoft.Json.Linq; public class JsonConsumeContext : DeserializerCon...
39.423077
134
0.585366
[ "ECL-2.0", "Apache-2.0" ]
CodeNotFoundException/MassTransit
src/MassTransit/Serialization/JsonConsumeContext.cs
6,150
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using Csla; using Csla.Data; using Invoices.DataAccess; namespace Invoices.DataAccess.Sql { /// <summary> /// DAL SQL Server implementation of <see cref="IProductTypeCollDal"/> /// </summary> pu...
30.079365
91
0.546702
[ "MIT" ]
CslaGenFork/CslaGenFork
trunk/CoverageTest/Invoices-CS-DAL-DTO-INT64/Invoices.DataAccess.Sql/ProductTypeCollDal.Designer.cs
1,895
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов для изменения сведений, // связанные с этой сборкой. [assembly: AssemblyTitle("ExcFilters")] [a...
38.756757
93
0.763598
[ "MIT" ]
shuryak/csharp-learning
Exceptions/Exception filters/ExcFilters/Properties/AssemblyInfo.cs
2,018
C#
// Copyright 2020 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
33
97
0.566978
[ "Apache-2.0" ]
deni-skaraudio/google-ads-dotnet
tests/Interceptors/UnaryRpcInterceptorTests.cs
7,064
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GUI_ConpleteTask : MonoBehaviour, ICompletedTask { [SerializeField] private UnityEngine.UI.Button Btn_Request; [SerializeField] private GUIPrint_TournametsData _PrintData; [SerializeField] private RectT...
25.541667
70
0.711256
[ "MIT" ]
idcpstark1992/Lists
Assets/Scripts/GUI_ConpleteTask.cs
615
C#
/* * LeagueClient * * 7.23.209.3517 * * OpenAPI spec version: 1.0.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Text; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations...
31.582734
140
0.530752
[ "MIT" ]
wildbook/LeagueClientApi
Model/LolLoginLoginSessionWallet.cs
4,390
C#
namespace ResXManager.Model { using System; using System.ComponentModel; using System.Globalization; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Json; using System.Text; using TomsToolbox.Essentials; /// <summary> /// A ...
45.680672
143
0.589956
[ "MIT" ]
GeertvanHorrik/ResXResourceManager
src/ResXManager.Model/JsonSerializerTypeConverter.cs
5,438
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.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Reflection; namespace System.ComponentModel.DataAnnotations { /// <summary> ...
40.570025
126
0.556928
[ "MIT" ]
belav/runtime
src/libraries/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/CustomValidationAttribute.cs
16,512
C#
namespace RazorPages.Pages.Internal { using Microsoft.AspNetCore.Mvc.RazorPages; public class TestModel : PageModel { public void OnGet() { } } }
15.666667
46
0.601064
[ "MIT" ]
pirocorp/ASP.NET-Core
04. RAZOR PAGES/Demo/RazorPages/Pages/Internal/Test.cshtml.cs
190
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DevWorkshop2018AriaAccess { public static class JsonHelper { private const string INDENT_STRING = " "; public static string FormatJson(string str) { var indent = 0; ...
31.679012
100
0.325799
[ "MIT" ]
VarianAPIs/Varian-Code-Samples
webinars & workshops/Developer Workshop 2018/Aria Access Sample/ARIAAccessSample/JsonHelper.cs
2,568
C#
// Unity C# reference source // Copyright (c) Unity Technologies. For terms of use, see // https://unity3d.com/legal/licenses/Unity_Reference_Only_License using System; using System.Linq; using UnityEngine; using System.Collections.Generic; namespace UnityEditor.Sprites { // DefaultPackerPolicy will pack rectangl...
44.777778
155
0.590133
[ "Unlicense" ]
HelloWindows/AccountBook
client/framework/UnityCsReference-master/Editor/Mono/Sprites/DefaultSpritePackerPolicy.cs
6,851
C#
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using BlogOps.Commands.Blog; using BlogOps.Commands.Utils; using CliFx; using CliFx.Attributes; using CliFx.Infrastructure; using JetBrains.Annotations; using Spectre.Console; namespace BlogOps.Commands { [Command("publ...
34.875
128
0.619355
[ "Unlicense" ]
laurentkempe/BlogOps
Commands/PublishCommand.cs
2,792
C#
#if MXM_PRESENT using UnityEngine; using System.Collections; using System.Collections.Generic; using Cinemachine; namespace WizardsCode.Character.MxM { public class UiController : MonoBehaviour { [SerializeField, Tooltip("The UI Canvas to control.")] RectTransform m_UI; [Ser...
32.351852
97
0.575272
[ "MIT" ]
TheWizardsCode/Character
Assets/_Character/Character/_Third Party Demos/Motion Matching for Unity/Scripts/UiController.cs
1,747
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MTGAHelper.Web.UI.Model.Response.Misc { public class GetVersionResponse { public DateTimeOffset DateTimeUtc { get; set; } } }
19.615385
55
0.733333
[ "MIT" ]
omarjuul/MTGAHelper-Windows-Client
MtgaHelper.Web.Models/Response/Misc/GetVersionResponse.cs
257
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
22.2
59
0.670528
[ "MIT" ]
blendermf/QuickDraw
QuickDraw/Installing.xaml.cs
779
C#
using Latios; using Unity.Burst; using Unity.Collections; using Unity.Entities; using Unity.Jobs; using Unity.Mathematics; using Unity.Transforms; namespace Dragons { public class UpdateCharacterTranslationsSystem : SubSystem { protected override void OnUpdate() { Entities.ForEach((...
23.434783
98
0.656772
[ "MIT" ]
Dreaming381/LatiosFrameworkMiniDemos
LatiosGridDemo/Assets/_Code/Systems/UpdateCharacterTranslationsSystem.cs
539
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tab = Microsoft.AnalysisServices.Tabular; using Newtonsoft.Json; namespace PBSurgeon { /// <summary> /// A class to read a model and report on various components. /// It will not updat...
42.856089
122
0.484674
[ "MIT" ]
jujiro/PBSurgeon
PBSurgeon.Net/PBSurgeon/Reporter.cs
11,616
C#
namespace moe.yo3explorer.azusa.SedgeTree.Boundary { partial class Editor { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// ...
44.755672
107
0.564048
[ "BSD-2-Clause" ]
feyris-tan/azusa
AzusaERP.OldStuff/SedgeTree/Boundary/Editor.designer.cs
25,655
C#
using NodaTime; using NUnit.Framework; using System.Collections.Generic; namespace TempoDB.Tests { [TestFixture] class MultiStatusTest { static List<Status> statuses1 = new List<Status> { new Status(1, new List<string> { "message" }) }; static List<Status> statuses2 = new List<Status> { ne...
27.808511
109
0.557001
[ "MIT" ]
tempodb/tempodb-net
TempoDB.Tests/src/MultiStatusTest.cs
1,307
C#