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 Seq2SeqSharp.Tools;
using System;
using System.Collections.Generic;
using System.Text;
namespace Seq2SeqSharp.Optimizer
{
public interface IOptimizer
{
void UpdateWeights(List<IWeightTensor> model, int batchSize, float step_size, float regc, int iter);
}
}
| 21.923077 | 108 | 0.747368 | [
"BSD-3-Clause"
] | SciSharp/Seq2SeqSharp | Seq2SeqSharp/Optimizer/IOptimizer.cs | 287 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using UnityEditor.Sprites;
using UnityEditorInternal;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.Tilemaps;
using Object = UnityEngine.Object;
namespace UnityEditor
{
[CustomEditor(typeof(RuleTile), true... | 37.908108 | 370 | 0.725438 | [
"MIT"
] | Bloodyaugust/ld42 | Assets/UnityTilemapExtras/Tilemap/Tiles/Rule Tile/Scripts/Editor/RuleTileEditor.cs | 14,026 | C# |
using Pluto.Domain.Commands.Common;
using Pluto.Domain.Enums;
using System;
namespace Pluto.Domain.Commands.User
{
public class UpdateUserCommand : Command
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public UserProfile Profi... | 23 | 48 | 0.643478 | [
"MIT"
] | spaki/Pluto | Pluto.Domain/Commands/User/UpdateUserCommand.cs | 347 | C# |
using System;
namespace Cobalt.Common.Data
{
public class AppUsage : Entity
{
public App App { get; set; }
public AppUsageType UsageType { get; set; }
public DateTime StartTimestamp { get; set; }
public DateTime EndTimestamp { get; set; }
public AppUsageEndReason UsageE... | 32.2 | 66 | 0.654244 | [
"MIT"
] | Enigmatrix/Cobalt | Cobalt.Common.Data/AppUsage.cs | 485 | C# |
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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
//
//... | 33.136752 | 165 | 0.617488 | [
"Apache-2.0"
] | pil0t/Castle.Windsor | src/Castle.Windsor/Windsor/Diagnostics/PerformanceMetricsFactory.cs | 3,877 | C# |
namespace Loon
{
public abstract class UnityActivity :UnityContext
{
private UnityGLSurfaceView m_view;
public UnityActivity(int width, int height):base(width,height)
{
}
public virtual void Finish()
{
}
public virtual void OnCreate(UnityBundle state)
{
}
protected virtual void O... | 13.532258 | 64 | 0.643623 | [
"Apache-2.0"
] | TheMadTitanSkid/LGame | C#/Loon2Unity/Loon/UnityActivity.cs | 839 | C# |
#region License
/* **********************************************************************************
* Copyright (c) Roman Ivantsov
* This source code is subject to terms and conditions of the MIT License
* for Irony. A copy of the license can be found in the License.txt file
* at the root of this distribution.
... | 29.701754 | 124 | 0.715101 | [
"MIT"
] | Tyelpion/irony | Irony.GrammarExplorer/Highlighter/FastColoredTextBoxHighlighter.cs | 10,158 | C# |
// Copyright (c) 2012-2021 VLINGO LABS. All rights reserved.
//
// 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 https://mozilla.org/MPL/2.0/.
using Xunit;
namespace Vlingo.Xoom.UUID.Tests
{... | 27.222222 | 61 | 0.640816 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | Luteceo/vlingo-net-uuid | src/Vlingo.Xoom.UUID.Tests/RandomBasedGeneratorTests.cs | 737 | C# |
using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using Rhino.Geometry;
namespace PTK.Components
{
public class PTK_GravityLoad : GH_Component
{
public PTK_GravityLoad()
: base("GravityLoad", "GravityLoad",
"Add load here",
CommonProp... | 32.210526 | 168 | 0.564134 | [
"MIT"
] | CSDG-DDL/PTK | PTK/Components/3_GravityLoad.cs | 2,450 | C# |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.Linq;
using NUnit.Framework;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Events;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Notifications;
using Umbraco.C... | 37.772627 | 178 | 0.619309 | [
"MIT"
] | Lantzify/Umbraco-CMS | tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceNotificationTests.cs | 17,111 | C# |
using System;
namespace _01.SimulatesExecutionOfNLoops
{
public class Startup
{
public static void Main()
{
int number = int.Parse(Console.ReadLine());
int[] arr = new int[number];
LoopMe(0, arr);
}
public static void LoopMe(int index, int... | 21.375 | 56 | 0.406433 | [
"MIT"
] | primas23/Homewoks | Data-Structures-and-Algorithms/03.Recursion/01.SimulatesExecutionOfNLoops/Startup.cs | 686 | C# |
using System;
using System.ComponentModel;
using System.ComponentModel.Composition;
using System.Data.Entity;
using System.Threading.Tasks;
using ThingSpeak.Client;
using zvs;
using zvs.DataModel;
using zvs.Processor;
namespace ThingSpeak
{
[Export(typeof(ZvsPlugin))]
public class ThingSpeakPlugin : ZvsPlugin... | 50.293388 | 266 | 0.54523 | [
"MIT"
] | aarondrabeck/zVirtualScenes | Plugins/ThingSpeak/ThingSpeakPlugin.cs | 12,173 | C# |
/* Copyright (c) Citrix Systems, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice... | 35.431373 | 140 | 0.558827 | [
"BSD-2-Clause"
] | DigitEgal/xenadmin | XenAdmin/Controls/DiskSpinner.cs | 9,037 | C# |
using AGDevUnity.StdUtil;
using AGDev;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using AGBLang;
public class ProcessControllPannel : MonoBehaviour
{
public StdMonoBGeneralPanel pannlPrefab;
public StdMonoBGeneralPanel analysisProcessPannel;
public StdMonoBGeneralPanel assetProce... | 45 | 116 | 0.829119 | [
"Unlicense"
] | iwaag/AGDevUnity | AdminUI/AdminUI/ProcessControllPannel.cs | 1,307 | C# |
namespace KinderKulturServer.Providers
{
public class NewsGroup
{
public long Id { get; set; }
public string Name { get; set; }
}
} | 19.875 | 40 | 0.603774 | [
"MIT"
] | DonCorleone/KinderKultur_Docker | Server/Providers/NewsGroup.cs | 159 | C# |
/*
* Copyright 2004-2010 Apple Computer, Inc., Mozilla Foundation, and Opera
* Software ASA.
*
* You are granted a license to use, reproduce and create derivative works of
* this document.
*/
#pragma warning disable 1591 // Missing XML comment
#pragma warning disable 1570 // XML comment on 'construct' has ba... | 88.292373 | 123 | 0.465602 | [
"MIT"
] | prepare/DomQuery | source/a_mini/HtmlParserSharp2/Core/NamedCharacters.cs | 83,352 | 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... | 29.5625 | 104 | 0.601832 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/EventGrid/V20200101Preview/Inputs/StringNotInAdvancedFilterArgs.cs | 1,419 | C# |
namespace cn.bmob.io
{
/// <summary>
/// 实现该接口的类直接进行赋值
///
/// Visible For API! 暂时仅支持API自带的值类型. 由于泛型T,导致在JSON解析注册时很麻烦,不推荐用户实现值类型!
/// </summary>
public interface IBmobValue<T> : IBmobValue
{
T Get();
}
public interface IBmobValue
{
void Set(object data);
}... | 17 | 74 | 0.566563 | [
"Apache-2.0"
] | bmob/BmobSharp | core/src/io/IBmobValue.cs | 429 | C# |
// Accord Statistics Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © César Souza, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published ... | 31.532609 | 95 | 0.509135 | [
"MIT"
] | mastercs999/fn-trading | src/Accord/Accord.Statistics/Kernels/Laplacian.cs | 8,707 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAModels
{
public abstract class IntelligentModel<T>
{
public T[] Data { get; set; }
public abstract void Run();
public abstract void Initialize();
publ... | 20.714286 | 46 | 0.668966 | [
"MIT"
] | two-legs/DAModels | DAModels/IntelligentModel.cs | 437 | C# |
using System;
namespace TrueCraft.Core.TerrainGen.Biomes
{
public class ShrublandBiome : BiomeProvider
{
public override byte ID
{
get { return (byte)Biome.Shrubland; }
}
public override double Temperature
{
get { return 0.8f; }
}
... | 19.184211 | 49 | 0.452675 | [
"MIT"
] | mrj001/TrueCraft | TrueCraft.Core/TerrainGen/Biomes/ShrublandBiome.cs | 731 | C# |
namespace ODataFilterPropertiesByRole.Areas.HelpPage.ModelDescriptions
{
public class SimpleTypeModelDescription : ModelDescription
{
}
} | 24.833333 | 70 | 0.798658 | [
"MIT"
] | jlkalberer/ODataFilterProperties | ODataFilterPropertiesByRole/Areas/HelpPage/ModelDescriptions/SimpleTypeModelDescription.cs | 149 | C# |
//
// Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of s... | 37.483607 | 171 | 0.632189 | [
"BSD-3-Clause"
] | Fr33dan/NLog | src/NLog/LayoutRenderers/DateTime/ProcessTimeLayoutRenderer.cs | 4,573 | 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("07... | 38.297297 | 84 | 0.745942 | [
"MIT"
] | vasilivanov93/SOFTUNI | C#/01. Programing Basic C#/Project/04. Complex Conditional Statements/07. FruitShop/Properties/AssemblyInfo.cs | 1,420 | 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.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.Extensions.Configuration.FileExtens... | 83.25 | 421 | 0.894895 | [
"MIT"
] | 06needhamt/runtime | src/libraries/Microsoft.Extensions.Configuration.FileExtensions/src/Properties/InternalsVisibleTo.cs | 666 | C# |
using Newtonsoft.Json;
namespace HitBTC.Net.Models.RequestsParameters
{
internal class HitSubscribeCandlesParameters : HitGetSymbolParameters
{
public override HitRequestMethod HitRequestMethod => HitRequestMethod.SubscribeCandles;
[JsonProperty("period")]
public HitPeriod Period { ge... | 27.266667 | 95 | 0.696822 | [
"MIT"
] | masoodafar-web/HitBTC.Net | HitBTC.Net/Models/RequestsParameters/HitSubscribeCandlesParameters.cs | 411 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Dawnfall.Helper
{
public abstract class AMonoSingleton<T> : MonoBehaviour where T : MonoBehaviour
{
private static T m_instance;
public static T Instance
{
get
{
... | 22 | 83 | 0.488395 | [
"MIT"
] | Dawnfall/UnityHelpers | Assets/Helpers/Singletons/AMonoSingleton.cs | 1,036 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using SFA.DAS.Roatp.Domain.Entities;
using SFA.DAS.Roatp.Domain.Interfaces;
namespace SFA.DAS.Roatp.Data.Repositories
{
internal class StandardReadRepository : IStandardReadRepository
{
... | 29.264706 | 72 | 0.636181 | [
"MIT"
] | SkillsFundingAgency/das-roatp-api | src/SFA.DAS.Roatp.Data/Repositories/StandardReadRepository.cs | 997 | C# |
using Orchard.ContentManagement.MetaData;
using Orchard.Core.Contents.Extensions;
using Orchard.Data.Migration;
using Orchard.Environment.Extensions;
using Piedone.Facebook.Suite.Models;
namespace Piedone.Facebook.Suite.Migrations
{
[OrchardFeature("Piedone.Facebook.Suite.LikeBox")]
public class Faceb... | 32.722222 | 91 | 0.546689 | [
"BSD-3-Clause"
] | Lombiq/Dojo-Course-Orchard-demo | src/Orchard.Web/Modules/Piedone.Facebook.Suite/Migrations/FacebookLikeBoxMigrations.cs | 1,767 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 39.916667 | 170 | 0.602296 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-NET-Core | Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Designers/KryptonGroupBoxDesigner.cs | 4,793 | C# |
using Newtonsoft.Json;
namespace BringApi.Net
{
public class BringPickupPoint
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("unitId")]
public string UnitId { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[Js... | 27.858696 | 57 | 0.602419 | [
"MIT"
] | christianz/bringapi-net | BringApi.Net/BringPickupPoint.cs | 2,565 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Performance.SDK.Processing;
namespace Microsoft.Performance.Testing.SDK
{
[ProcessingSource("{0B48CF41-45DB-42C1-8B23-E568EF5F560E}", "Fak... | 33.468354 | 159 | 0.670953 | [
"MIT"
] | DanPear/microsoft-performance-toolkit-sdk | src/Microsoft.Performance.Testing.SDK/FakeProcessingSource.cs | 2,646 | C# |
#pragma warning disable 0649
//------------------------------------------------------------------------------
// <auto-generated>This code was generated by LLBLGen Pro v4.1.</auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Data.Linq;
using Sys... | 36.554545 | 204 | 0.72283 | [
"MIT"
] | FransBouma/RawDataAccessBencher | L2S/DAL/EntityClasses/Location.cs | 8,044 | 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 "li... | 31.701754 | 116 | 0.659103 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/GlobalAccelerator/Generated/Model/DescribeCustomRoutingAcceleratorResponse.cs | 1,807 | C# |
using System;
using System.Linq;
using System.Text;
using EventStore.Core.Data;
using EventStore.Projections.Core.Messages;
using EventStore.Projections.Core.Services.Processing;
using NUnit.Framework;
using ResolvedEvent = EventStore.Projections.Core.Services.Processing.ResolvedEvent;
using EventStore.Projections.Core... | 38.52459 | 123 | 0.641702 | [
"Apache-2.0",
"CC0-1.0"
] | BertschiAG/EventStore | src/EventStore.Projections.Core.Tests/Services/core_projection/when_killing_a_projection_and_an_event_is_received.cs | 2,350 | C# |
using Atelie.Cadastro.Unidades;
using System;
using System.Threading.Tasks;
using System.Transactions;
namespace Atelie.Cadastro.Materiais.Componentes
{
public class ServicoDeCadastroDeComponentes : ICadastroDeComponentes
{
private readonly IUnitOfWork unitOfWork;
private readonly IRepositori... | 27.490566 | 143 | 0.542896 | [
"MIT"
] | mardsystems/atelie | src/Atelie.ApplicationModel/Cadastro/Materiais/Componentes/ServicoDeCadastroDeComponentes.cs | 4,373 | C# |
#region Fireball License
// Copyright (C) 2005 Sebastian Faltoni sebastian{at}dotnetfireball{dot}net
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// versio... | 29.247405 | 113 | 0.68394 | [
"MIT"
] | RivenZoo/FullSource | Jx3Full/Source/Source/Tools/GameDesignerEditor/Controls/luaEditor/fireball_src/Fireball.Docking/Fireball.Docking/Components/MdiClientController.cs | 16,905 | C# |
using Xunit;
using Hiarc.Core.Models.Requests;
using System;
using Hiarc.Core.Models;
using System.Collections.Generic;
using System.Text.Json;
namespace HiarcIntegrationTest.Tests
{
public class UserTests : HiarcTestBase
{
[Fact]
public async void UserCRUD()
{
... | 35.090517 | 112 | 0.499202 | [
"MIT"
] | cburnette/hiarc | HiarcIntegrationTests/Tests/UserTests.cs | 8,141 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode2018.Day15
{
internal class Unit
{
private List<Unit> units;
public char Type { get; set; }
public int X { get; set; }
public int Y { get; set; }
public int Hitpoints { get; set; }
... | 27.086207 | 107 | 0.525143 | [
"MIT"
] | retos/Advent-of-Code | AdventOfCode2018/Day15/Unit.cs | 1,573 | C# |
#region Licenses
/*MIT License
Copyright(c) 2020
Robert Garrison
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,... | 82.01506 | 226 | 0.697198 | [
"MIT"
] | rgarrison12345/ADONetHelper | ADONetHelper.Core/ISqlExecutorSync.cs | 27,231 | C# |
// *** WARNING: this file was generated by pulumigen. ***
// *** 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.Ou... | 28.930233 | 203 | 0.619775 | [
"Apache-2.0"
] | Teshel/pulumi-kubernetes | sdk/dotnet/Core/V1/Outputs/TypedLocalObjectReference.cs | 1,244 | C# |
using Umbraco.Web.Mvc;
namespace UmbracoUrlHandling.RouteHandler
{
/// <summary>
/// BlogPostRepositoryrouteHandler to handle routes to BlogPostRepository
/// </summary>
/// <seealso cref="Umbraco.Web.Mvc.UmbracoVirtualNodeByIdRouteHandler" />
public class BlogRepositoryRouteHandler : UmbracoVirtu... | 34.894737 | 93 | 0.675716 | [
"MIT"
] | Mantus667/UmbracoUrlHandling | src/UmbracoUrlHandling/RouteHandler/BlogRepositoryRouteHandler.cs | 665 | C# |
// <auto-generated>
// ReSharper disable ConvertPropertyToExpressionBody
// ReSharper disable DoNotCallOverridableMethodsInConstructor
// ReSharper disable InconsistentNaming
// ReSharper disable PartialMethodWithSinglePart
// ReSharper disable PartialTypeWithSinglePart
// ReSharper disable RedundantNameQualifier
// Re... | 41.790698 | 111 | 0.702838 | [
"Apache-2.0"
] | Ed-Fi-Exchange-OSS/Credential-Manager | Ed-Fi.Credential.Domain.Ods/AgencySchool.cs | 1,797 | 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: AssemblyTi... | 38.837838 | 85 | 0.725818 | [
"MIT"
] | ASP-MVC/Video-System | YouNoob/YouNoob.Models/Properties/AssemblyInfo.cs | 1,440 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Duality;
using Duality.Drawing;
namespace Soulstone.Duality.Plugins.Cupboard.Resources
{
public class ChineseCheckersBoard : GridBoardDesign
{
public override void RestoreClassic(... | 29.984615 | 63 | 0.418676 | [
"MIT"
] | Seti-0/games-cupboard | GamesCupboard/Source/Code/CorePlugin/Resources/ChineseCheckersBoard.cs | 1,951 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using Sledge.Common;
using Sledge.DataStructures.MapObjects;
using Sledge.Editor.Documents;
namespace Sledge.Editor.Visgroups
{
public partial class VisgroupEditForm : Form
{
private re... | 34.808333 | 148 | 0.531003 | [
"Apache-2.0"
] | tohateam/SledgeEditorRu | Sledge.Editor/Visgroups/VisgroupEditForm.cs | 4,179 | C# |
namespace UniModules.UniCore.Runtime.Math {
using System.Collections.Generic;
using UnityEngine;
public static class ValueComparator {
public static bool Compare<T>(T x, T y,Comparer<T> comparer,
CompareTypes options)
{
if ((options & CompareTypes.Any) > 0)
return true;
var compareResult ... | 21.260504 | 69 | 0.635178 | [
"MIT"
] | UniGameTeam/UniGame.Core | Runtime/Math/ValueComparator.cs | 2,532 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 75.230174 | 483 | 0.6754 | [
"MIT"
] | Agazoth/azure-powershell | src/ResourceMover/generated/cmdlets/InvokeAzResourceMoverInitiateMove_InitiateExpanded.cs | 38,378 | C# |
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.DOM
{
/// <summary>
/// Returns node id at given location.
/// </summary>
[CommandResponse(ProtocolName.DOM.GetNodeForLocation)]
[SupportedBy("Chrome")]
public class GetNo... | 24.05 | 55 | 0.733888 | [
"MIT"
] | vadik007/ChromeDevTools | source/ChromeDevTools/Protocol/Chrome/DOM/GetNodeForLocationCommandResponse.cs | 481 | C# |
using UnityEngine;
public class UIWindowButton : MonoBehaviour
{
public enum Action
{
Show,
Hide,
GoBack,
}
public UIPanel window;
public Action action = Action.Hide;
public bool requiresFullVersion = false;
public bool eraseHistory = false;
void Start ()
{
UIPanel panel = NGUITools.FindInParents<UI... | 13.666667 | 63 | 0.630295 | [
"MIT"
] | djock/air-traffic-control | Assets/Scripts/Utils/UIWindowButton.cs | 779 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Security;
using System.Web.SessionState;
using System.Data.Sql;
using System.Data.SqlClient;
using JSBase.App_Sta... | 40.277778 | 123 | 0.517793 | [
"MIT"
] | vdcan/- | Store/NewJSV3/Global.asax.cs | 7,476 | C# |
using Adnc.Infra.Entities;
using Adnc.Infra.Mongo.Configuration;
using Adnc.Infra.Mongo.Extensions;
using Adnc.Infra.Mongo.Interfaces;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using System.Collections.Concurrent;
namespace Adnc.Infra.Mongo
{
/// <su... | 37.344371 | 139 | 0.588934 | [
"MIT"
] | Jiayg/Adnc | src/ServerApi/Infrastructures/Adnc.Infra.Mongo/MongoContext.cs | 5,641 | C# |
namespace ClueBoardGameBlazor;
public class Bootstrapper : MultiplayerBasicBootstrapper<ClueBoardGameShellViewModel>
{
public Bootstrapper(IStartUp starts, EnumGamePackageMode mode) : base(starts, mode)
{
}
protected override Task ConfigureAsync(IGamePackageRegister register)
{
IBasicDiceGam... | 54.36 | 129 | 0.805004 | [
"MIT"
] | musictopia2/GamingPackXV3 | Blazor/Games/ClueBoardGameBlazor/Bootstrapper.cs | 1,359 | 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 jogo_da_velha
{
public partial class Form1 : Form
{
public Form1... | 31.162621 | 121 | 0.387102 | [
"Apache-2.0"
] | jilsi/AV1 | jogo c#/jogo da velha/jogo da velha/Form1.cs | 12,866 | 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... | 28.717949 | 81 | 0.650893 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Elastic/V20200701/Outputs/MonitoringTagRulesPropertiesResponse.cs | 1,120 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NeuralReplicantBot.PerceptronHandler
{
[RequireComponent(typeof(Brain))]
public class BotHandler : MonoBehaviour
{
public bool isTraining;
protected Brain brain;
virtual protected void Awake ()
{
brain = GetCompo... | 17.086957 | 46 | 0.73028 | [
"MIT"
] | HectorPulido/Imitation-learning-in-unity | NeuralReplicantBots/Assets/NeuralReplicantBots/BotHandler.cs | 395 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Aurora.Framework
{
public interface IGridInfo
{
string GridName { get; }
string GridNick { get; }
string GridLoginURI { get; }
string GridWelcomeURI { get; }
str... | 29.285714 | 46 | 0.60122 | [
"BSD-3-Clause"
] | BillyWarrhol/Aurora-Sim | Aurora/Framework/Services/IGridInfo.cs | 822 | C# |
using System.Data;
public static class NullSafeGetter {
public static T GetValueOrDefault<T> (this IDataRecord row, string fieldName) where T : struct {
int ordinal = row.GetOrdinal (fieldName);
T value = row.GetValueOrDefault<T> (ordinal);
return value;
}
#nullable enable
publ... | 38.26087 | 100 | 0.663636 | [
"MIT"
] | Eibx/Rebronx | server/Helpers/NullSafeGetter.cs | 880 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Xml;
using System.Globalization;
using System.Management.Automation;
using System.Management.Automation.Host;
using System.M... | 41.560641 | 180 | 0.514701 | [
"MIT"
] | Jellyfrog/PowerShell | src/System.Management.Automation/FormatAndOutput/common/DisplayDatabase/typeDataXmlLoader.cs | 90,810 | C# |
#if NETCORE
namespace System.Extensions.RazorCompilation
{
using System.IO;
using System.Diagnostics;
using System.Reflection;
using System.Collections.Generic;
using Microsoft.AspNetCore.Razor.Language;
using Microsoft.AspNetCore.Razor.Language.Extensions;
using Microsoft.CodeAnalysis;
... | 52.197802 | 168 | 0.516421 | [
"MIT"
] | SystemExtensions/System.Extensions | System.Extensions.RazorCompilation/RazorDebugger.cs | 4,752 | 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... | 60.802817 | 189 | 0.785036 | [
"ECL-2.0",
"Apache-2.0"
] | Otanikotani/pulumi-aws | sdk/dotnet/WafV2/Outputs/WebAclRuleStatementAndStatementStatementOrStatementStatementNotStatementStatementSizeConstraintStatementFieldToMatch.cs | 4,317 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Day10
{
public class Solver
{
static List<int> _adapters;
public Solver()
{
GetInputs();
}
public int Solve1()
{
var distribution = new Dictio... | 33.779141 | 186 | 0.532328 | [
"MIT"
] | ncsmikewoods/AdventOfCode2020 | Day10/Solver.cs | 5,508 | C# |
using Limbo.Umbraco.Video.Models.Videos;
using Limbo.Umbraco.YouTube.Options;
using Microsoft.AspNetCore.Html;
using Newtonsoft.Json;
using Skybrud.Essentials.Json.Converters;
namespace Limbo.Umbraco.YouTube.Models.Videos {
/// <summary>
/// Class representing the embed options of the video.
/// </summar... | 26.326531 | 91 | 0.60155 | [
"MIT"
] | limbo-works/Limbo.Umbraco.YouTube | src/Limbo.Umbraco.YouTube/Models/Videos/YouTubeEmbed.cs | 1,292 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// MIT License
// 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
// wit... | 35.730496 | 103 | 0.555578 | [
"MIT"
] | OfficeDev/msteams-sample-line-of-business-apps-csharp | Cross Vertical/CompanyCommunicator/Repository/DBCache.cs | 5,040 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ColorThemeSetter: MonoBehaviour
{
//dynamic component;
//using dynamic in this scrip results in an error in RuntimeBinder
//searching for solution showed that the error is relat... | 31.4 | 100 | 0.526703 | [
"MIT"
] | EliasFIVE/SpaceShooter | Assets/Scripts/UI/ColorThemeSetter.cs | 6,123 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
using Microsoft.TemplateEngine.Abstractions;
using Microsoft.TemplateEngine.Edge;
namespace Microsoft.TemplateSearch.TemplateDiscovery
{
internal static class ... | 36.12766 | 159 | 0.652532 | [
"MIT"
] | AR-May/templating | src/Microsoft.TemplateSearch.TemplateDiscovery/TemplateEngineHostHelper.cs | 1,698 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace backend_asp_dotnet.Models {
[Table("Token", Schema = "NotesUsers")]
public class Token {
[Databas... | 30.296296 | 61 | 0.643032 | [
"CC0-1.0"
] | AlazzR/Notes-Taking_App | backend-asp-dotnet/Models/Token.cs | 820 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V3109</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... | 84 | 1,358 | 0.757228 | [
"MIT"
] | Kusnaditjung/MimDms | src/Mim.V3109/Generated/PORX_MT132004UK06PertinentInformation3TemplateIdExtension.cs | 2,352 | C# |
/*
Project Orleans Cloud Service SDK ver. 1.0
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
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,
inc... | 42.2 | 126 | 0.766983 | [
"MIT"
] | rikace/orleans | Samples/TwitterSentiment/Host/Properties/AssemblyInfo.cs | 2,533 | C# |
using System;
using System.Globalization;
using System.Reflection;
using System.Resources;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace XamarinFormsClase12_01
{
// You exclude the 'Extension' suffix when using in Xaml markup
[ContentProperty ("Text")]
public class TranslateExt : IMarkupExtension
{
r... | 26.34 | 128 | 0.670463 | [
"MIT"
] | starl1n/Xamarin.Forms-Samples-of-Clases | Clase 12/Proyectos/XamarinFormsClase12_01/XamarinFormsClase12_01/Helper/TranslateExtension.cs | 1,319 | C# |
using Newtonsoft.Json;
using System;
using static Sharp_osuApi.Enums;
namespace Sharp_osuApi.Utils
{
public class GameModeConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
{
GameMode gameMode = (GameMode... | 29.676923 | 125 | 0.429756 | [
"MIT"
] | thedarklort/osuApi | Sharp-osuApi/Utils/GameModeConverter.cs | 1,931 | C# |
using BuckarooSdk.Transaction;
namespace BuckarooSdk.Services.Giftcards.VVVGiftcard
{
/// <summary>
/// The Transaction class of payment method type: VVV giftcards.
/// </summary>
public class VVVGiftcardTransaction
{
private ConfiguredTransaction ConfiguredTransaction { get; }
internal VVVGiftcardTransacti... | 36.583333 | 115 | 0.775626 | [
"MIT"
] | buckaroo-it/BuckarooSdk_DotNet | BuckarooSdk/Services/Giftcards/VVVGiftcard/VVVGiftcardTransaction.cs | 1,758 | C# |
using System.Threading;
using System.Threading.Tasks;
using EcommerceDDD.Domain.Customers;
using FluentValidation.Results;
using Microsoft.AspNetCore.Identity;
using EcommerceDDD.Infrastructure.Identity.Services;
using EcommerceDDD.Infrastructure.Identity.Users;
using EcommerceDDD.Application.Core.CQRS.QueryHandling;
... | 36.641791 | 107 | 0.693686 | [
"MIT"
] | CurlyBytes/EcommerceDDD | src/EcommerceDDD.Application/Customers/AuthenticateCustomer/AuthenticateCustomerQueryHandler.cs | 2,457 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Collections.Generic;
namespace ColorSyntax.Common
{
public static class ExtensionMethods
{
public static void SortStable<T>(this IList<T> list,
Comparison<T> comparison)
... | 24.129032 | 67 | 0.431818 | [
"Apache-2.0"
] | UWPCommunity/Quarrel | old/Discord UWP/Markdown/ColorCode/ColorCode.Core/Common/ExtensionMethods.cs | 750 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Runtime.InteropServices;
namespace Microsoft.VisualStudio.LanguageServices.CSharp.... | 37.061224 | 153 | 0.746696 | [
"MIT"
] | 333fred/roslyn | src/VisualStudio/CSharp/Impl/ProjectSystemShim/Interop/ICSInputSet.cs | 1,818 | C# |
using Microsoft.AspNetCore.Mvc;
using RPG.Data.Repository.AuthRepository;
using RPG.Domain.DTO.User;
using RPG.Domain.Entities;
using RPG.Domain.Response;
using System.Threading.Tasks;
namespace RPG.API.Controllers
{
[ApiController]
[Route("[controller]")]
public class AuthControler : ControllerBase
{... | 24.5 | 85 | 0.662585 | [
"MIT"
] | HusseinShukri/DotNET-RPG | RPG/RPG.API/Controllers/.vshistory/AuthController.cs/2021-08-14_11_10_08_658.cs | 737 | C# |
// Copyright (C) 2007 Jesse Jones
//
// 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,
/... | 15.268775 | 73 | 0.675641 | [
"MIT"
] | dbremner/smokey | extras/evildoer/BigNamespace.cs | 3,863 | C# |
//------------------------------------------------------------------------------
// <copyright file="AbsoluteQuery.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------... | 31.087719 | 81 | 0.420993 | [
"Unlicense"
] | bestbat/Windows-Server | com/netfx/src/framework/xml/system/newxml/xpath/absolutequery.cs | 1,772 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class CSMasters : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["UserID"] != null)
{
l... | 33.3 | 114 | 0.482883 | [
"MIT"
] | adithirgis/AssetConnect | CSMasters.aspx.cs | 3,332 | C# |
// Copyright (C) 2003-2010 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
using System;
using System.Collections.Generic;
using Xtensive.Core;
using Xtensive.Collections;
namespace Xtensive.Sql.Model
{
/// <summary>
/// Represents unique table constraint.
/// </sum... | 25.542373 | 123 | 0.644326 | [
"MIT"
] | DataObjects-NET/dataobjects-net | Orm/Xtensive.Orm/Sql/Model/Constraints/UniqueConstraint.cs | 1,507 | C# |
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using Beef.Diagnostics;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Beef.Events.Subscribe
{
/// <summary>
/// Provides the base <see cref="EventData"/... | 48.744966 | 329 | 0.613658 | [
"MIT"
] | edjo23/Beef | src/Beef.Events/Subscribe/EventSubscriberHost.cs | 7,265 | C# |
using Microsoft.EntityFrameworkCore;
using System;
using Xunit;
namespace AsyncInnTests
{
public class UnitTest1
{
}
}
| 12 | 36 | 0.727273 | [
"MIT"
] | joshhaddock88/Async-Inn | AsyncInn/AsyncInnTests/UnitTest1.cs | 132 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
public float moveSpeed;
private float moveVelocity;
public float jumpHeight;
public Transform groundCheck;
public float groundChckRadius;
public LayerMask whatIsGround... | 25.673913 | 117 | 0.596952 | [
"MIT"
] | kmikus/team2-ist440 | Project-CandleLIT/Assets/Junk/PlayerMovement.cs | 2,364 | C# |
using NHapi.Base.Parser;
using NHapi.Base;
using NHapi.Base.Log;
using System;
using System.Collections.Generic;
using NHapi.Model.V281.Segment;
using NHapi.Model.V281.Datatype;
using NHapi.Base.Model;
namespace NHapi.Model.V281.Group
{
///<summary>
///Represents the OPL_O37_PATIENT_PRIOR Group. A Group is an ordered... | 26.547414 | 159 | 0.655464 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | AMCN41R/nHapi | src/NHapi.Model.V281/Group/OPL_O37_PATIENT_PRIOR.cs | 6,159 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlaneMove : MonoBehaviour {
float time;
float movex = 0.05f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
time += Time.deltaTime;
tran... | 9.48 | 40 | 0.580169 | [
"MIT"
] | senshirou/Kusoge2 | Assets/Script/PlaneMove.cs | 476 | C# |
// Copyright (c) Pixel Crushers. All rights reserved.
using UnityEngine;
namespace PixelCrushers.DialogueSystem.Wrappers
{
/// <summary>
/// This wrapper class keeps references intact if you switch between the
/// compiled assembly and source code versions of the original class.
/// </summary>
[... | 29.055556 | 100 | 0.736138 | [
"CC0-1.0"
] | Bomtill/Co-op-Assessment-1 | Assets/Plugins/Pixel Crushers/Dialogue System/Wrappers/UI/Unity UI/Quest/UnityUIQuestLogWindow.cs | 523 | C# |
// ********************************************************************************************************
// Product Name: DotSpatial.Data.dll
// Description: The data access libraries for the DotSpatial project.
// **************************************************************************************************... | 43.056604 | 108 | 0.53681 | [
"MIT"
] | sdrmaps/dotspatial | Source/DotSpatial.Data/HfaExt.cs | 4,564 | C# |
using System;
using System.Drawing;
using System.Windows.Forms;
namespace Treefrog.Windows.Controls.WinEx
{
public class LayerListView : ListView
{
private const int WM_LBUTTONDBLCLK = 0x203;
protected override void WndProc (ref Message m)
{
if (m.Msg >= 0x201 ... | 31.972222 | 94 | 0.524761 | [
"MIT"
] | Jorch72/CS-Treefrog | Treefrog/Windows/Controls/WinEx/LayerListView.cs | 1,153 | C# |
using Hell.Interfaces.Entities;
namespace Hell.Entities.Heroes
{
public class Barbarian : AbstractHero
{
public Barbarian(string name, IInventory inventory) : base(name, inventory)
{
this.Strength = 90;
this.Agility = 25;
this.Intelligence = 10;
... | 23 | 83 | 0.565217 | [
"MIT"
] | BlueDress/School | C# OOP Advanced/Exams/Exam Prep - 16 August 2017/Hell-Skeleton/Hell/Entities/Heroes/Barbarian.cs | 393 | 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("Pr... | 39.567568 | 84 | 0.750683 | [
"MIT"
] | Neio/DSAccessMonitor | Properties/AssemblyInfo.cs | 1,467 | 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... | 39.852174 | 192 | 0.654375 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/IoTEvents/Generated/Model/Internal/MarshallTransformations/UntagResourceResponseUnmarshaller.cs | 4,583 | C# |
// Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.Tests.DynamicQuery.RemoteQueryable
{
using Remote.Linq;
using Remote.Linq.Async;
using Remote.Linq.SimpleQuery;
using Shouldly;
using System.Collections.Generic;
... | 41.989691 | 139 | 0.651608 | [
"MIT"
] | 6bee/Remote.Linq | test/Remote.Linq.Tests/DynamicQuery/RemoteQueryable/When_executing_straight.cs | 4,075 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 39.592593 | 151 | 0.582788 | [
"MIT"
] | Kaos1105/PointCloudViewer-HelixToolkit | Source/Examples/WPF.SharpDX/ExampleBrowser/Properties/Settings.Designer.cs | 1,071 | C# |
using System.Threading.Tasks;
using Abp.Configuration;
using Abp.Zero.Configuration;
using LTMCompanyNameFree.YoyoCmsTemplate.Authorization.Accounts.Dto;
using LTMCompanyNameFree.YoyoCmsTemplate.Authorization.Users;
namespace LTMCompanyNameFree.YoyoCmsTemplate.Authorization.Accounts
{
public class AccountAppServic... | 38.672414 | 174 | 0.654481 | [
"MIT"
] | 52ABP/52ABP.Template | src/aspnet-core/src/LTMCompanyNameFree.YoyoCmsTemplate.Application/Authorization/Accounts/AccountAppService.cs | 2,243 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 69.178571 | 290 | 0.692824 | [
"MIT"
] | AlanFlorance/azure-powershell | src/Functions/generated/api/Models/Api20190801/SitePatchResource.json.cs | 7,637 | C# |
using FluentAssertions;
using FsCheck;
using FsCheck.Xunit;
using NSubstitute;
using System;
using System.Threading.Tasks;
using Toggl.Core.Analytics;
using Toggl.Core.Services;
using Toggl.Core.Tests.Generators;
using Xunit;
namespace Toggl.Core.Tests.Services
{
public sealed class BackgroundServiceTests
{
... | 44.982143 | 141 | 0.639407 | [
"BSD-3-Clause"
] | MULXCODE/mobileapp | Toggl.Core.Tests/Services/BackgroundServiceTests.cs | 7,557 | 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.491228 | 81 | 0.64624 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/Network/V20200401/Outputs/TunnelConnectionHealthResponse.cs | 1,795 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Osmium.WebCore.ViewModels.Manage
{
public class AddPhoneNumberViewModel
{
[Required]
[Phone]
[Display(Name = "Phone number")]
... | 21.647059 | 47 | 0.695652 | [
"MIT"
] | TJOverbay/Osmium | src/Osmium.WebCore/ViewModels/Manage/AddPhoneNumberViewModel.cs | 370 | C# |
// <auto-generated />
namespace Mobet.Infrastructure.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partia... | 26.666667 | 86 | 0.61125 | [
"Apache-2.0"
] | Mobet/mobet | Mobet-Net/Mobet.Infrastructure/Migrations/201603171038031_01.Designer.cs | 800 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using Sidekick.Core;
namespace Sidekick.ContentMigrator
{
public class MchapOrLoggedInAttribute : LoggedInAttribute
{
public override void OnActionExecuting(ActionExecutingCont... | 23.136364 | 103 | 0.787819 | [
"MIT"
] | JeffDarchuk/SitecoreSidekick | ContentMigrator/MchapOrLoggedInAttribute.cs | 511 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.