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 Syncfusion.Windows.Forms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using HASSAgent.Models.Config;
using HASSAgent.Mqtt;
using HASSAgent.Sensors;
using HASSAgent.Settings;
using Serilog;
using Syncfusion.Windows.Forms.G... | 42.151429 | 217 | 0.521792 | [
"MIT"
] | Syntoxr/HASS.Agent | src/HASS.Agent/HASSAgent/Forms/Sensors/SensorsConfig.cs | 14,755 | 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... | 31.773438 | 207 | 0.599459 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/V20170601/GetLocalNetworkGateway.cs | 4,067 | C# |
using EmptyFiles;
using VerifyTests;
static class FileComparer
{
public static async Task<EqualityResult> DoCompare(VerifySettings settings, FilePair file, bool previousTextHasFailed)
{
if (!File.Exists(file.Verified))
{
return Equality.MissingVerified;
}
... | 29.733333 | 123 | 0.574832 | [
"MIT"
] | JordanMarr/Verify | src/Verify/Compare/FileComparer.cs | 3,451 | C# |
//using Glimpse.Core.Extensibility;
//namespace MvcMusicStore.Framework
//{
// public class QueryClientScript : IStaticClientScript
// {
// public ScriptOrder Order
// {
// get { return ScriptOrder.IncludeAfterClientInterfaceScript; }
// }
// public string GetUri(string v... | 24.294118 | 75 | 0.583535 | [
"Apache-2.0"
] | Alexandre-Busarello/Glimpse | source/Glimpse.Mvc3.MusicStore.Sample/Framework/QueryClientScript.cs | 415 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using until.develop;
namespace until.utils.algorithm
{
public class DijkstraResolver
{
private class Node
{
public bool Open = false;
public bool Close =... | 31.403756 | 118 | 0.458962 | [
"MIT"
] | fullmoonhalf/until | Assets/Until/Scripts/Utils/Dijkstra.cs | 6,709 | C# |
#pragma checksum "F:\DotNetSelfPractise_Home\source\Class10and11\AutofacTrying\Trying2\Views\Shared\_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5c0d780952970826bd192b3ddb169589ba277088"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledIte... | 83.533333 | 384 | 0.725749 | [
"MIT"
] | Amphibian007/DotNetSelfPractise_Home | source/Class10and11/AutofacTrying/Trying2/obj/Debug/netcoreapp3.1/Razor/Views/Shared/_Layout.cshtml.g.cs | 27,566 | C# |
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
using ARSoft.Tools.N... | 55.078313 | 148 | 0.545773 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | DreamLayer/Arashi.Azure.P | Arashi.Shimbashi/Program.cs | 18,288 | C# |
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace Lasm.Continuum.Humility
{
public static partial class HUMIO
{
/// <summary>
/// Quick building of a file path, based on the persistant data path.
/// </summary>
internal static string PersistantPath... | 29.534653 | 112 | 0.536708 | [
"MIT"
] | stuksgens/Continuum | Runtime/Humility/IO/HUMIO_Root.cs | 2,985 | C# |
using System;
namespace Bing.Date
{
/// <summary>
/// Bing <see cref="DateTimeSpan"/> 扩展
/// </summary>
public static class DateTimeSpanExtensions
{
#region Before
/// <summary>
/// 之前
/// </summary>
/// <param name="ts">日期时间间隔</param>
public static... | 36.55618 | 173 | 0.583525 | [
"MIT"
] | bing-framework/Bing.Utils | src/Bing.Utils.DateTime/Bing/Date/DateTimeSpanExtensions.cs | 7,279 | C# |
//-----------------------------------------------------------------------
// <copyright company="CoApp Project">
// ResourceLib Original Code from http://resourcelib.codeplex.com
// Original Copyright (c) 2008-2009 Vestris Inc.
// Changes Copyright (c) 2011 Garrett Serack . All rights reserved.
// </c... | 44.615385 | 153 | 0.592241 | [
"Apache-2.0"
] | riverar/devtools | toolkit/ResourceLib/FontDirectoryResource.cs | 4,642 | C# |
using Microsoft.AspNetCore.Mvc;
namespace FALKR_SubstitutionCipher.Controllers
{
public class AboutController : Controller
{
public IActionResult Index()
{
return View();
}
}
}
| 15.266667 | 46 | 0.615721 | [
"MIT"
] | SamArmand/FALKR-SubstitutionCipher | src/FALKR-SubstitutionCipher/Controllers/AboutController.cs | 231 | C# |
using System;
using System.Reflection;
namespace Natasha.CSharp.Reverser
{
/// <summary>
/// 访问级别反解器
/// </summary>
public static class AccessReverser
{
/// <summary>
/// 根据枚举获取访问级别
/// </summary>
/// <param name="enumAccess">访问级别枚举</param>
/// <returns></r... | 18.243094 | 68 | 0.438522 | [
"MIT"
] | alexinea/Natasha | src/Natasha.CSharp/Natasha.CSharp.Reverser/Reverser/AccessReverser.cs | 3,440 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Transactions;
using Newtonsoft.Json;
namespace Data
{
public class Ballpark
{
public string name { get; set; }
public string type { get; set; }
public List<Feature> features { ge... | 24.44 | 89 | 0.608838 | [
"MIT"
] | zoidfarb204/sport-trip-api | Data/Models/Ballpark.cs | 613 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using PlexRequests.Core.Helpers;
using PlexRequests.Core.Settings;
using PlexRequests.Plex;
using PlexRequests.Sync.SyncProcessors;
namespace PlexRequests.Sync
{
public class ... | 32.219512 | 137 | 0.68433 | [
"MIT"
] | Jbond312/PlexRequestsApi | src/PlexRequests.Sync/ProcessorProvider.cs | 1,323 | C# |
/*
* 本文代码来自网上,请参考
* http://blog.csdn.net/sqqyq/article/details/50920261
* https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/http-message-handlers
* 有关 HttpClient 的使用注意事项,请参考链接:
*/
using PWMIS.OAuth2.Tools;
using System;
using System.Collections.Generic;
using System.Collections.Spec... | 41.325956 | 192 | 0.491261 | [
"Apache-2.0"
] | bluedoctor/PWMIS.OAuth2.0 | PWMIS.OAuth2.Tools/RequestHandler.cs | 22,141 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using SeoSchema;
using SeoSchema.Enumerations;
using SuperStructs;
namespace SeoSchema.Entities
{
/// <summary>
/// For a given health insurance plan, the specification for costs and coverage of prescription drugs.
/// <s... | 52.412698 | 427 | 0.693822 | [
"MIT"
] | jefersonsv/SeoSchema | src/SeoSchema/Entities/HealthPlanFormulary.cs | 3,302 | C# |
// Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 re... | 31.833333 | 75 | 0.740838 | [
"Apache-2.0"
] | bzd3y/sensus | Sensus.Shared/UI/Inputs/ButtonWithValue.cs | 766 | C# |
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation 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;
using System.Collections.Generic;
using System.IO.Abstractions;
using System.Linq;
usi... | 33.701754 | 107 | 0.603332 | [
"MIT"
] | 10088/PowerToys | src/modules/launcher/Plugins/Microsoft.Plugin.Folder/Sources/QueryEnvironmentVariable.cs | 1,867 | C# |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using SaintCoinach.Imaging;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Saint = SaintCoinach.Xiv;
namespace Garland.Data.Modules
{
public class FishingSpots : Module
... | 39.689602 | 147 | 0.498286 | [
"MIT"
] | CatStarwind/GarlandTools | Garland.Data/Modules/FishingSpots.cs | 25,959 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 32.745763 | 153 | 0.554865 | [
"MIT"
] | microsoftgraph/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/model/ClassificationResult.cs | 1,932 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
using DotNetty.Common.Utilities;
using DotNetty.Transport.Channels;
using Surging.Cloud.Protocol.Mqtt.Internal.Channel;
using Surging.Cloud.Protocol.Mqtt.Internal.Enums;
using Surging.Cloud.Protocol.Mqtt.Internal.Me... | 37.79902 | 166 | 0.628842 | [
"MIT"
] | microserviceframe/surging.cloud-new | src/Surging.Cloud/Surging.Cloud.Protocol.Mqtt/Internal/Services/AbstractChannelService.cs | 7,713 | 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 ... | 24.915385 | 134 | 0.66996 | [
"Apache-2.0"
] | aliyun/aliyun-openapi-net-sdk | aliyun-net-sdk-vs/Vs/Model/V20181212/AddRenderingDeviceInternetPortsRequest.cs | 3,239 | C# |
using System.Threading.Tasks;
using Nethereum.JsonRpc.Client;
public interface IIbftGetValidatorsByBlockHash
{
Task<string[]> SendRequestAsync(string blockHash, object id = null);
RpcRequest BuildRequest(string blockHash, object id = null);
} | 31.375 | 72 | 0.788845 | [
"MIT"
] | avtokey/Nethereum | src/Nethereum.Pantheon/RPC/IBFT/IIbftGetValidatorsByBlockHash.cs | 251 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Windows;
using Macad.Common;
using Macad.Core;
using Macad.Core.Topology;
namespace Macad.Interaction
{
public sealed class Sel... | 36.29096 | 152 | 0.438702 | [
"MIT"
] | Macad3D/Macad3D | Source/Macad.Interaction/Workspace/Selection/SelectionManager.cs | 12,849 | C# |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class StoreRoomFiller : CelluarRoomFiller {
public StoreRoomFiller(Vector2 pos, int x, int y, Room r, List<Vector2> ds) : base(pos,x,y,r,ds) {}
public override Room FillRoom()
{
randomFillChance = 90;
Ceullar();
... | 23.682927 | 100 | 0.530381 | [
"MIT"
] | brandio/spellLike | dungeons of spell/Assets/Scripts/MapGen/RoomFiller/StoreRoomFiller.cs | 973 | C# |
/*
This class is from this article in stackoverflow:
https://stackoverflow.com/questions/202011/encrypt-and-decrypt-a-string-in-c
Code taken from StackOverflow posts are covered by the MIT or Creative Commons license. Here is more detail:
https://meta.stackexchange.com/questions/271080/the-mit-license-clarity-o... | 50.319328 | 162 | 0.566299 | [
"MIT"
] | bhochgurtel/PinCusion | src/Pincushion.Library/EncryptDecrypt.cs | 5,990 | C# |
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Collections.Generic;
using Azos.Data;
using ... | 25.329412 | 202 | 0.575941 | [
"MIT"
] | JohnPKosh/azos | src/testing/Azos.Tests.Nub/ScriptingAndTesting/DocLogicalComparerBasicTests.cs | 6,461 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 50.962963 | 170 | 0.667333 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IApprovalWorkflowProviderRequest.cs | 5,504 | C# |
namespace PogBot
{
class Search
{
public static async Task<(string, string)> GetImage(string additionalSearch)
{
var search = "";
if (additionalSearch.Equals(""))
{
var rand = new Random().Next(0, 2);
switch (rand)
{
case 0: search = Global.qOW + " " + Global... | 21.928571 | 93 | 0.611292 | [
"MIT"
] | noasoder/PogBot | PogBot/Search.cs | 923 | 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.Diagnostics;
using System.IO;
using System.Net.Http.Headers;
using System.Threading;
using System.Thre... | 41.416667 | 136 | 0.600681 | [
"MIT"
] | harunpehlivan/corefx | src/System.Net.Http/src/System/Net/Http/Managed/HttpProxyConnectionHandler.cs | 6,463 | C# |
#if __ANDROID_28__
using System;
using System.ComponentModel;
using Android.Content;
using Android.Support.V4.View;
using Android.Views;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android.FastRenderers;
using Xamarin.Forms.Material.Android;
using AView = Android.Views.View;
using MaterialCardView = Android.Supp... | 27 | 133 | 0.731001 | [
"MIT"
] | P3PPP/Xamarin.Forms | Xamarin.Forms.Material.Android/MaterialFrameRenderer.cs | 7,805 | C# |
// --------------------------------------------------------------------------------------------
// Copyright (c) 2019 The CefNet Authors. All rights reserved.
// Licensed under the MIT license.
// See the licence file in the project root for full license information.
// ------------------------------------------------... | 37.10989 | 135 | 0.659461 | [
"MIT"
] | AigioL/CefNet | CefNet/Generated/Managed/Types/CefCookieVisitor.cs | 3,381 | C# |
namespace DriverSolutions.ModuleSystem
{
partial class XF_UserNewEdit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </su... | 58.539759 | 151 | 0.65403 | [
"MIT"
] | Ravenheart/driversolutions | DriverSolutions/ModuleSystem/XF_UserNewEdit.Designer.cs | 24,296 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class TelephoneListener : MonoBehaviour, IObjectListener
{
private InteractiveSprite interactiveSprite;
private IEnumerator getMoneyRo... | 33.472 | 158 | 0.65631 | [
"Apache-2.0"
] | serranda/SecuritySeriousGame | SIMSCADA/Assets/Script/SceneItemScript/TelephoneListener.cs | 8,370 | C# |
using DigitalPlatform.Marc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace dp2Circulation
{
/// <summary>
/// 书目记录合并策略
/// </summary>
public class MergeRegistry
{
// 数据库名顺序列表
public List<string> DbNames = ... | 33.785714 | 128 | 0.501527 | [
"Apache-2.0"
] | DigitalPlatform/dp2 | dp2Circulation/IO/MergeRegistry.cs | 4,751 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace EasyDesk.CleanArchitecture.Web.DependencyInjection;
public interface IServiceInstaller
{
void InstallServices(IServiceCollection services, IConfiguration configuration, ... | 32.545455 | 118 | 0.840782 | [
"MIT"
] | EasyDesk/easydesk-clean-architecture | src/EasyDesk.CleanArchitecture.Web/DependencyInjection/IServiceInstaller.cs | 360 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using IEXSharp.Model;
using IEXSharp.Model.CoreData.StockResearch.Response;
using IEXSharp.Model.Shared.Request;
namespace IEXSharp.Service.Cloud.CoreData.StockResearch
{
public interface IStockResearchService
{
/// <summary>
/// <see cref="https://... | 35.566667 | 122 | 0.67104 | [
"MIT"
] | SelfXFighter/IEXSharp | IEXSharp/Service/Cloud/CoreData/StockResearch/IStockResearchService.cs | 3,201 | C# |
using GraphControl.Core.Interfaces.Views;
namespace GraphControl.Core.Interfaces.Models
{
public interface ICanvasSizeChanged
{
/// <summary>
/// Canvas size changed event
/// </summary>
/// <param name="options"></param>
void CanvasSizeChanged(IDrawOptions options);
... | 23.285714 | 53 | 0.634969 | [
"MIT"
] | serge4k/GraphControl | GraphControl.Core/Interfaces/ICanvasSizeChanged.cs | 328 | C# |
using System.ComponentModel.DataAnnotations;
using SpyStore.Hol.Models.Entities.Base;
namespace SpyStore.Hol.Models.ViewModels
{
public class CartRecordWithProductInfo : ShoppingCartRecordBase
{
public new int Id { get; set; }
public string Description { get; set; }
[Display(Name = "Mo... | 36.615385 | 67 | 0.630252 | [
"BSD-3-Clause",
"MIT"
] | MalikWaseemJaved/presentations | .NETCore/ASP.NETCore/v3.1/SpyStore/SpyStore.Hol.Models/ViewModels/CartRecordWithProductInfo.cs | 954 | C# |
using System;
using UnityEngine;
using UnityEngine.Internal;
namespace LDtkUnity
{
[Serializable]
[ExcludeFromDocs]
public abstract class LDtkSceneDrawerBase
{
[SerializeField] private string _identifier;
[SerializeField] private bool _enabled = true;
[SerializeField] private C... | 27.666667 | 74 | 0.623494 | [
"MIT"
] | Cammin/LDtkToUnity | Assets/LDtkUnity/Runtime/Tools/SceneDrawer/LDtkSceneDrawerBase.cs | 998 | C# |
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using System.Threading;
using System.Windows.Forms;
using System.Xml;
using Microsoft.Win32;
using System.Runtime.InteropServices;
namespace TDHelper
{
// The SplashScreen class... | 29.170316 | 178 | 0.651264 | [
"MIT"
] | eyeonus/TDHelper | TradeDangerousGUI/SplashScreen.cs | 11,991 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Forms;
using... | 37.874286 | 172 | 0.565103 | [
"MIT"
] | M1nistry/Cartogram | src/Cartogram/NewMap.xaml.cs | 13,258 | C# |
using System.Collections.Concurrent;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace HotChocolate.Utilities
{
public class Cache<TValue>
{
private const int _defaultCacheSize = 10;
private readonly object _sync = new object();
private re... | 29.367521 | 104 | 0.480501 | [
"MIT"
] | GraemeF/hotchocolate | src/HotChocolate/Utilities/src/Utilities/Cache.cs | 3,438 | C# |
//------------------------------------------------------------------------------
// <copyright file="ImportOpenInVSActionCmd.cs" company="Aras Corporation">
// © 2017-2021 Aras Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using ... | 39.023256 | 263 | 0.740465 | [
"MIT"
] | FilenkoAndrii/ArasVSMethodPlugin | Aras.VS.MethodPlugin/Commands/ImportOpenInVSActionCmd.cs | 3,359 | C# |
//
// ProgressStream.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2018 Xamarin Inc. (www.xamarin.com)
//
// 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 Soft... | 25.202186 | 119 | 0.694493 | [
"MIT"
] | CodingSpiderFox/MailKit | MailKit/ProgressStream.cs | 4,614 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using SausageChat.Core.Messaging;
using SausageChat.Helpers;
using SausageChat.Core;
using System.Collections.ObjectModel;
using SausageChat.Core.Networking;
using Newtonsoft.Json... | 36.567766 | 124 | 0.48843 | [
"MIT"
] | ArchyInUse/SausageChat | SausageChat/Networking/SausageServer.cs | 9,983 | C# |
using System;
using System.IO;
using FoxTool.Fox.Types;
using FoxTool.Fox.Types.Structs;
using FoxTool.Fox.Types.Values;
namespace FoxTool.Fox.Containers
{
internal static class FoxContainerFactory
{
public static IFoxContainer ReadFoxContainer(Stream input, FoxDataType dataType, FoxContaine... | 43.837398 | 121 | 0.526892 | [
"MIT"
] | Atvaark/FoxTool | FoxTool/Fox/Containers/FoxContainerFactory.cs | 5,394 | C# |
using System;
using System.Globalization;
using System.Numerics;
using BenchmarkDotNet.Extensions;
using BenchmarkDotNet.Horology;
using SimpleJson.Reflection;
namespace BenchmarkDotNet.Helpers
{
public static class SourceCodeHelper
{
public static string ToSourceCode(object value)
{
... | 41.79375 | 171 | 0.53118 | [
"MIT"
] | FrancisChung/BenchmarkDotNet | src/BenchmarkDotNet/Helpers/SourceCodeHelper.cs | 6,689 | C# |
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
namespace Sheng.SailingEase.Modules.DataBaseSourceModule.Localisation {
using System;
[global::System.CodeDom.Compiler... | 43.93662 | 237 | 0.609072 | [
"MIT"
] | ckalvin-hub/Sheng.Winform.IDE | SourceCode/Source/Modules/Localisation/Modules.DataBaseSource.Localisation/Chinese (Simplified).Designer.cs | 6,287 | C# |
using Frw.Base;
using System;
using System.IO;
using System.Xml.XPath;
namespace Frw.Config
{
public class ConfigReader
{
public static void SetFrameworkSettings()
{
XPathItem url;
XPathItem browserType;
XPathItem isLog;
XPathItem logPath;
... | 38.02439 | 105 | 0.641437 | [
"MIT"
] | escame/AutoFramework | Frw/Frw/Config/ConfigReader.cs | 1,561 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace RouteAPI
{
public class Program
{
public stati... | 25.555556 | 70 | 0.643478 | [
"MIT"
] | nikoladragas/public-transport | RouteAPI/Program.cs | 690 | C# |
using umamusumeKeyCtl.AppSettings.SettingUI;
namespace umamusumeKeyCtl.AppSettings.Factory
{
public abstract class SettingUIFactoryBase
{
public SettingUIBase Create(AppSettingDescription description)
{
SettingUIBase settingUiBase = CreateSettingUiBase(description);
retu... | 30.2 | 96 | 0.737307 | [
"MIT"
] | Sakusakumura/UmamusumeKeyCtl | umamusumeKeyCtl/src/AppSettings/Factory/SettingUIFactoryBase.cs | 453 | C# |
using UnityEngine;
using System.Collections;
/// <summary>
/// The armour generally buffs the Giant's defense
/// and other defensive stats.
/// </summary>
public class Armour : Equipment {
public Armour(string _name, string _description, Resources _resourceCost, Sprite _icon, float _craftingTime, bool _... | 29.56 | 194 | 0.688769 | [
"MIT"
] | Tagglink/GiantFeud | Assets/Scripts/Armour.cs | 741 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using Syste... | 40.466667 | 285 | 0.595593 | [
"Apache-2.0",
"MIT"
] | ConnectionMaster/azure-functions-host | test/WebJobs.Script.Tests.Integration/WebHostEndToEnd/CSharpEndToEndTests.cs | 24,282 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Dashboard.Models
{
public partial class Description
{
public int PIN { get; set; }
public int FiscalYear { get; set; }
pu... | 26.3125 | 52 | 0.672209 | [
"MIT"
] | troyeradvisors/maryland-dashboard | src/Dashboard/Models/Description.cs | 421 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Platform;
using osu.Fr... | 41.287356 | 134 | 0.623051 | [
"MIT"
] | 02Naitsirk/osu | osu.Game.Tests/Visual/Gameplay/TestScenePauseWhenInactive.cs | 3,506 | C# |
using System;
namespace GameTracker.ObservedProcesses
{
public class ObservedProcess
{
/// <summary>ProcessName recorded from Process</summary>
public string ProcessName { get; set; }
/// <summary>Full filepath for the process</summary>
public string ProcessPath { get; set; }
/// <summary>Represents if ... | 28.894737 | 160 | 0.739526 | [
"MIT"
] | krishemenway/game-tracker | GameTracker.Service/ObservedProcesses/ObservedProcess.cs | 551 | C# |
using System.IO;
using iTextSharp.text;
using iTextSharp.text.pdf;
using System.Drawing;
using System.Collections.Generic;
using PlanetSystem.Models.Utilities;
using PlanetSystem.Models.Bodies;
using System.Text;
using System;
namespace ReportsGenerators
{
public static class GeneralUIReportGenerator
{
... | 35.505495 | 123 | 0.529557 | [
"MIT"
] | BeerSticks/PlanetSystems | PlanetSystems/ReportsGenerators/GeneralUIReportGenerator.cs | 3,233 | C# |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Routing.Core.Test.Checkpointers
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Routing.... | 44.844444 | 193 | 0.662537 | [
"MIT"
] | DaveEM/iotedge | edge-hub/test/Microsoft.Azure.Devices.Routing.Core.Test/checkpointers/LoggedCheckpointer.cs | 4,036 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using SilentHunter.FileFormats.ChunkedFiles;
using SilentHunter.FileFormats.IO;
namespace SilentHunter.FileFormats.Dat.Chunks
{
/// <summary>
/// Represents a base class for extending... | 34.298182 | 266 | 0.685327 | [
"Apache-2.0"
] | skwasjer/SilentHunter | src/SilentHunter.FileFormats/Dat/Chunks/DatChunk.cs | 9,434 | C# |
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData
// package to your project.
////#define Handle_PageResultOfT
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using ... | 57.637168 | 149 | 0.666667 | [
"MIT"
] | IliaAnastassov/NutritionDiary | NutritionDiary.WebAPI/Areas/HelpPage/App_Start/HelpPageConfig.cs | 6,513 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EepNvmDataStructure.cs" company="Visteon">
//
// </copyright>
// <summary>
// The eep nvm data structure.
// </summary>
// ---------------------------------------------------... | 28.454545 | 120 | 0.419063 | [
"MIT"
] | atanas-georgiev/DataParser | DataParser/EEP/EepNvmDataStructure.cs | 1,880 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using MyDailyHub.Models;
using MyDailyHub.Models.ViewModels.Home;
using MyDailyHub.Services;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace MyDailyHub.Controllers
{... | 31 | 162 | 0.693907 | [
"CC0-1.0"
] | giddster/mydailyhub | MyDailyHub/Controllers/HomeController.cs | 1,397 | 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>
// ---------------------------------------... | 48.074627 | 196 | 0.712201 | [
"Apache-2.0"
] | PatrickRatzow/space-dotnet-sdk | src/JetBrains.Space.Client/Generated/Partials/CodeReviewSubscriptionFilterPartialBuilder.generated.cs | 3,221 | C# |
using System;
using System.Runtime.Serialization;
namespace AutoTest.Exceptions.Exceptions
{
/// <summary>
/// Exception that is thrown if an exception cannot be tested successfully.
/// </summary>
[Serializable]
public class AutoTestException : Exception
{
/// <summary>
/// In... | 36.52 | 178 | 0.61391 | [
"MIT"
] | jeroenpot/AutoTest.Exceptions | Source/AutoTest.Exceptions/AutoTest.Exceptions/Exceptions/AutoTestException.cs | 1,828 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace DevChatter.Bot.Core.Util
{
public static class MyRandom
{
private static readonly Random Random = new Random();
private static readonly object SyncLock = new object();
public static int RandomNumber(int min, i... | 24.65625 | 88 | 0.548796 | [
"MIT"
] | AleksAce/devchatterbot | src/DevChatter.Bot.Core/Util/MyRandom.cs | 789 | C# |
/*
* Hydrogen Nucleus API
*
* The Hydrogen Nucleus API
*
* OpenAPI spec version: 1.9.5
* Contact: info@hydrogenplatform.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using NUnit.Framework;
using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using N... | 25.36 | 92 | 0.495969 | [
"Apache-2.0"
] | AbhiGupta03/SDK | atom/nucleus/csharp/src/Nucleus.Test/Model/BudgetTests.cs | 5,706 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnal... | 29.558824 | 108 | 0.737313 | [
"Apache-2.0"
] | tmeschter/roslyn-analyzers | NewAnalyzerTemplate/NewAnalyzerTemplate/NewAnalyzerTemplate/CodeFixProvider.cs | 1,007 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace SmsPortal.Models
{
public class MessageResponse
{
[JsonProperty("Cost")]
public decimal Cost { get; set; }
[JsonProperty("RemainingBalance")]
public decimal RemainingBalance { get; set; }
[JsonProperty... | 24.297872 | 63 | 0.595447 | [
"MIT"
] | NanotechComputers/ISmsPortalService | SmsPortal/Models/MessageResponse.cs | 1,144 | C# |
using System;
using System.Windows.Media.Imaging;
using ThetaNetCore.Common;
using ThetaNetCore.Wifi;
using ThetaNetCoreApp.Utils;
namespace ThetaNetCoreApp.Info
{
public class FileEntryWrapper : BindableBase
{
private bool _isChecked = false;
public bool IsChecked
{
get => _isChecked;
set { SetProperty... | 20.035714 | 83 | 0.652406 | [
"MIT"
] | ryo4600/ThetaNetCore | ThetaNetCoreApp/Info/FileEntryWrapper.cs | 2,246 | C# |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
using static System.Linq.Expressions.Expression;
namespace ZeroLog.Utils
{
internal static class TypeUtil
{
private static readonly Func<IntPtr, Type> _getT... | 34.83908 | 159 | 0.637413 | [
"MIT"
] | Sergei-Y/ZeroLog | src/ZeroLog/Utils/TypeUtil.cs | 3,033 | C# |
namespace Dev.Core.Model
{
internal class Operators
{
public const string Equal = "eq";
public const string NotEqual = "neq";
public const string IsNull = "isnull";
public const string IsNotNull = "isnotnull";
public const string StartsWith = "startswith";
public... | 35.842105 | 62 | 0.641703 | [
"MIT"
] | mehmetunal/devfreco | src/Libraries/Dev.Core/Model/Operators.cs | 683 | C# |
using System;
using System.Runtime.Serialization;
namespace NLua.Exceptions
{
/// <summary>
/// Exceptions thrown by the Lua runtime
/// </summary>
[Serializable]
public class LuaException : Exception
{
public LuaException()
{}
public LuaException(string message) : base... | 24.041667 | 102 | 0.646447 | [
"MIT"
] | CognitiaAI/StreetFighterRL | emulator/Bizhawk/BizHawk-master/LuaInterface/LuaInterface/LuaException.cs | 577 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.IO;
using MyGeneration;
namespace MyGeneration.UI.Plugins.SqlTool
{
public class SqlToolEditorManager : IEditorManager
{
public const string SQL_FILE = "SQL File";
private SortedList<s... | 25.293103 | 93 | 0.461145 | [
"BSD-3-Clause"
] | cafephin/mygeneration | src/plugins/MyGeneration.UI.Plugins.SqlTool/SqlToolEditorManager.cs | 2,934 | 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... | 42.336207 | 520 | 0.648748 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20150501Preview/Outputs/LoadBalancingRuleResponse.cs | 4,911 | 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 ... | 29.844828 | 99 | 0.708839 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-cms/Cms/Model/V20180308/DeleteMyGroupsRequest.cs | 1,731 | C# |
using FreeSql.Internal;
using FreeSql.Internal.Model;
using FirebirdSql.Data.FirebirdClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using FreeSql.DataAnnotations;
namespace FreeSql.Firebird
{
class FirebirdCod... | 73.637363 | 304 | 0.573298 | [
"MIT"
] | p0nley/FreeSql | Providers/FreeSql.Provider.Firebird/FirebirdCodeFirst.cs | 20,307 | C# |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Copyright (c) 2011 Irony - Roman Ivantsov
// See the LICENSE.md file in the... | 39.137778 | 132 | 0.674654 | [
"MIT"
] | Ethereal77/stride | sources/shaders/Irony.GrammarExplorer/Highlighter/EditorViewAdapter.cs | 8,808 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 61.148148 | 245 | 0.722744 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/ISkypeForBusinessDeviceUsageDistributionUserCountsRequest.cs | 6,604 | 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>
//---... | 40.958333 | 80 | 0.648016 | [
"MIT"
] | thedonmon/telnyx-dotnet | src/TelnyxTests/obj/Debug/netcoreapp2.0/TelnyxTests.AssemblyInfo.cs | 983 | C# |
namespace Photon
{
public interface IPunObservable
{
void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info);
}
}
| 16.777778 | 80 | 0.715232 | [
"Apache-2.0"
] | ITALIA195/Shelter | Shelter/Photon/IPunObservable.cs | 151 | C# |
using System;
class Program
{
static void Main()
{
var lenght = double.Parse(Console.ReadLine());
var width = double.Parse(Console.ReadLine());
var height = double.Parse(Console.ReadLine());
Box box = new Box(lenght, width, height);
Console.WriteLine(box.SurfaceArea()... | 22.421053 | 54 | 0.615023 | [
"MIT"
] | SonicTheCat/CSharp-OOP-Basics | 06.Encapsulation - Exercise/01.ClassBox/Program.cs | 428 | C# |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CBTTaskIsInChatSceneDef : IBehTreeReactionTaskDefinition
{
public C... | 31.478261 | 135 | 0.752762 | [
"MIT"
] | DerinHalil/CP77Tools | CP77.CR2W/Types/W3/RTTIConvert/CBTTaskIsInChatSceneDef.cs | 702 | C# |
/********************************************************************************
Copyright (C) Binod Nepal, Mix Open Foundation (http://mixof.org).
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one at
ht... | 42.680328 | 206 | 0.531784 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | andreboni66/mixerp | MixERP.Net.BusinessLayer/Security/User.cs | 5,209 | C# |
using lightweight.data.Model;
using System.Collections.Generic;
namespace lightweight.business.Abstract
{
public interface IUserService
{
ServiceResponse<Users> Authenticate(string user,string pass);
ServiceResponse<Users> GetList();
public ServiceResponse<bool> Register(Users user);
... | 27.166667 | 69 | 0.730061 | [
"MIT"
] | ReyhanSimsek/lightweight | lightweight.business/Abstract/IUserService.cs | 328 | C# |
// *****************************************************************************
//
// © Component Factory Pty Ltd 2012. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 17/267 Nepean Hwy,
// Seaford, Vic 3198, A... | 36.354978 | 144 | 0.543106 | [
"BSD-3-Clause"
] | Cocotteseb/Krypton | Source/Krypton Components/ComponentFactory.Krypton.Design/Toolkit/KryptonDropButtonActionList.cs | 8,401 | C# |
using System.Linq;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using JuryApp.Core.Models;
using JuryApp.Core.Models.Collections;
using JuryApp.Core.Services.Interfaces;
using JuryApp.Services;
namespace JuryApp.ViewModels
{
public class MainViewModel : ViewModelBase
{
private readonly ... | 33.325843 | 144 | 0.644639 | [
"MIT"
] | JegorRysskin/boektquizt-jordydriesjegor_enterprisemobile | Frontend/JuryApp/JuryApp/ViewModels/MainViewModel.cs | 2,968 | C# |
#region Copyright
// Copyright (c) Tobias Wilker and contributors
// This file is licensed under MIT
#endregion
using System;
using System.Collections.Generic;
using System.IO;
using Agents.Net;
namespace Agents.Net.Benchmarks.FileManipulation
{
[Consumes(typeof(RootDirectoryDefinedMessage))]
... | 32.266667 | 105 | 0.620523 | [
"MIT"
] | agents-net/agents.net | src/Agents.Net.Benchmarks/FileManipulation/FileFinder.cs | 1,454 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public enum AxisType
{
X,
Y,
Z,
}
public class rotateWithMove : MonoBehaviour
{
public float _max = 360f;
public float _min = 0f;
public float _speed;
[SerializeField]private float _normaliz... | 27.4375 | 132 | 0.659833 | [
"Apache-2.0"
] | rafa-s-7/turn-off-the-lights | Assets/[ImportedAssets]/UserInterface/VirtualRealitySterileFuture/Scripts/rotateWithMove.cs | 1,319 | C# |
/*
* Copyright 2008 ZXing authors
*
* 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 ... | 42.581602 | 305 | 0.660767 | [
"Unlicense"
] | StackTipsLab/phonegap-plugins | WindowsPhone/BarcodeScanner/sources/ZXing7_1Port/oned/OneDReader.cs | 14,350 | C# |
using System.Text.Json.Serialization;
namespace Horizon.Payment.Alipay.Response
{
/// <summary>
/// KoubeiMerchantInfoSimpleQueryResponse.
/// </summary>
public class KoubeiMerchantInfoSimpleQueryResponse : AlipayResponse
{
/// <summary>
/// 操作员登录账号前缀,例如cc123@alitest.com#001
... | 26.068966 | 71 | 0.585979 | [
"Apache-2.0"
] | bluexray/Horizon.Sample | Horizon.Payment.Alipay/Response/KoubeiMerchantInfoSimpleQueryResponse.cs | 794 | C# |
using System;
namespace Prise.IntegrationTestsContract
{
// Plugin Parameter types are not required to be serializable, Newtonsoft JSON takes care of this
public class ComplexCalculationContext
{
public CalculationContext[] Calculations { get; set; }
}
} | 27.9 | 101 | 0.738351 | [
"MIT"
] | Duan112358/Prise | src/Tests/Prise.IntegrationTestsContract/ComplexCalculationContext.cs | 279 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using AccessibilityInsights.CommonUxComponents.Controls;
using Axe.Windows.Core.Bases;
using Axe.Windows.Core.Misc;
using Axe.Windows.Core.Results;
using Axe.Windo... | 33.962302 | 218 | 0.510136 | [
"MIT"
] | karanbirsingh/accessibility-insights-windows | src/AccessibilityInsights.SharedUx/ViewModels/HierarchyNodeViewModel.cs | 16,614 | C# |
using Oditel.Cirqus.Models.BaseContext.Commands;
using Oditel.Models.CustomerContext;
namespace Oditel.Cirqus.Models.CustomerContext.Commands
{
public class AddCustomerCommand : CreateCommand<Customer>
{
private readonly Address _address;
private readonly string _email;
private readonl... | 28.428571 | 109 | 0.648241 | [
"MIT"
] | SamuelDebruyn/AD5-Cirqus-demo | Oditel.Cirqus.Models/CustomerContext/Commands/AddCustomerCommand.cs | 798 | 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... | 33.043478 | 97 | 0.655263 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-aiven | sdk/dotnet/Outputs/GetElasticSearchElasticsearchUserConfigKibanaResult.cs | 1,520 | C# |
using System;
using NUnit.Framework;
using FluentAssertions;
using TechTalk.SpecFlow.Assist.ValueRetrievers;
namespace TechTalk.SpecFlow.RuntimeTests.AssistTests.ValueRetrieverTests
{
[TestFixture]
public class NullableUShortValueRetrieverTests
{
[Test]
public void Returns_null_when_the_va... | 31.875 | 90 | 0.609412 | [
"Apache-2.0",
"MIT"
] | ImanMesgaran/SpecFlow | Tests/TechTalk.SpecFlow.RuntimeTests/AssistTests/ValueRetrieverTests/NullableUShortValueRetrieverTests.cs | 1,277 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NetworkManager : MonoBehaviour
{
public static NetworkManager instance;
public GameObject playerPrefab;
private void Awake()
{
if (instance == null)
{
instance = this;
}
... | 21.902439 | 99 | 0.599109 | [
"MIT"
] | ajinori3/tcp-udp-networking | UnityGameServer/Assets/Scripts/NetworkManager.cs | 900 | C# |
//-----------------------------------------------------------------------
// <copyright company="Nuclei">
// Copyright 2013 Nuclei. Licensed under the Apache License, Version 2.0.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Diagnostics... | 41.963636 | 143 | 0.562825 | [
"Apache-2.0"
] | pvandervelde/Sherlock | src/executor/Nuclei/ExceptionHandling/TopLevelExceptionGuard.cs | 2,308 | C# |
using System;
using Shouldly;
using Xunit;
namespace Baseline.Testing.Dates
{
public class DateTester
{
[Fact]
public void convert_by_constructor()
{
var date = new Date("22022012");
date.Day.ShouldBe(new DateTime(2012, 2, 22));
}
[Fact]
... | 23.186047 | 61 | 0.525577 | [
"Apache-2.0"
] | Hawxy/baseline | src/Baseline.Testing/Dates/DateTester.cs | 997 | C# |
using System.Threading.Tasks;
using Cursed.Models.Services;
using Cursed.Models.Entities.Data;
using Cursed.Models.DataModel.ErrorHandling;
namespace Cursed.Tests.Stubs
{
/// <summary>
/// Stub for using instead of IOperationDataValidation. Returns valid status message
/// </summary>
public class Oper... | 28.703704 | 88 | 0.597419 | [
"MIT"
] | 42ama/Cursed | Cursed.Tests/Stubs/OperationValidationStub.cs | 777 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.