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 Newtonsoft.Json; using System; namespace SimilarWeb.Api.Connector.Models.SegmentAnalysis { /// <summary> /// Метаданные ответа. /// </summary> public class Meta { #region Свойства [JsonProperty("request")] public Request Request { get; set; } [JsonProperty("...
20.285714
57
0.588028
[ "MIT" ]
wm-russia-software/SimilarWeb.Api.Connector
SimilarWeb.Api.Connector/SimilarWeb.Api.Connector/Models/SegmentAnalysis/Meta.cs
594
C#
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
30.943396
76
0.668902
[ "Apache-2.0" ]
achal3754/azure-sdk-for-net
src/SqlManagement/Generated/Models/DatabaseCopyGetResponse.cs
1,640
C#
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Views; using PhotoStationFrame.Api; using PhotoStationFrame.Api.Models; using PhotoStationFrame.Uwp.Extensions; using PhotoStationFrame.Uwp.Settings; using PhotoStationFrame.Uwp.ViewObjects; using System; using System.Collections.Obje...
39.530201
197
0.565874
[ "MIT" ]
Alex-Witkowski/PhotoStationFrame
PhotoStationFrame.Uwp/ViewModels/MainViewModel.cs
5,892
C#
using System; using System.Collections; using System.Collections.Generic; using StrawberryShake; namespace CoolStore.WebUI.Host { [System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")] public partial class GetProducts : IGetProducts { public GetProducts( global::C...
25.714286
94
0.690741
[ "MIT" ]
ANgajasinghe/practical-dapr
src/WebUI/CoolStore.WebUI.Host/GraphQL/Generated/GetProducts.cs
542
C#
using Microsoft.EntityFrameworkCore.Migrations; namespace Psy.Migrations { public partial class Remove_IsActive_From_Role : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "IsActive", tab...
26.416667
71
0.574132
[ "MIT" ]
gnios/psy
aspnet-core/src/Psy.EntityFrameworkCore/Migrations/20170703134115_Remove_IsActive_From_Role.cs
636
C#
///////////////////////////////////////////////////////////////////////////////// // // vp_AngleBob.cs // © Opsive. All Rights Reserved. // https://twitter.com/Opsive // http://www.opsive.com // // description: this script will rotate its gameobject in a wavy (sinus / bob) // motion. NOTE: this script currently ca...
25.688889
156
0.639706
[ "MIT" ]
PotentialGames/Cal-tEspa-l
BRGAME/Assets/UFPS/Base/Scripts/Core/Motion/vp_AngleBob.cs
2,315
C#
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MaeFlowers { public class Program { public sta...
25.62963
70
0.644509
[ "MIT" ]
mrsantons/MaeFlowers
MaeFlowers/Program.cs
692
C#
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright not...
40.071429
87
0.725936
[ "Apache-2.0" ]
econmed/ImageServer20
Enterprise/Common/Audit/IAuditService.cs
2,246
C#
/** * Copyright (c) 2020-2021 LG Electronics, Inc. * * This software contains code licensed as described in LICENSE. * */ using System.Collections; using SimpleJSON; using UnityEngine; public class WaitingPointEffector : TriggerEffector { public override string TypeName { get; } = "WaitingPoint"; public...
30.587302
106
0.65179
[ "Apache-2.0", "BSD-3-Clause" ]
Carteav/simulator
Assets/Scripts/Controllers/Triggers/WaitingPointEffector.cs
1,927
C#
namespace AnimalHierarchy { using System; using System.Linq; public abstract class Animal : ISound { //fields private int age; private string name; private Sex gender; //constructors public Animal(int age, string name) { this.Age = ag...
21.057143
94
0.400271
[ "MIT" ]
juvemar/OOPPrincipiles1
03. AnimalHierarchy/Animal.cs
1,476
C#
using System.Reflection; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.MSHTMLApi { /// <summary> /// Interface ISecureUrlHost /// SupportByVersion MSHTML, 4 /// </summary> [SupportByVersion("MSHTML", 4)] [EntityType(EntityType.IsInte...
32.737226
169
0.705463
[ "MIT" ]
DominikPalo/NetOffice
Source/MSHTML/Interfaces/ISecureUrlHost.cs
4,487
C#
/* * Copyright (c) Contributors, http://whitecore-sim.org/, http://aurora-sim.org, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ...
45.685185
107
0.682205
[ "BSD-3-Clause" ]
WhiteCoreSim/WhiteCore-Dev
WhiteCore/Framework/Modules/IWindModule.cs
2,467
C#
// Copyright © Microsoft Corporation. All Rights Reserved. // This code released under the terms of the // Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.) using System; using System.Collections.Generic; using System.Globalization; using System.IO; using Microsoft.TeamFoundation.Migrati...
31.298387
154
0.522546
[ "MIT" ]
adamdriscoll/TfsIntegrationPlatform
Development/Adapters/Addins/SemaphoreFileAnalysisAddin/SubTreeLabel.cs
3,884
C#
using SX.WebCore.MvcControllers.Abstract; using System.Web.Mvc; namespace LR.WebUI.Areas.Admin.Controllers { [Authorize] public abstract class BaseController : SxBaseController { } }
19
59
0.708134
[ "MIT" ]
simlex-titul2005/leavingrussia.ru
LR.WebUI/Areas/Admin/Controllers/BaseController.cs
211
C#
using UnityEngine; using UnityEngine.UI; using Wikitude; public class ContinuousRecognitionController : SampleController { public ImageTracker Tracker; public Text buttonText; private bool _trackerRunning = false; private bool _connectionInitialized = false; private double _recognitionInterval = ...
30.144928
109
0.676923
[ "MIT" ]
EnricoSandri/AR-NavMesh
Assets/Wikitude/Samples/Scripts/ContinuousRecognitionController.cs
2,082
C#
using System.Windows.Forms; namespace Analogy.UserControls { partial class AnalogyColumnsMatcherUC { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resour...
53.21519
261
0.630431
[ "MIT" ]
Analogy-LogViewer/Analogy.LogViewer.Syncfusion
Analogy/UserControls/AnalogyColumnsMatcherUC.Designer.cs
12,614
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
33.212766
117
0.647982
[ "Apache-2.0" ]
damianh/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/LocalGatewayVirtualInterfaceGroup.cs
3,122
C#
/******************************************************************************************* * * raylib [core] example - Basic window * * Welcome to raylib! * * To test examples, just press F6 and execute raylib_compile_execute script * Note that compiled executable is placed in the same folder as .c file * * ...
31.139535
96
0.578043
[ "MIT" ]
LodisAIE/MathForGames2022
MathForGames/Program.cs
1,341
C#
namespace E02.Composite { public interface IGiftOperations { void Add(GiftBase gift); bool Remove(GiftBase gift); } }
13.545455
36
0.61745
[ "MIT" ]
Iceto04/SoftUni
C# OOP/11. Design Patterns/DesignPatterns/E02.Composite/IGiftOperations.cs
151
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
31.05
88
0.60306
[ "ECL-2.0", "Apache-2.0" ]
dimpu47/pulumi-gcp
sdk/dotnet/BigQuery/Inputs/DatasetAccessViewArgs.cs
1,242
C#
using System.Reflection; using System.Resources; 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("Gravity Tide Corr...
38.394737
84
0.746402
[ "MIT" ]
adienakhmad/Grav-TC
GravityTidalAcceleretaion/Properties/AssemblyInfo.cs
1,462
C#
using System; using NSubstitute; using NUnit.Framework; namespace Mirror.Tests { [TestFixture] public class NetworkAuthenticatorTest : ClientServerSetup<MockComponent> { NetworkAuthenticator serverAuthenticator; NetworkAuthenticator clientAuthenticator; Action<INetworkConnection> s...
31.433333
99
0.657476
[ "MIT" ]
Jobus0/MirrorNG
Assets/Tests/Runtime/NetworkAuthenticatorTest.cs
2,829
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...
31.614035
106
0.679245
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Redshift/Generated/Model/DeleteEventSubscriptionRequest.cs
1,802
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using System.Collections.Generic; using SharedLibrary.Services; using SharedLibrary.Models; using Newtonsoft.Json; using Microsoft.Extensions.Caching.Memory; using SharedLibrary.Descriptors; using SharedLibrary.Enum...
45.185185
162
0.568761
[ "MIT" ]
sapoi/MetaRMS
Core/Pages/Rights/Get.cshtml.cs
10,980
C#
using System; using System.Activities; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using Microsoft.Office.Interop.Excel; using OpenRPA.Interfaces; ...
47.294574
187
0.597115
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
IBM/openrpa
OpenRPA.Office/Activities/CloseWorkbook.cs
6,103
C#
using System; using System.IO; using System.Linq; using System.Collections.Generic; using System.Reflection; using Mono.Cecil; using Mono.Cecil.Cil; using Mono.Cecil.Rocks; using Unity.CompilationPipeline.Common.Diagnostics; using Unity.CompilationPipeline.Common.ILPostProcessing; using ILPPInterface = Unity.Compilatio...
40.940476
165
0.589997
[ "MIT" ]
Kynake/com.unity.netcode.gameobjects
com.unity.netcode.gameobjects/Editor/CodeGen/INetworkSerializableILPP.cs
6,878
C#
// <auto-generated /> using System; using DataAccess.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Dat...
33.473684
76
0.383423
[ "Apache-2.0" ]
alex-coupe/MarketingTool
source/MarketingTool/DataAccess/Migrations/20210201183111_AddDescriptionToTemplateSynonyms.Designer.cs
22,262
C#
#region Usings using System; using System.Collections.Generic; using System.ComponentModel; using ModInstallation.Annotations; #endregion namespace ModInstallation.Interfaces.Mods { public interface IFileInformation : INotifyPropertyChanged { [CanBeNull] string FileName { get; } [Ca...
20.40625
81
0.661562
[ "MIT" ]
asarium/FSOLauncher
Libraries/ModInstallation/Interfaces/Mods/IFileInformation.cs
655
C#
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
48.06079
136
0.609094
[ "Apache-2.0" ]
InitRoot/sandbox-attacksurface-analysis-tools
NtObjectManager/Cmdlets/Object/GetNtAccessMaskCmdlet.cs
15,814
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Claims; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; using EventStore.Client; using EventStore.Client.Streams; using EventStore.Common....
41.00295
175
0.712374
[ "Apache-2.0", "CC0-1.0" ]
BearerPipelineTest/EventStore
src/EventStore.Core/Services/Transport/Grpc/Streams.BatchAppend.cs
13,900
C#
// Copyright (c) Sven Groot (Ookii.org) 2009 // BSD license; see LICENSE for details. using System; using System.Collections.Generic; using System.Text; namespace Ookii.Dialogs.WinForms { /// <summary> /// Represents the state of the progress bar on the task dialog. /// </summary> public enum ProgressB...
21.357143
68
0.543478
[ "BSD-3-Clause" ]
ailianyiren/ookii-dialogs-winforms
src/Ookii.Dialogs.WinForms/ProgressBarState.cs
598
C#
using System; using System.Collections.Generic; namespace PriorityQueue { class Program { static void Main(string[] args) { Console.WriteLine("Create a priority queue:"); PriorityQueue<Package> pq = new PriorityQueue<Package>(); Console.WriteLine( ...
37.96875
83
0.508916
[ "MIT" ]
robyscar/C-_10_AllInOne4Dummies_sourcecode
source/BK01/CH08/PriorityQueue/Program.cs
7,298
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
42.56
81
0.663534
[ "MIT" ]
codepic/Codepic.AspNetCore.Mvc.TagHelpers.Polymer
samples/MvcSandbox/obj/Release/netcoreapp1.1/MvcSandbox.AssemblyInfo.cs
1,064
C#
using QbSync.QbXml; using QbSync.QbXml.Objects; using QbSync.WebConnector.Core; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace QbSync.WebConnector.Impl { /// <summary> /// Helper to receive more than one response from the WebConnector. ...
38.536082
145
0.616372
[ "MIT" ]
dteske25/quickbooks-sync
src/WebConnector/Impl/GroupStepQueryResponseBase.cs
3,740
C#
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Vokabular.ProjectParsing.Model.Entities; using Vokabular.ProjectParsing.Model.Parsers; namespace Vokabular.ProjectImport.Managers { public class FilteringManager { private readonly ImportedProjectMetadataM...
39.567568
137
0.597336
[ "BSD-3-Clause" ]
RIDICS/ITJakub
UJCSystem/Vokabular.ProjectImport/Managers/FilteringManager.cs
2,930
C#
using UnityEngine; using System.Collections.Generic; using UnityEditor; using UnityEditorInternal; using System; namespace ScriptForge { [Serializable, InDevelopment] public class ResourcesWidget : FolderFilterWidget { private const string RESOURCES_FOLDER_NAME = "/Resources"; private GUIC...
30.748428
163
0.538965
[ "MIT" ]
ByronMayne/ScriptForge
proj.unity/Assets/Script Forge/Editor/Widgets/ResourcesWidget.cs
4,891
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("Wi...
36.37931
84
0.745024
[ "MIT" ]
pwcasdf/WindowsML_IoTButton
WindowsML_IoTButton/Properties/AssemblyInfo.cs
1,058
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Globalization; using System.Management.Automation; using System.Management.Automation.Host; using ...
30.664671
135
0.487795
[ "MIT" ]
Aareon/PowerShellium
src/Microsoft.PowerShell.Commands.Utility/commands/utility/ReadConsoleCmdlet.cs
5,121
C#
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to us...
37.857143
102
0.748113
[ "MIT" ]
Keroosha/Amplifier.NET
src/Amplifier.Net/Decompiler/CSharp/Resolver/DynamicMemberResolveResult.cs
2,122
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { EnemyManager enemyM; // Use this for initialization void Start () { enemyM = GetComponent<EnemyManager> (); enemyM.commenceAttack (); } // Update is called once per frame void Upda...
16.409091
42
0.711911
[ "Unlicense" ]
apetersell/GPP_AndrewPetersell
TopDownShmooter/Assets/Scripts/GameManager.cs
363
C#
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using IkeMtz.NRSRx.Core.Web; namespace NRSRx_WebApi_EF { public class VersionDefinitions : IApiVersionDefinitions { public const string v1_0 = "1.0"; [ExcludeFromCodeCoverage] public IEnumerable<string> Versions => new[] { v1_0 }...
21.866667
58
0.746951
[ "MIT" ]
peyoquintero/NRSRx
templates/NRSRx_WebApi_EF/VersionDefinitions.cs
328
C#
using System; using System.Configuration; using System.Security; using Microsoft.Dynamics365.UIAutomation.Api.UCI; using Microsoft.Dynamics365.UIAutomation.Browser; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Dynamics365.UIAutomation.Sample.UCI { [TestClass] public class ...
47.131148
213
0.649391
[ "MIT" ]
operep/Easy-Repro-Example
Microsoft.Dynamics365.UIAutomation.Sample/UCI/Labs/TestsBase/1_Lab_TestsClass.cs
2,877
C#
using System; using System.IO; using System.Runtime.InteropServices; namespace Ryujinx.Common { public static class BinaryReaderExtensions { public unsafe static T ReadStruct<T>(this BinaryReader reader) where T : struct { int size = Marshal.SizeOf<T>(); by...
23.526316
83
0.525727
[ "Unlicense" ]
AlexLavoie42/Ryujinx
Ryujinx.Common/Extensions/BinaryReaderExtensions.cs
896
C#
using Autobot.Data.Model; using MediatR; using System.Collections.Generic; namespace Autobot.Queries.Query { public class GetUserListQuery : IRequest<List<UserDetails>> { public int PageNumber { get; set; } public int PageSize { get; set; } public string Filter { get; set; } pu...
25.6875
63
0.649635
[ "MIT" ]
JaspreetSinghChahal/dotnetcore-entityframework-webapi
Autobot.Queries/Query/GetUserListQuery.cs
413
C#
using Microsoft.Win32; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HedgeModManager { public static class RegistryConfig { private const string ConfigPath = @"SOFTWARE\HEDGEMM"; public static string LastGameDirec...
25.947368
79
0.618661
[ "MIT" ]
DavidPires/HedgeModManager
HedgeModManager/Config/RegistryConfig.cs
988
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
37.5
105
0.768667
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-vpc/Vpc/Transform/V20160428/AddBandwidthPackageIpsResponseUnmarshaller.cs
1,500
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; namespace BizHawk.Client.EmuHawk { public partial class ExceptionBox : Form { public ExceptionBox(Exception ex) { InitializeC...
19.16129
73
0.663861
[ "MIT" ]
CognitiaAI/StreetFighterRL
emulator/Bizhawk/BizHawk-master/BizHawk.Client.EmuHawk/CustomControls/ExceptionBox.cs
1,784
C#
using System; using BACnet.Types; using BACnet.Types.Schemas; namespace BACnet.Ashrae { public partial class ObjectPropertyReference { public ObjectId ObjectIdentifier { get; private set; } public PropertyIdentifier PropertyIdentifier { get; private set; } public Option<uint> PropertyArrayIndex { get; priva...
34.829787
131
0.775809
[ "MIT" ]
LorenVS/bacstack
BACnet.Ashrae/Generated/ObjectPropertyReference.cs
1,637
C#
namespace Owin.Scim.Tests.Integration.Users.Create { using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using Machine.Specifications; using Model; public class with_null_schema : using_a_scim_server { Establish context = () => ...
27.508772
104
0.591837
[ "MIT" ]
Mysonemo/Owin.Scim
source/_tests/Owin.Scim.Tests/Integration/Users/Create/with_null_schema.cs
1,568
C#
using Sabio.Data.Providers; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sabio.Data { public sealed class DataProvider { private DataProvider() { } public static IDao Instance ...
17.04
39
0.598592
[ "MIT" ]
angarola/CAshowroom
Sabio.Data/DataProvider.cs
428
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.EntityFrameworkCore; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration;...
31.827586
143
0.663055
[ "MIT" ]
BrevinCronk98/National-Park-API
Startup.cs
1,848
C#
namespace Enyim.Caching.Memcached.Results.StatusCodes { public enum StatusCodeEnums { Success = 0, NotFound } } #region [ License information ] /* ************************************************************ * * © 2010 Attila Kiskó (aka Enyim), © 2016 CNBlogs, © 2020 VIEApps.net * ...
34.896552
79
0.579051
[ "Apache-2.0" ]
shortendarragh-mt/Enyim.Caching
Memcached/Results/StatusCodes/StatusCodeEnums.cs
990
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using EntityModeler.EntityFrameworkCore; namespace EntityModeler.Migrations { [DbContext(typeof(EntityModelerDbContex...
31.812897
117
0.441643
[ "MIT" ]
Ppiwow/EntityModeler
aspnet-core/src/EntityModeler.EntityFrameworkCore/Migrations/20170608053244_Upgraded_To_Abp_2_1_0.Designer.cs
35,028
C#
using Markdig; using Markdig.SyntaxHighlighting; using System; using System.Drawing; using System.IO; using System.Windows.Forms; namespace modify { public partial class modifyForm : Form { public modifyForm() { InitializeComponent(); } private string resourcePath ...
35.377143
113
0.463011
[ "MIT" ]
jeong57281/ps-helper
modify/modifyForm.cs
12,566
C#
#if UNITY_EDITOR || UNITY_STANDALONE || UNITY_ANDROID using System; using System.Runtime.InteropServices; namespace Cloo.Bindings { [System.Security.SuppressUnmanagedCodeSecurity] public class CL11 : CL10, ICL11 { #region External [DllImport(libName, EntryPoint = "clCreateSubBuffe...
59.117241
260
0.631241
[ "Unlicense" ]
longleggedone/Studio2PhysicalShadow
StudioPrototype/Assets/Fluvio/_Main/PlatformSource/Cloo/Bindings/CL11.cs
8,572
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DatingSimCharacterPortrait : MonoBehaviour { SpriteRenderer sr; void Start () { sr = GetComponent<SpriteRenderer>(); sr.sprite = DatingSimHelper.getSelectedCharacter().defaultPortait; } ...
23.461538
77
0.677049
[ "MIT" ]
Trif4/NitoriWare
Assets/Microgames/DatingSim/Scripts/DatingSimCharacterPortrait.cs
612
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
46.827004
199
0.510002
[ "MIT" ]
AzureDataBox/azure-powershell
src/StackAdmin/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/ProviderRegistrations/AddResourceProviderRegistration.cs
10,864
C#
#region License /* MIT License Copyright © 2006 The Mono.Xna Team 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 right...
32.035088
178
0.551205
[ "MPL-2.0" ]
bsamuels453/With-Fire-and-Iron
MonoGameUtility/Rectangle.cs
7,307
C#
/* Copyright (C) 2008 Toyin Akin (toyin_akin@hotmail.com) This file is part of QLNet Project https://github.com/amaggiulli/qlnet QLNet is free software: you can redistribute it and/or modify it under the terms of the QLNet license. You should have received a copy of the license along with this program; if not, ...
35.078947
122
0.72093
[ "BSD-3-Clause" ]
SalmonTie/QLNet
src/QLNet/Indexes/Ibor/Dkklibor.cs
1,333
C#
using Sandbox; using System.Collections.Generic; namespace Frostrial { [GameResource( "Music", "music", "Frostrial Music", Icon = "approval" )] public partial class Music : GameResource { public static IReadOnlyDictionary<string, Music> All => _all; internal static Dictionary<string, Music> _all = new(); p...
21.513514
73
0.658291
[ "MIT" ]
yuberee/Frostrial
code/assets/Music.cs
798
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Runtime.Versioning; using System.Threading.Tasks; using NuGet.Client.VisualStudio.Models; using NuGet.Visua...
38.235294
239
0.628077
[ "ECL-2.0", "Apache-2.0" ]
Squirrel/NuGet
src/NuGet.Client.V2.VisualStudio/VsSourceRepositoryManager.cs
5,202
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.IO; using System.Linq; namespace Semmle.Extraction.CSharp.Entities { internal class UserOperator : Method { protected UserOperator(Context cx, IMethodSymbol init) : base(cx, init) { } public over...
37.451777
147
0.502575
[ "MIT" ]
00mjk/codeql
csharp/extractor/Semmle.Extraction.CSharp/Entities/UserOperator.cs
7,378
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DataAccessLayer.Models { public class User { public User() { CreatedAt = DateTime.UtcNow; Id = Guid.NewGuid(); ...
27.375
79
0.592955
[ "MIT" ]
CECS-491A/SSO
Backend/DataAccessLayer/Models/User.cs
1,535
C#
using System; using System.Threading.Tasks; using Rg.Plugins.Popup.Animations; using Rg.Plugins.Popup.Enums; using Rg.Plugins.Popup.Interfaces.Animations; using Rg.Plugins.Popup.Services; using Xamarin.Forms; namespace Rg.Plugins.Popup.Pages { public class PopupPage : ContentPage { #region Private ...
31.845902
205
0.609287
[ "MIT" ]
aliyailina/Rg.Plugins.Popup
Rg.Plugins.Popup/Pages/PopupPage.cs
9,715
C#
using MigrationTool.VersionMigrationTool; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EntryPoint { class StartUp { static void Main(string[] args) { if (args.Length != 2) ...
34.434783
105
0.53367
[ "MIT" ]
joaogl/VuejsConverter
EntryPoint/StartUp.cs
2,378
C#
using System; using System.Net.Http; using System.Net.Http.Json; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; using MovieDB.Shared.Models.Accounts; namespace MovieDB.Client.Blazor.Services { public interface IAccountService { AuthenticateResponse? User { get; } bool IsAu...
30.471429
94
0.644163
[ "MIT" ]
eisnstein/MovieDB
MovieDB.Client.Blazor/Services/AccountService.cs
2,133
C#
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
28.322917
76
0.571166
[ "Apache-2.0" ]
CerebralMischief/azure-sdk-for-net
src/ServiceManagement/SiteRecovery/SiteRecoveryManagement/Generated/Models/ServiceError.cs
2,719
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace json3 { internal class Root { /// <summary> /// /// </summary> public string id { get; set; } /// <summary> /// /// </summary> public string ...
15.772727
37
0.564841
[ "MIT" ]
Baka632/SquareMinecraftLauncherCore
SquareMinecraftLauncherCore/json/json3.cs
349
C#
using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// <summary> /// Datas Data Structure. /// </summary> [Serializable] public class Datas : AopObject { /// <summary> /// 指标数据区 /// </summary> ...
22.5
53
0.51746
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/Datas.cs
648
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> //--...
44.273504
210
0.610425
[ "MIT" ]
gregg-miskelly/VSServerReadyExtension
src/VSServerReadyLauncher/PackageResources.Designer.cs
5,182
C#
using Miic.Base; using Miic.Base.Setting; using Miic.DB.Setting; using Miic.DB.SqlObject; using Miic.Friends.Moments; using System; using System.Data; namespace Miic.Friends.Common { public class PersonDateView:GeneralDateView { /// <summary> /// 用户ID /// </summary> public stri...
46.833333
161
0.53274
[ "MIT" ]
wswmjc/webfriends
MIIC_FRIENDS/DVO/Common/Date/PersonDateView.cs
2,828
C#
// Copyright (c) 2019, WebsitePanel-Support.net. // Distributed by websitepanel-support.net // Build and fixed by Key4ce - IT Professionals // https://www.key4ce.com // // Original source: // Copyright (c) 2015, Outercurve Foundation. // All rights reserved. // // Redistribution and use in source and binary f...
39.342593
157
0.639209
[ "BSD-3-Clause" ]
Key4ce/Websitepanel
WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/WebSitesAddPointer.ascx.cs
4,249
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class EndOfVideoTutorial2 : MonoBehaviour { private void Start() { GetComponent<AudioSource>().Play(); //audio.Play(); StartCoroutine(myTimer()); }...
20.25
65
0.63786
[ "MIT" ]
vinimussio1/comp-vr
Assets/Sample/Scripts/EndOfVideoTutorial2.cs
488
C#
using System; using UnityEngine; [AddComponentMenu("NGUI/Examples/Item Attachment Point")] public class InvAttachmentPoint : MonoBehaviour { public InvBaseItem.Slot slot; private GameObject mPrefab; private GameObject mChild; public GameObject Attach(GameObject prefab) { if (this.mPrefab != prefab) { th...
24.416667
119
0.726962
[ "MIT" ]
moto2002/superWeapon
src/InvAttachmentPoint.cs
879
C#
using System; namespace Chaos.NaCl.Internal.Ed25519Ref10 { internal static partial class FieldOperations { private static Int64 load_3(byte[] data, int offset) { uint result; result = (uint)data[offset + 0]; result |= (uint)data[offset + 1] << 8; result |= (uint)data[offset + 2] << 16; return (In...
32.821138
81
0.538519
[ "Apache-2.0" ]
BlockForks/dotnetstandard-bip32
dotnetstandard-bip32/chaos.nacl/Internal/Ed25519Ref10/fe_frombytes.cs
4,039
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DotNet.Interactive.Telemetry { public static class TelemetryExtensions { public static void SendFiltered(thi...
33.045455
101
0.628611
[ "MIT" ]
Allyn69/try
Microsoft.DotNet.Interactive.Telemetry/TelemetryExtensions.cs
729
C#
/****************************************************************************** * $Id: VSIMem.cs 25805 2013-03-26 10:46:39Z tamas $ * * Name: VSIMem.cs * Project: GDAL CSharp Interface * Purpose: A sample app for demonstrating the in-memory virtual file support. * Author: Tamas Szekeres, szekerest@gmail.c...
32.504587
94
0.595823
[ "MIT" ]
TUW-GEO/OGRSpatialRef3D
gdal-1.10.0/swig/csharp/apps/VSIMem.cs
3,543
C#
using System.Text; namespace Loretta.CodeAnalysis.Lua.Test.Utilities { public static class RandomSpaceInserter { public static IEnumerable<string> Enumerate(params string[] parts) { if (parts.Length is < 1 or > 64) throw new ArgumentOutOfRangeException(nameof(parts)...
29.261905
86
0.497966
[ "MIT" ]
LorettaDevs/Loretta
src/Compilers/Lua/Test/Utilities/RandomSpaceInserter.cs
1,231
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("Gam...
37.837838
84
0.747857
[ "Unlicense" ]
wilmerbz/designpatterns
GameMemento/GameMemento.Core/Properties/AssemblyInfo.cs
1,403
C#
using System.ComponentModel.DataAnnotations; namespace Equinox.Infra.CrossCutting.Identity.Models.ManageViewModels { public class VerifyPhoneNumberViewModel { [Required] public string Code { get; set; } [Required] [Phone] [Display(Name = "Phone number")] public...
22.625
69
0.646409
[ "MIT" ]
GuilhermeEsteves/EquinoxProject
src/Equinox.Infra.CrossCutting.Identity/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs
364
C#
using System; using System.Collections.Generic; using DataStructuresLib.Basic; using DataStructuresLib.Collections.PeriodicLists2D; namespace DataStructuresLib.Collections { public static class CollectionsUtils { public static Pair<T> GetItemsPair<T>(this IReadOnlyList<T> inputsList, IPair<int> itemIn...
31.661871
127
0.551238
[ "MIT" ]
ga-explorer/GMac
DataStructuresLib/DataStructuresLib/Collections/CollectionsUtils.cs
4,403
C#
#region Copyright (c) 2019 Atif Aziz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
31.037736
89
0.648024
[ "Apache-2.0" ]
atifaziz/Arqs
src/ICliRecord.cs
1,645
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...
42.451613
301
0.608156
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/support/Microsoft.Azure.Management.Support/src/Generated/Models/ContactProfile.cs
7,896
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using WhatYouGotLibrary.Models; using WhatYouGotLibrary.Interfaces; using Microsoft.Extensions.Logging; namespace WhatY...
35.1
125
0.594268
[ "MIT" ]
200106-UTA-PRS-NET/P2-FridgeThings
WhatYouGotAPI/WhatYouGotAPI/Controllers/ReviewsController.cs
5,969
C#
/* INFINITY CODE 2013-2017 */ /* http://www.infinity-code.com */ using System; using System.Collections.Generic; using System.Text; using UnityEngine; /// <summary> /// The Google Places API allows you to query for place information on a variety of categories, such as: establishments, prominent points o...
48.962264
290
0.6436
[ "Apache-2.0" ]
Mobinlion/Asphault
Assets/Infinity Code/Online maps/Scripts/WebServices/OnlineMapsGooglePlaces.cs
36,362
C#
/* * Copyright (c) 2014, Furore (info@furore.com) and contributors * See the file CONTRIBUTORS for details. * * This file is licensed under the BSD 3-Clause license * available at https://raw.githubusercontent.com/ewoutkramer/fhir-net-api/master/LICENSE */ using Hl7.Fhir.Introspection; using Hl7.Fhir.Model; u...
37.458101
139
0.580313
[ "BSD-3-Clause" ]
bnantz/fhir-net-api
src/Hl7.Fhir.Core/Serialization/ComplexTypeWriter.cs
6,707
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.IO; using System.Reflection; using System.Diagnostics; using System.Runtime.InteropService...
32.093264
128
0.608815
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/Interop/NativeLibrary/Callback/CallbackStressTest.cs
6,194
C#
function cc_js_t(s) { if (s == "Brazil") { return "Brazil"; } if (s == "Canada") { return "Canada"; } if (s == "Italy") { return "Italy"; } if (s == "Creative Commons") { return "Creative Commons"; } if (s == "Serbia") { return "Serbia"; } if (s == "Malta") { return "Malta"; } if (s == "France") { return...
71.450704
399
0.635916
[ "MIT" ]
cc-archive/labs
docs/demos/jswidget/trunk/cc-translations.js.cs
5,146
C#
using System.Collections.Generic; using System.Text.RegularExpressions; namespace VismaTwitter { public static class FindLink { public static string Find(string text) { foreach (Match item in Regex.Matches(text, @"(http|ftp|https):\/\/([\w\-_]+(?:(?:\.[\w\-_]+)+))([\w\-\.,@?^=%&amp;:/~...
26.727273
157
0.494898
[ "MIT" ]
viidarhagen/VismaTwitter
src/LinkFinder.cs
590
C#
using System.Collections.Generic; using System.Collections.Immutable; using Panther.CodeAnalysis.Syntax; namespace Panther.CodeAnalysis.CSharp { internal class ExpressionFlattener : SyntaxVisitor<SyntaxNode> { protected readonly List<StatementSyntax> _statements = new List<StatementSyntax>(); ...
32.036364
125
0.643587
[ "MIT" ]
kthompson/panther
src/Panther/CodeAnalysis/CSharp/ExpressionFlattener.cs
1,764
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; namespace King_of_Thieves.Actors.Effects { class CThunder : CActor { public CThunder() { swapImage("thunder"); } protected override void _initialize...
23.311111
128
0.593899
[ "MIT" ]
MGZero/king-of-thieves-mono
King of Thieves/Actors/Effects/CThunder.cs
1,051
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Palaso.Email; using Palaso.Reporting; using Palaso.UI.WindowsForms.Keyboarding; namespace EmailTest { public partial class Form1 : Form { public...
24.068966
103
0.746777
[ "MIT" ]
JohnThomson/libpalaso
TestApps/EmailTest/Form1.cs
2,792
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Ess { #pragma warning disable CS8618 /// <summary>Properties for defining a `ALIYUN::ESS::LifecycleHook`.</summary> [JsiiByValue(fqn: "@alicloud/ros-cdk-ess.LifecycleHookProps")] public c...
58.029412
423
0.647745
[ "Apache-2.0" ]
piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Ess/AlibabaCloud/SDK/ROS/CDK/Ess/LifecycleHookProps.cs
5,919
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.Buffers; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using Sy...
34.181595
174
0.565008
[ "MIT" ]
WardenGnaw/coreclr
src/System.Private.CoreLib/shared/System/String.cs
27,858
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Glimpse.TelerikDataAccess.Plugin.Tab { class DataAccessTabStatistics { public int ConnectionCount { get; set; } public int QueryCount { get; set; } public int TransactionCount { get; set; } ...
29.086957
56
0.647235
[ "Apache-2.0" ]
tkcode123/glimpse-telerik-dataaccess
Glimpse.TelerikDataAccess/Source/Glimpse.TelerikDataAccess.Plugin/Tab/DataAccessTabStatistics.cs
671
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...
33.661538
166
0.615174
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataBoxEdge/Latest/GetOrder.cs
4,376
C#
namespace ClojSharp.Core.Language { using System; using System.Collections.Generic; using System.Linq; using System.Text; public interface IObject : IMetadata { IObject WithMetadata(Map map); } }
18.923077
41
0.634146
[ "MIT" ]
ajlopez/ClojSharp
Src/ClojSharp.Core/Language/IObject.cs
248
C#
using Abot.Core; using NUnit.Framework; using System; using System.Threading; namespace Abot.Tests.Unit.Core { [TestFixture] public abstract class ThreadManagerTest { IThreadManager _unitUnderTest; const int MAXTHREADS = 10; protected abstract IThreadManager GetInstance(int maxThre...
29.443038
128
0.545787
[ "Apache-2.0" ]
ArsenShnurkov/abot
Abot.Tests.Unit/Core/ThreadManagerTest.cs
4,654
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.Integrations { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough...
22.032787
136
0.734375
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Integrations/Cloud_CollectionObjectType.cs
1,344
C#
using System.Resources; 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. [asse...
38.725
84
0.758554
[ "Apache-2.0" ]
dalenewman/Transformalize.Transform.CSharp
src/Transformalize.Transform.CSharp.Autofac/Properties/AssemblyInfo.cs
1,552
C#