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 Genbox.WolframAlpha.Enums; namespace Genbox.WolframAlpha.Objects { public class DidYouMean { public double Score { get; set; } public Level Level { get; set; } public string Value { get; set; } } }
21.909091
41
0.626556
[ "MIT" ]
Genbox/WolframAlpha
src/WolframAlpha/Objects/DidYouMean.cs
243
C#
namespace MassTransit.RabbitMqTransport.Tests { using System.Threading.Tasks; using NUnit.Framework; using Serialization; using TestFramework; using TestFramework.Messages; [TestFixture] public class Publishing_an_encrypted_message_to_an_endpoint_with_a_symmetric_key : RabbitMqTes...
27.944444
116
0.562293
[ "ECL-2.0", "Apache-2.0" ]
MathiasZander/ServiceFabricPerfomanceTest
tests/MassTransit.RabbitMqTransport.Tests/Encrypted_Specs.cs
3,020
C#
using UnityEditor; using UnityEngine; using UnityEngine.SceneManagement; namespace Shork { public class PlayerManager : MonoBehaviour { #region Player Postion & Physics Referencing public Rigidbody rb; public LayerMask groundMask; public Transform playerTransform; publi...
28.311927
131
0.549255
[ "MIT" ]
WaifuShork/cube-shooter
Assets/Scripts/PlayerManager.cs
3,088
C#
namespace Dragonfly.PeekabooProperties.Extensions { using Umbraco.Core.Models; public static class ContentExtensions { public static string GetPropertyValueAsString(this IContent Content, string PropertyName) { string result = string.Empty; if (Content.HasProperty(...
27.263158
97
0.617761
[ "MIT" ]
hfloyd/Dragonfly.Umbraco8PeekabooProperties
src/Dragonfly/PeekabooProperties/Extensions/IContentExtensions.cs
520
C#
using System; using System.Diagnostics.CodeAnalysis; namespace Gapotchenko.FX { partial class Fn { /// <summary> /// Infers the delegate type of a specified lambda function. /// </summary> /// <param name="action">The lambda function.</param> /// <returns>The lambda fun...
80.584211
297
0.648793
[ "MIT" ]
gapotchenko/Gapotchenko.FX
Source/Gapotchenko.FX/Fn.Delegate.cs
45,935
C#
using Newtonsoft.Json; namespace Elements.Geometry.Solids { /// <summary> /// The base class for all operations which create solids. /// </summary> [JsonConverter(typeof(Elements.Serialization.JSON.JsonInheritanceConverter), "discriminator")] public abstract class SolidOperation { inter...
31.561404
130
0.586437
[ "MIT" ]
hypar-io/elements
Elements/src/Geometry/Solids/SolidOperation.cs
1,799
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Reflection; namespace CodeBuilder.WinForm.UI { public partial class AboutBox : Form { public AboutBox() ...
26.619048
95
0.644007
[ "MIT" ]
ijlynivfhp/CodeBuilder
CodeBuilder.WinForm/UI/Forms/AboutBox.cs
1,120
C#
namespace Eventi.Contracts.V1.Requests { public class OrganizerSearchRequest { public string Name { get; set; } public string PhoneNumber { get; set; } public string Username { get; set; } public string Email { get; set; } public int? AccountID { get; set; } } }
24.384615
47
0.602524
[ "MIT" ]
EnisMulic/Even
Eventi.Contracts/V1/Requests/OrganizerSearchRequest.cs
319
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: AssemblyTi...
39.216216
85
0.728463
[ "MIT" ]
jakubka/Huerate
Huerate.Configuration/Properties/AssemblyInfo.cs
1,454
C#
using System.IO; using Newtonsoft.Json; namespace CDR.DataRecipient.SDK.Extensions { public static class JsonExtensions { public static string ToPrettyJson(this string json) { dynamic parsedJson = JsonConvert.DeserializeObject(json); return JsonConvert.SerializeObject(p...
33.583333
105
0.615385
[ "MIT" ]
CDR-DavidR/mock-data-recipient
Source/CDR.DataRecipient.SDK/Extensions/JsonExtensions.cs
808
C#
using MicBeach.Develop.CQuery; using MicBeach.Util.Paging; using MicBeach.Develop.Domain.Repository; using MicBeach.Domain.Sys.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MicBeach.Domain.Sys.Repository { /// <summary> ///...
22.983051
79
0.60472
[ "MIT" ]
Rottener/MicBeach.Framework.Core
src/Application/Logic/Business/Domain/MicBeach.Domain.Sys/Repository/IRoleAuthorizeRepository.cs
1,582
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using Microsoft.UI.Dispatching; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using Microsoft.UI.Xaml...
36.169591
181
0.597736
[ "MIT" ]
dotMorten/WinUIEx
src/WinUIExSample/MainWindow.xaml.cs
6,187
C#
using Catalog.Domain.Entities; using Microsoft.EntityFrameworkCore; namespace Catalog.Infrastructure.Persistence { public class CatalogContext : DbContext { public CatalogContext(DbContextOptions<CatalogContext> options) : base(options) { } public DbSet<Product> Products { get...
25.583333
87
0.631922
[ "MIT" ]
caohoangtg/HUEThoMicroservices
src/Services/Catalog/Catalog.Infrastructure/Persistence/CatalogContext.cs
616
C#
using nevermore.ui.windows; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace neverm...
38.969512
207
0.546393
[ "MIT" ]
NeverMorewd/nevermore
nevermore.ui/wpfcontrols/TaskMonitorControl/abstractfactory/TaskMonitorFileUploadDataContext.cs
6,427
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.51
103
0.630575
[ "Apache-2.0" ]
Singh400/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/UpdateVoiceConnectorGroupRequest.cs
3,251
C#
namespace SoftUni.Models { using System.Collections.Generic; public partial class Address { public Address() { Employees = new HashSet<Employee>(); } public int AddressId { get; set; } public string AddressText { get; set; } public int? TownId ...
20
68
0.573913
[ "MIT" ]
GeorgenaGeorgieva/DB-EntityFramework
03.EF Core-Introduction/10. Departments with More Than 5 Employees/Models/Address.cs
460
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WhoAmI.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase { ...
28.45
110
0.598418
[ "Apache-2.0" ]
guoshengcc/WhoAmI
WhoAmI/WhoAmI/Controllers/WeatherForecastController.cs
1,140
C#
// Copyright (c) Microsoft Corporation. All rights reserved. using FastSerialization; using Microsoft.Diagnostics.Tracing.Utilities; using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Text; using Address = System.UInt64; #pragma warning disable 1591 // disable warnin...
41.856446
388
0.562421
[ "MIT" ]
Zhentar/perfview
src/TraceEvent/Parsers/ClrTraceEventParser.cs
472,057
C#
using System; using NetOffice; namespace NetOffice.WordApi.Enums { /// <summary> /// SupportByVersion Word 9, 10, 11, 12, 14, 15 /// </summary> ///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff836990.aspx </remarks> [SupportByVersionAttribute("Word", 9,10,1...
30.617647
120
0.631124
[ "MIT" ]
NetOffice/NetOffice
Source/Word/Enums/WdFieldShading.cs
1,041
C#
using System; using System.Globalization; using System.Web; using System.Web.Routing; using MbUnit.Framework; using Moq; using Subtext.Extensibility; using Subtext.Framework; using Subtext.Framework.Components; using Subtext.Framework.Routing; namespace UnitTests.Subtext.Framework.Routing { [TestFixture] publi...
33.235251
178
0.563561
[ "MIT", "BSD-3-Clause" ]
Dashboard-X/SubText-2.5.2.0.src
UnitTests.Subtext/Framework/Routing/UrlHelperTests.cs
45,067
C#
using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Japanese; namespace Microsoft.Recognizers.Text.Number.Japanese { public class PercentageExtractor : BaseNumberExtractor { internal sealed override Immuta...
48.164835
118
0.593429
[ "MIT" ]
Irrelevances/Recognizers-Text
.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/PercentageExtractor.cs
4,541
C#
using Microsoft.AspNetCore.Builder; namespace MyServerRenderedPortal { public static class SecurityHeadersDefinitions { public static HeaderPolicyCollection GetHeaderPolicyCollection(bool isDev) { var policy = new HeaderPolicyCollection() .AddFrameOptionsDe...
40.275362
111
0.473192
[ "MIT" ]
damienbod/AzureAD-Auth-MyUI-with-MyAPI
MyServerRenderedPortal/SecurityHeadersDefinitions.cs
2,781
C#
using System; using System.Collections.Generic; using System.Text; namespace AwesomeCMSCore.Modules.Admin.ViewModels { public class SocialProfileSettings { public string ProfileFacebook { get; set; } public string Twitter { get; set; } public string GooglePlus { get; set; } public string Instagram { get; set...
24.944444
49
0.726058
[ "Apache-2.0" ]
AliDoganKim/Awesome-CMS-Core
src/AwesomeCMSCore/Modules/AwesomeCMSCore.Modules.Admin/ViewModels/SocialProfileSettings.cs
449
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace NFKDemoAdapter { /// <summary> /// https://stackoverflow.com/questions/46013287/c-sharp-glob...
35.454545
126
0.628526
[ "MIT" ]
NeedForKillTheGame/ndm-adapter
NFKDemoAdapter/LowLevelKeyboardHook.cs
3,122
C#
using System; namespace HelloWorld { public class Program { public static void Main(string[] args) { Console.WriteLine("Hello, World!"); } } }
15.769231
48
0.507317
[ "MIT" ]
Restitutor-Orbis/BDSA-Exercises
w01/HelloWorld/HelloWorld/Program.cs
207
C#
// // BinarySecretKeyIdentifierClause.cs // // Author: // Atsushi Enomoto <atsushi@ximian.com> // // Copyright (C) 2006 Novell, Inc. http://www.novell.com // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to de...
30.715909
119
0.721051
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.ServiceModel/System.ServiceModel.Security/BinarySecretKeyIdentifierClause.cs
2,703
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d12.h(16400,1) namespace DirectN { public enum D3D12_AXIS_SHADING_RATE { D3D12_AXIS_SHADING_RATE_1X = 0, D3D12_AXIS_SHADING_RATE_2X = 1, D3D12_AXIS_SHADING_RATE_4X = 2, } }
25.272727
83
0.679856
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/D3D12_AXIS_SHADING_RATE.cs
280
C#
//---------------------------------------------- // Flip Web Apps: Game Framework // Copyright © 2016 Flip Web Apps / Mark Hewitt // // Please direct any bugs/comments/suggestions to http://www.flipwebapps.com // // The copyright owner grants to the end user a non-exclusive, worldwide, and perpetual license to this A...
46.333333
123
0.677338
[ "Unlicense" ]
FlipWebApps/GameFramework
Scripts/GameObjects/Components/AbstractClasses/RunOnce.cs
2,783
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
69.890909
282
0.693678
[ "MIT" ]
AlanFlorance/azure-powershell
src/DataMigration/DataMigration.Autorest/generated/api/Models/Api20220330Preview/AuthenticationKeys.json.cs
7,579
C#
using System; using System.Linq; using System.Linq.Expressions; namespace Contracts.Repositories { /// <summary> /// Represents the base repository contract. /// </summary> /// <typeparam name="T"></typeparam> public interface IRepositoryBase<T> { /// <summary> /// Find all elements. /// </summary> /// ...
23.173913
89
0.626642
[ "MIT" ]
Thibaud-Ier/BooksChallenge-
BooksChallenge/Contracts/Repositories/IRepositoryBase.cs
1,068
C#
/* * eZmax API Definition (Full) * * This API expose all the functionnalities for the eZmax and eZsign applications. * * The version of the OpenAPI document: 1.1.7 * Contact: support-api@ezmax.ca * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.IO; using Syste...
30.756757
134
0.660369
[ "MIT" ]
ezmaxinc/eZmax-SDK-csharp-netcore
src/eZmaxApi.Test/Api/ObjectEzsigntsarequirementApiTests.cs
2,276
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
24.840909
153
0.481244
[ "MIT" ]
ScriptBox21/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/model/AdvancedConfigState.cs
1,093
C#
using FaceRecognition.ViewModel.CustomEventArgs; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; namespace FaceRecognition.Test { /// <summary> ///This is a test class for TrainSuccessEventArgsTest and is intended ///to contain all TrainSuccessEventArgsTest Unit Tests...
31.71875
140
0.565517
[ "Apache-2.0" ]
EugeneBichel/Face-Recognition-Using-Neural-Networks-My-graduate-Project
FaceRecognition/FaceRecognition.Test/TrainSuccessEventArgsTest.cs
3,047
C#
//------------------------------------------------------------------------------ // <auto-generated> // Generated by the MSBuild WriteCodeFragment class. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: System.R...
47.235294
80
0.641345
[ "MIT" ]
cameronharp/dochub
tools/src/Dochub.Console/obj/Release/netcoreapp2.0/Dochub.Console.AssemblyInfo.cs
803
C#
///----------------------------------------------------------------- /// Class: BlurController /// Description: Created by Unity, edited by VC. /// Author: VueCode /// GitHub: https://github.com/ivuecode/ ///----------------------------------------------------------------- using Unit...
43.30303
164
0.541638
[ "MIT" ]
rafavla32/flail
Assets/scripts/vuecode/BlurController.cs
2,858
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.ObjectModel; /// <summary> /// Represents the outcomes of a test case. /// </summary> public enum TestOutcome...
21.2
101
0.59434
[ "MIT" ]
lbussell/vstest
src/Microsoft.TestPlatform.ObjectModel/TestOutcome.cs
742
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Asp.net_Core_Project.Data.Migrations { public partial class AddingBarsAndComments : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name...
37.842105
72
0.473227
[ "MIT" ]
Xtreller/ShishaWeb-Asp.NetCore
Data/Migrations/20200420112248_AddingBarsAndComments.cs
2,878
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osuTK; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game...
33.20354
97
0.517857
[ "MIT" ]
Pengulon/osu
osu.Game/Overlays/Profile/Sections/PaginatedContainer.cs
3,642
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; using Azure.Storage.Blobs.Mod...
45.540503
171
0.57654
[ "MIT" ]
Aishwarya-C-S/azure-sdk-for-net
sdk/storage/Azure.Storage.Blobs/src/BlobContainerClient.cs
130,430
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("ConsoleOcr")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPro...
25.27027
56
0.715508
[ "MIT" ]
6769/Win10UwpOcr
ConsoleOcr/Properties/AssemblyInfo.cs
1,276
C#
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { public class Test { // TODO: test public Complex[][] DiscreteFourierTransformation(double[][] matrix) { matrix ...
36.422945
164
0.46688
[ "Apache-2.0" ]
NamiraJV/OmpForDotNet
ConsoleApp1/Test.cs
21,273
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace lab6_2 { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)] public class NewAttribute : Attribute { public NewAttribute() { } public NewAttribute(string Descri...
23.789474
89
0.665929
[ "MIT" ]
Lin69/BCIT_labs
Lab6/Lab6_1/lab6_2/NewAttribute.cs
454
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using MongoDB.Driver; using SyslogWeb.Extensions; namespace SyslogWeb.Models { public class QueryParser { public QueryParser() { Facilities = new SyslogFacility[0]; Severit...
47.352518
172
0.497113
[ "MIT" ]
zivillian/Syslogweb
SyslogWeb/Models/QueryParser.cs
6,584
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.Goog...
40.971429
249
0.665969
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Compute/Beta/Inputs/DurationArgs.cs
1,434
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Linq; using Bicep.Core.Resources; using Bicep.Core.Semantics; using Bicep.Core.Semantics.Namespaces; using Bicep.Core.TypeSystem; using Bicep.Core.TypeSystem.Az; namespace Bicep.Core.UnitTests.Utils { /// <summary> /// A se...
56
212
0.628968
[ "MIT" ]
AlanFlorance/bicep
src/Bicep.Core.UnitTests/Utils/BuiltInTestTypes.cs
13,104
C#
using System.Linq; using System.Threading; using System.Threading.Tasks; using CommandLine; using Revit.TestRunner.Shared; using Revit.TestRunner.Shared.Model; using Revit.TestRunner.Shared.NUnit; namespace Revit.TestRunner.Console.Commands { /// <summary> /// Execute Test Command /// </summary> [Verb...
34.436364
125
0.603485
[ "MIT" ]
Jo-Meer/Revit.TestRunner
src/Revit.TestRunner.Console/Commands/AssemblyCommand.cs
1,896
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Infosys.ATR.UIAutomation.Entities; using Infosys.ATR.UIAutomation.SEE; using System.Configuration; namespace Infosys.ATR.DataAnalysis { public static class DataExtraction { //private variables/methods ...
50.402985
166
0.455138
[ "Apache-2.0" ]
Infosys/Script-Control-Center
ScriptDevelopmentTool/FrontendAutomation/Modules/Scripts/Services/DataExtraction.cs
20,264
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
30.785714
129
0.697022
[ "MIT" ]
Nowhere-Know-How/nwkh-multiplayer-core-free
Assets/Vivox/Runtime/VivoxUnity/generated_files/vx_evt_session_updated_t.cs
5,172
C#
using System; using Common.Kafka.Consumer; using Microsoft.Extensions.Options; using Xunit; namespace Common.Kafka.Tests.Consumer { public class KafkaConsumerBuilderTests { [Fact] public void ConstructorShouldCreateSampleConsumerBuilder() { var kafkaOptions = Options.Create(...
26.386364
95
0.609819
[ "Unlicense" ]
gabrielsadaka/dotnet-kafka-sample
src/Common.Kafka.Tests/Consumer/KafkaConsumerBuilderTests.cs
1,161
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NAMESPACE { internal static class StringExtensions { /// <summary> /// If source is null, returns string.empty. If not - returns it as is. /// <...
27.294118
95
0.618534
[ "Unlicense" ]
itsuart/cs-goodies
StringExtensions.cs
928
C#
using System; using Android.Widget; using Java.Security; using Javax.Crypto; using Javax.Crypto.Spec; using System.Text; using Android.Util; using Java.Security.Spec; namespace AndroidCipher { public class AndroidCipher { private readonly MainActivity _activity; private Cipher _encipher; ...
35.7375
156
0.647429
[ "Apache-2.0" ]
Dmitiry-hub/monodroid-samples
android-o/AndroidCipher/AndroidCipher/AndroidCipher.cs
2,861
C#
// https://www.cryptocompare.com/api/data/coinlist/ using System.Collections.Generic; public class RootObject { public string Response { get; set; } public string Message { get; set; } public string BaseImageUrl { get; set; } public string BaseLinkUrl { get; set; } public Data Data { get; set; } pu...
29.30303
52
0.672182
[ "MIT" ]
Synuit/Synuit.Blockchain.Api
demos/Synuit.Blockchain.Api.Demo.OLD/Class1.cs
969
C#
//----------------------------------------------------------------------- // <copyright file="InterceptorMixinRequirementAttribute.cs" company="Copacetic Software"> // Copyright (c) Copacetic Software. // <author>Philip Pittle</author> // <date>Monday, February 24, 2014 1:12:12 PM</date> // Licensed under the Ap...
41.066667
91
0.650162
[ "Apache-2.0" ]
ppittle/pMixins
pMixins.TheorySandbox/InterceptorMixinRequirementAttribute.cs
1,234
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("Sh...
38.72973
84
0.747383
[ "MIT" ]
VirusFree/SharpDX
Source/Tests/SharpDX.Toolkit.Graphics.Tests/Properties/AssemblyInfo.cs
1,436
C#
using Moq; using NBi.Core.Calculation; using NBi.Core.Calculation.Predicate; using NBi.Core.Calculation.Ranking; using NBi.Core.Evaluate; using NBi.Core.ResultSet; using NBi.Core.ResultSet.Resolver; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Syste...
48.503817
154
0.603399
[ "Apache-2.0" ]
CoolsJoris/NBi
NBi.Testing/Unit/Core/Calculation/Ranking/BottomRankingTest.cs
6,356
C#
namespace ConsoleApp1 { using System.Collections.Generic; using System.Threading.Tasks; internal interface IWeatherService { Task<IReadOnlyList<int>> GetFiveDayTemperaturesAsync(); } }
17.636364
57
0.78866
[ "MIT" ]
fluxera/Fluxera.Extensions.Hosting
samples/ConsoleApp1/IWeatherService.cs
196
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> //------------------------------------------...
46.3
129
0.665227
[ "MIT" ]
karolinagb/APICatalogo
APICatalogo/obj/Debug/net5.0/APICatalogo.MvcApplicationPartsAssemblyInfo.cs
926
C#
using FluentAssertions; using Microsoft.AspNetCore.Mvc; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Sanakan.DAL.Models; using Sanakan.Web.Controllers; using System; using System.Threading.Tasks; namespace Sanakan.Web.Tests.Controllers.QuizControllerTests { /// <summary> /// Defines te...
30.529412
89
0.592807
[ "MPL-2.0" ]
Jozpod/sanakan
Tests/Web.Tests/Controllers/QuizControllerTests/RemoveQuestionAsyncTests.cs
1,559
C#
using System; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Akka.Actor; using Akka.Configuration; using Akka.CQRS.Infrastructure; using Akka.CQRS.Pricing.Web.Actors; using Akka.CQRS.Pricing.Web.Hubs; using Akka.DependencyInjection; using Microsoft.Extensions.Dependency...
38.05
180
0.656702
[ "Apache-2.0" ]
Arkatufus/akkadotnet-cluster-workshop
src/Akka.CQRS.Pricing.Web/Services/AkkaService.cs
3,046
C#
using System; using System.Collections.Generic; using Aspose.HTML.Live.Demos.UI.Services.HTML.Applications.Conversion; using Aspose.HTML.Live.Demos.UI.Services.HTML.Applications.Merger; namespace Aspose.HTML.Live.Demos.UI.Services.HTML.Applications { public abstract class ApplicationOptions : Dictionary<string, strin...
28.645833
133
0.768
[ "MIT" ]
N4SIRODDIN3/Aspose.HTML-for-.NET
Demos/src/Aspose.HTML.Live.Demos.UI/Services/HTML/Applications/ApplicationOptions.cs
1,375
C#
using UnityEngine; using System; namespace Cinemachine { /// <summary> /// Describes the FOV and clip planes for a camera. This generally mirrors the Unity Camera's /// lens settings, and will be used to drive the Unity camera when the vcam is active. /// </summary> [Serializable] [Documentat...
46.058065
264
0.623337
[ "MIT" ]
kekekekekekekekeke/simulator
indoor navigation environment/Library/PackageCache/com.unity.cinemachine@2.2.7/Runtime/Core/LensSettings.cs
7,139
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.148649
132
0.675109
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/LookoutEquipment/Generated/Model/Internal/MarshallTransformations/IngestionS3InputConfigurationMarshaller.cs
2,527
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="HttpCommunicationService.cs" company="Bosbec AB"> // Copyright © Bosbec AB 2014 // </copyright> // <summary> // Defines the HttpCommunicationService type. // </summary> // ---...
30.090909
120
0.432024
[ "MIT" ]
bosbec/servicehost
src/ServiceHost.Host/Services/Communication/HttpCommunicationService.cs
996
C#
namespace SecurePlate.Services { using System.ServiceModel.Syndication; using System.Threading; using System.Threading.Tasks; /// <summary> /// Builds <see cref="SyndicationFeed"/>'s containing meta data about the feed and the feed entries. /// Note: We are targeting Atom 1.0 over RSS 2.0 beca...
52.6
125
0.676263
[ "MIT" ]
iAvinashVarma/SecurePlate
SecurePlate/Services/Feed/IFeedService.cs
1,843
C#
using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using EnvDTE; using Typewriter.CodeModel.Implementation; using Typewriter.Metadata.Providers; using Typewriter.VisualStudio; namespace Typewriter.Generation.Controllers { public class GenerationController { private...
36.622449
214
0.51616
[ "Apache-2.0" ]
Ackhuman/Typewriter
src/Typewriter/Generation/Controllers/GenerationController.cs
7,178
C#
using HarmonyLib; using System; using TaleWorlds.Core; using TaleWorlds.MountAndBlade; namespace ModTestingFramework { class StateEvents { public static event Action<string> OnStateActivate; public static event Action OnMainMenuReady; public static GameState CurrentGameState { get; p...
26.682927
71
0.568556
[ "MIT" ]
Bannerlord-Coop-Team/BannerlordTestingEssentials
BannerlordSystemTestingFramework/Patches/StateEvents.cs
1,096
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Epam.Task4.DynamicArray { public class DynamicArray<T> : IEnumerable, IEnumerable<T>, ICloneable { private T[] array; private int capacity; ...
26.285714
150
0.408241
[ "MIT" ]
Polikutkin/Epam_XT-2018Q4
Epam.Task4/Epam.Task4.DynamicArray/DynamicArray.cs
7,914
C#
using System; using NetOffice; namespace NetOffice.OWC10Api.Enums { /// <summary> /// SupportByVersion OWC10 1 /// </summary> [SupportByVersionAttribute("OWC10", 1)] [EntityTypeAttribute(EntityType.IsEnum)] public enum TipTypeEnum { /// <summary> /// SupportByVersion OWC10 1 /// </summar...
23.15
43
0.603672
[ "MIT" ]
NetOffice/NetOffice
Source/OWC10/Enums/TipTypeEnum.cs
926
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using ICSharpCode.NRefactory.Ast; using ICSharpCode.NRefactory.Visitors; namespace SharpRefactoring.Visitors { ...
24.344828
103
0.760623
[ "MIT" ]
Plankankul/SharpDevelop-w-Framework
src/AddIns/Misc/SharpRefactoring/Project/Src/Visitors/HasReturnStatementVisitor.cs
708
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
31.410194
112
0.557994
[ "MIT" ]
kiranvsr/squidex
backend/tests/Squidex.Domain.Apps.Entities.Tests/Apps/Indexes/AppsIndexTests.cs
12,943
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("ti...
37.918919
84
0.746258
[ "MIT" ]
kade-robertson/tikgen
tikgen/Properties/AssemblyInfo.cs
1,406
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...
32.792453
108
0.632336
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20191001/Inputs/ManagedRuleGroupOverrideArgs.cs
1,738
C#
using Com.Zoho.Crm.API.Util; using System.Collections.Generic; namespace Com.Zoho.Crm.API.Modules { public class APIException : Model, ResponseHandler, ActionResponse, ActionHandler { private Choice<string> status; private Choice<string> code; private Choice<string> message; private Dictionary<string, objec...
21.754098
83
0.649209
[ "Apache-2.0" ]
zoho/zohocrm-csharp-sdk-2.1
ZohoCRM/Com/Zoho/Crm/API/Modules/APIException.cs
2,654
C#
// Copyright 2020 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE // Copyright 2020 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; namespace Nuke...
24.136364
72
0.689266
[ "MIT" ]
Inzanit/nuke
source/Nuke.Common/CI/CIBuilder.cs
531
C#
using System.Collections.Generic; using System.IO; using Form8snCore; using Form8snCore.FileFormats; namespace WebFormFiller.ServiceStubs { public interface IFileDatabaseStub : IFileSource { /// <summary> /// List all the document template projects available /// </summary> ...
37.651163
100
0.610871
[ "BSD-3-Clause" ]
i-e-b/Form8sn
src/WebFormFiller/ServiceStubs/IFileDatabaseStub.cs
1,621
C#
using AutoMapper; using DTOs.Bookings; using DTOs.Dish; using DTOs.Favourites; using DTOs.Restaurant; using DTOs.Users; using Entities; namespace WebApi.Dtos { public class MappingProfiles : Profile { public MappingProfiles() { CreateMap<Dish, DishRequestDto>().ReverseMap(); ...
42.636364
88
0.675906
[ "MIT" ]
BootcampTeamNet/ApiRestaurants
ApiRestaurants/DTOs/Shared/MappingProfiles.cs
1,409
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using CoinBot.Core; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace CoinBot.Clients.Poloniex { public class PoloniexClient : IMarketClient { /// ...
28.263636
131
0.684143
[ "MIT" ]
rroslund/CoinBot
src/CoinBot.Clients/Poloniex/PoloniexClient.cs
3,111
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...
43.381443
178
0.652091
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/CodeDeploy/Generated/Model/IamUserArnRequiredException.cs
4,208
C#
using Microsoft.Azure.Documents; using Microsoft.Azure.Documents.Client; using Microsoft.DataTransfer.DocumentDb.Client; using Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using Syste...
41.148148
155
0.634263
[ "MIT" ]
Adrian-Wennberg/azure-documentdb-datamigrationtool
DocumentDb/Microsoft.DataTransfer.DocumentDb.FunctionalTests/DocumentDbHelper.cs
3,335
C#
// <auto-generated /> namespace MillennialResortWebSite.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed par...
28.7
105
0.639954
[ "MIT" ]
tektechnologies/Software-Development-Capstone
MillennialResortManager/MillennialResortWebSite/Migrations/201904112219347_AddedThePropertyFields.Designer.cs
861
C#
using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; namespace TrackerSchema.Core.Data.Identity.Mapping { /// <summary> /// Allows configuration for an entity type <see cref="TrackerSchema.Core.Data.Identity.Entities.IdentityUser" /> /// </summary> public partial class I...
49.880952
162
0.612768
[ "MIT" ]
Enric-Gilabert/EntityFrameworkCore.Generator
sample/TrackerSchema/TrackerSchema.Core/Data/Identity/Mapping/IdentityUserMap.cs
8,380
C#
using Abp.Application.Editions; using Abp.Application.Features; using Abp.Domain.Repositories; using Abp.Domain.Uow; namespace AbpCompanyName.AbpProjectName.Editions { public class EditionManager : AbpEditionManager { public const string DefaultEditionName = "Standard"; public Edit...
26.84
61
0.61699
[ "MIT" ]
aspnetboilerplate/module-zero-template
src/AbpCompanyName.AbpProjectName.Core/Editions/EditionManager.cs
673
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CommonThings { public static class FileHelper { public static async Task<string> ReadTextAsync(string filePath) { using (FileStream sourceS...
28.393939
95
0.552828
[ "MIT" ]
gynorbi/home
WindowsFormsShell/CommonThings/FileHelper.cs
939
C#
#if UNITY_EDITOR #pragma warning disable 0162 #pragma warning disable 0618 using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityObject = UnityEngine.Object; namespace Zios { #if UNITY_EDITOR using Event; using UnityEditor; public class UtilityLi...
46.666667
133
0.610486
[ "MIT" ]
tyh24647/Miami1984
Assets/Editor/Codebase/Supports/Utility/UtilityEditor.cs
6,580
C#
using App.Domain; using App.Service.Profile; using App.SharedKernel.Guards; using App.SharedKernel.Repository; using System; using System.Threading.Tasks; namespace App.Service.Concretes.Profile { public class ProfileService : IProfileService { readonly IRepository<User, Guid> _userRepository; ...
24.75
66
0.614899
[ "MIT" ]
appconfi/appconfi-web
src/App.Service/Profile/ProfileService.cs
794
C#
using System; using System.Collections.Generic; namespace Prototype.OpenTelematics.DataAccess { public partial class Driver { public Guid Id { get; set; } public string username { get; set; } public string driverLicenseNumber { get; set; } public string country { get; set; } ...
30
55
0.629412
[ "Apache-2.0" ]
nmfta-repo/nmfta-opentelematics-prototype
Prototype.OpenTelematics.DataAccess/Driver.cs
512
C#
namespace UnityEngine.Rendering.HighDefinition { /// <summary>Pass names and shader ids used in HDRP. these names can be used as filters when rendering objects in a custom pass or a DrawRenderers() call.</summary> public static class HDShaderPassNames { // ShaderPass string - use to have consistent ...
85.097466
178
0.719127
[ "MIT" ]
Acromatic/HDRP-Unity-Template-GitHub-Template
Library/PackageCache/com.unity.render-pipelines.high-definition@10.2.2/Runtime/RenderPipeline/HDStringConstants.cs
87,310
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using DFC.ServiceTaxonomy.Banners.Indexes; using Microsoft.Extensions.Localization; using YesSql; namespace DFC.ServiceTaxonomy.Banners.Models { public static class BannerPartExtensions { public static async IAsyncEnumerabl...
39.219512
142
0.630597
[ "MIT" ]
SkillsFundingAgency/dfc-servicetaxonomy-editor
DFC.ServiceTaxonomy.Banners/Models/BannerPartExtensions.cs
1,610
C#
namespace ReportingServerManager.Logic.Shared { public class Datasource { public string Name { get; set; } public string ConnectionString { get; set; } public CredentialRetrievalTypes CredentialRetrievalType { get; set; } public bool UsePromptedCredentialsAsWindowsCredentials { g...
40.470588
77
0.65843
[ "MIT" ]
Expecho/ReportServer-Manager2
src/Logic/Shared/Datasource.cs
688
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("02...
38.297297
84
0.748765
[ "MIT" ]
ReniGetskova/CSharp-Part-2
TextFiles/02ConcatenateTextFiles/Properties/AssemblyInfo.cs
1,420
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace WhoGoesThere.Models.AccountViewModels { public class VerifyCodeViewModel { [Required] public string Provider { get; set; } [Required]...
23.307692
50
0.648515
[ "MIT" ]
metalmynds/friendorfoe
WhoGoesThere/Models/AccountViewModels/VerifyCodeViewModel.cs
608
C#
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; namespace IupMetadata { public static class MetadataExtractor { #region Fields private const int BUFFER_SIZE = 4096; #endregion Fields #region Constructor static MetadataExtractor() { _ = Inte...
27.666667
149
0.690572
[ "Unlicense" ]
batiati/IUPMetadata
src/IupMetadata/MetadataExtractor.cs
5,231
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...
34.977273
256
0.672515
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/EventGrid/V20190101/Outputs/StorageBlobDeadLetterDestinationResponse.cs
1,539
C#
using ExitGames.Client.Photon; namespace Photon.Enums { /// <summary> /// Summarizes the cause for a disconnect. Used in: OnConnectionFail and OnFailedToConnectToPhoton. /// </summary> /// <remarks>Extracted from the status codes from ExitGames.Client.Photon.StatusCode.</remarks> /// <seealso cref=...
52.854839
162
0.696979
[ "Apache-2.0" ]
ITALIA195/Shelter
Shelter/Photon/Enums/DisconnectCause.cs
3,277
C#
#pragma checksum "/home/azureuser/myWebApp/Views/Shared/_ValidationScriptsPartial.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "30279cff2f43496f15dedc2efbbd2c0b0d6727e3" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCo...
66.54902
406
0.759576
[ "MIT" ]
osygroup/ASP.NET_Core-Elastic_APM-Docker
obj/Debug/net5.0/Razor/Views/Shared/_ValidationScriptsPartial.cshtml.g.cs
6,788
C#
using Microsoft.Owin; using Owin; [assembly: OwinStartupAttribute(typeof(FuzzyRiskNet.Startup))] namespace FuzzyRiskNet { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth(app); } } }
18.266667
62
0.653285
[ "Apache-2.0" ]
DobrilaPetrovic/FuzzyRiskWeb
src/FuzzyRiskNet.Web/Startup.cs
276
C#
using CSharpSpeed; using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace InstrumentedLibrary { /// <summary> /// /...
37.554217
119
0.581007
[ "MIT" ]
Shkyrockett/CSharpSpeed
InstrumentedLibrary/Mathmatics/Matrix/JaggedMatrix/JaggedTruncateMatrixTests.cs
3,119
C#
#region usings using System; using System.ComponentModel.Composition; using System.Collections.Generic; using System.IO; using System.Text; using VVVV.PluginInterfaces.V1; using VVVV.PluginInterfaces.V2; using VVVV.Utils.VColor; using VVVV.Utils.VMath; using VVVV.Core.Logging; #endregion usings namespace VVVV.Nodes...
24.54386
111
0.597212
[ "MIT" ]
HarukiTakahashi/vvvv_Advent2017
ZigzagSlicer/plugins/ValueSTLReader/ValueSTLReaderNode.cs
5,740
C#
// ================================================== // Copyright 2019(C) , DotLogix // File: ConcatenatedSettings.cs // Author: Alexander Schill <alexander@schillnet.de>. // Created: .. // LastEdited: 12.12.2019 // ================================================== // ============================================...
32.450549
140
0.526583
[ "MIT" ]
dotlogix/DotlogixCore
Core/Utils/ConcatenatedSettings.cs
5,906
C#
using System; using System.Collections.Generic; namespace exemplo { class Program { static void Main(string[] args) { Dictionary<string, string> cookies = new Dictionary<string, string>(); cookies["user"] = "maria"; cookies["email"] = "maria@gmail.com"; ...
24.74359
82
0.497409
[ "MIT" ]
Maxel-Uds/Curso-C-Sharp
Generics_Set_Dictionary/Dictionary/exemplo/Program.cs
968
C#