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 |
|---|---|---|---|---|---|---|---|---|
namespace Socializer.Web.ViewModels.Chat
{
using System;
using Socializer.Data.Models;
using Socializer.Services.Mapping;
using Socializer.Web.ViewModels.Users;
public class ChatMessageViewModel : IMapFrom<ChatMessage>
{
public string Content { get; set; }
public ShortUserVie... | 22.5 | 61 | 0.679012 | [
"MIT"
] | Dreed657/Socializer | Web/Socializer.Web.ViewModels/Chat/ChatMessageViewModel.cs | 407 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.Components.WebAssembly.Hosting;
/// <summary>
/// Static class that adds extension methods to <see cref="IWebAssemblyHostEnvironment"/>.
/// </summary... | 39.883117 | 110 | 0.683816 | [
"MIT"
] | 3ejki/aspnetcore | src/Components/WebAssembly/WebAssembly/src/Hosting/WebAssemblyHostEnvironmentExtensions.cs | 3,071 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
namespace System.Text.Json.Serialization.Converters
{
/// <summary>
/// Default ... | 40.614078 | 152 | 0.447499 | [
"MIT"
] | hassoon1986/runtime | src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/JsonObjectDefaultConverter.cs | 16,735 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System... | 37.166667 | 80 | 0.636771 | [
"MIT"
] | MonkSoul/jenkins_asp_net_core_docker | src/aspnetcoredocker/obj/Debug/netcoreapp2.2/aspnetcoredocker.AssemblyInfo.cs | 1,008 | C# |
using Microsoft.Xna.Framework;
using ColorHelper = Microsoft.Xna.Framework.Color;
using System.Runtime.Serialization;
namespace SadConsole.Themes
{
/// <summary>
/// The library of themes. Holds the themes of all controls.
/// </summary>
[DataContract]
public class Library
{
/// <sum... | 51.535912 | 109 | 0.666166 | [
"MIT"
] | HooniusDev/SadConsole | src/SadConsole.Shared/Themes/Library.cs | 9,330 | C# |
// Copyright (c) Lex Li. All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Web.Management.Server
{
public enum ConfigurationPathType
{
Server = 0,
Site = 1,
Application = 2,
Folder ... | 23.266667 | 101 | 0.621777 | [
"MIT"
] | 68681395/JexusManager | Microsoft.Web.Management/Server/ConfigurationPathType.cs | 351 | C# |
using UnityEngine;
using SanAndreasUnity.Importing.Animation;
namespace SanAndreasUnity.Behaviours.Weapons
{
public class Spas12 : Weapon
{
public override AnimId AimAnim {
get {
return new AnimId (AnimGroup.Buddy, AnimIndex.buddy_fire);
}
}
}
}
| 13.5 | 62 | 0.725926 | [
"MIT"
] | Almahmudrony/SanAndreasUnity | Assets/Scripts/Behaviours/Weapons/Spas12.cs | 272 | C# |
// <auto-generated />
using System;
using DA.ProjectManagement.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueCon... | 37.101031 | 125 | 0.447524 | [
"MIT"
] | anthonynguyen92/DoAn | aspnet-core/src/DA.ProjectManagement.EntityFrameworkCore/Migrations/20200806103525_Add_Student_Table_Teacher_Table.Designer.cs | 71,978 | 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 may ... | 34.398773 | 107 | 0.537542 | [
"ECL-2.0",
"Apache-2.0"
] | bastie/NetSpider | NetVampiro/java/util/TimeZone.cs | 11,214 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using CM = Models.Common;
using Utilities;
using CTIServices;
using Data;
using EntityContext = Data.CTIEntities;
using Factories;
namespace CTI.Directory.Areas.Admin.Controllers
{... | 33.252174 | 261 | 0.615063 | [
"Apache-2.0"
] | CredentialEngine/CredentialFinderEditor | Directory/Areas/Admin/Controllers/SiteController.cs | 3,826 | C# |
using System;
namespace Shamisen.Codecs.Native.Flac.LibFLAC
{
public enum FLAC__StreamEncoderSeekStatus
{
FLAC__STREAM_ENCODER_SEEK_STATUS_OK,
FLAC__STREAM_ENCODER_SEEK_STATUS_ERROR,
FLAC__STREAM_ENCODER_SEEK_STATUS_UNSUPPORTED,
}
}
| 22.5 | 53 | 0.766667 | [
"Apache-2.0"
] | MineCake147E/MonoAudio | Codecs/Shamisen.Codecs.Native.FLAC/LibFLAC/FLAC__StreamEncoderSeekStatus.cs | 270 | C# |
using System;
namespace TechTalk.SpecFlow.Assist.ValueRetrievers
{
public class NullableBoolValueRetriever : NullableValueRetriever<bool?>
{
private readonly Func<string, bool> boolValueRetriever;
public NullableBoolValueRetriever()
: this(v => new BoolValueRetriever().Ge... | 28.76 | 88 | 0.616134 | [
"Apache-2.0",
"MIT"
] | Artur-Laskowski/SpecFlow | TechTalk.SpecFlow/Assist/ValueRetrievers/NullableBoolValueRetriever.cs | 721 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Bastis.Common
{
public class Enums
{
public enum MenuOptions
{
Administration = 1,
Configuration = 2,
Agencies = 3,
Properties = 4,
Agents ... | 20.615385 | 34 | 0.481343 | [
"MIT"
] | JuanCarlosReyesGuerrero/BastisProjects-AdminLte | Bastis.Web/Common/Enums.cs | 538 | C# |
using System.Security.Claims;
namespace WorkflowMaxOAuth2Sample.Extensions
{
public static class ClaimsPrincipalExtensions
{
public static string XeroUserId(this ClaimsPrincipal claims)
{
return claims.FindFirstValue("xero_userid");
}
}
}
| 22.230769 | 68 | 0.688581 | [
"MIT"
] | Olyshka/workflowmax-dotnetcore-oauth2-sample | WorkflowMaxOAuth2Sample/Extensions/ClaimsPrincipalExtensions.cs | 291 | C# |
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Driver;
using MongoDB.Labs.Search;
namespace Mongo.LuceneQuery
{
public sealed class LuceneSearchDefinition<TDocument> : SearchDefinition<TDocument>
{
private readonly FieldDefinition<TDocument> defaultPath;
private readonly L... | 31.414634 | 136 | 0.65528 | [
"MIT"
] | SebastianStehle/MongoSearchTest | Mongo.LuceneQuery/LuceneSearchDefinition.cs | 1,290 | C# |
//********************************* bs::framework - Copyright 2018-2019 Marko Pintera ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
using System;
using System.Runtime.CompilerServices;
namespace bs
{
... | 36.081081 | 125 | 0.588764 | [
"MIT"
] | Alan-love/bsf | Source/Scripting/bsfSharp/GUI/LocString.cs | 1,337 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ComponentModel;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> The deployment type of the Dynamics instance. 'Online' fo... | 50.941176 | 235 | 0.706313 | [
"MIT"
] | AzureDataBox/azure-sdk-for-net | sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/DynamicsDeploymentType.cs | 2,598 | C# |
using System;
namespace Ganss.Excel
{
/// <summary>
/// Attribute which specifies that the formula result instead of the formula should be mapped.
/// This applies only to string properties, as for all other types the result will be mapped.
/// </summary>
/// <seealso cref="System.Attribute" />
... | 32 | 98 | 0.697917 | [
"MIT"
] | BeyondMySouls/ExcelMapper | ExcelMapper/Attributes/FormulaResultAttribute.cs | 482 | C# |
/* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | 37.366667 | 121 | 0.637377 | [
"Apache-2.0"
] | FDYdarmstadt/BoSSS | src/L4-application/CutCellQuadrature/ScalarFieldQuadrature.cs | 2,185 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VariableInHexadecimalFormat
{
class Program
{
static void Main(string[] args)
{
string hexValue = Console.ReadLine();
int decValue = Convert.To... | 20 | 57 | 0.6375 | [
"MIT"
] | valkin88/Technologies-Fundamentals | Programming Fundamentals/Program Fundamentals - Data Types and Variables - Exercises/VariableInHexadecimalFormat/VariableInHexadecimalFormat/Program.cs | 402 | C# |
using System;
using System.Collections;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Security;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Graph.PowerSh... | 42.447347 | 160 | 0.547367 | [
"MIT"
] | JeffBley/msgraph-sdk-powershell | src/Authentication/Authentication/Cmdlets/InvokeMgGraphRequest.cs | 51,998 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Crass.Plugin.ARCGameEngine
{
public struct IndexEntryHeaderBIN
{
public UInt32 EntriesCount;
}
}
| 16.333333 | 37 | 0.729592 | [
"BSD-3-Clause"
] | MaiReo/crass-csharp | src/cui/Crass.Plugin.ARCGameEngine/Index/IndexEntryHeaderBIN.cs | 198 | C# |
namespace MechanicGrip.Suits
{
public class StandardSuit
{
public static string ClubsName = "Clubs";
public static string SpadesName = "Spades";
public static string HeartsName = "Hearts";
public static string DiamondsName = "Diamonds";
public static char HeartsSymbol =... | 37.714286 | 78 | 0.670455 | [
"MIT"
] | kgiszewski/MechanicGrip | src/MechanicGrip/Suits/StandardSuit.cs | 794 | C# |
using FastReport.Utils;
namespace FastReport.Table
{
partial class TableBase
{
#region Private Methods
/// <summary>
/// Does nothing
/// </summary>
/// <param name="e"></param>
partial void DrawDesign(FRPaintEventArgs e);
/// <summary>
/// Doe... | 24.853659 | 69 | 0.537782 | [
"MIT"
] | EasyLOB/FastReport | FastReport.OpenSource/Table/TableBase.Core.cs | 1,021 | C# |
namespace Sdl.Web.Tridion.Templates.R2.Data
{
/// <summary>
/// Represents the settings for <see cref="DataModelBuilder"/>
/// </summary>
public class DataModelBuilderSettings
{
/// <summary>
/// Gets or sets the depth that Component/Keyword links should be expanded (on CM-side)
... | 29.96 | 95 | 0.58478 | [
"Apache-2.0"
] | kunalshetye/dxa-content-management | Sdl.Web.Tridion.Templates.R2/Data/DataModelBuilderSettings.cs | 751 | C# |
using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
namespace WebApplication.Data.Migrations
{
public partial class CreateIdentitySchema : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuild... | 42.199074 | 109 | 0.478003 | [
"MIT"
] | AGiorgetti/AngularConf2016 | WebService/Data/Migrations/00000000000000_CreateIdentitySchema.cs | 9,115 | C# |
#region
using System.Collections.Generic;
using System.Globalization;
using System.Text.RegularExpressions;
using static HearthDb.Enums.CardSet;
#endregion
namespace HearthDb.CardIdGenerator
{
internal class Helper
{
internal static readonly Dictionary<string, string> SpecialPrefixes = new Dictionary<string, str... | 23.103448 | 102 | 0.594925 | [
"MIT"
] | Phoenixy/Hearthstone | HearthDb.CardIdGenerator/Helper.cs | 3,350 | C# |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFabr... | 41.127273 | 126 | 0.600354 | [
"MIT"
] | Bhaskers-Blu-Org2/service-fabric-client-dotnet | src/Microsoft.ServiceFabric.Powershell.Http/Generated/RemoveBackupPolicyCmdlet.cs | 2,262 | C# |
using System.Reflection;
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 with an assembly.
[assembly: AssemblyTitle("EmployeeManager")]... | 39.714286 | 96 | 0.753147 | [
"MIT"
] | PacktPublishing/Modernizing-Your-Windows-Applications-with-the-Windows-Apps-SDK-and-WinUI | Chapter07/WPF/EmployeeManager/Properties/AssemblyInfo.cs | 2,227 | C# |
using SporeMods.Core;
using SporeMods.Core.Injection;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows;
namespace SporeMods.Co... | 36.97619 | 163 | 0.533622 | [
"MIT"
] | plencka/Spore-Mod-Manager | SporeMods.CommonUI/Localization/LanguageManager.cs | 10,873 | C# |
// <auto-generated>
// 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
// re... | 45.752178 | 305 | 0.56648 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/azurestack/Microsoft.AzureStack.Management.Storage.Admin/src/Generated/StorageAccountsOperations.cs | 47,262 | C# |
/*
* Copyright 2019-2021 Robbyxp1 @ github.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 44.955056 | 147 | 0.623344 | [
"Apache-2.0"
] | OpenTK-Foundation-Classes/OFC | OFC/GL4/BasicTypes/GLRenderBuffer.cs | 3,915 | C# |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.BOT.Models
{
// 设备类型
public class Device : TeaModel {
// 设备实体唯一Id
[NameInMap("device_id")]
[Validation(Required=true)]
publ... | 26.278689 | 143 | 0.509981 | [
"MIT"
] | alipay/antchain-openapi-prod-sdk | bot/csharp/core/Models/Device.cs | 3,602 | C# |
using System.Windows.Forms;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.ComponentModel;
using DevExpress.Mvvm.UI.Interactivity;
using DevExpress.Mvvm.UI.Native;
namespace DevExpress.Mvvm.UI.Native {
public int... | 46.888889 | 137 | 0.668246 | [
"MIT"
] | QuinnBryant/DevExpress.Mvvm.Free | DevExpress.Mvvm.UI/Services/SaveFileDialogService.cs | 4,642 | C# |
namespace formulate.app.Forms.Fields.ExtendedRadioButtonList
{
/// <summary>
/// An individual item used by <see cref="ExtendedRadioButtonListField"/>.
/// </summary>
public class ExtendedRadioButtonListItem
{
/// <summary>
/// Gets or sets a value indicating whether this item is se... | 27.916667 | 78 | 0.559701 | [
"MIT"
] | rhythmagency/formulate | src/formulate.app/Forms/Fields/ExtendedRadioButtonList/ExtendedRadioButtonListItem.cs | 672 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
class M
{
static int[] Read() => Console.ReadLine().Split().Select(int.Parse).ToArray();
static void Main()
{
var h = Read();
int d = h[0], l = h[1], n = h[2];
var c = Read();
var people = new int[n].Select(_ => Read()).ToArray(... | 23.831169 | 80 | 0.501907 | [
"MIT"
] | sakapon/AtCoder-Contests | CSharp/PAST/PAST202004/M.cs | 1,977 | C# |
// Simple Scroll-Snap
// Version: 1.2.0
// Author: Daniel Lochner
using System;
using UnityEngine;
using UnityEngine.UI;
namespace DanielLochner.Assets.SimpleScrollSnap
{
public class DynamicContentController : MonoBehaviour
{
#region Fields
[SerializeField]
protected GameObject panel... | 29.186047 | 181 | 0.544622 | [
"Unlicense"
] | 23SAMY23/Drift-Into-Space | Drift Into Space/Assets/Simple Scroll-Snap/Examples/Example 5 (Dynamic Content)/Scripts/DynamicContentController.cs | 2,512 | C# |
using System;
using System.ComponentModel;
namespace MsSystem.Web.Areas.WF.ViewModel
{
public class FormPageDto
{
public Guid FormId { get; set; }
public string FormName { get; set; }
/// <summary>
/// 流程名称
/// </summary>
public string FlowName { get; set; }
... | 25.75 | 48 | 0.568655 | [
"MIT"
] | SpoonySeedLSP/BPM-ServiceAndWebApps | src/Web/MVC/Controllers/MsSystem.Web.Areas.WF/ViewModel/FormDto.cs | 731 | 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 System.ComponentModel;
using System.Linq;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
us... | 44.289238 | 170 | 0.667747 | [
"MIT"
] | AndrewTriesToCode/aspnetcore | src/Identity/EntityFrameworkCore/src/RoleStore.cs | 19,753 | C# |
using System.Web;
using System.Web.Mvc;
namespace PushServe.Api
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
} | 20.384615 | 80 | 0.656604 | [
"MIT"
] | bczang2/PushServe | PushServe.Api/App_Start/FilterConfig.cs | 267 | C# |
namespace GreatQuotes
{
public interface ITextToSpeech
{
void Speak(string text);
}
}
| 13.375 | 34 | 0.626168 | [
"MIT"
] | BicycleMark/XAM-250 | Exercise 2/Completed/GreatQuotes.Data/ITextToSpeech.cs | 109 | 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.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAn... | 50.44697 | 233 | 0.690344 | [
"Apache-2.0"
] | DaiMichael/roslyn | src/Features/CSharp/Portable/SignatureHelp/InvocationExpressionSignatureHelpProvider.cs | 6,661 | C# |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Lightup
{
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.Code... | 42.84878 | 176 | 0.702641 | [
"MIT"
] | AraHaan/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/Lightup/.generated/StyleCop.Analyzers.CodeGeneration/StyleCop.Analyzers.CodeGeneration.SyntaxLightupGenerator/ForEachVariableStatementSyntaxWrapper.g.cs | 8,786 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Text;
namespace CodeWars
{
/// <see cref="https://www.codewars.com/kata/54b724efac3d5402db00065e"/>
[TestClass]
public class DecodeTheMorseCode
{
[TestMethod]
public void Test()
{
Assert.AreEqual("HEY J... | 24.255319 | 76 | 0.480702 | [
"MIT"
] | Hyolog/CodeWars | CodeWars/CodeWars/DecodeTheMorseCode.cs | 1,140 | C# |
//using System;
//using System.Collections.Generic;
//using System.Text;
//namespace Discord.Addons.MpGame.Remotes
//{
// /// <summary>
// ///
// /// </summary>
// /// <typeparam name="TGame">
// /// The type of game that is managed.
// /// </typeparam>
// /// <typeparam name="TPlayer">
// ... | 26.304348 | 110 | 0.583471 | [
"MIT"
] | Joe4evr/Discord.Addons | src/Discord.Addons.MpGame.ShardedBridge/Remotes/RemoteMpGameClient.cs | 607 | C# |
// <copyright file="BDDLoggingTimeEventHandlers.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... | 48.791667 | 209 | 0.765158 | [
"Apache-2.0"
] | alexandrejulien/BELLATRIX | src/Bellatrix.Desktop/eventhandlers/BddLogging/BDDLoggingTimeEventHandlers.cs | 1,173 | 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("NSC_TournamentGen.Core")]
[assembly: Asse... | 39.342857 | 84 | 0.744372 | [
"MIT"
] | Eperty123/NSC-TournamentGen | NSC-TournamentGen.Core/Properties/AssemblyInfo.cs | 1,380 | 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 ... | 45.235294 | 189 | 0.774599 | [
"Apache-2.0"
] | AxiosCros/aliyun-openapi-net-sdk | aliyun-net-sdk-rtc/Rtc/Transform/V20180111/DescribeRtcScaleDetailResponseUnmarshaller.cs | 2,307 | C# |
using Xunit;
using Exercism.Tests;
public class RemoteControlCarTests
{
[Fact]
public void New_remote_control_car_has_not_driven_any_distance()
{
int speed = 10;
int batteryDrain = 2;
var car = new RemoteControlCar(speed, batteryDrain);
Assert.Equal(0, car.DistanceDriven())... | 26.612022 | 78 | 0.609651 | [
"MIT"
] | 18-F-cali/csharp | exercises/concept/need-for-speed/NeedForSpeedTests.cs | 4,870 | C# |
namespace Agebull.Common.Logging
{
/// <summary>
/// 日志类型
/// </summary>
public enum LogLevel
{
/// <summary>
/// 无
/// </summary>
None,
/// <summary>
/// 调试信息
/// </summary>
Debug,
/// <summary>
/// 跟踪信息
... | 26.455357 | 74 | 0.399595 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | agebullhu/EntityModel | src/LogRecorder/Logging/LogLevel.cs | 3,043 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace StoreAPI.Service.Migrations
{
public partial class addname : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Name",
table... | 30.355556 | 94 | 0.486091 | [
"MIT"
] | CardCram/project.p2 | aspnet_api_store/StoreAPI.Service/Migrations/20210202235501_addname.cs | 1,368 | C# |
// ************************************************************************
//
// * Copyright 2017 OSIsoft, 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... | 30.684211 | 136 | 0.676244 | [
"Apache-2.0"
] | raouldke/PI-Web-API-Client-DotNet | src/OSIsoft.PIDevClub.PIWebApiClient/OSIsoft.PIDevClub.PIWebApiClient/Model/PIItemEventFrame.cs | 2,332 | C# |
using System;
using UnityEngine;
public class Pause : MonoBehaviour
{
[SerializeField] private Canvas _pauseMenu;
[SerializeField] private CursorManager _cursorManager;
[SerializeField] private bool _isPaused;
private bool _hasReleased;
private void Update()
{
if (Math.Abs(Input.... | 23.484848 | 72 | 0.592258 | [
"Unlicense"
] | doovagames/A-Way-Home-Final-Game | A Way Home/Assets/Scripts/Player/Pause.cs | 777 | 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.708333 | 181 | 0.604234 | [
"MIT"
] | manuelbl/WirekiteWin | Examples/VoltageSampling/VoltageSampling/Properties/Resources.Designer.cs | 2,789 | C# |
namespace NEventStore.Client
{
using System;
using System.Threading;
using System.Threading.Tasks;
internal static class TaskHelpers
{
internal static Task Delay(double milliseconds, CancellationToken cancellationToken)
{
var tcs = new TaskCompletionSource<bool>();
T... | 35.6875 | 140 | 0.544308 | [
"MIT"
] | dementeddevil/NEventStore | src/NEventStore/Client/TaskHelpers.cs | 2,857 | C# |
using System;
using System.Reflection;
namespace MacroFramework.Commands {
/// <summary>
/// <see cref="Attribute"/> for easily creating a <see cref="TimerActivator"/>
/// </summary>
public class TimerActivatorAttribute : ActivatorAttribute {
private int delay;
private TimeUnit unit;
... | 38.548387 | 113 | 0.637657 | [
"MIT"
] | porrasm/macro-framework | MacroFrameworkLibrary/Commands/Attributes/TimerActivatorAttribute.cs | 1,197 | C# |
#if WITH_GAME
#if PLATFORM_32BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
public partial class UMaterialExpressionTransformPosition
{
static readonly int Input__Offset;
public FExpressionInput Input
{
get{ CheckIsValid();return (FExp... | 34.042553 | 171 | 0.808125 | [
"MIT"
] | RobertAcksel/UnrealCS | Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Game_32bits/UMaterialExpressionTransformPosition_FixSize.cs | 1,600 | C# |
using System.Net;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Oqtane.Extensions;
namespace Oqtane.Pages
{
[AllowAnonymous]
[IgnoreAntiforgeryToken]
public class ExternalModel : PageMode... | 32.163265 | 175 | 0.564721 | [
"MIT"
] | dkoeder/oqtane.framework | Oqtane.Server/Pages/External.cshtml.cs | 1,576 | C# |
using System.Threading.Tasks;
using System;
using System.Collections.Generic;
using System.Threading;
using Narochno.Jenkins.Entities;
using Narochno.Jenkins.Entities.Builds;
using Narochno.Jenkins.Entities.Jobs;
using Narochno.Jenkins.Entities.Views;
using Narochno.Jenkins.Entities.Users;
namespace Narochn... | 70.902439 | 145 | 0.755074 | [
"MIT"
] | db2222/Narochno.Jenkins | src/Narochno.Jenkins/IJenkinsClient.cs | 2,909 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LiteDB;
using IFCLite.Data;
namespace IFCLite.Access
{
public class IFCDelete
{
private IFCDatabase Database { get; set; }
public IFCDelete(IFCDatabase Database) { this.Dat... | 32.95082 | 119 | 0.535323 | [
"MIT"
] | J-YingHuang/IFCLite | src/Access/IFCDelete.cs | 2,184 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Linq;
using Microsoft.Bot.Builder.Dialogs.Choices;
using Microsoft.Bot.Connector;
using Microsoft.Bot.Schema;
using Xunit;
namespace Microsoft.Bot.Builder.Dialogs.Tests
{
... | 50.263441 | 152 | 0.646807 | [
"MIT"
] | Alpharceus/botbuilder-dotnet | tests/Microsoft.Bot.Builder.Dialogs.Tests/ChoiceFactoryTests.cs | 9,351 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DailyTimeScheduler.Model
{
public class TimeBlock
{
/// <summary>
/// PK Unique TimeBlock Number in DB
/// </summary>
[Key]
public int No { get; set... | 29.85 | 93 | 0.567281 | [
"MIT"
] | GoodSSenDev/DailyTimeScheduler | DailyTimeScheduler.Model/TimeBlock.cs | 1,793 | C# |
//------------------------------------------------------------------------------
// 此代码版权(除特别声明或在RRQMCore.XREF命名空间的代码)归作者本人若汝棋茗所有
// 源代码使用协议遵循本仓库的开源协议及附加协议,若本仓库没有设置,则按MIT开源协议授权
// CSDN博客:https://blog.csdn.net/qq_40374647
// 哔哩哔哩视频:https://space.bilibili.com/94253567
// Gitee源代码仓库:https://gitee.com/RRQM_Home
// Gi... | 41.722628 | 135 | 0.591935 | [
"Apache-2.0"
] | RRQM/RRQMCore | RRQMCore/XREF/Newtonsoft.Json/Schema/JsonSchemaWriter.cs | 11,646 | C# |
namespace KalosfideAPI.Sécurité
{
public class ConnectionVue
{
public string UserName { get; set; }
public string Password { get; set; }
public bool Persistant { get; set; }
}
}
| 21.5 | 44 | 0.609302 | [
"MIT"
] | kalosfide/KalosfideAPI | KalosfideAPI/Utilisateurs/ConnectionVue.cs | 219 | C# |
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gridgain.com/products/software/community-editio... | 33.076923 | 102 | 0.74186 | [
"CC0-1.0"
] | Diffblue-benchmarks/Gridgain-gridgain | modules/platforms/dotnet/Apache.Ignite.Core/PersistentStore/Package-Info.cs | 862 | C# |
#region License
//
// Author: Joe McLain <nmp.developer@outlook.com>
// Copyright (c) 2015, Joe McLain and Digital Writing
//
// Licensed under Eclipse Public License, Version 1.0 (EPL-1.0)
// See the file LICENSE.txt for details.
//
#endregion
#region Generated
//
// This file was generated by a tool on 9/10/2015 9... | 24.405405 | 79 | 0.589147 | [
"EPL-1.0"
] | gitsharper/SharpHtml | SharpHtml/src/Tags/Others/Dialog.cs | 903 | C# |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... | 42.264706 | 280 | 0.754349 | [
"MIT"
] | Ethereal77/stride | sources/editor/Stride.Core.Assets.Editor/ViewModel/CopyPasteProcessors/PasteProcessorBase.cs | 1,437 | C# |
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using S... | 45.410194 | 179 | 0.578599 | [
"MIT"
] | misenhower/WPRemote | CommonLibraries/Libraries/Microsoft.Phone.Controls.Toolkit/Microsoft.Phone.Controls.Toolkit.WP8/Input/GestureListenerStatic.cs | 18,711 | C# |
namespace Daily_Account
{
partial class UpdateSuppiers
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 66.235993 | 177 | 0.617615 | [
"MIT"
] | aliashfak178/Daily-Account | Daily Account/UpdateSuppiers.Designer.cs | 39,015 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Form1
{
static class Program
{
/// <summary>
/// Punto de entrada principal para la aplicación.
/// </summary>
[STAThread]
static void ... | 22.130435 | 65 | 0.611002 | [
"MIT"
] | jo3l17/CodiGo3 | Backend/Semana8/Dia2/Form1/Form1/Program.cs | 512 | C# |
using System;
using System.Runtime.Serialization;
namespace KeyboardSwitch.Core.Settings
{
[DataContract]
public sealed class CustomLayoutSettings
{
[DataMember]
public int Id { get; set; }
[DataMember]
public string Name { get; set; } = String.Empty;
[DataMember]
... | 20.315789 | 57 | 0.621762 | [
"MIT"
] | TolikPylypchuk/KeyboardSwitch | KeyboardSwitch.Core/Settings/CustomLayoutSettings.cs | 386 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MyUnityEventDispatcher;
namespace LinHoweShuffle
{
/// <summary>
/// 牌库
/// </summary>
public class Pukes
{
public int[] pukes;
public Pukes(int size)
{
pukes = new int[size];
... | 27.430556 | 78 | 0.460253 | [
"MIT"
] | IceLanguage/LinHowe_GameAlgorithm | Assets/Scripts/03-shuffle/DataStructure/Pukes.cs | 2,023 | C# |
using System.Collections.Generic;
namespace UniVRM10
{
/// <summary>
/// 1フレーム分の Expression を蓄える
/// </summary>
public interface IExpressionAccumulator
{
/// <summary>
/// 開始時に初期化する
/// </summary>
/// <param name="avatar"></param>
void OnStart(VRM10Expression... | 32.050847 | 117 | 0.63247 | [
"MIT"
] | nowsprinting/UniVRM | Assets/VRM10/Runtime/Components/Expression/IExpressionAccumulator.cs | 1,965 | C# |
using AppKit;
namespace SkiaSharpSample.macOS
{
static class MainClass
{
static void Main(string[] args)
{
NSApplication.Init();
NSApplication.SharedApplication.Delegate = new App();
NSApplication.Main(args);
}
}
}
| 15.8 | 56 | 0.700422 | [
"MIT"
] | AlexanderSemenyak/SkiaSharp | samples/Basic/Uno/SkiaSharpSample.macOS/Main.cs | 239 | C# |
using BizHawk.Common;
namespace BizHawk.Emulation.Cores.Nintendo.NES
{
public sealed class NES_QJ : MMC3Board_Base
{
//state
int block;
public override void SyncState(Serializer ser)
{
base.SyncState(ser);
ser.Sync(nameof(block), ref block);
}
public override void WritePRG(int addr... | 23.641791 | 103 | 0.650884 | [
"MIT"
] | Diefool/BizHawk | BizHawk.Emulation.Cores/Consoles/Nintendo/NES/Boards/MMC3_family/NES-QJ.cs | 1,584 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using SVM.Flags;
namespace SVM
{
class VM
{
public const int REGISTERS = 4;
public const int PORTS = 255;
public const int STACKDEPTH = 16;
public const int MEMSIZE = 0xFFFF;
pub... | 30.512821 | 124 | 0.436807 | [
"BSD-3-Clause"
] | sam159/SVM | SVM/VM.cs | 5,952 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
namespace Viajante.Shared.Infrastructure.Swagger
{
internal static class Extensions
{
public static IServiceCollection AddSwagger(this IServiceC... | 34.714286 | 124 | 0.588477 | [
"MIT"
] | svasorcery/travel-agency | src/Shared/Viajante.Shared.Infrastructure/Swagger/Extensions.cs | 1,703 | C# |
// Copyright (c) MOSA Project. Licensed under the New BSD License.
// This code was generated by an automated template.
namespace Mosa.Compiler.Framework.IR
{
/// <summary>
/// Switch
/// </summary>
/// <seealso cref="Mosa.Compiler.Framework.IR.BaseIRInstruction" />
public sealed class Switch : BaseIRInstruction... | 21.869565 | 80 | 0.685885 | [
"BSD-3-Clause"
] | TekuSP/MOSA-Project | Source/Mosa.Compiler.Framework/IR/Switch.cs | 503 | C# |
using Microsoft.IdentityModel.Tokens;
using Moq;
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using Nito.AsyncEx;
using Newtonsoft.Json;
namespace Domain0.Api.Client.Test
{
internal class TestContext
{
internal Mock<IDomain0Client> ClientMock;
internal Moc... | 38.979592 | 145 | 0.619372 | [
"MIT"
] | LavrentyAfanasiev/domain0 | tests/Domain0.Api.Client.Test/TestContext.cs | 3,822 | C# |
using Prism.Commands;
using RaiseHand.Core.Navigation;
using RaiseHand.Core.SignalR;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
namespace RaiseHand.Core.ViewModels
{
public class MainWindowViewModel
{
private INavigation _navigation;
public ICommand LoadedCom... | 31.028571 | 101 | 0.635359 | [
"MIT"
] | kevmoens/RaiseHand | RaiseHand.Core/ViewModels/MainWindowViewModel.cs | 1,088 | C# |
// Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Newtonsoft.Json;
using Newtonsoft.J... | 42.247093 | 149 | 0.552811 | [
"MIT"
] | NikolayPianikov/common | source/Nuke.Common/Tooling/NuGetPackageResolver.cs | 14,533 | C# |
using System;
using System.ComponentModel;
using System.Windows.Input;
namespace DevExpress.Mvvm.UI.Native {
public class CanExecuteChangedEventHandler<TOwner> : WeakEventHandler<TOwner, EventArgs, EventHandler> where TOwner : class {
static Action<WeakEventHandler<TOwner, EventArgs, EventHandler>, object>... | 43.411765 | 129 | 0.684282 | [
"MIT"
] | DevExpress/DevExpress.Mvvm.Free | DevExpress.Mvvm.UI/Native/CanExecuteChangedEventHandler.cs | 738 | C# |
/*
* Copyright (c) 2014-2020 GraphDefined GmbH
* This file is part of WWCP OCPP <https://github.com/OpenChargingCloud/WWCP_OCPP>
*
* 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
*
* ... | 35.84219 | 249 | 0.51222 | [
"Apache-2.0"
] | phoompat/WWCP_OCPP | WWCP_OCPPv1.6/Messages/ChargePoint/UpdateFirmwareRequest.cs | 22,260 | C# |
using System;
using JetBrains.Annotations;
using PCG.Terrain.Core.Components;
using Unity.Collections;
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
using UnityEngine.Assertions;
namespace PCG.Terrain.Core.Systems
{
public sealed class IdentifyChange
{
public delegate int2 OnCh... | 36.944444 | 127 | 0.643609 | [
"MIT"
] | ErikMoczi/Unity.ProceduralContentGeneration-Terrain | Assets/PCG.Terrain/Core/Systems/IdentifyChange.cs | 3,990 | C# |
using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x100b_1a6c-1aceb1c0")]
public void Method_100b_1a6c()
{
ii(0x100b_1a6c, 5); push(0x24); ... | 65.358974 | 114 | 0.400549 | [
"Apache-2.0"
] | mikhail-khalizev/max | source/MikhailKhalizev.Max/source/Program/Auto/z-100b-1a6c.cs | 2,549 | 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 Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Testing;
using Test.Utilities;
using Xunit;
namespace Microsoft.CodeQuality.Analyzers.... | 25.147233 | 170 | 0.650949 | [
"Apache-2.0"
] | nathanstocking/roslyn-analyzers | src/Microsoft.CodeQuality.Analyzers/UnitTests/Maintainability/ReviewUnusedParametersTests.cs | 25,449 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using AspNetCoreRestFull.Core.Models;
namespace AspNetCoreRestFull.Core.Services
{
public interface ICariKartService: IService<CariKart>
{
Task<CariKart> GetWithSirketByIdAsync(int cariKartId);
Tas... | 28.318182 | 62 | 0.754414 | [
"MIT"
] | gulsenkeskin/AspNetCoreRestFullAPI1 | AspNetCoreRestFull.Core/Services/ICariKartService.cs | 623 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace YeeLightAPI
{
namespace YeeLightExceptions
{
public static class Exceptions
{
[Serializable]
public class DeviceIsNotConnected : Exception
{
//TODO: add something he... | 21.870968 | 63 | 0.522124 | [
"MIT"
] | Aytackydln/yeelight-api-csharp | YeeLightAPI/YeeLightAPI/YeeLightExceptions.cs | 680 | C# |
using MessagePublisher.DTO;
using RabbitMQ.Client;
namespace MessagingService
{
public interface IMessagePublisher
{
IBasicProperties CreateBasicProperties();
void SendMessage(IMessage messageToSend, IBasicProperties props);
}
}
| 21.583333 | 73 | 0.749035 | [
"MIT"
] | fupn26/ProjectManager_Onlab_2021 | src/ProjectService/MessagePublisher/IMessagePublisher.cs | 261 | C# |
namespace Cognition.Documents.Entity.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
public class Configuration : DbMigrationsConfiguration<Cognition.Documents.Entity.TypeContext>
{
public Configuration()
{
... | 32.03125 | 98 | 0.565854 | [
"MIT"
] | mdsol/cognition | Cognition.Documents.Entity/Migrations/Configuration.cs | 1,025 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace JqGridHelper.Utils
{
public class StronglyTyped : ExpressionVisitor
{
public static string PropertyName<TEntity>(Expression<Func<TEntity, object>> expression)
{
return new St... | 28.257143 | 96 | 0.605662 | [
"MIT"
] | saeed-m/N-Tier | JqGridHelper/Utils/StronglyTyped.cs | 991 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalys... | 39.818182 | 124 | 0.744292 | [
"MIT"
] | 06needhamt/roslyn | src/EditorFeatures/Core.Wpf/Suggestions/SuggestedActions/CodeRefactoringSuggestedAction.cs | 1,316 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CardField : MonoBehaviour
{
public GameObject obj;
private List<CardObject> cards;
// Start is called before the first frame update
void Start()
{
cards = new List<CardObject>();
// プレハブを元... | 27.225806 | 108 | 0.577014 | [
"Unlicense"
] | koukinauglobe/Making_a_card_game_in_Unity | Project/Assets/CardField.cs | 882 | C# |
// Python Tools for Visual Studio
// 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
//... | 38.217391 | 117 | 0.629977 | [
"Apache-2.0"
] | awesome-archive/PTVS | Python/Product/TestAdapter/TestMethodResolver.cs | 3,516 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.LanguageServer.Client;
using Microsoft.VisualStudio.Utilities;
namespace Microso... | 39.931034 | 127 | 0.71848 | [
"Apache-2.0"
] | devlead/aspnetcore-tooling | src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/RazorLSPContentTypeDefinition.cs | 1,160 | C# |
#region Copyright 2014 Exceptionless
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// http://w... | 32.203125 | 145 | 0.567686 | [
"Apache-2.0"
] | mahizsas/Exceptionless | Source/Models/Admin/Stack.cs | 4,124 | C# |
/*
* Developer: Ramtin Jokar [ Ramtinak@live.com ] [ My Telegram Account: https://t.me/ramtinak ]
*
* Github source: https://github.com/ramtinak/InstagramApiSharp
* Nuget package: https://www.nuget.org/packages/InstagramApiSharp
*
* IRANIAN DEVELOPERS
*/
using Newtonsoft.Json;
using System;
using System.Coll... | 26.326087 | 95 | 0.642444 | [
"MIT"
] | AMP-VTV/InstagramApiSharp | src/InstagramApiSharp/Classes/Models/Discover/InstaContact.cs | 1,213 | C# |
using System.Windows;
namespace AdventureWorks.Client.Wpf
{
/// <summary>
/// Interaction logic for MainView.xaml
/// </summary>
public partial class MainView : Window
{
public static void Start()
{
MainView main = new MainView();
Application.Current.MainWin... | 19.869565 | 50 | 0.533917 | [
"MIT"
] | Xomega-Net/Xomega.Examples | AdventureWorks/AdventureWorks.Client.Wpf/MainView.xaml.cs | 459 | C# |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... | 35.724138 | 107 | 0.745656 | [
"MIT"
] | TetradogOther/SharpDevelop | src/Main/ICSharpCode.SharpDevelop.BuildWorker35/MSBuild35.cs | 2,074 | C# |
using UnityEngine;
using UnityEditor;
namespace ItchyOwl.Editor
{
/// <summary>
/// Display a popup window with a text and a "OK" button to close the window.
/// </summary>
public class TextPopup : EditorWindow
{
private static string text;
public static void Display(string msg)
... | 23.709677 | 81 | 0.544218 | [
"MIT"
] | extraneus/general-unity-utilities | Editor/TextPopup.cs | 737 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.