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.Drawing;
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Outlines.Core
{
public class Snapshot
{
public double ScaleFactor { get; set; }
public string ScreenshotFilePath { get; set; }
public string ScreenshotBase64 { g... | 28.462687 | 135 | 0.527006 | [
"MIT"
] | Remi05/outlines | Outlines.Core/Snapshot.cs | 1,909 | C# |
namespace RentCar.Services {
class BrazilTaxServices : ITaxService {
public double Tax(double amount) {
if (amount <= 100.0) {
return amount * 0.2;
}
else {
return amount * 0.15;
}
}
}
}
| 21 | 43 | 0.438776 | [
"MIT"
] | jaquelinesilfe/RentCar | Services/BrazilTaxServices.cs | 296 | C# |
// Copyright © 2011 - Present RealDimensions Software, 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 ... | 38.900709 | 147 | 0.576238 | [
"Apache-2.0"
] | johnypony3/choco | src/chocolatey.tests.integration/scenarios/ListScenarios.cs | 16,458 | C# |
// Copyright © BBT Software AG. All rights reserved.
namespace BBT.StrategyPattern
{
/// <summary>
/// Helper interface to instantiate instances.
/// </summary>
/// <typeparam name="TInterface">The interface type.</typeparam>
/// <typeparam name="TClass">The class type, must inherit from <typepara... | 35.095238 | 113 | 0.636364 | [
"MIT"
] | bbtsoftware/BBT.Strategy | src/BBT.StrategyPattern/IInstanceCreator.cs | 740 | C# |
using System;
using System.Runtime.InteropServices;
using BOOL = System.Boolean;
using WORD = System.UInt16;
using DWORD = System.UInt32;
using QWORD = System.UInt64;
using LPVOID = System.IntPtr;
using DWORD_PTR = System.IntPtr;
namespace MonkeyWorks.Unmanaged.Headers
{
sealed class Winbase
{
//ht... | 31.975309 | 89 | 0.602703 | [
"BSD-3-Clause"
] | 0xbadjuju/MonkeyWorks | MonkeyWorks/Unmanaged/Headers/Winbase.cs | 5,182 | 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>
//--... | 36.103782 | 353 | 0.545104 | [
"MIT"
] | AirsQ/TQVaultAE | src/TQVaultAE.Presentation/Resources.Designer.cs | 164,203 | C# |
partial class C
{
}
partial class C1
{
int b = 55;
}
partial class C2
{
int b = 55;
C2 ()
{
}
}
class Test
{
public static void Main ()
{
}
} | 6.416667 | 27 | 0.545455 | [
"Apache-2.0"
] | 121468615/mono | mcs/tests/support-test-debug-04.cs | 154 | 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.632911 | 107 | 0.616711 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/AppStream/Generated/Model/UserSetting.cs | 2,262 | C# |
namespace DataCore.Adapter.RealTimeData {
/// <summary>
/// Specifies the type of an annotation.
/// </summary>
public enum AnnotationType {
/// <summary>
/// The annotation type is unknown.
/// </summary>
Unknown = 0,
/// <summary>
/// The annotation ... | 23.68 | 87 | 0.543919 | [
"Apache-2.0",
"MIT"
] | intelligentplant/AppStoreConnect.Adapters | src/DataCore.Adapter.Core/RealTimeData/AnnotationType.cs | 594 | C# |
using Business.Entities;
using Data.Core.Configurations;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data.Core
{
public class DIContext : DbContext
... | 26.236842 | 78 | 0.658977 | [
"MIT"
] | chsakell/wcfdependencyinjection | Data.Core/DIContext.cs | 999 | C# |
using FluentValidation;
using SmartStore.Admin.Models.Localization;
using SmartStore.Services.Localization;
namespace SmartStore.Admin.Validators.Localization
{
public partial class LanguageResourceValidator : AbstractValidator<LanguageResourceModel>
{
public LanguageResourceValidator(ILocalizationServic... | 46.266667 | 162 | 0.776657 | [
"MIT"
] | jenmcquade/csharp-snippets | SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Administration/Validators/Localization/LanguageResourceValidator.cs | 696 | C# |
namespace TutteeFrame2.Model
{
public class Student : Person
{
private string classID;
private string punishmentlist;
private bool status;
public string ClassID { get => classID; set => classID = value; }
public string Punishment { get => punishmentlist; set => punishmen... | 27.227273 | 90 | 0.557596 | [
"MIT"
] | princ3od/TutteeFrame-2.0 | TutteeFrame2/Model/Student.cs | 601 | C# |
//todo
namespace BaseWeb.Helpers
{
/// <summary>
/// todo: 再檢查
/// 單選下拉式欄位, 每個選項有header
/// </summary>
public static class XiSelectExtHelper
{
/*
/// <summary>
/// 下拉式欄位, 使用 bootstrap-select
/// </summary>
/// <param name="htmlHelper"></param>
///... | 38.875 | 229 | 0.558842 | [
"MIT"
] | bruce66tw/Base | BaseWeb/Helpers/XiSelectExtHelper.cs | 3,324 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
namespace OwinHost.Options
{
public class CommandOption
{
public CommandOption(string name, string shortName, string description, Action<Command, string> a... | 34.702703 | 132 | 0.57243 | [
"Apache-2.0"
] | 15901213541/-OAuth2.0 | src/OwinHost/Options/CommandOption.cs | 1,284 | C# |
using UnityEngine;
using System.Collections;
public class opponent_mallet : MonoBehaviour {
private GameObject mallet;
private Rigidbody malletRb;
private Vector3 initPos, currentPos;
private LayerMask tableLayer;
private GameObject controller;
private Vector3 targetPoint;
private Rigidbody coll;
private Rigi... | 31.208333 | 111 | 0.672897 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | mspringerneu/airHockeyRepo | Assets/Scripts/opponent_mallet.cs | 5,994 | C# |
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//class LargestAreaInMatrix
//{
// static void Main()
// {
// string[] nums = Console.ReadLine().Split(' ');
// int n = int.Parse(nums[0]);
// int m = int.Parse(num... | 30.545024 | 68 | 0.316369 | [
"MIT"
] | shopOFF/Telerik-Academy-Courses | CSharp-Part-2/C#2 Homeworks & Exams/TelerikHWCSharp2MultArrays/4.LargestAreaInMatrix/LargestAreaInMatrix.cs | 6,447 | 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.Collections.Generic;
using BenchmarkDotNet.Configs;
namespace BenchmarkDotNet.Attributes;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Assem... | 33.520548 | 103 | 0.651819 | [
"MIT"
] | 3ejki/aspnetcore | src/Shared/BenchmarkRunner/AspNetCoreBenchmarkAttribute.cs | 2,447 | C# |
using Assets.GameManagement;
using PathCreation;
using UnityEngine;
namespace Assets.MapObject.Motion
{
// Moves along a path at constant speed.
// Depending on the end of path instruction, will either loop, reverse, or stop at the end of the path.
public class PathFollower : MonoBehaviour, IPositionWard
... | 34.666667 | 138 | 0.707418 | [
"MIT"
] | marszub/Freaky-Rocket | FreakyRocket/Assets/MapObject/Motion/PathFollower.cs | 730 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
namespace ASP.NETWebForms.Account
{
public partial class VerifyPhoneNumber : System.Web.UI.Page
{
... | 35.4 | 113 | 0.614124 | [
"MIT"
] | todor-enikov/TelerikAcademy | ASP .NET Web Forms/1.Introduction to ASP.NET/1.Few Web applications/ASP.NETWebForms/Account/VerifyPhoneNumber.aspx.cs | 1,772 | C# |
using System;
using System.Collections.Generic;
using System.Maui;
using NUnit.Framework;
namespace System.Maui.Xaml.UnitTests
{
public partial class IsCompiledDefault : ContentPage
{
public IsCompiledDefault ()
{
InitializeComponent ();
}
public IsCompiledDefault (bool useCompiledXaml)
{
//this st... | 19.393939 | 69 | 0.714063 | [
"MIT"
] | AswinPG/maui | System.Maui.Xaml.UnitTests/IsCompiledDefault.xaml.cs | 640 | C# |
using System.Globalization;
namespace Laobian.Share.Extension;
public static class NumberExtension
{
public static string ToHuman(this int number)
{
if (number < 1000)
{
return number.ToString();
}
if (number < 10000)
{
return $"{number / 1000:... | 20 | 63 | 0.565385 | [
"MIT"
] | JerryBian/blog.laobian.me | src/share/Extension/NumberExtension.cs | 522 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rbk.mailrelay.Model
{
public class Statistics
{
public string apiKey { get; set; }
public int id { get; set; }
public DateTime startDate { get; set; }
p... | 30.948052 | 51 | 0.576164 | [
"Apache-2.0"
] | henryoy/rbk-mailrelay | Model/Statistics.cs | 2,385 | C# |
using OpenTK;
using OpenTK.Graphics;
using SPICA.Formats;
using SPICA.Formats.CtrH3D;
using SPICA.Formats.CtrH3D.Animation;
using SPICA.Formats.CtrH3D.Texture;
using SPICA.Rendering;
using SPICA.WinForms.Formats;
using SPICA.WinForms.GUI;
using SPICA.WinForms.GUI.Animation;
using SPICA.WinForms.GUI.Viewport;
using SPI... | 29.478002 | 111 | 0.51321 | [
"Unlicense"
] | ecnoid/SPICA | SPICA.WinForms/FrmMain.cs | 24,791 | 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... | 36.352941 | 147 | 0.649137 | [
"Apache-2.0"
] | DalavanCloud/aws-sdk-net | sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/ReplaceTopicRuleRequestMarshaller.cs | 3,708 | C# |
namespace RecipeBook.Application.Entities
{
public class ProfileCommand
{
public string Name { get; set; }
public string Description { get; set; }
public string Login { get; set; }
public string OldLogin { get; set; }
public string Password { get; set; }
}
}
| 26 | 47 | 0.605769 | [
"MIT"
] | Carapacik/RecipeBook | RecipeBook.Application/Entities/ProfileCommand.cs | 314 | C# |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Red.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Red.Formats.Red.Records.Enums;
namespace GameEstate.Red.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CBTTaskStopBeingScaredDef : I... | 33.608696 | 137 | 0.759379 | [
"MIT"
] | bclnet/GameEstate | src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CBTTaskStopBeingScaredDef.cs | 773 | 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("dan... | 38.378378 | 84 | 0.752817 | [
"MIT"
] | ChannelPixel/CarHireDatabaseAppointmentApp | danielCherrin_CarHireApp/danielCherrin_CarRentalApp/danielCherrin_CarRentalApp/Properties/AssemblyInfo.cs | 1,423 | C# |
using System;
using System.IO;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Streams;
using Windows.UI;
using Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas.Brushes;
using Microsoft.Graphics.Canvas.Text;
namespace BitStamp.Model
{
... | 33.548673 | 117 | 0.47072 | [
"MIT"
] | JTOne123/UWP | uwp/control/BitStamp/BitStamp/Model/HemdrisJelnunabisImage.cs | 7,640 | C# |
using Suls.Data;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace Suls.Services
{
public class UsersService : IUsersService
{
private readonly ApplicationDbContext db;
public UsersService(ApplicationDbContext db)
{
this.db = db;
}... | 31.355932 | 111 | 0.574595 | [
"MIT"
] | tonchevaAleksandra/C-Sharp-Web-Development-SoftUni-Problems | C# Web Basic/SUS September 2020 Session/Suls/Services/UsersService.cs | 1,852 | 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 ... | 22.508772 | 67 | 0.686672 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-emr/Emr/Model/V20160408/UpdateLibraryInstallTaskStatusResponse.cs | 1,283 | C# |
//
// SecPolicy.cs: Implements the managed SecPolicy wrapper.
//
// Authors:
// Sebastien Pouliot <sebastien@xamarin.com>
//
// Copyright 2013-2014 Xamarin Inc.
//
using System;
using System.Runtime.InteropServices;
using XamCore.ObjCRuntime;
using XamCore.CoreFoundation;
using XamCore.Foundation;
namespace XamCo... | 33.157895 | 166 | 0.734127 | [
"BSD-3-Clause"
] | Acidburn0zzz/xamarin-macios | src/Security/SecPolicy.cs | 2,520 | C# |
using me.cqp.luohuaming.BH3Scanner.Tool.IniConfig.Attribute;
using me.cqp.luohuaming.BH3Scanner.Tool.IniConfig.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Text.RegularExpressions;
using ... | 34.420354 | 289 | 0.666667 | [
"Apache-2.0"
] | Hellobaka/bh3_login_simulation | me.cqp.luohuaming.BH3Scanner.Tool/IniConfig/IniConfig.cs | 18,682 | C# |
using System.Collections.Generic;
namespace Pathfinding {
using Pathfinding.Jobs;
using Unity.Jobs;
using Unity.Collections;
using Unity.Burst;
using UnityEngine;
using Unity.Mathematics;
using Unity.Collections.LowLevel.Unsafe;
/// <summary>
/// Modifies nodes based on the layer of the surface under the nod... | 27.588889 | 99 | 0.675393 | [
"Apache-2.0"
] | Aspekt1024/LittleDrones | Assets/Standard Assets/AstarPathfindingProject/Generators/GridGraph/RulePerLayerModifications.cs | 2,483 | C# |
using PerfCap;
using System.Windows.Forms;
namespace jPerf
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.... | 60.495881 | 176 | 0.681163 | [
"MIT"
] | CodeZombie/jPerf | PerfCap/Views/MainWindow.Designer.cs | 36,725 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.ReactNative;
using Microsoft.ReactNative.Managed;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Windows.ApplicationModel.Conve... | 39.356164 | 205 | 0.553777 | [
"MIT"
] | AdrianaDJ/react-native-windows | packages/E2ETest/windows/ReactUWPTestApp/TreeDumpControlViewManager.cs | 14,365 | C# |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 43.909091 | 129 | 0.611594 | [
"MIT"
] | BradBarnich/FHIR-Converter | src/Microsoft.Health.Fhir.Liquid.Converter.UnitTests/Validators/Hl7v2DataValidatorTests.cs | 2,417 | C# |
using System.Collections.Generic;
using System.Linq;
using Uno.Compiler.API.Domain.IL.Members;
namespace Uno.Compiler.Core.IL.Building.Functions.Lambdas
{
class Variables
{
public readonly HashSet<Variable> Locals = new HashSet<Variable>();
public readonly HashSet<Parameter> Params = new HashSe... | 26.84 | 85 | 0.536513 | [
"MIT"
] | Nicero/uno | src/compiler/core/IL/Building/Functions/Lambdas/Variables.cs | 2,684 | C# |
using Celeste;
using Celeste.Mod;
using Mono.Cecil.Cil;
using MonoMod.Cil;
using MonoMod.Utils;
using System;
using System.Collections;
using System.Reflection;
namespace ExtendedVariants.Variants {
public class HeldDash : AbstractExtendedVariant {
// allows to check with reflection that Input.CrouchDash ... | 41.586538 | 168 | 0.613873 | [
"MIT"
] | max4805/ExtendedVariantMode | ExtendedVariantMode/Variants/HeldDash.cs | 4,327 | C# |
namespace PythonSharp.Language
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public interface IFunction
{
object Apply(IContext context, IList<object> arguments, IDictionary<string, object> namedArguments);
}
} | 25.083333 | 109 | 0.681063 | [
"MIT"
] | ajlopez/PythonSharp | Src/PythonSharp/Language/IFunction.cs | 303 | C# |
using Newtonsoft.Json;
using R6Stats.Response;
namespace R6Stats.Stats
{
/// <summary>
/// Represents a slot of a <see cref="Leaderboard"/>
/// </summary>
public class LeaderboardSlot : BaseResponse
{
/// <summary>
/// Stats for the player in this <see cref="LeaderboardSlot"/>
... | 26.259259 | 70 | 0.537377 | [
"MIT"
] | Cenngo/R6Stat-Sharp | R6Stat-Sharp/Stats/LeaderboardSlot.cs | 1,420 | C# |
using NLog;
using NLog.Layouts;
namespace MBBSDASM.Logging
{
public class CustomLogger : Logger
{
static CustomLogger()
{
var config = new NLog.Config.LoggingConfiguration();
//Setup Console Logging
var logconsole = new NLog.Targets.ConsoleTarget("logconso... | 23.76 | 79 | 0.572391 | [
"BSD-2-Clause"
] | enusbaum/MBBSDASM | MBBSDASM/Logging/CustomLogger.cs | 596 | C# |
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace src
{
public static class FileIO
{
public static async Task Read(string path)
{
using var sr = new StreamReader(Path.GetFullPath(path), System.Text.Encoding.UTF8);
await sr.ReadToEndAsync();
... | 26.185185 | 102 | 0.60396 | [
"MIT"
] | Ruchi12377/RPGTest | CSMaker/Assets/src/FileIO.cs | 707 | C# |
using System.Windows;
namespace BIDSid_SerCon
{
/// <summary>
/// App.xaml の相互作用ロジック
/// </summary>
public partial class App : Application
{
}
}
| 13.25 | 40 | 0.641509 | [
"MIT"
] | TetsuOtter/BIDSid_SerCon | BIDSid_SerCon/App.xaml.cs | 179 | C# |
using System;
using AutoFixture;
using AutoFixture.Kernel;
using AutoFixtureUnitTest.Kernel;
using Xunit;
namespace AutoFixtureUnitTest
{
public class UriGeneratorTest
{
[Fact]
public void SutIsSpecimenBuilder()
{
// Arrange
// Act
var sut = new UriG... | 30.883249 | 95 | 0.469757 | [
"MIT"
] | AutoFixture/AutoFixture | Src/AutoFixtureUnitTest/UriGeneratorTest.cs | 6,086 | C# |
using JetBrains.Annotations;
using Txt.Core;
namespace Txt.ABNF
{
/// <summary>Creates instances of the <see cref="RepetitionLexer" /> class.</summary>
public class RepetitionLexerFactory : IRepetitionLexerFactory
{
[NotNull]
public static RepetitionLexerFactory Default { get; } = new Repe... | 29.736842 | 95 | 0.669027 | [
"MIT"
] | StevenLiekens/SLANG | src/Txt.ABNF/RepetitionLexerFactory.cs | 567 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 52.367347 | 243 | 0.59457 | [
"MIT"
] | Agazoth/azure-powershell | src/VMware/generated/api/Models/Api20211201/ScriptExecutionProperties.TypeConverter.cs | 7,552 | C# |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using dotnetnepal.Services;
using dotnetnepal.Models;
namespace dotnetnepal.ViewComponents
{
public class NewsViewComponent : ViewComponent
{
private readonly NewsFeedServic... | 23.965517 | 73 | 0.676259 | [
"MIT"
] | dotnetnepal/dotnetnepal-website | src/ViewComponents/NewsViewComponent.cs | 697 | C# |
using System;
/* 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 writing, softw... | 26.732143 | 75 | 0.639279 | [
"Apache-2.0"
] | 18502079446/cusss | NActiviti/Sys.Bpm.Engine/Engine/impl/bpmn/behavior/ErrorEndEventActivityBehavior.cs | 1,499 | C# |
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using MongoDB.Driver;
namespace HotChocolate.Data.MongoDb
{
/// <summary>
/// A executable that is based on <see cref="IAggregateFluent{TInput}"/>
/// </summary>
/// <typeparam name="T">The entity type</typeparam>
publi... | 33.191781 | 98 | 0.596781 | [
"MIT"
] | AccountTechnologies/hotchocolate | src/HotChocolate/MongoDb/src/Data/Execution/MongoDbAggregateFluentExecutable.cs | 2,423 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Msn.InteropDemo.Common.OperationResults
{
public class OperationError
{
public string ErrorCode { get; set; }
public string ErrorDescription { get; set; }
pub... | 20.857143 | 59 | 0.543836 | [
"Apache-2.0"
] | SALUD-AR/Open-RSD | Msn.InteropDemo.Common/OperationResults/OperationError.cs | 732 | C# |
namespace Enyim.Caching.Memcached.Results.Factories
{
public interface IMutateOperationResultFactory
{
IMutateOperationResult Create();
}
}
#region [ License information ]
/* ************************************************************
*
* © 2010 Attila Kiskó (aka Enyim), © 2016 CNBlogs... | 37.035714 | 79 | 0.593057 | [
"Apache-2.0"
] | shortendarragh-mt/Enyim.Caching | Memcached/Results/Factories/IMutateOperationResultFactory.cs | 1,016 | C# |
namespace NEventStore.Diagnostics
{
using System;
using System.Diagnostics;
// PerformanceCounters are not cross platform
#if NET461
internal class PerformanceCounters : IDisposable
{
private const string CategoryName = "NEventStore";
private const string TotalCommitsNam... | 47.886957 | 159 | 0.659706 | [
"MIT"
] | NEventStore/NEventStore | src/NEventStore/Diagnostics/PerformanceCounters.cs | 5,507 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
using Microsoft.SourceBrowser.Common;
namespace Microsoft.SourceBrowser.HtmlGenerator... | 38.372315 | 151 | 0.534457 | [
"Apache-2.0"
] | Alex-ABPerson/PSSourceBrowser | src/HtmlGenerator/Pass1-Generation/DocumentGenerator.cs | 16,080 | C# |
using Microsoft.Extensions.Options;
using MongoDB.Bson.Serialization;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace Lefebvre.eLefebvreOnContainers.Services.Google.Account.API.Infrastru... | 43.48366 | 148 | 0.690065 | [
"MIT"
] | lefevbre-organization/eShopOnContainers | src/Services/Google/GoogleAccount.API/Infrastructure/GoogleAccountContext.cs | 6,655 | C# |
using DataModel;
using FluentValidation;
using Infrastructure.Core.Commands;
using Infrastructure.EventStores.Repository;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace MoviesService... | 26.430556 | 96 | 0.56227 | [
"MIT"
] | GuilhermeStracini/NetCoreMicroservicesSample | Src/MoviesService/Commands/DeleteMoviesByUserIdCommand.cs | 1,905 | C# |
namespace iTin.Core.Models.Design.Styling
{
using System;
using iTin.Core.Helpers;
using Collections;
/// <summary>
/// Defines a styles collection.
/// </summary>
public partial class StylesCollection : IStyles
{
#region constructor/s
#region [public] StylesCollect... | 27.905109 | 132 | 0.557416 | [
"MIT"
] | iAJTin/iXlsxWriter | src/lib/iTin.Core/iTin.Core.Models.Design/iTin.Core.Models.Design.Styling/StylesCollection.cs | 3,825 | C# |
using System.Collections;
using System.Collections.Generic;
using Unity.Entities;
using Unity.Transforms;
using UnityEngine;
public class ECSConversion : MonoBehaviour
{
private List<GameObject> CubeGOList;
public GameObject Cube;
EntityManager manager;
Entity AsteroidEntityPrefab;
Vector3 offse... | 25.047619 | 106 | 0.65019 | [
"MIT"
] | DavidJNichol/Unity-Fractals | Assets/Scripts/Demos/ECSConversion.cs | 1,054 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Localization;
using Microsoft.AspNetCore.Mvc.Vie... | 40.625806 | 132 | 0.611085 | [
"BSD-3-Clause"
] | BenPool/OrchardCore | test/OrchardCore.Tests/OrchardCore.Users/RegistrationControllerTests.cs | 6,297 | C# |
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class ParentedNode : BaseNode
{
private TreeNode parent;
public TreeNode Parent
{
get => parent;
set
{
#if DEBUG
... | 26.4375 | 94 | 0.427502 | [
"MIT"
] | SeppPenner/MSBuildStructuredLog | src/StructuredLogger/ObjectModel/ParentedNode.cs | 2,540 | C# |
//
// Copyright (c) 2017 The nanoFramework project contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
using System;
namespace nanoFramework.Tools.Debugger.WireProtocol
{
public class VersionStruct
{
... | 23.583333 | 70 | 0.660777 | [
"Apache-2.0"
] | AdrianSoundy/nf-debugger | source/Debug Library/WireProtocol/VersionStruct.cs | 568 | C# |
namespace ExtractorSharp.Core.Handle {
/// <summary>
/// img版本
/// </summary>
public enum ImgVersion {
Other = 0x00,
Ver1 = 0x01,
Ver2 = 0x02,
Ver4 = 0x04,
Ver5 = 0x05,
Ver6 = 0x06,
Ver7 = 0x07,
Ver8 = 0x08,
Ver9 = 0x09
}
} | 20 | 39 | 0.453125 | [
"MIT"
] | Kritsu/ExtractorSharp | ExtractorSharp.Core/Handle/Img_Version.cs | 326 | C# |
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using BlazorProject.Backend.Categories.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace BlazorProject.Backend.Categories
{
public interface ICategoriesService:IApplicationService
... | 24.5 | 61 | 0.793367 | [
"MIT"
] | 274188A/BlazorProjectASPBoilerplateBackend | aspnet-core/src/BlazorProject.Backend.Application/Categories/ICategoriesService.cs | 394 | C# |
// <copyright file="ItemPageMap.cs" company="Automate The Planet Ltd.">
// Copyright 2021 Automate The Planet Ltd.
// 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/lice... | 33.054054 | 85 | 0.654947 | [
"Apache-2.0"
] | AutomateThePlanet/AutomateThePlanet-Learning-Series | dotnet/Design-Architecture-Series/FacadeDesignPattern/Pages/ItemPage/ItemPageMap.cs | 1,225 | C# |
// CivOne
//
// To the extent possible under law, the person who associated CC0 with
// CivOne has waived all copyright and related or neighboring rights
// to CivOne.
//
// You should have received a copy of the CC0 legalcode along with this
// work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
us... | 29.57 | 168 | 0.703416 | [
"CC0-1.0"
] | Andersw88/CivOne | src/Reflect.cs | 5,914 | C# |
using System.Drawing.Imaging;
namespace Infrastructure
{
public static class ImageFormatExtensions
{
public static ImageFormat GetImageFormat(this string extension)
{
switch (extension.ToLower())
{
case ".png":
return ImageFormat.Png;... | 24.595238 | 71 | 0.433688 | [
"MIT"
] | yycx0328/opcomunity-admin | Infrastructure/Imaging/ImageFormatExtensions.cs | 1,035 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.Text;
namespace Shiny.Tests.Generators
{
public class AssemblyGenerator
{
... | 39.707317 | 145 | 0.640459 | [
"MIT"
] | Codelisk/shiny | tests/Shiny.Tests/Generators/AssemblyGenerator.cs | 4,886 | C# |
using System;
using Xunit;
using TwaddleGram.Models;
using TwaddleGram.Data;
using TwaddleGram.Models.Services;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.InMemory;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
namespace UnitTests
{
public class UnitTe... | 34.680982 | 151 | 0.528127 | [
"MIT"
] | GwennyB/twaddlegram | UnitTests/UnitTest1.cs | 11,306 | C# |
// Copyright © 2017 - 2018 Chocolatey Software, Inc
// Copyright © 2011 - 2017 RealDimensions Software, 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://ww... | 35.433962 | 137 | 0.65442 | [
"Apache-2.0"
] | 2733284198/choco | src/chocolatey/infrastructure.app/nuget/NuGetFileSystemExtensions.cs | 1,882 | C# |
using EasyETL.Attributes;
using Microsoft.VisualBasic.FileIO;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Xsl;
namespace EasyETL.Xml.Parsers
{
[Dis... | 38.74359 | 146 | 0.604567 | [
"MIT"
] | erisonliang/EasyETL.Net | EasyETL.Xml/Parsers/FixedWidthEasyParser.cs | 3,024 | 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.736111 | 182 | 0.603801 | [
"MIT"
] | elv1s42/ChatUIXForms | ChatUIXForms.Wpf/Properties/Resources.Designer.cs | 2,791 | C# |
using Microsoft.AspNetCore.SignalR;
using SignalrDemo.Server.Interfaces;
using System;
using System.Diagnostics;
using System.Threading;
namespace Angular.NETCoreWith.SignalR_Assignment.Hubs
{
public class SignalrHub : Hub<ISignalrHub>
{
public void Hello()
{
Clients.Caller.Display... | 29.682927 | 140 | 0.611339 | [
"MIT"
] | dipak77/Angular.NETCoreWith.SignalR_Assignment1 | ngWithJwt/Hubs/SignalrHubcs.cs | 1,219 | C# |
using System;
#if WISEJ
using Wisej.Web;
#else
using System.Windows.Forms;
#endif
using MvvmFx.CaliburnMicro;
namespace AcyncUpdate.UI
{
public interface IAsyncUpdateView : IHaveDataContext, IHaveBusyIndicator
{
}
public partial class AsyncUpdateView : Form, IAsyncUpdateView
{
private IAs... | 23.786885 | 110 | 0.567884 | [
"MIT"
] | MvvmFx/MvvmFx | Samples/CaliburnMicro/AcyncUpdate.WisejWeb/AsyncUpdateView.cs | 1,453 | C# |
using System.Collections.Generic;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
using Xamarin.Forms.Core.UITests;
#endif
namespace Xamarin.Forms.Controls.Issues
{
#if UITEST
[Category(UITestCategories.ScrollView)]
[Category(UITestCatego... | 23.293578 | 103 | 0.688066 | [
"MIT"
] | AuriR/Xamarin.Forms | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1931.cs | 2,541 | 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.Goog... | 32.871795 | 128 | 0.673167 | [
"Apache-2.0"
] | AaronFriel/pulumi-google-native | sdk/dotnet/ServiceManagement/V1/Outputs/MonitoringDestinationResponse.cs | 1,282 | C# |
/*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. 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
*... | 31.074766 | 149 | 0.655639 | [
"Apache-2.0"
] | aumcode/nfx | Source/NFX/IO/ErrorHandling/ReedSolomonEncoder.cs | 3,325 | C# |
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace ConsoleDemo
{
public class Program
... | 26.608696 | 71 | 0.624183 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | wwwlicious/servicestack-seq-requestlogsfeature | src/ConsoleDemo/Program.cs | 614 | C# |
/*
* Bastille.ID Identity Server
* (c) Copyright Talegen, 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 appli... | 45.174157 | 282 | 0.610869 | [
"Apache-2.0"
] | Bastille-ID/Bastille.Id.Core | src/Logging/AuditLogService.cs | 8,043 | C# |
using System.Threading.Tasks;
using DiabloCms.Models.RequestModel.Identity;
using DiabloCms.Models.ResponseModel.Identity;
using DiabloCms.Server.Infrastructure.Extensions;
using DiabloCms.Server.Infrastructure.Service.CurrentUser;
using DiabloCms.UseCases.Contracts.Identity;
using HarabaSourceGenerators.Common.Attrib... | 33.056604 | 90 | 0.667808 | [
"MIT"
] | eldiablo-1226/Diablo-Cms-Ecommerce | DiabloCms.Server/Controllers/IdentityController.cs | 1,754 | C# |
#region license
// Copyright (c) 2007-2010 Mauricio Scheffer
//
// 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 requir... | 35.157895 | 76 | 0.674401 | [
"Apache-2.0"
] | Aaronontheweb/SolrNet | SolrNet.Tests/InferringFieldParserTests.cs | 1,338 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Camera))]
public class EnableCameraDepthBuffer : MonoBehaviour
{
void Start()
{
GetComponent<Camera>().depthTextureMode |= DepthTextureMode.Depth;
}
}
| 22.230769 | 75 | 0.712803 | [
"CC0-1.0"
] | JonaMazu/KoboldKare | Assets/KoboldKare/Scripts/EnableCameraDepthBuffer.cs | 291 | C# |
namespace MapProject.MainScripts
{
public static class Utilities
{
public static T[] ShuffleArray<T>(T[] array, int seed)
{
System.Random prng = new System.Random(seed);
for (int i = 0; i < array.Length - 1; i++)
{
int randomIndex = prng.Next... | 25.285714 | 62 | 0.485876 | [
"MIT"
] | antoniovalentini/greenfield-unity | projects/Unity_MapGenerator/Assets/MapGenerator/Scripts/Utilities.cs | 533 | 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.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net... | 33.69815 | 161 | 0.551578 | [
"MIT"
] | Davilink/runtime | src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs | 34,610 | 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.Threading;
public class UserException : Exception {
public static int Main(String [] args) {
int counter = 0;
String str = "Done";
for (int j = ... | 20.357143 | 71 | 0.581287 | [
"MIT"
] | 2m0nd/runtime | src/tests/baseservices/exceptions/regressions/V1/SEH/VJ/UserException.cs | 855 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using UnityEngine;
using ModestTree;
using Assert=ModestTree.Assert;
namespace Zenject.Tests.Bindings
{
[TestFixture]
public class TestFromSiblingComponent : ZenjectIntegrationTestFixture
{
[Test]
pub... | 24.662338 | 95 | 0.562401 | [
"MIT"
] | mikecann/Zenject | UnityProject/Assets/Plugins/Zenject/OptionalExtras/IntegrationTests/Bindings/Editor/TestFromSiblingComponent.cs | 1,901 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Xunit;
namespace Mundane.Tests.Tests_MundaneEngineResponse;
[ExcludeFromCodeCoverage]
public static class Operator_NotEquals_Returns_False
{
[Fact]
public static async Task When_The_Objects_Hav... | 29.25 | 113 | 0.746439 | [
"MIT"
] | adambarclay/mundane | tests/Mundane.Tests/Tests_MundaneEngineResponse/Operator_NotEquals_Returns_False.cs | 1,053 | C# |
// <copyright file="ActivitySourceAdapter.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.... | 43.381443 | 320 | 0.639971 | [
"Apache-2.0"
] | HankiDesign/opentelemetry-dotnet | src/OpenTelemetry/Trace/ActivitySourceAdapter.cs | 8,416 | C# |
using Newtonsoft.Json.Linq;
using Org.BouncyCastle.Crypto.Digests;
using Org.BouncyCastle.Crypto.Engines;
using Org.BouncyCastle.Crypto.Generators;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Crypto.Signers;
using Org.BouncyCastle.Math;
using System;
namespace WalletWasabi.Crypto
{
public class ... | 31.084746 | 104 | 0.738277 | [
"MIT"
] | r0otChiXor/WalletWasabi | WalletWasabi/Crypto/BlindingRsaPubKey.cs | 3,670 | C# |
using UnrealBuildTool;
public class RunebergVRPlugin : ModuleRules
{
public RunebergVRPlugin(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicIncludePaths.AddRange(new string[] { "RunebergVRPlugin/Source/Public" });
PrivateI... | 38.578947 | 150 | 0.701228 | [
"MIT"
] | acttogreen/RunebergVRPlugin | Plugins/RunebergVRPlugin/Source/RunebergVRPlugin.Build.cs | 733 | C# |
namespace Atata
{
/// <summary>
/// Defines the modes of <see cref="AtataContext.Current"/> property.
/// </summary>
public enum AtataContextModeOfCurrent
{
/// <summary>
/// The <see cref="AtataContext.Current"/> value is thread-static (unique for each thread).
/// </summar... | 28.5 | 108 | 0.567251 | [
"Apache-2.0"
] | EvgeniyShunevich/Atata | src/Atata/Context/AtataContextModeOfCurrent.cs | 686 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using AppKit;
using CoreGraphics;
namespace NSScrollViewContentCentered
{
public partial class MyClipView : AppKit.NSClipView
{
public MyClipView(IntPtr handle) : base(handle)
{
}
public overr... | 31.973684 | 101 | 0.618107 | [
"MIT"
] | gesource/Xamarin.Mac-Sample | NSScrollViewContentCentered/NSScrollViewContentCentered/MyClipView.cs | 1,217 | C# |
using Abp.Runtime.Caching;
namespace Roc.CMS.Web.Authentication.TwoFactor
{
public static class TwoFactorCodeCacheExtensions
{
public static ITypedCache<string, TwoFactorCodeCacheItem> GetTwoFactorCodeCache(this ICacheManager cacheManager)
{
return cacheManager.GetCache<string, Two... | 32.75 | 120 | 0.748092 | [
"MIT"
] | RocChing/Roc.CMS | src/Roc.CMS.Web.Core/Authentication/TwoFactor/TwoFactorCodeCacheExtensions.cs | 395 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Management.Automation;
namespace Microsoft.PowerShell.FileUtility
{
[Alias("gdi")]
[Cmdlet(VerbsCommon.Get, "DriveInfo")]
[OutputType(typeof(DriveInfo))]
public sealed class GetDriveI... | 23.291667 | 66 | 0.635063 | [
"MIT"
] | PowerShell/FileUtility | src/code/GetDiskInfo.cs | 559 | C# |
#pragma checksum "/workspaces/AspNetCoreMVC/MvcMovie/Views/Shared/_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "25460ebf3e2073880696f832b079e76eff25d280"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views... | 82.226115 | 384 | 0.724699 | [
"MIT"
] | fsdrw08/MovieApp | MvcMovie/obj/Debug/netcoreapp3.1/Razor/Views/Shared/_Layout.cshtml.g.cs | 25,819 | C# |
using System;
using System.Collections.Generic;
using Hl7.Fhir.Introspection;
using Hl7.Fhir.Validation;
using System.Linq;
using System.Runtime.Serialization;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permit... | 278.444528 | 2,984 | 0.71935 | [
"BSD-3-Clause"
] | Kno2/fhir-net-api | src/Hl7.Fhir.Core/Model/Generated/Template-ModelInfo.cs | 371,447 | C# |
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
using System.Collections.Generic;
using erl.Oracle.TnsNames.Antlr4.Runtime.Sharpen;
using erl.Oracle.TnsNames.Antlr4.Runtim... | 29.857143 | 70 | 0.605742 | [
"MIT"
] | espenrl/TnsNames | erl.Oracle.TnsNames/Antlr4.Runtime/Tree/Xpath/XPathWildcardElement.cs | 1,045 | C# |
using System.Collections.Generic;
using Unity.UIWidgets.animation;
using Unity.UIWidgets.foundation;
using Unity.UIWidgets.painting;
using Unity.UIWidgets.ui;
using Unity.UIWidgets.widgets;
using UnityEngine;
using TextStyle = Unity.UIWidgets.painting.TextStyle;
using Transform = Unity.UIWidgets.widgets.Transfo... | 37.578475 | 122 | 0.518258 | [
"Apache-2.0"
] | Luciano-0/2048-Demo | Library/PackageCache/com.unity.uiwidgets@1.5.4-preview.12/Runtime/material/flexible_space_bar.cs | 8,380 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TextAdventures.Quest.Functions;
namespace TextAdventures.Quest.Scripts
{
public class PlaySoundScriptConstructor : ScriptConstructorBase
{
public override string Keyword
{
get { ... | 29.349398 | 139 | 0.531609 | [
"MIT"
] | DPS2004/quest | WorldModel/WorldModel/Scripts/PlaySoundScript.cs | 4,874 | C# |
//////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2018 Audiokinetic Inc. / All Rights Reserved
//
//////////////////////////////////////////////////////////////////////
/// @brief Represents Wwise states as Unity assets.
public class WwiseStateReference : WwiseGroupValue... | 34.791667 | 101 | 0.641916 | [
"Apache-2.0"
] | Bellseboss-Studio/ProyectoPrincipal_JuegoDePeleas | Assets/Wwise/Deployment/API/Handwritten/Common/WwiseObjects/WwiseStateReference.cs | 835 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.... | 31.252294 | 213 | 0.601497 | [
"Apache-2.0"
] | Duikmeester/Roslyn | src/Compilers/CSharp/Portable/Binder/BuckStopsHereBinder.cs | 6,815 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace NetCoreExample.Models.ViewModels
{
public class MenuVM
{
public int Id { get; set; }
public int ParentId { get; set; }
public string Descriptions { get; set; }
}
}
| 20.857143 | 49 | 0.619863 | [
"Apache-2.0"
] | alexhendra/NetCore3.1Example | NetCoreExample.Models/ViewModels/MenuVM.cs | 294 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.