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 Blamite.Blam.Resources.Models; using Blamite.Serialization; namespace Blamite.Blam.ThirdGen.Resources.Models { public class ThirdGenModelVertexGroup : IModelVertexGroup { public ThirdGenModelVertexGroup(StructureValueCollection values, IModelSubmesh[] submeshes) { Load(values, submeshes); } public...
30.225806
93
0.755603
[ "MIT" ]
Dreamarchs/MCCEditor
Blamite/Blam/ThirdGen/Resources/Models/ThirdGenModelVertexGroup.cs
939
C#
using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace ObjectCloner { public static class SerializingCloner { public static T Copy<T>(T obj) { using MemoryStream memoryStream = new MemoryStream(); BinaryFormatter binaryFormatter = new BinaryFormatter(); binaryFormatter.Serializ...
24.333333
59
0.76484
[ "MIT" ]
undancer/oni-data
Managed/firstpass/ObjectCloner/SerializingCloner.cs
438
C#
using System; namespace CS8_Interface { public class FixedBot : IBot { public string Toot() => "これは固定tootです。"; } }
14.6
48
0.568493
[ "CC0-1.0" ]
ytyaru/CSharp.Interface.8.0.20191026095218
src/CS8_Interface/FixedBot.cs
164
C#
namespace CryV.Net.Enums { public enum TextAlignment { Center, Left, Right } }
11.6
29
0.508621
[ "MIT" ]
Cryma/CryV.Net
CryV.Net/src/Enums/TextAlignment.cs
118
C#
using System; using System.Collections.Generic; using FluentAssertions; using Xunit; namespace RecShark.ExpressionEvaluator.Tests { public class ExpressionTests { [Fact] public void Should_evaluate_operation_as_double() { var expression = new Expression(@"x*y^2 + (isOk ? 10...
33.529762
130
0.536659
[ "Apache-2.0" ]
KevinRecuerda/RecShark
tests/ExpressionEvaluator.Tests/ExpressionTests.cs
5,635
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Threading.Tasks; using JX.Core; using JX.Core.Entity; using JX.Infrastructure.Common; using MyADO; namespace JX.ADO { /// <summary> /// 数据库表:Advertisement 的仓储实现类. /// </summary> public partial class Advert...
30.00473
243
0.625225
[ "Apache-2.0" ]
lixiong24/IPS2.1
CodeSmith/output/RepositoryADO/AdvertisementRepositoryADO.cs
34,489
C#
using FacialStuff.Defs; using JetBrains.Annotations; using RimWorld; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using UnityEngine; using Verse; using Verse.AI; namespace FacialStuff.AnimatorWindows { public class MainTabWindow_PoseAnimator : MainTabWi...
43.049587
124
0.416299
[ "MIT" ]
CaptainMuscles/RW_FacialStuff
Source/RW_FacialStuff/AnimatorWindows/MainTabWindow_PoseAnimator.cs
20,838
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using NLog; using NLog.Extensions.Hosting; using NLog.Extensions.Logging; namespace Chatterbox.Server.DependencyInjection { internal static class HostBuilderExtensions { /// <summary> //...
40.225
143
0.650093
[ "MIT" ]
doklem/chatterbox
Chatterbox.Server/DependencyInjection/HostBuilderExtensions.cs
1,611
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 CAIQuestNPCReactionsTree : CAINpcReaction...
32.478261
136
0.75502
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/CAIQuestNPCReactionsTree.cs
747
C#
namespace ErtisAuth.Infrastructure.Configuration { public interface IIp2LocationOptions { #region Properties string LicenseKey { get; set; } string Package { get; set; } #endregion } public class Ip2LocationOptions : IIp2LocationOptions { #region Properties public string LicenseKey { get; s...
16.041667
54
0.703896
[ "MIT" ]
ertugrulozcan/ErtisAuth
ErtisAuth.Infrastructure/Configuration/IIp2LocationOptions.cs
385
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.Net.Http; using System.Net.Test.Common; using System.Security.Cryptography.X509Certificates; using Sys...
56.190244
188
0.691466
[ "MIT" ]
1shekhar/runtime
src/libraries/System.Net.Security/tests/FunctionalTests/SslStreamSystemDefaultsTest.cs
11,521
C#
#region File Description //----------------------------------------------------------------------------- // Map.cs // // Microsoft XNA Community Game Platform // Copyright (C) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- #endregion #region ...
33.416
100
0.509776
[ "MIT" ]
SimonDarksideJ/XNAGameStudio
Samples/Pathfinding_4_0/Pathfinding/Pathfinding/Map.cs
12,531
C#
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace SkiaSharpFormsDemos { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class HomePage : HomeBasePage { public HomePage() { InitializeComponent(); } } }
18.3125
53
0.65529
[ "Apache-2.0" ]
sfmoloney/mobile-octo-train
SkiaSharpForms/SkiaSharpFormsDemos/SkiaSharpFormsDemos/SkiaSharpFormsDemos/HomePage.xaml.cs
295
C#
using Antlr4.Runtime.Tree; using MCSharp.Linkage; using MCSharp.Linkage.Minecraft; using System; using System.Collections.Generic; namespace MCSharp.Compilation.Instancing; /// <summary> /// Represents an instance of some type. /// </summary> public interface IInstance { /// <summary> /// The <see cref="IType"/> ...
40.301508
196
0.735162
[ "MIT" ]
GrantShotwell/MCSharp
Compilation/Instancing/IInstance.cs
8,022
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Diagnostics.ContractsLight; using System.IO; using System.Threading; using System.Threading.Tasks; ...
49.242991
157
0.516607
[ "MIT" ]
MatisseHack/BuildXL
Public/Src/Engine/Dll/OutputCleaner.cs
5,269
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/mfapi.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System....
39.75
145
0.680643
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/mfapi/FaceRectInfoBlobHeaderTests.cs
1,433
C#
namespace GrobExp.Mutators.MultiLanguages { public abstract class MultiLanguageTextBaseWithPath : MultiLanguageTextBase { public MultiLanguagePathText Path { get; set; } public object Value { get { return value; } set { if (!valueInit...
23.956522
79
0.499093
[ "MIT" ]
RGleb/GrobExp.Mutators
Mutators/MultiLanguages/MultiLanguageTextBaseWithPath.cs
553
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FanScript : MonoBehaviour { [SerializeField] public bool _powered = false; private void Start() { if (_powered) GetComponent<Animator>().SetTrigger("power"); } public void StartFan() { ...
20
67
0.6575
[ "MIT" ]
metalac190/GhostHouse
Assets/_Game/Environments/GlobalProps/Living Room/Fan/FanScript.cs
402
C#
// Copyright (c) Matt Lacey Ltd. All rights reserved. // Licensed under the MIT license. using RapidXamlToolkit.Resources; namespace RapidXamlToolkit.XamlAnalysis.Tags { public class CheckBoxCheckedAndUncheckedEventsTag : RapidXamlDisplayedTag { // https://docs.microsoft.com/en-us/windows/uwp/design/...
39.310345
125
0.728947
[ "MIT" ]
DhiaaAlshamy/Rapid-XAML-Toolkit
VSIX/RapidXaml.Analysis/XamlAnalysis/Tags/CheckBoxCheckedAndUncheckedEventsTag.cs
1,142
C#
using UniGLTF; using UnityEngine; using VRMShaders; namespace UniVRM10 { public sealed class Vrm10UrpMaterialDescriptorGenerator : IMaterialDescriptorGenerator { public MaterialDescriptor Get(GltfData data, int i) { // unlit if (!GltfUnlitMaterialImporter.TryCreateParam...
31.074074
144
0.59118
[ "MIT" ]
StrawberryLovah/UniVRM
Assets/VRM10/Runtime/IO/Material/Vrm10UrpMaterialDescriptorGenerator.cs
841
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...
38.236486
145
0.598869
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Backup/Generated/Model/Internal/MarshallTransformations/CreateFrameworkRequestMarshaller.cs
5,659
C#
using Duality; using Duality.Components.Renderers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlapOrDie.Components { public class Ticker : TextRenderer, ICmpUpdatable { private float speed; public float Speed ...
24.90566
129
0.581818
[ "MIT" ]
LukasPirkl/duality
Samples/FlapOrDie/Components/Ticker.cs
1,322
C#
using UnityEngine; using System.Collections; //To save space so we don't have to send millions of parameters to each method public struct TriangleData { //The corners of this triangle in global coordinates public Vector3 p1; public Vector3 p2; public Vector3 p3; //The center of the triangle p...
29.058824
113
0.68168
[ "MIT" ]
Habrador/Unity-Boat-physics-Tutorial
Assets/Scripts/Boat/Physics/TriangleData.cs
1,976
C#
// ----------------------------------------------------------------------- // <copyright file="BloodBowlToolbar.cs" company="Secondnorth, Inc."> // All Rights Reserved. // </copyright> // ----------------------------------------------------------------------- namespace PBEM.BloodBowl { using System; using Sys...
34.60396
99
0.562518
[ "MIT" ]
runmbrun/pbem
BloodBowl/BloodBowlToolbar.cs
3,497
C#
using System.Collections.Generic; using Chinook.Domain.Converters; using Chinook.Domain.Entities; namespace Chinook.Domain.ApiModels { public class PlaylistApiModel : BaseApiModel, IConvertModel<Playlist> { public string Name { get; set; } public IList<TrackApiModel> Tracks { get; set; } ...
24.318182
73
0.598131
[ "MIT" ]
cwoodruff/Chinook5WebAPI
Chinook/Chinook.Domain/ApiModels/PlaylistApiModel.cs
537
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
45.40458
174
0.666611
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/LicenseManager/Generated/Model/Internal/MarshallTransformations/ListResourceInventoryResponseUnmarshaller.cs
5,948
C#
using System; using System.Windows.Input; namespace Mach.Wpf.Mvvm { /// <summary> /// An <see cref="ICommand"/> whose delegates can be attached for <see cref="Execute"/> and <see cref="CanExecute"/>. /// </summary> public class DelegateCommand : ICommand { private readonly Action _action; ...
35.592105
124
0.590388
[ "MIT" ]
machv/wpf-mvvm
Mach.Wpf.Mvvm/Commands/DelegateCommand.cs
2,707
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> //--...
42.778547
313
0.577772
[ "BSD-3-Clause" ]
Shuttle/Shuttle.Esb.Sql.Idempotence
Shuttle.Esb.Sql.Idempotence/Resources.Designer.cs
12,365
C#
using System; using System.Diagnostics; using System.Threading.Tasks; using AmazonAccess.Misc; using NUnit.Framework; namespace AmazonAccessTests.Tests { internal abstract class ThrottlerTestsBase { private int _callCounter; private Func< int > _callCounterFunc; private Func< Func< int >, int > _throttlerExec...
26.334232
126
0.629069
[ "BSD-3-Clause" ]
skuvault-integrations/amazonAccess
src/AmazonAccessTests/Tests/ThrottlerTests.cs
9,772
C#
using System.Collections.Generic; using System.Xml.Serialization; namespace dbqf.Serialization.DTO.Parsers { [XmlRoot("ChainedParser")] public class ChainedParserDTO : ParserDTO { public ChainedParserDTO() { Parsers = new List<ParserDTO>(); } [XmlArray] ...
28.954545
69
0.657771
[ "MIT" ]
SammyEnigma/dbqf
lib/dbqf.Serialization/DTO/Parsers/ChainedParserDTO.cs
639
C#
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using JetBrains.Annotations; namespace Nuke.Common.BuildServers { [PublicAPI] public enum TeamServicesIssueType { Warning, ...
18.611111
57
0.707463
[ "MIT" ]
MarkusAmshove/common
source/Nuke.Common/BuildServers/TeamServicesIssueType.cs
335
C#
using Avalonia; using Avalonia.Threading; using ReactiveUI; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using WalletWasabi.Gui.Tabs.WalletManager; using WalletWasabi.Gui.ViewModels;...
26.542222
138
0.708305
[ "MIT" ]
JuniperTonic/WalletWasabi
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabViewModel.cs
5,974
C#
using System.Reflection; 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("Tests")] [assembly: AssemblyDescription(...
34.538462
84
0.737194
[ "Apache-2.0" ]
jayotterbein/MissingLinq
MissingLinqTests/Properties/AssemblyInfo.cs
1,350
C#
// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using System; using System.Collections.Generic; using UnityEngine; namespac...
27.856164
125
0.535038
[ "MIT" ]
ACM-London-Game-Development/MinoTourPublic
Assets/Fungus/Scripts/Components/NarrativeLog.cs
4,067
C#
using ClaimManager.Infrastructure.Identity.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.WebUtilities; using System.ComponentMo...
36.782609
125
0.615839
[ "MIT" ]
seungilpark/ClaimManager
ClaimManager.Web/Areas/Identity/Pages/Account/ForgotPassword.cshtml.cs
2,540
C#
using System; namespace WebApi.HypermediaExtensions.WebApi.AttributedRoutes { public interface IHaveRouteInfo { Type RouteType { get; } Type RouteKeyProducerType { get; } } }
18.545455
61
0.686275
[ "MIT" ]
bluehands/WebApiHypermediaExtensions
Source/WebApi.HypermediaExtensions/WebApi/AttributedRoutes/IHaveRouteInfo.cs
204
C#
using System.Security.Cryptography; using Murmur; namespace DotnetSpider.Infrastructure { public class MurmurHashAlgorithmService : HashAlgorithmService { private readonly HashAlgorithm _hashAlgorithm; public MurmurHashAlgorithmService() { _hashAlgorithm = MurmurHash.Create32(); } protected override H...
18.619048
63
0.782609
[ "MIT" ]
Ponderfly/DotnetSpider
src/DotnetSpider/Infrastructure/MurmurHashAlgorithmService.cs
391
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...
29.580645
89
0.687023
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Compute/V20180401/Outputs/AutoOSUpgradePolicyResponse.cs
917
C#
using System; using System.ComponentModel.Design; namespace EIDSS.Reports.Barcode.Designer { public class MenuCommandServiceStub : IMenuCommandService { public void AddCommand(MenuCommand command) { } public void AddVerb(DesignerVerb verb) { } ...
22.574468
84
0.554194
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v5/vb/EIDSS/EIDSS.Reports/Barcode/Designer/MenuCommandServiceStub.cs
1,063
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
37.05
99
0.765857
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-cdn/Cdn/Transform/V20141111/AddLiveDomainMappingResponseUnmarshaller.cs
1,482
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace IntrepidProducts.ElevatorSystem.Tests { [TestClass] public class FloorTest { [TestMethod] public void ShouldDefaultNameToFloorNumber() { var floor = new Floor(5); Assert.AreEqual("5"...
26.188679
67
0.551873
[ "MIT" ]
EdChaparro/ElevatorSystem.NET
src/Tests/Test.ElevatorSystem/FloorTest.cs
1,388
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class InflictDamage : MonoBehaviour { public int DamageAmount = 1; public float TargetDistance; public float AllowedRange = 2.7f; public int DealingDamage; public RaycastHit hit; // Update is called once per...
30.74359
111
0.615513
[ "Unlicense" ]
tjramsey/CSU-Senior-Project
src/Assets/Scripts/AiScripts/EnemyScripts/InflictDamage.cs
1,201
C#
using Cofoundry.Domain; using System; using System.Collections.Generic; using System.Text; namespace Bogevang.Templates.Domain.CustomEntities { public class TemplateCustomEntityDefinition : ICustomEntityDefinition<TemplateDataModel>, ICustomizedTermCustomEntityDefinition { /// <summary> ...
32.742857
90
0.650524
[ "MIT" ]
Bogevang-spejderhytte/website
Bogevang.Templates.Domain/CustomEntities/TemplateCustomEntityDefinition.cs
2,294
C#
//---------------------------------------------------------------- // Copyright (c) Yamool Inc. All rights reserved. //---------------------------------------------------------------- namespace Yamool.CWSharp { using System; using System.Collections.Generic; /// <summary> /// The standard unigram tok...
29.309859
92
0.440654
[ "MIT" ]
DavidAlphaFox/CWSharp
src/Yamool.CWSharp/UnigramTokenizer.cs
2,083
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Abp.Application.Services.Dto; using Abp.Domain.Repositories; using Abp.Linq.Extensions; using demo.TaskAppService.Dto; using Microsoft.EntityFrameworkCore; namespace demo.TaskAppService { public class TaskAppSer...
27.680556
126
0.599097
[ "MIT" ]
ebiggerr/ABP_Training
aspnet-core/src/demo.Application/TaskAppService/TaskAppService.cs
1,995
C#
// //----------------------------------------------------------------------- // // <copyright file="BatchingOracleJournalPerfSpec.cs" company="Akka.NET Project"> // // Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com> // // Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/a...
37.444444
142
0.523244
[ "Apache-2.0" ]
ismaelhamed/akka.persistence.oracle
src/Akka.Persistence.Oracle.Tests/Batching/BatchingOracleJournalPerfSpec.cs
2,022
C#
using System; using System.Collections.Generic; using System.Data; using System.Globalization; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Xml; //some code from https://github.com/MarkPflug/Sylvan.Data.Excel //some code from https://github.com/ExcelDataReader/Excel...
36.233146
163
0.421758
[ "MIT" ]
KrzysztofDusko/SpreadSheetTasks
source/SpreadSheetTasks/XlsxOrXlsbReadOrEdit.cs
51,598
C#
/* ------------------------------------------------------------------------------ This source file is a part of SparqlHelper. Copyright (c) 2015 VIS/University of Stuttgart Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "So...
36.078431
95
0.694565
[ "MIT" ]
RDF-Utilities-dotnet/SparqlHelper
src/SparqlHelper/InlineData/ValuesLiteral.cs
1,842
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/Iprtrmib.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { ...
29.588235
145
0.705765
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/shared/Iprtrmib/MIB_BEST_IF.cs
505
C#
// Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // - Redistributions of source code must retain the above copyright notice, this // ...
31.085714
187
0.664522
[ "BSD-3-Clause" ]
9192939495969798/Websitepanel
WebsitePanel/Sources/WebsitePanel.Providers.SharePoint.Sps30/Sps30Remote.cs
9,792
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.Linq; using Windows.UI.Xaml; using Windows.UI.Xaml.Data; namespace Microsoft.Toolkit.Uwp...
37.333333
99
0.463914
[ "MIT" ]
14632791/WindowsCommunityToolkit
Microsoft.Toolkit.Uwp.SampleApp/Common/ThicknessConverter.cs
2,688
C#
using System; using System.Collections.Generic; using System.Text; namespace ProjectEvent.Core.Action.Types { public enum IFActionConditionType { /// <summary> /// 等于 /// </summary> Equal = 1, /// <summary> /// 不等于 /// </summary> UnEqual = 2, ...
19.046512
40
0.391941
[ "MIT" ]
Planshit/ProjectEvent
src/ProjectEvent.Core/Action/Types/IFActionConditionType.cs
869
C#
using System; using System.Threading.Tasks; using Windows.Networking; using Windows.Networking.Sockets; using Windows.Storage.Streams; namespace InteropTools.RemoteClasses.Client { internal class RemoteClient { private DataReader _reader; private StreamSocket _socket; private DataWriter _writer; public Rem...
17.3
96
0.624855
[ "MIT" ]
mediaexplorer74/InteropTools
UI/InteropTools/RemoteClasses/Client/RemoteClient.cs
1,732
C#
using Dapper; using Discount.Grpc.Entities; using Npgsql; namespace Discount.Grpc.Repositories { public class DiscountRepository : IDiscountRepository { private readonly IConfiguration _configuration; public DiscountRepository(IConfiguration configuration) { _configuration...
36.786667
144
0.611816
[ "MIT" ]
PrashantMaheshwari-SoftwareEngineer/AspnetMicroservices
src/Services/Discount/Discount.Grpc/Repositories/DiscountRepository.cs
2,761
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Reflection; namespace HolidayTest1 { public partial class AboutForm : Form { public AboutForm() { InitializeComponent(); String version = A...
32.403509
170
0.531944
[ "MIT" ]
moorescloud/HolidayTest1
AboutForm.cs
3,696
C#
using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; using webui.Service.Models; namespace webui.Service { public class TodoServiceRestContext : ITodoServiceAsyncContext { ...
39.422018
116
0.523388
[ "MIT" ]
jhasslof/todo-frontend
webui/Service/TodoServiceRestContext.cs
4,299
C#
// <copyright file="Sepia.cs" company="James Jackson-South"> // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // </copyright> namespace ImageSharp { using System; using Processing; using Processing.Processors; /// <summary> /// Extension m...
36
106
0.599034
[ "Apache-2.0" ]
ststeiger/ImageSharpTestApplication
src/ImageSharp/Processing/ColorMatrix/Sepia.cs
1,658
C#
using System; using System.Threading.Tasks; using Statiq.Common; using Statiq.Core; namespace Grynwald.Extensions.Statiq.DocsTemplate { internal static class CopyFilesExtensions { internal static CopyFiles To(this CopyFiles copyFiles, Func<NormalizedPath, NormalizedPath> destinationPath) { ...
28.571429
116
0.643333
[ "MIT" ]
ap0llo/extensions-statiq
src/Extensions.Statiq.DocsTemplate/_Extensions/CopyFilesExtensions.cs
602
C#
using Microsoft.ApplicationInsights.AspNetCore.Extensions; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using SAEON.AspNet.Auth; using SAEON.Logs; using SAEON.Observations.Auth; using SAEON.Observations.Core; using Syste...
42.89557
167
0.492586
[ "MIT" ]
NimbusServices/SAEON.ObservationsDatabase
SAEON.Observations.WebAPI/Controllers/Internal/InternalControllers.cs
13,557
C#
//------------------------------------------------------------------------------ // <copyright file="TagMapInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ namespace System.We...
36.365217
97
0.529173
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/xsp/system/Web/Configuration/TagMapInfo.cs
4,182
C#
using Nest.Resolvers.Converters; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; namespace Nest.DSL.Query { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] [JsonConverter(typeof(ReadAsTypeConverter<FilterScoreQueryDescriptor<object>>))] public interface IFilt...
27.754902
135
0.714235
[ "Apache-2.0" ]
molaxx/elasticsearch-net
src/Nest/DSL/Query/FilterScoreQueryDescriptor.cs
2,833
C#
using System; using System.Linq.Expressions; namespace BalazsArva.RavenDb.Extensions.ConditionalPatch.Utilitites { public interface IPatchScriptBuilder { string CreateConditionalPatchScript<TDocument>(PropertyUpdateDescriptor[] propertyUpdates, Expression<Func<TDocument, bool>> condition, ScriptParame...
35.4
182
0.80791
[ "MIT" ]
BalazsArva/RavenDbExtensions
src/BalazsArva.RavenDb.Extensions.ConditionalPatch/Utilitites/IPatchScriptBuilder.cs
356
C#
using System; using Legacy.Core.Internationalization; using Legacy.Core.StaticData; namespace Legacy.Core.Spells.MonsterSpells { public class MonsterSpellLightningBolt : MonsterSpell { public MonsterSpellLightningBolt(String p_effectAnimationClip, Int32 p_castProbability) : base(EMonsterSpell.LIGHTNING_BOLT, p_ef...
31.190476
168
0.819847
[ "MIT" ]
Albeoris/MMXLegacy
Legacy.Core/Core/Spells/MonsterSpells/MonsterSpellLightningBolt.cs
657
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace SwmSuite.Presentation.Common.TimeTable { public partial class OccupationControl : UserControl { #region -_ Public Prope...
28.98913
166
0.731159
[ "Unlicense" ]
Djohnnie/SwmSuite-Original
SwmSuite.Presentation.Common/TimeTable/OccupationControl.cs
2,669
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.Documents.Client; using Microsoft.Azure.Documents.Linq; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; using Microsoft.Extensions.Logging; using System; using System....
38.586957
145
0.512676
[ "Apache-2.0" ]
andrewogden1678/vNAAATS-net
GetAllFlightData.cs
3,550
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Cofoundry.Domain.CQS; using Cofoundry.Domain.Data; using Microsoft.EntityFrameworkCore; using Cofoundry.Core.MessageAggregator; using Cofoundry.Core.Data; using Cofoundry.Core; namespace Cofoundry...
44.849398
205
0.692142
[ "MIT" ]
BearerPipelineTest/cofoundry
src/Cofoundry.Domain/Domain/CustomEntities/Commands/AddCustomEntityVersionPageBlockCommandHandler.cs
7,447
C#
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright not...
45.528571
87
0.739881
[ "Apache-2.0" ]
econmed/ImageServer20
ImageServer/Enterprise/Properties/AssemblyInfo.cs
3,189
C#
using System; using System.ComponentModel; using EfsTools.Attributes; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(3852)] [Attributes(9)] public class WcdmaEqualizerControl { [ElementsCount(1)] [ElementType("uint8")] [Description("")] public b...
20.764706
40
0.600567
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/WCDMAEqualizerControl.cs
353
C#
using System.ComponentModel.DataAnnotations; using Abp.Auditing; using Abp.Authorization.Users; using Abp.AutoMapper; using Abp.Runtime.Validation; using CricketApplicationWebPortal.Authorization.Users; namespace CricketApplicationWebPortal.Users.Dto { [AutoMapTo(typeof(User))] public class CreateUserDto : ISh...
25.958333
58
0.627608
[ "MIT" ]
farazahmed879/CricketApp
aspnet-core/src/CricketApplicationWebPortal.Application/Users/Dto/CreateUserDto.cs
1,246
C#
using System; using System.ComponentModel; using System.Drawing; using System.IO; using System.Web; using System.Windows.Forms; using PluginCore; using PluginCore.Helpers; using PluginCore.Localization; using PluginCore.Managers; using PluginCore.Utilities; using ProjectManager; using StartPage.Controls; u...
37.356846
254
0.547262
[ "MIT" ]
Acidburn0zzz/flashdevelop
External/Plugins/StartPage/PluginMain.cs
8,763
C#
// MIT License // Copyright (c) 2020 Simon Schulze // 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, ...
35.672727
108
0.705403
[ "MIT" ]
SSchulze1989/iRLeagueManager
iRLeagueManager/Converters/MultiValueEqualsConverter.cs
1,964
C#
using System; using System.Collections.Generic; using System.Text; using DotNetty.Transport.Channels; using DotNetty.Handlers.Timeout; using DotNetty.Buffers; namespace Meou.Transport.DotNetty { public class ConnectorIdleStateTrigger : ChannelHandlerAdapter { private static IByteBuffer buffer = Unpool...
31.419355
98
0.610883
[ "MIT" ]
lc8882972/MeouY
src/Meou.Transport.DotNetty/ConnectorIdleStateTrigger.cs
984
C#
/* SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. * * Licensed to Elasticsearch B.V. unde...
36.693333
103
0.759448
[ "Apache-2.0" ]
opensearch-project/opensearch-net
src/OpenSearch.Client/QueryDsl/Span/FieldMasking/SpanFieldMaskingQuery.cs
2,752
C#
using System.Collections.Generic; using System.Collections.Immutable; using DeUrgenta.Domain.Api.Entities; using DeUrgenta.Infra.Models; using Swashbuckle.AspNetCore.Filters; namespace DeUrgenta.User.Api.Swagger { public class GetUserLocationTypesResponseExample : IExamplesProvider<IImmutableList<IndexedItemModel...
29.511628
106
0.449961
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
idormenco/de-urgenta-backend
Src/DeUrgenta.User.Api/Swagger/GetUserLocationTypesResponseExample.cs
1,276
C#
using System; using Slight.Alexa.Framework.Models.Requests.RequestTypes; namespace HoneyBear.Alexa.Kodi.Proxies.Alexa { public class AudioRequestBundle : RequestBundle { public new Type GetRequestType() { switch (Type) { case "IntentRequest": ...
36.238095
92
0.582786
[ "MIT" ]
eoin55/HoneyBear.Alexa
Src/HoneyBear.Alexa.Kodi/Proxies/Alexa/AudioRequestBundle.cs
1,524
C#
using System; class Program { static void Main() { string first = Console.ReadLine(); string secound = Console.ReadLine(); int age = int.Parse(Console.ReadLine()); Console.WriteLine($"Hello, {first} {secound}.\nYou are {age} years old."); } }
24
82
0.59375
[ "MIT" ]
GabrielRezendi/Programming-Fundamentals-2017
01.Short Fundamentals/10.DATA TYPES AND VARIABLES/07. Greeting/Program.cs
290
C#
namespace Panama.Core.Jobs { public interface IScheduler { void Start(); void Stop(); void Queue<T>(T job); void Queue<T>(T job, int minutes); int Count(); } }
17.75
42
0.521127
[ "MIT" ]
mrogunlana/Panama.Core
Panama/Jobs/IScheduler.cs
215
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.Core.Testing; using Azure.Identity; using Azure.Security.KeyVault.Keys.Cryptography; using NUnit.Framework; using System; using System.IO; using System.Security.Cryptography; using System.Threading.Tasks; name...
53.445438
206
0.569454
[ "MIT" ]
LingyunSu/azure-sdk-for-net
sdk/keyvault/Azure.Security.KeyVault.Keys/tests/CryptographyClientLiveTests.cs
29,878
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.307692
88
0.680282
[ "ECL-2.0", "Apache-2.0" ]
nvpnathan/pulumi-nsxt
sdk/dotnet/Inputs/LBHTTPForwardingRuleMethodConditionGetArgs.cs
710
C#
//Problem 8. Isosceles Triangle //Write a program that prints an isosceles triangle of 9 copyright symbols ©, something like this: // © // © © // © © //© © © © //Note: The © symbol may be displayed incorrectly at the console so you may need to change the console character encoding to UTF-8 and assign a Unico...
37.705882
181
0.636505
[ "MIT" ]
petyakostova/Telerik-Academy
C#/C# 1/2. PrimitiveDataTypesVariables-Homework/Isosceles-Triangle/TriangleWith9CopyrightSymbols.cs
1,309
C#
/* * author:symbolspace * e-mail:symbolspace@outlook.com */ using System; using System.Drawing; namespace Symbol.Drawing { /// <summary> /// 水印上下文类 /// </summary> public class ImageWaterMarkContext { /// <summary> /// 默认边缘距离(5像素) /// </summary> public static read...
31.850467
120
0.538146
[ "MIT" ]
symbolspace/Symbol.Drawing
src/Symbol.Drawing/ImageWaterMarkContext.cs
3,856
C#
using Verse; namespace BetterPawnControl { [StaticConstructorOnStartup] class RestrictManager : Manager<RestrictLink> { internal static void DeletePolicy(Policy policy) { //delete if not default AssignPolicy if (policy != null && policy.id > 0) { ...
27.526316
61
0.486616
[ "MIT" ]
Dango998/BetterPawnControl
Source/Managers/RestrictManager.cs
1,048
C#
// This source code is dual-licensed under the Apache License, version // 2.0, and the Mozilla Public License, version 2.0. // // The APL v2.0: // //--------------------------------------------------------------------------- // Copyright (c) 2007-2020 VMware, Inc. // // Licensed under the Apache License, Version 2....
37.295775
101
0.592145
[ "MPL-2.0-no-copyleft-exception", "MPL-2.0", "Apache-2.0" ]
10088/rabbitmq-dotnet-client
projects/RabbitMQ.Client/client/framing/ExchangeDelete.cs
2,648
C#
namespace BusinessLogic { public interface IAuditable { } }
13.2
33
0.712121
[ "MIT" ]
PacktPublishing/Entity-Framework-Core-Cookbook
Chapter02/BusinessLogic/IAuditable.cs
68
C#
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CBehTreeNodeRiderIdleDynamicRootDefinition : CBehTreeNodeBaseIdleDynamic...
34.434783
154
0.77399
[ "MIT" ]
DerinHalil/CP77Tools
CP77.CR2W/Types/W3/RTTIConvert/CBehTreeNodeRiderIdleDynamicRootDefinition.cs
770
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...
34.124183
109
0.580349
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/WAFV2/Generated/Model/DeleteRegexPatternSetRequest.cs
5,221
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
35.818182
85
0.543147
[ "MIT" ]
kaukulpr/nsdk
CapModel/User.cs
1,182
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
33.190476
103
0.610904
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/DirectoryService/Generated/Model/EnableSsoRequest.cs
3,485
C#
// This file is part of Core WF which is licensed under the MIT license. // See LICENSE file in the project root for full license information. namespace CoreWf.Hosting { using System.Collections.Generic; // overriden by extensions that want to contribute additional // extensions and/or get notified when t...
34.166667
86
0.749593
[ "MIT" ]
OIgnat/corewf
src/CoreWf/Hosting/IWorkflowInstanceExtension.cs
615
C#
using buildeR.BLL.Interfaces; using buildeR.Common.DTO.Webhooks.Github.PayloadDTO; using System; using System.Linq; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace buildeR.BLL.Services { public class WebhooksHandler : IWebhooksHandler { private readonly IBu...
30.647059
92
0.658349
[ "MIT" ]
yermolenko-d/bsa-2020-buildeR
backend/buildeR.BLL/Services/WebhooksHandler.cs
1,044
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.790323
107
0.688637
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/Internal/MarshallTransformations/DvbTdtSettingsMarshaller.cs
2,033
C#
namespace ishtar.emit { public enum FlowControl { None, Branch, Break, Call, Return, Throw } }
11.923077
27
0.451613
[ "MIT" ]
0xF6/mana_lang
runtime/ishtar.base/emit/FlowControl.cs
155
C#
using DadStormServices; using System; using System.Collections.Generic; namespace PuppetMaster.Command { public class ExitCommand : PuppetCommand { public ExitCommand(PuppetShell shell) : base(shell, "Exit", "Exit: Exites the application") { } public override void execute(string[] args) { ...
31.483871
104
0.517418
[ "MIT" ]
Vasco-jofra/dadstorm
PuppetMaster/Command/ExitCommand.cs
978
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology 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 ...
28.435484
90
0.581395
[ "Apache-2.0" ]
007008aabb/WeiXinMPSDK
src/Senparc.Weixin/Senparc.Weixin/Entities/JsonResult/Interface/IJsonResult.cs
1,907
C#
using System.Threading.Tasks; namespace Confab.Shared.Abstractions.Events { public interface IEventHandler<in TEvent> where TEvent : class, IEvent { Task HandleAsync(TEvent @event); } }
23
74
0.714976
[ "MIT" ]
ArturWincenciak/confab
src/Shared/Confab.Shared.Abstractions/Events/IEventHandler.cs
209
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Microsoft.Phone.Cont...
29.470588
100
0.717565
[ "MIT" ]
noenemy/Book-Windows-Phone-Programming-Bible
Chapter 14/Launchers/Launchers/MediaPlayer.xaml.cs
1,004
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; namespace Xenko.Core.MicroThreading { [AttributeUsage(AttributeTargets.Method | At...
32.277778
114
0.698795
[ "MIT" ]
Aminator/xenko
sources/core/Xenko.Core.MicroThreading/XenkoScriptAttribute.cs
581
C#
// Copyright 2021 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 ...
39.531915
99
0.677072
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/pubsublite/v1/google-cloud-pubsublite-v1-csharp/Google.Cloud.PubSubLite.V1.StandaloneSnippets/AdminServiceClient.CreateSubscriptionRequestObjectAsyncSnippet.g.cs
1,858
C#
using D_API.Lib.Models.Responses; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace D_API.Lib.Exceptions { [Serializable] public abstract class APIException : Exception { public APIResponse Response { get; set; } public APIException(APIResponse r...
51.225806
158
0.73898
[ "MIT" ]
DiegoG1019/D_API
D_API.Lib/Exceptions/APIException.cs
6,354
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace SozlukSitesi.Service { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { AreaRegistration.Reg...
21.789474
60
0.693237
[ "MIT" ]
enesozer/sozlukproject
SozlukSitesi.Service/Global.asax.cs
416
C#