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 |
|---|---|---|---|---|---|---|---|---|
//------------------------------------------------------------------------------
// <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.569444 | 176 | 0.602089 | [
"MIT"
] | DevZest/RDO.Net | samples/Tutorial/Movies.WPF/Properties/Resources.Designer.cs | 2,779 | C# |
using System;
using TrueCraft.API.Logic;
namespace TrueCraft.Core.Logic.Items
{
public class GlowstoneDustItem : ItemProvider
{
public static readonly short ItemID = 0x15C;
public override short ID { get { return 0x15C; } }
public override Tuple<int, int> GetIconTexture(byte metadata)... | 25 | 79 | 0.635789 | [
"MIT"
] | BinaryGears/TrueCraft | TrueCraft.Core/Logic/Items/GlowstoneDustItem.cs | 475 | C# |
// <auto-generated />
namespace GigHub.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
public sealed partial class AddFol... | 27.133333 | 95 | 0.619165 | [
"Apache-2.0"
] | antcalatayud/GigHub | GigHub/Persistence/Migrations/201711061235427_AddFollowing.Designer.cs | 814 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FoodCalculator.FoodApi.EntityModel;
public class IngredientNotFoundException : Exception
{
public IngredientNotFoundException(string ingredientQueryString)
: base($"could not find... | 25 | 96 | 0.7775 | [
"MIT"
] | GuyBukys/FoodCalculator.FoodApi | FoodCalculator.FoodApi.EntityModel/IngredientNotFoundException.cs | 402 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Xunit.Sdk;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace GraphLinqQL.TestFramework
{
internal class YamlScenariosAttribute : DataAttri... | 34.690909 | 142 | 0.593816 | [
"MIT"
] | mdekrey/GraphLinQL | GraphLinqQL.EFCore.Test/TestFramework/YamlScenariosAttribute.cs | 1,910 | 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... | 35.438017 | 218 | 0.626866 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/RDS/Generated/Model/RebootDBInstanceRequest.cs | 4,288 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die ei... | 48.125 | 119 | 0.737291 | [
"MIT"
] | MeckeJadeHS/VorlesungsDemos | HelloGUI_Demo/HelloGUI_VL/Properties/AssemblyInfo.cs | 2,715 | C# |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml.Serialization;
using taskt.UI.CustomControls;
using taskt.UI.Forms;
using taskt.Properties;
using taskt.Core.Automation.Commands;
namespace taskt.Core.Automation.Commands_cn
{
[Serializable]
[Attributes.ClassAttr... | 41.034091 | 146 | 0.70036 | [
"Apache-2.0"
] | Stanley29/Iron_Man | taskt/Core/Automation/Commands_cn/SeleniumBrowserNavigateURLCommand_cn.cs | 3,871 | C# |
//------------------------------------------------------------------------------
//
// Copyright (c) 2002-2012 CodeSmith Tools, LLC. All rights reserved.
//
// The terms of use for this software are contained in the file
// named sourcelicense.txt, which can be found in the root of this distribution.
// By using this... | 42.235294 | 80 | 0.58078 | [
"BSD-3-Clause"
] | a156845044/MySQLSchemaProvider | Properties/AssemblyInfo.cs | 718 | C# |
using System;
namespace _11_Constructores
{
class Program
{
static void Main(string[] args)
{
Alumno a= new Alumno ();
a.Id=1;
a.PrimerNombre="ANTONIO";
a.SegundoNombre="VILLATORO";
Alumno b= new Alumno ();
b.... | 23.709677 | 70 | 0.485714 | [
"MIT"
] | AntonioVillatoro/c-sharp | EJERCICIOS/11_Constructores/Program.cs | 737 | C# |
using Iced.Intel;
using StringReloads.Hook.Base;
using System;
namespace MwareHook
{
unsafe class KeyInterceptor : Intercept
{
int Register;
public KeyInterceptor(void* Address, Register Register) : base(Address) {
this.Register = Register switch {
Register.EDI => 0... | 30.526316 | 100 | 0.528448 | [
"Unlicense"
] | AyamiKaze/MwareStuff | MwareHook/KeyInterceptor.cs | 1,162 | C# |
using PKISharp.WACS.Configuration;
using PKISharp.WACS.DomainObjects;
using PKISharp.WACS.Services;
using System.Threading.Tasks;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Http
{
internal class WebDavOptionsFactory : HttpValidationOptionsFactory<WebDav, WebDavOptions>
{
public WebDavOptionsFac... | 34.166667 | 118 | 0.592683 | [
"Apache-2.0"
] | SparebankenVest/win-acme | src/main.lib/Plugins/ValidationPlugins/Http/WebDav/WebDavOptionsFactory.cs | 1,642 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GwApiNET;
using GwApiNET.Gw2Stats.ResponseObjects;
using GwApiNET.ResponseObjects;
namespace GwApiNETTest.Gw2StatsTest
{
public class Temp
{
/// <summary>
/// Default Cons... | 59.770492 | 107 | 0.203099 | [
"MIT"
] | prbarcelon/GwApiNET | GwApiNET/GwApiNETTest/Gw2StatsTest/Temp.cs | 7,294 | C# |
namespace MovieInfo.Services.Messaging
{
using System.Threading.Tasks;
public interface ISmsSender
{
Task SendSmsAsync(string number, string message);
}
}
| 18.1 | 57 | 0.696133 | [
"MIT"
] | borisbotev/SoftUni | C#Web Advanced/MovieInfo/Services/MovieInfo.Services.Messaging/ISmsSender.cs | 183 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Abp.Extensions;
namespace CallOfShare.Identity
{
public class ExternalLoginInfoHelper
{
public static (string name, string surname) GetNameAndSurnameFromClaims(List<Claim> claims)
{
string name... | 34.226415 | 99 | 0.483462 | [
"MIT"
] | nguyendiennghia/CallOfShare | aspnet-core/src/CallOfShare.Web.Core/Identity/ExternalLoginInfoHelper.cs | 1,816 | C# |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 45.026316 | 198 | 0.662478 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/monitoring/v3/google-cloud-monitoring-v3-csharp/Google.Cloud.Monitoring.V3.StandaloneSnippets/NotificationChannelServiceClient.ListNotificationChannelDescriptorsResourceNames2AsyncSnippet.g.cs | 3,422 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using v2rayN.Handler;
using v2rayN.Mode;
namespace v2rayN.Forms
{
public partial class MainForm : BaseForm
{
private V2rayHandler v2rayHandler;
#regi... | 26.905751 | 109 | 0.456629 | [
"MIT"
] | bluekk935/v2rayN | v2rayN/v2rayN/Forms/MainForm.cs | 17,227 | C# |
/*
Copyright (c) 2012 DEVSENSE
The use and distribution terms for this software are contained in the file named License.txt,
which can be found in the root of the Phalanger distribution. By using this software
in any fashion, you are agreeing to be bound by the terms of this license.
You must not r... | 35.16058 | 191 | 0.44723 | [
"Apache-2.0"
] | endel/Phalanger | Source/Core.Parsers/PHPDocBlock.cs | 70,288 | C# |
using HandlebarsDotNet;
using Newtonsoft.Json.Linq;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Dotnet.CodeGen.CustomHandlebars.Helpers
{
/// <summary>
///
/// </summary>
#if DEBUG
[HandlebarsHelperSpecification... | 45.679012 | 264 | 0.545135 | [
"Apache-2.0"
] | thomasraynal/dotnet-codegen | src/Dotnet.CodeGen/CustomHandlebars/Helpers/EachWithSort.cs | 3,702 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AutoConnect : MonoBehaviour
{
// Use this for initialization
void Start ( )
{
PhotonNetwork.ConnectUsingSettings( "DinoGen1.5" );
}
public void OnConnectedToMaster ( )
{
Debug.Log( "On... | 28.333333 | 198 | 0.643697 | [
"MIT"
] | L1247/photon-unity-framework | Scripts/Mono/AutoConnect.cs | 1,192 | C# |
//
// Copyright 2015 Blu Age Corporation - Plano, Texas
//
// 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
//
// Un... | 37.92381 | 120 | 0.586891 | [
"Apache-2.0"
] | Andrey-Ostapenko/SummerBatch | Summer.Batch.Extra/Ebcdic/Exception/FieldParsingException.cs | 3,984 | C# |
#region License
// <copyright>
// iGeospatial Geometries Package
//
// This is part of the Open Geospatial Library for .NET.
//
// Package Description:
// This is a collection of C# classes that implement the fundamental
// operations required to validate a given geo-spatial data set to
// a known top... | 22.632 | 89 | 0.644044 | [
"MIT"
] | IBAS0742/iGeospatial_change | Geometries/Indexers/SweepLine/SweepLineEvent.cs | 2,829 | C# |
namespace X4D.Diagnostics.Counters
{
/// <summary>
/// An <see cref="ICounter{T}"/> that supports Incrementing.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface ISupportsIncrement<T> :
ICounter<T>
{
/// <summary>
/// Increment the Counter by the speci... | 31.666667 | 78 | 0.592982 | [
"MIT"
] | wilson0x4d/diagnostics | X4D.Diagnostics/Counters/ISupportsIncrement.cs | 572 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.TestFramework;
using NUnit.Framework;
[assembly: LiveParallelizable(ParallelScope.Fixtures)]
| 26.125 | 61 | 0.794258 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/storage/Azure.Storage.Common/tests/Shared/AssemblyInfo.cs | 211 | C# |
// Copyright 2014 Max Toro Q.
//
// 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... | 30.252874 | 92 | 0.620061 | [
"Apache-2.0"
] | maxtoroq/NTransform | src/NTransform.Xml.Linq/XObjectPatternParser.cs | 2,634 | 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-generate... | 44.438053 | 237 | 0.587573 | [
"MIT"
] | ajaygit158/azure-powershell | src/ResourceManager/AnalysisServices/Commands.AnalysisServices/Properties/Resources.Designer.cs | 9,820 | C# |
namespace MyCoolWebServer.GameStoreApplication.Utilities
{
using System.Linq;
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore.Internal;
public class PasswordAttribute : ValidationAttribute
{
public PasswordAttribute()
{
this.ErrorMessage... | 28.068966 | 155 | 0.599509 | [
"MIT"
] | pirocorp/CSharp-Web-Basics | Workshop/WebServer/MyCoolWebServer/GameStoreApplication/Utilities/PasswordAttribute.cs | 816 | 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.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using... | 43.531353 | 166 | 0.568992 | [
"MIT"
] | G10van1/dotnet-framework-docker | eng/update-dependencies/DependencyUpdater.cs | 13,192 | C# |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using System.Diagnostics;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Raw;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Encoders;
na... | 32.58371 | 102 | 0.551035 | [
"MIT"
] | Bregermann/TargetCrack | Target Crack/Assets/Best HTTP/Source/SecureProtocol/math/ec/custom/sec/SecP256K1FieldElement.cs | 7,201 | C# |
using System;
namespace _2.Count_of_Negative_Elements_in_Array
{
class NegativeElementsInArray
{
static void Main()
{
var numbers = int.Parse(Console.ReadLine());
var array = new int[numbers];
var countOfNegativeNums = 0;
for (int i = 0; i < ar... | 24.111111 | 63 | 0.479263 | [
"MIT"
] | bingoo0/SoftUni-TechModule | Simple Arrays - Exercises/2. Count of Negative Elements in Array/NegativeElementsInArray.cs | 653 | C# |
using Microsoft.WindowsAzure.MobileServices;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections... | 37.92562 | 101 | 0.625844 | [
"MIT"
] | MicrosoftLearning/DocumentDB-MVA | mobile app demo/net/mvamobiletodo/mvamobiletodo.Shared/App.xaml.cs | 4,591 | C# |
using System;
namespace Bridge.Html5
{
/// <summary>
/// The HTMLElement interface represents any HTML element. Some elements directly implement this interface, others implement it via an interface that inherits it.
/// </summary>
[External]
[Name("HTMLElement")]
public class HTMLElement : Elem... | 36.117838 | 166 | 0.599838 | [
"Apache-2.0"
] | Antonio24/Bridge | Html5/Elements/HTMLElement.cs | 33,409 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//A delegate for creating event
public delegate void UpdateStackEvent();
public class ObservableStack<T> : Stack<T>
{
/// <summary>
/// Event that is raised when we push something
/// </summary>
public event UpdateS... | 20.794118 | 94 | 0.586987 | [
"MIT"
] | gusdn6763/inScope_RPG_Tutorial | Assets/Scripts/ObservableStack.cs | 1,416 | C# |
//
// Bindings for DoubleActions's in various classes in AppKit
//
// Copyright 2010, Novell, Inc.
//
// 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
// with... | 28.471698 | 73 | 0.733598 | [
"BSD-3-Clause"
] | NormanChiflen/xamarin-all-IOS | src/AppKit/DoubleWrapper.cs | 3,018 | C# |
using QTObjectModelLib;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace HpToolsLauncher
{
public class MBTRunner : RunnerBase, IDisposable
{
private readonly object _lockObject = new object();
private string parentFolder;//folder in which we will c... | 43.732673 | 254 | 0.496491 | [
"MIT"
] | MicroFocus/ADM-FT-ToolsLauncher | HpToolsLauncher/Runners/MBTRunner.cs | 13,253 | C# |
using System;
namespace FluentTextTable.Sample._11.Margins
{
public class User
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime Birthday;
}
public class Sample
{
public static void WriteConsole()
{
var users = new[]... | 25.642857 | 96 | 0.411328 | [
"MIT"
] | nuitsjp/FluentTextTable | src/FluentTextTable.Sample/11.Margins/Sample.cs | 1,079 | C# |
using System;
using System.Collections.Generic;
using RimWorld;
using UnityEngine;
namespace CompCamo
{
// Token: 0x02000007 RID: 7
public class CamoPresetColour
{
// Token: 0x17000003 RID: 3
// (get) Token: 0x06000045 RID: 69 RVA: 0x00004AD0 File Offset: 0x00002CD0
public static Color Orange
{
get
{... | 20.9375 | 109 | 0.6199 | [
"MIT"
] | Lucas559-noob/CamouflageandStealth | Source/CompCamo/CamoPresetColour.cs | 3,017 | C# |
namespace Dapper.Query
{
public class JoinClause
{
internal JoinType JoinType { get; set; }
internal SelectStatement ParentStatement { get; set; }
internal Table JoinedTable { get; set; }
internal Predicate OnPredicate { get; set; }
internal JoinClause(SelectStatement p... | 28.340909 | 98 | 0.504411 | [
"MIT"
] | jdcgamer/DapperQuery | src/Dapper.Query/JoinClause.cs | 1,249 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace MultiColorSliders.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally respondi... | 34.59375 | 98 | 0.680217 | [
"Apache-2.0"
] | DLozanoNavas/xamarin-forms-book-samples | Chapter23/MultiColorSliders/MultiColorSliders/MultiColorSliders.iOS/AppDelegate.cs | 1,107 | C# |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <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>
//-------------... | 27.039216 | 164 | 0.740675 | [
"CC0-1.0"
] | jmbarberan/gobman | IntelligobServidor/Services.cs | 31,717 | C# |
using BenchmarkCmp.Models.Internal;
using BenchmarkCmp.Models.Output;
using System.Linq;
namespace BenchmarkCmp.Comparers
{
public class BranchMispredictionsComparer : BaseValueComparer
{
public override BenchmarkBranchMispredictionsComparing[] Compare(Benchmark[] old, Benchmark[] @new)
{
... | 33.821429 | 107 | 0.538543 | [
"MIT"
] | yakivyusin/BenchmarkCmp | BenchmarkCmp/Comparers/BranchMispredictionsComparer.cs | 949 | C# |
using UniInject;
using UnityEngine;
using UnityEngine.UIElements;
public class AudioWaveFormVisualization : INeedInjection
{
public Color WaveformColor { get; set; }= Color.white;
private readonly DynamicTexture dynTexture;
public AudioWaveFormVisualization(GameObject gameObject, VisualElement visualEle... | 28.473684 | 95 | 0.569316 | [
"MIT"
] | achimmihca/Play | UltraStar Play/Packages/playshared/Runtime/Audio/AudioWaveFormVisualization.cs | 4,871 | C# |
using Microsoft.IdentityModel.S2S.Protocols.OAuth2;
using Microsoft.IdentityModel.Tokens;
using Microsoft.SharePoint.Client;
using System;
using System.Net;
using System.Security.Principal;
using System.Web;
using System.Web.Configuration;
namespace Core.TimerJobs.Samples.ExpandJobAppOnly
{
/// <summary>
/// E... | 39.215135 | 199 | 0.609362 | [
"Apache-2.0"
] | AKrasheninnikov/PnP | Solutions/Core.TimerJobs.Samples/Core.TimerJobs.Samples.ExpandJobAppOnly/SharePointContext.cs | 36,274 | C# |
using System;
using System.Collections.Generic;
using ArcanaStudio.Toolkit.Functional;
namespace Toolkit.Tests.Functional.TestCasesSource
{
public static class EitherAdaptersTestCaseSources
{
public static IEnumerable<object[]> MapFuncTest
{
get
{
var s ... | 35.452381 | 109 | 0.519812 | [
"MIT"
] | ArcanaStudio/Arcana-Toolk | src/Tests/Toolkit.Tests/Functional/TestCasesSource/EitherAdaptersTestCaseSources.cs | 1,491 | C# |
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Net;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Orlean... | 42.214552 | 241 | 0.607681 | [
"MIT"
] | DerHulk/orleans | src/Orleans.Core/Runtime/OutsideRuntimeClient.cs | 22,627 | C# |
// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// 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 a... | 32.719298 | 75 | 0.683646 | [
"Apache-2.0"
] | Energinet-DataHub/geh-charges | source/GreenEnergyHub.Charges/source/GreenEnergyHub.Charges.Application/Charges/Acknowledgement/ChargePricesUpdatedEvent.cs | 1,867 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Network.Models
{
/// <summary> The routes table associated with the ExpressRouteCircuit. </summary>
public partial class ExpressRouteCircuitRo... | 48.2 | 172 | 0.658829 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExpressRouteCircuitRoutesTableSummary.cs | 2,169 | C# |
using System;
using _Game.GameResources;
using _Game.InventorySystem;
using _Game.ShopSystem;
using _Game.Towers;
using _Game.UI.Utils;
using MEC;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace _Game
{
//TODO: Improve this mess
//Sorry future self for making this. I was in a hurr... | 30.688073 | 122 | 0.578475 | [
"MIT"
] | MarcoElz/ggj22 | Assets/_Game/Scripts/Global.cs | 3,347 | C# |
using System;
using System.Collections.Generic;
using ProductionCode.Orders.Models;
using System.Linq;
namespace NUnit.FullFramework.Orders.Builders
{
class OrderBuilder
{
private decimal? _amount = null;
private int? _id = null;
private DateTime? _bookedDate = new DateTime(2019,... | 24.558824 | 78 | 0.522555 | [
"MIT"
] | elizabethcrich/UnitTestingBootcamp | NUnit.FullFramework/Orders (Exercises)/Builders/OrderBuilder.cs | 2,507 | C# |
using System;
namespace SampleApp.Models
{
public class FormModel : BaseModel
{
private DateTime _birthDate = DateTime.Today;
private string _city = string.Empty;
private string _email = string.Empty;
private string _emailConfirm = string.Empty;
private bool _english;
... | 24.27193 | 57 | 0.513914 | [
"MIT"
] | Bhekinkosi12/Global.InputForms | Sample/SampleApp/Models/FormModel.cs | 2,769 | C# |
namespace BYteWare.XAF.ElasticSearch.Win.Template
{
partial class OutlookStyleMainRibbonDynamicActionContainer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up a... | 64.700084 | 193 | 0.703535 | [
"MPL-2.0"
] | cuongpv88/XAF.ElasticSearch | BYteWare.XAF.ElasticSearch.Win/Template/OutlookStyleMainRibbonDynamicActionContainer.Designer.cs | 77,448 | C# |
/* Generated SBE (Simple Binary Encoding) message codec */
using System;
using System.Text;
using System.Collections.Generic;
using Adaptive.Agrona;
namespace Adaptive.Cluster.Codecs {
public class ChallengeDecoder
{
public const ushort BLOCK_LENGTH = 16;
public const ushort TEMPLATE_ID = 7;
public const... | 30.104575 | 416 | 0.659032 | [
"Apache-2.0"
] | FrancisChung/Aeron.NET | src/Adaptive.Cluster/Codecs/ChallengeDecoder.cs | 9,212 | C# |
namespace FourRoads.TelligentCommunity.Splash.Logic
{
public struct SplashConfigurationDetails
{
public string Password;
public bool CreateAccount;
public bool RemoveHeader;
public bool RemoveFooter;
}
} | 24.7 | 51 | 0.696356 | [
"MIT"
] | 4-Roads/FourRoads.TelligentCommunity | src/code/FourRoads.TelligentCommunity.Splash/Logic/SplashConfigurationDetails.cs | 247 | C# |
using System;
using Ray.Infrastructure.Extensions;
using Ray.Serilog.Sinks.Batched;
using Serilog.Events;
namespace Ray.Serilog.Sinks.PushPlusBatched
{
public class PushPlusBatchedSink : BatchedSink
{
private readonly string _token;
private readonly string _topic;
private readonly stri... | 27.288462 | 109 | 0.589852 | [
"MIT"
] | RayWangQvQ/Ray.AutoTask | framework/Ray.Serilog.Sinks/Ray.Serilog.Sinks.PushPlusBatched/PushPlusBatchedSink.cs | 1,421 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NetResponder")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NetResponder")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: A... | 33.2 | 56 | 0.761044 | [
"MIT"
] | BlueSkeye/NetResponder | Properties/AssemblyInfo.cs | 501 | C# |
using System.Collections.Generic;
namespace parent_bMedecine.BusinessManagement.Patient
{
/// <summary>
/// IPatientService interface
/// </summary>
public interface IPatientDataService
{
/// <summary>
/// Retrieve all patients
/// </summary>
/// <returns>a list of ... | 30.837838 | 69 | 0.57844 | [
"MIT"
] | aparenton/mti-wpf | parent_bMedecine/parent_bMedecine/BusinessManagement/Patient/IPatientDataService.cs | 1,143 | C# |
// Copyright (c) TotalSoft.
// This source code is licensed under the MIT license.
using System;
using System.Threading;
using System.Threading.Tasks;
namespace NBB.Core.Effects
{
public class GenericSideEffectHandler<TSideEffect, TOutput>: ISideEffectHandler<TSideEffect, TOutput>
where TSideEf... | 31.461538 | 107 | 0.685819 | [
"MIT"
] | VCuzmin/nbb | src/Core/NBB.Core.Effects/GenericSideEffectHandler.cs | 820 | C# |
using System;
using ETModel;
using UnityEngine;
using UnityEngine.UI;
namespace ETHotfix
{
[ObjectSystem]
public class UiLobbyComponentSystem : AwakeSystem<UILobbyComponent>
{
public override void Awake(UILobbyComponent self)
{
self.Awake();
}
}
public class UILobbyComponent : Component
{
private G... | 29.53211 | 172 | 0.716372 | [
"MIT"
] | 594270461/LandlordsCore | Unity/Assets/Hotfix/UI/UILobby/Component/UILobbyComponent.cs | 3,293 | C# |
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace fcu_ucan.Models.User
{
public class UserViewModel
{
[JsonPropertyName("Id")]
[Display(Name = "使用者識別碼")]
public string Id { get; set; }
[JsonPropertyName("UserName")]
[D... | 29.923077 | 54 | 0.553985 | [
"MIT"
] | fcu-ssc/fcu-ucan | fcu-ucan/Models/User/UserViewModel.cs | 1,674 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using MediatR;
using SFA.DAS.Payments.DCFS.Domain;
using SFA.DAS.Provider.Events.DataLock.Domain;
using SFA.DAS.Provider.Events.DataLock.Domain.Data;
namespace SFA.DAS.Provider.Events.DataLock.Application.GetCurrentProviderEvents
{
public class Ge... | 46.907143 | 188 | 0.485229 | [
"MIT"
] | SkillsFundingAgency/das-providerpayments | src/SharedPipelineComponents/DataLockEvents/SFA.DAS.Provider.Events.DataLock/Application/GetCurrentProviderEvents/GetCurrentProviderEventsHandler.cs | 13,136 | C# |
using AElf.Contracts.Consensus.AEDPoS;
using Google.Protobuf;
namespace AElf.Kernel.Consensus.AEDPoS
{
public static class ByteStringExtensions
{
internal static AElfConsensusHint ToAElfConsensusHint(this ByteString byteString)
{
var hint = new AElfConsensusHint();
hint.... | 25.666667 | 89 | 0.667532 | [
"MIT"
] | IamWenboZhang/AElf | src/AElf.Kernel.Consensus.AEDPoS/Extensions/ByteStringExtensions.cs | 385 | 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 may not... | 39.546218 | 90 | 0.638334 | [
"Apache-2.0"
] | AI-ML-Projects/arrow | csharp/test/Apache.Arrow.Tests/ArrowFileWriterTests.cs | 4,708 | C# |
namespace android.view
{
[global::MonoJavaBridge.JavaClass()]
public partial class TouchDelegate : java.lang.Object
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
static TouchDelegate()
{
InitJNI();
}
protected TouchDelegate(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)... | 36.477612 | 274 | 0.756956 | [
"MIT"
] | beachmiles/androidmono | jni/MonoJavaBridge/android/generated/android/view/TouchDelegate.cs | 2,444 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.ContractsLig... | 48.48017 | 208 | 0.626494 | [
"MIT"
] | MatisseHack/BuildXL | Public/Src/FrontEnd/Sdk/Workspaces/Core/ModuleParsingQueue.cs | 34,227 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Threading.Tasks;
using NewLife.Log;
using NewLife.Model;
using NewLife.Serialization;
using System.Net.NetworkInformation;
#if NET40_OR... | 35.66787 | 143 | 0.487213 | [
"MIT"
] | NewLifeX/X | NewLife.Core/Common/MachineInfo.cs | 30,798 | C# |
using Akka.Actor;
using Akka.DependencyInjection;
using Akka.Event;
using Akka.Logger.Serilog;
using Akka.Util;
using OpenTTD.Actors.Server;
using Domain.Models;
using Domain.ValueObjects;
using Microsoft.Extensions.DependencyInjection;
using OpenTTD.DataAccess;
using OpenTTD.Services;
namespace OpenTTD.Actors.Coordi... | 33.792453 | 109 | 0.521078 | [
"MIT"
] | TG-OpenTTD/tgServicesAndApps | src/OpenTTD/OpenTTD.Actors/Coordinator/CoordinatorActor.cs | 7,166 | C# |
using Hl7.Fhir.WebApi;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Net.Http.Headers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Hl7.Fhir.NetCoreApi.STU3
{
public class FhirFormatParameterFilter : IResultFilter
{
public void On... | 34.709677 | 122 | 0.639405 | [
"BSD-3-Clause"
] | brianpos/FhirFederator | Hl7.Fhir.NetCoreApi/FormatParameterFilter.cs | 1,078 | C# |
using LiveHAPI.Shared.Interfaces.Model;
namespace LiveHAPI.Shared.ValueObject.Meta
{
public class RelationshipTypeInfo: IRelationshipType
{
public string Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
} | 25.909091 | 56 | 0.670175 | [
"MIT"
] | palladiumkenya/livehapi | LiveHAPI.Shared/ValueObject/Meta/RelationshipTypeInfo.cs | 287 | C# |
using System.Collections.Generic;
namespace Procurement.ViewModel
{
public class SetTabBuyoutViewModel
{
private static List<string> orbTypes = new List<string>()
{
"Chaos Orb",
"Vaal Orb",
"Exalted Orb",
"Divine Orb",
"Orb of Fusing"... | 24.488372 | 65 | 0.479582 | [
"Artistic-2.0"
] | Brian-K-Smith/Procurement | Procurement/ViewModel/SetTabBuyoutViewModel.cs | 1,055 | C# |
/*
* Copyright 2010-2013 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... | 30.228571 | 92 | 0.730624 | [
"Apache-2.0"
] | AltairMartinez/aws-sdk-unity-net | src/Services/S3/Custom/Model/PutBucketAccelerateConfiguarationResponse.cs | 1,058 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketBase;
namespace SuperSocket.QuickStart.BroadcastService
{
public class BroadcastSession : AppSession<BroadcastSession>
{
public string DeviceNumber { get; set; }
public ne... | 22.458333 | 65 | 0.627087 | [
"BSD-3-Clause"
] | 3rdandUrban-dev/Nuxleus | src/external/SuperSocket/mainline/QuickStart/BroadcastService/BroadcastSession.cs | 541 | C# |
// Copyright (C) 2015-2017 Luca Piccioni
//
// 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, ... | 30.693878 | 98 | 0.709774 | [
"MIT"
] | MagmaiKH/OpenGL.Net | OpenGL.Net/GlException.cs | 3,010 | C# |
// -----------------------------------------------------------------------------------
//
// GRABCASTER LTD CONFIDENTIAL
// ___________________________
//
// Copyright © 2013 - 2016 GrabCaster Ltd. All rights reserved.
// This work is registered with the UK Copyright Service: Registration No:284701085
//
//
// NOT... | 38.508475 | 87 | 0.690581 | [
"MIT"
] | debiaggi/GrabCaster | Triggers/ETW/Properties/AssemblyInfo.cs | 2,276 | 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.Net.Http.Headers;
using System.Text;
namespace System.Net.Http
{
public class HttpResponseMessage ... | 29.952991 | 197 | 0.495506 | [
"MIT"
] | OceanYan/corefx | src/System.Net.Http/src/System/Net/Http/HttpResponseMessage.cs | 7,009 | C# |
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotVVM.Framework.Hosting;
namespace DotVVM.Framework.Controls.Infrastructure
{
public class GlobalizeResource : DotvvmControl
{
protected internal override void On... | 25.3 | 83 | 0.737154 | [
"Apache-2.0"
] | AMBULATUR/dotvvm | src/DotVVM.Framework/Controls/Infrastructure/GlobalizeResource.cs | 508 | C# |
using System;
using System.IO;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
namespace Cosmos.Encryption.Core {
/// <summary>
/// Abstrace Symmetric/SymmetricEncyptionBase encryption.
/// Reference: Seay Xu
/// https://github.com/godsharp/GodSharp.En... | 41.666667 | 125 | 0.57 | [
"MIT"
] | chinayou25/Cosmos | Encryption/src/Cosmos.Encryption/Core/SymmetricEncyptionBase.cs | 3,024 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShellDll
{
//http://msdn.microsoft.com/en-us/library/windows/desktop/dd378457%28v=vs.85%29.aspx
public enum KnownFolderIds
{
[KnownFolderGuid("{008ca0b1-55b4-4c56-b... | 42.568207 | 102 | 0.658033 | [
"MIT"
] | philvanzu/Bubbles | Dependencies/XamlFileSystemExplorer/FSExplorer/FileSystemInfoEx/Header/KnownFolder/Enums/KnownFolderIds.cs | 37,760 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PaperMarioBattleSystem
{
/// <summary>
/// A BattleEvent that removes an <see cref="IWingedBehavior"/>'s wings when it stops being targeted.
/// </summary>
public se... | 29.697674 | 124 | 0.562255 | [
"Unlicense"
] | kimimaru4000/PaperMarioBattleSystem | PaperMarioBattleSystem/PaperMarioBattleSystem/Classes/BattleEvents/RemoveWingsBattleEvent.cs | 1,279 | C# |
using System;
using TrueCraft.API.Logic;
using TrueCraft.API.World;
using TrueCraft.API;
using TrueCraft.API.Networking;
using TrueCraft.Core.Entities;
using TrueCraft.API.Entities;
using TrueCraft.API.Server;
using TrueCraft.Core.Logic.Blocks;
using System.Linq;
using fNbt;
namespace TrueCraft.Core.Logic
{
/// <... | 34.642276 | 137 | 0.578972 | [
"MIT"
] | manio143/TrueCraft | TrueCraft.Core/Logic/BlockProvider.cs | 8,524 | C# |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using UnityEngine.InputSystem;
public class TouchController : MonoBehaviour {
// PUBLIC
public delegate void TouchDelegate(Vector2 value);
public event TouchDelegate TouchEvent;
public delegate void TouchStateDelegate(bool touchPresent);
publi... | 21.190476 | 140 | 0.720899 | [
"CC0-1.0"
] | maryphun/Hellfight | Assets/Scripts/TouchController.cs | 2,227 | 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.
#nullable disable
using System;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Roslyn.Utilities;
nam... | 36.239437 | 101 | 0.658764 | [
"MIT"
] | belav/roslyn | src/EditorFeatures/Core/Implementation/IntelliSense/Session.cs | 2,575 | C# |
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* @brief 削除管理。コールバックインターフェイス。
*/
/** Fee.Deleter
*/
namespace Fee.Deleter
{
/** OnDelete_CallBackInterface
*/
public interface OnDelete_CallBackInterface
{
/** [Fee.Deleter.OnDelete_... | 14.88 | 62 | 0.704301 | [
"MIT"
] | bluebackblue/fee | Script/Deleter/OnDelete_CallBackInterface.cs | 418 | C# |
using JT808.Protocol.Enums;
using JT808.Protocol.Extensions;
using JT808.Protocol.Formatters;
using JT808.Protocol.Interfaces;
using JT808.Protocol.MessagePack;
using System.Text.Json;
namespace JT808.Protocol.MessageBody
{
/// <summary>
/// 终端升级结果通知
/// </summary>
public class JT808_0x0108 : JT808Bod... | 38.377358 | 130 | 0.6588 | [
"MIT"
] | AchaInChina/JT808 | src/JT808.Protocol/MessageBody/JT808_0x0108.cs | 2,170 | C# |
#pragma warning disable CS0626 // Method, operator, or accessor is marked external and has no attributes on it
using Celeste.Mod;
using Celeste.Mod.Core;
using Microsoft.Xna.Framework;
using Monocle;
using MonoMod;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System... | 34.612121 | 128 | 0.567151 | [
"MIT"
] | SSZero88/SteveMod | Everest/Celeste.Mod.mm/Patches/GameLoader.cs | 5,713 | C# |
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <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>
//-----... | 18.823232 | 82 | 0.507915 | [
"MIT"
] | vssaini/OIMS | OimsDataModel/Request.generated.cs | 3,727 | 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.Diagnostics.CodeAnalysis;
#nullable disable
namespace Microsoft.VisualStudio.ProjectSystem
{
[ExcludeFromCodeCoverage]
[SuppressMessag... | 27.666667 | 161 | 0.749398 | [
"Apache-2.0"
] | JeremyKuhne/project-system | src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Rules/Items/Compile.cs | 417 | C# |
using LogViewer.Services;
using LogViewer.ViewModel;
using Moq;
using NUnit.Framework;
namespace LogViewer.Test
{
[TestFixture]
public class MainViewModelTest
{
[TestCase]
public void OpenFile_ReturnFileName_ShouldStartWatch()
{
string filePath = "sample_log_file";
... | 30.095238 | 90 | 0.636867 | [
"MIT"
] | jawahars16/logviewer | LogViewer.Test/MainViewModelTest.cs | 1,266 | C# |
using System;
using System.Collections.Generic;
using System.Web;
using YTS.Tools;
using YTS.Web.UI;
namespace YTS.Web.tools
{
/// <summary>
/// article_ajax 的摘要说明
/// </summary>
public class article_ajax : AbsHttpRequestHandler
{
public override Dictionary<string, Func<HttpContext, Model.... | 34.534884 | 114 | 0.579798 | [
"Apache-2.0"
] | YellowTulipShow/CSharp | dotnet_framework/YTS.Web/tools/article_ajax.ashx.cs | 1,529 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuartzCore.Blazor.Shared.MongoDB
{
public class PageInputByDateDto : PageInputDto
{
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; set; }
... | 21.6 | 50 | 0.709877 | [
"MIT"
] | BaseCoreVueProject/QuartzCore.Blazor | QuartzCore.Blazor/Shared/MongoDB/PageInputByDateDto.cs | 326 | 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("Chl... | 42.12 | 109 | 0.777778 | [
"Apache-2.0"
] | Davivd659/Chloe | src/DotNetCore/Chloe.SqlServer/Properties/AssemblyInfo.cs | 1,055 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Caching;
using System.Web.Hosting;
using Telerik.Sitefinity.Abstractions.VirtualPath;
namespace Telerik.Sitefinity.Frontend.Resources.Resolvers
{
/// <summary>
/// ... | 36.227848 | 171 | 0.592243 | [
"Apache-2.0"
] | Sitefinity/feather | Telerik.Sitefinity.Frontend/Resources/Resolvers/FileSystemResourceResolver.cs | 5,726 | 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.AwsN... | 26.689655 | 81 | 0.651163 | [
"Apache-2.0"
] | AaronFriel/pulumi-aws-native | sdk/dotnet/Events/Inputs/ConnectionParameterArgs.cs | 774 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Gurkenplayer
{
/// <summary>
/// Manages the MPClient and MPServer instances while providing methods to access them. It makes sure
/// that there is only one MPClient or one MPServer instance. The MPManager can... | 36.246429 | 176 | 0.53823 | [
"MIT"
] | DaniGTA/Gurkenplayer | Gurkenplayer/MPManager.cs | 20,300 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Mediachase.Ibn.Core.Business;
using Mediachase.Ibn.Data;
using Mediachase.IBN.Database;
using Mediachase.Ibn.Data.Sql;
using Mediachase.IBN.Business;
namespace Mediachase.Ibn.Business.Messages
{
/// <summary>
/// Represents ibn client message d... | 23.873786 | 151 | 0.718585 | [
"MIT"
] | InstantBusinessNetwork/IBN | Source/Server/Business/Messages/IbnClientMessageDeliveryProvider.cs | 2,459 | C# |
#if !NO_RUNTIME
using System;
namespace ProtoBuf.Serializers
{
sealed class UriDecorator : ProtoDecoratorBase
{
public override bool RequiresOldValue { get { return false; } }
public override bool ReturnsValue { get { return true; } }
public override Type ExpectedType { get { return ... | 34.372549 | 97 | 0.598403 | [
"Apache-2.0"
] | Jessecar96/protobuf-net | protobuf-net/Serializers/UriDecorator.cs | 1,755 | C# |
/*
| ``\":. . .:"/``
| BAYKUS Reputation Reporter \\";;;\"~^~"/;;;"//
| O( (O)\\|//(O) )O
| OOo~~_)\|/(_~~oOO
| doO/~... | 51.495957 | 150 | 0.511803 | [
"Unlicense"
] | Yuuyake/Baykus | Baykus.cs | 19,157 | C# |
// Display a splash window immediately to improve app responsiveness before
// engine is initialized and main window created (only windows)
displaySplashWindow("splash.png"); //closeSplashWindow();
//1=keep log file open while writing. 1= save on each log
setLogMode(2);
// will trace and log to console the in... | 30.38961 | 82 | 0.644017 | [
"MIT"
] | kiyoMatsui/Torque3D | Templates/kiyoBones/game/main.cs | 2,264 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.user.account.get
/// </summary>
public class AlipayUserAccountGetRequest : IAlipayRequest<AlipayUserAccountGetResponse>
{
#... | 22.362069 | 91 | 0.554356 | [
"MIT"
] | Msy1989/payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayUserAccountGetRequest.cs | 2,596 | C# |
using UnityEngine;
using System.Collections;
public class CoreyRepopulateScript : MonoBehaviour {
protected CoreyGameManagerScript gameManager; //reference to game manager
public virtual void Start () {
gameManager = GetComponent<CoreyGameManagerScript>(); //getting a refernece to GM component
}
//Repopulat... | 33.181818 | 98 | 0.749315 | [
"Unlicense"
] | madparker/CodeLab2-2017-Match3Repo1 | Match3/Assets/Students/cb3628/Scripts/CoreyRepopulateScript.cs | 732 | C# |
namespace minecraft.Application.Bindables;
public class BindableLong : BindableNumber<long>
{
public BindableLong(long defaultValue = default)
: base(defaultValue)
{
}
protected override Bindable<long> CreateInstance() => new BindableLong();
}
| 22.583333 | 77 | 0.715867 | [
"MIT"
] | devclyde/minecraft-net | application/Bindables/BindableLong.cs | 273 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.