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 |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft Corporation.
//
// Licensed under the MIT license.
using Shouldly;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
namespace Microsoft.VisualStudio.SlnGen.UnitTests
{
public class SlnHierarchyTests
{
[Fact]
public voi... | 34.880597 | 129 | 0.545429 | [
"MIT"
] | ViktorHofer/slngen | src/Microsoft.VisualStudio.SlnGen.UnitTests/SlnHierarchyTests.cs | 7,013 | C# |
// Copyright © 2010 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software 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, th... | 57.261261 | 750 | 0.636407 | [
"BSD-3-Clause"
] | AlexAX135/vrs | Test/Test.VirtualRadar.Library/AircraftComparerTests.cs | 12,715 | C# |
using OpenAC.Net.DFe.Core.Common;
namespace OpenAC.Net.NFSe.Test
{
public class SetupOpenNFSe
{
#region Fields
private static OpenNFSe ginfes;
private static OpenNFSe sigiss;
#endregion Fields
#region Properties
public static OpenNFSe Ginfes => ginfes ?? (gi... | 30.571429 | 86 | 0.631308 | [
"MIT"
] | Desenv5DigiByte/OpenAC.Net.NFSe | src/OpenAC.Net.NFSe.Test/SetupOpenNFSe.cs | 2,142 | C# |
public interface IInventory
{
long TotalAgilityBonus { get; }
long TotalDamageBonus { get; }
long TotalHitPointsBonus { get; }
long TotalIntelligenceBonus { get; }
long TotalStrengthBonus { get; }
void AddCommonItem(IItem item);
void AddRecipeItem(IRecipe recipe);
}
| 22.923077 | 40 | 0.697987 | [
"MIT"
] | BorislavBarov/OOP-Advanced-With-C-Sharp | ExamPreparation/HellExam16Aug2017/Hell/Interfaces/IInventory.cs | 300 | C# |
using Xunit;
namespace Silk.NET.Vulkan.Tests;
public class TestChainExtensionsAny
{
[Fact]
public unsafe void TestAddNextUnchecked()
{
var accelerationStructureFeatures = new PhysicalDeviceAccelerationStructureFeaturesKHR();
accelerationStructureFeatures
.AddNextAny(out Physic... | 42.366667 | 120 | 0.75059 | [
"MIT"
] | Ar37-rs/Silk.NET | src/Vulkan/Silk.NET.Vulkan.Tests/TestChainExtensionsAny.cs | 1,273 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR;
public class disableSteamVR : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
XRSettings.LoadDeviceByName("");
XRSettings.enabled = false;
}
// Upda... | 18.52381 | 52 | 0.652956 | [
"Unlicense"
] | 3632741/AR-Registration-Framework | OST Registration/Server/disableSteamVR.cs | 391 | 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... | 60.478947 | 284 | 0.530415 | [
"MIT"
] | NonStatic2014/azure-powershell | src/ResourceManager/Compute/Commands.Compute/Extension/AEM/TestAzureRmVMAEMExtension.cs | 33,906 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Win32.SafeHandles;
namespace KonoeStudio.Libs.Hid
{
public interface IHidDevice : IDisposable
{
IHidDeviceInfo DeviceInfo { get; }
bool IsReadOpened { get; }
bool IsWriteOpened { get; }
Task<byt... | 27.652174 | 69 | 0.65566 | [
"MIT"
] | 18konoe/KonoeStudio.Libs.Hid | KonoeStudio.Libs.Hid/IHidDevice.cs | 638 | C# |
namespace MyFirstGetAPI.Areas.HelpPage.ModelDescriptions
{
public class SimpleTypeModelDescription : ModelDescription
{
}
} | 22.5 | 62 | 0.777778 | [
"MIT"
] | JKafka97/MyFirstProject-C_Sharp | MyFirstGetAPI/Areas/HelpPage/ModelDescriptions/SimpleTypeModelDescription.cs | 135 | 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.
namespace Cake.Common.Tools.ReportGenerator;
/// <summary>
/// Represents ReportGenerator's logging verbosity.
///... | 23.423077 | 71 | 0.638752 | [
"MIT"
] | ecampidoglio/cake | src/Cake.Common/Tools/ReportGenerator/ReportGeneratorVerbosity.cs | 611 | C# |
using System.Collections.Generic;
using System.Linq;
namespace MarkEmbling.Grammar.Rules {
/// <summary>
/// Basic rule which ensures uncountable words do not get swapped or modified.
/// </summary>
public class PluralUncountableCasesRule : IGrammarTransformRule {
private readonly string[] _unc... | 27.863636 | 82 | 0.619902 | [
"MIT"
] | markembling/MarkEmbling.Grammar | src/MarkEmbling.Grammar/Rules/PluralUncountableCasesRule.cs | 613 | C# |
using System;
using System.Runtime.InteropServices;
using static QuickJS.Native.QuickJSNativeApi;
namespace QuickJS.Native
{
/// <summary>
/// Represents a pointer to a native JSContext
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct JSContext
{
private unsafe void* _context;
/// <summar... | 26.340909 | 79 | 0.662928 | [
"MIT"
] | vmas/QuickJS.NET | QuickJS.NET/Native/JSContext.cs | 3,479 | 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,... | 34.385542 | 84 | 0.610021 | [
"MIT"
] | abrodersen/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/JsonPropertyOrder.cs | 2,856 | C# |
namespace _15.Fast_Prime_Checker
{
using System;
public class FastPrimeChecker
{
public static void Main()
{
int ___Do___ = int.Parse(Console.ReadLine());
for (int DAVIDIM = 2; DAVIDIM <= ___Do___; DAVIDIM++)
{
bool TowaLIE = true;
... | 26.269231 | 73 | 0.398243 | [
"MIT"
] | spzvtbg/02-Tech-modul | Fundamental task solutions/05.Data Types and Variables - Exercises/15. Fast Prime Checker/FastPrimeChecker.cs | 685 | C# |
using System;
namespace Cuemon
{
/// <summary>
/// Provides a mechanism for releasing both managed and unmanaged resources with focus on the former.
/// Implements the <see cref="IDisposable" />
/// </summary>
/// <seealso cref="IDisposable" />
public abstract class Disposable : IDisposable
... | 38.833333 | 205 | 0.579399 | [
"MIT"
] | gimlichael/Cuemon | src/Cuemon.Core/Disposable.cs | 2,099 | C# |
using System;
public class C {
public string M() {
#if DEBUG
return "Debug";
#else
return "Release";
#endif
}
}
/* cs
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;
using System.Security.Permissions;... | 27.235294 | 253 | 0.731102 | [
"BSD-2-Clause"
] | bernd5/SharpLab | source/Tests/Decompilation/TestCode/Preprocessor.IfDebug.cs | 926 | C# |
using System;
namespace PasswordQueryTool.ImportModels
{
/// <summary>
/// The possible states an import can be in.
/// </summary>
public enum ImportState
{
Unknown,
Analyzing,
Importing,
Canceled,
Finished
}
/// <summary>
/// A single instance ... | 20.317647 | 66 | 0.437174 | [
"MIT"
] | Konstantin-tr/PassSearch | PasswordQueryTool/PasswordQueryTool.ImportModels/ImportDTO.cs | 1,729 | C# |
using Frapid.DataAccess;
using Frapid.NPoco;
namespace Frapid.Authorization.DTO
{
[TableName("auth.group_entity_access_policy")]
[PrimaryKey("group_entity_access_policy_id", AutoIncrement = true)]
public class GroupEntityAccessPolicy : IPoco
{
public int GroupEntityAccessPolicyId { get; set; }... | 32.294118 | 71 | 0.67031 | [
"MIT"
] | denza/frapid | src/Frapid.Web/Areas/Frapid.Authorization/DTO/GroupEntityAccessPolicy.cs | 551 | C# |
using Microsoft.Extensions.ObjectPool;
using Newtonsoft.Json;
namespace Jasper.Serialization.Json
{
internal class JsonSerializerObjectPolicy : IPooledObjectPolicy<JsonSerializer>
{
private readonly JsonSerializerSettings _serializerSettings;
public JsonSerializerObjectPolicy(JsonSerializerSe... | 25.076923 | 84 | 0.679448 | [
"MIT"
] | CodingGorilla/jasper | src/Jasper/Serialization/Json/JsonSerializerObjectPolicy.cs | 654 | C# |
namespace Strinken.Tests.FiltersTests;
public class UpperFilterTest
{
[Fact]
public void Resolve_Data_ReturnsDataToUpperCase()
{
var filter = new UpperFilter();
filter.Resolve("data", Array.Empty<string>()).Should().Be("DATA");
}
[Fact]
public void Validate_NoArguments_Returns... | 31.173077 | 145 | 0.630475 | [
"MIT"
] | k94ll13nn3/Strinken | tests/Strinken.Tests/FiltersTests/UpperFilterTest.cs | 1,621 | C# |
using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class MainMenuScript : MonoBehaviour {
private const float AnimationDampening = 0.2f;
private readonly Vector3 _mainScreenEndPosition = new Vector3(0, 0, 100);
private readonly Vector3 _mainScreenStartPosit... | 32.576471 | 118 | 0.758397 | [
"MIT"
] | IT2901-Gruppe-16-Kantega/IT2901 | Assets/Scripts/MainMenuScript.cs | 2,771 | C# |
// <auto-generated />
using System;
using Estateapp.Data.DBContext.ApplicationDBContext;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Estateapp.Data.Migratio... | 34.141026 | 117 | 0.529854 | [
"MIT"
] | temmytope88/cSharpEstateApp | src/Estateapp.Data/Migrations/ApplicationDB/ApplicationDBContextModelSnapshot.cs | 2,665 | 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("Co... | 36.441176 | 84 | 0.743341 | [
"MIT"
] | JeremyJeanson/WF4Templates | Sources legacy (vs 2010-2015)/CodeActivityT/Properties/AssemblyInfo.cs | 1,241 | C# |
using UnityEditor.XR.Interaction.Toolkit.Utilities;
using UnityEngine;
using UnityEngine.XR.Interaction.Toolkit;
namespace UnityEditor.XR.Interaction.Toolkit
{
/// <summary>
/// Custom editor for an <see cref="XRGrabInteractable"/>.
/// </summary>
[CustomEditor(typeof(XRGrabInteractable), true), CanEd... | 75.313665 | 339 | 0.691477 | [
"MIT"
] | BigMeatBaoZi/SDM5002 | Unity/vr_arm_ctrl/Library/PackageCache/com.unity.xr.interaction.toolkit@2.0.2/Editor/Interaction/Interactables/XRGrabInteractableEditor.cs | 24,253 | C# |
using Healthy.BaseComponents.Interfaces;
using MvvmHelpers;
using System;
using System.Collections.Generic;
using System.Text;
namespace Healthy.News.ViewModels
{
public class NewsMainViewModel : BaseViewModel, IViewModel
{
public NewsMainViewModel()
{
Title = "News";
}
... | 19.117647 | 62 | 0.676923 | [
"MIT"
] | peedroca/Healthy | Peedroca.Healthy/Healthy.News/ViewModels/NewsMainViewModel.cs | 327 | 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... | 47.413793 | 167 | 0.609455 | [
"MIT"
] | Baadjie/XamarinFormsApp | XamarinFormsWebAPI/obj/Debug/netstandard2.0/ClientView.xaml.g.cs | 1,375 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | 40.166667 | 101 | 0.733057 | [
"MIT"
] | arlm/otp-sharp | OtpSharp.Tests/Properties/AssemblyInfo.cs | 1,449 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Linq;
namespace SharpToolkit.AccessSynchronization
{
public sealed class ExceptionDeadlockResolver : ILockResolver
{
public int Timeout { get; priva... | 34.858974 | 122 | 0.510114 | [
"MIT"
] | SharpToolkit/AccessSynchronization | SharpToolkit.AccessSynchronization/DeadlockResolver.cs | 2,721 | C# |
using System.Text.Json.Serialization;
namespace Horizon.Payment.Alipay.Response
{
/// <summary>
/// AlipayAssetPointOrderQueryResponse.
/// </summary>
public class AlipayAssetPointOrderQueryResponse : AlipayResponse
{
/// <summary>
/// 支付宝集分宝发放流水号
/// </summary>
[Js... | 27.966102 | 98 | 0.564242 | [
"Apache-2.0"
] | bluexray/Horizon.Sample | Horizon.Payment.Alipay/Response/AlipayAssetPointOrderQueryResponse.cs | 1,986 | C# |
using System;
namespace Salary
{
internal class Program
{
private static void Main(string[] args)
{
int countTab = int.Parse(Console.ReadLine());
double salary = double.Parse(Console.ReadLine());
for (int sumWeb = 1; sumWeb <= countTab; sumWeb++)
... | 26.7 | 68 | 0.377341 | [
"MIT"
] | dzhanetGerdzhikova/Programming-Basics | 2.1. ForLoop-Exercise/Salary/Program.cs | 1,070 | 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("Own... | 37.837838 | 84 | 0.749286 | [
"Apache-2.0"
] | arturradiuk/PT | Task2/OwnSerializerLib/Properties/AssemblyInfo.cs | 1,403 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... | 43.035714 | 98 | 0.713278 | [
"MIT"
] | arthurrump/4OpEenRijScreensaver | 4OpEenRijScreensaver/Properties/AssemblyInfo.cs | 2,413 | C# |
#if !NO_RUNTIME
using System;
namespace ProtoBuf.Serializers
{
internal sealed class Int64Serializer : IProtoSerializer
{
private static readonly Type expectedType = typeof(long);
public Type ExpectedType => expectedType;
bool IProtoSerializer.RequiresOldValue => false;
... | 30.25641 | 96 | 0.636441 | [
"Apache-2.0"
] | James-xin/protobuf-net | src/protobuf-net/Serializers/Int64Serializer.cs | 1,182 | C# |
namespace DemoWF13
{
partial class frmClinica
{
/// <summary>
/// Variable del diseñador requerida.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén utilizando.
/// ... | 51.606461 | 170 | 0.592903 | [
"MIT"
] | jazuflo/SistemaClinicas | ClinicaInternacional/DemoWF13/frmClinica.Designer.cs | 35,165 | C# |
using System.Net;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Http;
using NLog;
using NLog.Fluent;
namespace Quantumart.QP8.WebMvc
{
public class GlobalExceptionHandler
{
private static readonly ILogger Logger = LogManager.GetCurrentClassLogger... | 32.114286 | 89 | 0.563167 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | QuantumArt/QP | siteMvc/GlobalExceptionHandler.cs | 1,124 | 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... | 30.611111 | 81 | 0.680581 | [
"Apache-2.0"
] | sebtelko/pulumi-azure-native | sdk/dotnet/RecoveryServices/V20210201Preview/Outputs/DailyRetentionScheduleResponse.cs | 1,102 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
int upperDots = (3 * n - 2) / 2;
int upperSpaces = 0;
//top
for (int i = 1; i... | 26.707317 | 104 | 0.453881 | [
"MIT"
] | Avarea/Programming-Basics | Exams/5Rocket/Program.cs | 1,097 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class MathUtils
{
public static Vector2[] GenerateIsometricCirclePoints(float radius)
{
List<Vector2> points = new List<Vector2>();
float rotation = 0;
int smoothness = 20;
floa... | 33.22807 | 182 | 0.590813 | [
"MIT"
] | XenikaIllust/Github-GameOff-2021 | Assets/Scripts/Utilities/MathUtils.cs | 1,894 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Akka.Util.Internal;
using ConcurrentExecutorService.Messages;
using ConcurrentExecutorService.Tests.TestSystem;
using Xunit;
namespace ConcurrentExecutorService.Tests
{
public cl... | 36.171875 | 164 | 0.638445 | [
"MIT"
] | contactsamie/ConcurrentExecutorService | ConcurrentExecutorService.Tests/TestHelper.cs | 2,317 | 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/MsHTML.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System... | 37.590909 | 145 | 0.71584 | [
"MIT"
] | reflectronic/terrafx.interop.windows | tests/Interop/Windows/Windows/um/MsHTML/SVGTextPathElementTests.cs | 1,656 | C# |
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Migrations.History;
namespace SunLine.Community.Repositories
{
public class ExHistoryContext : HistoryContext
{
public ExHistoryContext(DbConnection dbConnection, string defaultSchema)
: base(dbConnection, default... | 28.142857 | 87 | 0.688663 | [
"Apache-2.0"
] | mczachurski/community | SunLine.Community.Repositories/ExHistoryContext.cs | 593 | C# |
//CPOL, 2010, Stan Kirk
//MIT, 2015-present, EngineKit
using System;
using System.IO;
using System.Net;
namespace SharpConnect
{
#if DEBUG
static class dbugLOG
{
//object that will be used to lock the listOfDataHolders
static readonly object lockerForList = new object();
//If you make... | 39.835294 | 176 | 0.552668 | [
"MIT"
] | SharpConnect/SharpConnect.WebServer | src/SharpConnect.WebServer/General/dbugLOG.cs | 10,158 | C# |
using System;
using System.IO;
using System.Threading.Tasks;
using Esfa.Recruit.Vacancies.Client.Application.Queues.Messages;
using Esfa.Recruit.Vacancies.Client.Infrastructure.Client;
using Esfa.Recruit.Vacancies.Client.Infrastructure.StorageQueue;
using Esfa.Recruit.Vacancies.Jobs.Configuration;
using Esfa.Recruit.Va... | 41.163934 | 187 | 0.665472 | [
"MIT"
] | SkillsFundingAgency/das-recru | src/Jobs/Recruit.Vacancies.Jobs/Triggers/QueueTriggers/TransferVacancyToLegalEntityQueueTrigger.cs | 2,511 | C# |
using UnityEngine;
public class CameraTarget : MonoBehaviour
{
/// <summary>
/// Step #1
/// We need a simple reference of joystick in the script
/// that we need add it.
/// </summary>
[SerializeField] private Movement Joystick = null;//Joystick reference for assign in inspector
[SerializeF... | 39.878788 | 104 | 0.641337 | [
"MIT"
] | lolpez/jalaboy-game | Assets/UI/Scripts/CameraTarget.cs | 1,318 | C# |
#pragma checksum "D:\PrivateSmartHome\SubServer\SubServer\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "66483615C6522D60A20A07F0FD97D2B0"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file m... | 35.816667 | 144 | 0.592369 | [
"MIT"
] | jjg0519/PrivateSmartHome | SubServer/SubServer/obj/ARM/Debug/App.g.i.cs | 2,151 | 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;
using System.Linq;
public partial class Math
{ //Only append content to this class as the test suite depends on line info
public static int IntAdd(int a, int b)
... | 32.049774 | 196 | 0.60084 | [
"MIT"
] | PeterMond/runtime | src/mono/wasm/debugger/tests/debugger-test/debugger-test.cs | 28,334 | C# |
using System;
using System.Collections.Generic;
using Microsoft.Bot.Builder.Calling.ObjectModel.Contracts;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
namespace Microsoft.Bot.Builder.Calling.ObjectModel.Misc
{
/// <summary>
/// Help... | 38.337838 | 191 | 0.646458 | [
"MIT"
] | Aaron-Strong/BotBuilder | CSharp/Library/Microsoft.Bot.Builder.Calling/Models/Misc/Serializer.cs | 2,839 | 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("AWSSDK.Lightsail")]
[assembly: AssemblyDes... | 44.75 | 157 | 0.749302 | [
"Apache-2.0"
] | ooohtv/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/Lightsail/Properties/AssemblyInfo.cs | 1,432 | C# |
using System;
using System.ServiceModel;
using Autofac;
using Autofac.Integration.Wcf;
using GServer.Services;
using NLog;
using Topshelf;
using Topshelf.Autofac;
using Topshelf.HostConfigurators;
namespace GServer.Host.Messaging
{
// ReSharper disable once ClassNeverInstantiated.Global - Instantiated by Topshelf... | 33.603774 | 99 | 0.587872 | [
"MIT"
] | tnunnink/GMerge | src/GServer.Host.Messaging/MessagingService.cs | 3,564 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using observingobjects;
using viewmodelbased.Services;
namespace viewmodelbased.ViewModels
{
internal class MainViewModel : BaseViewModel
{
private List<FriendViewModel> m_friends;
private IFriendService m_friendServi... | 25.487179 | 67 | 0.60161 | [
"MIT"
] | NolwennR/xaml-code-experiences | xaml.experiences/architecture/structuring/viewmodelbased/ViewModels/MainViewModel.cs | 994 | C# |
using GetIntoTeachingApi.Controllers;
using FluentAssertions;
using GetIntoTeachingApi.Models;
using GetIntoTeachingApi.Services;
using Microsoft.AspNetCore.Mvc;
using Moq;
using System;
using Hangfire;
using Microsoft.AspNetCore.Authorization;
using Xunit;
using GetIntoTeachingApi.Attributes;
namespace G... | 33.192308 | 120 | 0.637312 | [
"MIT"
] | uk-gov-mirror/DFE-Digital.get-into-teaching-api | GetIntoTeachingApiTests/Controllers/PrivacyPoliciesControllerTests.cs | 2,591 | 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... | 28.313043 | 110 | 0.576167 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/ApiGatewayV2/Generated/Model/GetRouteResponsesRequest.cs | 3,256 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 51.252252 | 172 | 0.662507 | [
"MIT"
] | Aliases/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/IDeviceAppManagementManagedAppStatusesCollectionRequest.cs | 5,689 | C# |
using System;
using System.Runtime.Serialization;
namespace WeatherBuddy.Models
{
[Serializable]
internal class BadResponseException : Exception
{
public BadResponseException()
{
}
public BadResponseException(string message) : base(message)
{
}
pub... | 23.12 | 110 | 0.647059 | [
"MIT"
] | evad37/WeatherBuddy | WeatherBuddy/WeatherBuddy/Exceptions/BadResponseException.cs | 580 | C# |
using GalaSoft.MvvmLight.Command;
using Microsoft.Phone.Shell;
using System;
using System.Collections.Generic;
using System.Text;
namespace PhoneAppBarMVVM.Helpers
{
public interface IApplicationBarService
{
IApplicationBar ApplicationBar { get;}
void AddButton(string title, Uri imageUrl, Act... | 21.375 | 67 | 0.748538 | [
"MIT"
] | acaceresssit/Blog | PhoneAppBarMvvm/PhoneAppBarMvvm/Helpers/IApplicationBarService.cs | 344 | C# |
//
// This file has been generated automatically by MonoDevelop to store outlets and
// actions made in the Xcode designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
namespace SFXUGDemo.SFXUGDemoWatchAppExtension
{
[Register ("Notification... | 22.157895 | 81 | 0.75772 | [
"MIT"
] | dannycabrera/SFXUGDemo | SFXUGDemo/SFXUGDemo.SFXUGDemoWatchAppExtension/NotificationController.designer.cs | 423 | C# |
//=====================================================================================================================
// Проект: LotusLocalSelfGovernment
// Раздел: Модуль репозитория
// Подраздел: Подсистема базы данных
// Автор: MagistrBYTE aka DanielDem <dementevds@gmail.com>
//-----------------------------------... | 36.214286 | 120 | 0.40416 | [
"MIT"
] | MagistrBYTE/Lotus.LSG | Lotus.LSG/Source/Repository/Database/LotusLSGRepositoryDatabaseConnection.cs | 6,260 | C# |
/// Generated - Do Not Edit
namespace BabylonJS
{
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using EventHorizon.Blazor.Interop;
using EventHorizon.Blazor.Interop.Callbacks;
using Microsoft.JSInterop;
public interfa... | 26.303136 | 119 | 0.448271 | [
"MIT"
] | BlazorHub/EventHorizon.Blazor.TypeScript.Interop.Generator | Sample/_generated/EventHorizon.Blazor.BabylonJS.WASM/IAudioEngine.cs | 7,549 | C# |
namespace Fabric.Terminology.API.DependencyInjection
{
using Fabric.Terminology.Domain.DependencyInjection;
using Fabric.Terminology.SqlServer.Persistence;
using Fabric.Terminology.SqlServer.Persistence.UnitOfWork;
using Nancy.TinyIoc;
public class SqlRequestComposition : IContainerComposition<Ti... | 47.956522 | 119 | 0.766092 | [
"Apache-2.0"
] | HealthCatalyst/Fabric.Terminology | Fabric.Terminology.API/DependencyInjection/SqlRequestComposition.cs | 1,105 | C# |
namespace Smidgenomics.Generate
{
using System;
using System.IO;
using UnityEngine;
using UnityEngine.Events;
[AddComponentMenu("Smidgenomics/Generate/Read File")]
internal class ReadFile : MonoBehaviour
{
public void Read(string path)
{
var fullpath = path;
if(!IsAbsoluteUrl(path))
{
string r... | 24.340659 | 89 | 0.721896 | [
"MIT"
] | Smidgens/Unity-Snippet-Scripts | Assets/SnippetScripts/Scripts/Generate/ReadFile.cs | 2,217 | C# |
using System.Drawing;
using DotNet.Highcharts.Attributes;
using DotNet.Highcharts.Helpers;
namespace DotNet.Highcharts.Options.PlotOptions
{
/// <summary>
/// The appearance of the point marker when selected. In order to allow a point to be selected, set the <code>series.allowPointSelect</code> option to true.
///... | 30.651163 | 158 | 0.679818 | [
"MIT"
] | CareATC/DotNet.Highcharts | DotNet.Highcharts/DotNet.Highcharts/Options/PlotOptions/PlotOptionsAreaMarkerStatesSelect.cs | 1,318 | C# |
using System;
using System.Runtime.CompilerServices;
using System.Text;
namespace RevolutionSnapshot.Core.Buffers
{
public unsafe ref struct DataBufferReader
{
public byte* DataPtr;
public int CurrReadIndex;
public int Length;
public DataBufferReader(IntPtr dataPtr, int lengt... | 32.813636 | 136 | 0.509766 | [
"MIT"
] | guerro323/Revolution | RevolutionSnapshot.Core/Buffers/DataBufferReader.cs | 7,221 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
namespace DeadCode.WME.StringTableMgr
{
public partial class FormAbout : Form
{
public FormAbout()
{
Init... | 25.8125 | 77 | 0.579903 | [
"MIT"
] | retrodump/Wintermute-Engine | src/StringTableMgr/StringTableMgr/FormAbout.cs | 826 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | 34.052632 | 78 | 0.48068 | [
"MIT"
] | BrightsDigi/squidex | backend/src/Squidex.Domain.Apps.Entities/Apps/DomainObject/IAppGrain.cs | 649 | C# |
// Prexonite
//
// Copyright (c) 2014, Christian Klauser
// 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 n... | 47.061224 | 99 | 0.712923 | [
"BSD-3-Clause"
] | SealedSun/prx | Prx/Benchmarking/BenchmarkEntryCollection.cs | 2,306 | C# |
// *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
namespace GraphQL.Subscriptions.Tests
{
us... | 47.874016 | 163 | 0.650822 | [
"MIT"
] | NET1211/aspnet-archive-tools | src/tests/graphql-aspnet-subscriptions-tests/SubscriptionServerExtensionTests.cs | 6,082 | C# |
using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using Avalonia.UITestFramework.Example.ViewModels;
namespace Avalonia.UITestFramework.Example
{
public class ViewLocator : IDataTemplate
{
public bool SupportsRecycling => false;
public IControl Build(object d... | 26.0625 | 78 | 0.53717 | [
"MIT"
] | aboimpinto/Avalonia.UITestFramework | Avalonia.UITestFramework.Example/ViewLocator.cs | 834 | C# |
/*
Write a program that takes as input a four-digit number in format abcd (e.g. 2011) and performs the following:
Calculates the sum of the digits (in our example 2 + 0 + 1 + 1 = 4).
Prints on the console the number in reversed order: dcba (in our example 1102).
Puts the last digit in the first position: dabc (in ... | 34.073171 | 111 | 0.582677 | [
"MIT"
] | jsdelivrbot/Telerik-Academy-Homeworks | Module 1 - Essentials/01_C# Part 1/03_Operators and Expressions/06_Four-Digit Number/FourDigitNumber.cs | 1,399 | C# |
using System;
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
using System.Linq;
using System.Net.Http;
namespace EchoBot.Dialogs
{
[Serializable]
public class RootDialog : IDialog<object>
{
public Task StartAsync(IDialogContext context)
{
... | 27.454545 | 98 | 0.649007 | [
"MIT"
] | kreuzhofer/customspeechbot | src/CustomSpeechBot/EchoBot/Dialogs/RootDialog.cs | 908 | C# |
using DotNetty.Codecs;
using DotNetty.Common.Utilities;
using DotNetty.Handlers.Timeout;
using DotNetty.Transport.Bootstrapping;
using DotNetty.Transport.Channels;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace Meou.Transport.DotNetty
{
internal class DefaultConnect... | 28.195122 | 155 | 0.665225 | [
"MIT"
] | lc8882972/MeouY | src/Meou.Transport.DotNetty/DefaultConnectionWatchdog.cs | 1,158 | C# |
#pragma checksum "C:\Users\vavah\source\repos\CodeAndTravel\CodeAndTravel\Views\Promocoes\Index2.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f88970b699ced9c60eacee2efb442baac3e4d40b"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(... | 63.678445 | 353 | 0.727485 | [
"MIT"
] | Vagner-Lopes/ProjetoVagnerRecodeCerto | CodeAndTravel/CodeAndTravel/obj/Debug/net5.0/Razor/Views/Promocoes/Index2.cshtml.g.cs | 18,027 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.... | 29.254545 | 85 | 0.571784 | [
"MIT"
] | c4tachan/racewrangler | racewrangler/Program.cs | 1,609 | C# |
// Copyright (c) 2007-2018 Thong Nguyen (tumtumtum@gmail.com)
using System;
using Platform.Validation;
namespace Shaolinq.Tests.TestModel
{
[DataAccessObject(NotPersisted = true)]
public abstract class Person
: DataAccessObject<Guid>, IIdentified<Guid>
{
[PersistedMember]
[DefaultValue(Value = "A... | 29.175676 | 86 | 0.69245 | [
"MIT"
] | asizikov/Shaolinq | tests/Shaolinq.Tests/TestModel/Person.cs | 2,159 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Cronyx.Console.UI
{
/// <summary>
/// <see cref="ScrollRect"/> wrapper with support for various callbacks.
/// </summary>
internal cla... | 24.924528 | 76 | 0.766086 | [
"MIT"
] | cronyxllc/DeveloperConsole | console/Packages/com.cronyx.console/Runtime/Scripts/UI/EventScrollRect.cs | 1,323 | C# |
using LiveSplit.Model;
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Xml;
namespace LiveSplit.UI.Components
{
public partial class CurrentComparisonSettings : UserControl
{
public Color TextColor { get; set; }
public bool OverrideTextColor { get; set; }
p... | 48.566138 | 165 | 0.663689 | [
"MIT"
] | mysidia/LiveSplit-Sid | LiveSplit/Components/LiveSplit.CurrentComparison/UI/Components/CurrentComparisonSettings.cs | 9,181 | C# |
using System;
using System.Collections.Generic;
using Telerik.Charting;
using Windows.Foundation;
namespace Telerik.UI.Xaml.Controls.Chart
{
internal class RangeRenderer : AreaRendererBase
{
internal const string TopPointGetter = "TopPointGetter";
internal const string BottomPointGetter = "Bot... | 46.60396 | 226 | 0.676014 | [
"Apache-2.0"
] | ChristianGutman/UI-For-UWP | Controls/Chart/Chart.UWP/Visualization/Common/Renderers/Cartesian/Range/RangeRenderer.cs | 4,709 | C# |
/*
Copyright (C) 2012-2014 de4dot@gmail.com
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, m... | 34.279793 | 161 | 0.686996 | [
"MIT"
] | liangran10000/dnlib | src/DotNet/CallingConventionSig.cs | 39,698 | C# |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.boss.prod.alcagmprod.agreement.sign
/// </summary>
public class AlipayBossProdAlcagmprodAgreementSignRequest : IAopRequest<AlipayBossProd... | 26.096774 | 123 | 0.568603 | [
"Apache-2.0"
] | alipay/alipay-sdk-net | AlipaySDKNet.Standard/Request/AlipayBossProdAlcagmprodAgreementSignRequest.cs | 3,254 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tida.Canvas.Shell.Contracts.ComponentModel {
/// <summary>
/// 编辑器的显示类型;
/// </summary>
public enum EditorStyle {
//
// Summary:
// No special user ... | 24.678571 | 98 | 0.578871 | [
"MIT"
] | JanusTida/Tida.CAD | Tida.Canvas.Shell.Contracts/ComponentModel/EditorStyle.cs | 709 | C# |
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Sy... | 45.506478 | 233 | 0.582969 | [
"Apache-2.0"
] | AISS-2021-L1-G02/openapi-generator | samples/client/petstore/csharp-netcore/OpenAPIClient-net47/src/Org.OpenAPITools/Client/ApiClient.cs | 38,635 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
namespace MyKindergar... | 37.638889 | 201 | 0.606642 | [
"MIT"
] | timunie/MyKindergarten | src/MyKindergarten/MyKindergarten/Controls/IntellisenseTextBox.cs | 9,487 | C# |
using Variables;
using UnityEngine;
namespace Variables.Types
{
[VariableMenu(menuName = "Default/Quaternion", order = 103)]
public class QuaternionVariable : Variable<Quaternion> { }
}
| 20.777778 | 60 | 0.775401 | [
"MIT"
] | j-reason/ScriptableVariables | Assets/ScriptableVariables/Runtime/Variable Types/Defaults/QuaternionVariable.cs | 187 | C# |
using System;
using System.Collections.Generic;
using Exceptionless.Core.Pipeline;
using Exceptionless.Core.Extensions;
using Exceptionless.Core.Models;
namespace Exceptionless.Core.Plugins.Formatting {
[Priority(99)]
public sealed class DefaultFormattingPlugin : FormattingPluginBase {
public DefaultF... | 43.628866 | 149 | 0.619565 | [
"Apache-2.0"
] | aTiKhan/Exceptionless | src/Exceptionless.Core/Plugins/Formatting/Default/99_DefaultFormattingPlugin.cs | 4,234 | C# |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using ACT.SpecialSpellTimer.Image;
using ACT.SpecialSpellTimer.resources;
using FFXIV.Framework.Extensions;
using FFXIV.Framework.Globalization;
namespace ... | 30.077419 | 90 | 0.515444 | [
"BSD-3-Clause"
] | MasteRyuuuu/ACT.Hojoring | source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Config/Views/IconBrowserView.xaml.cs | 4,712 | C# |
using System.Runtime.Serialization;
namespace OneAll.Users
{
/// <summary>A standard OneAll contacts result data.</summary>
[DataContract()]
public class ContactsResult : BaseObject
{
#region Member Variables
/// <summary>The action.</summary>
private string _action;
/// <summary>The result... | 25.02381 | 96 | 0.686013 | [
"MIT"
] | GioCirque/OneAll | Source/Users/ContactsResult.cs | 1,053 | C# |
//#define AluRs
using ChocolArm64.State;
using NUnit.Framework;
namespace Ryujinx.Tests.Cpu
{
using Tester;
using Tester.Types;
[Category("AluRs"), Ignore("Tested: second half of 2018.")]
public sealed class CpuTestAluRs : CpuTest
{
#if AluRs
[SetUp]
public void SetupTester()
... | 45.949644 | 105 | 0.454399 | [
"Unlicense"
] | 0x0ade/Ryujinx | Ryujinx.Tests/Cpu/CpuTestAluRs.cs | 90,337 | C# |
using System;
using System.Collections.Generic;
namespace Server.DataAccess.Model
{
public class User : BaseModel
{
public Guid AccountId { get; set; }
public virtual Account Account { get; set; }
public string Name { get; set; }
public virtual ICollection<CashAccount> CashA... | 22.68 | 74 | 0.606702 | [
"MIT"
] | EverMoneyTeam/EverMoney | Server.DataAccess/Model/User.cs | 569 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using AppCondominio;
using AppCondominio.Models;
using AppCondominio.Repository.Interfaces;
namespace AppCondo... | 33.245283 | 148 | 0.551835 | [
"MIT"
] | Pedro29152/app_condominio | AppCondominio/Controllers/MateriaisController.cs | 5,288 | C# |
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace Proverb.Api.Core
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Direct... | 22.363636 | 64 | 0.544715 | [
"MIT"
] | johnnyreilly/proverb-api-core | src/Proverb.Web/Program.cs | 494 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _6._2._4_zz
{
class Program
{
static void Main(string[] args)
{
Console.Write("unesi broj: ");
string br = Console.ReadLine();
char... | 20.826087 | 48 | 0.5762 | [
"MIT"
] | Nestjik/AlgebraCSharp2019 | ConsoleApp1/6.2.4_zz/Program.cs | 481 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using WebKit;
using WebKit.Interop;
namespace WebKit
{
internal delegate void OnNotifyEvent(IWebNotification notification);
internal class WebNotificationObserver : IWebNotificationObserver
{
public event OnNotifyEvent OnNotify = ... | 21.12 | 72 | 0.702652 | [
"Apache-2.0"
] | xuld/WebkitNet | Src/WebkitNet/WebNotificationObserver.cs | 530 | 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("lo... | 37.702703 | 84 | 0.743369 | [
"MIT"
] | kekse/Look | look/look.common/Properties/AssemblyInfo.cs | 1,398 | C# |
#pragma checksum "C:\Users\qzwse\Desktop\YourSpaceMDB_4.2_Optimization\YourSpace\Modules\Pages\Page\Components\PageLink.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1a317a6723a614d889e7bea6d676a2dfa9557bde"
// <auto-generated/>
#pragma warning disable 1591
#pragma warning disable 0414
#pragma warning disable 0649
#... | 28 | 210 | 0.807563 | [
"MIT"
] | Invectys/Sites | YourSpaceMDB_4.2_Optimization/YourSpace/obj/Debug/netcoreapp3.1/RazorDeclaration/Modules/Pages/Page/Components/PageLink.razor.g.cs | 9,520 | C# |
using System.Text.RegularExpressions;
using Chronic.Core.System;
namespace Chronic.Core
{
public static class Numerizer
{
static readonly dynamic[,] DIRECT_NUMS = new dynamic[,]
{
{"eleven", "11"},
{"twelve", "12"},
{"thirteen", "13"},
... | 34.932886 | 147 | 0.377329 | [
"MIT"
] | robbell/nChronic | src/Chronic.Core/Numerizer.cs | 5,207 | C# |
using System;
using System.Linq;
using dueltank.core.Models.YgoPro;
namespace dueltank.Domain.Helpers
{
public static class YgoProDeckHelpers
{
public static string AddLeadingZerosToCardNumber(string cardNumber)
{
return long.Parse(cardNumber).ToString("D8");
}
pub... | 32.925926 | 96 | 0.570866 | [
"MIT"
] | fablecode/dueltank | src/Api/src/dueltank.Domain/Helpers/YgoProDeckHelpers.cs | 1,780 | C# |
// <auto-generated />
using System;
using Limbo_Seeing.DAL;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Limbo_Seeing.Migrations
{
[DbContext(typeof(Limb... | 35.019231 | 117 | 0.463756 | [
"MIT"
] | marcoduister/Limbo-Seeing-Casus | Limbo-Seeing/Migrations/Limbo_SeeingContextModelSnapshot.cs | 7,286 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XUnity.AutoTranslator.Plugin.Core.Endpoints;
namespace XUnity.AutoTranslator.Plugin.Core.UI
{
class XuaViewModel
{
public XuaViewModel(
List<ToggleViewModel> toggles,
DropdownViewModel<TranslatorD... | 27.5 | 111 | 0.698396 | [
"MIT"
] | GeBo1/XUnity.AutoTranslator | src/XUnity.AutoTranslator.Plugin.Core/UI/XuaViewModel.cs | 937 | C# |
using Newtonsoft.Json;
namespace olmelabs.battleship.api.Models.Dto
{
public class NewGameDto
{
[JsonProperty("gameId")]
public string GameId { get; set; }
}
}
| 17.272727 | 44 | 0.636842 | [
"MIT"
] | olmelabs/battleship-game | server-app/olmelabs.battleship.api/Models/Dto/NewGameDto.cs | 192 | C# |
//
// Copyright (c) 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
//
// Unless required by a... | 41.706731 | 238 | 0.571412 | [
"Apache-2.0",
"MIT"
] | adbertram/PowerShell | src/Microsoft.PowerShell.PackageManagement/Cmdlets/RegisterPackageSource.cs | 8,675 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using BurnSystems.Interfaces;
namespace BurnSystems.Collections
{
/// <summary>
/// This implements the IList interface on an XContainer element.
/// All addings, deletions, changes on this... | 32.328877 | 112 | 0.499545 | [
"MIT"
] | mbrenn/burnsystems | src/BurnSystems/Collections/XmlList.cs | 12,093 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.