content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
namespace PartyReservationFilterModule
{
class Program
{
static void Main(string[] args)
{
List<string> invites = Console.ReadLine()
.Split(" ", StringSplitOptions.RemoveEmptyEntries)
... | 30.380952 | 91 | 0.400209 | [
"MIT"
] | Siafarikas/SoftUni | Advanced/FunctionalProgramming2/PartyReservationFilterModule/Program.cs | 1,916 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Ruzzie.Common.Numerics.Statistics;
namespace Ruzzie.Common.UnitTests
{
public static class RandomnessTester
{
public static RandomnessTestResult TestInt(Random simpleRandom, int maxValue = int.MaxValue, int numberOfSam... | 33.095238 | 172 | 0.56444 | [
"MIT"
] | Ruzzie/Ruzzie.Common | src/Ruzzie.Common/Ruzzie.Common.UnitTests/RandomnessTester.cs | 4,867 | C# |
using UnityEngine;
using System.Collections;
public class FpsDisplay : MonoBehaviour
{
float deltaTime = 0.0f;
SimpleValueDisplayer.ValueHook fpsHook;
SimpleValueDisplayer.ValueHook msPerFrameHook;
void Start()
{
fpsHook = SimpleValueDisplayer.Instance.RegisterValue();
msPerFrameHook = ... | 28.066667 | 65 | 0.657957 | [
"MIT"
] | martin-favre/Dorfaclysm3D | Assets/Scripts/FpsDisplay.cs | 844 | C# |
namespace ClearHl7.Codes.V230
{
/// <summary>
/// HL7 Version 2 Table 0008 - Acknowledgment Code.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0008</remarks>
public enum CodeAcknowledgmentCode
{
/// <summary>
/// AA - Original mode: Application Accept - Enhanced mode:... | 34.275 | 103 | 0.633115 | [
"MIT"
] | kamlesh-microsoft/clear-hl7-net | src/ClearHl7.Codes/V230/CodeAcknowledgmentCode.cs | 1,373 | C# |
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Mi... | 46.841463 | 174 | 0.5824 | [
"MIT"
] | flcdrg/Statiq.Framework | src/core/Statiq.Core/Modules/Extensibility/StartProcess.cs | 19,207 | C# |
using UnityEngine;
using System.Collections;
using System;
namespace UnityAtts
{
/// <summary>
/// Constrains an int field to a minimum value.
/// </summary>
public class MinAttribute : IntConstraintAttribute
{
public int MinValue { get; set; }
public MinAttribute(int min)
... | 19.64 | 54 | 0.580448 | [
"MIT"
] | konikun/unityatts | UnityAtts/Assets/UnityAtts/Scripts/MinAttribute.cs | 493 | C# |
namespace Example.Shared
{
public static class SharedGlobals
{
#if BLAZOR_SERVERSIDE
public static readonly bool IsBlazorServerSide = true;
public const string BlazorHostingMode = "SERVER-SIDE";
#else
public static readonly bool IsBlazorServerSide = false;
public const string Bla... | 29.769231 | 63 | 0.718346 | [
"MIT"
] | ebekker/conjure-mvp | src/Example.Shared/SharedGlobals.cs | 387 | C# |
namespace PersonalFinance.Authorization.Accounts.Dto
{
public class IsTenantAvailableOutput
{
public TenantAvailabilityState State { get; set; }
public int? TenantId { get; set; }
public IsTenantAvailableOutput()
{
}
public IsTenantAvailableOutput(TenantAvailab... | 22.4 | 91 | 0.607143 | [
"MIT"
] | Jfontenla/PersonalFinance | aspnet-core/src/PersonalFinance.Application/Authorization/Accounts/Dto/IsTenantAvailableOutput.cs | 448 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ThriftS.Client.Pool
{
/// <summary>
/// Class ConnectionPoolManager.
/// </summary>
internal static class ConnectionPoolManager
{
/// <summary>
/// The pools
/// </summary>
... | 29.477273 | 146 | 0.542791 | [
"Apache-2.0"
] | ZeemanHuang/ThriftS | thrifts-dotnet/ThriftS.Client/Pool/ConnectionPoolManager.cs | 1,299 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerCameraInitialPosition : MonoBehaviour {
public GameObject anchorTo;
private float xOffset = 0;
private float yOffset = 0;
private float zOffset = 0;
private Vector3 scale = new Vector3(1f, 1f, 1f);
... | 24.793103 | 65 | 0.684284 | [
"Unlicense"
] | KristopherMoore/Midnight-The-Final-Sun | Assets/Scripts/Camera System/PlayerCameraInitialPosition.cs | 721 | C# |
using System;
using System.Collections.Generic;
using Orchard.ContentManagement;
namespace Orchard.Tags.Models {
public class TagsPart : ContentPart<TagsPartRecord> {
public IEnumerable<string> CurrentTags {
get { return ParseTags(Retrieve<string>("CurrentTags")); }
set { Store("Cur... | 33.8125 | 92 | 0.641405 | [
"BSD-3-Clause"
] | 1996dylanriley/Orchard | src/Orchard.Web/Modules/Orchard.Tags/Models/TagsPart.cs | 541 | C# |
using System;
namespace Trrntzip
{
[Flags]
public enum TrrntZipStatus
{
Unknown = 0,
ValidTrrntzip = 1,
CorruptZip = 2,
NotTrrntzipped = 4,
BadDirectorySeparator = 8,
Unsorted = 16,
ExtraDirectoryEnteries = 32,
RepeatFilesFound ... | 19.647059 | 37 | 0.535928 | [
"MIT"
] | eingrossfilou/RVWorld | Trrntzip/TrrntZipStatus.cs | 336 | C# |
using System.ComponentModel.DataAnnotations;
namespace DETOWN.Infra.CrossCutting.Identity.Models.AccountViewModels
{
public class LoginWith2faViewModel
{
[Required]
[StringLength(7, ErrorMessage = "The {0} must be at least {2} and at max {1} characters long.", MinimumLength = 6)]
[DataT... | 31.157895 | 123 | 0.657095 | [
"MIT"
] | paulogabrielfs/DETOWN-API | src/DETOWN.Infra.CrossCutting.Identity/Models/AccountViewModels/LoginWith2faViewModel.cs | 592 | C# |
using System;
using System.Collections.Generic;
using PlayMyLanguage.Processors.Support;
namespace PlayMyLanguage.Translation.Support
{
public interface ITextTranslator
{
/// <summary>
/// Reports when the translation status has changed.
/// </summary>
event EventHandler<Status... | 36.73913 | 123 | 0.653254 | [
"MIT"
] | tasadar2/PlayMyLanguage | PlayMyLanguage/Translation/Support/ITextTranslator.cs | 847 | C# |
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;
namespace Catalog.API.Entites
{
public class Product
{
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
public string Name { get; set; }
public string Category { get; set; }
public s... | 25.947368 | 47 | 0.62069 | [
"MIT"
] | santoshnarayanan/ASPNETMicroservices | src/Services/Catalog/Catalog.API/Entites/Product.cs | 495 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Sound.cs" company="Hämmer Electronics">
// Copyright (c) All rights reserved.
// </copyright>
// <summary>
// This class contains the sound attributes of the <see cref="Messag... | 35.740741 | 120 | 0.436269 | [
"MIT"
] | SeppPenner/SensorsPayloadDecoder | src/SensorsPayloadDecoder.Elsys.ErsEye/Sound.cs | 968 | C# |
using System;
namespace ExamKing.WebApp.Student
{
/// <summary>
/// 考试成绩输出
/// </summary>
public class StuscoreOutput
{
/// <summary>
/// ID
/// </summary>
public uint Id { get; set; }
/// <summary>
/// 学生ID
/// </summary>
public int S... | 22.2 | 54 | 0.423423 | [
"MIT"
] | pig0224/ExamKing | ExamKing.WebApp.Student/Dtos/Output/StuscoreOutput.cs | 932 | 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,
//... | 44.771084 | 185 | 0.70479 | [
"MIT"
] | borewik/SteamBot | lib/JSON Library/Newtonsoft.Json/JsonWriterException.cs | 3,716 | C# |
// <auto-generated>
// This file was generated by a tool; you should avoid making direct changes.
// Consider using 'partial classes' to extend these types
// Input: reader_base.proto
// </auto-generated>
#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RC... | 37.135135 | 108 | 0.708879 | [
"MIT"
] | wxinix/TensorFlow-Island | Src/OpGenerator/ProtoGenFiles/r2.4.1/reader_base.cs | 1,374 | 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("Sem... | 37.621622 | 84 | 0.746408 | [
"Apache-2.0"
] | mecvillarina/Semaphore-Client | Semaphore.UI/Properties/AssemblyInfo.cs | 1,395 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Xunit.Abstractions;
namespace Xunit.Sdk
{
/// <summary>
/// Reflection-based implementation of <see cref="IReflectionTypeInfo"/>.
/// </summary>
public class ReflectionTypeInfo : LongLivedMarshalByRefObje... | 28.891667 | 149 | 0.547159 | [
"Apache-2.0"
] | remcomulder/xunit | src/xunit.execution/Sdk/Reflection/ReflectionTypeInfo.cs | 3,469 | C# |
/*******************************************************************************
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License... | 45.191964 | 280 | 0.615331 | [
"Apache-2.0"
] | QPC-database/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/Shield/Basic/Grant-SHLDDRTLogBucketAssociation-Cmdlet.cs | 10,123 | C# |
using System;
using System.Text;
using NpuRozklad.Core.Entities;
namespace NpuRozklad.Telegram.Helpers
{
internal static class TimetableFacultyGroupViewMenuCallbackDataSerializer
{
internal static string ToCallbackData(bool isNextWeek, DayOfWeek dayOfWeek, Group facultyGroup)
{
var ... | 35.217391 | 113 | 0.692593 | [
"MIT"
] | matryosha/Npu-Rozklad-App | Src/NpuRozklad.Telegram/Helpers/CallbackDataSerializers.cs | 810 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Input;
using System;
/// <summary>
/// Interface defining a mouse input device manager.
/// </summary>
public interfac... | 36.571429 | 127 | 0.693359 | [
"MIT"
] | Danny041291/Create-Your-First-HoloLens-Application-Using-Mixed-Reality-Toolkit | Assets/MixedRealityToolkit/Interfaces/InputSystem/IMixedRealityMouseDeviceManager.cs | 1,026 | C# |
using Xunit;
using System.Collections.Generic;
using System;
using System.Data;
using System.Data.SqlClient;
namespace HairSalon
{
[Collection("HairSalonTests")]
public class ClientTest : IDisposable
{
public ClientTest()
{
DBConfiguration.ConnectionString = "Data Source=(localdb)\\mssqllocaldb;Ini... | 25.966667 | 137 | 0.63543 | [
"MIT"
] | aglines-epicodus/csharp-week3-project | Tests/ClientTest.cs | 2,337 | C# |
namespace CoreHook.BinaryInjection.Loader
{
public class HostArguments : IHostArguments
{
public bool Verbose { get; set; }
public string PayloadFileName { get; set; }
public string CoreRootPath { get; set; }
}
} | 25 | 51 | 0.648 | [
"MIT"
] | abc-wizard/CoreHook | src/CoreHook.BinaryInjection/Loader/HostArguments.cs | 252 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.TestFramework;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Azure.AI.TextAnalytics.Samples
{
[LiveOnly]
public ... | 44.896552 | 256 | 0.570405 | [
"MIT"
] | LTA-Thinking/azure-sdk-for-net | sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchAsync.cs | 3,908 | C# |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
using ... | 33.033654 | 110 | 0.579246 | [
"BSD-3-Clause"
] | doupihule/gameDemo | Assets/XLua/Gen/SpinePathAttachmentWrap.cs | 6,873 | C# |
using System;
namespace ExampleProject
{
public class DBTables
{
internal static readonly String USERS = "users";
internal static readonly String COUNT_USERS = "users_count";
internal static readonly String USERS_MATERIALIZED_VIEW = "users_mv";
}
}
| 21.214286 | 77 | 0.673401 | [
"MIT"
] | EntritGroup/db.cassandra.csharp.query-builder | samples/ExampleProject/DBTables.cs | 299 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
namespace SotmWorkshop.Moonwolf
{
public class ForcedChangeCardController : MoonwolfCardController
{
public ForcedChangeCar... | 39.071429 | 176 | 0.645338 | [
"MIT"
] | MSpekkio/SotmWorkshop | Moonwolf/Controllers/Cards/ForcedChangeCardController.cs | 1,641 | C# |
using FluentAssertions;
using Xunit;
using Vaquinha.Domain;
using Vaquinha.Domain.Entities;
using System.Linq;
using Vaquinha.Tests.Common.Fixtures;
namespace Vaquinha.Unit.Tests.DomainTests
{
[Collection(nameof(PessoaFixtureCollection))]
public class DomainNotificationServiceTests: IClassFixture<Pe... | 44.338028 | 139 | 0.679161 | [
"MIT"
] | dayvidsonveiga/crowdfunding-dotnet-dio | tests/Vaquinha.Unit.Tests/DomainTests/DomainNotificationServiceTests.cs | 3,163 | C# |
using Microsoft.VisualBasic.Devices;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
namespace InstallC4
{
class Program
{
... | 40.255952 | 178 | 0.526246 | [
"MIT"
] | TeddyTelanoff/C4-lang | C4/src/InstallC4/InstallC4/Program.cs | 6,765 | C# |
using System.Threading.Tasks;
using IdentityServer4.Models;
using IdentityServer4.Validation;
namespace Host.Extensions
{
public class NoSubjectExtensionGrantValidator : IExtensionGrantValidator
{
public Task ValidateAsync(ExtensionGrantValidationContext context)
{
var credential =... | 27.677419 | 121 | 0.600233 | [
"Apache-2.0"
] | DotNetUz/IdentityServer4.Nhibernate | src/Host/Extensions/NoSubjectExtensionGrantValidator.cs | 860 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
namespace LinqToDB.Linq.Builder
{
using Extensions;
using LinqToDB.Expressions;
using LinqToDB.Mapping;
... | 26.650614 | 160 | 0.570988 | [
"MIT"
] | AndreyAndryushinPSB/linq2db | Source/LinqToDB/Linq/Builder/ExpressionTestGenerator.cs | 27,167 | C# |
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 Yang Chen (cy2000@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at
htt... | 31.971014 | 96 | 0.69583 | [
"Apache-2.0"
] | etechi/ServiceFramework | Projects/Server/Sys/SF.Sys.Events/EventServiceWithScope.cs | 2,208 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.AspNetCore.Http;
using NSubstitute;
namespace Microsoft.Identity.Web.Test.Common.Mocks
{
public static class MockHttpContextAccessor
{
public static IHttpContextAccessor CreateMockHttpConte... | 35.652174 | 109 | 0.720732 | [
"MIT"
] | AzureAD/microsoft-identity-web | tests/Microsoft.Identity.Web.Test.Common/Mocks/MockHttpContextAccessor.cs | 822 | 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>
//--... | 38.114695 | 152 | 0.569024 | [
"MIT"
] | instantsc/SimpleDnsCrypt | SimpleDnsCrypt/Properties/Settings.Designer.cs | 10,636 | 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>
//--------------------------------------------... | 32.178082 | 104 | 0.515964 | [
"MIT"
] | Drizin/Harbin | src/AdventureWorks.Core.Domain/Entities/CountryRegion.generated.cs | 2,351 | C# |
using System.ComponentModel;
namespace OfxNet
{
public enum OfxAccountType
{
NotSet,
[Description("Checking")]
CHECKING,
[Description("Savings")]
SAVINGS,
[Description("Money Market")]
MONEYMRKT,
[Description("Line of credit")]
CREDITLIN... | 18.571429 | 47 | 0.561538 | [
"MIT"
] | AArnott/BankingTools | OfxNet/Models/OfxAccountType.cs | 392 | C# |
namespace WhazzupInTryavna.Data.Migrations
{
using System;
using Microsoft.EntityFrameworkCore.Migrations;
public partial class CreateActivitiesModels : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... | 45.251309 | 108 | 0.495661 | [
"MIT"
] | YavorTsanev/WhazzupInTryavna | Data/WhazzupInTryavna.Data/Migrations/20210701162328_CreateActivitiesModels.cs | 8,645 | C# |
//
// Copyright (C) DataStax Inc.
//
// 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 ap... | 40.171315 | 130 | 0.60597 | [
"Apache-2.0"
] | cdwiegand/csharp-driver | src/Cassandra/Connections/Control/TopologyRefresher.cs | 10,085 | C# |
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.UnionPay.Response
{
public class UnionPayForm_6_4_RefundResponse : UnionPayResponse
{
/// <summary>
/// 二维码数据
/// </summary>
[JsonProperty("qrCode")]
public string QrCode { get; set; }
/// <summary>
... | 23.857143 | 67 | 0.474651 | [
"MIT"
] | cenbiq/Payment | src/Essensoft.AspNetCore.Payment.UnionPay/Response/UnionPayForm_6_4_RefundResponse.cs | 2,683 | 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.296296 | 149 | 0.618669 | [
"MIT"
] | tldrlol/DK.Wallhaven | DK.Wallhaven.App/Properties/Settings.Designer.cs | 1,009 | C# |
namespace XmlTools.Tests.CodeGenerator.FileTests
{
public class GAEB_XML_EnumElementCasing : CodeGeneratorTestsBase
{
public GAEB_XML_EnumElementCasing(): base(ParserTestFile.GAEB_XML_3_1_Schema,
SchemaCorrectorTestFile.GAEB_XML_EnumElementCasing,
SchemaCorrectorTestFile.GAEB_XML... | 40 | 85 | 0.775 | [
"MIT"
] | GeorgDangl/XmlTools | test/XmlTools.Tests/CodeGenerator/FileTests/GAEB_XML_EnumElementCasing.cs | 360 | C# |
using EvolveDb.Connection;
using EvolveDb.Dialect;
using EvolveDb.Dialect.PostgreSQL;
using EvolveDb.Tests.Infrastructure;
using Xunit;
namespace EvolveDb.Tests.Integration.PostgregSql
{
[Collection("PostgreSql collection")]
public class DialectTest
{
private readonly PostgreSqlFixture _dbContaine... | 32.266667 | 92 | 0.616219 | [
"MIT"
] | JayDZimmerman/Evolve | test/Evolve.Tests/Integration/PostgreSQL/DialectTest.cs | 1,938 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using OurUmbraco.Community.GitHub;
using Umbraco.Web.WebApi;
namespace OurUmbraco.Our.Api
{
public class GitHubController : UmbracoAuthorizedApiController
{
[System.Web.Http.HttpGet]
public List<LabelReport> GetLabelR... | 38.326531 | 136 | 0.525559 | [
"MIT"
] | AaronSadlerUK/OurUmbraco | OurUmbraco/Our/Api/GitHubController.cs | 3,758 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using TMPro;
using Sirenix.OdinInspector;
namespace Town
{
public class SkillSlot : MonoBehaviour, IPointerClickHandler
{
public int slotNum;
[TabGroup("Ref", "Ne... | 29.08 | 92 | 0.541609 | [
"MIT"
] | GDtiger/TheDark | Assets/Scripts/UI/Town/SkillSlot.cs | 2,908 | 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;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Micro... | 42.992647 | 123 | 0.604241 | [
"MIT"
] | 06needhamt/roslyn | src/Features/Core/Portable/AddImport/References/SymbolReference.cs | 5,849 | 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/shellapi.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Windows... | 37.96875 | 145 | 0.767078 | [
"MIT"
] | reflectronic/terrafx.interop.windows | sources/Interop/Windows/Windows/um/shellapi/SHGFI.cs | 2,432 | C# |
// Copyright 2009-2015 Josh Close and Contributors
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// http://csvhelper.co... | 34.84556 | 163 | 0.666371 | [
"MIT"
] | anonymousthing/govhack2016 | api/BrisbaneLocateAPI/BikeRacks/packages/CsvHelper.2.16.0.0/src/CsvHelper/Configuration/CsvClassMap.cs | 9,027 | C# |
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Microsoft.Bot.Connector;
using Newtonsoft.Json;
namespace TranslatorBot
{
[BotAuthentication]
public class MessagesController : ApiController
... | 37.857143 | 135 | 0.585283 | [
"MIT"
] | jepickett/BotFrameworkSample | Translator/Controllers/MessagesController.cs | 2,652 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DocumentFormat.OpenXml.Framework;
using System;
using System.Collections.Generic;
namespace DocumentFormat.OpenXml.Packaging
{
/// <summary>
/// Defines... | 39.876147 | 136 | 0.635569 | [
"MIT"
] | 06needhamt/Open-XML-SDK | src/DocumentFormat.OpenXml/GeneratedCode/Packaging/DocumentSettingsPart.g.cs | 8,695 | C# |
/*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | 29.807692 | 105 | 0.694839 | [
"Apache-2.0"
] | abisteknoloji/dotnet-cas-client | DotNetCasClient/Validation/Schema/XmlDsig/CanonicalizationMethodType.cs | 1,552 | C# |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace SpartanX.MobileApp.ViewModels
{
public class ProizvodiViewModel : BaseViewModel
{
public ProizvodiViewModel(... | 33.25 | 159 | 0.538346 | [
"MIT"
] | 6en6ar/SpartanX_RS2_Seminarski | SpartanX/SpartanX.MobileApp/SpartanX.MobileApp/ViewModels/ProizvodiViewModel.cs | 2,662 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConsoleLoggingColors.cs" company="Bosbec AB">
// Copyright © Bosbec AB 2014
// </copyright>
// <summary>
// Defines the ConsoleLoggingColors type.
// </summary>
// -----------... | 32.94 | 120 | 0.501518 | [
"MIT"
] | bosbec/servicehost | src/ServiceHost/Logging/Console/ConsoleLoggingColors.cs | 1,650 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependenc... | 31.102041 | 143 | 0.662073 | [
"MIT"
] | yshin1209/peridymeAPI | Startup.cs | 1,526 | C# |
using System;
using System.Linq;
using System.Text;
using O10.Core.Architecture;
using O10.Core.Cryptography;
using O10.Core.ExtensionMethods;
using O10.Core.Identity;
using O10.Core.Logging;
using O10.Crypto.ConfidentialAssets;
using O10.Crypto.Exceptions;
using O10.Crypto.Models;
using O10.Crypto.Properties;
namesp... | 40.105556 | 229 | 0.623078 | [
"Apache-2.0"
] | muaddibco/O10city | Common/Crypto/O10.Crypto/Services/StealthSigningService.cs | 7,221 | C# |
using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using Common.Interfaces;
namespace Common.Cryptography
{
public static class Authenticator
{
/// <summary>
/// Login password
/// </summary>
public static string Password { get; private set;... | 35.105 | 101 | 0.508617 | [
"MIT"
] | Ghaster/AIO-Sandbox | Common/Cryptography/Authenticator.cs | 7,023 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... | 48.291045 | 208 | 0.643641 | [
"MIT"
] | stankovski/azure-sdk-tools | src/ServiceManagement/Compute/Commands.ServiceManagement/Extensions/RDP/SetAzureServiceRemoteDesktopExtension.cs | 6,340 | 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.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... | 69.558333 | 502 | 0.711593 | [
"MIT"
] | KurnakovMaksim/azure-sdk-for-net | sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlUserDefinedFunctionCollection.cs | 25,041 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace RawData
{
public class Car
{
public string Model { get; set; }
public Engine Engine { get; set; }
public Cargo Cargo { get; set; }
public Tire[] Tires { get; set; }
public Car(string model, Eng... | 21.625 | 74 | 0.547206 | [
"MIT"
] | Siafarikas/SoftUni | Advanced/DefiningClasses2/RawData/Car.cs | 521 | C# |
//
//
// THIS FILE HAS BEEN GENERATED. DO NOT MODIFY.
//
using System;
using System.Collections.Generic;
using byps;
namespace byps.test.api.remote
{
public sealed class BRequest_RemoteArrayTypes1dim_getShort : BMethodRequest, BSerializable
{
#region Execute
public override int getRemoteId() { return 1... | 25.829268 | 159 | 0.74221 | [
"MIT"
] | markusessigde/byps | csharp/bypstest-ser/src-ser/byps/test/api/remote/BRequest_RemoteArrayTypes1dim_getShort.cs | 1,061 | 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/winhttp.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using Syste... | 39.657143 | 145 | 0.73415 | [
"MIT"
] | IngmarBitter/terrafx.interop.windows | tests/Interop/Windows/Windows/um/winhttp/WINHTTP_CONNECTION_INFO32Tests.Manual.cs | 1,390 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#region Using directives
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Management.Automation;
using System.Threading;
#endregion
namespace Microsoft.Management.Infrastructure.CimCmdlets
{
... | 33.600671 | 116 | 0.527764 | [
"MIT"
] | 10088/PowerShell | src/Microsoft.Management.Infrastructure.CimCmdlets/CimAsyncOperation.cs | 20,026 | C# |
namespace FastWfcDemoApp.Model
{
/// <summary>
/// Logging.
/// </summary>
public interface ILogger
{
/// <summary>
/// Logs a neutral message.
/// </summary>
/// <param name="msg">The message to log.</param>
void LogNeutral(string msg);
/// <summary... | 24.481481 | 57 | 0.506808 | [
"MIT"
] | ShyRed/fastwfcnet | FastWfcDemoApp/Model/ILogger.cs | 663 | 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 ... | 16.663717 | 63 | 0.615507 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-ccc/CCC/Model/V20170705/CreateUserResponse.cs | 1,883 | C# |
using System;
using System.Collections.Generic;
namespace _12.MasterNumbersLast
{
public class Master
{
public static void Main()
{
int n = int.Parse(Console.ReadLine());
List<int> listDiv7 = new List<int>();
if (ContainsEvenDigit(n))
{
... | 23.303922 | 68 | 0.313 | [
"MIT"
] | paykova/TEST | ProgrammingFundamentals/MethodsEX/12.MasterNumbersLast/Master.cs | 2,379 | C# |
using System;
namespace Mapsui.ArcGIS.ImageServiceProvider
{
public class TimeInfo
{
public string? startTimeField { get; set; }
public string? endTimeField { get; set; }
public long[]? timeExtent { get; set; }
public TimeReference? timeReference { get; set; }
public Da... | 33.772727 | 126 | 0.659489 | [
"MIT"
] | rafntor/Mapsui | Mapsui.ArcGIS/ImageServiceProvider/TimeInfo.cs | 743 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Routing;
using Microsoft.Framework.DependencyInjection;
namespace OnlineAPIBuilder
{
public class Sta... | 33.857143 | 137 | 0.66315 | [
"MIT"
] | OnlineAPIGenerator/OnlineAPIBuilder | src/OnlineAPIBuilder/Startup.cs | 1,424 | C# |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*
... | 30.920245 | 81 | 0.550794 | [
"Apache-2.0"
] | tianhuangtencent/tencentcloud-sdk-dotnet | TencentCloud/Cfw/V20190904/Models/RuleInfoData.cs | 5,346 | C# |
using System;
using System.Globalization;
using System.Windows.Data;
using FamilyExpenses.Model;
namespace FamilyExpenses.ViewModels.Converters
{
internal sealed class ProductInfoConverter
: IMultiValueConverter
{
#region IMultiValueConverter Members
public object Convert(object[] values, Type targetType, obje... | 30.5 | 132 | 0.729508 | [
"MIT"
] | Andrei15193/Laboratoare-Facultate | Semestrul5/DS/Project/FamilyExpenses/ViewModels/Converters/ProductInfoConverter.cs | 978 | 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 Xunit.Abstractions;
namespace Microsoft.Diagnostic.TestHelpers
{
/// <summary>
/// An implementation... | 29.714286 | 98 | 0.653846 | [
"MIT"
] | AzureMentor/diagnostics | src/Microsoft.Diagnostic.TestHelpers/IndentedTestOutputHelper.cs | 1,042 | C# |
using System;
using System.Diagnostics;
using System.Text;
using HANDLE = System.IntPtr;
namespace Community.CsharpSqlite
{
public partial class Sqlite3
{
/*
** 2006 June 7
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do ... | 28.098845 | 102 | 0.665311 | [
"BSD-2-Clause"
] | Banbury/MatterControl | Community.CsharpSqlite/src/loadext_c.cs | 21,889 | 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>
//--... | 42.383562 | 186 | 0.604719 | [
"MIT"
] | DevX-Realtobiz/MVC6.Template | src/MvcTemplate.Resources/Permission/Area/Titles.Designer.cs | 3,096 | 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... | 27.478723 | 108 | 0.581494 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/QuickSight/Generated/Model/DescribeUserResponse.cs | 2,583 | C# |
using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Shell;
using SharperCryptoApiAnalysis.Interop.Services;
using SharperCryptoApiAnalysis.Shell.Commands;
using SharperCryptoApiAnalysis.Shell.Interop.Commands;
using SharperCryptoApiAnalysis.Shell.Interop.CryptoTaskGenerator;
using Task ... | 44.347826 | 125 | 0.720098 | [
"MIT"
] | AnakinSklavenwalker/SharperCryptoApiAnalysis | src/SharperCryptoApiAnalysis.Vsix/Commands/AddCryptoTaskCommand.cs | 2,042 | C# |
// <copyright file="ProjectilePacket.cs" company="2Dudes">
// Copyright (c) 2018 2Dudes. All rights reserved.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
// </copyright>
using COMMO.Data.Contracts;
using COMMO.Server.Data;
using COMMO.Server.Data.Interfaces;... | 27.487179 | 86 | 0.666045 | [
"MIT"
] | CoreOpenMMO/CoreOpenMMO | src/COMMO.Communications/Packets/Outgoing/ProjectilePacket.cs | 1,072 | C# |
using System.Collections.Generic;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using realmon.Utilities;
namespace realmon.UnitTests
{
[TestClass]
public class GetHeader
{
[TestMethod]
public void GetHeader_DefaultConfiguration_SuccessfulMatch()
{
... | 34.727273 | 125 | 0.637435 | [
"MIT"
] | Maoni0/realmon | tests/GCRealTimeMon.UnitTests/PrintUtilities/GetHeader.cs | 766 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LukeVo.Games.Models
{
public class CardManager
{
public Stack<Card> Cards { get; private set; } = new Stack<Card>();
public void Add(int deck, bool shuffleAfterAdd)
{
... | 21.042105 | 75 | 0.387194 | [
"MIT"
] | datvm/LukeVoWebsite | LukeVo.Games/Models/CardManager.cs | 2,001 | C# |
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to i... | 44.06015 | 144 | 0.632594 | [
"MIT"
] | KinaMarie/azure-powershell | src/ResourceManager/Sql/Commands.Sql/Location Capabilities/Services/AzureSqlCapabilitiesAdapter.cs | 5,730 | C# |
#region Copyright
/*Copyright (C) 2015 Konstantin Udilovich
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 applicab... | 27.9375 | 75 | 0.731544 | [
"Apache-2.0"
] | Kodestruct/Kodestruct.Design | Kodestruct.Concrete/ACI/Entities/Common/TCIterationBound.cs | 894 | 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... | 30.880952 | 170 | 0.59008 | [
"ECL-2.0",
"Apache-2.0"
] | johnktims/pulumi-aws | sdk/dotnet/Ec2/GetVpnGateway.cs | 3,891 | C# |
using rover.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace rover.Classes
{
class Movement : IMovement
{
public void Process(string commands,Common common)
{
for (int idx = 0; idx < commands.Length; idx++)
{
Proce... | 24.850746 | 90 | 0.428228 | [
"MIT"
] | PersistentGaneshGadekar/rover | rover/Classes/Movement.cs | 1,667 | C# |
//----------------------------------------------
// Realistic Car Controller
//
// Copyright © 2014 - 2020 BoneCracker Games
// http://www.bonecrackergames.com
// Buğra Özdoğanlar
//
//----------------------------------------------
using System.Collections;
using System.Collections.Generic;
using UnityEngi... | 28.643617 | 134 | 0.731662 | [
"MIT"
] | MassiveAkib/collab-AM | Assets/RealisticCarControllerV3/Scripts/RCC_DetachablePart.cs | 5,391 | C# |
namespace P07_InfernoInfinity.Models.Weapons
{
using Enums;
public class Sword : Weapon
{
private const int BaseMinDamage = 4;
private const int BaseMaxDamage = 6;
private const int Sockets = 3;
public Sword(WeaponRarity weaponRarity, string name)
: base(weapon... | 23.588235 | 77 | 0.628429 | [
"MIT"
] | MertYumer/C-Fundamentals---January-2019 | C# OOP - February 2019/07. Reflection and Attributes - Exercises/P07-InfernoInfinity/Models/Weapons/Sword.cs | 403 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hec.Ensemble
{
[DebuggerDisplay("{Name}")]
public class Watershed
{
public Watershed(string name)
{
this.Name = name;
Locations = new List<... | 22.060606 | 109 | 0.60783 | [
"MIT"
] | HydrologicEngineeringCenter/DSSConversions | HEFS_To_DSS/Hec.Ensemble/Watershed.cs | 1,458 | C# |
/*
Copyright (c) Shubham Saudolla
https://github.com/shubham-saudolla
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
using System;
public class AudioManager : MonoBehaviour
{
public Sound[] sounds;
public static AudioManager instance;
private ... | 20.173077 | 68 | 0.56244 | [
"MIT"
] | shubham-saudolla/ZigZag | ZigZag/Assets/Scripts/AudioManager.cs | 1,051 | C# |
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace reactjs.Models
{
public class Book: FullAuditedEntity
{
[Required]
[Display(Name ="D... | 30.84 | 64 | 0.66537 | [
"MIT"
] | tranbinhvn/abpReact | aspnet-core/src/aspReact.Core/Models/Book.cs | 773 | C# |
using System;
namespace Godot
{
public static partial class ResourceLoader
{
/// <summary>
/// Loads a resource at the given <paramref name="path"/>, caching the result
/// for further access.
/// The registered <see cref="ResourceFormatLoader"/> instances are queried sequential... | 54.225806 | 114 | 0.644259 | [
"MIT",
"Apache-2.0",
"Unlicense"
] | filipworksdev/goblin-test | modules/mono/glue/GodotSharp/GodotSharp/Core/Extensions/ResourceLoaderExtensions.cs | 1,681 | C# |
using System;
using System.Linq;
using Abp.AspNetCore.EmbeddedResources;
using Abp.AspNetCore.Localization;
using Abp.Dependency;
using Abp.Localization;
using Castle.LoggingFacility.MsLogging;
using JetBrains.Annotations;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Localization;
using Microsoft.Ext... | 35.909836 | 149 | 0.628167 | [
"MIT"
] | NandipMakwana/aspnetboilerplate | src/Abp.AspNetCore/AspNetCore/AbpApplicationBuilderExtensions.cs | 4,383 | C# |
//******************************************************************
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// This code is licensed under the Visual Studio SDK license terms.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IM... | 39.25 | 107 | 0.626327 | [
"Apache-2.0"
] | LiveMirror/Visual-Studio-2010-SDK-Samples | Sample setup program for shell applications/C# and C++/C#,C++/PhotoStudio/PhotoStudio.AboutBoxPackage/Guids.cs | 944 | C# |
using System;
namespace Esfa.Vacancy.Api.Types
{
/// <summary>
/// An apprenticeship vacancy
/// </summary>
public class ApprenticeshipVacancy
{
/// <summary>
/// Reference number.
/// </summary>
public long VacancyReference { get; set; }
/// <summary>
... | 26.592593 | 63 | 0.507834 | [
"MIT"
] | SkillsFundingAgency/das-vacancyservices-api | src/Esfa.Vacancy.Api.Types/ApprenticeshipVacancy.cs | 5,746 | C# |
using System;
namespace Clipify.Playlist.Domain
{
public class Class1
{
}
}
| 10 | 33 | 0.644444 | [
"MIT"
] | Mikyan0207/clipify-cloud | source/Clipify.Playlist.Domain/Class1.cs | 92 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 34.142857 | 152 | 0.627017 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/SimpleEmailV2/Generated/Model/Internal/MarshallTransformations/ReviewDetailsUnmarshaller.cs | 3,346 | C# |
namespace Danmaku2Lib
{
public enum Key
{
A, B, C, D, E, F, G, H, I, J, K, L, M,
N, O, P, Q, R, S, T, U, V, W, X, Y, Z,
Zero, One, Two, Three, Four, Five, Six, Seven, Eight, Nine,
UpArrow, DownArrow, LeftArrow, RightArrow,
Delete, Backspace, Enter, Shift, Space,
Esc
}
public interface IK... | 19.368421 | 62 | 0.570652 | [
"MIT"
] | dtsudo/DT-Danmaku-2 | Source code/Danmaku2Lib/IKeyboard.cs | 370 | C# |
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using XData.Data.Schema;
using XData.Data.Resources;
using System.Diagnostics;
using System.ComponentModel;
namespace XData.Data.Objects
{
public abstract partial cla... | 45.74 | 152 | 0.535986 | [
"MIT"
] | sundy39/xf | ElementFramework/Objects/Writer/ExecuteUnit.cs | 11,437 | C# |
/*
********************************************************************
*
* 曹旭升(sheng.c)
* E-mail: cao.silhouette@msn.com
* QQ: 279060597
* https://github.com/iccb1013
* http://shengxunwei.com
*
* © Copyright 2016
*
********************************************************************/
using Linkup.... | 21.008264 | 89 | 0.405586 | [
"MIT"
] | 1002753959/Sheng.WeixinConstruction | SourceCode/Sheng.WeixinConstruction.Infrastructure/Movie/MovieEntity.cs | 2,591 | C# |
using System.Text.Json.Serialization;
namespace MyChess.Interfaces;
public class User
{
[JsonPropertyName("id")]
public string ID { get; set; } = string.Empty;
[JsonPropertyName("name")]
public string Name { get; set; } = string.Empty;
}
| 20.769231 | 53 | 0.648148 | [
"MIT"
] | JanneMattila/chess | src/MyChess/Interfaces/User.cs | 272 | C# |
// Copyright 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 in w... | 37.6 | 99 | 0.56523 | [
"Apache-2.0"
] | CoryLiseno/googleads-dotnet-lib | examples/AdManager/CSharp/v201908/CmsMetadataService/GetAllCmsMetadataKeys.cs | 3,572 | C# |
namespace Compiler.Parsing.Parselets
{
public class NameParselet : IPrefixParselet
{
public IExpression Parse(Parser parser, Token token)
{
return new NameExpression(token.value);
}
}
} | 23.3 | 60 | 0.635193 | [
"MIT"
] | Artmann/yay | Compiler/Parsing/Parselets/NameParselet.cs | 233 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.