content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System.Collections.Generic;
namespace MOE.Common.Models.Repositories
{
public interface IRoutePhaseDirectionRepository
{
List<RoutePhaseDirection> GetAll();
RoutePhaseDirection GetByID(int routeID);
void DeleteByID(int id);
void Update(RoutePhaseDirection routePhaseDirect... | 30.461538 | 62 | 0.734848 | [
"Apache-2.0"
] | AndreRSanchez/ATSPM | MOE.Common/Models/Repositories/IRoutePhaseDirectionRepository.cs | 398 | C# |
using System.Collections.ObjectModel;
using System.Reflection;
using UnityEngine;
namespace DayNightCycle
{
public class EnvironmentManager : MonoBehaviour
{
/// <summary>
/// How much colder it is at night.
/// </summary>
public float nightTemperatureChangeAmount = 4.0f;
/// <summary>
/// How much more... | 30.327434 | 99 | 0.736796 | [
"MIT"
] | Jay2645/Parkitect-Day-Night-Cycle | EnvironmentManager.cs | 3,429 | C# |
using System;
using CoreGraphics;
using Foundation;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using NGraphics;
using TwinTechs;
using TwinTechs.iOS;
using Size = NGraphics.Size;
[assembly: ExportRenderer (typeof(SvgImage), typeof(SvgImageRenderer))]
namespace TwinTechs.iOS
{
/// <summary>
... | 24.575 | 140 | 0.697864 | [
"Apache-2.0"
] | Emasoft/TwinTechsFormsLib | TwinTechsForms/TwinTechsForms.SvgImage/TwinTechsForms.SvgImage.iOS/SvgImageRenderer.cs | 1,968 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentMigrator.Exceptions;
using FluentMigrator.Model;
using FluentMigrator.Runner.Generators.Base;
namespace FluentMigrator.Runner.Generators.Hana
{
internal class HanaColumn : ColumnBase
{
private const int HanaObjectNameMaxLeng... | 34.987013 | 145 | 0.628062 | [
"Apache-2.0"
] | Alegrowin/fluentmigrator | src/FluentMigrator.Runner.Hana/Generators/Hana/HanaColumn.cs | 2,694 | C# |
using System;
using System.IO;
using Microsoft.AspNetCore.Hosting;
namespace TestTs
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
... | 20.909091 | 64 | 0.521739 | [
"MIT"
] | ConstYavorskiy/HeractJS | src/HeractJS/Program.cs | 462 | C# |
using Discord;
using Discord.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YuGiOh.Bot.Extensions;
using YuGiOh.Bot.Services;
namespace YuGiOh.Bot.Modules
{
public class Wikia : CustomBase
{
public Web Web { get; set... | 33.666667 | 135 | 0.551873 | [
"MIT"
] | MeLikeChoco/YuGiOhBot | YuGiOh.Bot/Modules/Wikia.cs | 2,325 | C# |
using System;
using System.Linq;
using EntitiesBT.Core;
using EntitiesBT.Entities;
using EntitiesBT.Nodes;
using UnityEngine;
namespace EntitiesBT.DebugView
{
[AddComponentMenu("")] // hide from component menu
public class BTDebugWeightRandomSelector : BTDebugView<WeightRandomSelectorNode>
{
public... | 33.210526 | 113 | 0.585843 | [
"MIT"
] | r2d2m/EntitiesBT | Packages/debug.component-viewer/Runtime/BTDebugWeightRandomSelector.cs | 1,893 | C# |
// <auto-generated />
namespace IronJS.Tests.UnitTests.IE9.chapter15._15_4._15_4_4
{
using System;
using NUnit.Framework;
[TestFixture]
public class _15_4_4_15_Tests : IE9TestFixture
{
public _15_4_4_15_Tests() : base(@"chapter15\15.4\15.4.4\15.4.4.15") { }
[Test(Description = "Arr... | 185.063107 | 280 | 0.70687 | [
"Apache-2.0"
] | Varshit07/IronJS | Src/Tests/UnitTests/IE9/chapter15/_15_4/_15_4_4/_15_4_4_15_Tests.cs | 38,123 | C# |
using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour
{
public GameObject floor;
Vector3 offset;
float highest;
// Use this for initialization
void Start()
{
highest = -15.0f;
}
// Update is called once per frame
void Update()
{
... | 22.92 | 100 | 0.499127 | [
"Apache-2.0"
] | RutgersMobileAppClass/Tetwis | Assets/Scripts/CameraController.cs | 1,148 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.EntityFrameworkCore.TestUtilities;
using Xunit;
namespace Microsoft.EntityFrameworkCore.Query
{
public class MappingQ... | 30.82716 | 112 | 0.54185 | [
"Apache-2.0"
] | CharlieRoseMarie/EntityFrameworkCore | test/EFCore.Sqlite.FunctionalTests/Query/MappingQuerySqliteTest.cs | 2,497 | C# |
using System;
using RestSharp;
using Newtonsoft.Json;
namespace Rave.NET.Models.Subscriptions
{
public class ListSubscriptions
{
public ListSubscriptions()
{
}
public string doListSubscriptions(String seckey)
{
var client = new RestClient("https://api.ravepa... | 27.041667 | 114 | 0.613251 | [
"MIT"
] | DaraOladapo/Rave.NET | Rave.NET/Models/Subscriptions/ListSubscriptions.cs | 651 | C# |
using Android.App;
using Android.Content.PM;
using Android.OS;
namespace QRManager.Droid
{
[Activity(Label = "QRManager", Icon = "@drawable/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : global::... | 36.555556 | 186 | 0.691996 | [
"MIT"
] | MohaSalem/QRManager | QRManager/QRManager/QRManager.Android/MainActivity.cs | 989 | C# |
//---------------------------------------------------------------------
// <copyright file="NativeMethods.cs" company="Microsoft Corporation">
// Copyright (c) 1999, Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>
// Part of the Deployment Tools Foundation project.
// </summary>
//---... | 44.761792 | 311 | 0.55593 | [
"MIT"
] | DalavanCloud/oneget | src/Microsoft.PackageManagement.ArchiverProviders/Compression/Cab/NativeMethods.cs | 18,979 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Helpers;
namespace VigenereCipher {
public abstract class BaseVigenere {
public string Encode(string plainText, string keyword) {
// Convert text values to corresponding in... | 45.849057 | 128 | 0.62716 | [
"MIT"
] | qua11q7/Cryptography | Vigenere/BaseVigenere.cs | 2,432 | C# |
namespace Seal
{
partial class ServerManager
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param... | 61.729207 | 167 | 0.67848 | [
"Apache-2.0"
] | Superdrug-innovation/Seal-Report | Projects/SealServerManager/ServerManager.Designer.cs | 31,916 | C# |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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, ... | 37.648649 | 68 | 0.732233 | [
"MIT"
] | 0xced/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/TestObjects/GetOnlyPropertyClass.cs | 1,393 | C# |
// <auto-generated />
using System;
using MusicHub.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace MusicHu... | 35.23639 | 125 | 0.440943 | [
"MIT"
] | dimitarkole/MusicHub | Project/Data/MusicHub.Data/Migrations/20200730210401_AddImageCollIntoSongTable.Designer.cs | 24,597 | C# |
namespace RadSViseFormi
{
partial class FormUnosNovogStudenta
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
///... | 45.953125 | 121 | 0.578601 | [
"MIT"
] | AnteUjcic/RadSViseFormi | RadSViseFormi/RadSViseFormi/FormUnosNovogStudenta.Designer.cs | 8,825 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace CorePixelEngine
{
public class PGEX
{
public static PixelGameEngine pge;
}
}
| 14.666667 | 42 | 0.704545 | [
"BSD-3-Clause"
] | jvandervelden/CorePixelEngine | CorePixelEngine.Core/PGEX.cs | 178 | C# |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Zelig.Runtime
{
using System;
using System.Collections;
using System.Runtime.CompilerServices;
using Microsoft.Llilum.Devices.Spi;
//--//
public class SpiChannelInfoUwp : ISpiChannelInfoUwp
{
... | 28 | 87 | 0.608844 | [
"MIT"
] | NETMF/llilum | Zelig/Zelig/RunTime/Zelig/Kernel/FrameworkOverrides_Windows/Devices/Spi/SpiProviderUwp.cs | 1,766 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace CIMOB_IPS.Views.Application
{
public class IndexModel : PageModel
{
public void OnGet()
{
}
}
} | 19.625 | 42 | 0.710191 | [
"Apache-2.0"
] | TheSevenDev/ESW---Projecto | CIMOB_IPS/Views/Application/New.cshtml.cs | 314 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable] //allows this to show up in the inspector so we can edit it
public class Dialogue
{
public string name; //displays in editor box to input NPC name
[TextArea(3, 10)] //chang... | 45.181818 | 114 | 0.698189 | [
"Unlicense"
] | sag754/UI_Assignment | UI Text Game/Assets/Scripts/Dialgoue.cs | 499 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Runtime.Serialization.Json;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
namespace Kodj.ServiceDiscovery
{
public class ConsulServiceDiscovery : IServiceDiscovery
{
... | 30.979592 | 89 | 0.57444 | [
"MIT"
] | kodj/kodj | src/Kodj.ServiceDiscovery/ConsulServiceDiscovery.cs | 1,518 | C# |
namespace Culinary.Cookware
{
using Culinary.Ingredients;
public class Bowl
{
public void Add(Vegetable vegetable)
{
}
}
}
| 13.75 | 44 | 0.575758 | [
"MIT"
] | Vyara/Telerik-High-Quality-Code-Homeworks | 06. ControlFlowConditionalStatementsLoops/Culinary/Cookware/Bowl.cs | 167 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... | 40.719745 | 155 | 0.522681 | [
"Apache-2.0"
] | Bimble/Lean | Common/Python/PandasData.cs | 12,788 | C# |
using CSUWPAppCommandBindInDT.ViewModel;
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409
namespace CSUWPAppCommandBindInDT
{
/// <summary>
/// An empty page that can be used on its... | 31.02 | 107 | 0.598968 | [
"MIT"
] | Ranin26/msdn-code-gallery-microsoft | OneCodeTeam/How to bind commands to a button in the DataTemplate in UWP apps/[C#]-How to bind commands to a button in the DataTemplate in UWP apps/C#/CSUWPAppCommandBindInDT/MainPage.xaml.cs | 1,553 | C# |
using System;
namespace Cave
{
/// <summary>Gets access to a selected IStopWatch implementation for the current platform.</summary>
public static class StopWatch
{
#region Static
/// <summary>Checks the resolution.</summary>
/// <param name="watch">The IStopWatch to check.</param>
... | 29.875 | 104 | 0.508136 | [
"MIT"
] | CaveSystems/cave-extensions | Cave.Extensions/StopWatch.cs | 2,151 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EventOrganizer.DAL.Models;
using Microsoft.AspNetCore.Mvc;
using EventOrganizer.ViewModels;
using EventOrganizer.BLL.Interfaces;
using Microsoft.AspNetCore.Identity;
// For more information on enabling MVC for empty... | 29.588235 | 112 | 0.710736 | [
"MIT"
] | lnupmi11/EventOrganizer | EventOrganizer/EventOrganizer/Controllers/UserPageController.cs | 1,008 | C# |
using System.Net.Mail;
namespace ConsoleWorkflows.DomainClasses
{
class EmailService
{
public void Send(MailMessage email)
{
}
}
}
| 13.923077 | 43 | 0.569061 | [
"MIT"
] | MortenChristiansen/Overflow.net | examples/DataFlow/DomainClasses/EmailService.cs | 181 | C# |
using System.Linq;
using ConvNetSharp.Volume.GPU.Single;
using ConvNetSharp.Volume.Tests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ConvNetSharp.Volume.GPU.Tests
{
[TestClass]
public class SingleVolumeTests : VolumeTests<float>
{
public SingleVolumeTests()
{
... | 29.809524 | 80 | 0.664537 | [
"MIT"
] | NickStrupat/ConvNetSharp | src/ConvNetSharp.Volume.GPU.Tests/SingleVolumeTests.cs | 628 | C# |
using System;
namespace Zektor.Shared.DataSources {
public enum ConnectionState {
Disconnected = 0,
Connecting = 1,
Connected = 2
}
public interface IConnectable {
ConnectionState State { get; }
event EventHandler Connected;
event EventHandler Connecting;
... | 30.271186 | 98 | 0.597984 | [
"MIT"
] | zzattack/zektor | Zektor.Shared/DataSources/BaseConnectable.cs | 1,788 | C# |
namespace Ayy_Hook
{
partial class Form3
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... | 38.190476 | 138 | 0.544888 | [
"MIT"
] | GermanKingYT/AyyHook-Loader | Ayyhook Loader/Ayy Hook/Form3.Designer.cs | 3,210 | C# |
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Ordering.Application.Features.Orders.Commands.CheckoutOrder;
using Ordering.Application.Features.Orders.Commands.DeleteOrder;
using Ordering.Application.Features.Orders.Commands.UpdateOrder;
using Ordering.Application.Features.Orders... | 35.044776 | 99 | 0.677172 | [
"MIT"
] | rprsatyendra/AspnetMicroservices | src/Services/Ordering/Ordering.API/Controllers/OrderController.cs | 2,350 | C# |
using System;
using UnityEngine;
namespace FPS.ItemSystem
{
[System.Serializable]
public class AmmoNSData : NSData, IUIEditor
{
#region IUIEditor Interface implementation
public override void OnUIEditorGUI(BaseItem item)
{
base.OnUIEditorGUI(item);
}
#... | 20.666667 | 57 | 0.66129 | [
"MIT"
] | JeffDev74/ItemSystem | Assets/JeffDev#ItemSystem/Items/ItemTypes/Ammo/Data/AmmoNSData.cs | 374 | 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;
using System.Linq;
using System.Security;
using System.Threading;
using System.Thr... | 29.35039 | 474 | 0.584136 | [
"MIT"
] | PTKu/roslyn | src/EditorFeatures/CSharpTest/QuickInfo/SemanticQuickInfoSourceTests.cs | 214,524 | 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... | 35.428571 | 175 | 0.746976 | [
"ECL-2.0",
"Apache-2.0"
] | chivandikwa/pulumi-aws | sdk/dotnet/WafV2/Outputs/WebAclRuleStatementManagedRuleGroupStatementScopeDownStatementNotStatementStatementAndStatementStatementByteMatchStatementFieldToMatchSingleHeader.cs | 992 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace InventarioAPI.Entities
{
public class TelefonoCliente
{
public int CodigoTelefono { get; set; }
[Required]
public string Numero { get;... | 24.736842 | 47 | 0.665957 | [
"Apache-2.0"
] | johnsvill/almacen-api | Entities/TelefonoCliente.cs | 472 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SumReversedNumbers
{
class Program
{
static void Main(string[] args)
{
List<long> nums = Console.ReadLine().Trim().Split(' ').Select(long.Parse).ToList();
... | 24.25641 | 95 | 0.438689 | [
"MIT"
] | StefanLB/Programming-Fundamentals---September-2017 | 15. Lists - Exercises/SumReversedNumbers/Program.cs | 948 | C# |
using UnityEngine;
using System.Collections;
namespace EA4S {
public class PlayerProfileCleaner : MonoBehaviour {
public void ResetAllPlayerProfiles() {
AppManager.I.PlayerProfileManager.DeleteAllProfiles();
AppManager.I.PlayerProfileManager = new PlayerProfileManager();
... | 40.826087 | 177 | 0.733759 | [
"BSD-2-Clause"
] | Megapop/Norad-Eduapp4syria | Antura/EA4S_Antura_U3D/Assets/_app/_scripts/Player/PlayerProfileCleaner.cs | 941 | C# |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Client")]
[assembly: AssemblyDescription("... | 37.25 | 84 | 0.741984 | [
"MIT"
] | StanislavKhalash/cakery | Source/Client/Properties/AssemblyInfo.cs | 1,344 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using GadzhiCommon.Extensions.Collection;
using GadzhiCommon.Extensions.Functional;
using GadzhiCommon.Infrastructure.Implementations.Converters.Errors;
using GadzhiCommon.Infrastructure.Implementations.Logger;
using GadzhiCommon.Infrastructure.Interfa... | 35.647727 | 111 | 0.639146 | [
"MIT"
] | rubilnik4/GadzhiResurrected | GadzhiConvertingLibrary/Infrastructure/Implementations/MessagingService.cs | 3,366 | C# |
using System;
namespace Rtp.Protocol
{
public readonly struct RtpBuilderStep
{
private const int CurrentVersion = 2;
private const int MinLength = 12;
private const int IdentifierLength = 4;
private readonly RtpBuilderState state;
private RtpBuilderStep(RtpBuilderStat... | 32.356688 | 128 | 0.594882 | [
"MIT"
] | gendalf90/Datagrammer.Rtp | Datagrammer.Rtp/Datagrammer.Rtp/Protocol/RtpBuilderStep.cs | 10,162 | 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... | 34.553846 | 165 | 0.60463 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20160901/Inputs/RouteArgs.cs | 2,246 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Glass.Mapper.Pipelines.ObjectConstruction;
namespace Glass.Mapper.Sc.Pipelines.ObjectConstruction
{
public class SitecoreItemTask : AbstractObjectConstructionTask
{
public SitecoreItemTask()
{
... | 28.925926 | 128 | 0.654289 | [
"Apache-2.0"
] | RvanDalen/Glass.Mapper | Source/Glass.Mapper.Sc/Pipelines/ObjectConstruction/SitecoreItemTask.cs | 783 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Utilities;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.UI
{
/// <summary>
/// Class that initializes the appearance of the feat... | 41.128205 | 159 | 0.688903 | [
"MIT"
] | HyperLethalVector/ProjectEsky-UnityIntegration | Assets/MRTK/SDK/Features/UX/Scripts/Utilities/FeaturesPanelVisuals.cs | 1,606 | 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, this li... | 33.913669 | 148 | 0.622401 | [
"BSD-2-Clause"
] | robertbreker/xenadmin | XenAdmin/Commands/TrimSRCommand.cs | 4,716 | 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>
//---------------------------------... | 37.095618 | 100 | 0.540812 | [
"Apache-2.0",
"BSD-3-Clause"
] | nguyenppt/1pubcreditnew | DesktopModules/TrainingCoreBanking/BankProject/OpenCorpCustomer.ascx.designer.cs | 18,624 | C# |
using AspNetCoreAuthMultiLang.Data;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.Options;
using System.Globalization;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddRazorPages(... | 31.923077 | 131 | 0.772048 | [
"MIT"
] | iso8859/AspNetCoreAuthMultiLang | Program.cs | 2,077 | C# |
#pragma checksum "C:\Users\firatalcin\Documents\GitHub\CSharp-Camp\FullStackDotNetCore-Lessons\Directory\Directory.UI\Views\Shared\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d6a5625cc8fb4476f348b0fe9041c550465d8bf9"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCor... | 46.722222 | 229 | 0.729885 | [
"MIT"
] | firatalcin/CSharp-.NetCore-Works | FullStackDotNetCore-Lessons/Directory/Directory.UI/obj/Debug/net5.0/Razor/Views/Shared/Error.cshtml.g.cs | 5,046 | C# |
// Copyright (c) 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 34.241935 | 80 | 0.647197 | [
"ECL-2.0",
"Apache-2.0"
] | AdrianaDJ/dotnet-docs-samples | appengine/flexible/AntiForgery/Program.cs | 2,125 | C# |
using System;
using System.Security.Cryptography;
namespace Barista.Api
{
public class ApiKeyGenerator : IApiKeyGenerator
{
private readonly RandomNumberGenerator _rng = RandomNumberGenerator.Create();
public const int KeySizeInBytes = 128;
public string Generate()
{
... | 25.368421 | 85 | 0.651452 | [
"MIT"
] | nesfit/Coffee | Barista.Api/ApiKeyGenerator.cs | 484 | C# |
using Regression;
using Regression.Implicit.Constructors;
using System;
#if UNITY_V4
using Microsoft.Practices.Unity;
#else
using Unity;
#endif
namespace Injection.Required.Constructors
{
public class Inherited_Import<TDependency> : BaselineTestType<TDependency>
{
[InjectionConstructor] public Inheri... | 29.31746 | 104 | 0.70222 | [
"Apache-2.0"
] | unitycontainer/container-regression-tests | Container/Patterns/Injection/Data/Constructors/Required.cs | 1,849 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Protocols.TestSuites.ActiveDirectory.Nrpc
{
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflecti... | 76.674627 | 527 | 0.699759 | [
"MIT"
] | 0neb1n/WindowsProtocolTestSuites | TestSuites/ADFamily/src/TestSuite/MS-NRPC/BVT_Test_LocateDc_DsrAddressToSiteNamesW.cs | 25,686 | C# |
namespace DapperCodeGenerator.Core.Providers.Oracle
{
internal class OracleColumn
{
public string ColumnName { get; set; }
public string DataType { get; set; }
public string DataLength { get; set; }
public string Nullable { get; set; }
}
}
| 25.909091 | 52 | 0.631579 | [
"MIT"
] | cjwang/DapperCodeGenerator | DapperCodeGenerator.Core/Providers/Oracle/OracleColumn.cs | 287 | 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.
#if FEATURE_REGISTRY
using Microsoft.Win32;
#endif
using System.Collections.Generic;
using System.IO;
using System.S... | 36.354167 | 154 | 0.558453 | [
"MIT"
] | ERROR-FAILS-NewData-News/corefx | src/System.Diagnostics.Process/src/System/Diagnostics/ProcessStartInfo.Windows.cs | 3,490 | C# |
using System;
using CoreGraphics;
using UIKit;
namespace AiForms.Effects.iOS
{
[Foundation.Preserve(AllMembers = true)]
internal class NoCaretField : UITextField
{
public NoCaretField() : base(new CGRect())
{
}
public override CGRect GetCaretRectForPosition(UITextPosition ... | 18.666667 | 79 | 0.619898 | [
"MIT"
] | Fluck000/AiForms.Effects | AiForms.Effects.iOS/NoCaretField.cs | 394 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FytSoa.Common;
using FytSoa.Core.Model.Cms;
using FytSoa.Extensions;
using FytSoa.Service.DtoModel;
using FytSoa.Service.Interfaces;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Mi... | 30.470588 | 121 | 0.576737 | [
"MIT"
] | neostfox/FytSoaCms | FytSoa.Api/Controllers/Cms/MessageController.cs | 2,086 | C# |
using System;
using System.Linq;
using System.Xml.Linq;
namespace RCNet.Neural.Network.SM.Preprocessing.Reservoir.SynapseNS
{
/// <summary>
/// Synapse's plasticity configuration (input spiking to hidden analog neuron)
/// </summary>
[Serializable]
public class PlasticityATInputSettings : RCNetBas... | 34.596026 | 122 | 0.562979 | [
"MIT"
] | thild/NET | RCNet/Neural/Network/SM/Preprocessing/Reservoir/Synapse/PlasticityATInputSettings.cs | 5,226 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using Test.Cryptography;
using Xunit;
namespace System.Security.Cryptography.DeriveBytesTests
{
[Sk... | 37.667758 | 157 | 0.566804 | [
"MIT"
] | Temppus/runtime | src/libraries/System.Security.Cryptography.Algorithms/tests/Rfc2898Tests.cs | 23,015 | C# |
using System.CodeDom.Compiler;
using System;
using System.Runtime.Serialization;
namespace SolidRpc.Test.Vitec.Types.ForeignPropertyInfo.Estate {
/// <summary>
///
/// </summary>
[GeneratedCode("OpenApiCodeGeneratorV2","1.0.0.0")]
public class Exterior {
/// <summary>
/// Pool
... | 30.716981 | 80 | 0.566953 | [
"MIT"
] | aarrgard/solidrpc | SolidRpc.Test.Vitec/Types/ForeignPropertyInfo/Estate/Exterior.cs | 1,628 | C# |
using Laconic.CodeGeneration;
using Xunit;
namespace Laconic.CodeGeneration.Tests
{
// ReSharper disable UnusedType.Global
// ReSharper disable UnusedMember.Global
[Records]
public interface TestRecords
{
record User(string firstName, string lastName);
record TaggedUser(User user, p... | 29.626506 | 91 | 0.514843 | [
"MIT"
] | shirshov/laconic | codegen/test/RecordTests.cs | 2,459 | C# |
namespace SagaImpl.Common.ModelDtos
{
public class OrderItemDto
{
public int ItemId { get; set; }
public int NumberOf { get; set; }
}
} | 18.333333 | 41 | 0.6 | [
"MIT"
] | IvanJevtic9/SagaPatternImpl | src/SagaImpl.Common/ModelDtos/OrderItemDto.cs | 167 | C# |
/**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
*/
namespace Evernote.EDAM.Type
{
public enum BusinessUserRole
{
ADMIN = 1,
NORMAL = 2,
}
}
| 14 | 67 | 0.647619 | [
"MIT"
] | DamianMehers/EnUWPAuthDemo | EvernoteUniveralWindowsAuthenticationDemo/EDAM/Type/BusinessUserRole.cs | 210 | C# |
namespace Xilium.CefGlue
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Xilium.CefGlue.Interop;
/// <summary>
/// Class used to represent drag data. The methods of this class may be called
/// on any thread.
/... | 31.644444 | 116 | 0.526184 | [
"MIT",
"BSD-3-Clause"
] | mattkol/Chromely | src/Chromely/CefGlue/Classes.Proxies/CefDragData.cs | 9,970 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using Xunit;
namespace System.Linq.Expressions.Tests
{
[ActiveIssue("https://github.com/... | 43.708469 | 202 | 0.597012 | [
"MIT"
] | Alex-ABPerson/runtime | src/libraries/System.Linq.Expressions/tests/Member/MemberAccessTests.cs | 26,837 | C# |
using Nfantom.JsonRpc.Client;
using Nfantom.RPC.Eth.DTOs;
using Nfantom.RPC.Eth.Transactions;
using System.Threading.Tasks;
using Nfantom.Opera;
using Nfantom.Opera.MessageEncodingServices;
namespace Nfantom.Opera.QueryHandlers
{
public abstract class QueryHandlerBase<TFunctionMessage>
where TFunctionMess... | 38.230769 | 200 | 0.693159 | [
"MIT"
] | PeaStew/Nfantom | Nfantom.Geth/QueryHandlers/QueryHandlerBase.cs | 1,990 | C# |
using NetDevPack.Messaging;
namespace SimpleLibrary.Domain.Events;
public class BookRegisteredEvent : Event
{
public BookRegisteredEvent(Guid id, string title, DateTime publishedDate, string isbn, int edition)
{
Id = id;
Title = title;
PublishedDate = publishedDate;
ISBN = isb... | 24.48 | 103 | 0.648693 | [
"MIT"
] | leosousa/simple-library-api | SimpleLibrary.Domain/Events/BookRegisteredEvent .cs | 614 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//using CollectionMigrator.Model;
using logger = CosmosCloneCommon.Utility.CloneLogger;
namespace CloneConsoleRun.Sample
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using S... | 38.489796 | 164 | 0.627253 | [
"MIT"
] | Azure-Samples/CosmicClone | CosmosClone/CloneConsoleRun/Sample/SampleDBCreator.cs | 3,774 | C# |
using EasyCharacterMovement;
using System.Collections;
using UnityEngine;
namespace EasyCharacterMovement.CharacterMovementWalkthrough.Teleporting
{
public class Player : MonoBehaviour
{
#region EDITOR EXPOSED FIELDS
[Tooltip("Change in rotation per second (Deg / s).")]
public float r... | 27.219388 | 116 | 0.555483 | [
"Apache-2.0"
] | ryan-muller/LightSouls | Assets/ImportedAssets/Easy Character Movement 2/Character Movement/Walkthrough/13.- Teleporting/Scripts/Player.cs | 10,674 | C# |
namespace Apprentice.GUI {
partial class StringInputForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... | 43.831169 | 160 | 0.589926 | [
"MIT"
] | SirVeggie/WinDocker | GUI/Forms/StringInputForm.Designer.cs | 3,377 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using LotterySln.IDAL;
using DBUtility;
namespace LotterySln.DAL.MsSqlProvider
{
public class LotteryItem : ILotteryItem
{
/// <summary>
/// 添加数据到数据库
///... | 44.734177 | 217 | 0.540252 | [
"MIT"
] | qq283335746/51QiWang | src/TygaSoft/DAL.MsSqlProvider/LotteryItem.cs | 14,470 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 39.159091 | 91 | 0.761463 | [
"Apache-2.0"
] | bbs168/aliyun-openapi-net-sdk | aliyun-net-sdk-ccc/CCC/Transform/V20170705/CreateFaultResponseUnmarshaller.cs | 1,723 | C# |
#region Using
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using Emotion.Common;
using Emotion.Common.Threading;
using Emotion.Graphics.Data;
using OpenGL;
#endregion
namespace Emotion.Graphics.Objects
{
public abstract class VertexArrayObject : IDisposable
... | 36.066667 | 176 | 0.579398 | [
"MIT"
] | simo-andreev/Emotion | Emotion/Graphics/Objects/VertexArrayObject.cs | 5,953 | C# |
using System;
using System.Collections;
namespace AStar
{
/// <summary>
/// AdjacencyList maintains a list of neighbors for a particular <see cref="Node"/>. It is derived from CollectionBase
/// and provides a strongly-typed collection of <see cref="EdgeToNeighbor"/> instances.
/// </summary>
public class Adjace... | 28.967742 | 120 | 0.685969 | [
"MIT"
] | leniel/AStar | AStar/AdjacencyList.cs | 898 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Engine;
using Engine.Platform;
using Engine.Editing;
using OgrePlugin;
namespace Medical
{
class Tracer : Behavior
{
[Editable]
private String sceneNodeName;
[Editable]
... | 25.613636 | 88 | 0.570541 | [
"MIT"
] | AnomalousMedical/Medical | Simulation/Animation/Tracer.cs | 1,129 | 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>
//--... | 37.531532 | 151 | 0.56193 | [
"MIT"
] | nurradityam/ProjectPeladen | ProjectPeladen/Properties/Settings.Designer.cs | 4,168 | C# |
using Rollvolet.CRM.APIContracts.JsonApi;
namespace Rollvolet.CRM.APIContracts.DTO.WorkingHours
{
public class WorkingHourDto : Resource<WorkingHourAttributesDto, WorkingHourRelationshipsDto>
{
}
} | 26.25 | 97 | 0.8 | [
"MIT"
] | rollvolet/crm-ap | src/Rollvolet.CRM.APIContracts/DTO/WorkingHours/WorkingHourDto.cs | 210 | C# |
using Chapter7.Interface;
using Chapter7.Model;
using System.Collections.ObjectModel;
using System.Windows.Input;
using System;
using System.Net.Http;
using Chapter7.Contracts;
using System.Linq;
using System.Threading.Tasks;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Collections.Generi... | 32.223464 | 161 | 0.568828 | [
"MIT"
] | PacktPublishing/Learning-Azure-Cognitive-Services | Learning Azure Cognitive Services/Chapter7/ViewModel/MainViewModel.cs | 5,770 | C# |
using UnityEngine;
using System.Collections;
using System.Linq;
using System.Collections.Generic;
namespace RelationsInspector
{
internal enum TreeRootLocation { Top, Left, Bottom, Right };
public class TreeLayoutAlgorithm<T, P> where T : class
{
Graph<T, P> graph;
Dictionary<T, float> treeWidth; // width of t... | 31.739837 | 118 | 0.6875 | [
"MIT"
] | seldomU/relationsinspector | RIDLLProject/Layout/TreeLayoutAlgorithm.cs | 3,904 | C# |
/*******************************************************
*
* 作者:吴中坡
* 创建日期:20161214
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 吴中坡 20161214 09:21
*
*******************************************************/
using System.Collections.Generic;
using System.Linq;
using Rafy.Domain;
... | 33.575758 | 123 | 0.538357 | [
"MIT"
] | zgynhqf/trunk | Rafy/Plugins/Other/Rafy.RBAC V2/Rafy.RBAC.RoleManagement/Controllers/RoleController.cs | 2,444 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
usin... | 50.902655 | 321 | 0.637923 | [
"MIT"
] | LeiWang3/azure-sdk-for-net | sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/GremlinGraphCollection.cs | 17,256 | C# |
using System;
using System.Configuration;
using System.Data.SqlClient;
using Sitecore.Weareyou.Feature.FormsExtension.Processing.Actions;
namespace Sitecore.Weareyou.Feature.FormsExtension.Activities
{
public interface IDataManagementService
{
void DeleteFormEntries(Guid contactId);
}
public ... | 45.961538 | 153 | 0.67113 | [
"Unlicense"
] | robhabraken/data-privacy | Habitat demo/src/Feature/FormsExtension/code/Activities/DataManagementService.cs | 2,392 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 21.551724 | 45 | 0.7104 | [
"Apache-2.0"
] | EdwinCloud101/ScrollToBottomThenNext | ScrollToBottomThenNext/App/MainWindow.xaml.cs | 627 | C# |
using LunchBag.Common.EventMessages;
using LunchBag.Common.Managers;
using MassTransit;
using MassTransit.Logging;
using Microsoft.AspNetCore.SignalR;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using RestSharp;
using System;
using System.Collections.Generic;
using Sy... | 34.170732 | 119 | 0.72591 | [
"MIT"
] | BlueMetal/HashTagLunchBag | MicroServices/LunchBag.WebPortal.BusService/Consumers/NoteCreatedConsumer.cs | 1,403 | 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... | 47.564516 | 178 | 0.682604 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/CognitoIdentityProvider/Generated/Model/InvalidPasswordException.cs | 5,898 | 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... | 57.438506 | 272 | 0.667815 | [
"Apache-2.0"
] | KenHundley/aws-sdk-net | sdk/src/Services/RDS/Generated/_bcl45/AmazonRDSClient.cs | 721,083 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Jaxis_Break_It.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
publ... | 16.666667 | 44 | 0.61 | [
"MIT"
] | adunndevster/Jaxis-Break-It | src/Jaxis-Break-It/Controllers/HomeController.cs | 402 | C# |
using GrocerySupplyManagementApp.DTOs;
using GrocerySupplyManagementApp.Entities;
using GrocerySupplyManagementApp.Repositories.Interfaces;
using GrocerySupplyManagementApp.Services.Interfaces;
using GrocerySupplyManagementApp.ViewModels;
using System.Collections.Generic;
namespace GrocerySupplyManagementApp.Services... | 39.32 | 130 | 0.743133 | [
"MIT"
] | amanandhar/SamyuktaManabSoftwares | SamyuktaManabSoftwares/GrocerySupplyManagementApp/Services/IncomeExpenseService.cs | 3,934 | C# |
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using stellar_dotnet_sdk.responses;
using stellar_dotnet_sdk.responses.page;
namespace stellar_dotnet_sdk_test.responses
{
[TestClass]
public class AccountPageDeserializerTest
{
[TestMethod]
... | 44.904762 | 113 | 0.672853 | [
"Apache-2.0"
] | henryhwang/dotnet-stellar-sdk | stellar-dotnet-sdk-test/responses/AccountPageDeserializerTest.cs | 1,888 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Flurl.Http;
using Flurl;
using eRestoran.Model;
using System.Windows.Forms;
using eRestoran.Model.Requests;
namespace eRestoran.WinUI
{
public class APIService
{
public static stri... | 34.633929 | 125 | 0.566125 | [
"MIT"
] | azra-imamovic/RS2-eRestoran | eRestoran/eRestoran.WinUI/APIService.cs | 3,883 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using BuildXL.Utilities;
using System;
using System.Diagnostics.ContractsLight;
using System.Runtime.InteropServices;
namespace BuildXL.Native.Streams
{
... | 37.845912 | 152 | 0.570004 | [
"MIT"
] | MatisseHack/BuildXL | Public/Src/Utilities/Native/Streams/FileBuffer.cs | 12,035 | C# |
using System.Linq;
using Equinox.Domain.Interfaces;
using Equinox.Domain.Models;
using Equinox.Infra.Data.Context;
namespace Equinox.Infra.Data.Repository
{
public class CustomerRepository : Repository<Customer>, ICustomerRepository
{
public CustomerRepository(EquinoxContext context)
:bas... | 22.818182 | 80 | 0.643426 | [
"MIT"
] | GuilhermeEsteves/EquinoxProject | src/Equinox.Infra.Data/Repository/CustomerRepository.cs | 504 | C# |
namespace Nacos.V2.Config.Impl
{
using Microsoft.Extensions.Logging;
using Nacos.V2.Common;
using Nacos.V2.Config.Abst;
using Nacos.V2.Config.FilterImpl;
using Nacos.V2.Config.Utils;
using Nacos.V2.Utils;
using System;
using System.Collections.Concurrent;
using System.Collections.Ge... | 37.598765 | 134 | 0.61714 | [
"Apache-2.0"
] | pengweiqhca/nacos-sdk-csharp | src/Nacos/V2/Config/Impl/ClientWorker.cs | 6,093 | C# |
using System;
namespace FluentValidation.Extensions.Br.Test
{
public class TestExtensionsValidator : InlineValidator<Person>
{
public TestExtensionsValidator()
{ }
public TestExtensionsValidator(params Action<TestExtensionsValidator>[] actionList)
{
foreach (var ac... | 23.6875 | 91 | 0.670185 | [
"MIT"
] | jcalijurio/FluentValidation.Extensions.Br | test/FluentValidation.Extensions.Br.Test/TestExtensionsValidator.cs | 381 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WorkingWithData.Models
{
public class Tag
{
public Tag()
{
this.Tweets = new HashSet<Tweet>();
}
public int Id { get; set; }
public string Text { get; set; }
... | 18.47619 | 62 | 0.585052 | [
"MIT"
] | Ico093/TelerikAcademy | MVC/Homework/04.WorkingWithData/WorkingWithData/WorkingWithData/Models/Tag.cs | 390 | C# |
using System;
using BattleAxe;
/// <summary>
/// Based on select * from bxl.Logs
/// </summary>
namespace bxl.Model {
public class Log : IBattleAxe {
public object this[string property] {
get {
switch (property) {
case "LogId": return LogId;
... | 45.466667 | 167 | 0.520039 | [
"MIT"
] | DNCarroll/bxl | bxl/Model/Log.cs | 2,048 | C# |
// Copyright (c) Autofac Project. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Globalization;
namespace Autofac.Core.Registration;
/// <summary>
/// A service was requested that cannot be provided by the container. To avoid this except... | 38.4 | 122 | 0.714699 | [
"MIT"
] | rcdailey/Autofac | src/Autofac/Core/Registration/ComponentNotRegisteredException.cs | 1,730 | C# |
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace NikolayTrofimovDZ3
{
public class UILesson3 : MonoBehaviour
{
public Button LogInButton;
public TextMeshProUGUI TextLabel;
public Toggle SuccessTogle;
public Button PhotonDisconnectButton;
}
} | 20.133333 | 45 | 0.711921 | [
"MIT"
] | Nick2712/gb0122 | Assets/Scripts/Lesson3/UILesson3.cs | 302 | C# |
//
// Copyright © Microsoft Corporation, 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THIS CODE IS PROVIDED ... | 30.944 | 84 | 0.604188 | [
"Apache-2.0"
] | CerebralMischief/azure-sdk-for-net | src/KeyVault/KeyVault.Tests/WebKeySerializationTest.cs | 3,871 | C# |
using BEPUphysics;
using BEPUphysics.Character;
using BEPUutilities;
using FixMath.NET;
using Microsoft.Xna.Framework.Input;
namespace BEPUphysicsDemos.AlternateMovement
{
/// <summary>
/// Handles input and movement of a character in the game.
/// Acts as a simple 'front end' for the bookkeeping... | 37.82 | 179 | 0.564428 | [
"MIT"
] | RossNordby/bepuphysics1int | BEPUphysicsDemos/Alternate Movement/SphereCharacterControllerInput.cs | 5,673 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.