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 |
|---|---|---|---|---|---|---|---|---|
#if EF
using EfLocalDb;
#else
using LocalDb;
#endif
public static class ModuleInitializer
{
[ModuleInitializer]
public static void Initialize()
{
XunitContext.Init();
LocalDbLogging.EnableVerbose();
LocalDbSettings.ConnectionBuilder((instance, database) => $"Data Source=(LocalDb)\... | 39.88 | 160 | 0.721163 | [
"MIT"
] | SimonCropp/EF.LocalDB | src/LocalDb.Tests/ModuleInitializer.cs | 999 | C# |
/*
Copyright 2017 Microsoft
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, publish, distribute, sublice... | 31.802469 | 104 | 0.566382 | [
"MIT"
] | mehrdad-shokri/iot-core-azure-dm-client | samples/DMDashboard/Common/DMControlList.cs | 2,578 | 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... | 42.780702 | 193 | 0.572688 | [
"MIT"
] | ricardoalkain/debug-k8s-pod-vsix | Debug.Kubernetes.Extension/Properties/Resources.Designer.cs | 4,879 | C# |
using System;
namespace SolidStack.Core.Flow.Internal.Result
{
internal class ResolvedMappableSuccess<TError, TSuccess, TMappingDestination> : MappableContent<
ResolvedMappableSuccess<TError, TSuccess, TMappingDestination>, TSuccess, TMappingDestination>,
IMappableSuccess<TError, TSuccess, TMa... | 36.206897 | 108 | 0.673333 | [
"MIT"
] | idmobiles/solidstack | src/SolidStack.Core.Flow/Internal/Result/ResolvedMappableSuccess.cs | 1,052 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
namespace ES3Internal
{
public class ES3WebClass
{
protected string url;
protected string apiKey;
protected List<KeyValuePair<string,string>> formData = new List<KeyValuePair<string, string>>();
pro... | 25.423611 | 153 | 0.698989 | [
"MIT"
] | Hir-o/Settlers-of-Albion-Project-Files | Assets/Plugins/Easy Save 3/Scripts/Web/ES3WebClass.cs | 3,663 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Snake
{
public class Program
{
public static void Main(string[] args)
{
int lastFoodTime = 0;
int foodDisappearTime = 8000;
int negativePoints = 0;
... | 40.839378 | 101 | 0.4915 | [
"MIT"
] | PetarTolev/High-Quality-Code | 04. Refactoring/Program.cs | 7,884 | C# |
using System;
using System.Globalization;
namespace HvA.API.NetStandard1.Extensions
{
public static class DateTimeExtensions
{
public static int GetIso8601WeekOfYear(this DateTime time)
{
DayOfWeek day = CultureInfo.InvariantCulture.Calendar.GetDayOfWeek(time);
if (day... | 26.863636 | 130 | 0.648054 | [
"MIT"
] | AeonLucid/HvA-API-NetStandard1 | src/HvA.API.NetStandard1/Extensions/DateTimeExtensions.cs | 593 | 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.884615 | 84 | 0.521566 | [
"MIT"
] | ArenaDave/CodeFighter | CodeFighter/HullMaker/Account/Manage.aspx.designer.cs | 1,764 | 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>
//---... | 41.458333 | 80 | 0.652261 | [
"MIT"
] | Cicerofer/Udemy_Poo_Projetos_CSharp | Modificador_Out/Modificador_Out/obj/Debug/netcoreapp3.1/Modificador_Out.AssemblyInfo.cs | 995 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.WebJobs.Host;
using TollBooth.Models;
namespace TollBooth
{
internal class DatabaseMethods
{
pri... | 45.7375 | 159 | 0.662476 | [
"MIT"
] | griffinbird/MCW-Serverless-architecture | Hands-on lab/starter/TollBooth/TollBooth/DatabaseMethods.cs | 3,661 | C# |
namespace AltinnCore.Common.Models
{
using System;
/// <summary>
/// The service identifier.
/// </summary>
public class ServiceIdentifier : IEquatable<ServiceIdentifier>
{
/// <summary> Gets or sets the org. </summary>
public string Org { get; set; }
/// <summary> Ge... | 35.486486 | 97 | 0.588728 | [
"BSD-3-Clause"
] | iotryti/altinn-studio | src/AltinnCore/Common/Models/ServiceIdentifier.cs | 1,315 | C# |
using System;
using Skybrud.Social.Google.YouTube.Options.Common;
namespace Skybrud.Social.Google.YouTube.Exceptions {
/// <summary>
/// Exception class throw when a given string can't be parsed into an instance of <see cref="YouTubePart"/>.
/// </summary>
public class YouTubeUnknownPartException : E... | 30.357143 | 112 | 0.575882 | [
"MIT"
] | abjerner/Skybrud.Social.Google.YouTube | src/Skybrud.Social.Google.YouTube/Exceptions/YouTubeUnknownPartException.cs | 1,702 | C# |
using System;
namespace TCC.TeraCommon.Game
{
public struct Vector3f
{
public float X;
public float Y;
public float Z;
public override string ToString()
{
return $"({X},{Y},{Z})";
}
public float DistanceTo(Vector3f target)
{
... | 29 | 94 | 0.50821 | [
"MIT"
] | sarisia/Tera-custom-cooldowns | TCC.Core/TeraCommon/Game/Vector3f.cs | 1,220 | C# |
#region License
/*
Copyright © 2014-2021 European Support Limited
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 a... | 37.609375 | 153 | 0.624567 | [
"Apache-2.0"
] | Ginger-Automation/Ginger | Ginger/Ginger/SolutionCategories/SolutionCategoryOptionalValuesEditPage.xaml.cs | 7,222 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Migrations.Model
{
using System.Collections.Generic;
using System.Data.Entity.Infrastructure.Annotations;
using System.Data.Entity.Utilities;
... | 39.637255 | 132 | 0.621568 | [
"Apache-2.0"
] | CZEMacLeod/EntityFramework6 | src/EntityFramework/Migrations/Model/AlterTableOperation.cs | 4,043 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace calculations
{
class Program
{
static void Main(string[] args)
{
double n = double.Parse(Console.ReadLine());
double secondNum = n * 4 - 4;
... | 23.869565 | 76 | 0.582878 | [
"MIT"
] | 1ooIL40/FundamentalsRepo | new project 02.18/calculations/calculations/Program.cs | 551 | C# |
using Nethereum.JsonRpc.Client;
//using Nethereum.JsonRpc.IpcClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Nethereum.JsonRpc.Client.Streaming;
using Nethereum.RPC.Tests.Testers;
using Nethereum.JsonRpc.WebSocketClient;
using Nethereum.JsonRpc.WebSocketSt... | 27.4 | 80 | 0.70438 | [
"MIT"
] | 6ara6aka/Nethereum | tests/Nethereum.RPC.IntegrationTests/ClientFactory.cs | 824 | C# |
namespace Bog.Web.Dashboard.Areas.HelpPage
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net.Http.Headers;
using System.Web.Http;
using System.... | 35.933468 | 124 | 0.526286 | [
"MIT"
] | BankOfGiving/Bog.net | Bog.Web.Dashboard/Areas/HelpPage/HelpPageConfigurationExtensions.cs | 17,823 | 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.IO;
using Xunit;
namespace Microsoft.Build.UnitTests.Framework
{
/// <summary>
/// Tests for LazyFormattedEventArgs
/// </summary>
public ... | 29.926316 | 131 | 0.516356 | [
"MIT"
] | 0xced/msbuild | src/Build.OM.UnitTests/LazyFormattedEventArgs_Tests.cs | 2,843 | C# |
//-----------------------------------------------------------------------
// <copyright file="NullSerializer.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
... | 34.573529 | 132 | 0.554232 | [
"Apache-2.0"
] | corefan/akka.net | src/core/Akka/Serialization/NullSerializer.cs | 2,353 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.MemoryMappedFiles;
using System.Text;
using System.Threading.Tasks;
using HitRefresh.GloVeWrapper.Models;
namespace HitRefresh.GloVeWrapper.IO;
/// <summary>
/// input.PeekChar() != -1
/// </summary>
public class BinaryGloveAccessor... | 27.714286 | 88 | 0.574148 | [
"MIT"
] | HIT-ReFreSH/GloVeWrapper | src/IO/BinaryGloveAccessor.cs | 2,524 | C# |
//
// Copyright 2013 Hans Wolff
//
// 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... | 41.030303 | 84 | 0.757016 | [
"Apache-2.0"
] | hanswolff/redfoxmq | RedFoxMQ.Tests/Properties/AssemblyInfo.cs | 1,356 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Test.Handlers
{
class DeleteAllSpecialistTestsHandler
{
}
}
| 13.727273 | 41 | 0.741722 | [
"MIT"
] | sunrise-solutions/Certification-Center | CertificationCenter/Test/Handlers/DeleteAllSpecialistTestsHandler.cs | 153 | C# |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGame.Extended.TextureAtlases
{
public class NinePatchRegion2D : TextureRegion2D
{
public Rectangle[] SourcePatches { get; } = new Rectangle[9];
public Thickness Padding { get; }
public int LeftPadding =... | 43.47619 | 138 | 0.654436 | [
"MIT"
] | Acidburn0zzz/MonoGame.Extended | Source/MonoGame.Extended/TextureAtlases/NinePatchRegion2D.cs | 3,652 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// As informações gerais sobre um assembly são controladas através do seguinte
// conjunto de atributos a seguir. Altere esses valores de atributo para modificar as informações
// associadas a um assembly.
[assembly:... | 39.472222 | 99 | 0.761436 | [
"MIT"
] | mikhailsb/Projeto_TCM_AgenciaViagem | AgenciaViagem_TCM/AgenciaViagem_TCM/Properties/AssemblyInfo.cs | 1,449 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using NLog;
using Project1.Domain.Interfaces;
using Project1.Domain.Model;
namespace Project1.DataAccess
{
public class Project1Repository : IProject1Repository
{
private readonly Project1Context _db... | 37.566929 | 161 | 0.581953 | [
"MIT"
] | 2002-feb24-net/jacob-project1 | Project1.DataAccess/Project1Repository.cs | 9,544 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Aris.Moe.Ocr;
using Aris.Moe.OverlayTranslate.Configuration;
using Aris.Moe.OverlayTranslate.Server.AspNetCore;
using Aris.Moe.OverlayTranslate.Server.Image;
using Aris.Moe.Trans... | 34.641509 | 157 | 0.592229 | [
"MIT"
] | Amiron49/Aris.Moe.Ocr.Translation.Overlay | Aris.Moe.OverlayTranslate.Server.IntegrationTests/Sanity.cs | 5,508 | C# |
namespace DilMS_UI.Client.Areas.HelpPage.ModelDescriptions
{
public class CollectionModelDescription : ModelDescription
{
public ModelDescription ElementDescription { get; set; }
}
} | 28.857143 | 64 | 0.752475 | [
"Apache-2.0"
] | kwkau/DilMS-UI | DilMS-UI.Client/Areas/HelpPage/ModelDescriptions/CollectionModelDescription.cs | 202 | C# |
using System.Text.RegularExpressions;
using CurlToCSharp.Extensions;
namespace CurlToCSharp.Models.Parsing;
public class ProxyParameterEvaluator : ParameterEvaluator
{
private static readonly Regex PortRegex = new Regex(@":\d+$", RegexOptions.Compiled);
public ProxyParameterEvaluator()
{
Keys = ... | 29.434783 | 111 | 0.634417 | [
"MIT"
] | RuioWolf/curl-to-csharp | src/CurlToCSharp/Models/Parsing/ProxyParameterEvaluator.cs | 1,354 | 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.5 | 90 | 0.51273 | [
"MIT"
] | uxb2bralph/IFS-EIVO03 | eIVOGo/Module/SAM/Business/OrganizationList.ascx.designer.cs | 1,141 | C# |
namespace calendar
{
public static class StringExtensions
{
public static bool IsGreaterThan(this string first, string second)
{
return first.CompareTo(second) > 0;
}
public static string GetGreater(this string first, string second)
{
return first... | 27 | 74 | 0.594074 | [
"MIT"
] | alexturcu/calendarmeetings | StringExtensions.cs | 675 | C# |
namespace ServerKinect.Samples
{
partial class SettingServerKinect
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 49.534031 | 174 | 0.598457 | [
"BSD-3-Clause"
] | mcassola/ServerKinect | ServerKinect/Samples/SettingServerKinect.Designer.cs | 9,463 | C# |
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
namespace Plasma_Rev
{
public class Map
{
public Player player = new Player(0, 0);
public List<Chunk> loadedChunks = new List<Chunk>();
public Map()
{
player = new Player(0, 0);
c... | 31.955882 | 252 | 0.525541 | [
"MIT"
] | aliostad/deep-learning-lang-detection | data/train/csharp/493242011415cf4bd84b970f1f0bf10d98ae5044Map.cs | 2,175 | C# |
////////////////////////////////////////////////////////////////////////////////
//EF Core Provider for LCPI OLE DB.
// IBProvider and Contributors. 06.10.2021.
using System;
using System.Diagnostics;
using System.Reflection;
namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOle... | 33.708333 | 130 | 0.583436 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Code/Provider/Source/Basement/EF/Dbms/Firebird/V03_0_0/Query/Local/D0/Expressions/Op2/Code/Subtract/DateTime/Op2_Code__Subtract___DateTime__NullableDateTime.cs | 1,620 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
using BrainyStories.Objects;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using BrainyStories.RealmObjects;
using Realms;
namespace BrainyStories
{
// Story class used for each story
... | 31.954023 | 116 | 0.605755 | [
"MIT"
] | BrainyEducation/Novelidea | BrainyStories/BrainyStories/BrainyStories/RealmObjects/Story.cs | 2,782 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using ProjectRestaurant.Data;
namespac... | 35.51046 | 95 | 0.437493 | [
"MIT"
] | VasilUzunov/ProjectRestaurant | Data/ProjectRestaurant.Data/Migrations/20201217134016_AddNumberOfPeopleInReservationModel.Designer.cs | 25,463 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using MijnSauna.Backend.Api.Common;
using MijnSauna.Backend.Logic.Interfaces;
using MijnSauna.Common.DataTransferObjects.Logs;
namespace MijnSauna.Backend.Api.Controllers
{
[Route("logs")]
[ApiController]
pub... | 29.966667 | 91 | 0.669633 | [
"Unlicense"
] | Djohnnie/BuildCloudNativeApplicationsWithDotNet5-DotNetDeveloperDays-2020 | mijnsauna/MijnSauna.Backend.Api/Controllers/LogsController.cs | 901 | 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 Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.VisualStudio.LanguageServices... | 39.405405 | 176 | 0.672154 | [
"MIT"
] | Jay-Madden/roslyn | src/VisualStudio/LiveShare/Impl/Client/HostLanguageServicesExtensions.cs | 1,460 | C# |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Reflection;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.AspNetCore.Mvc.Controllers;
namespace Swashbuckle.AspNetCore.SwaggerGen
{
public static class ApiDescriptionExtensions
{
public static bool TryGetMeth... | 34.489362 | 118 | 0.682295 | [
"MIT"
] | AndrewJByrne/Swashbuckle.AspNetCore | src/Swashbuckle.AspNetCore.SwaggerGen/Generator/ApiDescriptionExtensions.cs | 1,623 | C# |
using OpenTK.Graphics.OpenGL;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.OpenGL.Image;
using Ryujinx.Graphics.OpenGL.Queries;
using Ryujinx.Graphics.Shader;
using System;
namespace Ryujinx.Graphics.OpenGL
{
public sealed class Renderer : IRenderer
{
private readon... | 29.100775 | 147 | 0.609483 | [
"MIT"
] | Supa604/Ryujinx | Ryujinx.Graphics.OpenGL/Renderer.cs | 3,756 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 33.746032 | 153 | 0.594544 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IManagedDeviceUpdateWindowsDeviceAccountRequest.cs | 2,126 | C# |
ILogger logger = new ConsoleLogger();
logger.Log("message");
logger.Log(new Exception("sample exception"));
IEnumerableEx<string> names = new MyCollection<string> { "James", "Jack", "Jochen", "Sebastian", "Lewis", "Juan" };
var jNames = names.Where(n => n.StartsWith("J"));
foreach (var name in jNames)
{
Console.... | 30.727273 | 115 | 0.689349 | [
"MIT"
] | christiannagel/ProfessionalCSharp2021 | 1_CS/ObjectOrientation/DefaultInterfaceMethods/Program.cs | 340 | C# |
namespace TeraPacketParser.TeraCommon.Game
{
public class Server
{
public Server(string name, string region, string ip, uint serverId = uint.MaxValue)
{
Ip = ip;
Name = name;
Region = region;
ServerId = serverId;
}
public string I... | 27.130435 | 91 | 0.535256 | [
"MIT"
] | Foglio1024/Tera-custom-cooldowns | TeraPacketParser/TeraCommon/Game/Server.cs | 626 | C# |
using BackEndServer.Models.ViewModels;
using MySql.Data.MySqlClient;
namespace BackEndServer.Models.DBModels
{
public class DatabaseRoom
{
// Table Name
public static readonly string TABLE_NAME = "room";
// Attributes of Room table.
public static readonly string ROOM_ID_LABEL =... | 28.880952 | 72 | 0.592745 | [
"MIT"
] | Loriko/group2049-project | BackEnd/BackEndServer/Models/DBModels/DatabaseRoom.cs | 1,215 | C# |
using System.Collections.Generic;
using App.Metrics;
using App.Metrics.Formatters.Wavefront;
using Moq;
using Wavefront.SDK.CSharp.Common;
using Wavefront.SDK.CSharp.Common.Metrics;
using Wavefront.SDK.CSharp.Entities.Histograms;
using Xunit;
namespace Wavefront.AppMetrics.SDK.CSharp.Test
{
public class Metric... | 40.615385 | 99 | 0.625473 | [
"Apache-2.0"
] | wavefrontHQ/wavefront-appmetrics-csharp-sdk | test/Wavefront.AppMetrics.SDK.CSharp.Test/MetricSnapshotWavefrontWriterTest.cs | 2,112 | C# |
using System;
using System.Linq;
using Engine.Application;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharedApplication;
using Textrude;
namespace Tests
{
[TestClass]
public class TextrudeCliTests
{
[TestMethod]
public void SimpleRenderPass()
{... | 28.875598 | 94 | 0.560895 | [
"MIT"
] | NeilMacMullen/Textrude | Tests/TextrudeCliTests.cs | 6,035 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Win.ERP
{
public partial class FormUsuarios : Form
{
public FormUsuarios()
... | 18.095238 | 44 | 0.689474 | [
"MIT"
] | MVallecillo/Proyecto-L3 | Sistema ERP/ERP/Win.ERP/FormUsuarios.cs | 382 | C# |
using System;
using Asteroids.Components;
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
namespace Asteroids.Systems
{
public class OffScreenWrapperSystem : SystemBase
{
enum Direction
{
Right,
Down,
Left,
Up
}
... | 45.608696 | 172 | 0.609152 | [
"MIT"
] | lipemon1/asteroids-unity-dots | Assets/Scripts/Systems/Screen/OffScreenWrapperSystem.cs | 3,147 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.WebJobs.Host.Executors;
using Xunit;
namespace Microsoft.Azure.WebJobs.Host.UnitTests.Executors
{
public class NullInstanceFactoryTests
... | 26.733333 | 95 | 0.637157 | [
"MIT"
] | Azure-App-Service/azure-webjobs-sdk | test/Microsoft.Azure.WebJobs.Host.UnitTests/Executors/NullInstanceFactoryTests.cs | 804 | C# |
using System.Net.Http;
using System.Threading.Tasks;
using BizzebeeSharp.Entities;
using BizzebeeSharp.Extensions;
using BizzebeeSharp.Filters;
using BizzebeeSharp.Infrastructure;
namespace BizzebeeSharp.Services.Product
{
/// <summary>
/// A service for manipulating Bizzebee products.
/// </summary>
... | 43.826772 | 516 | 0.622889 | [
"MIT"
] | PrimePenguin/BizzebeeSharp | BizzebeeSharp/Services/Product/ProductService.cs | 5,568 | C# |
namespace BlackMirror.Configuration.SerilogSupport
{
using System.Xml.Serialization;
[XmlRoot("serilog")]
public class SerilogConfig
{
[XmlElement("RollingFile.pathFormat")]
public string LogFilePath { get; set; }
[XmlElement("RollingFile.serilogPathFormat")]
public str... | 26.909091 | 58 | 0.673986 | [
"MIT"
] | Rosiv/BlackMirror | src/BlackMirror.Configuration/SerilogSupport/SerilogConfig.cs | 592 | C# |
#region License
//--------------------------------------------------
// <License>
// <Copyright> 2018 © Top Nguyen </Copyright>
// <Url> http://topnguyen.com/ </Url>
// <Author> Top </Author>
// <Project> Elect </Project>
// <File>
// <Name> IServiceCollectionExtensions.cs </Name>
// ... | 34.785714 | 146 | 0.640144 | [
"MIT"
] | anglesen1120/Elect | src/Notification/Elect.Notification.OneSignal/IServiceCollectionExtensions.cs | 1,951 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Models;
namespace BackEnd.Migrat... | 31.019608 | 75 | 0.432364 | [
"Apache-2.0"
] | djokatruElfak/WebProjekat | BackEnd/Migrations/20220118135209_V14.Designer.cs | 4,748 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jdart.Swiffy
{
public class SwiffyOptions
{
public int MillisecondsTimeout { get; set; }
}
}
| 17.214286 | 52 | 0.717842 | [
"MIT"
] | alvaro-jdart/swiffy | Jdart.Swiffy/SwiffyOptions.cs | 243 | C# |
private sealed class AddOvfInstruction.AddOvfUInt64 : AddOvfInstruction // TypeDefIndex: 2344
{
// Methods
// RVA: 0x1974F30 Offset: 0x1975031 VA: 0x1974F30 Slot: 8
public override int Run(InterpretedFrame frame) { }
// RVA: 0x1974390 Offset: 0x1974491 VA: 0x1974390
public void .ctor() { }
}
| 25.083333 | 93 | 0.740864 | [
"MIT"
] | SinsofSloth/RF5-global-metadata | _no_namespace/AddOvfInstruction.AddOvfUInt64.cs | 301 | C# |
// Copyright © 2006-2010 Travis Robinson. All rights reserved.
//
// website: http://sourceforge.net/projects/libusbdotnet
// e-mail: libusbdotnet@gmail.com
//
// This program is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the
// Free So... | 42.251748 | 151 | 0.638365 | [
"BSD-2-Clause"
] | addixon/ErgCompetePM | LibUsbDotNet/LibUsbDotNet/LibUsb/UsbDevice.Interfaces.cs | 6,045 | C# |
namespace DigitalLearningSolutions.Web.Controllers.TrackingSystem.Centre.Reports
{
using System;
using System.Collections.Generic;
using System.Linq;
using DigitalLearningSolutions.Data.DataServices.UserDataService;
using DigitalLearningSolutions.Data.Enums;
using DigitalLearningSolution... | 37.886463 | 118 | 0.596012 | [
"MIT"
] | TechnologyEnhancedLearning/DLSV2 | DigitalLearningSolutions.Web/Controllers/TrackingSystem/Centre/Reports/ReportsController.cs | 8,678 | C# |
using All;
using System;
using System.IO;
namespace CongressManager.Congress
{
public partial class BoardDown : System.Web.UI.Page
{
private string dir = "";
private CongressRepository _repository;
public BoardDown()
{
_repository = new CongressRepository();
... | 31.12 | 90 | 0.503856 | [
"MIT"
] | VisualAcademy/AspNetCoreBook | CongressManager/CongressManager/Congress/BoardDown.aspx.cs | 1,740 | C# |
namespace AlertToCare.Utility
{
public static class Utils
{
public static bool IsValueNull(object value)
{
return (value == null);
}
public static bool IsLengthValid(string word, int length)
{
return word.Length == length;
}
}
}
| 20.933333 | 65 | 0.547771 | [
"MIT"
] | kavyashukla18/AlertToCare | AlertToCare/AlertToCare/Utility/Utils.cs | 316 | C# |
using System.Linq;
using System.Threading.Tasks;
using NJsonSchema;
using NSwag.Generation.AspNetCore.Tests.Web.Controllers.Parameters;
using Xunit;
namespace NSwag.Generation.AspNetCore.Tests.Parameters
{
public class FormDataTests : AspNetCoreTestsBase
{
[Fact]
public async Task WhenOperatio... | 34.27957 | 127 | 0.483375 | [
"MIT"
] | 0xced/NSwag | src/NSwag.Generation.AspNetCore.Tests/Parameters/FormDataTests.cs | 3,190 | C# |
#pragma checksum "C:\Users\yu\Desktop\Sobey.TimeLine\Sobey.TimeLine\Controls\TimeLineControl.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "DFDDE6296DB3B17F4DBC5FE140F52F36"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.334... | 38.866667 | 175 | 0.656604 | [
"MIT"
] | DoyuLy/TimeLine | Sobey.TimeLine/obj/Debug/Controls/TimeLineControl.g.cs | 3,023 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Sciencetific_Calc
{
public partial class AnalogClock : Form
{
Ti... | 31.166667 | 108 | 0.475654 | [
"CC0-1.0"
] | RedStoneCr33per/AtoZGamesV2 | New folder/AnalogClock.cs | 3,555 | C# |
using System.Linq.Expressions;
namespace NuClear.ValidationRules.SingleCheck.Optimization
{
internal sealed class PredicateVisitor : ExpressionVisitor
{
private readonly ParameterExpression _parameter;
private bool _isSimple = true;
public PredicateVisitor(ParameterExpression paramete... | 31.291667 | 116 | 0.672437 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | i-maslennikov/nuclear-river-validation-rules | ValidationRules.SingleCheck/Optimization/PredicateVisitor.cs | 838 | C# |
using EngineeringUnits;
using EngineeringUnits.Units;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using System.Diagnostics;
namespace UnitTests
{
[TestClass]
public class AreaTest
{
[TestMethod]
public void AreaSimple()
{
Length L1 = new(1d... | 30.042254 | 89 | 0.578528 | [
"MIT"
] | AtefeBahrani/EngineeringUnits | UnitTests/CombinedUnits/Area/AreaTest.cs | 2,133 | C# |
/*
* Copyright (c) 2017-2020. RainyRizzle. All rights reserved
* Contact to : https://www.rainyrizzle.com/ , contactrainyrizzle@gmail.com
*
* This file is part of [AnyPortrait].
*
* AnyPortrait can not be copied and/or distributed without
* the express perission of [Seungjik Lee].
*
* Unless this file is downloaded fr... | 31.727605 | 194 | 0.652895 | [
"MIT"
] | LuanmaStudio/Seek-The-Trace | Assets/AnyPortrait/Editor/Scripts/Subtool/apGizmoController_Physics.cs | 18,359 | C# |
using GuruComponents.Netrix.WebEditing;
using GuruComponents.Netrix.ComInterop;
using System;
using System.ComponentModel;
using System.Web.UI.WebControls;
namespace GuruComponents.Netrix.WebEditing.Elements
{
/// <summary>
/// <TITLE ...> gives the page a unique name.
/// </summary>
/// <remar... | 23.653846 | 77 | 0.653659 | [
"MIT"
] | andydunkel/netrix | Netrix2.0/NetRixMain/NetRix/WebEditing/Elements/HeadElements/TitleElement.cs | 615 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SQLite;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Quizzer
{
public partial class EditQuestion : Form
{
... | 39.377593 | 168 | 0.525817 | [
"MIT"
] | ChlodAlejandro/quizzer-cs | Quizzer/Editor/EditQuestion.cs | 9,492 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 30.58871 | 100 | 0.572634 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/DirectoryService/Generated/Model/Trust.cs | 7,586 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OnStateEnterBool : StateMachineBehaviour
{
[Header("Target Bool Parameter")]
[Tooltip("The boolean anim parameter that you want to change.")]
public string boolName;
[Header("Target Status")]
[Tooltip("The... | 30 | 111 | 0.735 | [
"MIT"
] | Amulet-Games/VolunsTale-Codes-Repository | Assets/Scripts/Animator State Machine/OnStateEnterBool.cs | 602 | 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>
//--... | 29.695652 | 81 | 0.490483 | [
"MIT"
] | NathanClouseAX/AAXDataEntityPerfTest | Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/PayrollCalculationBasis.cs | 685 | C# |
using System;
namespace AnAusAutomat.Sensors.GUI.HotKeys
{
public interface IHotKeyHandler
{
event EventHandler<HotKeyPressedEventArgs> HotKeyPressed;
void Start();
void Stop();
}
} | 18.333333 | 65 | 0.668182 | [
"MIT"
] | yannickbock/AnAusAutomat | src/AnAusAutomat.Sensors.GUI/HotKeys/IHotKeyHandler.cs | 222 | C# |
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using XF40Demo.ViewModels;
namespace XF40Demo.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PowerOverviewPage : ContentPage
{
private readonly PowerDetailViewModel vm = new PowerDetailViewModel();
public PowerOverviewPage()
{
... | 18.642857 | 72 | 0.741379 | [
"MIT"
] | irongut/XF40Demo | XF40Demo/XF40Demo/Views/PowerOverviewPage.xaml.cs | 524 | C# |
using System;
using Avalonia.Skia;
namespace Avalonia
{
/// <summary>
/// Options for Skia rendering subsystem.
/// </summary>
public class SkiaOptions
{
/// <summary>
/// Custom gpu factory to use. Can be used to customize behavior of Skia renderer.
/// </summary>
p... | 31.653846 | 116 | 0.596598 | [
"MIT"
] | 0x0ade/Avalonia | src/Skia/Avalonia.Skia/SkiaOptions.cs | 823 | C# |
using System;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.user.info.share
/// </summary>
public class AlipayUserInfoShareRequest : IAopRequest<AlipayUserInfoShareResponse>
{
#region IAopRequest Members
private boo... | 22.680851 | 86 | 0.609287 | [
"MIT"
] | erikzhouxin/CSharpSolution | OSS/Alipay/F2FPayDll/Projects/alipay-sdk-NET20161213174056/Request/AlipayUserInfoShareRequest.cs | 2,132 | C# |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.O... | 36.333333 | 171 | 0.765138 | [
"Apache-2.0"
] | pulumi/pulumi-kubernetes-crds | operators/crossplane/dotnet/Kubernetes/Crds/Operators/Crossplane/Packages/V1Alpha1/Outputs/StackDefinitionSpecControllerDeploymentSpecTemplateSpecContainersLivenessProbeTcpSocket.cs | 1,090 | C# |
namespace AH.ModuleController.UI.OPR.Forms
{
partial class frmOPRDashboard
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
///... | 55.544192 | 175 | 0.608624 | [
"Apache-2.0"
] | atiq-shumon/DotNetProjects | Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/OPR/Forms/frmOPRDashboard.Designer.cs | 43,993 | C# |
namespace NurserySchoolWebPortal.Data.Common.Models
{
using System;
public abstract class BaseDeletableModel<TKey> : BaseModel<TKey>, IDeletableEntity
{
public bool IsDeleted { get; set; }
public DateTime? DeletedOn { get; set; }
}
}
| 22.416667 | 86 | 0.67658 | [
"MIT"
] | DiyanaMancheva/NurserySchoolWebPortal | Data/NurserySchoolWebPortal.Data.Common/Models/BaseDeletableModel.cs | 271 | 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("Ar... | 42.594595 | 173 | 0.754442 | [
"MIT"
] | Prohelion/ArrowPoint-CANbus-Tools | ArrowPoint-CANbus-Tools/Properties/AssemblyInfo.cs | 1,579 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Messaging.EventHubs.Errors
{
/// <summary>
/// An exception which occurs when an <see cref="EventHubConsumerClient" /> is forcefully disconnected
/// from an Event Hub instanc... | 49.209302 | 173 | 0.632325 | [
"MIT"
] | Azkel/azure-sdk-for-net | sdk/eventhub/Azure.Messaging.EventHubs/src/Errors/ConsumerDisconnectedException.cs | 2,118 | C# |
// ***********************************************************************
// Copyright (c) 2015 Charlie Poole
//
// 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, inclu... | 43.756098 | 85 | 0.647715 | [
"MIT"
] | SallyAbbas/TrYNet | src/tests/Program.cs | 1,794 | C# |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Web;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Web;
using Umbraco.ModelsBuilder;
using Umbraco.ModelsBuilder.Umbraco;
[assembly: PureLiveAssembly]
[assembly:ModelsBuilderAssemb... | 38.269373 | 177 | 0.746794 | [
"MIT"
] | Nicholas-Westby/umbraco-minify | src/Website/App_Data/Models/all.generated.cs | 10,371 | 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.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks... | 49.871681 | 159 | 0.623104 | [
"MIT"
] | 939481896/dotnet-corefx | src/Common/src/CoreLib/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs | 11,271 | C# |
using NiconicoToolkit.User;
using NiconicoToolkit.Video;
using System;
using System.Text.Json.Serialization;
namespace NiconicoToolkit.Community
{
public sealed class CommunityVideoListItemsResponse : ResponseWithMeta
{
[JsonPropertyName("data")]
public CommunityVideoListItemsData Data { get; ... | 27.852459 | 74 | 0.588582 | [
"MIT"
] | tor4kichi/NiconicoToolkit | NiconicoToolkit.Shared/Community/CommunityVideoListItemsResponse.cs | 1,701 | C# |
#region License
/***
* Copyright © 2018-2021, 张强 (943620963@qq.com).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 28.076923 | 75 | 0.608219 | [
"Apache-2.0"
] | zqlovejyc/ZqUtils.Core | ZqUtils.Core/WeChat/Models/OAuthModel.cs | 1,948 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 27.935484 | 81 | 0.676674 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/HybridCompute/Outputs/MachinePropertiesResponseOsProfile.cs | 866 | C# |
using RimWorld;
using Verse;
namespace QEthics
{
public class PawnRelationWorker_SiblingCloneCheck : PawnRelationWorker_Sibling
{
public override void CreateRelation(Pawn generated, Pawn other, ref PawnGenerationRequest request)
{
//check if 'other' pawn is a Clone. If so, prevent... | 25.541667 | 106 | 0.597064 | [
"MIT"
] | Danikuh/QuestionableEthicsEnhanced | QEE/Workers/PawnRelationWorker_SiblingCloneCheck.cs | 615 | C# |
/*
JustMock Lite
Copyright © 2018 Progress Software Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... | 46.362184 | 224 | 0.669654 | [
"Apache-2.0"
] | telerik/JustMockLite | Telerik.JustMock/Expectations/Local/FunctionExpectation.cs | 34,821 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using PretiaArCloud.Pcx;
using UnityEngine;
using Utf8Json;
namespace PretiaMap2PLY
{
public static class MapDataConverter
{
public static (bool isSuccess, Exception err) TryGetPointCloudDataFromMap(
string mapData,
... | 27.28125 | 90 | 0.581901 | [
"Apache-2.0"
] | drumath2237/PretiaMap2PLY | Packages/PretiaMap2PLY/Runtime/MapDataConverter.cs | 875 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
public class Crate : MonoBehaviour
{
public List<AudioClip> clips;
private AudioSource audio_;
private Player player_;
private bool isCarried_;
private Rigidbody2D rigidbody_;
private ... | 21.406504 | 136 | 0.625902 | [
"MIT"
] | SunParlorStudios/LudumDare41 | unity/Ludum Dare 41/Assets/Scripts/Crate.cs | 2,635 | C# |
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Toolbelt.Blazor.Test.Internals
{
internal class NullHttpMessageHandler : HttpMessageHandler
{
protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken ca... | 31.375 | 127 | 0.741036 | [
"MPL-2.0"
] | americanslon/Toolbelt.Blazor.HttpClientInterceptor | Toolbelt.Blazor.HttpClientInterceptor.Test/Internals/NullHttpMessageHandler.cs | 504 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using NN = MathCore.Annotations.NotNullAttribute;
using CN = MathCore.Annotations.CanBeNullAttribute;
// ReSharper disable UnusedMember.Global
// ReSharper disable ConvertToAutoPropertyWhenPossible
// ReSharper disable UnusedMet... | 53.992556 | 165 | 0.650811 | [
"MIT"
] | Infarh/MathCore | MathCore/Xml/LambdaXmlSerializer.cs | 26,986 | C# |
using System;
using System.Collections.Generic;
namespace Gem.Engine.AI.BehaviorTree.Decorators
{
public class Inverter<AIContext> : IDecorator<AIContext>
{
private readonly IBehaviorNode<AIContext> decoratedNode;
private BehaviorResult behaviorResult;
public event EventHandler OnBehav... | 30.06383 | 85 | 0.590234 | [
"MIT"
] | gmich/Gem | Gem.Engine/AI/BehaviorTree/Decorators/Inverter.cs | 1,415 | 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... | 34.568627 | 104 | 0.632161 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/Macie2/Generated/Model/SensitiveDataItem.cs | 3,526 | C# |
namespace Problem_3.Collection_of_Products
{
using System;
using System.Collections.Generic;
class Program
{
static void Main()
{
var collection = new ProductCollection<Product>();
SeedProducts(collection);
var productsByTitleAndPrice350 = collectio... | 43.391892 | 123 | 0.603862 | [
"MIT"
] | Supbads/Softuni-Education | 05. Datastructures 02.16/Homework/10. Data-Structure-Efficiency-Homework/Problem 3. Collection of Products/Program.cs | 3,213 | C# |
using UnityEditor.Graphing;
using UnityEditor.ShaderGraph.Internal;
namespace UnityEditor.ShaderGraph
{
interface IMayRequireTangent
{
NeededCoordinateSpace RequiresTangent(ShaderStageCapability stageCapability = ShaderStageCapability.All);
}
static class MayRequireTangentExtensions
... | 31.2 | 114 | 0.716346 | [
"MIT"
] | ellcraig/RollABall | Roll-A-Ball/Library/PackageCache/com.unity.shadergraph@10.2.2/Editor/Data/Interfaces/IMayRequireTangent.cs | 624 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using FluentAssertions;
using KsWare.Presentation.Collections;
using NUnit.Framework;
namespace KsWare.Presentation.Core.Tests.Collections {
[TestFixture()]
public class ObservableD... | 39.338542 | 107 | 0.666755 | [
"MIT"
] | KsWare/KsWare.Presentation | src/KsWare.Presentation.Core.Tests/Collections/ObservableDictionaryTests.cs | 7,555 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.II... | 39.258503 | 101 | 0.624848 | [
"MIT"
] | JMayrbaeurl/Industrial-IoT | services/src/Microsoft.Azure.IIoT.Services.OpcUa.Twin/tests/TestStartup.cs | 5,771 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Caching;
using System.Threading.Tasks;
using InceptionCache.Core;
using Shouldly;
using SimpleLogging.Core;
namespace InceptionCache.Providers.InMemoryCacheProvider
{
public class InMemoryCacheProvider
: IC... | 28.981132 | 99 | 0.486979 | [
"MIT"
] | RPM1984/InceptionCache | Code/InceptionCache.Providers.InMemoryCacheProvider/InMemoryCacheProvider.cs | 4,610 | C# |
using UnityEngine;
using System.Collections;
using BulletUnity;
public class MoveKinematicObject : MonoBehaviour {
void FixedUpdate()
{
transform.position = new UnityEngine.Vector3(Mathf.Sin(Time.time),0f,Mathf.Cos(Time.time)) * 5f;
//test switching between dynamic and kinematic
}
}
| 22.571429 | 104 | 0.712025 | [
"MIT"
] | ashab015/Unity-Softbody-Cutting | Assets/BulletUnity/Examples/Scripts/MoveKinematicObject.cs | 318 | C# |
namespace Workflow.Steps.Catch;
internal class WorkflowTypeCatchStep<TException, TContext> :
IWorkflowStep<TContext>
where TContext : WorkflowBaseContext
where TException : Exception
{
private readonly Func<TContext, Task> _action;
public WorkflowTypeCatchStep(Func<TContext, Task> action)
... | 27.533333 | 106 | 0.690073 | [
"MIT"
] | byCrookie/Workflow | src/Workflow/Steps/Catch/WorkflowTypeCatchStep.cs | 828 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.