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 |
|---|---|---|---|---|---|---|---|---|
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
... | 28.473684 | 91 | 0.548829 | [
"ECL-2.0",
"Apache-2.0"
] | Gallio/mbunit-v2 | src/mbunit/MbUnit.Framework.Tests/Asserts/ReflectionAssertTest.cs | 6,494 | C# |
namespace Bitfinex.Client.Websocket.Messages;
public enum MessageType
{
Undefined,
Info,
Auth,
Error,
Ping,
Pong,
Conf,
Subscribe,
Subscribed,
Unsubscribe,
Unsubscribed
} | 13.5 | 46 | 0.634259 | [
"Apache-2.0"
] | shaynevanasperen/bitfinex-client-websocket | src/Bitfinex.Client.Websocket/Messages/MessageType.cs | 218 | C# |
using System.Net;
using System.Net.Sockets;
namespace Fcm.Socketing
{
public interface ISocketEventListener
{
void ConnectionFailed(EndPoint remoteEndPoint, SocketError state);
void ConnectionEstablished();
void ConnectionShutdown(SocketError state);
}
}
| 19.6 | 74 | 0.721088 | [
"MIT"
] | felixwan-git/fcm.net | Fcm/Socketing/ISocketEventListener.cs | 294 | C# |
using ConsoleGUI.Api;
using ConsoleGUI.Buffering;
using ConsoleGUI.Common;
using ConsoleGUI.Controls;
using ConsoleGUI.Data;
using ConsoleGUI.Input;
using ConsoleGUI.Space;
using ConsoleGUI.Utils;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace ConsoleGUI
{
public... | 22.023697 | 95 | 0.694427 | [
"MIT"
] | ittennull/C-sharp-console-gui-framework | ConsoleGUI/ConsoleManager.cs | 4,649 | 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... | 27 | 107 | 0.667989 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Web/V20201001/Outputs/EnabledConfigResponse.cs | 756 | C# |
////////////////////////////////
//
// Copyright 2018 Battelle Energy Alliance, LLC
//
//
////////////////////////////////
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file m... | 40.90566 | 128 | 0.601937 | [
"MIT"
] | Harshilpatel134/cisagovdocker | CSETWebApi/CSETWeb_Api/DataLayer/USER_DETAIL_INFORMATION.cs | 2,168 | C# |
using System;
using System.Threading.Tasks;
using MiniTwit.Entities;
namespace MiniTwit.Models.Tests
{
internal static class Utility
{
public static async Task Add_dummy_data(UserRepository userRepository, MessageRepository messageRepository)
{
var extraUser = new User();
... | 31.446809 | 115 | 0.467524 | [
"MIT"
] | jlndk/devoops | MiniTwit.Models.Test/TestUtils.cs | 1,480 | C# |
namespace OnlineShop.Models.Products.Components
{
public class RandomAccessMemory : Component
{
private const double OverallPerfomance_Multiplier = 1.20;
public RandomAccessMemory(int id, string manufacturer,
string model, decimal price, double overallPerformance, int generation)
... | 32.470588 | 83 | 0.690217 | [
"MIT"
] | ivaylo-R/CSharp-OOP-Exams | Exam 16 August 2020/OnlineShop-Skeleton/OnlineShop/Models/Products/Components/RandomAccessMemory.cs | 554 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from include/vulkan/vulkan_core.h in the KhronosGroup/Vulkan-Headers repository for tag v1.2.198
// Original source is Copyright © 2015-2021 The Khronos Group Inc.... | 27.897436 | 145 | 0.742647 | [
"MIT"
] | tannergooding/terrafx.interop.vulkan | sources/Interop/Vulkan/Vulkan/vulkan/vulkan_core/VkPhysicalDeviceVulkan11Features.cs | 1,090 | C# |
using System.Threading.Tasks;
using IdentityInfo.Core.Swedish.Requests.CoordinationNumbers;
using IdentityInfo.Web.Areas.Swedish.Models;
using MediatR;
using Microsoft.AspNetCore.Mvc;
namespace IdentityInfo.Web.Areas.Swedish.Controllers
{
[Area(SwedishAreaConfiguration.AreaName)]
[Route("coordinationnumber")]
... | 30.070423 | 100 | 0.594848 | [
"MIT"
] | PeterOrneholm/IdentityInfo.net | src/IdentityInfo.Web/Areas/Swedish/Controllers/CoordinationNumberController.cs | 2,135 | C# |
using System;
using System.IO;
using System.Net;
using Cassandra.DistributedLock.Tests.Logging;
using NUnit.Framework;
using SkbKontur.Cassandra.Local;
using SkbKontur.Cassandra.ThriftClient.Abstractions;
using SkbKontur.Cassandra.ThriftClient.Clusters;
using SkbKontur.Cassandra.ThriftClient.Schema;
namespace Cassa... | 42.333333 | 161 | 0.580217 | [
"MIT"
] | skbkontur/cassandra-distributed-lock | Cassandra.DistributedLock.Tests/SingleCassandraNodeSetUpFixture.cs | 4,096 | 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("Ba... | 38.027027 | 84 | 0.746979 | [
"MIT"
] | ZoeyZolotova/app-as-wallpaper | BackgroundProgram/Properties/AssemblyInfo.cs | 1,410 | C# |
using Magellan.ComponentModel;
using Magellan.Utilities;
namespace Magellan.Controls.Conventions.Editors
{
/// <summary>
/// Represents a collection of <see cref="IEditorStrategy">editor strategies</see>.
/// </summary>
public class EditorStrategyCollection : Set<IEditorStrategy>
{
... | 35.568966 | 110 | 0.521086 | [
"MIT"
] | CADbloke/magellan-framework | src/Magellan/Controls/Conventions/Editors/EditorStrategyCollection.cs | 2,065 | C# |
using Newtonsoft.Json;
namespace PlenBotLogUploader.Aleeva
{
public class AleevaServer
{
[JsonProperty("id")]
public string ID { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("avatar")]
public string Avatar { get; set; }
... | 20.473684 | 62 | 0.573265 | [
"MIT"
] | DelusionalElitists/PlenBotLogUploader | Aleeva/AleevaServer.cs | 391 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Grasshopper.Kernel;
using Grasshopper.Kernel.Special;
using Grasshopper.Kernel.Types;
using RhinoInside.Revit.External.DB.Extensions;
using DB = Autodesk.Revit.DB;
namespace RhinoInside.Revit.GH.Parameters.Input
{
#region DocumentVal... | 35.038339 | 154 | 0.652321 | [
"MIT"
] | japhyw/rhino.inside-revit | src/RhinoInside.Revit.GH/Parameters/Input/DocumentPicker.cs | 10,967 | C# |
/******************************************************************************
* Copyright (C) Ultraleap, Inc. 2011-2020. *
* Ultraleap proprietary and confidential. *
* ... | 39.105882 | 95 | 0.586342 | [
"MIT"
] | HyperLethalVector/ProjectEsky-UnityIntegration | Assets/Plugins/LeapMotion/Modules/InteractionEngine/Scripts/Utility/HideInteractionHandWhenControllerMoving.cs | 3,324 | C# |
using System;
public class Student
{
public Student()
{
public string FirstName { get; set; }
public string LastName { get; set; }
public List<double> Marks { get; set; }
public double Mark => this.Marks.Average();
public Dictionary<string, double> Strengths { get; set; }
}
}
//using... | 24.961538 | 63 | 0.637904 | [
"MIT"
] | petiatodorova/CSharpAdvancedExercises | Sets/Student.cs | 651 | C# |
using Aiursoft.Scanner.Interfaces;
namespace Kahla.SDK.Services
{
public class KahlaLocation : ISingletonDependency
{
private string _kahlaRoot = "https://server.kahla.app";
public override string ToString()
{
return _kahlaRoot;
}
public void UseKahlaServe... | 21.2 | 63 | 0.620283 | [
"MIT"
] | JTOne123/Kahla | Kahla.SDK/Services/KahlaLocation.cs | 426 | 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>
//----------------------------------------... | 32.159091 | 84 | 0.506007 | [
"MIT"
] | muhammadbaiquni/calculator-aspnet | Calculator/Account/Confirm.aspx.designer.cs | 1,417 | C# |
namespace Limit.OfficialSite.Domain.Entities
{
/// <summary>
/// 定义基本实体类型的接口。系统中的所有实体都必须实现此接口
/// </summary>
/// <typeparam name="TPrimaryKey">实体的主键的类型</typeparam>
public interface IEntity<TPrimaryKey>
{
/// <summary>
/// 此实体的唯一标识符
/// </summary>
TPrimaryKey Id {... | 24.285714 | 58 | 0.579412 | [
"MIT"
] | Jokwcs/OfficialWebsite-master | src/Common/Limit.OfficialSite/Domain/Entities/IEntityOfTPrimaryKey.cs | 432 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("TurnBased")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")... | 26.418605 | 85 | 0.735035 | [
"MIT"
] | michalnh/KingmakerTurnBasedMod | TurnBased/Properties/AssemblyInfo.cs | 1,473 | C# |
using HDF.PInvoke;
using HDF5CSharp.DataTypes;
using HDF5CSharp.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace HDF5CSharp
{
public class Hdf5Dataset : IHdf5ReaderWriter
{
public (bool success, Array result) ReadToArray<T>(... | 43.923483 | 153 | 0.562324 | [
"MIT"
] | DavidSabbah/HDF5-CSharp | HDF5-CSharp/Hdf5Dataset.cs | 16,649 | C# |
using UnityEngine;
using System.Collections;
/// <summary>
/// Components to permits rotation of a game object in a specified angle
/// </summary>
public class RotateAroundPivot : MonoBehaviour {
[SerializeField] GameObject pivot;
[SerializeField] float rotateAngle;
// Use this for initialization
void Start ()... | 25.470588 | 111 | 0.704388 | [
"MIT"
] | SneakyRedSnake/rogue-shield | Assets/Scripts/RotateAroundPivot.cs | 868 | C# |
#region
using LoESoft.Core;
using LoESoft.GameServer.realm.terrain;
using System;
#endregion
namespace LoESoft.GameServer.realm.mapsetpiece
{
internal class Pentaract : MapSetPiece
{
private static readonly string Floor = "Scorch Blend";
private static readonly byte[,] Circle =
{
... | 33.205128 | 80 | 0.365251 | [
"MIT"
] | Devwarlt/LOE-V7-SERVER | gameserver/realm/mapsetpiece/setpieces/Pentaract.cs | 2,592 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Z3Data
{
public class Timeline
{
string _dataDir = null;
ArrayList _rows = null;
Dictionary<string, int> _col2inx = new Dictionary<string, int>();
... | 31.376963 | 159 | 0.417654 | [
"MIT"
] | 0152la/z3test | ClusterExperiment/Z3Data/Timeline.cs | 5,995 | C# |
using System;
using System.Collections.Generic;
namespace Separation.Core.Models
{
public partial class Reports
{
public Reports()
{
BarCodeNumbers = new HashSet<BarCodeNumbers>();
FollowUps = new HashSet<FollowUps>();
}
public int ReportId { get; set; ... | 36.692308 | 79 | 0.612159 | [
"MIT"
] | JoshuaEmery/Separation | Separation/Separation.Core/Models/Reports.cs | 1,433 | C# |
#region License
/* FNA - XNA4 Reimplementation for Desktop Platforms
* Copyright 2009-2018 Ethan Lee and the MonoGame Team
*
* Released under the Microsoft Public License.
* See LICENSE for details.
*/
#endregion
#region Using Statements
using System;
#endregion
namespace Microsoft.Xna.Framework.Input.Touch
{
/... | 21.030303 | 97 | 0.711816 | [
"MIT"
] | Genobreaker/Myra | deps/FNA/src/Input/Touch/GestureType.cs | 694 | C# |
using Newtonsoft.Json;
namespace DGP.Genshin.MiHoYoAPI.UserInfo
{
public class UserFuncStatus
{
[JsonProperty("enable_history_view")] public bool EnableHistoryView { get; set; }
[JsonProperty("enable_recommend")] public bool EnableRecommend { get; set; }
[JsonProperty("enable_mention")... | 30.833333 | 89 | 0.697297 | [
"MIT"
] | ICMYS/KeqingNiuza | src/KeqingNiuza.RealtimeNotes/DGP.Genshin/MiHoYoAPI/UserInfo/UserFuncStatus.cs | 372 | 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")... | 22.827068 | 125 | 0.662055 | [
"Apache-2.0"
] | fossabot/aliyun-openapi-net-sdk | aliyun-net-sdk-live/Live/Model/V20161101/DescribeLiveDomainRealTimeTrafficDataRequest.cs | 3,036 | C# |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 24.266667 | 76 | 0.623626 | [
"Apache-2.0"
] | jdcloud-api/jdcloud-sdk-net | sdk/src/Service/Starshield/Client/DescribePackagesExecutor.cs | 1,558 | C# |
using Hudl.FFmpeg.Command.BaseTypes;
using Hudl.FFmpeg.Command.Models;
using Hudl.FFmpeg.Settings;
using Hudl.FFmpeg.Settings.Interfaces;
using Hudl.FFmpeg.Settings.Serialization;
namespace Hudl.FFprobe.Command
{
internal class FFprobeCommandBuilder : FFCommandBuilderBase, ICommandBuilder
{
public voi... | 30.290323 | 80 | 0.675186 | [
"Apache-2.0"
] | alex6dj/HudlFfmpeg | Hudl.FFprobe/Command/FFprobeCommandBuilder.cs | 941 | C# |
using System;
using System.Web.Mvc;
using System.Linq;
using System.Linq.Expressions;
using Ext.Scheduler.Models;
using System.Web.Script.Serialization;
namespace Controllers {
public class AssignmentsController : Controller
{
readonly DataClasses1DataContext _db = new DataClasses1DataContext();
... | 29.981132 | 106 | 0.553178 | [
"MIT"
] | ww362034710/Gannt | public/gantt/gantt2.5.1/examples/ASP.NET MVC2 demo/Ext Gantt + ASP.NET MVC/Controllers/AssignmentsController.cs | 1,589 | C# |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Kmd.Studica.Programmes.Client
{
using Models;
using System.Collections;
using System.Collections.Generic;
... | 46.523256 | 258 | 0.591602 | [
"MIT"
] | kmdstudica/external-api-examples | src/ExternalApiExamples/Clients/Programmes/StudentActivityReportsExternalExtensions.cs | 4,001 | C# |
namespace JsonBuilder.Tests
{
using NUnit.Framework;
public class WhenAnObjectContainsTwoObjects : JsonSpecificationBase
{
private string parentName = "parent";
private string firstChildName = "firstChildName";
private string secondChildName = "secondChildName";
public o... | 30.65 | 106 | 0.651713 | [
"MIT"
] | HerrLoesch/JSonBuilder | JsonBuilder.Tests/JsonBuilder.Tests/WhenAnObjectContainsTwoObjects.cs | 1,228 | C# |
using Bankos.DB;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bankos.Repository.Repository
{
public class BankosRepository<TEntity> : IBankosRepository<TEntity> where TEntity : class
{
... | 24.787879 | 93 | 0.59291 | [
"MIT"
] | MinaMaherNicola/Bankos | Bankos.Repository/Repository/BankosRepository.cs | 820 | 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>
//--... | 38.662069 | 179 | 0.57492 | [
"Apache-2.0"
] | AppliedSystems/IdentityServer3 | source/Core/Resources/Scopes.Designer.cs | 5,608 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.UI
{
[CustomEditor(typeof(InteractableReceiverList))]
public class InteractableReceiverListInspector : UnityEditor.Editor
{
private static read... | 34.925373 | 153 | 0.597009 | [
"MIT"
] | AdrianaMusic/MixedRealityToolkit-Unity | Assets/MRTK/SDK/Editor/Inspectors/UX/Interactable/InteractableReceiverListInspector.cs | 2,342 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AirSpace.Win32.User32
{
/// <summary>
/// Class field offsets for GetClassLong
/// </summary>
public enum GCL : int
{
MENUNAME = -8,
HBRBACKGROUND = -10,
HCURSOR = -12,
... | 19.4 | 48 | 0.531959 | [
"MIT"
] | bswanson58/NoiseMusicSystem | MilkBottle/AirSpace/Win32/User32/GCL.cs | 487 | C# |
using Multilinks.Core.Infrastructure;
using Newtonsoft.Json;
namespace Multilinks.Core.Models
{
public class EndpointsResponse : PagedCollection<EndpointViewModel>, IEtaggable
{
public string GetEtag()
{
var serialized = JsonConvert.SerializeObject(this);
return Md5Hash.ForString(s... | 23.133333 | 82 | 0.706052 | [
"MIT"
] | andym-2iV/MultilinksCore | Multilinks.Core/Models/EndpointsResponse.cs | 349 | C# |
using DaemonEngine.OpenGL.DllImport;
namespace DaemonEngine.Graphics.OpenGL.DllImport.Enums;
public enum GLPolygonMode : uint
{
Fill = GLConstants.GL_FILL,
Line = GLConstants.GL_LINE,
Point = GLConstants.GL_POINT
}
| 20.909091 | 55 | 0.765217 | [
"MIT"
] | daemon-engine/DaemonEngine | DaemonEngine.Graphics.OpenGL.DllImport/Enums/GLPolygonMode.cs | 232 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using UnityEngine.Experimental.UIElements;
using UnityEngine.Experimental.UIElements.StyleEnums;
using UnityEditor.Experimental.UIElements;
using UnityEditor.VFX;
using UnityEditor.VFX.UIElements;
using Object = UnityEngine.Obje... | 28.120482 | 115 | 0.682948 | [
"BSD-2-Clause"
] | 1-10/VisualEffectGraphSample | GitHub/com.unity.visualeffectgraph/Editor/GraphView/Views/Properties/SimplePropertiesRM.cs | 2,334 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1318
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | 30.25 | 84 | 0.494835 | [
"MIT"
] | garethhubball/dasblog-core | source/newtelligence.DasBlog.Web/ClickThroughs.aspx.designer.cs | 968 | C# |
using System;
using System.Collections.Generic;
namespace Parse.Core.Internal
{
public class PointerOrLocalIdEncoder : ParseEncoder
{
public static PointerOrLocalIdEncoder Instance { get; } = new PointerOrLocalIdEncoder();
protected override IDictionary<string, object> EncodeParseObject(ParseO... | 30.68 | 104 | 0.601043 | [
"BSD-3-Clause"
] | naosoft/Parse-SDK-dotNET | Parse/Internal/Encoding/PointerOrLocalIdEncoder.cs | 767 | C# |
using System;
namespace Master_Services_Portal_ASP.NET_mvc.Areas.HelpPage.ModelDescriptions
{
public class ParameterAnnotation
{
public Attribute AnnotationAttribute { get; set; }
public string Documentation { get; set; }
}
} | 23.181818 | 77 | 0.721569 | [
"Apache-2.0"
] | XdieselX/Master-Services-Portal-ASP.NET-mvc | Master-Services-Portal-ASP.NET-mvc/Areas/HelpPage/ModelDescriptions/ParameterAnnotation.cs | 255 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.Identity.Client.Core;
namespace Microsoft.Identity.Client.Instance
{
internal class B2CAuthorit... | 31.323529 | 118 | 0.675117 | [
"MIT"
] | davidjohnoliver/microsoft-authentication-library-for-dotnet | src/client/Microsoft.Identity.Client/Instance/B2CAuthority.cs | 1,067 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 這段程式碼是由工具產生的。
// 執行階段版本:4.0.30319.42000
//
// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
// 變更將會遺失。
// </auto-generated>
//------------------------------------------------------------------------------
names... | 36.740741 | 151 | 0.570565 | [
"Apache-2.0"
] | truelight-corporation/c_sharp_application | project/MiniSasHd4.0DcTest/Properties/Settings.Designer.cs | 1,112 | C# |
/*
* Copyright © 2012-2016 VMware, 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 applic... | 37.837472 | 147 | 0.720439 | [
"Apache-2.0"
] | WestCope/lightwave | tools/mac/VMRestSsoSnapIn/VMRestSsoSnapIn/Views/AddNewExternalIdentityProviderController.cs | 16,773 | C# |
using System;
using System.Reflection;
using Exceptionless.Core.Extensions;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Exceptionless.Core.Serialization {
public class LowerCaseUnderscorePropertyNamesContractResolver : DefaultContractResolver {
protected override JsonProperty Cre... | 42.296296 | 137 | 0.728546 | [
"Apache-2.0"
] | ChanneForZM/Exceptionless | src/Exceptionless.Core/Serialization/LowerCaseUnderscorePropertyNamesContractResolver.cs | 1,144 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using... | 46.423611 | 240 | 0.605236 | [
"Apache-2.0"
] | mseamari/Stuff | src/EditorFeatures/Core/Implementation/ReferenceHighlighting/AbstractDocumentHighlightsService.cs | 13,370 | 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... | 46.738462 | 357 | 0.650922 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/EndpointHealthData.cs | 6,076 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace SpyGram
{
class SpyGram
{
static void Main(string[] args)
{
var messages = new Dictionary<string, List<string>>();
string privateKey = ... | 29.262295 | 84 | 0.45042 | [
"MIT"
] | AlexanderPetrovv/Tech-Module-SoftUni | Programming Fundamentals - May 2017/ExamPreparation09May2017/SpyGram/SpyGram.cs | 1,787 | C# |
using Entitas;
using UnityEngine;
public class ProcessInputSystem : IExecuteSystem, IInitializeSystem, ISetPool {
Pool _pool;
Group _group;
Group _input;
Vector3 temp = new Vector3();
public void SetPool(Pool pool) {
_pool = pool;
_group = pool.GetGroup(Matcher.MouseInput);
_input = pool.GetGroup(Matcher.I... | 21.945946 | 79 | 0.714286 | [
"MIT"
] | kicholen/GamePrototype | Assets/Source/Src/System/Input/process/ProcessInputSystem.cs | 812 | C# |
namespace Mensa;
public partial class AppShell : Shell
{
public AppShell()
{
InitializeComponent();
}
}
| 11.1 | 37 | 0.702703 | [
"MIT"
] | RobinNunkesser/maui-mensa | Mensa/AppShell.xaml.cs | 113 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Aarthificial.Reanimation.Cels;
using Aarthificial.Reanimation.Common;
using Aarthificial.Reanimation.Nodes;
using UnityEditor;
using UnityEngine;
namespace Aarthificial.Reanimation.Editor.Nod... | 36.048276 | 121 | 0.569734 | [
"MIT"
] | maik-mursall/reanimation | Editor/Nodes/SimpleAnimationNodeSpriteSheetWindow.cs | 5,227 | 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")... | 35.9 | 82 | 0.733983 | [
"Apache-2.0"
] | fossabot/aliyun-openapi-net-sdk | aliyun-net-sdk-vod/Vod/Transform/V20170321/DeleteImageResponseUnmarshaller.cs | 1,436 | C# |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution.... | 30.06422 | 169 | 0.550504 | [
"Apache-2.0"
] | Bhaskers-Blu-Org2/poshtools | PowerShellTools/Project/SharedProject/Automation/VSProject/OAVSProject.cs | 6,554 | C# |
using System.Runtime.Serialization;
namespace ClipboardIndicator
{
[DataContract(Namespace = "", Name = "Setting")]
public class SettingsModel : BindableBase
{
[DataMember(Order = 0)]
public WindowModel Window { get; private set; }
[DataMember(Order = 1)]
public FontModel ... | 24.64 | 55 | 0.576299 | [
"MIT"
] | TN8001/ClipboardIndicator | ClipboardIndicator/Models/SettingsModel.cs | 618 | 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("Sub... | 37.459459 | 84 | 0.746753 | [
"MIT"
] | IvanVillani/Coding | C#/coding/MethodsExercises/Substring/Properties/AssemblyInfo.cs | 1,389 | 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: AssemblyTit... | 38.756757 | 85 | 0.730126 | [
"MIT"
] | gu-wei/cognitive-services-dotnet-sdk-samples | ContentModerator/ImageModeration/Properties/AssemblyInfo.cs | 1,437 | C# |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// KoubeiQualityTestShieldOrderCreateModel Data Structure.
/// </summary>
public class KoubeiQualityTestShieldOrderCreateModel : AlipayObject
{
/// ... | 26.358974 | 71 | 0.530642 | [
"MIT"
] | LuohuaRain/payment | src/Essensoft.AspNetCore.Payment.Alipay/Domain/KoubeiQualityTestShieldOrderCreateModel.cs | 2,230 | C# |
// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit)
// Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus
// Forum & Issues: https://github.com/zzzprojec... | 28.814346 | 191 | 0.570655 | [
"MIT"
] | JacksonWang2016/EntityFramework-Plus | src/shared/Z.EF.Plus.QueryFuture.Shared/QueryFutureEnumerable.cs | 6,832 | C# |
using Microsoft.Maui.Controls;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using WasteSortingMauiApp.Dtos;
using Wa... | 36.278689 | 139 | 0.591279 | [
"MIT"
] | devinZhou102/WasteSortingMauiApp | src/ViewModels/MainViewModel.cs | 4,440 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using Java.Util;
using Android.Annotation;
using Android.Content;
using Android.OS;
using Android.Support.V17.Leanback.Widget;
using Android.Text.Util;
using Android.Util;
namespace TvLeanback
{
public class SearchFragment : Android.Suppor... | 27.731092 | 136 | 0.72303 | [
"Apache-2.0"
] | Dmitiry-hub/monodroid-samples | tv/TvLeanback/TvLeanback/SearchFragment.cs | 3,302 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Options;
using Ornament.WebSockets.Handlers;
namespace Demo.Web.Demos
{
public class UploadfileDemoHandler : FileHandler
{
public UploadfileDe... | 23.611111 | 103 | 0.745882 | [
"MIT"
] | luqizheng/Ornament.WebSocket | Src/Demo.Web/Demos/UploadFile.cs | 427 | C# |
/*
Copyright 2009 Christian Arnold, Uni Duisburg-Essen
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 applicab... | 30.284768 | 221 | 0.619068 | [
"Apache-2.0"
] | CrypToolProject/CrypTool-2 | CrypPluginsExperimental/Collector/Collector.cs | 4,576 | C# |
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Pentacorn.Graphics
{
class MeshModel : IVisible
{
public MeshModel(string name, Matrix world)
{
World = world;
Model = Program.Renderer.LeaseModel(name);
... | 23.64 | 71 | 0.619289 | [
"MIT"
] | JaapSuter/Pentacorn | Backup/Pentacorn/Primitives/MeshModel.cs | 593 | C# |
using AspnetRun.Services.Orders.Application.Models.Base;
using System.Collections.Generic;
namespace AspnetRun.Services.Orders.Application.Models
{
public class OrderModel : BaseModel
{
public string UserName { get; set; }
public AddressModel BillingAddress { get; set; }
public Address... | 28.604167 | 85 | 0.603787 | [
"MIT"
] | nilavanrajamani/ecommerce-microservice | AspnetRun.Services.Orders/Application/Models/OrderModel.cs | 1,375 | C# |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace WhereBNB.API.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
... | 20.117647 | 71 | 0.672515 | [
"MIT"
] | ysbakker/WhereBNB | WhereBNB.API/Migrations/20210514114509_Initial.cs | 344 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
// 이러한 특성 값을 변경하세요.
[assembly: AssemblyTitle("2_8_1_Array")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Assembl... | 28.432432 | 56 | 0.698669 | [
"MIT"
] | geongupark/geongupark.github.com | project/01_CSharp_basic/2_8_1_Array/2_8_1_Array/Properties/AssemblyInfo.cs | 1,485 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis... | 43.213904 | 179 | 0.665017 | [
"Apache-2.0"
] | 20chan/roslyn | src/VisualStudio/Core/Def/Interactive/VsInteractiveWindowProvider.cs | 8,083 | C# |
using Microsoft.Win32.SafeHandles;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StormLibSharp.Native
{
internal sealed class MpqFileSafeHandle : SafeHandleZeroOrMinusOneIsInvalid
{
public MpqFileSafeHandle(IntPtr handle)
: base(true)
... | 21.107143 | 79 | 0.620981 | [
"MIT"
] | HelloKitty/stormlibsharp | src/StormLibSharp/Native/MpqFileSafeHandle.cs | 593 | 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... | 36.187686 | 389 | 0.556928 | [
"Apache-2.0"
] | MDanialSaleem/aws-sdk-net | sdk/src/Services/RDS/Generated/Model/RestoreDBInstanceFromDBSnapshotRequest.cs | 36,441 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace TJAPlayer3
{
/// <summary>
/// 「トグル」(ON, OFF の2状態)を表すアイテム。
/// </summary>
internal class CItemToggle : CItemBase
{
// プロパティ
public bool bON;
// コンストラクタ
public CItemToggle()
{
base.e種別 = CItemBase.E種別.ONorOFFトグル;
th... | 23.678571 | 106 | 0.662896 | [
"MIT"
] | 0auBSQ/OpenTaiko | TJAPlayer3/Items/CItemToggle.cs | 3,628 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Rendering.HighDefinition;
using UnityEditor.ShaderGraph;
using UnityEditor.ShaderGraph.Internal;
using UnityEditor.Graphing;
using UnityEditor.ShaderGraph.Legacy;
using UnityEditor.Rendering.HighDefinition.ShaderGrap... | 59.236 | 181 | 0.719292 | [
"MIT"
] | ACBGZM/JasonMaToonRenderPipeline | Packages/com.unity.render-pipelines.high-definition@10.5.0/Editor/Material/StackLit/ShaderGraph/StackLitSubTarget.Migration.cs | 14,809 | C# |
using System.Collections.Concurrent;
using System.Net.WebSockets;
using snake_server.user;
namespace snake_server.websocket
{
public class SocketHandler
{
private static readonly int ErrorRetryCounts = 5;
private static readonly ConcurrentDictionary<string, ChatRoom> Rooms = new ConcurrentDict... | 31.107143 | 124 | 0.470723 | [
"Apache-2.0"
] | tornodo/guess_server | snake_server/websocket/SocketHandler.cs | 3,576 | C# |
namespace MassTransit.RabbitMqTransport.Specifications
{
using System.Collections.Generic;
using GreenPipes;
using Pipeline;
public class DelayedExchangeRedeliveryPipeSpecification<TMessage> :
IPipeSpecification<ConsumeContext<TMessage>>
where TMessage : class
{
... | 26.73913 | 87 | 0.64878 | [
"ECL-2.0",
"Apache-2.0"
] | Aerodynamite/MassTrans | src/Transports/MassTransit.RabbitMqTransport/Configuration/Specifications/DelayedExchangeRedeliveryPipeSpecification.cs | 617 | C# |
using System.Collections.Generic;
using System.Linq;
using JetBrains.DocumentManagers;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Tests.TestFramework;
using JetBrains.ReSharper.TestFramework;
using JetBrains.TextControl;
using JetBrains.Util.Dotnet.TargetFrameworkIds;
using NUnit.Framework;
names... | 46.344828 | 131 | 0.65253 | [
"Apache-2.0"
] | SirDuke/resharper-unity | resharper/resharper-unity/test/src/Unity.Tests/Unity/AsmDef/Feature/Services/Refactorings/AsmDefRenameTests.cs | 2,690 | C# |
using System.Collections.Generic;
using System.Linq;
namespace Elsa.Dashboard.Areas.Elsa.ViewModels
{
public class WorkflowDefinitionListViewModel
{
public IList<IGrouping<string, WorkflowDefinitionListItemModel>> WorkflowDefinitions { get; set; }
}
} | 27.2 | 106 | 0.768382 | [
"BSD-3-Clause"
] | 1000sprites/elsa-core | src/dashboard/Elsa.Dashboard/Areas/Elsa/ViewModels/WorkflowDefinitionListViewModel.cs | 272 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace PuzzleGraph
{
class XmlFont
{
private Font font_ = SystemFonts.DefaultFont;
public X... | 30.112676 | 110 | 0.495323 | [
"MIT"
] | instr3/WitnessVisualizer | PuzzleGraph/XmlFont.cs | 2,140 | 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... | 43.908367 | 295 | 0.577262 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/ProviderResourceTypesOperations.cs | 11,021 | 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... | 34.479452 | 116 | 0.658323 | [
"Apache-2.0"
] | jasoncwik/aws-sdk-net | sdk/src/Services/EC2/Generated/Model/UnmonitorInstancesRequest.cs | 2,517 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sandbox;
namespace QuadTree
{
//This is the class I am using to generate noise values.
public class SimpleSlerpNoise
{
int seed;
int octaves;
int[] valuesPerGrid;
float[] percentagesPer... | 26.948905 | 95 | 0.622156 | [
"MIT"
] | rugg0064/sbox-quadtree | code/SimpleSlerpNoise.cs | 3,694 | 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://ww... | 39.214145 | 280 | 0.553607 | [
"MIT"
] | Milstein/azure-sdk-tools | WindowsAzurePowershell/src/Commands.Utilities/Common/ServiceManagementBaseCmdlet.cs | 19,452 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core;
namespace Azure.DigitalTwins.Core
{
/// <inheritdoc />
[CodeGenModel("EventRoutesListOptions")]
public partial class GetDigitalTwinsEventRoutesOptions
{
// This class declaration ... | 33.652174 | 125 | 0.692506 | [
"MIT"
] | Penguinwizzard/azure-sdk-for-net | sdk/digitaltwins/Azure.DigitalTwins.Core/src/Customized/Models/GetDigitalTwinsEventRoutesOptions.cs | 776 | C# |
//
// ToolStripStatusLabelTests.cs
//
// 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 use, copy, modify, merge, pub... | 35.922705 | 101 | 0.591044 | [
"Apache-2.0"
] | 121468615/mono | mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ToolStripStatusLabelTest.cs | 7,436 | C# |
using System.Threading.Tasks;
namespace AsyncConverter.Tests.Test.Data.FixReturnValueToTaskTests
{
public class MyClass
{
public async Task TestAsync()
{
await Task.Delay(1000).ConfigureAwait(false);
Method(5);
}
public void Method<T>(T i)
{
... | 19.695652 | 66 | 0.554084 | [
"MIT"
] | charygao/AsyncConverter | AsyncConverter.Tests/Test/Data/Highlightings/CanBeUseAsyncMethod/GenericWithWhereOnMyClass.cs | 455 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace NewSF64Toolkit
{
public partial class AboutControl : UserControl
{
public AboutControl()
{
... | 25.869565 | 137 | 0.690756 | [
"MIT"
] | ElatedEatrs/NewSF64Toolkit | NewSF64Toolkit/AboutControl.cs | 597 | C# |
namespace SimnOpt.Heuristics.Genetic
{
public interface IGaSolution
{
double Fitness { get; set; }
IGaSolution DeepClone();
}
}
| 15.363636 | 38 | 0.579882 | [
"MIT"
] | OpResCodes/SimulatedAnnealingHeuristic | src/SimnOpt.Heuristics/Genetic/IGaSolution.cs | 171 | C# |
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2020 Jiang Yin. All rights reserved.
// Homepage: https://GameFramework.cn/
// Feedback: mailto:ellan@GameFramework.cn
//------------------------------------------------------------
namespace GX.Entity
{
... | 25.689655 | 75 | 0.414765 | [
"MIT"
] | modi00012/GameFramework | GameFramework/Entity/EntityManager.EntityStatus.cs | 758 | C# |
namespace Cethleann.Structure.Table
{
public struct XLHeader
{
public ushort Magic { get; set; }
public ushort Version { get; set; }
public ushort FileSize { get; set; }
public ushort Types { get; set; }
public ushort Sets { get; set; }
public short Width { get; ... | 28.333333 | 46 | 0.576471 | [
"MIT"
] | TGEnigma/Cethleann | Cethleann.Structure/Table/XLHeader.cs | 427 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.Extensions.Logging;
namespace Application.Common.Behaviours
{
/// <summary>
/// Behaviour used to log unhandled exceptions from the MediatR pipeline
/// (from all behaviours registered after this one), includ... | 30.294118 | 138 | 0.642071 | [
"Apache-2.0"
] | BobMakhlin/XNews-backend | src/Application/Common/Behaviours/UnhandledExceptionLoggingBehaviour.cs | 1,545 | C# |
// <copyright file="Logger.cs" company="Hans Kesting">
// Copyright (c) Hans Kesting. All rights reserved.
// </copyright>
namespace PodcastDownloader.Logging
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
/// <summar... | 31.451613 | 112 | 0.552564 | [
"MIT"
] | hdkesting/PodcastDownloader | PodcastDownloader.Akka/Logging/Logger.cs | 3,902 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
namespace Z3Data
{
public static class Global
{
public static CultureInfo culture = new CultureInfo("en-US");
public static void Say(string text)
{
Console.Wri... | 22.894737 | 119 | 0.655172 | [
"MIT"
] | 0152la/z3test | ClusterExperiment/Z3Data/Global.cs | 437 | C# |
// %BANNER_BEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHT_BEGIN%
//
// Copyright (c) 2019 Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Developer Agreement, located
// here: https://id.magicleap.com/terms/developer
//
// %COPYRIGHT_END%
// --... | 39.163347 | 181 | 0.571312 | [
"Apache-2.0"
] | kedarshashi/UnityTemplate | Assets/MagicLeap/Core/Scripts/Input/MLControllerConnectionHandlerBehavior.cs | 9,830 | C# |
using System.Collections.Immutable;
using System.Text.RegularExpressions;
using Microsoft.Recognizers.Definitions.Portuguese;
namespace Microsoft.Recognizers.Text.DateTime.Portuguese
{
public class PortugueseDurationParserConfiguration : BaseDateTimeOptionsConfiguration, IDurationParserConfiguration
{
... | 39.573333 | 119 | 0.733491 | [
"MIT"
] | tellarin/Recognizers-Text | .NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDurationParserConfiguration.cs | 2,970 | C# |
namespace NetInterop.Routing
{
public interface IHeader
{
}
} | 13 | 29 | 0.615385 | [
"BSD-3-Clause"
] | davidbetz/netrouter | NetInterop.Routing/IHeader.cs | 78 | 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... | 26.357143 | 81 | 0.674797 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/DocumentDB/Outputs/ApiPropertiesResponse.cs | 738 | C# |
using Xenko.Engine;
namespace MaterialShader
{
class MaterialShaderApp
{
static void Main(string[] args)
{
using (var game = new Game())
{
game.Run();
}
}
}
}
| 15.5 | 41 | 0.447581 | [
"MIT"
] | Aminator/xenko | samples/Graphics/MaterialShader/MaterialShader.Windows/MaterialShaderApp.cs | 248 | C# |
using System.Linq;
using System.Threading.Tasks;
using Android.Widget;
using Microsoft.Maui.DeviceTests.Stubs;
using Microsoft.Maui.Handlers;
using Xunit;
using SearchView = AndroidX.AppCompat.Widget.SearchView;
namespace Microsoft.Maui.DeviceTests
{
public partial class SearchBarHandlerTests
{
[Fact(DisplayName ... | 27.952756 | 87 | 0.76 | [
"MIT"
] | Amir-Hossin-pr/maui | src/Core/tests/DeviceTests/Handlers/SearchBar/SearchBarHandlerTests.Android.cs | 3,552 | C# |
namespace SampleWeb
{
/// <summary>
/// This is a generated list of Enums that list the names/ID numbers for the feature bits used in your application.
/// </summary>
public enum Features
{
DummyOn = 1,
DummyOff = 2,
}
}
| 20.153846 | 119 | 0.599237 | [
"Apache-2.0"
] | dseelinger/feature-bits-sample | DotNet/SampleWeb/Features.cs | 262 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.