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.Web.Http; using API.WindowsService.Filters; using API.WindowsService.Models; using Contract; namespace API.WindowsService.Controllers { [ApiAuthorization] public class JobController : ApiController { private readonly IJobRepository _repository; private readonly I...
35.294118
121
0.583333
[ "BSD-3-Clause" ]
drdk/ffmpeg-farm
ffmpeg-farm-server/API.WindowsService/Controllers/JobController.cs
2,402
C#
using RestIdentity.DataAccess.Models; namespace RestIdentity.DataAccess.Repositories; public interface IUserAvatarsRepository { string CreateAvatarHashForUser(string userId); string CreateAvatarHashForUser(UserRecord user); Task<UserAvatarRecord?> FindByUserIdAsync(string userId); Task<UserAvatarRec...
38.285714
88
0.81592
[ "MIT" ]
Abooow/RestIdentity
src/RestIdentity.DataAccess/Repositories/IUserAvatarsRepository.cs
806
C#
using System.Collections.Generic; using System.Threading.Tasks; using SendGrid.Helpers.Mail; namespace AppLensV3.Services { /// <summary> /// Empty email notification service. /// </summary> public class NullableEmailNotificationService : IEmailNotificationService { /// <inheritdoc/> ...
26.052632
109
0.674747
[ "MIT" ]
solankisamir/Azure-AppServices-Diagnostics-Portal
ApplensBackend/Services/EmailNotificationService/NullableEmailNotificationService.cs
497
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using DataGridControl = System.Windows.Controls.DataGrid; using ActiproSoftware.Windows.Media; namespace ActiproSoftware.Windows.Controls...
43.081871
159
0.698113
[ "MIT" ]
Actipro/WPF-Controls
Source/DataGrid.Contrib/Windows/Controls.DataGrid/SelectionBehavior.cs
7,367
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...
28.467391
106
0.605575
[ "Apache-2.0" ]
diegodias/aws-sdk-net
sdk/src/Services/GlueDataBrew/Generated/Model/UpdateDatasetRequest.cs
2,619
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.39233
113
0.646918
[ "BSD-3-Clause" ]
mkramer74/WebSitePanel
WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/Ecommerce/Provisioning/HostingPackageController.cs
21,284
C#
using System; using System.Collections; using System.Collections.Generic; namespace Bubble.Sort { public class Bubble<T> : IEnumerable<T> where T : IComparable { private IList<T> data; public Bubble(params T[] items) { this.data = new List<T>(); foreach (var it...
24.055556
76
0.425712
[ "MIT" ]
IvelinMarinov/SoftUni
06. OOP Advanced - Jul2017/06. Unit Tests - Exercise/Bubble.Sort/Bubble.cs
1,301
C#
using System.Collections.Generic; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using NUnit.Framework; using RoslynTestKit; namespace CsharpMacros.Test.General { public class GeneralTest : CodeFixTestFixture { [Test] ...
43.202532
182
0.731321
[ "MIT" ]
cezarypiatek/CsharpMacros
src/CsharpMacros.Test/General/GeneralTest.cs
3,415
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Reactive { class ImmutableList<T> { T[] data; public ImmutableList() { data = new T[0]; } public Immutable...
25.173077
133
0.477464
[ "Apache-2.0" ]
Distrotech/mono
external/rx/Rx/NET/Source/System.Reactive.Linq/Reactive/Internal/ImmutableList.cs
1,311
C#
using System; using System.Collections.Generic; using UnityEngine; namespace Marklight.Themes { [Serializable] public class StyleClass { #region Private Fields private static readonly char[] StyleSeperator = new char[] { ' ' }; [SerializeField] private string _className; ...
22.381443
113
0.538922
[ "MIT" ]
JCThePants/marklight
Source/Assets/MarkLight/Source/Plugins/Themes/StyleClass.cs
2,173
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace UserControls { public partial class UCUredjivanjeEdukacija : UserControl { public UCUredji...
17.904762
58
0.784574
[ "MIT" ]
NovakVed/cs-learning
CSeLearning/UCUredjivanjeEdukacija.cs
378
C#
using QuizScoreTracker.Managers; using System.Windows.Forms; namespace QuizScoreTracker.Forms { partial class AboutDialog : Form { public AboutDialog() { InitializeComponent(); Text = $"About {AssemblyManager.Title}"; labelProductName.Text = AssemblyManager....
31.842105
69
0.649587
[ "MIT" ]
AbyssDarkstar/QuizScoreTracker
QuizScoreTracker/Forms/AboutDialog.cs
607
C#
using Game.Engine.Monsters; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Game.Engine { class Q3Strategy : IBattleStrategy { private int q3; public void Execute(GameSession parentSession, Monster monster, KilledMo...
24.8
118
0.46147
[ "MIT" ]
kamilkozinski/GameC
Engine/Q3Strategy.cs
1,118
C#
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// SignTaskFileResult Data Structure. /// </summary> [Serializable] public class SignTaskFileResult : AopObject { /// <summary> /// 业务初始化时传入的流水号 ...
25.511111
94
0.540941
[ "MIT" ]
leixf2005/Alipay.AopSdk.Core
Alipay.AopSdk.Core/Domain/SignTaskFileResult.cs
1,306
C#
using SuperHeroAPI.Models; namespace SuperHeroAPI.Repositories.Interfaces { public interface ISuperHeroRespository { Task<List<SuperHero>> GetAll(); Task<SuperHero?> GetAsync(string id); Task<SuperHero> AddAsync(SuperHero hero); Task<SuperHero> UpdateAsync(SuperHero hero); ...
26.214286
52
0.686649
[ "MIT" ]
xLonelyPlayer/ApsDotNetCoreWebAPIV1
SuperHeroAPI/SuperHeroAPI/Repositories/Interfaces/ISuperHero.cs
369
C#
//------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré par un outil. // Version du runtime :4.0.30319.42000 // // Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si // le code es...
40.819444
176
0.616876
[ "MIT" ]
Aimene-BAHRI/Hacktober-2019
WPF apps/Fun facts Calculator/Properties/Resources.Designer.cs
2,973
C#
// // ProcessTest.cs - NUnit Test Cases for System.Diagnostics.Process // // Authors: // Gert Driesen (drieseng@users.sourceforge.net) // Robert Jordan <robertj@gmx.net> // // (C) 2007 Gert Driesen // using System; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Text; using Sy...
30.149091
100
0.643388
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
24,873
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 CommunityToolkit.WinUI.Helpers; namespace UnitTests { internal class TestDeepLinkParser : D...
30.173913
168
0.684438
[ "MIT" ]
ehtick/Uno.WindowsCommunityToolkit
UnitTests/UnitTests.UWP/Helpers/TestDeepLinkParser.cs
694
C#
#region Copyright // ****************************************************************************************** // // SimplePath, Copyright © 2011, Alex Kring // // ****************************************************************************************** #endregion using UnityEngine; using System; u...
29.295455
100
0.54616
[ "Apache-2.0" ]
RutgersUniversityVirtualWorlds/FreshTherapyOffice
Assets/SimplePath/Main/Code/AI/Navigation/Pathing/IPathAgent.cs
1,292
C#
// Copyright 2018 Google 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
41.906706
185
0.611695
[ "Apache-2.0" ]
InitRoot/sandbox-attacksurface-analysis-tools
NtApiDotNet/Ndr/NdrParser.cs
28,750
C#
using System; using System.IO; using System.Text.Json; using System.Threading.Tasks; using Covidiot.Models; namespace Covidiot.Services { public static class JsonReadService { public static Task<TimedNodeAction> ReadAction(MapNodeCoordinate coordinate) => ReadAction($"{coordinate.XCoordina...
35.045455
87
0.682231
[ "MIT" ]
WhatzGames/Hackathon-Leer-2021
Covidiot/Covidiot/Services/JsonReadService.cs
773
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Net.Http; using System.Runtime.Serialization.Json; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Geocoding.Here { /// <remarks> /// https://github.com/ch...
33.421456
201
0.736329
[ "MIT" ]
StanDeMan/Geocoding
src/Geocoding.Here/HereGeocoder.cs
8,725
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; usin...
42.883721
194
0.593818
[ "MIT" ]
Priya91/corefx-1
src/System.Linq.Expressions/src/System/Linq/Expressions/Expression.cs
14,752
C#
// This file was created automatically, do not modify the contents of this file. // ReSharper disable InvalidXmlDocComment // ReSharper disable InconsistentNaming // ReSharper disable CheckNamespace // ReSharper disable MemberCanBePrivate.Global using System; using System.Runtime.InteropServices; // Source...
31.818182
134
0.767857
[ "Apache-2.0" ]
mrkriv/UnrealDotNet
Plugins/UnrealDotNet/Source/UnrealEngineSharp/Generate/Class/UEnvQueryDebugHelpers.cs
1,400
C#
 using ExtCore.Mvc.Infrastructure.Actions; using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Builder; using System; namespace Barebone.Actions { public class UseMvcAction : IUseMvcAction { public int Priority => 1000; public void Execute(IRouteBuilder routeBuilder, IServiceProvid...
27
144
0.697856
[ "Apache-2.0" ]
cedriclange/EducationSolution
EducationSolution/Barebone/Actions/UseMvcAction.cs
515
C#
using System; namespace LibrarySystem.Web.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
19.545455
70
0.674419
[ "MIT" ]
DiyanLyubchev/LibraryManagementSystem
LibraryDataBaseEF/LibrarySystem.Web/Models/ErrorViewModel.cs
215
C#
#region License /* Copyright © 2014-2021 European Support Limited 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 a...
37.977273
128
0.651307
[ "Apache-2.0" ]
Ginger-Automation/Ginger
Ginger/Ginger/Agents/AgentsNew/MapApplicationAgentPage.xaml.cs
5,014
C#
using System; using System.Buffers; using System.Diagnostics; using System.Text; namespace Lidgren.Network { public class NetBuffer : IBitBuffer { /// <summary> /// Number of extra bytes to overallocate for message buffers to avoid resizing. /// </summary> protected const int E...
26.235669
94
0.491867
[ "MIT" ]
AntonyChurch/lidgren-network-gen3
Lidgren.Network/Buffer/NetBuffer.cs
4,121
C#
using System; using System.Windows.Forms; using Microsoft.Win32; namespace MRUManager_dotNet4_example { public class MRUManager { // TODO implement 'maxNumberOfFiles' and 'maxDisplayLength' #region Private members private string NameOfProgram; private string SubKeyName; private ToolStripMenuIt...
27.073864
180
0.600839
[ "MIT" ]
fredatgithub/MRUManager
MRUManager_dotNet4_example/MRUManager.cs
4,767
C#
/* * File: GtmpVoiceServer.Players.cs * Date: 21.2.2018, * * MIT License * * Copyright (c) 2018 JustAnotherVoiceChat * * 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...
33.025316
81
0.638559
[ "MIT" ]
AlternateLife/JustAnotherVoiceChat-Server
JustAnotherVoiceChat.Server.GTMP/src/Elements/Server/GtmpVoiceServer.Players.cs
2,611
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 "li...
38.362637
158
0.649957
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Amplify/Generated/Model/Internal/MarshallTransformations/GetBackendEnvironmentRequestMarshaller.cs
3,491
C#
namespace FakeProvider { public interface IFake { INamedTileCollection Provider { get; } int Index { get; set; } int RelativeX { get; set; } int RelativeY { get; set; } int X { get; set; } int Y { get; set; } ushort[] TileTypes { get; } } }
22.142857
46
0.516129
[ "MIT" ]
AnzhelikaO/FakeProvider
FakeProvider/TileProvider/Entities/IFake.cs
312
C#
using System.Collections.Generic; using CSUtil.Commons; using TrafficManager.Geometry.Impl; using TrafficManager.Traffic; using TrafficManager.Util; namespace TrafficManager.TrafficLight { public interface ITimedTrafficLights : IObserver<NodeGeometry> { IDictionary<ushort, IDictionary<ushort, ArrowDirection>> Dire...
37.688889
136
0.760024
[ "MIT" ]
Emphasia/CitiesSkylines-TrafficManagerP
TLM/TLM/TrafficLight/ITimedTrafficLights.cs
1,698
C#
namespace MassTransit.Conductor.Configurators { using System; using System.Collections.Generic; public class ServiceClientConfigurator : IServiceClientConfigurator { public ServiceClientConfigurator() { Options = new ServiceClientOptions(); } public...
23.820513
64
0.589882
[ "ECL-2.0", "Apache-2.0" ]
AndoxADX/MassTransit
src/MassTransit/Conductor/Configuration/Configurators/ServiceClientConfigurator.cs
929
C#
// CodeContracts // // 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 restriction, including wit...
27.858757
463
0.693774
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Analyzers/IOutputResults.cs
4,931
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...
32.72
106
0.77445
[ "Apache-2.0" ]
Bit-Quill/opensearch-net
src/Osc/QueryDsl/MatchNoneQuery.cs
1,636
C#
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
37.833333
110
0.753304
[ "Apache-2.0" ]
orm-core-group/RepoDb
RepoDb/RepoDb/Properties/AssemblyInfo.cs
1,592
C#
// // WebProxyTest.cs - NUnit Test Cases for System.Net.WebProxy // // Authors: // Lawrence Pit (loz@cable.a2000.nl) // Martin Willemoes Hansen (mwh@sysrq.dk) // Gert Driesen (drieseng@users.sourceforge.net) // // (C) 2003 Martin Willemoes Hansen // using System; using System.Collections; using System.IO; using ...
33.763251
107
0.627839
[ "Apache-2.0" ]
121468615/mono
mcs/class/System/Test/System.Net/WebProxyTest.cs
9,555
C#
using System; using Org.BouncyCastle.Math; namespace Org.BouncyCastle.Crypto.Parameters { public class RsaBlindingParameters : ICipherParameters { private readonly RsaKeyParameters publicKey; private readonly BigInteger blindingFactor; public RsaBlindingParameters( RsaKeyParameters publicKey, BigIn...
19.657143
77
0.747093
[ "MIT" ]
0x070696E65/Symnity
Assets/Plugins/Symnity/Pulgins/crypto/src/crypto/parameters/RSABlindingParameters.cs
688
C#
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace CodingMilitia.GrpcExtensions.ScopedRequestHandlerClientSample { public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } public ...
26.777778
77
0.639004
[ "MIT" ]
CodingMilitia/GrpcExtensions
samples/CodingMilitia.GrpcExtensions.ScopedRequestHandlerClientSample/Program.cs
484
C#
using Logger.Core; using System; namespace Logger { public class StartUp { public static void Main() { IRunnable engine = new Engine(); engine.Run(); } } }
14.533333
44
0.513761
[ "MIT" ]
anidz/Software-University---C-OOP---February-2022-Solutions
SOLID_Exercises/Logger/StartUp.cs
220
C#
using System; using System.Collections.Generic; using System.Data; using NUnit.Framework; using Omu.ValueInjecter; namespace Tests { public class DanRyanIDataReaderTests { [Test] public void Main() { var persons = new List<Person>(); var table = CreateSampleData...
29.185185
92
0.51269
[ "MIT" ]
cristi-badila/.Net2.0-ValueInjecter
Tests/DanRyanIDataReaderTests.cs
2,366
C#
// Copyright (c) 2008-2020, Hazelcast, 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by...
47.688889
154
0.760019
[ "Apache-2.0" ]
BigYellowHammer/hazelcast-csharp-client
src/Hazelcast.Net/DistributedObjects/Impl/HList.Events.cs
2,148
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
27.227273
239
0.615693
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapXLuaReflectionUseAttributeWrapWrapWrapWrapWrap.cs
2,997
C#
using System; using System.Collections.Generic; using System.Text; namespace ProjetoSingleton { class singletonClass { private static singletonClass singletonObject; public int numero = 12; private singletonClass() { } public static singletonClass GetInstanc...
18.580645
59
0.508681
[ "MIT" ]
KeilaLCrispim/ExProjSingleton
singletonClass.cs
578
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("P08...
37.945946
84
0.747151
[ "MIT" ]
jeliozver/SoftUni-Work
Programming-Fundamentals-September-2017/10-Files-and-Exceptions-Exercises/P08-Average-Grades/Properties/AssemblyInfo.cs
1,407
C#
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace M...
36.269231
176
0.551166
[ "MIT" ]
DavidYQY/MazeSolver
MazeSolver/Properties/Resources.Designer.cs
4,238
C#
/** * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ using Xunit; // disable parallelization for this test assembly to avoid // issues based on singleton values e.g. ReferenceLink.BaseUrl [assembly: CollectionBehavior(DisableTestParallelization = true)]
24.25
65
0.756014
[ "MIT" ]
Chongruiyuan893/TeamCloud
src/TeamCloud.Model.Tests/CollectionBehavior.cs
293
C#
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace Borks.Graphics3D.CoDXAsset.Tokens { /// <summary> /// A class to hold a token of the specified type /// </summary> public class TokenDataVector2 : TokenD...
25.677419
82
0.589196
[ "MIT" ]
Scobalula/BorkLib
src/cs/Borks.Graphics3D.CoDXAsset/Tokens/TokenDataVector2.cs
798
C#
using System; using UIKit; namespace Nightscout.iOS { public partial class ViewController : UIViewController { int count = 1; public ViewController (IntPtr handle) : base (handle) { } public override void ViewDidLoad () { base.ViewDidLoad (); // Perform any additional setup after loading the v...
20.542857
80
0.685675
[ "MIT" ]
colbylwilliams/nightscout
Nightscout/Nightscout.iOS/ViewControllers/ViewController.cs
721
C#
using ProtoBuildBot.Classes.Automation; using ProtoBuildBot.Classes.Messages.Base; using ProtoBuildBot.DataStore; using ProtoBuildBot.Enums; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using Telegram.Bot.Types; using Telegram.Bot.Types.Enums; using ...
47.662069
206
0.572855
[ "MIT" ]
ADeltaX/ProtoBuildBot
src/ProtoBuildBot/Classes/Messages/Commands/GetRingStatesCommand.cs
6,929
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Haushaltsbuch.Resources { class HaushaltsbuchGesamtDtoModel : IHaushaltsbuchDtoModel { public decimal Kassenbestand { get; set; } public string Monat { get; set; } ...
21.6
63
0.694444
[ "MIT" ]
adb-solutions/Schulung_12-2018
Jason/Haushaltsbuch/Haushaltsbuch.Resources/HaushaltsbuchGesamtDtoModel.cs
434
C#
using Meridian.ViewModel.Common; using Windows.System; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238 namespace Meridian.View.Common { /// <summary> /// An empty page that can be used on its own or navigated to within a Frame. ...
29.907407
101
0.563467
[ "Apache-2.0" ]
Elorucov/meridian-uwp
Meridian/View/Common/LastFmLoginView.xaml.cs
1,617
C#
// ********************************************************************************************************************** // // Copyright © 2005-2020 Trading Technologies International, Inc. // All Rights Reserved Worldwide // // * * * S T R I C T L Y P R O P R I E T A R Y * * * // // WARNING: This file and all re...
42.363636
148
0.550276
[ "BSD-3-Clause" ]
LevyForchh/TT_Samples
TT_NET_CLIENT_SIDE/TTNETAPI_Sample_Console_PriceDetailedDepthSubscription_EPIQ/Program.cs
3,269
C#
/* Copyright (c) 2014 ABB Group All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: Christian Manteuffel (Univer...
26.290323
70
0.70184
[ "EPL-1.0" ]
cmanteuffel/DecisionArchitect
DecisionArchitect/Logic/Validation/ElementRule.cs
815
C#
using System; using System.Collections.Generic; using NBitcoin; using Newtonsoft.Json; using Stratis.Bitcoin.Features.RPC.Models; using Stratis.Bitcoin.Features.Wallet; using Stratis.Bitcoin.Features.Wallet.JsonConverters; namespace Stratis.Bitcoin.Features.WatchOnlyWallet.Models { /// <summary> /// Represent...
33.38961
94
0.612213
[ "MIT" ]
obsidianplatform/ObsidianStratisNode
src/Stratis.Bitcoin.Features.WatchOnlyWallet/Models/WatchOnlyWalletModel.cs
2,573
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kunai.Cache { public static class CacheExtensions { public static IEnumerable<T> Cache<T>(this IEnumerable<T> source) { return CacheHelper(source.GetEnumerator()); } private stat...
22.102564
69
0.689095
[ "Apache-2.0" ]
evilz/kunai
src/Kunai/Cache/CacheExtensions.cs
864
C#
// MIT License Copyright 2014 (c) David Melendez. All rights reserved. See License.txt in the project root for license information. using ElCamino.AspNet.Identity.Dynamo.Model; using Microsoft.AspNet.Identity; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; namespace ElCamino.AspN...
36.560976
132
0.495886
[ "MIT" ]
c0achmcguirk/AspNetIdentity_DynamoDB
tests/identity.dynamo.tests/RoleStoreTests.cs
8,996
C#
using FluentBootstrap.Buttons; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FluentBootstrap { public static class ButtonExtensions { // Button public static Button<THelper> Button<THelper>(this IButtonCreator<THe...
38.181818
175
0.643074
[ "MIT" ]
jbgriffith/FluentBootstrap
FluentBootstrap/Buttons/ButtonExtensions.cs
4,622
C#
using System; namespace alabala { class Program { static void Main(string[] args) { double num = 0.0001; Console.WriteLine(num + num + num + num + num + num == 0.0006); } } }
16.928571
75
0.489451
[ "MIT" ]
dimitarLaleksandrov/first-steps-in-coding-C-
Homework/Fundamentals whit C#/9.1 More Exercise Data Types and Variables/alabala/Program.cs
239
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Budget.WebApi.Migrations { public partial class CustomizeImporto : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<float>( name: "Importo_Amount", ...
29.125
71
0.522532
[ "MIT" ]
AngeloDotNet/FacileBudget-2
src/FacileBudget/Backend/Budget.WebApi/Migrations/20211210173452_CustomizeImporto.cs
934
C#
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif namespace UnityStandardAssets.Utility { #if UNITY_EDITOR [ExecuteInEditMode] #endif public class PlatformSpecificContent : MonoBehaviour #if UNITY_EDITOR , UnityEditor.Build.IActiveBuildTargetChanged #endif { pri...
23.206612
98
0.497151
[ "BSD-3-Clause" ]
TheRealCatherine/StageMechanic
StageMechanic/Assets/Standard Assets/Utility/PlatformSpecificContent.cs
2,688
C#
using System; using System.Collections.Generic; using System.Text; namespace gov.va.medora.mdo { public class MdoConstants { public const string TIMESTAMP_FORMAT = "yyyyMMdd.HHmmss"; } }
17.333333
65
0.711538
[ "Apache-2.0" ]
VHAINNOVATIONS/RAPTOR
OtherComponents/MDWSvistalayer/MDWS Source/mdo/mdo/src/mdo/domain/MdoConstants.cs
208
C#
using Marten.Linq.SqlGeneration; using Marten.Storage; using Marten.Storage.Metadata; using Marten.Util; using NpgsqlTypes; namespace Marten.Linq.Filters { /// <summary> /// SQL WHERE fragment for a specific tenant /// </summary> internal class SpecificTenantFilter: ISqlFragment { private r...
24.176471
89
0.624088
[ "MIT" ]
barclayadam/marten
src/Marten/Linq/Filters/SpecificTenantFilter.cs
822
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Elysium { public interface IConnection { Uri BaseAddress { get; } ICredentialStore CredentialStore { get; } Credentials Credentials { get; set; } ...
23.857143
49
0.63024
[ "MIT" ]
ElysiumLabs/Elysium-Client
Source/Elysium.Service.Client/Http/IConnection.cs
670
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Collections.Specialized; using System.Net; using System.Diagnostics; using System.Threading; using System.IO; using System.Ru...
36.740196
182
0.506604
[ "MIT" ]
Markful/BeanfunLogin
BeanfunLogin/Form1.Connect.cs
15,286
C#
#region Header // // Copyright 2003-2014 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and ...
38.43129
158
0.661789
[ "MIT" ]
jabirLJ/RevitLookup
CS/Snoop/Forms/Objects.cs
18,178
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WaapiCS.Communication; namespace ak { public static partial class wwise { public static class ui { /// <summary> /// Gets the currently selected Wwi...
39.357798
101
0.47972
[ "MIT" ]
adamtcroft/WaapiCS
WaapiCS/UI.cs
4,292
C#
/*********************************************************************************************************************** Copyright (c) 2016, Imagination Technologies Limited and/or its affiliated group companies. All rights reserved. Redistribution and use in source and binary forms, with or without modification, ...
37.747899
121
0.686999
[ "BSD-3-Clause" ]
CreatorDev/DTLS.Net
src/DTLS.Net/Records/HandshakeRecord.cs
4,494
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
23.722222
81
0.398126
[ "MIT" ]
rlphila/expenses
Expenses/About.aspx.designer.cs
429
C#
namespace VRTK.UnityEventHelper { using UnityEngine.Events; using System; public sealed class VRTK_PlayerClimb_UnityEvents : VRTK_UnityEvents<VRTK_PlayerClimb> { [Serializable] public sealed class PlayerClimbEvent : UnityEvent<object, PlayerClimbEventArgs> { } public PlayerCli...
32.722222
91
0.67657
[ "MIT" ]
FullBoreStudios/FBVRK
Assets/VRTK/Scripts/Utilities/UnityEvents/VRTK_PlayerClimb_UnityEvents.cs
1,180
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; namespace DensoCreate.LightningReview.ReviewFile.Models.V10 { /// <summary> /// ドキュメント /// </summary> [XmlRoot] public class Document : IDocument { #region プロパティ /// <summary> ...
22.828125
93
0.509925
[ "MIT" ]
denso-create/LightningReview-ReviewFile
src/ReviewFile/Models/V10/Document.cs
1,647
C#
using Dm; using FreeSql.DatabaseModel; using FreeSql.Internal; using FreeSql.Internal.Model; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace FreeSql.Dameng { class DamengDb...
47.919786
215
0.527136
[ "MIT" ]
1051324354/FreeSql
Providers/FreeSql.Provider.Dameng/DamengDbFirst.cs
26,967
C#
namespace TDAmeritradeApi.Client.Models.Streamer { public enum ListOptionType { BOTH, CALLS, PUTS } }
13.9
49
0.582734
[ "Apache-2.0" ]
bmello4688/TDAmeritradeApi
TDAmeritrade.Client/Models/Streamer/ListOptionType.cs
141
C#
#region Project Description [About this] // ================================================================================= // The whole Project is Licensed under the MIT License // ================================================================================= // =======================================...
41.576531
98
0.544975
[ "MIT" ]
DominikWiesend/wiesend
projects/Wiesend.DataTypes/DataTypes/Bag.cs
8,151
C#
using System.Collections.Generic; using EmlakApp.Entities; namespace EmlakApp.Business.Abstract { public interface IAdService { List<Ev> GetAds(); Ev GetAdById(int evId); Ev CreateAd(Ev ev); Ev UpdateAd(Ev ev); void DeleteAd(int evId); } }
19.6
36
0.629252
[ "MIT" ]
RamazanAltuntepe/Basit-Katmanli--Asp-Web-Api-Uygulamasi
EmlakApp/EmlakApp.Business/Abstract/IAdService.cs
296
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using Mirror; using UnityEngine.UI; using UnityEngine.EventSystems; /// <summary> /// /// </summary> public class UIUtils { // instantiate/remove enough prefabs to match amount public static void BalancePrefa...
32.980769
87
0.623324
[ "MIT" ]
zfy1045056938/THDN_Script
THDN/CORE/Scripts/UI/UIUtils.cs
1,717
C#
namespace E_Shop.Service.ProductFilters { using System.Collections.Generic; public static class ProductFilterList { public static List<IProductFilter> BaseFiltersForAdmin() { var list = new List<IProductFilter> { new ProductDeletedFilter(false) }; return list; ...
26.8
84
0.626866
[ "MIT" ]
nixelt/E-Shop
E-Shop/E-Shop.Service/ProductFilters/ProductFilterList.cs
538
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 "li...
35.971429
138
0.611067
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ComprehendMedical/Generated/Model/Internal/MarshallTransformations/InferRxNormRequestMarshaller.cs
3,777
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose" file="Names.cs"> // Copyright (c) 2016 Aspose.Cells for Cloud // </copyright> // <summary> // Permission is hereby granted, free of charge, to any person obtaining a...
38.618421
119
0.588075
[ "MIT" ]
aspose-cells-cloud/aspose-cells-cloud-dotnet
Aspose.Cells.Cloud.SDK/Model/Names.cs
2,935
C#
using Books.Domain.AggregatedModel.AggragatedBooks; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; using System.Collections.Generic; using System.Text; namespace Books.Infra.EntityConfigurations { class BookEntityTypeConfiguration : IEntityTypeConfigurati...
31.227273
70
0.695779
[ "MIT" ]
ormarom/examples
books/Services/BooksSimapleWithDomainEventsAndState/Books.Infra/EntityConfigurations/BookEntityTypeConfiguration.cs
689
C#
using System; using System.Collections.Generic; using GitTools.Testing; using GitVersion; using GitVersion.Configuration; using GitVersion.Extensions; using GitVersion.VersionCalculation; using GitVersionCore.Tests.Helpers; using GitVersionCore.Tests.Mocks; using LibGit2Sharp; using Microsoft.Extensions.DependencyInjec...
38.114286
212
0.586807
[ "MIT" ]
teyc/GitVersion
src/GitVersionCore.Tests/VersionCalculation/NextVersionCalculatorTests.cs
6,670
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Schema; using Microsoft.Extensions.DependencyInjection; namespace H...
40.255319
159
0.70296
[ "MIT" ]
Damarus999/botframework-solutions
skills/src/csharp/experimental/hospitalityskill/Bots/DialogBot.cs
1,894
C#
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using Esprima; using Esprima.Ast; using Jint.Native; using Jint.Native.Argument; using Jint.Native.Array; using Jint.Native.Boolean; using Jint.Native.Date; using Jint.Native.Error; using Jint.Native.Function; using Jint.Native.Glob...
38.988147
203
0.573588
[ "BSD-2-Clause" ]
takenet/jint
Jint/Engine.cs
36,183
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MortelAuContact : MonoBehaviour { void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Player") { other.gameObject.GetComponent<PlayerLife>().Hit(); } } void ...
21.434783
62
0.606491
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
spip2001/NierProtomata
Assets/Scripts/Decor/MortelAuContact.cs
495
C#
using System; using Snuggle.Core.IO; using Snuggle.Core.Models.Serialization; using Snuggle.Core.Options; namespace Snuggle.Core.Implementations; public class NamedObject : SerializedObject { public NamedObject(BiEndianBinaryReader reader, UnityObjectInfo info, SerializedFile serializedFile) : base(reader, info,...
41.318182
174
0.760176
[ "MIT" ]
yretenai/Snuggle
Snuggle.Core/Implementations/NamedObject.cs
911
C#
// Copyright (c) 2001-2021 Aspose Pty Ltd. All Rights Reserved. // // This file is part of Aspose.Words. The source code in this file // is only intended as a supplement to the documentation, and is provided // "as is", without warranty of any kind, either expressed or implied. ////////////////////////////////////////...
51.642739
273
0.62787
[ "MIT" ]
alex-dudin/Aspose.Words-for-.NET
Examples/ApiExamples/ApiExamples/ExPdfSaveOptions.cs
125,248
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Microsoft.Azure.WebJobs.Extensions.DurableTask; using Micros...
46.319635
136
0.611297
[ "MIT" ]
wsugarman/azure-functions-durable-extension
test/FunctionsV2/AzureCredentialFactoryTests.cs
10,146
C#
using System; using Bittrex.Net.Converters.V3; using Newtonsoft.Json; namespace Bittrex.Net.Objects.V3 { /// <summary> /// Withdrawal info /// </summary> public class BittrexWithdrawalV3 { /// <summary> /// The id of the withdrawal /// </summary> public string Id { ...
30.766667
58
0.529252
[ "MIT" ]
NektoDron/Bittrex.Net
Bittrex.Net/Objects/V3/BittrexWithdrawalV3.cs
1,848
C#
using Domain.CinemaModel; using Domain.Enums; using Domain.MovieModel; using System; using System.Collections.Generic; using System.Linq; namespace Services { public class CinemaService { public void CinemaRepertuar() { Cinema cineplexx = new Cinema("Cineplex"); Cinema ...
34.083612
145
0.49269
[ "MIT" ]
Isko82mk/HomeWorks
HomeWorkClass10_Refactored/Services/CinemaService.cs
10,193
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 regenerat...
21.302326
85
0.570961
[ "MIT" ]
skyprolk/Clash-Of-SL
Clash SL Server [UCS 7.4.0]/Database/CSSdb.Context.cs
918
C#
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using System.Windows.Threading; namespace EventHook.Helpers { /// <summary> /// A class to create a dummy message pump if we don't have one /// A message pump is required for most of o...
30.744828
103
0.498654
[ "MIT" ]
tongshunmin/Windows-User-Action-Hook
EventHook/Helpers/SharedMessagePump.cs
4,460
C#
using System.Collections.Generic; using RimWorld; using Verse; using Verse.AI; namespace ReconAndDiscovery { public class JobDriver_TakeBodyToOsirisCasket : JobDriver { private const TargetIndex CorpseIndex = TargetIndex.A; private const TargetIndex GraveIndex = TargetIndex.B; public...
36.292683
96
0.688844
[ "MIT" ]
Garethp/ReconAndDiscovery
Source/ReconAndDiscovery/JobDriver_TakeBodyToOsirisCasket.cs
1,490
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 ...
54.44898
238
0.805847
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-rds/Rds/Transform/V20140815/DescribeCollationTimeZonesResponseUnmarshaller.cs
2,668
C#
namespace SonarQube.Core.Api { public class Issue { public string Severity { get; set; } public string Line { get; set; } public string Message { get; set; } public string Effort { get; set; } public string Type { get; set; } p...
21.684211
46
0.521845
[ "MIT" ]
mamcer/sonarqube-report
src/SonarQube.Core/Api/Issue.cs
412
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> //--...
41.531915
172
0.585041
[ "Apache-2.0" ]
VisafeTeam/VisafeWindows
Visafe/Visafe/Properties/Resources.Designer.cs
3,906
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; using System.Text; using System.Threading.Tasks; namespace CLK.AspNet.Identity { public abstract class PermissionAuthorize { // Constructors internal PermissionAuthorize() { } // Metho...
28.507042
106
0.623024
[ "MIT" ]
Clark159/CLK.AspNet.Identity
src/CLK.AspNet.Identity/PermissionAuthorize.cs
2,026
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using HansKindberg.IdentityServer.Identity.Data; using Microsoft.AspNetCore.Identity; using RegionOrebroLan.Security.Claims; using UserEntity = HansKindberg.IdentityServer.Identity.User; using UserLoginModel = HansKindberg.IdentityServer...
36.227273
119
0.79611
[ "MIT" ]
HansKindberg/IdentityServer-Extensions
Source/Project/Identity/IIdentityFacade.cs
1,594
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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
37.060606
128
0.696648
[ "Apache-2.0" ]
PierrickVoulet/google-ads-dotnet
src/V5/Services/UserInterestServiceResourceNames.g.cs
1,223
C#
using System.Collections.Generic; using System.Linq; using MySql.Data.MySqlClient; namespace TestSupport.Data { public class TestDatabaseSupport { public static string RegistrationConnectionString => ConnectionString("tracker_registration_dotnet_test"); public static string BacklogConnectionStr...
34.619469
114
0.497699
[ "BSD-2-Clause" ]
vmware-tanzu-learning/pal-tracker-distributed-dotnet
Components/TestSupport/Data/TestDatabaseSupport.cs
3,912
C#