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.Diagnostics; using System.Linq; using System.Text; using Iced.Intel; namespace KeePassHax.Injector.Injection { internal class FrameworkV2Injector : FrameworkInjector { protected override string ClrVersion => "v2.0.50727"; } internal abstract class FrameworkInjector ...
50.933333
169
0.640445
[ "MIT" ]
HoLLy-HaCKeR/KeePassHax
KeePassHax.Injector/Injection/FrameworkInjector.cs
7,640
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 ...
17.410309
135
0.597999
[ "Apache-2.0" ]
bitType/aliyun-openapi-net-sdk
aliyun-net-sdk-ehpc/EHPC/Model/V20180412/CreateClusterRequest.cs
16,888
C#
using Newtonsoft.Json; namespace MatplotlibCS.PlotItems { public class Hline : Line2D { /// <summary> /// Y coord of a line /// </summary> [JsonProperty(PropertyName = "y")] public new double[] Y { get; set; } [JsonProperty(PropertyName = "xmin")] publi...
23.885714
71
0.498804
[ "MIT" ]
longpshorn/MatplotlibCS
MatplotlibCS/PlotItems/Hline.cs
838
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
48.705882
233
0.772142
[ "Apache-2.0" ]
mikemissakian/aws-sdk-net
sdk/src/Services/FSx/Properties/AssemblyInfo.cs
2,484
C#
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.UI; using System.Web.UI.W...
32.527778
148
0.746798
[ "MIT" ]
Adoxio/xRM-Portals-Community-Edition
Framework/Adxstudio.Xrm/Web/UI/CrmEntityFormView/DefaultUpdateItemTemplate.cs
2,342
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace PinaColada { public interface ICache { Task<Result<T>> TryGet<T>(string cacheKey); Task Set<T>(string cacheKey, T obj, TimeSpan? ttl); } }
20.642857
60
0.653979
[ "MIT" ]
DanHarltey/Pina-Colada
src/PinaColada/ICache.cs
291
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.08284
119
0.546016
[ "Apache-2.0" ]
pcameron-/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/PipelineExecutionStepMetadata.cs
10,844
C#
// This file is part of the re-linq project (relinq.codeplex.com) // Copyright (C) 2005-2009 rubicon informationstechnologie gmbh, www.rubicon.eu // // re-linq is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License as published by the // Free Software F...
35.206186
127
0.703953
[ "MIT" ]
rajcybage/BrightstarDB
src/portable/BrightstarDB.Portable/relinq/RelinqCore/Clauses/ResultOperators/CastResultOperator.cs
3,415
C#
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 ...
40.627119
143
0.642053
[ "Apache-2.0" ]
OriginalDeveloper/MassTransit
src/MassTransit/Context/SendEndpointConverter.cs
2,397
C#
namespace WpfAnalyzers.Test { using System; using System.Collections.Generic; using System.Linq; using Gu.Roslyn.AnalyzerExtensions; using Gu.Roslyn.Asserts; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using NUnit.Framework; public class ValidCodeWithAll...
31.107692
100
0.635015
[ "MIT" ]
Insire/WpfAnalyzers
WpfAnalyzers.Test/ValidCodeWithAllAnalyzers.cs
2,022
C#
using System; using System.Collections.Generic; using System.Reflection; namespace LibraryManager.Shared.IoC { public interface IServiceContainer { void RegisterInstance<TServcie>(TServcie instance); void RegisterPerRequest<TService, TImpl>() where TImpl : TService; void RegisterPerReq...
31.772727
74
0.705293
[ "MIT" ]
nikita-sky/LibraryManager
LibraryManager.Shared/IoC/IServiceContainer.cs
701
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("BitPacking")] [assembly: AssemblyDescript...
37.611111
84
0.740768
[ "MIT" ]
Cobo3/BitPacking
BitPacking/Properties/AssemblyInfo.cs
1,357
C#
namespace ImageFilter { public class ImageFilterSaturation : ImageFilterNoKernel { private const int Min = 0; private const int Max = 200; private const int Default = 100; private int factor = 0; public ImageFilterSaturation() : base() { ...
26.589744
97
0.513983
[ "MIT" ]
KirsonWorks/HalftoneFx
ImageFilter/Filters/ImageFilterSaturation.cs
1,039
C#
using System.Windows.Controls; namespace Leibit.Client.WPF.Windows.Display.Views { /// <summary> /// Interaction logic for PassengerInformation.xaml /// </summary> public partial class PassengerInformation : UserControl { public PassengerInformation() { InitializeCompon...
21.5625
59
0.637681
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
jannikbecker/leib
Leibit.Client.WPF/Windows/Display/Views/PassengerInformation.xaml.cs
347
C#
using System; namespace teste04_serviceLocator { public class Empresa { public int Id { get; set; } public String RazaoSocial { get; set; } //public Endereco Endereco { get; set; } //auto grau de acoplamento public IEndereco Endreco { get; private set; } //acoplamento minimizad...
25.235294
79
0.599068
[ "Apache-2.0" ]
alansvieceli/4-depencendy-injection
teste04-serviceLocator/Empresa.cs
431
C#
#region license // Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com) // 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 ...
30.446429
234
0.68305
[ "BSD-3-Clause" ]
Carolinehan/rhino-mocks
Rhino.Mocks.Tests/FieldsProblem/UsingEvents.cs
8,527
C#
using System; using System.Net.Http; using System.Threading.Tasks; using GFK.Time.API; namespace GFK.Image.DateTimeOffsetBuilder; internal class TimeApiDateTimeOffsetFactory : IDateTimeOffsetFactory { private readonly Uri _uri; public TimeApiDateTimeOffsetFactory(Uri uri) { _uri = uri; } ...
31.210526
109
0.684654
[ "MIT" ]
GordonFreemanK/digikam-scripts
GFK.Image/DateTimeOffsetBuilder/TimeApiDateTimeOffsetFactory.cs
1,188
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime: 4.0.30319.42000 // // Los cambios de este archivo pueden provocar un comportamiento inesperado y se perderán si // el código se vu...
41.388889
213
0.625839
[ "MIT" ]
mauriciogpro/e-dot-net
4_Cap/8switch_control_registro_de_estacionamiento/8switch_control_de_registro_de_estacionamiento/Properties/Resources.Designer.cs
2,993
C#
using System; using TwitchLib.Client.Models; namespace Twitcher.Controllers.Parameters { public class StringParameterProvider : IParameterProvider<string> { public string ParseParameter(string parameter, ChatMessage message) => parameter; } }
24.090909
90
0.758491
[ "MIT" ]
LiphiTC/Twitcher
src/Twitcher.Controllers/Twitcher.Controller.Parameters/StringParameterProvider.cs
265
C#
namespace UnitTests.RestAPI.FlowControl.Base { internal abstract class FlowController : RestBase { protected abstract bool TooManyTests(); public abstract void ControlFlow(); } } /* * Copyright Andrew Gray, SauceForge * Date: 12th July 2014 * */
25
55
0.690909
[ "MIT" ]
Sauceforge/Saucery3
UnitTests/RestAPI/FlowControl/Base/FlowController.cs
277
C#
using Godot; using Sulimn.Classes; using Sulimn.Scenes.Inventory; namespace Sulimn.Scenes.Battle { public class EnemyDetailsScene : Control { private Label LblName, LblLevel, LblExperience, LblGold, LblStrength, LblVitality, LblDexterity, LblWisdom, LblHealth, LblMagic; private GridEquipment En...
44.030303
136
0.66552
[ "MIT" ]
pfthroaway/GD_Sulimn
scenes/battle/EnemyDetailsScene.cs
2,906
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.432432
85
0.731323
[ "MIT" ]
antuniooh/exercises-computer-tech-ETEC
Desenvolvimento de Software/Aulas/Win_Relatorio_SQLServer01/Win_Relatorio_SQLServer01/Properties/AssemblyInfo.cs
1,462
C#
using System.Collections.Generic; namespace GraphQL.Language.AST { public class Directive : AbstractNode { public Directive(NameNode node) { NameNode = node; } public string Name => NameNode.Name; public NameNode NameNode { get; set; } public Argume...
24.477273
71
0.545032
[ "MIT" ]
ChironShi/graphql-dotnet
src/GraphQL/Language/AST/Directive.cs
1,077
C#
// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; namespace Fungus { /// <summary> /// The block ...
28.306667
125
0.586905
[ "MIT" ]
ACM-London-Game-Development/MinoTourPublic
Assets/Fungus/Scripts/EventHandlers/DragStarted.cs
2,125
C#
using System; using System.Collections.Generic; namespace Dio.Series.Interfaces { public interface IRepositorio<T> { List<T> Lista(); T RetornaPorId(int id); void Insere(T entidade); void Exclui(int id); void Atualiza(int id, T entidade); int ProximoId(); ...
19.764706
43
0.583333
[ "MIT" ]
EvaristoAlves/DigitalInovationOne
Dio.Series/Interfaces/IRepositorio.cs
336
C#
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.Common; using System.Diagnostics.CodeAnalysis; using Havit.Business.Query; using Havit.Data.SqlServer; namespace Havit.Business { /// <summary> /// Reprezentuje sloupec v databázi, /// nese informace o daném slo...
24.636364
155
0.685005
[ "MIT" ]
havit/HavitFramework
Havit.Business/FieldPropertyInfo.cs
3,044
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.Diagnostics; using System.IO; using System.Windows.Input; using System.Windows.M...
40.494949
159
0.599651
[ "MIT" ]
Microsoft/WindowsTemplateStudio
code/SharedFunctionality.UI/ViewModels/Common/DataItems/NewItemFileViewModel.cs
7,823
C#
namespace VoiceBridge.Most.VoiceModel.Alexa.LanguageModel { public class Empty { } }
15.142857
58
0.641509
[ "MIT" ]
voicebridge/most
voicemodel/src/Alexa/LanguageModel/Empty.cs
108
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.928571
98
0.713394
[ "MIT" ]
Wei-Huang1302/RockPaperScissorsLizardSpock
RockPaperScissorsLizardSpock/Properties/AssemblyInfo.cs
2,407
C#
using Eqstra.BusinessLogic.Base; using Eqstra.BusinessLogic.Helpers; using SQLite; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Eqstra.BusinessLogic.Commercial { public class CGlass : BaseModel ...
31.775974
118
0.597016
[ "MIT" ]
pithline/FMS
Pithline.FMS.BusinessLogic/Commercial/CGlass.cs
9,789
C#
#if WITH_GAME #if PLATFORM_32BITS using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine { public partial class UWidgetAnimation { static readonly int OnAnimationStarted__Offset; public FMulticastScriptDelegate OnAnimationStarted { get{ CheckIsValid(...
37.875
203
0.793494
[ "MIT" ]
RobertAcksel/UnrealCS
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_32bits/UWidgetAnimation_FixSize.cs
2,121
C#
using Microsoft.EntityFrameworkCore; namespace Health.API.Models.Context { public class HealthContext : DbContext { public HealthContext(DbContextOptions<HealthContext> options) : base(options) { } public DbSet<Ailment> Ailments { get; set; } public DbSet<Patient> Patie...
44.304348
118
0.473994
[ "MIT" ]
akiragothick/health-api
Health.API/Models/Context/HealthContext.cs
1,019
C#
namespace ShenNius.Share.Models.Dtos.Output.Sys { public class UserOutput { public int Id { get; set; } /// <summary> /// 登录账号 /// </summary> public string Name { get; set; } /// <summary> /// 真是姓名 /// </summary> public string TrueName {...
20.023256
48
0.429733
[ "MIT" ]
realyrare/ShenNiusFramework
src/ShenNius.Share.Models/Dtos/Output/Sys/UserOutput.cs
901
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace NAQRPD.Common.FastReflection { public interface IPropertyAccessor { object GetValue(object instance); void SetV...
36.336134
126
0.605689
[ "MIT" ]
xin2015/NAQRPD
NAQRPD/NAQRPD.Common/FastReflection/PropertyAccessor.cs
4,326
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Abstraction { class LokantaTokat : Lokanta { public LokantaTokat() { this._HarcMiktari = 2000.0D; } public override void HarcOde() { ...
21.35
90
0.620609
[ "MIT" ]
baristutakli/NA-203-Notes
Abstraction/LokantaTokat.cs
434
C#
using Gizmox.WebGUI.Forms; using Gizmox.WebGUI.Common; namespace VWG.Community.NetSqlAzMan.ListViews { partial class StoreGroups { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> ...
33.592105
107
0.553075
[ "MIT" ]
paulusyeung/VWG.Community
VWG.Community.NetSqlAzMan/ListViews/StoreGroups.Designer.cs
2,553
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; namespace Pangea.Domain { /// <summary> /// Singleton for holding all registered currencies /// </summary> public static class Currencies { /// <summary> /// A private ...
38.510417
130
0.605897
[ "MIT" ]
rubenrorije/Pangea.Domain
Pangea.Domain/Currencies.cs
3,699
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...
29.025424
107
0.586277
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/RoboMaker/Generated/Model/UpdateWorldTemplateRequest.cs
3,425
C#
using System; using System.Collections.Generic; using src.Interfaces; using src.Shared; namespace src.Core { public class ArgParser { public static (SortedList<int, ITask>, List<IOption>) Parse( string[] args, ITaskValidator taskValidator ) { // parse commands if (args.L...
28.142857
114
0.451777
[ "MIT" ]
vladlee098/img_tool
src/Core/ArgParser.cs
1,379
C#
using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; namespace Users.Infrastructure { public class LocationClaimsProvider : IClaimsTransformation { public Task<ClaimsPrincipal> TransformAsync(ClaimsPrincipal principal) { if (principal != null...
41.2
95
0.527046
[ "Unlicense" ]
Vladimir-Zakharenkov/AdamFreemanMVC2
Freeman A. projects with GitHub/30 - Advanced Identity/Users/Users/Infrastructure/LocationClaimsProvider.cs
1,444
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2018 // // 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...
35.625
103
0.685714
[ "MIT" ]
sebastianulm/SharpVk
src/SharpVk/Khronos/DeviceGroupSwapchainCreateInfo.gen.cs
1,995
C#
namespace MagicalLifeGUIWindows.GUI.MainMenu { /// <summary> /// Holds some constants used to render the main menu when at the 1920 by 1080 resolution. /// </summary> public static class MainMenuLayout1920x1080 { /// <summary> /// The x position at which the left part of the buttons...
31.55814
94
0.57406
[ "MIT" ]
Lynngr/MagicalLife
MagicalLifeGUIWindows/GUI/MainMenu/MainMenuLayout1920x1080.cs
1,359
C#
namespace MvcFramework.HTTP.Enums { public enum HttpResponseStatusCode { Ok = 200, Created = 201, Found = 302, SeeOther = 303, BadRequest = 400, Unauthorized = 401, Forbidden = 403, NotFound = 404, InernalServerError = 500 } }
15.5625
35
0.674699
[ "MIT" ]
NaskoVasilev/CSharp-MVC-Framework
MvcFramework/MvcFramework.HTTP/Enums/HttpResponseStatusCode.cs
251
C#
using FrameworkTester.ViewModels.Interfaces; using WinBiometricDotNet; namespace FrameworkTester.ViewModels { public sealed class WinBioGetLogonSettingViewModel : WinBioPropertyViewModel, IWinBioGetLogonSettingViewModel { public override string Name => "WinBioGetLogonSetting"; pr...
27.157895
114
0.718992
[ "MIT" ]
poseidonjm/WinBiometricDotNet
examples/FrameworkTester/ViewModels/WinBioGetLogonSettingViewModel.cs
518
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class ChanceScene : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { ...
16.36
52
0.628362
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
monogawilmer/Drug-s-Clicker
Drug's Clicker/Assets/Scripts/ChanceScene.cs
411
C#
namespace Exprelsior.Tests.DynamicQuery.SimpleQueries.Guid { using System; using System.Linq; using Exprelsior.ExpressionBuilder; using Exprelsior.ExpressionBuilder.Enums; using Exprelsior.Tests.DynamicQuery.SimpleQueries.Guid.Contracts; using Exprelsior.Tests.Utilities; using Xunit; us...
46.879004
189
0.64784
[ "MIT" ]
alexmurari/Exprelsior
Exprelsior.Tests/DynamicQuery/SimpleQueries/Guid/DynamicQueryGuidTests.cs
13,175
C#
using Microsoft.EntityFrameworkCore.Metadata.Builders; using RecipeSocial.Domain.Entities; namespace RecipeSocial.Infrastructure.Database.Configuration.Mappers { public class RecipeTagMapper { public static void Map(EntityTypeBuilder<RecipeTag> builder) { builder.HasKey(recipeTag =...
33.545455
85
0.654472
[ "MIT" ]
jvalverdep/recipe-social
RecipeSocial.Infrastructure.Database/Configuration/Mappers/RecipeTagMapper.cs
740
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Microsoft.AspNet.SignalR.Infrastructure; using Newtonsoft.Json.Serialization; namespace eFocus.Amar2000.API.ContractResolvers { public class SignalRContractResolver : ...
29
85
0.703267
[ "MIT" ]
Physer/Amar2000
src/eFocus.Amar2000.API/ContractResolvers/SignalRContractResolver.cs
1,104
C#
/* * WebAPI - Area Management * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: management * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.T...
34.275
166
0.558169
[ "Apache-2.0" ]
zanardini/ARXivarNext-WebApi
ARXivarNext-ConsumingWebApi/IO.Swagger.Management/Model/MailBoxFolderDTO.cs
5,484
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.10 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
35.354167
178
0.661167
[ "MIT" ]
PoxyDoxy/EFAS
EFAS/EFAS/wrap_csharp64/XsDeviceConfigurationException.cs
1,697
C#
using System; using System.Collections.Generic; using System.Web; using System.Web.Mvc; using global::Microsoft.VisualStudio.TestTools.UnitTesting; using Telerik.Sitefinity.Data; using Telerik.Sitefinity.Frontend.Mvc.Controllers; using Telerik.Sitefinity.Frontend.Mvc.Infrastructure.Controllers; using Telerik.Sitefinit...
48.213904
142
0.674357
[ "Apache-2.0" ]
jonathanread/feather
Tests/Telerik.Sitefinity.Frontend.TestUnit/Mvc/Infrastructure/Controllers/ControllerExtensionsTests.cs
9,018
C#
#if WITH_GAME #if PLATFORM_64BITS using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace UnrealEngine { public partial class UBodySetup { static readonly int AggGeom__Offset; public FKAggregateGeom AggGeom { get{ CheckIsValid();return (FKAggregateGeom)Marshal.Ptr...
39.329341
217
0.779385
[ "MIT" ]
RobertAcksel/UnrealCS
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_64bits/UBodySetup_FixSize.cs
6,568
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Serialization; namespace Workday.Admissions { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace = "urn:...
27.383333
136
0.786366
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.AdmissionsService/Student_External_Transcript_Student_Prospect_DataType.cs
1,643
C#
// Unity C# reference source // Copyright (c) Unity Technologies. For terms of use, see // https://unity3d.com/legal/licenses/Unity_Reference_Only_License using System; using System.Linq; using UnityEngine.Scripting; using System.Runtime.CompilerServices; using UnityEngine.Bindings; using System.Runtime.InteropService...
36.022059
151
0.595428
[ "Unlicense" ]
HelloWindows/AccountBook
client/framework/UnityCsReference-master/Editor/Mono/EditorBuildSettings.bindings.cs
4,899
C#
 namespace CachedCrudLib { public interface ICacheable { string Key { get; } } }
14
33
0.602041
[ "MIT" ]
Williams-Forrest/CachedCRUD
CachedCrudLib/ICacheable.cs
100
C#
using System; using _06.TrafficLights.Contracts; namespace _06.TrafficLights.Models { public class TrafficLight : ITrafficLight { private Light light; public TrafficLight(string light) { this.Light = (Light)Enum.Parse(typeof(Light), light); } public Light ...
20.153846
65
0.479644
[ "MIT" ]
anedyalkov/CSharp-OOP-Advanced
08.Reflection and Attributes-Exercises/P06_TrafficLights/Models/TrafficLight.cs
788
C#
// Code generated from gen/decArgs.rules; DO NOT EDIT. // generated with: cd gen; go run *.go // package ssa -- go2cs converted at 2020 October 09 05:32:56 UTC // import "cmd/compile/internal/ssa" ==> using ssa = go.cmd.compile.@internal.ssa_package // Original source: C:\Go\src\cmd\compile\internal\ssa\rewritedecArgs...
39.31694
252
0.436553
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/cmd/compile/internal/ssa/rewritedecArgs.cs
14,390
C#
using System; using System.Collections.Generic; using System.Linq; namespace Exceptionless { internal static class CollectionEqualityExtensions { public static bool CollectionEquals<T>(this IEnumerable<T> source, IEnumerable<T> other) { var sourceEnumerator = source.GetEnumerator(); ...
34.075269
131
0.514673
[ "Apache-2.0" ]
PolitovArtyom/Exceptionless.Net
src/Exceptionless/Extensions/CollectionEqualityExtensions.cs
3,171
C#
namespace SimpleNotepad { partial class SimpleNotepad { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
59.356061
158
0.663401
[ "Apache-2.0" ]
mullak99/SimpleNotepad
SimpleNotepad/SimpleNotepad.Designer.cs
31,342
C#
namespace TraktNet.Objects.Get.Tests.Episodes.Json.Reader { using FluentAssertions; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Trakt.NET.Tests.Utility.Traits; using TraktNet.Objects.G...
47.605714
151
0.628976
[ "MIT" ]
henrikfroehling/Trakt.NET
Source/Tests/Trakt.NET.Objects.Get.Tests/Episodes/Json/Reader/EpisodeTranslationArrayJsonReader/EpisodeTranslationArrayJsonReader_Reader_Tests.cs
16,664
C#
using Microsoft.JSInterop; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GoogleMapsComponents.Maps { /// <summary> /// A polyline is a linear overlay of connected line segments on the map. /// </summary> public class Polyline : ListableEntit...
30.535714
162
0.546199
[ "MIT" ]
Enritski/BlazorGoogleMaps
GoogleMapsComponents/Maps/Polyline.cs
4,277
C#
using System; using NBitcoin.BouncyCastle.Crypto.Utilities; using NBitcoin.BouncyCastle.Utilities; namespace NBitcoin.BouncyCastle.Crypto.Digests { /** * Draft FIPS 180-2 implementation of SHA-256. <b>Note:</b> As this is * based on a draft this implementation is subject to change. * * <pre> * ...
27.795796
104
0.38159
[ "MIT" ]
MIPPL/StratisBitcoinFullNode
src/NBitcoin/BouncyCastle/crypto/digests/Sha256Digest.cs
9,256
C#
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright by Brian Nelson 2016. * * See license in repo for more information * * https://github.com/sharpHDF/sharpHDF * * ...
24.166667
79
0.419704
[ "MIT" ]
Hakan77/sharpHDF
src/sharpHDF/Structs/Hdf5Identifier.cs
1,017
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using RetailDemo.Infrastructure.Data; ...
34.907801
125
0.495022
[ "MIT" ]
AurelianoBuendia/azure-intelligent-edge-patterns
edge-ai-void-detection/modules/apiserver/src/RetailDemo.Infrastructure/Migrations/20190501085022_InitialCreate.Designer.cs
9,846
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("ot...
37.486486
84
0.743331
[ "MIT" ]
nrkdrk/Parking-Lot-Automation
otopark/otopark/Properties/AssemblyInfo.cs
1,390
C#
//------------------------------------------------------------------------------ // Microsoft Windows Presentation Foudnation // Copyright (c) Microsoft Corporation, 2009 // // Description: // Definition of the ICyclicBrush interface used to interact with Brush // objects whose content can point back into the Vi...
28.875
80
0.5671
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/wpf/src/Core/CSharp/System/Windows/Media/ICyclicBrush.cs
693
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class KeepUpright : MonoBehaviour { private void Update () { // Keep self upright transform.rotation = Quaternion.identity; } }
18.384615
49
0.707113
[ "MIT" ]
denniscarr/dfc291_CodeLab1_final
Static/Assets/Scripts/KeepUpright.cs
241
C#
//---------------------------------------------- // MeshBaker // Copyright © 2011-2012 Ian Deane //---------------------------------------------- using UnityEngine; using System.Collections; using System.IO; using System; using System.Collections.Specialized; using System.Collections.Generic; usin...
59.448753
611
0.619682
[ "Apache-2.0" ]
lmj921/PerformanceExample
PerformanceExample/Assets/MeshBaker/scripts/Editor/MB3_TextureBakerEditorInternal.cs
42,923
C#
using System; using System.Linq; using LinqToDB.Data; using NUnit.Framework; namespace Tests.xUpdate { using LinqToDB; using Model; public partial class MergeTests { [Test, MergeUpdateWithDeleteDataContextSource] public void SameSourceUpdateWithDelete(string context) { using (var db = new TestDataConn...
26.236531
103
0.618151
[ "MIT" ]
BlackballSoftware/linq2db
Tests/Linq/Update/MergeTests.Operations.UpdateWithDelete.cs
19,968
C#
// <copyright file="Benchmark1.cs" company="Endjin Limited"> // Copyright (c) Endjin Limited. All rights reserved. // </copyright> #pragma warning disable namespace FormatDraft201909Feature.ValidationOfIRs { using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Diagnosers; ...
30.772727
110
0.604136
[ "Apache-2.0" ]
corvus-dotnet/Corvus.JsonSchema
Solutions/Corvus.JsonSchema.Benchmarking/201909/FormatDraft201909/ValidationOfIRs/Benchmark1.cs
1,354
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; namespace Microsoft.Marketplace.SaaS.Models { /// <summary> The PlanComponents. </summary> public partial class PlanCompo...
35.194444
143
0.695343
[ "MIT" ]
Azure/commercial-marketplace-client-dotnet
src/Microsoft.Marketplace.SaaS/Generated/Models/PlanComponents.cs
1,267
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Aspose" file="Resolution.cs"> // Copyright (c) 2018 Aspose.BarCode for Cloud // </copyright> // <summary> // Permission is hereby granted, free of charge, to any person obta...
40.384615
119
0.594286
[ "MIT" ]
mmsajjad-aspose/aspose-barcode-cloud-dotnet
src/Model/Resolution.cs
2,625
C#
namespace System { [Serializable()] public class NullReferenceException : SystemException { public NullReferenceException() : base() { } public NullReferenceException(String message) : base(message) { } public N...
19.416667
80
0.532189
[ "Apache-2.0" ]
AustinWise/Netduino-Micro-Framework
Framework/Subset_of_CorLib/System/NullReferenceException.cs
466
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace WebAppWithWebJobsVS.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } public ActionResult Abou...
19.533333
67
0.569966
[ "Apache-2.0" ]
appveyor-tests/package-web-app-with-web-jobs
WebAppWithWebJobsVS/Controllers/HomeController.cs
588
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Engine.Editing { public class CallbackEditableProperty<T> : EditableProperty { private String name; private Func<T> getGenericValue; private Action<...
26.586207
183
0.46725
[ "MIT" ]
AnomalousMedical/Engine
Engine/Editing/CallbackEditableProperty.cs
3,086
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...
41.394958
178
0.655298
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/LexModelBuildingService/Generated/Model/Internal/MarshallTransformations/GetBotVersionsResponseUnmarshaller.cs
4,926
C#
using System; using System.Runtime.CompilerServices; using static ZstdSharp.UnsafeHelper; namespace ZstdSharp.Unsafe { public static unsafe partial class Methods { public static void ZSTD_fillHashTable(ZSTD_matchState_t* ms, void* end, ZSTD_dictTableLoadMethod_e dtlm) { ZSTD_compres...
41.119363
181
0.476551
[ "MIT" ]
CHeavyarms/ZstdSharp
src/ZstdSharp/Unsafe/ZstdFast.cs
31,004
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using Avalonia.Data.Converters; namespace WalletWasabi.Gui.Converters { public class ShouldDisplayValueConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo cul...
21.259259
97
0.745645
[ "MIT" ]
21isenough/WalletWasabi
WalletWasabi.Gui/Converters/ShouldDisplayValueConverter.cs
576
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using sanjigen.Engine.MathHelpers; namespace sanjigen.Engine { public class Camera { public Vector3 Position { get; set; } public Vector3 Target { get; set; } } }
19.3125
45
0.702265
[ "MIT" ]
azunyuuuuuuu/sanjigen
Engine/Camera.cs
311
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
45.414673
285
0.565198
[ "MIT" ]
Cardsareus/azure-sdk-for-net
sdk/network/Microsoft.Azure.Management.Network/src/Generated/ExpressRouteLinksOperations.cs
28,475
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.IO; using System.Text; using System.Xml.Schema; using System.Xml.XPath; using System.Diagnostics; using...
36.736782
193
0.520206
[ "MIT" ]
939481896/dotnet-corefx
src/System.Private.Xml/src/System/Xml/Core/XsdValidatingReader.cs
96,581
C#
using System; using System.Collections.Generic; using System.Threading; using Cosmos.TestRunner.Core; namespace Cosmos.TestRunner.UI { partial class MainWindowHandler { private Thread TestEngineThread = null; public void RunTestEngine() { TestEngineThread = new Thread(TestE...
23.71875
66
0.604743
[ "BSD-3-Clause" ]
mmkhmmkh/Cosmos
Tests/Cosmos.TestRunner.UI/MainWindowHandler.TestEngine.cs
761
C#
/* * The MIT License (MIT) * Copyright (c) Arturo Rodriguez All rights reserved. * 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 t...
45.890951
540
0.525203
[ "MIT" ]
CoFlows-Quant/CoFlows-Quant
CoFlows.Server/Startup.cs
19,781
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace CookieAuthenticationAndValidation.Controllers { public class HomeController : Controller { [AllowAnonymous] public IActionResult Index() { return View(); } [Authorize(Roles ...
20.962963
55
0.588339
[ "Apache-2.0" ]
blowdart/devIntersectionEurope2016
src/CookieAuthenticationAndValidation/Controllers/HomeController.cs
568
C#
using System; using System.ComponentModel; namespace Nuclear.TestSite.TestSuites.Base { #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member [EditorBrowsable(EditorBrowsableState.Never)] public class TestSuite { #region methods [EditorBrowsable(EditorBro...
36.933333
128
0.736462
[ "MIT" ]
MikeLimaSierra/Nuclear.TestSite
src/Nuclear.TestSite/TestSuites/Base/TestSuite.cs
1,110
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.Globalization; /// <summary> /// Clone /// </summary> public class DateTimeFormatInfoClon...
35.129167
156
0.606097
[ "MIT" ]
Rayislandstyle/dotnet-coreclr
tests/src/CoreMangLib/cti/system/globalization/datetimeformatinfo/datetimeformatinfoclone.cs
8,431
C#
using System; using System.Text; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using SharePointPnP.Modernization.Framework.Transform; using SharePointPnP.Modernization.Framework.Telemetry.Observers; using Microsoft.SharePoint.Client; namespace SharePointPnP.Modernization.Framew...
31.19209
126
0.573266
[ "MIT" ]
CaPa-Creative-Ltd/sp-dev-modernization
Tools/SharePoint.Modernization/SharePointPnP.Modernization.Framework.Tests/Transform/CommonTests/CommonSPWebPartPageTests.cs
5,523
C#
using UnityEngine; using System.Collections; public class SimpleFollow : MonoBehaviour { [SerializeField] bool trackX; [SerializeField] bool trackY; [SerializeField] bool trackZ; public float xOffset; public float yOffset; public float zOffset; public GameObject target; private void LateUpdate() { if(t...
19.272727
53
0.713836
[ "Apache-2.0" ]
takemurakimio/missing-part-1
Assets/_scripts/Tools/SimpleFollow.cs
638
C#
using System.ComponentModel; using PrtgAPI.Attributes; namespace PrtgAPI { enum HtmlFunction { [Undocumented] [Description("controls/channeledit.htm")] ChannelEdit, [Undocumented] [Description("controls/objectdata.htm")] ObjectData, [Undocumented] ...
23.361111
135
0.611177
[ "MIT" ]
loftwah/PrtgAPI
src/PrtgAPI/Enums/Functions/HtmlFunction.cs
843
C#
using System; using CommandLine; using CommandLine.Text; namespace Hillinworks.Utilities.GetTime { internal class Options { [ValueOption(0)] [Option(HelpText = "The base time, could be an absolute time, or 'now'(default), 'next-second', 'tomorrow' etc.", DefaultValue = "now")] public string Base { get; set; }...
55.737705
181
0.709412
[ "MIT" ]
hillin/gettime
Source/Options.cs
3,402
C#
#region License Statement // Copyright (c) L.A.B.Soft. All rights reserved. // // The use and distribution terms for this software are covered by the // Common Public License 1.0 (http://opensource.org/licenses/cpl.php) // which can be found in the file CPL.TXT at the root of this distribution. // By using this...
32.833333
152
0.672871
[ "Apache-2.0" ]
dotnetprojects/textile.net
Textile/States/UnorderedListFormatterState.cs
1,773
C#
using System; using EfsTools.Qualcomm.QcdmCommands; using EfsTools.Qualcomm.QcdmCommands.Requests.Efs; using EfsTools.Qualcomm.QcdmCommands.Responses.Efs; namespace EfsTools.Qualcomm.QcdmManagers { internal class QcdmEfsManager { private readonly WeakReference<QcdmManager> _manager; ...
34.017986
111
0.450037
[ "MIT" ]
AndroPlus-org/EfsTools
EfsTools/Qualcomm/QcdmManagers/QcdmEfsManager.cs
9,459
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright company="Chocolatey" file="ProgressService.cs"> // Copyright 2014 - Present Rob Reynolds, the maintainers of Chocolatey, and RealDimensions Software, LLC // </copyright> // ----------...
33.393939
120
0.500907
[ "Apache-2.0" ]
dhtdht020/ChocolateyGUI
Source/ChocolateyGui/Services/ProgressService.cs
5,512
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using QuickLogger.Extensions.NetCore.Configuration; using QuickLogger.Extensions.Wrapper.Application.Services; using System; using System.Net; namespace QuickLogger.Extensions.NetCore { public static class QuickLoggerExtensions ...
38.407407
143
0.737705
[ "Apache-2.0" ]
JTOne123/QuickLogger
library/wrappers/dotnet/QuickLogger/QuickLogger.Extensions.NetCore/QuickLoggerExtensions.cs
1,039
C#
namespace BoardGameGeekIntegration.Models { public class SimilarBoardGame { public int Id { get; set; } public string Name { get; set; } public string ImageUrl { get; set; } } }
23.777778
44
0.61215
[ "MIT" ]
WTobor/BoardGamesNook
BoardGameGeekIntegration/Models/SimilarBoardGame.cs
216
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ActionReload : ActionInfo { // Start is called before the first frame update protected override void OnAttack() { base.OnAttack(); if (SourceEqp != null) { Reload((EqpWeapon)Sour...
25.8
85
0.655814
[ "MIT" ]
sdasd30/TSSG
Assets/Scripts/Entity/CharacterActions/Actions/ActionReload.cs
647
C#
using System; using College_GeneratorAccounts.Services; namespace College_GeneratorAccounts.Model { public class Account { public Guid Id { get; set; } public string Username { get; init; } public string Email { get; init; } public string Password { get; init; } public string Firstname { get; init; } p...
36.822581
171
0.689882
[ "MIT" ]
BlaynerProgramm/Generate-Account-for-Moodle
College_GeneratorAccounts/Model/Account.cs
2,428
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using ContactsApi.Models; using ContactsApi.Repository; // For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace Contac...
26.337838
115
0.539251
[ "MIT" ]
godwinlarry/contact-mvc-webapi
ContactsApi/src/ContactsApi/Controllers/ContactController.cs
1,951
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Build.UnitTests.OM.ObjectModelRemoting { using System; using System.Collections.Generic; using System.Runtime.CompilerServices; usi...
45.830882
124
0.639339
[ "MIT" ]
Youssef1313/msbuild
src/Build.OM.UnitTests/ObjectModelRemoting/RemoteProjectsProviderMock/ConstructionLinkMocks/ProjectElemetExportHelper.cs
6,235
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...
45.1875
463
0.777778
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/MsCorlib/Sources/System.Security.Permissions.IBuiltInPermission.cs
2,169
C#