content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Text;
namespace DeathStar.Core.Models.Equipments
{
public class EngineeringModule
{
public string Name { get; protected set; }
public int KineticDamageEffectFactor { get; protected set; }
public int ThermalDamageEffectFactor ... | 33 | 76 | 0.71123 | [
"MIT"
] | MizaN13/BattleEngine | ProjectDeathStar.Core/Models/Equipments/EngineeringModule.cs | 563 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ME.ECS.Pathfinding {
public class AgentManager : MonoBehaviour {
public Agent[] allAgents;
[ContextMenu("Collect")]
public void OnValidate() {
this.allAgents = AgentManager.FindObjectsO... | 17.722222 | 76 | 0.567398 | [
"MIT"
] | Siridar-LLC/ecs-submodule | Essentials/Pathfinding/Pathfinding/MotionSolver/AgentManager.cs | 640 | C# |
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using System.Threading;
namespace WcfRestExample.E2ETests.WebElements
{
public class Index
{
protected IWebDriver _driver;
protected WebDriverWait _wait;
public IWebElement LoadingBar
{
get
{
... | 21.505495 | 91 | 0.499745 | [
"MIT"
] | michalkowal/WcfRestExample | WcfRestExample.E2ETests/WebElements/Index.cs | 1,959 | C# |
using Microsoft.Spatial;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Text;
namespace CodeTest01.Data.Weather
{
public interface IWeatherDO
{
GeographyPoint Coordinate { get; }
IDayLightRangeDO DayLightRange { get; }
IE... | 23.350649 | 95 | 0.652948 | [
"MIT"
] | ErikPhilips/CodeTest01 | CodeTest01.Data.Weather.OpenWeatherMap/WeatherDO.cs | 1,800 | C# |
namespace NPOI.SS.Formula.Functions
{
public class Fv : FinanceFunction
{
public override double Evaluate(double rate, double arg1, double arg2, double arg3, bool type)
{
return FinanceLib.fv(rate, arg1, arg2, arg3, type);
}
}
}
| 21.909091 | 96 | 0.717842 | [
"MIT"
] | iNeverSleeeeep/NPOI-For-Unity | NPOI.SS.Formula.Functions/Fv.cs | 241 | C# |
using Toe.Scripting;
namespace SpirVGraph.NodeFactories
{
public class OpIMulNodeFactory : AbstractNodeFactory
{
public static readonly OpIMulNodeFactory Instance = new OpIMulNodeFactory();
public OpIMulNodeFactory():base(new ScriptNode()
{
Name = "IMul",
Catego... | 25.962963 | 84 | 0.529244 | [
"MIT"
] | gleblebedev/SpirVisualEditor | src/SpirVGraph/NodeFactories/OpIMulNodeFactory.cs | 701 | C# |
using Luban.Job.Common.Defs;
using Scriban;
using System;
namespace Luban.Job.Common.Utils
{
public static class RenderUtil
{
[ThreadStatic]
private static Template t_constRender;
public static string RenderCsConstClass(DefConst c)
{
var ctx = new TemplateContext();
... | 23.105263 | 115 | 0.551632 | [
"MIT"
] | Lorkta/luban | src/Luban.Job.Common/Source/Utils/RenderUtil.cs | 5,268 | C# |
namespace P07_PredicateForNames
{
using System;
using System.Linq;
public class PredicateForNames
{
public static void Main()
{
int length = int.Parse(Console.ReadLine());
Func<string, bool> checkLength = n => n.Length <= length;
Action<string> print... | 24 | 69 | 0.515152 | [
"MIT"
] | MertYumer/C-Fundamentals---January-2019 | C# Advanced - January 2019/05. Functional Programming - Exercises/P07-PredicateForNames/PredicateForNames.cs | 530 | C# |
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class GAEditorTarget : TargetRules
{
public GAEditorTarget(TargetInfo Target)
{
Type = TargetType.Editor;
}
//
// TargetRules interface.
//
public override void Setup... | 19.730769 | 69 | 0.723197 | [
"Apache-2.0"
] | JackHarb89/ga2014 | Source/GAEditor.Target.cs | 513 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Logging.Query.Graph;
using Microsoft.Build.Logging.Query.Utility;
namespace Microsoft.Build.Logging.Query.Result
{
public class... | 32.637037 | 106 | 0.588516 | [
"MIT"
] | Lpallett4/cli-lab | src/MSBuildBinLogQuery/Result/Project.cs | 4,408 | C# |
using UnityEditor;
using UnityEngine;
namespace Lunari.Tsuki.Editor {
public static class GUIStyles {
public static GUIStyle Get(string key, EditorSkin skin = EditorSkin.Inspector) {
return EditorGUIUtility.GetBuiltinSkin(skin).FindStyle(key);
}
public const string box... | 66.328098 | 110 | 0.721702 | [
"MIT"
] | JuniorSidnei/TsukiSuite | Assets/Editor/GUIStyles.cs | 38,008 | 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... | 39.855932 | 200 | 0.655326 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/IoT1ClickProjects/Generated/Model/Internal/MarshallTransformations/ListTagsForResourceResponseUnmarshaller.cs | 4,703 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ESFA.DC.ILR1819.DataStore.Stateless.Test")... | 39.138889 | 84 | 0.747339 | [
"MIT"
] | SkillsFundingAgency/DC-ILR-1819-DataStore | src/ESFA.DC.ILR1819.DataStore.Stateless.Test/Properties/AssemblyInfo.cs | 1,412 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace WebFrontend.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | 19.266667 | 67 | 0.564014 | [
"Apache-2.0"
] | mihail-morosan/OCAPE | WebFrontend/WebFrontend/Controllers/HomeController.cs | 580 | C# |
//___________________________________________________________________________________
//
// Copyright (C) 2019, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI
//___________________________________________________________________________________
na... | 55.029412 | 172 | 0.765901 | [
"MIT"
] | BiancoRoyal/OPC-UA-OOI | Networking/Core/IMessageHandlerFactory.cs | 1,873 | C# |
using GatewayServer.AsyncProxyConfig;
using GatewayServer.AsyncProxyConfig.ConfigHelper;
using Yarp.ReverseProxy.Configuration;
namespace GatewayServer.AsyncProxyConfig.ProxyAsyncProvider
{
public class AsyncProxyConfigProvider : IProxyConfigProvider
{
private volatile AsyncProxyConfig _config;
... | 28.220339 | 95 | 0.586787 | [
"MIT"
] | hstarorg/bizgw | GatewayServer.AsyncProxyConfig/ProxyAsyncProvider/AsyncProxyConfigProvider.cs | 1,733 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 32.227848 | 104 | 0.645326 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/Macie2/Generated/Model/CriteriaForJob.cs | 2,546 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KeyHelperForms
{
class CharacterHandler
{
public List<Character> Characters { get; private set; }
public CharacterHandler()
{
... | 35.814516 | 165 | 0.545373 | [
"MIT"
] | furkanarabaci/KeyHelperForms | KeyHelperForms/CharacterHandler.cs | 4,443 | C# |
using System;
namespace Project
{
public abstract class CalculatorAdapter
{
protected Calculator _calculator;
public CalculatorAdapter(Calculator calculator)
{
_calculator = calculator;
}
public abstract int Sum();
public abstract int Sub();
}
}... | 17.833333 | 55 | 0.613707 | [
"MIT"
] | danieldeveloper001/csharp_design_patterns | src/structural/adapter/002_concrete_internal_services/Adapter/CalculatorAdapter.cs | 321 | C# |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using DeviceCheck;
using Foundation;
using NDB.Covid19.Models.UserDefinedExceptions;
using NDB.Covid19.OAuth2;
using NDB.Covid19.ViewModels;
using NDB.Covid19.iOS.Utils;
using NDB.Covid19.Utils;
using UIKit;
using NDB.Covid19.Enums;
using System.Coll... | 44.539877 | 155 | 0.704545 | [
"MIT"
] | folkehelseinstituttet/Fhi.Smittestopp.App | NDB.Covid19/NDB.Covid19.iOS/Views/AuthenticationFlow/InformationAndConsentViewController.cs | 7,260 | C# |
using Bost.Proto.Enum;
using Bost.Proto.Model;
using Bost.Proto.Types;
using System;
namespace Bost.Proto.Packet.Play.Serverbound
{
public class PlayerBlockPlacementPacket : BasePacket
{
public override int PacketId => 0x2E;
public HandType Hand; //Varint Enum
public Position Location;
public int Face; //V... | 28.266667 | 82 | 0.727987 | [
"MIT"
] | SlenderEmpire/CraftAI | gate/Bost.Proto/Packet/Play/Serverbound/PlayerBlockPlacementPacket.cs | 1,274 | C# |
using Impatient.Tests.Northwind;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Task... | 48.943981 | 1,206 | 0.56222 | [
"MIT"
] | JTOne123/Impatient | test/Impatient.Tests/EFCoreTests.cs | 41,066 | C# |
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Net;
using Walter.BOM.Geo;
using Walter.Net;
using Walter.Net.Networking;
using Walter.Web.FireWall.Geo.IP2Loaction.Models;
namespace Walter.Web.Fi... | 37.373541 | 308 | 0.52556 | [
"MIT"
] | ASP-WAF/FireWall | Samples/IGeoFactory implementation/Walter.Web.FireWall.Geo.IP2Loaction/Infrastructure/IP2LocationGeoFactory.cs | 9,607 | C# |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
namespace Org.BouncyCastle.Crypto.Tls
{
/// <summary>
/// RFC 4492 5.4
/// </summary>
public abstract class ECCurveType
{
/**
* Indicates the elliptic curve domain parameters are conveyed verbosely, and the
... | 26.941176 | 92 | 0.604803 | [
"MIT"
] | Manolomon/space-checkers | client/Assets/Libs/Best HTTP (Pro)/Best HTTP (Pro)/BestHTTP/SecureProtocol/crypto/tls/ECCurveType.cs | 916 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Kooboo.Sites.Render.Renderers.ExternalCache
{
public class CacheObject
{
public CacheObject()
{
}
public CacheObject(string fullurl, string name, string contenttype, int interval)
{
... | 21.9375 | 89 | 0.445584 | [
"MIT"
] | Kooboo/Kooboo | Kooboo.Sites/Render/Renderers/ExternalCache/CacheObject.cs | 1,757 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Reflection.Tests
{
public class ConstructorInfoConstructorName
{
//Positive Test 1: Ensure ConstructorInfo.ContructorName... | 26.333333 | 101 | 0.679325 | [
"MIT"
] | 690486439/corefx | src/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoConstructorName.cs | 474 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _10.SoftUniExamResults
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
Dictionary<string, int> students = new Dictionary<string, int>();
Dict... | 31.569231 | 92 | 0.42885 | [
"MIT"
] | HNochev/SoftUni-CSharp-Software-Engineering | Programming Fundamentals/Exercise 7 - Associative Arrays/10.SoftUniExamResults/Program.cs | 2,054 | C# |
using RedsysTPV.Enums;
using RedsysTPV.Models;
using System.Configuration;
using System.Security.Policy;
using Microsoft.AspNetCore.Mvc;
using System;
using Microsoft.Extensions.Configuration;
namespace RedsysTPV.WebSample.Controllers
{
public class RequestController : Controller
{
private IConfigurat... | 39.301887 | 95 | 0.656745 | [
"MIT"
] | CrahunGit/RedsysTPV | src/RedsysTPV.WebSample/Controllers/RequestController.cs | 2,085 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
namespace MockServer.Common
{
public class XmlSerializeHelper
{
public static string ObjectToXML(object o)
{
... | 31.809524 | 136 | 0.541018 | [
"MIT"
] | WalleStudio/Walle.Mocker | MockSercer.Common/XmlSerializeHelper.cs | 3,448 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace TropicalBears.API.Models
{
// Models used as parameters to AccountController actions.
public class AddExternalLoginBindingModel
{
[Required]
[Display(Name = "External access token")]
public... | 31.823529 | 110 | 0.622181 | [
"MIT"
] | spiovezana/eadComercio | TropicalBears.API/Models/AccountBindingModels.cs | 2,707 | C# |
namespace LyARev
{
partial class Frmtripleta
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param... | 40.413043 | 129 | 0.594406 | [
"MIT"
] | AriAlanPR/SaphireCompiler | LyARev/LyARev/Frmtripleta.Designer.cs | 3,720 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过下列特性集
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("WorkingWithRazor")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: A... | 25.805556 | 56 | 0.723358 | [
"Apache-2.0"
] | nandehutuzn/SportsStore | WorkingWithRazor/Properties/AssemblyInfo.cs | 1,290 | C# |
using System;
using System.IO;
using System.Xml;
using Umbraco.Core.IO;
namespace Umbraco.Web.UI.Install.Steps
{
public partial class Renaming : StepUserControl
{
private readonly string _oldAccessFilePath = IOHelper.MapPath(SystemDirectories.Data + "/access.xml");
private readonly s... | 32.518987 | 114 | 0.502919 | [
"MIT"
] | ConnectionMaster/Umbraco-CMS | src/Umbraco.Web.UI/install/steps/Renaming.ascx.cs | 2,571 | C# |
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using WebAppClientes.Infra.Data;
namespace W... | 37.703125 | 128 | 0.554082 | [
"MIT"
] | rafaeldalsenter/web-app-clientes | WebAppClientes.Infra.Data/Migrations/20200403191302_InitialCreate.Designer.cs | 2,415 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Mirror
{
/// <summary>
/// A High level network connection. This is used for connections from client-to-server and for connection from server-to-client.
/// </summary>
/// <remarks>
/// <para>A NetworkConnection ... | 49.75 | 418 | 0.617656 | [
"Apache-2.0"
] | Tierra-Exodus-Entertainmet/Gunslingers | Assets/Mirror/Runtime/NetworkConnection.cs | 16,119 | 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>
//----------------------------------------... | 33.865979 | 84 | 0.522679 | [
"Apache-2.0"
] | Mehdi-Naseri/Classic-ASP-Portal | AspWebApplication/Pages/WebTools.aspx.designer.cs | 3,287 | C# |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1018_ede8-123fe8")]
public void /* sys_mve */ Method_1018_ede8()
{
ii(0x1018_ede8, 3); mov(ax, bp); ... | 24.8 | 88 | 0.548387 | [
"Apache-2.0"
] | mikhail-khalizev/max | source/MikhailKhalizev.Max/source/Program/Auto/z-1018-ede8-sys-mve.cs | 372 | C# |
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Numerics;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Processing.Processors.Transforms;
using SixLabors.ImageSharp.Tests.TestUtilit... | 47.97546 | 128 | 0.63977 | [
"Apache-2.0"
] | Davidsv/ImageSharp | tests/ImageSharp.Tests/Drawing/DrawImageTest.cs | 7,822 | C# |
namespace MassTransit.Containers.Tests.SimpleInjector_Tests
{
using System.Threading.Tasks;
using Common_Tests;
using NUnit.Framework;
using SimpleInjector;
using TestFramework.Sagas;
[TestFixture]
public class SimpleInjector_SagaStateMachine :
Common_SagaStateMachine
{
... | 25.121951 | 117 | 0.654369 | [
"ECL-2.0",
"Apache-2.0"
] | Aerodynamite/MassTrans | tests/MassTransit.Containers.Tests/SimpleInjector_Tests/SimpleInjector_SagaStateMachine.cs | 1,030 | C# |
using System;
using System.IO;
using System.Windows.Forms;
namespace DirectoryToJson
{
public partial class frmMain : Form
{
public frmMain()
{
InitializeComponent();
}
private void label1_Click(object sender, EventArgs e)
{
}
private voi... | 25.434783 | 128 | 0.539316 | [
"MIT"
] | CedartownOnline/DirToJSON | DirectoryToJson/frmMain.cs | 1,172 | C# |
using NHapi.Base.Parser;
using NHapi.Base;
using NHapi.Base.Log;
using System;
using System.Collections.Generic;
using NHapi.Model.V25.Segment;
using NHapi.Model.V25.Datatype;
using NHapi.Base.Model;
namespace NHapi.Model.V25.Group
{
///<summary>
///Represents the MFN_M05_MF_LOCATION Group. A Group is an o... | 28.27476 | 158 | 0.641695 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | afaonline/nHapi | src/NHapi.Model.V25/Group/MFN_M05_MF_LOCATION.cs | 8,850 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/codecapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... | 40.288889 | 145 | 0.679537 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/um/codecapi/CODECAPI_GUID_AVEncSDDSTests.cs | 1,815 | C# |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using OnlineShopping.Business.Abstract;
using OnlineShopping.Entities.Concrete;
using OnlineShopping.WebApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnlineShopp... | 31.855072 | 114 | 0.541174 | [
"MIT"
] | danego61/Asp.Net-Core-Online-Shopping-Api | OnlineShopping.WebApi/Controllers/UserController.cs | 4,398 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vostok.Commons.Time;
using Vostok.Logging.Abstractions;
using WhiteAlbum.Entities;
using WhiteAlbum.Entitie... | 31.864662 | 155 | 0.551439 | [
"MIT"
] | HackerDom/ructf-2021 | services/white_album/src/WhiteAlbum/Stores/SingleStore.cs | 4,240 | 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 Zell.UiPathAutomation.Orchestrator.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class ... | 33.42623 | 196 | 0.597352 | [
"MIT"
] | zell12/MondayAppOne | Zell.UiPathAutomation/Orchestrator/Models/LicenseStatsModel.cs | 2,039 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common;
using System.Windows.Controls;
using System.Windows.Ink;
using System.Windows.Data;
using System.Windows.Media;
namespace DesktopAnnotator
{
/// <summary>
/// 描画モードの種類
/// </su... | 28.647368 | 124 | 0.528569 | [
"MIT"
] | sourcechord/DesktopAnnotator | DesktopAnnotator/MainWindowViewModel.cs | 5,785 | C# |
namespace Eventures.Data.Migrations
{
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
public partial class CreateIdentitySchema : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migr... | 43.322727 | 122 | 0.497849 | [
"MIT"
] | thelad43/CSharp-MVC-Frameworks-ASP.NET-Core-SoftUni | 03. Eventures Inc/Eventures.Data/Migrations/00000000000000_CreateIdentitySchema.cs | 9,533 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
... | 35.451613 | 152 | 0.566879 | [
"MIT"
] | Harot5001/HiddenTear | HiddenTear-Decrypt/Properties/Settings.Designer.cs | 1,101 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Net;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.ModelBinding;
using System.Web.Security;
using AutoMapper;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbra... | 50.211594 | 179 | 0.559891 | [
"MIT"
] | ClaytonWang/Umbraco-CMS | src/Umbraco.Web/WebApi/Binders/MemberBinder.cs | 17,325 | C# |
using System.Collections.Generic;
namespace SeprrAPI.Contract
{
public class SlackRequest
{
public string text { get; set; }
}
public class SlackResponse
{
public string text { get; set; }
public List<Attachments> attachments { get; set; }
}
public class Attachment... | 26.714286 | 71 | 0.57754 | [
"MIT"
] | NavneetHegde/SeprrAPI | SeprrAPI/Contract/SlackPayload.cs | 1,124 | C# |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.Azure.Devices.Edge.Util
{
using System.Threading.Tasks;
/// <summary>
/// Signature provider.
/// </summary>
public interface ISignatureProvider
{
Task<string> SignAsync(string data);
}
}
| 21 | 48 | 0.653061 | [
"MIT"
] | ArchanaMSFT/iotedge | edge-util/src/Microsoft.Azure.Devices.Edge.Util/ISignatureProvider.cs | 294 | C# |
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace AutorestClient.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
... | 29.522388 | 208 | 0.553084 | [
"Apache-2.0"
] | BruceCowan-AI/ServiceStack | tests/ServiceStack.OpenApi.Tests/GeneratedClient/Models/ResponseError.cs | 1,912 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Thr... | 37.769737 | 175 | 0.592057 | [
"Apache-2.0"
] | AndreasBieber/SignalR | src/Microsoft.AspNet.SignalR.SqlServer/SqlMessageBus.cs | 5,743 | C# |
#if UNITY_ANDROID && ! UNITY_EDITOR
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the... | 117.961734 | 622 | 0.843488 | [
"MIT"
] | ArtemWerholetow/sound_designer_test | Assets/Wwise/Deployment/API/Generated/Android/AkSoundEnginePINVOKE_Android.cs | 255,859 | C# |
namespace InheritanceAndPolymorphism
{
using System.Collections.Generic;
public interface ICourse
{
void AddStudents();
string GetStudentsAsString();
}
}
| 15.75 | 37 | 0.666667 | [
"MIT"
] | NikolaiMishev/Telerik-Academy | Module-2/High-Quality-Code/High-quality Classes/Homework/Inheritance-and-Polymorphism/ICourse.cs | 191 | C# |
using Bit.Core.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Bit.Core.Contracts
{
public enum LogPolicy
{
/// <summary>
/// Performs log only when there is an error. For example when a response is not succeed.
/// </summary>
InC... | 23.604167 | 97 | 0.618711 | [
"MIT"
] | Cyrus-Sushiant/bitframework | src/Server/Bit.Server.Core/Contracts/ILogger.cs | 1,135 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Assem... | 40.216216 | 106 | 0.762097 | [
"MIT"
] | Mandrae/oom | tasks/Task1/Task1/Properties/AssemblyInfo.cs | 1,504 | C# |
using OrchardCore.Modules.Manifest;
[assembly: Module(
Author = "Etch UK",
Category = "Infrastructure",
Description = "Specify custom script blocks for the `<head>` or at the bottom of the page",
Name = "Inject Scripts",
Version = "1.1.0",
Website = "https://etchuk.com"
)] | 29.8 | 95 | 0.654362 | [
"MIT"
] | EtchUK/Etch.OrchardCore.InjectScripts | Manifest.cs | 298 | C# |
#region License
// Copyright (c) 2015 1010Tires.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 Software without
// restriction, including without limitation the rights to use,
// copy, mod... | 40.029412 | 90 | 0.745775 | [
"MIT"
] | idenys/MXTires.Microdata | Actions/OrganizeAction.cs | 1,363 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 21.827586 | 45 | 0.71406 | [
"MIT"
] | g2384/GitHelper | MergeBranch/MainWindow.xaml.cs | 635 | C# |
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to us... | 40.37469 | 119 | 0.745683 | [
"MIT"
] | 164306530/ILSpy | ICSharpCode.Decompiler/CSharp/OutputVisitor/InsertParenthesesVisitor.cs | 16,273 | C# |
using System;
namespace OpenVIII.Fields.Scripts.Instructions
{
internal sealed class ISPARTY : JsmInstruction
{
private IJsmExpression _arg0;
public ISPARTY(IJsmExpression arg0)
{
_arg0 = arg0;
}
public ISPARTY(Int32 parameter, IStack<IJsmExpression> stac... | 20.576923 | 69 | 0.542056 | [
"MIT"
] | MattLisson/OpenVIII | Core/Field/JSM/Instructions/ISPARTY.cs | 537 | C# |
using System;
using System.Linq;
using Zenject;
using ZenjectPrototype.Entities;
using ZenjectPrototype.Entities.Capabilities;
namespace ZenjectPrototype.RoundSystem
{
public class RoundResetter : IInitializable
{
private IRoundManager roundManager;
private IDataHolder<Entity> entities;
... | 25.457143 | 86 | 0.628507 | [
"MIT"
] | Nitue/MirrorPuzzle | Assets/ZenjectPrototype/Scripts/RoundSystem/RoundResetter.cs | 893 | 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... | 26.782609 | 88 | 0.693182 | [
"ECL-2.0",
"Apache-2.0"
] | pulumi/pulumi-databricks | sdk/dotnet/Inputs/SqlQueryParameterDatetimesecArgs.cs | 616 | C# |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\ks.h(988,9)
namespace DirectN
{
public enum KSINTERFACE_STANDARD
{
KSINTERFACE_STANDARD_STREAMING = 0,
KSINTERFACE_STANDARD_LOOPED_STREAMING = 1,
KSINTERFACE_STANDARD_CONTROL = 2,
}
}
| 27.363636 | 83 | 0.671096 | [
"MIT"
] | Steph55/DirectN | DirectN/DirectN/Generated/KSINTERFACE_STANDARD.cs | 303 | C# |
using System;
using System.Security.Cryptography;
namespace Couchbase.Cryptography
{
internal sealed class Crc32 : HashAlgorithm
{
private const uint Polynomial = 0xedb88320u;
private const uint Seed = 0xffffffffu;
private static readonly uint[] Table = new uint[256];
private u... | 29.631579 | 79 | 0.47913 | [
"Apache-2.0"
] | 4thOffice/couchbase-net-client | Src/Couchbase/Cryptography/Crc32.cs | 2,254 | C# |
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Forge.Forms.Annotations;
namespace Forge.Forms.Demo.Models
{
public class FoodSelection : INotifyPropertyChanged
{
private string firstFood = "Pizza";
private string secondFood = "Steak";
private string thirdFood... | 27.098592 | 114 | 0.532744 | [
"MIT"
] | BenjaminSieg/Forge.Forms | Forge.Forms/src/Forge.Forms.Demo/Models/FoodSelection.cs | 1,926 | C# |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 36.872727 | 163 | 0.512985 | [
"MIT"
] | Cognosante/FHIR-Converter | src/Microsoft.Health.Fhir.Liquid.Converter/Filters/SegmentFilters.cs | 6,086 | C# |
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, modif... | 34.333333 | 104 | 0.577346 | [
"MIT"
] | Altair7610/SharpDX | Source/SharpDX.Direct3D9/Resource.cs | 3,090 | C# |
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Ultraschall.Data.Abstractions
{
public interface IGenericRepository<TEntity> where TEntity : class, IEntity
{
IQueryable<TEntity> GetAll();
Task<TEntity> GetById(Guid id);
Task Create(TEntity entity);
Task... | 26.066667 | 79 | 0.680307 | [
"MIT"
] | Ultraschall/ultraschall-playground | danlin/Ultraschall/Data/Abstractions/IGenericRepository.cs | 393 | C# |
using System;
using Xunit;
namespace Enable.Extensions.Interval.Tests
{
public class ShortIntervalTests
{
public void ThrowsException_IfBoundsAreInvalid()
{
// Arrange
var expectedExceptionMessage = "Invalid bounds specified: upper bound must be greater or equal to lower... | 27.873016 | 177 | 0.550683 | [
"MIT"
] | EnableSoftware/Enable.Extensions.Interval | test/Enable.Extensions.Interval.Tests/ShortIntervalTests.cs | 1,756 | C# |
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using Sfa.Automation.Framework.Selenium;
using System;
using System.Linq;
namespace SFA.DAS.Forecasting.Web.Automation
{
public class HomePage: BasePage
{
[FindsBy(How = How.Id, Using = "service-start")] public IWebElement StartButton;
... | 38.321429 | 159 | 0.650513 | [
"MIT"
] | SkillsFundingAgency/das-forecasting-tool | src/SFA.DAS.Forecasting.Web.Automation/HomePage.cs | 1,075 | C# |
using System;
using System.IO;
using System.Reflection;
using log4net;
using log4net.Config;
using Microsoft.Extensions.Logging;
namespace CoreFX.Logging.Log4net
{
public class Log4netAdapter : Microsoft.Extensions.Logging.ILogger
{
public Log4netAdapter(string loggerName, FileInfo fileInfo)
{... | 31.159574 | 77 | 0.49505 | [
"BSD-3-Clause"
] | BlackIkeEagle0/osisdie4 | src/Library/CoreFX/Logging/Log4net/Log4netAdapter.cs | 2,931 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/MsiDefs.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows;... | 58.744681 | 145 | 0.777255 | [
"MIT"
] | IngmarBitter/terrafx.interop.windows | sources/Interop/Windows/Windows/um/MsiDefs/msidbDialogAttributes.cs | 2,763 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sunctum.Domain.Logic.DisplayType
{
public interface IDisplayType
{
System.Windows.Controls.ViewBase Get();
}
}
| 16.3125 | 47 | 0.735632 | [
"MIT"
] | dhq-boiler/Sunctum | Sunctum.Domain/Logic/DisplayType/IDisplayType.cs | 263 | C# |
/*
Copyright 2006 Jerry Huxtable
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 writing, software
d... | 36.283133 | 147 | 0.545741 | [
"Apache-2.0"
] | jugstalt/gview5 | gView.Proj/Proj4Net/Projection/LambertConformalConicProjection.cs | 6,023 | C# |
// Copyright (c) .NET Foundation. 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.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;... | 49.558935 | 149 | 0.595026 | [
"Apache-2.0"
] | benaadams/efcore | src/EFCore/DbContext.cs | 91,238 | C# |
using System.ComponentModel;
namespace FluentBootstrap
{
public enum FormInputType
{
[Description("text")]
Text,
[Description("password")]
Password,
[Description("datetime")]
DateTime,
[Description("datetime-local")]
DateTimeLocal,
[Descr... | 20.621622 | 39 | 0.500655 | [
"MIT"
] | burcinsahin/FluentBootstrap | FluentBootstrap/Forms/FormInputType.cs | 765 | C# |
using Base.Utils;
using PP_Parser.Parser;
namespace PhoenixPoint.Tactical.Levels
{
public class TacticalFactionVision
{
public class KnownCounters : PhonixBaseObjectBaseValue
{
public PhoenixGenericCollection<PhoenixGenericKeyValue<PhoenixEnum, int>> _counters { get; set; }
... | 23.642857 | 109 | 0.697885 | [
"MIT"
] | realares/Phoenix-Point_SavegameEditor | PWRA_Parser/PhoenixPoint/Tactical/Levels/TacticalFactionVision.cs | 333 | C# |
//---------------------------------------------------------------------------------------------------------
// ▽ Submarine Mirage Framework for Unity
// Copyright (c) 2020 夢想海の水底より(from Seabed of Reverie)
// Released under the MIT License :
// https://github.com/FromSeabedOfReverie/SubmarineMirageFrameworkForUnity/... | 47.116279 | 107 | 0.371668 | [
"Apache-2.0"
] | FromSeabedOfReverie/SubmarineMirageFrameworkForUnity | Assets/SubmarineMirageFrameworkForUnity/Scripts/System/Process/Base/IProcess.cs | 2,274 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | 42.428571 | 98 | 0.70665 | [
"MIT"
] | dend456/VideoCompare | VidCompare/Properties/AssemblyInfo.cs | 2,379 | C# |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using ... | 26.175258 | 64 | 0.544703 | [
"MIT"
] | ThomasMiz/Silk.NET | src/Microsoft/Silk.NET.Direct3D11/Structs/BufferDesc.gen.cs | 2,539 | C# |
// Copy file example
| 11 | 21 | 0.681818 | [
"MIT"
] | amwaters/vs-templates | src/CSharp Project File Templates/CopyFileExample.cs | 24 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... | 42.079114 | 187 | 0.606077 | [
"MIT"
] | 333fred/runtime | src/tests/JIT/HardwareIntrinsics/General/Vector256/GreaterThanAll.Int16.cs | 13,297 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using System.IO;
namespace UnstandardnessTestForDM
{
public partial class Form1 : Form
{
DMS... | 33.035052 | 193 | 0.362626 | [
"MIT"
] | liambaloh/OpenEOB | Assets/StreamingAssets/tools/UnstandardnessTestForDM/UnstandardnessTestForDM/Form1.cs | 16,024 | C# |
using System;
using Altinn.Studio.Designer.Helpers;
using Xunit;
namespace Designer.Tests.Helpers
{
public class GuardTests
{
[Theory]
[InlineData("filename.xsd", ".xs")]
[InlineData("path/to/filename.json", "json")]
[InlineData("path/to/filename.schema.json", "jsonschema")]
... | 32.916667 | 122 | 0.646203 | [
"BSD-3-Clause"
] | Altinn/altinn-studio | src/studio/src/designer/backend.Tests/Helpers/GuardTests.cs | 1,580 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace DiskmemeoryBomb
{
public partial class About : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
| 17.611111 | 60 | 0.687697 | [
"Apache-2.0",
"MIT"
] | UhuruSoftware/vcap-dotnet | src/Uhuru.CloudFoundry.Test/TestApps/DiskmemeoryBomb/App/About.aspx.cs | 319 | C# |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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-... | 35.163265 | 101 | 0.738828 | [
"Apache-2.0"
] | bostjankosi/FluentValidation | src/FluentValidation.Tests/CultureScope.cs | 1,725 | C# |
/*******************************************************************************
* Copyright 2012-2019 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... | 43.104348 | 280 | 0.595824 | [
"Apache-2.0"
] | 5u5hma/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/Chime/Basic/Get-CHMBot-Cmdlet.cs | 9,914 | C# |
namespace $safeprojectname$.Services
{
using System.Windows;
using Catel;
using Catel.MVVM;
using Catel.Services;
using global::MahApps.Metro.Controls;
using global::MahApps.Metro.IconPacks;
using Orchestra;
using Orchestra.Models;
using Orchestra.Services;
using Orchestra.ViewM... | 27.734694 | 166 | 0.640912 | [
"MIT"
] | Catel/Catel.Templates | templates/C#/ProjectTemplates/Orchestra.MahApps.Application/Services/MahAppsService.cs | 1,361 | C# |
using System.Collections.Generic;
using System.Runtime.Serialization;
using Service.Liquidity.Monitoring.Domain.Models.Actions;
namespace Service.Liquidity.Hedger.Domain.Models
{
[DataContract]
public class StopHedgeMonitoringAction : IMonitoringAction
{
[DataMember(Order = 1)] public string TypeN... | 41.642857 | 105 | 0.740995 | [
"MIT"
] | MyJetWallet/Service.Liquidity.Hedger | src/Service.Liquidity.Hedger.Domain.Models/MonitoringActions/StopHedgeMonitoringAction.cs | 585 | C# |
using UnityEssentials.Geometry.shape3d;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEssentials.Geometry.extensions;
namespace UnityEssentials.Geometry.MovableShape
{
public class MovableCapsuleHalfAdvanced : MovableCapsuleHalf
{
[SerializeField] private fl... | 35.961538 | 211 | 0.624599 | [
"MIT"
] | usernameHed/Philae-Lander | Assets/Plugins/Unity Essentials - Movable Shape/Shapes/Capsule/MovableCapsuleHalfAdvanced.cs | 1,872 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using NewLife;
using NewLife.Log;
using XCode.DataAccessLayer;
namespace XCode.C... | 35.924107 | 147 | 0.458556 | [
"MIT"
] | NewLifeX/NewLife.XCode | XCode/Configuration/TableItem.cs | 17,116 | C# |
using Content.Server.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
namespace Content.Server.AI.Operators.Inventory
{
public class DropHandItemsOperator : AiOperator
{
private readonly IEntity _owner;
public DropHandItemsOperator(IEntity owner)
{
_owner = owner;
... | 24.387097 | 75 | 0.57672 | [
"MIT"
] | Watermelon914/space-station-14 | Content.Server/AI/Operators/Inventory/DropHandItemsOperator.cs | 756 | C# |
// ReSharper disable once CheckNamespace
namespace HandyControlDemo.UserControl
{
public partial class ClockDemoCtl
{
public ClockDemoCtl()
{
InitializeComponent();
}
}
} | 19.909091 | 41 | 0.625571 | [
"MIT"
] | ZeroX-V/HandyControl | HandyControlDemo/UserControl/Controls/ClockDemoCtl.xaml.cs | 221 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace AreasRotas.Areas.Admin.Controllers
{
public class NoticiaController : Controller
{
// GET: Admin/Noticia
public ActionResult Index()
{
return View();
... | 19.411765 | 47 | 0.642424 | [
"MIT"
] | xtuser777/VSFIPP2018 | AreasRotas/AreasRotas/Areas/Admin/Controllers/NoticiaController.cs | 332 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using HarmonyLib;
using TaleWorlds.CampaignSystem;
using TaleWorlds.Core;
using TaleWorlds.Engine;
using TaleWorlds.Library;
using TaleWorlds.Localization;
using TaleWorlds.ObjectSystem;
using SandBox;
namespace QO... | 41.302469 | 150 | 0.607981 | [
"MIT"
] | gallickgunner/Bannerlord-QOLfixes | QOLfixes/Patches/SkipCampaignIntroAndCharCreation.cs | 6,693 | C# |
using System;
using NUnit.Framework;
namespace MemoryCacheT.Test.CacheItem
{
[TestFixture]
internal class NonExpiringCacheItemTests : CacheItemTestBase
{
[Test]
public void IsExpired_CurrentTimeIsPast_ReturnsFalse()
{
bool isExpired = _cacheItem.IsExpired;
A... | 28.313725 | 83 | 0.612188 | [
"MIT"
] | uhaciogullari/MemoryCacheT | MemoryCacheT.Test/CacheItem/NonExpiringCacheItemTests.cs | 1,444 | C# |
/*
* Swagger Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* OpenAPI spec version: 1.0.0
* Contact: apiteam@swagger.io
* Generated by: https://github.com/swagger-api/swagger-codegen.git
... | 31.782609 | 159 | 0.559508 | [
"Apache-2.0"
] | Cadcorp/swagger-codegen | samples/client/petstore/csharp/SwaggerClientNet35/src/IO.Swagger/Model/Cat.cs | 3,655 | C# |
namespace Thrinax.Chardet.NChardet
{
/// <summary>
/// Description of BIG5Verifier.
/// </summary>
public sealed class BIG5Verifier : Verifier
{
static int[] _cclass ;
static int[] _states ;
static int _stFactor ;
static string _charset ;
public override int[] cclass() { return _cc... | 126.738462 | 250 | 0.260743 | [
"Apache-2.0"
] | GlaryJoker/thrinax | src/Thrinax/Chardet/NChardet/BIG5Verifier.cs | 8,240 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.