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 BowlingScore; using NUnit.Framework; using System; using System.IO; namespace OldProgramTests { class OldProgramTests { string[] games = new[] { "X|X|X|X|X|X|X|X|X|X||XX", // 300 - perfect game "X|15|1/|X|9/|X|X|X|X|X||12", // 206 "X|1/|X|5/|X|3/|X|8/|X|9/||X1/", // 200 - "scottish"...
30.595745
100
0.502782
[ "MIT" ]
oshea00/BowlingScores
BowlingScore.Tests/OldProgramTests.cs
1,440
C#
using System; using System.Net.Http; using LianZhao; using MediaWiki.Query.AllCategories; using MediaWiki.Query.AllPages; using MediaWiki.Query.CategoryMembers; namespace MediaWiki.Query { public class QueryApiClient : DisposableObjectOwner { private readonly string _site; pr...
28.619718
130
0.561024
[ "MIT" ]
lianzhao/WikiaWP
src/MediaWikiSDK/Query/QueryApiClient.cs
2,034
C#
using System.Data.Entity; using MeetingRoomBookingSystem.Migrations; using MeetingRoomBookingSystem.Models; using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(MeetingRoomBookingSystem.Startup))] namespace MeetingRoomBookingSystem { public partial class Startup { public void Confi...
26.142857
104
0.726776
[ "MIT" ]
kemeh/MeetingRoomBooking
MeetingRoomBookingSystem/Startup.cs
551
C#
#if (UNITY_WINRT || UNITY_WP_8_1) && !UNITY_EDITOR && !UNITY_WP8 #region License // Copyright (c) 2007 James Newton-King // // 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...
26.724771
91
0.672503
[ "Apache-2.0" ]
1st-SE-HCMUS/SpaceCrushUnity
Assets/JsonDotNet/Source/WinRT/Utilities/RT_StringBuffer.cs
2,913
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("AgileSqlClub.SqlPackageFilter")] [...
39.638889
85
0.728101
[ "MIT" ]
Jegapriya/Agile-Club-dll-file
SqlPackageFilter/Properties/AssemblyInfo.cs
1,430
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
32.730769
90
0.668625
[ "MIT" ]
Ethereal77/stride
sources/engine/Stride.Rendering/Rendering/Images/ColorTransforms/ToneMap/ToneMapReinhardOperator.cs
851
C#
using System; using System.Runtime.InteropServices; namespace AudioSyncMSNUI.WindowsMediaToLiveMessenger { class LiveMessengerWrapper { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public struct COPYDATASTRUCT { /// <summary> /// The size, in...
38.099338
135
0.557101
[ "MIT" ]
cawolfkreo/WindowsMediaToLiveMessenger
TasktrayUI/WindowsMediaToLiveMessenger/LiveMessengerWrapper.cs
5,772
C#
using System; using System.Reflection; namespace Kraken.Caching { [AttributeUsage( AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class C...
23.305556
106
0.728248
[ "Apache-2.0" ]
MH1/Kraken.Caching
Kraken.Caching/Attributes/CachedAttribute.cs
841
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V3109</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
39.696697
1,358
0.567668
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V3109/Generated/RCCT_MT120101UK01Agent.cs
13,219
C#
using System.Collections.Generic; using AdobeSignClient.V4.Client; using AdobeSignClient.V4.Model; using RestSharp; namespace AdobeSignClient.V4.Api { /// <summary> /// Represents a collection of functions to interact with the API endpoints /// </summary> public interface IWidgetsApi { ...
62.95618
174
0.622477
[ "Apache-2.0" ]
superbee66/AdobeSignCSharpSdk
v4/src/main/CsharpDotNet2/IO/Swagger/Api/WidgetsApi.cs
56,031
C#
// // Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // 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 s...
38.901786
106
0.622217
[ "BSD-3-Clause" ]
AlanLiu90/NLog
src/NLog/LayoutRenderers/Counters/GuidLayoutRenderer.cs
4,357
C#
// Project: Daggerfall Tools For Unity // Copyright: Copyright (C) 2009-2020 Daggerfall Workshop // Web Site: http://www.dfworkshop.net // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/Interkarma/daggerfall-unity // Origina...
34.006173
118
0.537847
[ "MIT" ]
BibleUs/daggerfall-unity
Assets/Scripts/Utility/AssetInjection/SoundReplacement.cs
5,511
C#
using ExtraOptions; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using UnityEngine; using UnityEngine.UI; using Upgrade; public class OptionsUI : MonoBehaviour { public GameObject PlaymatSelector { get; private set; } public static Opti...
41.914634
195
0.67828
[ "MIT" ]
Leomaxson/FlyCasual
Assets/Scripts/MainMenu/View/OptionsUI.cs
13,750
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using DotNetCore.Web.Models; namespace DotNetCore.Web.Controllers { public class HomeController : Controller { ...
24.394737
112
0.640777
[ "MIT" ]
htl-leo/dotnetcore
DotNetCore.Web/Controllers/HomeController.cs
929
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/vsstyle.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { pu...
32.375
145
0.660232
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/um/vsstyle/MENUPARTS.cs
1,038
C#
using System; using SJP.Schematic.Core; using SJP.Schematic.Core.Extensions; namespace SJP.Schematic.DataAccess; /// <summary> /// A set of rules for determining the class and property names for a database mapping object. /// </summary> public class VerbatimNameTranslator : NameTranslator { /// <summa...
36.48
126
0.641082
[ "MIT" ]
sjp/SJP.Schema
src/SJP.Schematic.DataAccess/VerbatimNameTranslator.cs
2,664
C#
namespace InvestmentManagementReport.Model { public sealed class InvestmentManagementReportHeaders { public string CompanyName { get; set; } public string DocumentName { get; set; } public string FullNameShort { get; set; } public string FullNameTrust { get; set; } publi...
38.6
57
0.658031
[ "Apache-2.0" ]
gehtsoft-usa/PDF.Flow.Examples
Examples/InvestmentManagementReport/Model/InvestmentManagementReportHeaders.cs
581
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/DirectML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.DirectX...
48.086957
145
0.764014
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/DirectML/DML_GRAPH_EDGE_TYPE.cs
1,108
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("PO...
37.864865
84
0.744468
[ "MIT" ]
carlosleandro1/teste
UPMOBILE2017-master/src/POSUPClass/POSUPClass/POSUPClass.iOS/Properties/AssemblyInfo.cs
1,404
C#
namespace EnvironmentAssessment.Common.VimApi { public class GuestRegValueSpec : DynamicData { protected GuestRegValueNameSpec _name; protected GuestRegValueDataSpec _data; public GuestRegValueNameSpec Name { get { return this._name; } set { this._name = value; } } public GuestRe...
14
45
0.652074
[ "MIT" ]
octansIt/environmentassessment
EnvironmentAssessment.Wizard/Common/VimApi/G/GuestRegValueSpec.cs
434
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(ICodepipelineArtifactStoreEncryptionKey), fullyQualifiedName: "aws.CodepipelineArtifactStoreEncryptionKey")] public interface ICodepipelineArtifactStoreEncryptionKey { [...
31
150
0.589647
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/ICodepipelineArtifactStoreEncryptionKey.cs
1,333
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading; using Xunit.Abstractions; using Xunit.Sdk; namespace Roslyn.Test.Utilities { public class WpfFactDiscoverer : Fact...
46.064516
161
0.72619
[ "Apache-2.0" ]
ElanHasson/roslyn
src/EditorFeatures/TestUtilities/Threading/WpfFactDiscoverer.cs
1,430
C#
namespace NWaves.Audio.Interfaces { /// <summary> /// Interface for audio recorders. /// </summary> public interface IAudioRecorder { /// <summary> /// Starts recording audio with specific settings. /// </summary> /// <param name="samplingRate">Sampling rate</param> ...
37.391304
92
0.624419
[ "MIT" ]
ar1st0crat/NWaves
NWaves/Audio/Interfaces/IAudioRecorder.cs
862
C#
using System; using System.Collections.Generic; using System.Text; namespace OOP3 { class MortgageLoanManager : ILoanManager { public void Calculate() { Console.WriteLine("Mortgage Loan Calculated!"); } } }
17.133333
59
0.626459
[ "MIT" ]
hamdidamar/Step-by-Step-Bootcamp
day-5/OOP3/MortgageLoanManager.cs
259
C#
using AutoMapper.Internal; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; namespace AutoMapper { [DebuggerDisplay("{RequestedTypes.SourceType.Name}, {RequestedTypes.DestinationType.Name} : {RuntimeTypes.SourceType.Name}, {RuntimeTypes.Destinati...
38.491525
166
0.617643
[ "MIT" ]
Kunter-Bunt/AutoMapper
src/Automapper.Shared/TypePair.cs
6,813
C#
namespace Shared.Contracts { public enum LogLevel { Debug, Info, Warn, Error } }
12.6
27
0.47619
[ "MIT" ]
bnayae/autofac-module-sample
AutofacModuleSamples/Infra/Shared.Contracts/LogLevel.cs
128
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 ...
26.293578
134
0.673064
[ "Apache-2.0" ]
chys0404/aliyun-openapi-net-sdk
aliyun-net-sdk-dbs/Dbs/Model/V20190306/UpgradeBackupPlanRequest.cs
2,866
C#
using UnityEngine; using UnityEditor; public static class UIH { #region Layout // Toggle Button Style. static GUIStyle ToggleButtonStyleNormal = null; static GUIStyle ToggleButtonStyleToggled = null; static UIH() { // Define styles to make buttons visually toggable. ToggleButtonStyleNormal = "Button"; T...
25.606452
115
0.70068
[ "MIT" ]
ArnaudValensi/warfest-voxel-unity
Assets/Core/Utils/UIH.cs
3,971
C#
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Common.Interfaces; using ProtoBuf; namespace Common.EntityModels { [ProtoContract] public class OrderStatusMessage : IEntity { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)...
30.194444
61
0.600736
[ "MIT" ]
salda8/Quant-Finance-Mngmt-System
CommonStandard/EntityModels/TradingEntities/OrderStatusMessage.cs
1,087
C#
using UnityEngine; public class CameraController : MonoBehaviour { [HideInInspector] public static Transform target; [Header("Play Mode")] public Vector3 offset; public float smoothSpeed = 0.125f; [Header("Edit Mode")] public float turnSpeed = 5f; public float zoomSpeed = 5f; pu...
32.508475
147
0.61366
[ "MIT" ]
sudoio/3d-platformer-maker
Assets/Scripts/CameraController.cs
1,920
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Numerics; namespace _03.BigFactorial { class BigFactorial { static void Main() { int n = int.Parse(Console.ReadLine()); Console.WriteLine(CalculateFactorial(n)); }...
19.9
59
0.494137
[ "MIT" ]
KristiyanSevov/SoftUni-Programming-Fundamentals
Exercises/09. ObjectsAndClasses-Lab/03. BigFactorial/BigFactorial.cs
599
C#
using System; using System.Text; namespace Musoq.Parser.Nodes { public class CreateTableNode : Node { public CreateTableNode(string name, (string ColumnName, string TypeName)[] tableTypePairs) { Name = name; TableTypePairs = tableTypePairs; Id = $"{nameof(Cr...
29.139535
136
0.582602
[ "MIT" ]
JTOne123/Musoq
Musoq.Parser/Nodes/CreateTableNode.cs
1,255
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace StackExchange.Opserver.Data.Dashboard { public partial class Volume { public class VolumeUtilization : GraphPoint { public override long DateEpoch { get; set; } public double AvgDisk...
44.823529
134
0.648294
[ "MIT" ]
AaronBertrand/Opserver
Opserver.Core/Data/Dashboard/Volume.Data.cs
2,288
C#
 namespace Teronis.Identity.Datransjects { public interface IUserDescriptor { string UserName { get; } string Password { get; } string[]? Roles { get; } } }
16.25
39
0.584615
[ "MIT" ]
BrunoZell/Teronis.DotNet
src/NetCoreApp/Identity/Identity/src/Datransjects/IUserDescriptor.cs
197
C#
// Copyright (c) Umbraco. // See LICENSE for more details. using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Xml.Linq; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using NUnit.Framework; using Umbraco.Cms.Core.Services.Im...
44.849105
149
0.491845
[ "MIT" ]
Ambertvu/Umbraco-CMS
tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Services/LocalizedTextServiceTests.cs
17,536
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Fra...
36.982456
161
0.683112
[ "MIT" ]
06needhamt/MonoGame
Test/Interactive/MacOS/MouseGetStateAndIsMouseVisibleTester/MouseGetStateAndIsMouseVisibleTester/TextManager.cs
2,110
C#
// <copyright> // MIT License // // Copyright (c) 2017 Sebastian K. Erben // // 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 /...
32.95
82
0.707511
[ "MIT" ]
SebastianKErben/SKE.Unity3D
SKE/Unity3D/Savegame/Utils/SaveFile.cs
2,638
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> //---...
35.051724
162
0.536071
[ "MIT" ]
ESEO-Tech/ttc21incrementalLabWorkflows
solutions/Reference/Metamodel/LaboratoryAutomation/Sample.cs
12,198
C#
using System; using LoopBack.Sdk.Xamarin.Common; using LoopBack.Sdk.Xamarin.Remooting; namespace LoopBack.Sdk.Xamarin.Loopback { /// <summary> /// An extension to the vanilla <see cref="RestAdapter"/> to make working with <see cref="Model"/> s easier. /// </summary> public class RestAdapter : Remootin...
36.074074
161
0.576181
[ "MIT" ]
ziyasal-archive/loopback-sdk-net
src/LoopBack.Sdk.Xamarin/Loopback/RestAdapter.cs
4,872
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 ...
16.769912
63
0.617942
[ "Apache-2.0" ]
bitType/aliyun-openapi-net-sdk
aliyun-net-sdk-ccc/CCC/Model/V20170705/CreateCCCPostOrderResponse.cs
1,895
C#
// This file was automatically generated and may be regenerated at any // time. To ensure any changes are retained, modify the tool with any segment/component/group/field name // or type changes. namespace Machete.HL7Schema.V26.Maps { using V26; /// <summary> /// OML_O33_ORDER (GroupMap) - /// </sum...
30.166667
105
0.570442
[ "Apache-2.0" ]
AreebaAroosh/Machete
src/Machete.HL7Schema/Generated/V26/Groups/Maps/OML_O33_ORDERMap.cs
724
C#
using System; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Queue; namespace QueueApp { class Program { static async Task Main(string[] args) { if (args.Length > 0) { string value = String.Join(...
33.819444
100
0.591376
[ "MIT" ]
RodolfoDiaz/CodeLibrary
azure/azcli/storage/queues/ProgramV11.cs
2,435
C#
using Surging.Core.CPlatform.Utilities; using Surging.Core.Protocol.WS; using Surging.Core.Protocol.WS.Runtime; using Surging.Core.ProxyGenerator; using Surging.IModuleServices.Common; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; using System.Threading; using ...
31.927536
123
0.592374
[ "MIT" ]
panyoujin/surging
src/Surging.Modules/Surging.Modules.Common/Domain/ChatService.cs
2,205
C#
using Microsoft.QueryStringDotNET; using Microsoft.Toolkit.Uwp.Notifications; using System.IO; using Windows.UI.Notifications; namespace MyerSplash.Common { public static class ToastHelper { public static ToastNotification CreateToastNotification(string title, string content, string filePath)...
32.433333
111
0.369476
[ "MIT" ]
JuniperPhoton/MyerSplash.UWP
MyerSplash/Common/ToastHelper.cs
1,948
C#
using DeBroglie.Models; using DeBroglie.Topo; using NUnit.Framework; using System; using System.Collections.Generic; using System.Text; namespace DeBroglie.Test { [TestFixture] public class TilePropagatorTest { [Test] public void TestToTopArray() { var a = new int[,]{ ...
30.2375
107
0.446259
[ "MIT" ]
RolandMQuiros/DeBroglie
DeBroglie.Test/TilePropagatorTest.cs
4,840
C#
using System; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Statiq.Common { public static class BootstrapperConfigurationExtensions { public static TBootstrapper ConfigureSettings<TBootstrapper>(this TBootstrapper bootstrapper, Action<ISettings> ac...
43.309091
147
0.685139
[ "MIT" ]
JoshClose/Statiq.Framework
src/core/Statiq.Common/Bootstrapper/BootstrapperConfigurationExtensions.cs
2,384
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DitherSize : MonoBehaviour { private Material dithermtl; private float cameraSize; public float staticMultiplier; public GameObject cameraGO; // Start is called before the first frame update void Star...
27.074074
120
0.709986
[ "MIT" ]
innogames/IGJam_Gamescom_2019
igjam/Assets/Scripts/DitherSize.cs
733
C#
using NBitcoin.JsonConverters; using Newtonsoft.Json; namespace Jellyfish.API.Oracle; public class OracleTokenPrice { public string Token { get; init; } = string.Empty; public string Currency { get; init; } = string.Empty; /// <summary> /// example: 0.5 /// </summary> public decimal Amount { ...
28.142857
83
0.670051
[ "MIT" ]
defichaininfo/Jellyfish.NET
Jellyfish.NET/API/Oracle/OracleTokenPrice.cs
593
C#
using System; using RuleScript.Data; using RuleScript.Metadata; using UnityEngine; namespace RuleScript.Validation { static internal class ValidationLogic { static internal void ValidateTable(RSRuleTableData inTable, RSValidationState ioState, RSValidationContext inContext) { if (in...
43.332155
219
0.486749
[ "MIT" ]
FilamentGames/RuleScript
Assets/RuleScript/Validation/ValidationLogic.cs
24,526
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Nancy.Helpers; namespace Autodash.Core.UI.Models { public class SuiteDetailsVm { public TestSuite Suite { get; set; } public List<SuiteRun> SuiteRuns { get; set; } public FileExplorerVm...
34.813725
126
0.560124
[ "MIT" ]
epignosisx/autodash
src/Autodash.Core/UI/Models/SuiteDetailsVm.cs
3,553
C#
using UnityEngine; using UnityEditor; using System; using System.Collections; namespace AdvancedInspector { public class DateTimeEditor : FieldEditor, IModal { private InspectorField field; public override Type[] EditedTypes { get { return new Type[] { typeof(...
28.955224
109
0.535052
[ "MIT" ]
chuckeles/cannon-ships
Assets/Plugins/Editor/AdvancedInspector/FieldEditors/DateTimeEditor.cs
1,942
C#
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
50.690722
119
0.656905
[ "CC0-1.0" ]
Diffblue-benchmarks/Gridgain-gridgain
modules/platforms/dotnet/Apache.Ignite.Core/Compute/ComputeTaskAdapter.cs
4,917
C#
namespace SeleniumDotNetTemplate.Shared.Enums { public enum Browser { Chrome, Edge, Firefox } }
14.625
46
0.649573
[ "MIT" ]
jordnkr/SeleniumDotNetTemplate
Shared/Enums/Browser.cs
119
C#
using System; namespace _18_HotelRoom { public class hotelRoom { public static void Main(string[] args) { var month = Console.ReadLine(); var nights = int.Parse(Console.ReadLine()); var studio = 0.0; var flat = 0.0; if (month.Equals...
33.582418
96
0.35962
[ "MIT" ]
Brankovanov/SoftUniCourses
1.ProgrammingBasics/complexConditions/18_HotelRoom/hotelRoom.cs
3,058
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...
31.732673
240
0.608736
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ContainerService/Latest/ListManagedClusterAccessProfile.cs
3,205
C#
using OkonkwoOandaV20.TradeLibrary.DataTypes.Position; using OkonkwoOandaV20.TradeLibrary.DataTypes.Order; using OkonkwoOandaV20.TradeLibrary.DataTypes.Trade; using System.Collections.Generic; namespace OkonkwoOandaV20.TradeLibrary.DataTypes.Account { /// <summary> /// http://developer.oanda.com/rest-live-v20/a...
41.225806
79
0.711268
[ "Apache-2.0" ]
svopex/SierraChartOandaV20
OkonkwoOandaV20/TradeLibrary/DataTypes/Account/AccountChangesState.cs
1,280
C#
//----------------------------------------------------------------------- // <copyright company="CoApp Project"> // Copyright (c) 2010-2012 Garrett Serack and CoApp Contributors. // Contributors can be discovered using the 'git log' command. // All rights reserved. // </copyright> // <license> // ...
34.825581
128
0.450417
[ "Apache-2.0" ]
fearthecowboy/coapp
Packaging/Service/SessionCache.cs
2,995
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using UVACanvasAccess.Model.Authentications; using UVACanvasAccess.Structures.Authentications; using UVACanvasAccess.Util; namespace UVACanvasAccess.ApiParts { public partial class Api { ...
40.519481
118
0.601282
[ "MIT" ]
sabihoshi/UVACanvasAccess
UVACanvasAccess/ApiParts/Authentications.cs
3,120
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; using System.Windows; using Xenko.Core.Mathematics; namespace Xenko.Core.Presentation...
51.593023
271
0.649763
[ "MIT" ]
Aminator/xenko
sources/presentation/Xenko.Core.Presentation/Controls/Int4Editor.cs
4,437
C#
namespace System { using System.Threading; using Fx; /// <summary> /// A <see cref="Random"/> implementation that reads from a predictable set of data bytes for testing purposes /// </summary> /// <threadsafety static="true" instance="true"/> public sealed class MockRandom : Ran...
45.333333
368
0.57199
[ "MIT" ]
corranrogue9/FxCore
Source/Core/System/MockRandom.cs
5,850
C#
 namespace System { partial class User { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ///...
47.343284
170
0.57314
[ "MIT" ]
Rohan12e/student-mgmt-system
System/User.Designer.cs
9,518
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Emgu.CV; namespace com.bytewild.imaging.cropper { public class CropPolygon: IConv...
28.525641
120
0.528539
[ "MIT" ]
ymitis/xamarin-scan-it
ScanIt/ScanIt/cropper/CropPolygon.cs
2,225
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 ...
52.278226
566
0.66988
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V9/Services/DetailPlacementViewServiceClient.g.cs
25,930
C#
using Abstractions.API; using Abstractions.ISecurity; using Abstractions.Model; using Abstractions.Model.Queries; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace API.Controllers.Private { public partial class PrivateController : PrivateControllerBase { public override async Tas...
27.697368
96
0.564846
[ "Apache-2.0" ]
ChiefNoir/BusinessCard
back-end/API/Controllers/Private/PrivateController_Account.cs
2,107
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiInterface(nativeType: typeof(IWafv2WebAclRuleStatementOrStatementStatementAndStatementStatementAndStatementStatementSqliMatchStatementFieldToMatch), fullyQualifiedName: "aws.Wafv2WebAclRuleStatementOrStatementState...
70.381579
306
0.737334
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/IWafv2WebAclRuleStatementOrStatementStatementAndStatementStatementAndStatementStatementSqliMatchStatementFieldToMatch.cs
10,698
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 Windows.UI.Composition; namespace Microsoft.Toolkit.Uwp.UI.Animations { /// <summary> /// A rotation ...
32.913043
90
0.675033
[ "MIT" ]
ArchieCoder/WindowsCommunityToolkit
Microsoft.Toolkit.Uwp.UI.Animations/Xaml/Default/RotationInDegreesAnimation.cs
757
C#
using AVDump3GUI.ViewModels; 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 ...
23.071429
63
0.742002
[ "MIT" ]
acidburn0zzz/AVDump3
AVDump3GUI/Views/MainWindow.xaml.cs
971
C#
using Heroes.Models; using System; namespace Heroes.Icons.ModelExtensions { /// <summary> /// Contains extensions for <see cref="Spray"/>. /// </summary> public static class SprayExtensions { /// <summary> /// Updates the localized gamestrings to the selected <see cref="Localizatio...
35.923077
110
0.646681
[ "MIT" ]
HeroesToolChest/Heroes.Icons
Heroes.Icons/ModelExtensions/SprayExtensions.cs
936
C#
// WARNING - AUTOGENERATED - DO NOT EDIT // // Generated using `sharpie urho` // // Font.cs // // Copyright 2015 Xamarin Inc. All rights reserved. using System; using System.Runtime.InteropServices; using System.Collections.Generic; using Urho.Urho2D; using Urho.Gui; using Urho.Resources; using Urho.IO; using Urho....
29.537538
137
0.722651
[ "MIT" ]
Acidburn0zzz/urho
Bindings/Portable/Generated/Font.cs
9,836
C#
namespace Atc.CodingRules.Updater.Models { public class DotnetNugetPackage { public DotnetNugetPackage(string packageId, Version currentVersion) { this.PackageId = packageId; this.Version = currentVersion; this.NewestVersion = currentVersion; } ...
32.133333
155
0.625519
[ "MIT" ]
JKrag/atc-coding-rules-updater
src/Atc.CodingRules.Updater/Models/DotnetNugetPackage.cs
964
C#
using System; using System.Collections; namespace Dio.SerieFilme { public class Filme : EntidadeBase { private string Gravadora { set; get; } public Filme(int id, Genero genero, string titulo, int ano, string gravadora, string descricao) { this.Id = id; ...
31.64
104
0.516435
[ "Unlicense" ]
atomyc2000/Dio.SerieFilme
Classes/Filme.cs
1,586
C#
using Xamarin.Forms; namespace Channel9.Views.Templates { public partial class HomeBigItemTemplate : ContentView { public HomeBigItemTemplate() { InitializeComponent(); } } }
18.666667
58
0.625
[ "MIT" ]
davidortinau/xamarin-forms-channel9-sample
src/Channel9/Channel9/Views/Templates/HomeBigItemTemplate.xaml.cs
226
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace MyAcademy { public partial class F_GridProfessoresOnFormBusca : Form { public ...
39.215686
115
0.675
[ "MIT" ]
JulioAlgouver/MyAcademy
F_GridProfessoresOnFormBusca.cs
2,002
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using Microsoft.Extensions.Logging; namespace Bicep.Cli.Logging { /// <summary> /// Writes messages to the console. /// </summary> /// <remarks>The built-in dotnet ConsoleLogger class does not write messages in the...
28.093023
163
0.55505
[ "MIT" ]
SMBrook/bicep
src/Bicep.Cli/Logging/BicepConsoleLogger.cs
2,416
C#
using System; namespace Checky.Common.Healthbot { public class DeployedVersion { public Version Version { get; set; } } }
19.857143
44
0.669065
[ "Apache-2.0" ]
RichardSlater/CheckyChatbot
src/Common/Healthbot/DeployedVersion.cs
141
C#
// This file was automatically generated and may be regenerated at any // time. To ensure any changes are retained, modify the tool with any segment/component/group/field name // or type changes. namespace Machete.HL7Schema.V26.Maps { using V26; /// <summary> /// OSR_Q06_ORDER (GroupMap) - /// </sum...
35.642857
105
0.536072
[ "Apache-2.0" ]
amccool/Machete
src/Machete.HL7Schema/Generated/V26/Groups/Maps/OSR_Q06_ORDERMap.cs
998
C#
using System; using System.Collections.Generic; namespace ScoutingPay.Models { public class PaymentRequest { public DateTime Date = DateTime.Now; public Person Person; public List<Product> ProductList = new List<Product>(); public string RequestURL { get; set; } public ...
24.527778
68
0.551529
[ "Apache-2.0" ]
Merlijnv/ScoutingPay
ScoutingPay/ScoutingPay/Models/PaymentRequest.cs
885
C#
using Inshapardaz.Api.Tests.Asserts; using Inshapardaz.Api.Tests.Helpers; using Inshapardaz.Api.Views.Library; using NUnit.Framework; using System.Net.Http; using System.Threading.Tasks; namespace Inshapardaz.Api.Tests.Library.Periodical.AddPeriodical { [TestFixture] public class WhenAddingPeriodicalAsAnonymo...
25.463415
112
0.640805
[ "Apache-2.0" ]
inshapardaz/api
src/Inshapardaz.Api.Tests/Library/Periodical/AddPeriodical/WhenAddingPeriodicalAsAnonymousUser.cs
1,046
C#
using Core.DomainModel; namespace Infrastructure.DataAccess.Mapping { public class TextMap : EntityMap<Text> { public TextMap() { // Properties // Table & Column Mappings this.ToTable("Text"); this.Property(t => t.Value).HasColumnName("Value"); ...
19.882353
63
0.547337
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Strongminds/kitos
Infrastructure.DataAccess/Mapping/TextMap.cs
340
C#
namespace OggVorbisEncoder.Setup.Templates.BookBlocks.Stereo8.Uncoupled.Chapter0 { public class Page6_0 : IStaticCodeBook { public int Dimensions { get; } = 2; public byte[] LengthList { get; } = { 1, 4, 4, 7, 7, 9, 9,11,11,12,12,16,16, 3, 6, 6, 9, 9,11,11,12,12,13,14,18,16, 3...
30.116279
80
0.488031
[ "MIT" ]
FriesBoury/.NET-Ogg-Vorbis-Encoder
OggVorbisEncoder/Setup/Templates/BookBlocks/Stereo8/Uncoupled/Chapter0/Page6_0.cs
1,295
C#
using System; using System.Collections.Generic; using NHapi.Base.Log; using NHapi.Model.V26.Group; using NHapi.Model.V26.Segment; using NHapi.Model.V26.Datatype; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; namespace NHapi.Model.V26.Message { ///<summary> /// Represents a PTR_PCF message structu...
26.784062
145
0.654093
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V26/Message/PTR_PCF.cs
10,419
C#
using System.Collections.Generic; using System.Threading.Tasks; namespace Xabe.AutoUpdater { public interface IReleaseProvider { /// <summary> /// Get latest version number /// </summary> /// <returns>String with version number eg. 1.0.1</returns> Task<string> GetLa...
27.85
67
0.601436
[ "MIT" ]
tomaszzmuda/Xabe.AutoUpdater
Xabe.AutoUpdater/IReleaseProvider.cs
559
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2020 // // 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 r...
34.098765
112
0.631427
[ "MIT" ]
FacticiusVir/SharpVk
src/SharpVk/Khronos/DisplayPlaneInfo2.gen.cs
2,762
C#
//using System; //using System.Collections.Generic; //using System.Text; //namespace GNet.Profiler.MacroSystem //{ // public class CancelMacro : Macro // { // public CancelMacro(Macro macro) // { // Macro = macro; // Priority = int.MaxValue; // IsCancel...
21.368421
43
0.509852
[ "MIT" ]
HaKDMoDz/GNet
src/Profiler/MacroSystem/CancelMacro.cs
408
C#
using System; using System.Text; using SharpCifs.Util; namespace SharpCifs.Smb { // Token: 0x0200006D RID: 109 public class Ace { // Token: 0x06000322 RID: 802 RVA: 0x0000C884 File Offset: 0x0000AA84 public virtual bool IsAllow() { return this.Allow; } // Token: 0x06000323 RID: 803 RVA...
25.801105
88
0.653319
[ "BSD-2-Clause", "BSD-3-Clause" ]
0x727/metasploit-framework
external/source/Scanner/smb/SharpCifs.shack2.SmbClient/Smb/Ace.cs
4,672
C#
#if URP using UnityEngine.Rendering.Universal; #endif using UnityEngine.Rendering; using UnityEngine; namespace SCPE { #if URP public class KuwaharaRenderer : ScriptableRendererFeature { class KuwaharaRenderPass : PostEffectRenderer<Kuwahara> { public KuwaharaRenderPass() ...
35.60274
159
0.63486
[ "MIT" ]
Walter-Hulsebos/Adrift
Assets/SC Post Effects/Runtime/Kuwahara/KuwaharaRenderer.cs
2,601
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...
30.490566
117
0.603342
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/ChimeSDKMessaging/Generated/Model/DescribeChannelMembershipRequest.cs
3,232
C#
using System; using System.Collections.Generic; namespace QIQO.Business.Client.Entities { public class Order { public int OrderKey { get; set; } public int AccountKey { get; set; } public Account Account { get; set; } = new Account(); public int AccountContactKey { get; set; } ...
42.666667
114
0.649038
[ "MIT" ]
rdrrichards/QIQO.Business.Client.Solution
QIQO.Business.Client.Entities/Classes/Order.cs
1,666
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします // </auto-generated> //----------------------------------------------------------...
35.206349
163
0.70018
[ "MIT" ]
PastFantasy1640/TaskReminder
Properties/Resources.Designer.cs
2,854
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Xaml.Media.Imaging { #if false || false || false || false || false [global::Uno.NotImplemented] #endif public partial class BitmapImage : global::Windows.UI.Xaml.Media.Imaging.BitmapSource { ...
51.379845
149
0.777158
[ "Apache-2.0" ]
JTOne123/uno
src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Media.Imaging/BitmapImage.cs
6,628
C#
using System; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using GitStat.Core.Entities; namespace GitStat.Core.Contracts { public interface ICommitRepository { void AddRange(Commit[] commits); IEnumerable <Commit> GetCommitsOf2019(); Commit ...
21.875
48
0.722857
[ "MIT" ]
MIGU-1/csharp_samples_ef_uow_gitstatistics-template
source/GitStat.Core/Contracts/ICommitRepository.cs
352
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Linq.Expressions; using Microsoft.TestCommon; namespace System.Web.Razor.Test.Utils { public static class MiscAssert { public static void AssertBothNullOrP...
31.5
142
0.585434
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
test/System.Web.Razor.Test/Utils/MiscAssert.cs
1,073
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Quasar Common Tests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Quasar")] [assembly: AssemblyCopyr...
30.047619
56
0.754358
[ "Apache-2.0", "MIT" ]
marlkiller/Quasar
Quasar.Common.Tests/Properties/AssemblyInfo.cs
632
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; namespace PropertyManagementService.Web.Areas.Admin.Views.Buildings { public class IndexModel : PageModel { public void OnGet() ...
21.5
67
0.726744
[ "MIT" ]
MJordanov81/PropertManagamentService
PropertyManagementService/PropertyManagementService.Web/Areas/Admin/Views/Buildings/Index.cshtml.cs
344
C#
using System; using System.Data; using CMS.Base; using CMS.Base.Web.UI; using CMS.Base.Web.UI.ActionsConfig; using CMS.Core; using CMS.CustomTables; using CMS.DataEngine; using CMS.EventLog; using CMS.FormEngine; using CMS.Helpers; using CMS.Membership; using CMS.UIControls; [UIElement(ModuleName.CUSTOMTABLES, "Cus...
32.34632
311
0.59007
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/CustomTables/CustomTable_Edit_Fields.aspx.cs
7,474
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Stateless.WorkflowEngine.Exceptions { public class SingleInstanceWorkflowAlreadyExistsException : Exception { public SingleInstanceWorkflowAlreadyExistsException(string message) : base(message) { ...
23.318182
101
0.703704
[ "MIT" ]
cafc79/Stateless.WorkflowEngine
source/Stateless.WorkflowEngine/Exceptions/SingleInstanceWorkflowAlreadyExistsException.cs
515
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace Aliyun.SDK.PDS.Client.Models { /** * List drive request */ public class ListDriveRequest : TeaModel { [NameInMap("headers")] [Validation(Requi...
21.627907
63
0.544086
[ "Apache-2.0" ]
neozhang2013/alibabacloud-pds-sdk
pds/csharp/core/Models/ListDriveRequest.cs
972
C#
// <copyright> // Copyright Southeast Christian Church // // Licensed under the Southeast Christian Church License (the "License"); // you may not use this file except in compliance with the License. // A copy of the License shoud be included with this file. // // Unless required by applicable law or agreed to in writ...
270.404973
1,987
0.741017
[ "ECL-2.0" ]
Northside-CC/RockPlugins
Plugins/org.secc.PastoralCare/Migrations/002_Pastoral_WorkflowData.cs
152,238
C#
namespace EXRC_ClassBoxData.Models { using System; using System.Collections.Generic; using System.Text; using EXRC_ClassBoxData.Exceptions; public class Box { private double length; private double width; private double height; public Box(double length, double w...
24.834951
105
0.474199
[ "MIT" ]
bodyquest/SoftwareUniversity-Bulgaria
C# OOP 2019/03. Encapsulation/EXRC-BoxData/Models/Box.cs
2,560
C#
using BepuUtilities; using DemoRenderer; using BepuPhysics; using BepuPhysics.Collidables; using System.Numerics; using System; using BepuPhysics.Constraints; using DemoContentLoader; using DemoUtilities; using DemoRenderer.UI; using OpenTK.Input; namespace Demos.Demos.Characters { /// <summary> /// Shows one...
51.907258
243
0.581061
[ "Apache-2.0" ]
Frooxius/bepuphysics2
Demos/Demos/Characters/CharacterDemo.cs
12,875
C#