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 |
|---|---|---|---|---|---|---|---|---|
//
// 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 FLAnimatedImage.Sample
{
[Register("ViewController")]
par... | 23.222222 | 81 | 0.691388 | [
"MIT"
] | Wenfengcheng/FLAnimatedImage_Xamarin | FLAnimatedImage/FLAnimatedImage.Sample/ViewController.designer.cs | 420 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 35.762452 | 109 | 0.585065 | [
"Apache-2.0"
] | KenHundley/aws-sdk-net | sdk/src/Services/Transfer/Generated/Model/DescribedUser.cs | 9,334 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System... | 40.684492 | 148 | 0.64511 | [
"Apache-2.0"
] | Sliptory/roslyn | src/VisualStudio/Core/Impl/Options/AbstractOptionPageControl.cs | 7,610 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Xamarin.Forms.Platform.Android;
using MyDataPick.Droid.Renderers;
using Xamarin.Forms;
using MyDataP... | 39.765199 | 131 | 0.486345 | [
"Apache-2.0"
] | Ling2048/Xamarin.CustomDatePick | MyDataPick/MyDataPick.Android/Renderers/ScrollMonthDateViewRenderer.cs | 19,688 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class MemoryController : MonoBehaviour {
//recursos
public Object[] fotos;
public Object[] noms;
public Object[] backs;
public O... | 32.80057 | 159 | 0.66629 | [
"Apache-2.0"
] | jordiprats/unity3d-memory | Assets/Scripts/MemoryController.cs | 11,515 | C# |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... | 25.754545 | 185 | 0.593717 | [
"MIT"
] | zxsean/DCET | Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapDCETModelC2M_ReloadWrapWrapWrapWrap.cs | 2,835 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 27.107143 | 88 | 0.679842 | [
"ECL-2.0",
"Apache-2.0"
] | AdminTurnedDevOps/pulumi-azure | sdk/dotnet/ContainerService/Outputs/KubernetesClusterAddonProfileAzurePolicy.cs | 759 | C# |
using System;
using System.Linq;
namespace QuickApp.ViewModels
{
public class PermissionViewModel
{
public string Name { get; set; }
public string Value { get; set; }
public string GroupName { get; set; }
public string Description { get; set; }
}
}
| 18.5625 | 47 | 0.619529 | [
"MIT"
] | yomi7117/Hospital-management-system | src/QuickApp/ViewModels/PermissionViewModel.cs | 299 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Ploeh.SemanticComparison
{
internal class ProxyType
{
private readonly ConstructorInfo constructor;
private readonly IEnumerable<object> parameters;
internal ProxyType(
... | 25.368421 | 64 | 0.576763 | [
"MIT"
] | TeaDrivenDev/AutoFixture | Src/SemanticComparison/ProxyType.cs | 966 | C# |
namespace Certes.Acme.Resource
{
/// <summary>
/// Represents status of <see cref="Identifier"/>.
/// </summary>
public static class IdentifierStatus
{
/// <summary>
/// The pending status.
/// </summary>
public const string Pending = "pending";
/// <summary... | 24.058824 | 54 | 0.50978 | [
"MIT"
] | AMEST/certes | src/Certes/Acme/Resource/IdentifierStatus.cs | 820 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TSqlStrong.TypeSystem;
using TSqlStrong.Symbols;
namespace TSqlStrong.Ast
{
public class ExpressionResult
{
private readonly ISymbolReference _symbolReference;
private read... | 38.290909 | 160 | 0.717949 | [
"MIT"
] | JSuder-xx/TSqlStrong | TSqlStrong/Ast/ExpressionResult.cs | 2,108 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Identity.Client.Core;
namespace Microsoft... | 38.630952 | 177 | 0.583873 | [
"MIT"
] | jspuij/microsoft-authentication-library-for-dotnet | src/client/Microsoft.Identity.Client/Http/HttpManager.cs | 9,737 | C# |
using com.hideakin.textsearch.net;
using System;
using System.Net;
namespace com.hideakin.textsearch.exception
{
public class UnrecognizedResponseException : Exception
{
public HttpStatusCode StatusCode { get; }
public string ResponseBody { get; }
public string StandardRe... | 27.043478 | 109 | 0.655949 | [
"MIT"
] | hnrt/TextSearch | TextSearchNet/exception/UnrecognizedResponseException.cs | 624 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// O código foi gerado por uma ferramenta.
// Versão de Tempo de Execução:4.0.30319.42000
//
// As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se
// o código for gerado ... | 41.916667 | 90 | 0.653082 | [
"MIT"
] | luiscelestino/CSharpMyExamples | Tuplas/obj/Release/netcoreapp2.1/Tuplas.AssemblyInfo.cs | 1,015 | C# |
// ----------------------------------------------------------------------------------------
// COPYRIGHT NOTICE
// ----------------------------------------------------------------------------------------
//
// The Source Code Store LLC
// ACTIVEGANTT SCHEDULER COMPONENT FOR C# - ActiveGant... | 44.941176 | 92 | 0.573953 | [
"MIT"
] | jluzardo1971/ActiveGanttCSW | AGCSW/ControlTemplateGradient.cs | 1,530 | C# |
#region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright not... | 44.128571 | 87 | 0.733247 | [
"Apache-2.0"
] | econmed/ImageServer20 | Enterprise/Hibernate/Properties/AssemblyInfo.cs | 3,091 | C# |
namespace Senparc.Weixin.WxOpen.AdvancedAPIs.Express
{
/// <summary>
///
/// </summary>
public class RealMockUpdateOrderModel
{
/// <summary>
/// 商家id, 由配送公司分配的appkey
/// </summary>
public string shopid { get; set; }
/// <summary>
/// 唯一标识订单的 ID,由商户生... | 25.828571 | 53 | 0.490044 | [
"Apache-2.0"
] | 554393109/WeiXinMPSDK | src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/AdvancedAPIs/Express/ExpressJson/RealMockUpdateOrderModel.cs | 1,052 | C# |
using Exceptionless.Core.Extensions;
using Exceptionless.Core.Utility;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Exceptionless.Core.Configuration;
public class EmailOptions {
public bool EnableDailySummary { get; internal set; }
/// <summary... | 39.413333 | 155 | 0.705007 | [
"Apache-2.0"
] | JohnZhaoXiaoHu/Exceptionless | src/Exceptionless.Core/Configuration/EmailOptions.cs | 2,958 | C# |
using System.Collections.Generic;
namespace Gsemac.Collections {
public interface INameValueCollection :
IDictionary<string, string> {
IEnumerable<string> GetValues(string key);
}
} | 17.583333 | 50 | 0.701422 | [
"MIT"
] | gsemac/Gsemac.Common | src/Gsemac.Collections/INameValueCollection.cs | 213 | C# |
using System;
using System.Globalization;
namespace Orckestra.Composer.Cart.Parameters
{
public class UpdateBillingAddressPostalCodeParam
{
public string BaseUrl { get; set; }
public string Scope { get; set; }
public CultureInfo CultureInfo { get; set; }
public Guid Customer... | 21.217391 | 52 | 0.639344 | [
"MIT"
] | InnaBoitsun/BetterRetailGroceryTest | src/Orckestra.Composer.Cart/Parameters/UpdateBillingAddressPostalCodeParam.cs | 490 | C# |
using Godot;
using System;
public class MainMenu : VBoxContainer
{
public override void _Ready()
{
}
public void MainScene()
{
GetTree().ChangeScene("res://Scenes/MainMenu.tscn");
}
public void Play()
{
GetTree().ChangeScene("res://Scenes/Game.tscn");
}
... | 14.692308 | 60 | 0.54712 | [
"MIT"
] | mimusangel/Ludunm-Dar-49 | Scripts/MainMenu.cs | 382 | C# |
namespace Dexter.Databases.FunTopics
{
/// <summary>
/// [risk of deprecation] The subtype a topic falls into. Can be of type TOPIC or WOULDYOURATHER.
/// </summary>
public enum TopicType
{
/// <summary>
/// A topic that initiates a random, unprompted conversation, generally by asking an open question.
/... | 20.568182 | 133 | 0.667403 | [
"MIT"
] | FeroxFoxxo/Dexter | Dexter/Databases/FunTopics/TopicType.cs | 907 | C# |
using Sharpen;
namespace gov.nist.javax.sip.stack
{
[Sharpen.NakedStub]
internal class IOHandler
{
}
}
| 10.8 | 34 | 0.731481 | [
"Apache-2.0"
] | Conceptengineai/XobotOS | android/naked-stubs/gov/nist/javax/sip/stack/IOHandler.cs | 108 | C# |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | 57.946316 | 180 | 0.655362 | [
"BSD-3-Clause"
] | UbitUmarov/OpenSim | OpenSim/Region/PhysicsModules/BulletS/BSParam.cs | 55,049 | C# |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class animAnimStateTransitionCondition_Timed : animIAnimStateTransitionCondition
{
[Ordinal(0)] [RED("timeToFireTransition")] public CFloat TimeToFireTransitio... | 29.5 | 125 | 0.760593 | [
"MIT"
] | Eingin/CP77Tools | CP77.CR2W/Types/cp77/animAnimStateTransitionCondition_Timed.cs | 457 | C# |
namespace Silver
{
public class Expenditure : Entity
{
private string name;
public string Name
{
get => name;
set
{
if (value == name) return;
name = value;
OnPropertyChanged();
}
}
... | 17.210526 | 42 | 0.394495 | [
"MIT"
] | liveinmegacity/Silver | Silver/Models/Expenditure.cs | 327 | C# |
//
// ITagCollection.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), t... | 36.8 | 97 | 0.738451 | [
"MIT"
] | nanase/Sharp98 | Sharp98/Interface/ITagCollection.cs | 1,514 | C# |
using EasyManager.Domain.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace EasyManager.Infra.Data.Mapping
{
public class PurchaseMap : IEntityTypeConfiguration<Purchase>
{
public void Configure(EntityTypeBuilder<Purchase> builder)
{
... | 27.533333 | 66 | 0.690073 | [
"Apache-2.0"
] | fahelmoreira/EasyManagerERP | src/EasyManager.Infra.Data/Mapping/PurchaseMap.cs | 413 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) 2015 Microsoft Corporation
//
// 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 witho... | 44.711538 | 107 | 0.64043 | [
"MIT"
] | jbatonnet/SmartSync | SmartSync.OneDrive/OneDriveSdk/Requests/Generated/PermissionsCollectionPage.cs | 2,325 | C# |
using System;
namespace react_redux_cs
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
}
| 19.375 | 70 | 0.577419 | [
"Unlicense"
] | SeptBlast/opensource_group14 | react_projects_cs/react-redux-cs/WeatherForecast.cs | 310 | C# |
// Copyright (c) 2010-2013 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 us... | 41.371429 | 93 | 0.746547 | [
"MIT"
] | 164306530/ILSpy | ICSharpCode.Decompiler/TypeSystem/IProperty.cs | 1,450 | C# |
using ElmSharp;
namespace Tizen.UIExtensions.ElmSharp
{
public class Tabs : Toolbar, ITabs
{
TabsType _type;
public Tabs(EvasObject parent) :base(parent)
{
Style = ThemeConstants.Toolbar.Styles.Material;
SelectionMode = ToolbarSelectionMode.Always;
}
... | 24.558824 | 67 | 0.456287 | [
"Apache-2.0"
] | Samsung/Tizen.UIExtensions | src/Tizen.UIExtensions.ElmSharp/Tabs.cs | 837 | C# |
/*
* SendinBlue API
*
* SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com... | 38.473282 | 853 | 0.561706 | [
"MIT"
] | ajbeaven/APIv3-csharp-library | src/sib_api_v3_sdk/Model/GetChildrenList.cs | 5,040 | C# |
/*
* Copyright (c) 2016, Will Strohl
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list
* of condition... | 39.709302 | 105 | 0.687848 | [
"MIT"
] | hismightiness/dnnextensions | Modules/CodeCamp/Components/CodeCampModuleBase.cs | 3,415 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// MIT License
// 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... | 39.143836 | 463 | 0.55783 | [
"MIT"
] | Bhaskers-Blu-Org2/healthvault-dotnetstandard-sdk | Microsoft.HealthVault/Thing/ThingTypePermission.cs | 5,715 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using aceryansoft.codeflow.model.Config;
using aceryansoft.codeflow.model.Delegates;
namespace aceryansoft.codeflow.core.Containers
{
internal class SwitchCaseContainerFlow : SequenceContainerFlow
{
private readonly Func<ICodeFlowConte... | 41 | 156 | 0.660729 | [
"Apache-2.0"
] | aceryan-consulting/aceryansoft.codeflow | src/aceryansoft.codeflow.core/Containers/SwitchCaseContainerFlow.cs | 3,651 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using AM1;
public class TitleManager : MonoBehaviour {
private void Start()
{
Time.timeScale = 1f;
SoundController.PlayBGM(SoundController.BGM.TITLE);
// ゲーム開始時に、新規ゲームとして初期化するフラグを設定
GameSystem.IsGa... | 23.37037 | 73 | 0.646593 | [
"MIT"
] | am1tanaka/OpenFrameworkMini | Assets/AM1Framework/Scripts/TitleManager.cs | 687 | C# |
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using GroupDocs.Viewer.Converter.Options;
using GroupDocs.Viewer.Domain;
using GroupDocs.Viewer.Domain.Containers;
using GroupDocs.Viewer.Domain.Html;
using GroupDocs.Viewer.Handler;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Sy... | 40.77907 | 160 | 0.656687 | [
"MIT"
] | aliahmedgroupdocs/GroupDocs.Viewer-for-.NET | Plugins/GroupDocs_Viewer_Modern_WebPart/ViewerModernWebPart/Layouts/ViewerModernWebPart/GetAttachmentHtml.aspx.cs | 3,509 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using ... | 41.401274 | 125 | 0.489385 | [
"MIT"
] | ChangweiZhang/machinelearning | test/Microsoft.ML.Predictor.Tests/TestDatasetInference.cs | 6,500 | C# |
using System;
using System.ComponentModel.DataAnnotations;
namespace FileUpload.Models.Request
{
public class PeopleUpdateRequest : PeopleAddRequest
{
[Range(1,1000000000, ErrorMessage = "Id out of Range.")]
public int Id { get; set; }
}
}
| 22.5 | 64 | 0.688889 | [
"MIT"
] | eddiedozier/ReactFileUpload | FileUpload.Models/Request/PeopleUpdateRequest.cs | 272 | C# |
using IniParser.Model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace RWS
{
public partial class attachments : Form
... | 40.320388 | 132 | 0.474356 | [
"Unlicense"
] | kc101010/RWStudio | RWS/attachments.cs | 4,155 | C# |
using System;
using System.Linq;
using EnterpriseWebLibrary.Configuration;
using EnterpriseWebLibrary.InstallationSupportUtility.DatabaseAbstraction;
using EnterpriseWebLibrary.InstallationSupportUtility.InstallationModel;
using EnterpriseWebLibrary.InstallationSupportUtility.SystemManagerInterface.Messages.Syste... | 53.165138 | 159 | 0.770664 | [
"MIT"
] | enduracode/enterprise-web-library | Core/InstallationSupportUtility/DataUpdateStatics.cs | 5,797 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dano.ACECalculator
{
public class StormIntensityNode
{
public DateTime DateTime { get; set; }
public double Intensity { get; set; }
public double ACE { get; set... | 22 | 46 | 0.665775 | [
"MIT"
] | Cosmo224/TrackMaker | Dano.ACECalculator/Core/StormIntensityNode.cs | 376 | 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("Sug... | 38.222222 | 84 | 0.752907 | [
"MIT"
] | fullstack101-alumni/Fall2016-SuggestionSystem | Source/SuggestionSystem/Web/SuggestionSystem.Web.Api/Properties/AssemblyInfo.cs | 1,379 | C# |
using Expenses.Data;
using ExpensesManager.Models;
using ExpensesManager.Services;
using System.Collections.Generic;
using System.Linq;
namespace ExpensesManager.Services
{
public class ExpensesService : IExpensesService
{
public void AddExpense(Expense exp)
{
Data.Expenses.Add(exp)... | 27.690476 | 101 | 0.566638 | [
"MIT"
] | kasuken/Course-Material | ASP.NET Core + React/ExpensesManager/ExpensesManager/Services/ExpensesService.cs | 1,163 | C# |
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Testura.Code.Builders.BuildMembers;
namespace Testura.Code.Builders.BuilderHelpers
{
internal class MemberHelper
{
public MemberHelper()
{
Members = new List<IBuildMemb... | 26.369565 | 94 | 0.628195 | [
"MIT"
] | Testura/Testura.Code | src/Testura.Code/Builders/BuilderHelpers/MemberHelper.cs | 1,215 | C# |
// Copyright (c) Stephan Tolksdorf 2007-2009
// License: Simplified BSD License. See accompanying documentation.
using System;
namespace FParsec {
public sealed class Position : IEquatable<Position>, IComparable, IComparable<Position> {
public long Index { get; private set; }
public long Line ... | 36.661765 | 118 | 0.595267 | [
"MIT"
] | FoothillSolutions/Npgsql.FSharp.Analyzer | src/FParsecCS/Position.cs | 2,495 | C# |
namespace CameraBazaar.Web.ViewModels.Account
{
using System.Collections.Generic;
public class SendCodeViewModel
{
public string SelectedProvider { get; set; }
public ICollection<System.Web.Mvc.SelectListItem> Providers { get; set; }
public string ReturnUrl { get; set; }
pub... | 30.083333 | 81 | 0.67313 | [
"MIT"
] | IvayloKodov/My-Projects | CameraBazaar/Web/CameraBazaar.Web/ViewModels/Account/SendCodeViewModel.cs | 361 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using CosmosDBStudio.Model.Services;
using CosmosDBStudio.Util.Extensions;
using CosmosDBStudio.ViewModel.Services;
using EssentialMVVM;
using Hamlet;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace CosmosDBSt... | 30.122449 | 116 | 0.478997 | [
"MIT"
] | ricardopinedathen/CosmosDBStudio | src/CosmosDBStudio.ViewModel/Dialogs/DocumentEditorViewModel.cs | 7,382 | C# |
using Jint.Collections;
using Jint.Native.Array;
using Jint.Native.Object;
using Jint.Native.Symbol;
using Jint.Runtime;
using Jint.Runtime.Descriptors;
using Jint.Runtime.Interop;
namespace Jint.Native.Function
{
/// <summary>
/// https://tc39.es/ecma262/#sec-properties-of-the-function-prototype-object
/... | 38.414286 | 203 | 0.567621 | [
"BSD-2-Clause"
] | SebastianStehle/jint | Jint/Native/Function/FunctionPrototype.cs | 8,069 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 32.59375 | 113 | 0.591802 | [
"Apache-2.0"
] | KenHundley/aws-sdk-net | sdk/src/Services/AWSSupport/Generated/Model/DescribeTrustedAdvisorCheckResultRequest.cs | 4,172 | C# |
//---------------------------------------------------------------------------
//
// <copyright file="QuaternionAnimation.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved.
// </copyright>
//
// This file was generated, please do not edit it directly.
//
// Please see http://wiki/d... | 33.104505 | 155 | 0.528384 | [
"Apache-2.0"
] | 295007712/295007712.github.io | sourceCode/dotNet4.6/wpf/src/Core/CSharp/System/Windows/Media/Animation/Generated/QuaternionAnimation.cs | 18,373 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.EntityFrameworkCore.Infrastructure.Internal;
using Microsoft.EntityFramew... | 39.625 | 117 | 0.676473 | [
"Apache-2.0"
] | 0x0309/efcore | test/EFCore.Tests/Infrastructure/InternalServiceCollectionMapTest.cs | 13,631 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан по шаблону.
//
// Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
// Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном с... | 35.8 | 128 | 0.571695 | [
"MIT"
] | holydk/Farming | Farming/Farming.WpfClient/Models/BloodType.cs | 1,247 | C# |
using JetBrains.Annotations;
using Microsoft.Win32.TaskScheduler.V1Interop;
using Microsoft.Win32.TaskScheduler.V2Interop;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Global... | 40.543453 | 272 | 0.691583 | [
"MIT"
] | basheermohamed/taskscheduler | TaskService/Task.cs | 141,840 | C# |
using JT1078.Protocol.Enums;
using JT1078.Protocol.H264;
using JT1078.Protocol.MessagePack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using JT1078.Protocol;
using JT1078.Hls.MessagePack;
using JT1078.Hls.Enums;
using System.Collections.Concurrent;
using S... | 43.11284 | 137 | 0.516426 | [
"MIT"
] | ewsq/JT1078 | src/JT1078.Hls/TSEncoder.cs | 11,580 | C# |
using Newtonsoft.Json;
using SimpleChecklist.Common;
using SimpleChecklist.Common.Interfaces.Utils;
using SimpleChecklist.Core.DTOs;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace SimpleChecklist.Core.Repositories
{
public class BackupRepository
{
private readonly IDateTimePr... | 36.059524 | 152 | 0.615054 | [
"MIT"
] | metem/SimpleChecklist | SimpleChecklist/SimpleChecklist.Core/Repositories/BackupRepository.cs | 3,031 | C# |
//------------------------------------------------------------------------------
// <copyright file="PrologCodeVariable.cs" company="Axiom">
//
// Copyright (c) 2006 Ali Hodroj. All rights reserved.
//
// The use and distribution terms for this source code are contained in the file
// named li... | 25.574468 | 85 | 0.509151 | [
"MIT"
] | FacticiusVir/prologdotnet | Prolog.Compiler/CodeObjectModel/PrologCodeVariable.cs | 1,202 | C# |
namespace Parrot.Renderers.Infrastructure
{
using System.IO;
public interface IPathResolver
{
Stream OpenFile(string path);
bool FileExists(string path);
string ResolvePath(string path);
string ResolveAttributeRelativePath(string key, object value);
}
} | 26.166667 | 71 | 0.66242 | [
"MIT"
] | ParrotFx/Parrot | src/Parrot.Renderers/Infrastructure/IPathResolver.cs | 316 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UpdateBindingOnTextChanged.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// -------------------... | 33.21875 | 120 | 0.548213 | [
"MIT"
] | IvanKupriyanov/Catel | src/Catel.MVVM/Catel.MVVM.Shared/Windows/Interactivity/Behaviors/UpdateBindingOnTextChanged.cs | 4,254 | C# |
//--------------------------------------------------
// Motion Framework
// Copyright©2018-2021 何冠峰
// Licensed under the MIT license
//--------------------------------------------------
using System.Collections.Generic;
using System;
namespace MotionFramework.Resource
{
internal abstract class FileLoaderBase
{
/... | 20.719697 | 108 | 0.618099 | [
"MIT"
] | ArcherPeng/MotionFramework | Assets/MotionFramework/Scripts/Runtime/Engine/Engine.Resource/Loader/FileLoaderBase.cs | 5,927 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using System;
namespace Game
{
public abstract class Task : MonoBehaviour
{
public GameObject taskContent;
public bool isCompleted;
private void CheckTask(Play... | 31.850575 | 119 | 0.525442 | [
"Unlicense"
] | SophieNe/Among-Us-En-24-Horas | Assets/Task.cs | 2,773 | C# |
using Akka.Actor;
using Lyra.Core.API;
using Lyra.Core.Blocks;
using Lyra.Core.Cryptography;
using Lyra.Core.Decentralize;
using Lyra.Core.Utils;
using Lyra.Shared;
using Microsoft.Extensions.Logging;
using Neo;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnosti... | 37.980176 | 195 | 0.524851 | [
"MIT"
] | wizd/LyraNetwork | Core/Lyra.Core/Decentralize/ConsensusWorker.cs | 17,245 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 42.818182 | 180 | 0.615711 | [
"MIT"
] | Aliases/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/WorkbookFunctionsImArgumentRequestBuilder.cs | 2,355 | C# |
/*
* PROJECT: Atomix Development
* LICENSE: BSD 3-Clause (LICENSE.md)
* PURPOSE: x86 IMul Instruction
* PROGRAMMERS: Aman Priyadarshi (aman.eureka@gmail.com)
*/
namespace Atomixilc.Machine.x86
{
public class IMul : OnlyDestination
{
public IMul()
... | 19.526316 | 61 | 0.525606 | [
"BSD-3-Clause"
] | CatGirlsAreLife/AtomOS | src/Compiler/Atomixilc/Machine/x86/IMul.cs | 373 | C# |
// ┌∩┐(◣_◢)┌∩┐
// \\
// DictionaryExamples.cs (00/00/0000) \\
// Autor: Antonio Mateo (.\Moon Antonio) antoniomt.moon@gmail.com \\
// Descripcion: \\
// Fecha Mod: 00/00/0000 \\
// Ultima Mod: \\
//***********... | 28.6 | 110 | 0.512821 | [
"MIT"
] | CodeBackDoor/LearnCSharpUnity | LearnCSharpUnity Project/Assets/06.Genericos/DictionaryExamples.cs | 876 | C# |
using System;
using System.IO;
using System.Text.RegularExpressions;
namespace Git.Lfx {
public sealed class LfxConfig {
public static LfxConfig Load(string path = null) {
if (path != null) {
path += LfxConfigFile.FileName;
if (File.Exists(path))
... | 36.578125 | 102 | 0.622811 | [
"MIT"
] | kingces95/LfsEx | Git.Lfx/Config/LfxConfig.cs | 2,343 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Linq.Expressions;
us... | 51.222576 | 136 | 0.55309 | [
"Apache-2.0"
] | IGx89/efcore | src/EFCore.Relational/Query/RelationalShapedQueryCompilingExpressionVisitor.CustomShaperCompilingExpressionVisitor.cs | 32,219 | C# |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi
{
/// <summary>
/// Partial WorksheetFunction StDev_S
/// </summary>
partial class WorksheetFunction : COMObject
{
#region Methods
/// <summary>
... | 59.539642 | 440 | 0.616924 | [
"MIT"
] | DominikPalo/NetOffice | Source/Excel/DispatchInterfaces/WorksheetFunction.StDev_S.cs | 46,562 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using ConvenienceSystemDataModel;
using System.Collections.ObjectModel;
namespace ConvenienceSystemApp.pages
{
//public partial class ProductsPage : ContentPage
publ... | 33.602273 | 170 | 0.60602 | [
"MIT"
] | auxua/ConvenienceSystem2 | ConvenienceSystemApp/ConvenienceSystemApp/pages/ProductsPage.xaml.cs | 2,963 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using MarauderEngine.Entity;
using MarauderEngine.Graphics;
using Microsoft.Xna.Framework.Graphics;
namespace MarauderEditor.CustomComponents
{
public class AssetBrowser : Li... | 29.659864 | 103 | 0.508945 | [
"MIT"
] | Dankerprouduct/MarauderEngine | MarauderEditor/CustomComponents/AssetBrowser.cs | 4,362 | C# |
// Generated on 12/11/2014 19:02:04
using System;
using System.Collections.Generic;
using System.Linq;
using BlueSheep.Common.IO;
namespace BlueSheep.Common.Protocol.Types
{
public class FightOptionsInformations
{
public new const short ID = 20;
public virtual short TypeId
{
get { return ID; ... | 16.871795 | 84 | 0.705167 | [
"MIT"
] | Sadikk/BlueSheep | BlueSheep/Common/Protocol/types/game/context/fight/FightOptionsInformations.cs | 1,316 | 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: AssemblyConfigur... | 41.95 | 84 | 0.772348 | [
"MIT"
] | Obviuse/TypeScriptBuilder | src/TypeScriptBuilder/Properties/AssemblyInfo.cs | 841 | C# |
namespace LeetCode.P349
{
using System.Collections.Generic;
public class Solution
{
public int[] Intersection(int[] nums1, int[] nums2)
{
var hashset = new HashSet<int>(nums1);
var result = new List<int>();
for (var i = 0; hashset.Count != 0 && i < num... | 22.181818 | 72 | 0.495902 | [
"MIT"
] | Zhangwei-WU/MyLeetcodeSolutions | LeetCode/P349-Intersection-of-Two-Arrays.cs | 490 | C# |
// Copyright 2004-2010 Castle Project - http://www.castleproject.org/
//
// 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 ... | 29.867147 | 203 | 0.664115 | [
"Apache-2.0"
] | Telligent/NVelocity | src/NVelocity/Runtime/RuntimeInstance.cs | 29,001 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DancingGoat.Helpers.Extensions
{
public class DateTimeFormatterParameters
{
public string FormatCharacter { get; set; }
}
} | 20 | 51 | 0.7375 | [
"MIT"
] | FunkyGhost/cloud-sample-app-net | DancingGoat/Helpers/Extensions/DateTimeFormatterParameters.cs | 242 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace E... | 36.148148 | 151 | 0.563525 | [
"MIT"
] | HZ-GeLiang/EpplusHelper | EPPlusHelperTool/Properties/Settings.Designer.cs | 1,084 | C# |
using System.Collections.Generic;
using System.Web.Mvc;
using System.Web.Routing;
using LightPlugin.Core;
using LightPlugin.Core.Caching;
using LightPlugin.Services.Cms;
//using LightPlugin.Web.Infrastructure.Cache;
//using LightPlugin.Web.Models.Cms;
using WebUI.Models.Cms;
namespace WebUI.Controllers
{
public ... | 36.422764 | 147 | 0.552455 | [
"Apache-2.0"
] | yiyungent/TES | src/WebUI/Controllers/WidgetController.cs | 4,482 | C# |
using UnityEngine;
using System.Collections.Generic;
// Empty namespace declaration to avoid errors in the free version
// Which does not have any classes in the RVO namespace
namespace Pathfinding.RVO {}
namespace Pathfinding {
using Pathfinding.Jobs;
using Pathfinding.Util;
using Unity.Burst;
using Unity.Collec... | 38.219691 | 247 | 0.698331 | [
"Apache-2.0"
] | Aspekt1024/LittleDrones | Assets/Standard Assets/AstarPathfindingProject/Core/astarclasses.cs | 46,972 | C# |
using Newtonsoft.Json;
namespace Couchbase.Configuration.Server.Serialization
{
internal sealed class SystemStats
{
[JsonProperty("cpu_utilization_rate")]
public double CpuUtilizationRate { get; set; }
[JsonProperty("swap_total")]
public int SwapTotal { get; set; }
[J... | 32.128205 | 78 | 0.60814 | [
"Apache-2.0"
] | 4thOffice/couchbase-net-client | Src/Couchbase/Configuration/Server/Serialization/SystemStats.cs | 1,255 | C# |
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Steeltoe.Discovery.Eureka;
using Steeltoe.Discovery.Eureka.AppInfo;
using Thrifty.MicroServices.Client.Pooling;
using Thrifty.MicroServices.Commons;
using Thrifty.MicroServices.Ribbon;
using Thrifty.MicroServices.Ribbon.Rules;
u... | 45.421512 | 255 | 0.63104 | [
"Apache-2.0"
] | DavidAlphaFox/Thrifty | src/Thrifty.MicroServices/Client/ThriftyClient.cs | 15,637 | C# |
using System;
using System.Buffers;
using System.Net.Http;
using System.Runtime.InteropServices;
using Bedrock.Framework.Infrastructure;
namespace Bedrock.Framework.Protocols
{
public class Http1RequestMessageWriter : IMessageWriter<HttpRequestMessage>
{
private ReadOnlySpan<byte> Http11 => new byte[]... | 36.783333 | 147 | 0.534209 | [
"MIT"
] | ChadJessup/BedrockFramework | src/Bedrock.Framework.Experimental/Protocols/Http1RequestMessageWriter.cs | 2,209 | C# |
using MediatR;
using Opdex.Platform.Application.Abstractions.Commands.Addresses;
using Opdex.Platform.Infrastructure.Abstractions.Clients.CirrusFullNodeApi.Queries.Tokens;
using Opdex.Platform.Infrastructure.Abstractions.Data.Commands.Addresses;
using System;
using System.Threading;
using System.Threading.Tasks;
names... | 40.178571 | 148 | 0.808889 | [
"MIT"
] | Opdex/opdex-v1-api | src/Opdex.Platform.Application/Handlers/Addresses/Balances/MakeAddressBalanceCommandHandler.cs | 1,125 | C# |
namespace ZendeskApi_v2.Models.Constants
{
public static class TicketFieldTypes
{
public const string Text = "text";
public const string Textarea = "textarea";
public const string Checkbox = "checkbox";
public const string Date = "date";
public const string Integer = "int... | 34.714286 | 55 | 0.62963 | [
"Apache-2.0"
] | ClaudineL/ZendeskApi_v2 | src/ZendeskApi_v2/Models/Constants/TicketFieldTypes.cs | 486 | C# |
using Microsoft.AspNetCore.Identity;
namespace ComponentsWebAssembly_CSharp.Server.Models;
public class ApplicationUser : IdentityUser
{
}
| 17.75 | 53 | 0.838028 | [
"MIT"
] | 3ejki/aspnetcore | src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/Models/ApplicationUser.cs | 144 | C# |
//========= Copyright 2016-2021, HTC Corporation. All rights reserved. ===========
using UnityEngine;
using HTC.UnityPlugin.Vive;
#if UNITY_2017_2_OR_NEWER
using UnityEngine.XR;
#else
using XRSettings = UnityEngine.VR.VRSettings;
using XRDevice = UnityEngine.VR.VRDevice;
#endif
namespace HTC.UnityPlugin.VRModuleMan... | 46.460241 | 153 | 0.653908 | [
"MIT"
] | CharlesCai123/Wearable-MultiCamera-System | Assets/HTC.UnityPlugin/VRModule/Modules/UnityEngineVRModule.cs | 19,283 | C# |
// Copyright 2017 Carnegie Mellon University. All Rights Reserved. See LICENSE.md file for terms.
using System;
using System.Threading;
using System.Threading.Tasks;
using Ghosts.Api.Models;
using Ghosts.Api.Services;
using Microsoft.AspNetCore.Mvc;
namespace Ghosts.Api.Controllers
{
[Produces("application/json"... | 35.773006 | 131 | 0.573315 | [
"BSD-3-Clause"
] | 1reduviidae/GHOSTS | src/Ghosts.Api/Controllers/MachinesController.cs | 5,833 | C# |
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
public class ProviderControllerTests
{
private IProviderController providerController;
[SetUp]
public void SetUp()
{
IEnergyRepository energyRepository = new EnergyRepository();
this.providerController = new P... | 30.068493 | 88 | 0.658314 | [
"MIT"
] | NaskoVasilev/CSharp-OOP-Advanced | Retake Exam-7 September 2017/ProviderControllerTests/ProviderControllerTests.cs | 2,197 | C# |
using Workstation.ServiceModel.Ua;
namespace JR.P262605.HMI.UI.TypeLibrary
{
[DataTypeId("ns=4;s=Wafer")]
[BinaryEncodingId("nsu=urn:BeckhoffAutomation:Ua:PLC1;s=<StructuredDataType>:Wafer__DefaultBinary")]
public class Wafer : IEncodable
{
public Wafer()
{
}
public in... | 46.185714 | 104 | 0.632849 | [
"MIT"
] | RoddenLab/HMI-Demo | JR.P262605.HMI/UI/TypeLibrary/Wafer.cs | 3,235 | C# |
using System;
using AllureCSharpCommons.AllureModel;
namespace AllureCSharpCommons.AllureModel
{
public partial class parameter
{
public parameter() { }
public parameter(string name, string value, parameterkind kind)
{
nameField = name;
valueField = value;
... | 21.151899 | 77 | 0.530221 | [
"Apache-2.0"
] | Orasi/allure-csharp-commons | AllureCSharpCommons/AllureModel/AllureModelExtensions.cs | 1,673 | C# |
using System;
namespace Demo.App.Views
{
public sealed partial class RepositoryDetailsView
{
public RepositoryDetailsView()
{
InitializeComponent();
}
}
}
| 15.769231 | 53 | 0.6 | [
"MIT"
] | derekjwilliams/talks | ndc-sydney-2017/Demo.App/Views/RepositoryDetailsView.xaml.cs | 207 | C# |
namespace Vodamep.ReportBase
{
public interface ICountryPerson : INamedPerson
{
string Country { get; }
}
} | 18.285714 | 50 | 0.648438 | [
"MIT"
] | lizardwine/Vodamep | src/Vodamep/ReportBase/ICountryPerson.cs | 130 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Azure.AI.Translation.Document.Models;
using Azure.Core;
using Azur... | 46.902878 | 182 | 0.60668 | [
"MIT"
] | Ochirkhuyag/azure-sdk-for-net | sdk/translation/Azure.AI.Translation.Document/src/DocumentTranslationOperation.cs | 26,080 | C# |
using System;
using Thor.Generator.ProjectSystem;
using Thor.Generator.Templates;
namespace Thor.Generator
{
public class EventSourceGenerator
{
private readonly Project _source;
private readonly Project _target;
private readonly EventSourceResolver _eventSourceResolver;
privat... | 31.340426 | 118 | 0.615071 | [
"MIT"
] | ChilliCream/EventSourceGenerator | src/Generator/EventSourceGenerator.cs | 1,475 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step... | 48.136986 | 125 | 0.68099 | [
"MIT-feh"
] | IjaCZECH/UnitsNet | UnitsNet.NumberExtensions/GeneratedCode/NumberToTemperatureExtensions.g.cs | 3,516 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Project1_5_DataAccess
{
[Table("Reservation", Schema = "Hotel")]
public partial class Reservations
{
[Key]
public int Id { get; set; }
... | 30.774194 | 55 | 0.618449 | [
"MIT"
] | 1811-nov27-net/RP-AT-MN-Project1.5 | Project1-5_MVC_REST/Project1-5_DataAccess/Reservations.cs | 956 | C# |
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(YuukoOfficialSite.Startup))]
namespace YuukoOfficialSite
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.MapYuuko();
}
}
}
| 17.4375 | 59 | 0.602151 | [
"MIT"
] | CodeComb/YuukoOfficialSite | YuukoOfficialSite/Startup.cs | 281 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using TrulyRandom.Models;
namespace TrulyRandom
{
/// <summary>
/// Provides method for end-user to retrieve random data of varios types
/// </summary>
public class DataSource
{
/// <summary>
/// Number if bits cur... | 38.876791 | 118 | 0.527344 | [
"MIT"
] | AndrewRomashkin/TrulyRandom | TrulyRandom/Other/DataSource.cs | 13,572 | C# |
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Treehopper.Desktop.LibUsb
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate int HotplugCallbackFunction(IntPtr context, IntPtr device, HotplugEvent e, IntPtr userData);
internal static class NativeMetho... | 51.191781 | 124 | 0.719026 | [
"MIT"
] | ehailey1/treehopper-sdk | NET/API/Treehopper.Desktop/LibUsb/NativeMethods.cs | 3,739 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace SampleTest {
// isを使ったパターンマッチングを試す
// https://docs.microsoft.com/ja-jp/dotnet/csharp/language-reference/keywords/is
public class IsPatternMatchingTest {
[Fact]
public void Is_nullのチェックができる() {... | 22.37037 | 112 | 0.612583 | [
"MIT"
] | ichiroku11/dotnet-sample | src/SampleTest/IsPatternMatchingTest.cs | 2,608 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.