content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 39.518519 | 151 | 0.582006 | [
"MIT"
] | seanD111/PathFourier | PathMatching/Properties/Settings.Designer.cs | 1,069 | C# |
using System;
using Sitecore.Data;
namespace SitecoreCoffee.Foundation.Infrastructure.Services
{
public class ContextSwitchingService : IContextSwitchingService
{
public bool IsExperienceEditor => Sitecore.Context.PageMode.IsExperienceEditor;
public void SwitchContextItem(Guid id)
{
... | 29.863636 | 103 | 0.671233 | [
"MIT"
] | ReoKzK/SitecoreCoffee | src/Foundation/Infrastructure/code/Services/ContextSwitchingService.cs | 659 | C# |
using InventorySystem.Runtime.Scripts.Core.Models;
using InventorySystem.Samples.Scripts.Models.Interfaces;
using UnityEngine;
namespace InventorySystem.Samples.Scripts.Models
{
public class LegItem : Item, ILegItem
{
public LegItem()
: base(Color.red)
{
}
}
} | 18.6 | 56 | 0.749104 | [
"MIT"
] | artem-karaman/Unity-Inventory-System | Unity-Inventory-System/Assets/InventorySystem/Samples/Samples/Scripts/Models/LegItem.cs | 281 | C# |
using Inw.ArgumentExtraction.DTO;
using Inw.ArgumentExtraction.Extractors;
using Inw.ArgumentExtraction.Finder;
using Inw.ArgumentExtraction.Loader;
using Inw.Logger;
using Microsoft.CodeAnalysis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Inw.ArgumentExt... | 36.142857 | 149 | 0.609414 | [
"MIT"
] | maschmi/Invocation-Argument-Extractor | ArgumenExtractionCli/Program.cs | 2,783 | C# |
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;
namespace zipkin4net.dotnetcore
{
public interface IServerTraceFactory
{
ServerTrace Create(string serviceName, string rpc);
}
}
| 19.384615 | 60 | 0.710317 | [
"Apache-2.0"
] | Artikud/zipkin4net | Src/zipkin4net/Src/IServerTraceFactory.cs | 242 | C# |
using UnityEngine;
using UnityEditor;
using System;
namespace HK.Framework.Editor
{
public abstract class EditorBase : UnityEditor.Editor
{
/// <summary>
/// EditorGUILayoutのHorizontalのラッピング.
/// </summary>
/// <param name='func'>
/// Func.
/// </param>
/// <param name='options'>
/// Options.
/// <... | 24.062857 | 131 | 0.583709 | [
"MIT"
] | hiroki-kitahara/LGW | Assets/HK/Framework/Editor/EditorBase.cs | 4,353 | 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.178571 | 137 | 0.642662 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/DataExchange/Generated/Model/Internal/MarshallTransformations/UpdateAssetRequestMarshaller.cs | 4,388 | C# |
using System;
namespace Unique_PIN_CODES
{
class Program
{
static void Main(string[] args)
{
while (true)
{
int number = int.Parse(Console.ReadLine());
if (number % 2 != 0)
{
Console.WriteLine($"Please ... | 22.24 | 76 | 0.379496 | [
"MIT"
] | PetroslavGochev/CSharpFundamentalModule | 01.Basic Syntax, Conditional Statements and Loops/01.Basic Syntax, Conditional Statements and Loops - Lab/12. Even Number/Program.cs | 558 | 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... | 40.177083 | 1,358 | 0.56849 | [
"MIT"
] | Kusnaditjung/MimDms | src/Mim.V3109/Generated/UKCT_MT120701UK02AgentDeviceSDS.cs | 11,571 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ViewVisualization : MonoBehaviour
{
public GameObject viewCone;
void Start ()
{
viewCone = gameObject;
}
public void Disable()
{
gameObject.SetActive(false);
}
}
| 14.85 | 46 | 0.673401 | [
"MIT"
] | BreakSilence25/OperationSix | Assets/Scripts/AI/ViewVisualization.cs | 299 | 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 UiPath.Web.Client20204
{
using Models;
using System.Threading;
using System.Threading.Tasks;
/// <summa... | 37.777778 | 219 | 0.536029 | [
"MIT"
] | AFWberlin/orchestrator-powershell | UiPath.Web.Client/generated20204/LicensingExtensions.cs | 4,080 | C# |
using System;
using System.Text;
using Dapper.SqlBuilder;
using Dapper.SqlBuilder.Adapter;
using LinQToSqlBuilder.DataAccessLayer.Tests.Entities;
using NUnit.Framework;
namespace LinQToSqlBuilder.DataAccessLayer.Tests
{
public class LinQToSqlUpdateCommandTests
{
[SetUp]
public void Setup()
... | 44.314815 | 223 | 0.547848 | [
"MIT"
] | tofilagman/Dapper.SqlBuilder | LinQToSqlBuilder.DataAccessLayer.Tests/LinQToSqlUpdateCommandTests.cs | 4,788 | C# |
using System.Collections.Generic;
using System.Linq;
namespace RayCarrot.RCP.Metro.Archive;
/// <summary>
/// Extension methods for <see cref="IArchiveDataManager"/>
/// </summary>
public static class ArchiveDataManagerExtensions
{
/// <summary>
/// Combines all provided paths with the separator character us... | 41.896552 | 147 | 0.702058 | [
"MIT"
] | RayCarrot/Rayman-Control-Panel-Metro | src/RayCarrot.RCP.Metro/Archive/Manager/ArchiveDataManagerExtensions.cs | 1,217 | C# |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*------------------------------------------------------------... | 32.903226 | 97 | 0.54902 | [
"MIT"
] | 3quanfeng/azure-powershell | src/MySql/generated/runtime/Nodes/Collections/XImmutableArray.cs | 1,981 | C# |
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Skyra.Database;
namespace Skyra.IntegrationTests.Database
{
public static class Utils
{
private const string DbName = "skyra-dotnet-test";
public static async Task WipeDb()
{
await using var contex... | 29.701754 | 98 | 0.74365 | [
"Apache-2.0"
] | Darqam/skyra | services/Skyra.IntegrationTests/Database/Utils.cs | 1,693 | C# |
using System;
using System.Windows.Forms;
using System.DirectoryServices.AccountManagement;
using System.Drawing;
using System.IO;
using Microsoft.Win32;
using System.Collections.Generic;
using System.Linq;
/*
Author: @bitsadmin
Website: https://github.com/bitsadmin
License: BSD 3-Clause
*/
namespace ... | 35.298077 | 191 | 0.510215 | [
"BSD-3-Clause"
] | Anaswae/fakelogonscreen | Source/Program.cs | 3,673 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.ModelBinding;
using System.Web.Http.OData;
using System.Web.Http.OData.Routing;
... | 25.067485 | 100 | 0.49486 | [
"Apache-2.0"
] | manishramanan15/codechallenge | DB.OAuth.Service/Controllers/CategoriesController.cs | 4,088 | C# |
#pragma checksum "C:\Users\Usuario\source\repos\Walle_WEB\Walle_WEB.Model\_Imports.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8a9804a1188708b018e9b38ddba736987a0bb5d8"
// <auto-generated/>
#pragma warning disable 1591
namespace Walle_WEB.Model
{
#line hidden
using System;
using System.Collections.Gene... | 29.518519 | 173 | 0.731493 | [
"MIT"
] | alvarogarciaeimsa/wally | Walle_WEB.Model/obj/Debug/netstandard2.0/Razor/_Imports.razor.g.cs | 797 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using DNTFrameworkCore.Dependency;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Microsoft.Extensions.DependencyInjection;
namespace DNTFrameworkCore.EFCore.Context.Hooks
{
public interface IHookEngine : IScopedDependency
{
... | 30.591837 | 90 | 0.619746 | [
"Apache-2.0"
] | mojtaba-zolfaghari/AFD | src/DNTFrameworkCore.EFCore/Context/Hooks/HookEngine.cs | 1,499 | C# |
// Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
using System.Diagnostics.Contracts;
namespace NBench.Metrics.Timing
{
/// <summary>
/// <see cref="MetricName"/> used for <s... | 28.56338 | 131 | 0.607002 | [
"Apache-2.0"
] | NicolaAtorino/NBench | src/NBench/Metrics/Timing/TimingMetricName.cs | 2,030 | C# |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayMarketingCashlessvoucherTemplateCreateModel Data Structure.
/// </summary>
[Serializable]
public class AlipayMarketingCashlessvoucherTemplateCreateModel : AopObject
{
/// <summary... | 43.893204 | 588 | 0.609157 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/AlipayMarketingCashlessvoucherTemplateCreateModel.cs | 6,345 | C# |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.10
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.... | 27.796875 | 89 | 0.626194 | [
"MIT"
] | CodingJinxx/gameoff2020 | Gameoff2020/Assets/NoesisGUI/Plugins/API/Proxies/ComboBoxItem.cs | 1,779 | 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/ShObjIdl.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syst... | 34.431373 | 145 | 0.681093 | [
"MIT"
] | reflectronic/terrafx.interop.windows | tests/Interop/Windows/Windows/um/ShObjIdl/ITrayDeskBandTests.cs | 1,758 | C# |
using System.Runtime.InteropServices;
namespace Steamworks
{
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[CallbackIdentity(1307)]
public struct RemoteStorageFileShareResult_t
{
public const int k_iCallback = 1307;
public EResult m_eResult;
public UGCHandle_t m_hFile;
[MarshalAs(UnmanagedType.ByValAr... | 18.935484 | 67 | 0.74276 | [
"MIT"
] | undancer/oni-data | Managed/firstpass/Steamworks/RemoteStorageFileShareResult_t.cs | 587 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class ShaderCamera : MonoBehaviour
{
public float intensity;
public Material material;
// Creates a private material used to the effect
void Awake()
{
// material = new Material(... | 22.205128 | 71 | 0.575058 | [
"MIT"
] | alexwing/ShaderManSelection | Assets/ShaderCamera.cs | 868 | C# |
// Copyright (c) Brian Reichle. 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.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using System.Security;
namespace WAYWF.Agent.Core.CorDe... | 35.230469 | 164 | 0.693092 | [
"Apache-2.0"
] | brian-reichle/WAYWF | src/WAYWF.Agent.Core/Native/CorDebugApi/ICorDebugManagedCallback.cs | 9,019 | C# |
using DiscUtils.Internal;
using Org.BouncyCastle.Bcpg.OpenPgp;
using Packaging.Targets.IO;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
namespace Pa... | 38.459459 | 165 | 0.535518 | [
"CC0-1.0"
] | kemmis/cydia.kemmis.info | src/dotnet-packaging/Packaging.Targets/Rpm/RpmPackageCreator.cs | 34,154 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using Xunit;
namespace WA.Test
{
public class SusieTypesTest
{
[Fact]
public void TestBitMapInfoHeaderSize()
{
Assert.Equal(40, Marshal.SizeOf<Susie.BitMapI... | 22.189189 | 84 | 0.54324 | [
"MIT"
] | longod/WhiteAlbum | WA.Test/SusieTypesTest.cs | 823 | C# |
using ColossalFramework.Globalization;
using ColossalFramework.UI;
using Klyte.Commons.UI.SpriteNames;
using Klyte.Commons.Utils;
using Klyte.TransportLinesManager.Extensions;
using Klyte.TransportLinesManager.Utils;
using Klyte.TransportLinesManager.Xml;
using System.Collections.Generic;
using System.Linq;
using Unity... | 47.814815 | 169 | 0.707204 | [
"MIT"
] | algernon-A/TransportLinesManager | WorldInfoPanel/Components/TLMTicketPriceTimeChart.cs | 3,873 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Orleans.Runtime;
using Vertex.Abs... | 42.284058 | 202 | 0.531876 | [
"MIT"
] | Cloud33/Vertex | src/Vertex.Transaction/Actor/InnerTxActor.cs | 14,590 | C# |
/*
* Created By: Ubaidullah Effendi-Emjedi
* LinkedIn : https://www.linkedin.com/in/ubaidullah-effendi-emjedi-202494183/
*/
using UnityEngine;
namespace CyberJellyFish.Internal
{
public static class ColourUtility
{
#region COLOR UTILITY METHODS
/// <summary>
/// A New Color based ... | 29.22 | 79 | 0.549624 | [
"MIT"
] | Uee-Zutari/cyber-jellyfish-library | Assets/CyberJellyFish/Scripts/Runtime/Internal/Utilities/Colour/ColourUtility.cs | 1,463 | C# |
namespace Org.BouncyCastle.Asn1
{
public class BerSequence
: DerSequence
{
public static new readonly BerSequence Empty = new BerSequence();
public static new BerSequence FromVector(
Asn1EncodableVector v)
{
return v.Count < 1 ? Empty : new BerSequence(v);
}
/**
* create an empty sequence
*... | 16.188406 | 67 | 0.633841 | [
"MIT"
] | cptnalf/b2_autopush | pemlib/asn/bersequence.cs | 1,119 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using o... | 29.155172 | 97 | 0.585452 | [
"MIT"
] | AlFasGD/osu | osu.Game/Screens/Edit/Compose/Components/Timeline/TimelineButton.cs | 1,636 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Course
{
class Program
{
static void Main(string[] args)
{
}
}
}
| 14.3125 | 39 | 0.637555 | [
"MIT"
] | RickSSousa/C-sharp | cap 14 interfaces/Course/Course/Program.cs | 231 | C# |
using System.Threading;
using System.Threading.Tasks;
using Lime.Protocol;
using Lime.Transport.AspNetCore;
using Lime.Transport.AspNetCore.Listeners;
using Microsoft.Extensions.Logging;
namespace Lime.Sample.AspNetCore.Listeners
{
public class NotificationListener : NotificationListenerBase
{
private ... | 31.384615 | 121 | 0.708333 | [
"Apache-2.0"
] | JoaoCMotaJr/lime-csharp | src/Lime.Sample.AspNetCore/Listeners/NotificationListener.cs | 816 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Buffers;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.... | 47.932768 | 247 | 0.556579 | [
"MIT"
] | AfsanehR-zz/corefx | src/Common/src/CoreLib/System/IO/FileStream.Windows.cs | 79,137 | C# |
// <auto-generated />
using System;
using Lab.App.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Lab.App.D... | 35.029536 | 125 | 0.487955 | [
"MIT"
] | edulima2412/mvc-completa | src/Lab.App/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs | 8,302 | 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... | 30.792208 | 111 | 0.644454 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/FinSpaceData/Generated/Model/GetProgrammaticAccessCredentialsResponse.cs | 2,371 | C# |
#pragma checksum "C:\Users\Ahmed-PC\source\repos\postest\postest\Views\Catigories\Delete.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5644b35f4720f7108b2f71f7fae87561005cb303"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(A... | 66.453416 | 299 | 0.736424 | [
"MIT"
] | AhmedShela/ASPtest | postest/postest/obj/Debug/netcoreapp3.1/Razor/Views/Catigories/Delete.cshtml.g.cs | 10,699 | C# |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Serilog.Events;
using Serilog.Sinks.PeriodicBatching;
using System.Threading;
using System.Collections.ObjectMode... | 31.40239 | 130 | 0.534255 | [
"MIT"
] | DotNetRevolution/DotNetRevolution-Framework | src/DotNetRevolution.Logging.Serilog/Sink/DatabaseSink.cs | 7,884 | C# |
using StartupManager.Implementation.Services;
namespace StartupManager.Interfaces
{
internal interface IFileInfoProvider
{
StartupFileInfo GetFileInfo(string path);
}
}
| 19.1 | 49 | 0.753927 | [
"MIT"
] | a-bagrov/StartupManager | StartupManager/Interfaces/IFileInfoProvider.cs | 193 | C# |
using System.Collections.Generic;
using Essensoft.Paylink.Alipay.Response;
namespace Essensoft.Paylink.Alipay.Request
{
/// <summary>
/// alipay.open.iot.device.query
/// </summary>
public class AlipayOpenIotDeviceQueryRequest : IAlipayRequest<AlipayOpenIotDeviceQueryResponse>
{
/// <summa... | 23.384058 | 99 | 0.536102 | [
"MIT"
] | Frunck8206/payment | src/Essensoft.Paylink.Alipay/Request/AlipayOpenIotDeviceQueryRequest.cs | 3,245 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.UI;
using System.Reflection;
using System.Globalization;
using System.Threading;
namespace Kesco.Web.Mvc.SharedViews.Controllers
{
/// <summary>
/// Контроллер, действия которого возвращают ке... | 28.828947 | 114 | 0.722958 | [
"MIT"
] | Kesco-m/Kesco.App.Web.MVC.Persons | Kesco.Web.Mvc.SharedViews/Controllers/ScriptController.cs | 2,698 | C# |
using System;
using System.Collections.Generic;
using WfrpChars.Data.Types;
namespace WfrpChars.Data.Careers
{
class Huffer : CareerBase
{
public Huffer(int level) : base(level) { }
public override string Name => "Huffer";
public override string Path => Level switch
{
... | 48.934783 | 227 | 0.647268 | [
"MIT"
] | sprang0/WfrpChars | Data/Careers/Huffer.cs | 2,253 | C# |
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Newtonsoft.Json;
namespace AutoRest.CSharp.LoadBalanced.Json
{
public class OverridableJsonConverterDecorator : JsonConverterDecorator
{
public OverridableJsonConverterDecorator(Type jsonConverterType) : base(jsonConver... | 36.959184 | 124 | 0.575925 | [
"MIT"
] | agoda-com/autorest | src/generator/AutoRest.CSharp.LoadBalanced.Json/OverridableJsonConverterDecorator.cs | 1,811 | C# |
using System;
using System.Linq;
using System.Management.Automation;
using Cognifide.PowerShell.Core.Extensions;
using Cognifide.PowerShell.Core.Utility;
using Cognifide.PowerShell.Core.Validation;
using Cognifide.PowerShell.Core.VersionDecoupling;
using Sitecore;
using Sitecore.Configuration;
using Sitecore.Data;
usi... | 42.113208 | 232 | 0.537933 | [
"MIT"
] | hetaldave/SCUniversitySession8 | Cognifide.PowerShell/Commandlets/Data/PublishItemCommand.cs | 6,698 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using ContentPatcher.Framework.Conditions;
using ContentPatcher.Framework.ConfigModels;
using ContentPatcher.Framework.Constants;
using ContentPatcher.Framework.Tokens;
using Microsoft.Xna.Framework;
using Pathoschild.Stardew.Common.Utilities;
using Sta... | 47.518027 | 567 | 0.576751 | [
"MIT"
] | TrisBits/StardewMods | ContentPatcher/Framework/Patches/EditMapPatch.cs | 25,042 | C# |
/*
* Payment Gateway API Specification.
*
* The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway.
*
* The version of the OpenAPI document:... | 46.351351 | 615 | 0.586516 | [
"MIT"
] | mrtristan/DotNet | src/Org.OpenAPITools/Model/FraudSettingsResponse.cs | 13,720 | 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... | 41.088889 | 145 | 0.685776 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/um/codecapi/CODECAPI_AVEncAdaptiveModeTests.cs | 1,851 | C# |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | 38.760074 | 204 | 0.529283 | [
"BSD-3-Clause"
] | TomDataworks/opensim | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 83,683 | C# |
// Copyright (c) 2017 Mark A. Olbert some rights reserved
//
// This software is licensed under the terms of the MIT License
// (https://opensource.org/licenses/MIT)
using System;
using System.Windows;
using System.Windows.Media;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Me... | 29.420168 | 103 | 0.561554 | [
"MIT"
] | markolbert/WPFUtilities | J4JUI/MessageButtonViewModel.cs | 3,503 | 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.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.M... | 28.170732 | 136 | 0.770563 | [
"MIT"
] | AlexeiScherbakov/osklib | WpfSample/MainWindow.xaml.cs | 2,310 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace ADLCore.Alert
{
public class ADLUpdates
{
public delegate void SystemUpdate(string text, bool lineBreaks, bool refresh, bool bypassThreadLock);
public delegate void SystemError(Exception ex);
public delegate v... | 32.479167 | 128 | 0.623477 | [
"BSD-3-Clause"
] | vrienstudios/anime-dl | CS/ADLCore/Alert/ADLUpdates.cs | 1,561 | C# |
namespace SharpLab.Runtime.Internal {
public static class InspectionSettings {
public static bool ProfilerActive { get; set; }
public static int CurrentProcessId { get; set; }
public static ulong StackStart { get; set; }
}
}
| 33 | 57 | 0.655303 | [
"BSD-2-Clause"
] | AndrewMD5/SharpLab | source/NetFramework/Runtime/Internal/InspectionSettings.cs | 264 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
namespace Game
{
[AddComponentMenu("GameSettings/UI/Resolution Dropdown")]
public class ResolutionDropdown : MonoBehaviour
{
[SerializeField] private TMP_Dropdown targetElement;
// -------------------------------------... | 25.582418 | 120 | 0.651632 | [
"Unlicense"
] | plyoung/game-settings | Assets/game-settings/Scripts/Common/GameSettings/UI/ResolutionDropdown.cs | 2,330 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ToUpper.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved. Website: http://www.lhotka.net/cslanet
// </copyright>
// <summary>
// The to upper.
// ... | 30.545455 | 120 | 0.551786 | [
"MIT"
] | angtianqiang/csla | Samples/NET/cs/RuleTutorial/TransformationRules/Rules/ToUpper.cs | 1,682 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace EPiServer.Integration.Client.Models.Catalog
{
[Serializable]
public class Node
{
public Node()
{
SeoInformation = new List<SeoInfo>();
Assets = new List<ResourceLink>();
... | 34.72973 | 63 | 0.603891 | [
"Apache-2.0"
] | episerver/ServiceApi-Client | EPiServer.ServiceApi.Client/Models/Catalog/Node.cs | 1,287 | C# |
using BillTracker.Domain.shared;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BillTracker.Domain
{
[Table("Bills")]
public class Bill : Entity<long>
{
[Require... | 22.1 | 69 | 0.611765 | [
"MIT"
] | bamotav/BillTracker | BillTracker.Model/Bill.cs | 1,107 | 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.InteropServices;
using System;
internal class NullableTest
{
private static bool BoxUnbox... | 21.418605 | 89 | 0.611292 | [
"MIT"
] | 06needhamt/runtime | src/coreclr/tests/src/JIT/jit64/valuetypes/nullable/box-unbox/null/box-unbox-null008.cs | 921 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager.Core... | 56.761373 | 238 | 0.630297 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/RestOperations/NamespacesRestOperations.cs | 71,122 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class runningstairs : MonoBehaviour
{
GameObject x;
GameObject y;
// Use this for initialization
void Start()
{
x = GameObject.Find("stairs");
y = GameObject.Find("stairs2");
}
// Updat... | 20.390244 | 55 | 0.577751 | [
"Apache-2.0"
] | mohamedgalalanwer/VR-Mall | final VR Mall V2/Assets/elkordy/scripts/runningstairs.cs | 838 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using CosmosStack.Collections.Internals;
namespace CosmosStack.Collections
{
/// <summary>
/// Dictionary Convertor <br />
/// 字典转换器
/// </summary>
public static clas... | 34.484211 | 169 | 0.562475 | [
"Apache-2.0"
] | cosmos-loops/cosmos-standard | src/CosmosStack.Extensions.Collections/CosmosStack/Collections/DictConv.cs | 9,998 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using System;
namespace Microsoft.AspNetCore.Authorization
{
public class ConfigureAuthorizationOptions : IConfigureOptions<AuthorizationOptions>
{
... | 41.939394 | 221 | 0.710983 | [
"Apache-2.0"
] | EnergeticApps/Energetic.WebApis.Extensions | Security/ConfigureAuthorizationOptions.cs | 1,386 | C# |
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
using System;
using System.Linq;
using System.Reflection;
using Nologo.Domain.Attributes;
namespace Nologo.Infrastructure.Extension
{
public class SwaggerHidePropertyFilter : ISchemaFilter
{
public void Apply(OpenApiSchema schema... | 30 | 154 | 0.619192 | [
"MIT"
] | musa-zulu/Nologo | source/server/Nologo.Infrastucture/Extension/SwaggerHidePropertyFilter.cs | 992 | C# |
using Microsoft.EntityFrameworkCore;
using SearchEnginesApp.Models;
using SearchEnginesApp.Services.Repository;
using SearchEnginesApp.ViewModels;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace SearchEnginesApp.Tests.Services.Repository
{
public class Sea... | 35.196429 | 100 | 0.476408 | [
"MIT"
] | ger-mat/SearchEnginesApp | SearchEnginesApp.Tests/Services/Repository/SearchResultRepositoryTests.cs | 3,944 | C# |
using System;
using System.Drawing;
using Foundation;
using UIKit;
using MarqueeBind;
namespace MarqueeUse
{
public partial class MarqueeUseViewController : UIViewController
{
public MarqueeUseViewController (IntPtr handle) : base (handle)
{
}
public override void DidReceiveMemoryWarning ()
{
// Rele... | 21.693333 | 91 | 0.709281 | [
"Unlicense"
] | sunnypatel1602/MarqueeTextXamarin | MarqueeBind/MarqueeUse/MarqueeUseViewController.cs | 1,629 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 02.05.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... | 32.838509 | 155 | 0.572347 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/LessThan/Complete/NullableDECIMAL_6_1/NullableInt64/TestSet_001__fields__03__NV.cs | 5,289 | C# |
using System;
namespace SDNUOJ.Entity
{
/// <summary>
/// 竞赛题目实体类
/// </summary>
[Serializable]
public class ContestProblemEntity
{
/// <summary>
/// 获取或设置竞赛ID
/// </summary>
public Int32 ContestID { get; set; }
/// <summary>
///... | 20.653846 | 52 | 0.469274 | [
"MIT"
] | eggry/sdnuoj | website/SDNUOJ.Entity/ContestProblemEntity.cs | 599 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace ShoppingSpree.Common
{
public static class CommonValidators
{
private const decimal MoneyMinValue = 0;
public static void ValidateName(string value)
{
if(String.IsNullOrEmpty(value) || String.IsNu... | 25.730769 | 79 | 0.58296 | [
"MIT"
] | tonchevaAleksandra/C-Sharp-OOP | Encapsulation/ShoppingSpree/Common/CommonValidators.cs | 671 | C# |
namespace Bing.Permissions.Identity.JwtBearer
{
/// <summary>
/// Jwt选项配置
/// </summary>
public class JwtOptions
{
/// <summary>
/// 密钥。密钥加密算法:HmacSha256
/// </summary>
public string Secret { get; set; }
/// <summary>
/// 发行方
/// </summary>
... | 22.177778 | 61 | 0.475952 | [
"MIT"
] | Alean-singleDog/Bing.NetCore | src/Bing.Permissions/Identity/JwtBearer/JwtOptions.cs | 1,108 | C# |
using System.Collections.Generic;
using SolastaModApi.Extensions;
namespace SolastaCommunityExpansion.CustomDefinitions
{
public class FeatureDefinitionIgnoreDynamicVisionImpairment : FeatureDefinition
{
public float maxRange;
public List<FeatureDefinition> requiredFeatures = new();
pu... | 33.4 | 93 | 0.700599 | [
"MIT"
] | RedOrcaCode/SolastaCommunityExpansion | SolastaCommunityExpansion/CustomDefinitions/FeatureDefinitionIgnoreDynamicVisionImpairment.cs | 670 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeMaterialColor : MonoBehaviour {
public Material materialToChange;
public string PropertyToChange = "_TintColor";
public Gradient colorGradient;
float colorValue;
public float time;
// U... | 28.942308 | 107 | 0.665781 | [
"MIT"
] | RealityVirtually2019/Demystified | demystified-magicleap/Assets/_Ciera/Scripts/ChangeMaterialColor.cs | 1,507 | 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.Options;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.Navigati... | 33.511628 | 137 | 0.689799 | [
"Apache-2.0"
] | HenrikWM/roslyn | src/Features/Core/Portable/Navigation/DefaultDocumentNavigationService.cs | 1,443 | C# |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace PokeApiNet
{
/// <summary>
/// Languages for translations of API resource information.
/// </summary>
public class Language : NamedApiResource
{
/// <summary>
/// The identifier for this resource.
/// </summ... | 29.529801 | 92 | 0.556627 | [
"MIT"
] | TKramez/PokeApiNet | PokeApiNet/Models/Common.cs | 8,923 | C# |
using StardewModdingAPI;
using StardewModdingAPI.Utilities;
namespace Pathoschild.Stardew.ChestsAnywhere.Framework
{
/// <summary>A set of parsed key bindings.</summary>
internal class ModConfigKeys
{
/*********
** Accessors
*********/
/// <summary>The keys which toggle the ... | 47.575 | 125 | 0.663689 | [
"MIT"
] | BananaFruit1492/StardewMods-1 | ChestsAnywhere/Framework/ModConfigKeys.cs | 1,903 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Markup;
using System.Windows.Data;
namespace WinLibraryTool.Converters
{
public abstract class ConverterMarkupExtension<T> : MarkupExtension, IValueConverter
where T : class, new()
{
private static T m_con... | 25.40625 | 128 | 0.771218 | [
"MIT"
] | peterhorsley/winlibrarytool | WinLibraryTool/Converters/ConverterMarkupExtension.cs | 815 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Net.Security;
using System.Net.Test.Common;
using System.Security.Cryptography.X509Certificates;
using ... | 45.911197 | 184 | 0.616937 | [
"MIT"
] | CoffeeFlux/runtime | src/libraries/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs | 11,891 | C# |
using Xamarin.Forms;
namespace StylishListViewSample.Models
{
public class Fruit
{
private static int _maxId;
public int Id { get; }
public string Name { get; set; }
public Color Color { get; set; }
public Fruit()
{
Id = ++_maxId;
}
}
}
| 17.777778 | 40 | 0.525 | [
"MIT"
] | jc-150272/aaaaaaaaaaaaaaaaaaaaaaatarasii | StylishListViewSample/StylishListViewSample/Models/Fruit.cs | 322 | 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: AssemblyTit... | 38.783784 | 85 | 0.728223 | [
"BSD-3-Clause"
] | DHI/DHI.Mesh | src/DHI.Mesh.DfsUtil/Properties/AssemblyInfo.cs | 1,437 | C# |
// Copyright(c) 2019-2021 John Stevenson-Hoare
//
// 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, mer... | 36.910714 | 106 | 0.604902 | [
"MIT"
] | jrshoare/lcmsNET | src/lcmsNET/GamutBoundaryDescriptor.cs | 6,203 | C# |
using System;
using FlutterSDK;
using FlutterSDK.Widgets.Framework;
using System.Net.Http;
using FlutterBinding.UI;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using SkiaSharp;
using FlutterBinding.Engine.Painting;
using static FlutterSDK.Global;
using FlutterBinding.Mapping;
using Fl... | 38.624113 | 160 | 0.822668 | [
"MIT"
] | JeroMiya/xamarin.flutter | FlutterSDK/src/Rendering/Rotatedbox.cs | 21,784 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
using System.Security;
// 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("Orchard.Widgets")]... | 36.5 | 84 | 0.747336 | [
"BSD-3-Clause"
] | SeyDutch/Gilde | src/Orchard.Web/Modules/Orchard.Widgets/Properties/AssemblyInfo.cs | 1,317 | C# |
using System.Windows.Automation;
using TestStack.White.UIItems.Actions;
namespace TestStack.White.UIItems.PropertyGridItems
{
public class PropertyGridProperty : UIItem
{
private readonly PropertyGridElementFinder gridElementFinder;
protected PropertyGridProperty() {}
public ... | 32.058824 | 192 | 0.613456 | [
"Apache-2.0",
"MIT"
] | technoscavenger/WhiteX | src/TestStack.White/UIItems/PropertyGridItems/PropertyGridProperty.cs | 1,585 | C# |
using System;
using Newtonsoft.Json;
using NUnit.Framework;
namespace HunterPie.Tests.Core.Plugins
{
[TestFixture]
public class JsonConvertIsoDateTests
{
[Test]
public void DateFormatConverter_Read_WithTime()
{
// arrange
var json = @"{
""DateTime"": ""2021-... | 25.728571 | 92 | 0.515269 | [
"MIT"
] | ForksKnivesAndSpoons/HunterPie | HunterPie.Tests/Core/Plugins/JsonConvertIsoDateTests.cs | 1,803 | C# |
using System;
using System.Linq;
using NUnit.Framework;
using Xamarin.UITest;
using Xamarin.UITest.iOS;
namespace BuildTest.Ios.TestRunner
{
[TestFixture]
public class Tests
{
iOSApp app;
[SetUp]
public void BeforeEachTest()
{
// TODO: If the iOS app being tested is included in the solution then open
... | 25.786667 | 138 | 0.66908 | [
"MIT"
] | Bowman74/VSLiveCICDDemoPublic | Code/BuildTest/UnitTest.Runner.iOS/Tests.cs | 1,936 | C# |
using System.Threading.Tasks;
using CraigBot.Core.Models;
using Discord;
namespace CraigBot.Core.Services
{
public interface IBankingService
{
Task<BankAccount> GetAccount(ulong id);
Task<BankAccount> GetOrCreateAccount(IUser user);
Task<BankAccount> CreateAccount(... | 26 | 72 | 0.68315 | [
"MIT"
] | haggardd/craig-bot | src/CraigBot.Core/Services/IBankingService.cs | 548 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... | 30.631579 | 96 | 0.661512 | [
"MIT"
] | georghinkel/ttc2017smartGrids | generator/Schema/IEC61970/Informative/Financial/IGenerationProvider.cs | 2,330 | C# |
// *****************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANT... | 38.76875 | 135 | 0.559729 | [
"Apache-2.0"
] | jdm7dv/Microsoft-Biology-Foundation | archive/Changesets/beta/Tests/MBF.Tests/ClusterTests.cs | 12,408 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using static System.Environment;
using System.Text.RegularExpressions;
using static TsActivexGen.Functions;
using System.Diagnostics;
using JsDoc = System.Collections.Generic.List<System.Collections.Generic.KeyValuePair<string, strin... | 51.80597 | 214 | 0.587655 | [
"MIT"
] | zspitz/ts-activex-gen | common/Classes/TSBuilder.cs | 13,886 | C# |
using System.Collections;
using System.Globalization;
using System.Text.RegularExpressions;
using UnityEngine;
using Ultraleap.TouchFree.ServiceShared;
namespace Ultraleap.TouchFree.ServiceUI
{
public abstract class ConfigUI : ConfigScreen
{
protected override void OnEnable()
{
bas... | 28.632911 | 160 | 0.592396 | [
"Apache-2.0"
] | ultraleap/ScreenControl | TF_Service_and_Tooling_Unity/Assets/TouchFree/ServiceUI/Scripts/Configuration/ConfigUI/ConfigUI.cs | 2,264 | 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.Drawing;
using System.Runtime.InteropServices;
internal static partial clas... | 31.8 | 88 | 0.708176 | [
"MIT"
] | AndreRRR/winforms | src/System.Windows.Forms.Primitives/src/Interop/User32/Interop.GetSysColorBrush.cs | 797 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Tasks.Api.Data;
using Tasks.Api.Entities;
using Tasks.Api.Exceptions;
using Tasks.Api.ViewModels.TaskViewModels;
using Tasks.Api.ViewModels.UserViewModel;
namespace Tasks.Api.Services
{
public class RoomTaskServi... | 39.156028 | 111 | 0.664372 | [
"MIT"
] | Inozpavel/WorkPlanner | Tasks.Api/Services/RoomTaskService.cs | 5,523 | C# |
#nullable disable
using System;
using System.Collections.Generic;
using NHibernate.Extensions;
namespace CoreSharp.NHibernate.DeepClone
{
public interface IDeepCloner
{
IList<T> DeepClone<T>(IEnumerable<T> entities, Func<DeepCloneOptions, DeepCloneOptions> optionsFn = null);
IList<T> DeepClon... | 31.647059 | 114 | 0.734201 | [
"MIT"
] | cime/CoreSharp | CoreSharp.NHibernate/DeepClone/IDeepCloner.cs | 540 | C# |
using ReviewYourFavourites.Data.Models.Enums;
using System;
using System.ComponentModel.DataAnnotations;
namespace ReviewYourFavourites.Web.Models.AccountViewModels
{
public class RegisterViewModel
{
[Required]
[EmailAddress]
[Display(Name = "Email")]
public string Email { get;... | 31.410256 | 125 | 0.626939 | [
"MIT"
] | George221b/ReviewYourFavourites | ReviewYourFavourites.Web/Models/Account/RegisterViewModel.cs | 1,227 | C# |
using System;
namespace DemoStoreClassLibrary
{
public class Cart
{
//cart model
public int Id { get; set; }
public int ProductId { get; set; }
public int Quantity { get; set; }
public DateTime DateOfOrder { get; set; }
}
}
| 19.857143 | 49 | 0.57554 | [
"MIT"
] | engineer-kufre/demo-store | DemoStoreClassLibrary/Cart.cs | 280 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _04._Hit_List
{
public class StartUp
{
public static Dictionary<string, Dictionary<string, string>> people;
public static void Main()
{
int targenInfoIndex = int.Parse(Console.ReadLine());
... | 30.753846 | 123 | 0.538769 | [
"MIT"
] | Shtereva/CSharp-Advanced | Practical Exam Feb 11/04. Hit List/StartUp.cs | 2,001 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebMVC.Models
{
public class IndexViewModel
{
public IEnumerable<TodoViewModel> Todos { get; set; }
public IEnumerable<string> Machines { get; set; }
}
}
| 21.714286 | 62 | 0.671053 | [
"MIT"
] | zdz72113/MicroServices.Examples | Docker.Demo/WebAPI_SQL_Docker_Demo/WebMVC/Models/IndexViewModel.cs | 306 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Bot.Connector.Authentication;
using Microsoft.Extensions.Configuration;
namespace DispatchWeatherBot
{
public class ConfigurationCredentialProvider : SimpleCredentialProvider
{
public Confi... | 29.176471 | 90 | 0.747984 | [
"MIT"
] | Kaiqb/experiment | training/Code/Lab5 Dispatch/ConfigurationCredentialProvider.cs | 498 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
internal static class Bootstrap
{
private static readonly string[] rootDirectories = new string[] { "Root", "Source", "Tools" };
private static string root;
public stat... | 30.753846 | 200 | 0.494747 | [
"MIT"
] | jbatonnet/System | Source/[Tools]/Tools.Common/Bootstrap.cs | 2,001 | C# |
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms.Layout;
us... | 36.341463 | 95 | 0.561074 | [
"MIT"
] | ckalvin-hub/Sheng.Winform.IDE | SourceCode/Source/Controls.Extensions/ToolStrip/CustomLayoutEngine.cs | 1,538 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.