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 NinetyNineProblems.Arithmetic
{
public class P31
{
public static bool IsPrime(int n)
{
if (n <= 1)
{
return false;
}
else if (n <= 3)
{
return true;
}
else if (n % 2 == 0... | 20.387097 | 50 | 0.280063 | [
"MIT"
] | Frederick-S/NinetyNineProblems | NinetyNineProblems/Arithmetic/P31.cs | 632 | C# |
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace BarCodeScanner.Helps
{
public class BoolToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
retur... | 27.95 | 103 | 0.68873 | [
"Apache-2.0"
] | eldiablo-1226/BarCode-Scanner-Controller | src/BarCodeScanner/Helps/BoolToVisibilityConverter.cs | 561 | C# |
#if !NETSTANDARD13
/*
* 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
... | 39.318681 | 164 | 0.673002 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/CloudDirectory/Generated/Model/_bcl45+netstandard/ListObjectParentPathsPaginator.cs | 3,578 | 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 "li... | 37.560284 | 116 | 0.609894 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/Rekognition/Generated/Model/StartPersonTrackingRequest.cs | 5,296 | C# |
/*
* Copyright (c) Contributors, http://aurora-sim.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 mus... | 50.259259 | 152 | 0.657701 | [
"BSD-3-Clause"
] | BillyWarrhol/Aurora-Sim | Aurora/DataManagerTests/MigrationTests.cs | 8,142 | C# |
// THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
using System.Data;
namespace Ukadc.Diagnostics.Listeners
{
/// <summary>
/// The in... | 39.703704 | 94 | 0.661381 | [
"MIT"
] | pakoros/Backload | Examples/Example13/Ukadc.Diagnostics/Ukadc.Diagnostics/Listeners/IDataAccessAdapter.cs | 1,072 | C# |
using System.Collections.Generic;
using AutoMapper;
using CollectionsOnline.Core.Config;
using CollectionsOnline.Core.Indexes;
using CollectionsOnline.Core.Models;
using CollectionsOnline.WebSite.Models.Api;
using Nancy;
using Nancy.Metadata.Modules;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Ra... | 43.0875 | 160 | 0.51407 | [
"MIT"
] | museumsvictoria/collections-online | src/CollectionsOnline.WebSite/Modules/Api/ArticlesApiMetadataModule.cs | 3,449 | C# |
using System;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
namespace THNETII.WindowsSdk.Playgrou... | 43.644068 | 127 | 0.556893 | [
"MIT"
] | thnetii/windows-sdk-nuget | test/THNETII.WindowsSdk.PlaygroundTest/TestHostHelper.cs | 2,575 | C# |
using System.Linq;
using HSL;
using NUnit.Framework;
namespace GraphQLinq.Tests
{
[TestFixture]
[Category("Collection query")]
[Category("Integration tests")]
class CollectionQueryTests
{
readonly HslGraphContext hslGraphContext = new HslGraphContext("https://api.digitransit.fi/routing/v1/r... | 31.092105 | 142 | 0.589082 | [
"Apache-2.0"
] | Giorgi/GraphQLinq | src/GraphQLinq.Tests/CollectionQueryTests.cs | 2,363 | C# |
using ECMABasic.Core.Exceptions;
using ECMABasic.Core.Statements;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ECMABasic.Core
{
/// <summary>
/// A program is an executable list of program lines.
/// </summary>
public class Program : IEnumerable<ProgramLine>, IListable
... | 21.401163 | 100 | 0.660147 | [
"MIT"
] | p-unity-lineage/ecma_basic | src/ECMABasic.Core/Program.cs | 3,683 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Test.ModuleCore;
namespace XLinqTests
{
public class XNodeReplaceOnDocument3 : XNodeReplace
{
public override void AddChildren()
{
... | 36.0625 | 248 | 0.656846 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Private.Xml.Linq/tests/TreeManipulation/XNodeReplaceOnDocument3.cs | 577 | C# |
using System;
using System.Linq;
namespace _1._01.SortEvenNumbers
{
class Program
{
static void Main(string[] args)
{
int[] numbers = Console.ReadLine()
.Split(", ", StringSplitOptions.RemoveEmptyEntries)
.Select((number) =>
{
... | 23.208333 | 67 | 0.443447 | [
"MIT"
] | yovko93/CSharp-Repo | CSharp_Advanced/FunctionalProgramming - LabAndExercise/1.01.SortEvenNumbers/Program.cs | 559 | 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("Mo... | 36.448276 | 84 | 0.743614 | [
"Apache-2.0"
] | NoleHealth/xamarin-forms-book-preview-2 | Chapter24/ModalEnforcement/ModalEnforcement/ModalEnforcement.UWP/Properties/AssemblyInfo.cs | 1,060 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MultiverseCommunication
{
class Program
{
//тринадесетична бройна система
static void Main(string[] args)
{
var alphabet = new List<string> { "CHU",... | 50.125 | 225 | 0.583541 | [
"MIT"
] | HMNikolova/Telerik_Academy | Exam/C#2/CSharpTwo/MultiverseCommunication/Program.cs | 3,708 | C# |
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Desi... | 125.769231 | 314 | 0.790826 | [
"MIT"
] | JonQuxBurton/MobileMicroservicesSample | src/SimCards/SimCards.EventHandlers/GlobalSuppressions.cs | 1,637 | C# |
using System;
using Xunit;
using Shouldly;
using OhDotNetLib.Utils;
namespace OhDotNetLib.Tests
{
public class ObjectNullCheckerTest
{
#region Verify_IsNullOrEmptyOfAnyOneShouldBeWork
[Fact]
public void Verify_IsNullOrEmptyOfAnyOneShouldBeWork()
{
var str = string... | 24.692308 | 114 | 0.669782 | [
"Apache-2.0"
] | oceanho/OhDotNetLib | test/OhDotNetLib.Tests/Utils/ObjectNullCheckerTest.cs | 642 | C# |
using Xunit;
namespace TelAPI.InboundXML.Test
{
public class PlayTest : TelAPIBaseTest
{
[Fact]
public void Can_I_Generate_Play()
{
var response = new Response();
response.Play("http://www.audio-url.com");
Assert.True(IsValidInboundXML(r... | 22.892857 | 66 | 0.542902 | [
"MIT"
] | TelAPI/telapi-dotnet | library/TelAPI.InboundXML.Test/PlayTest.cs | 643 | C# |
//---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 2020 October 09 06:00:28 UTC
// </auto-generated>
//--------------... | 32.529412 | 111 | 0.58906 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/cmd/vendor/golang.org/x/sys/unix/ztypes_darwin_386_BpfProgramStruct.cs | 2,212 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Google.Protobuf;
using Knet.Kudu.Client.Connection;
using Knet.Kudu.Client.Internal;
using Knet.Kudu.Client.Protobuf;
using Knet.Kudu.Client.Tablet;
using Microsoft.Extensions.Logging;
namespace Knet.Kudu.Client.Logging;
internal static class Lo... | 28.436364 | 70 | 0.680946 | [
"Apache-2.0"
] | xqrzd/kudu | src/Knet.Kudu.Client/Logging/LoggerHelperExtensions.cs | 1,564 | 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.72 | 413 | 0.640274 | [
"MIT"
] | 0rland0Wats0n/azure-sdk-for-net | sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/JobEnableOptions.cs | 6,858 | 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 "li... | 38.320388 | 213 | 0.610337 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/CapacityReservationTargetResponseUnmarshaller.cs | 3,947 | C# |
using System.Collections.Generic;
using System.Data;
using Dapper;
namespace Dapperer.QueryBuilders.MsSql.TableValueParams
{
public abstract class SimpleListTableValueParams<TColumnType>
{
private readonly IEnumerable<TColumnType> _records;
private readonly string _tableName;
private r... | 27.090909 | 74 | 0.575503 | [
"MIT"
] | josephjeganathan/Dapperer | Dapperer/QueryBuilders/MsSql/TableValueParams/SimpleListTableValueParams.cs | 1,194 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CacheStorage.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// ----------------------------------... | 40.510684 | 152 | 0.534311 | [
"MIT"
] | nix63/Catel | src/Catel.Core/Catel.Core.Shared/Caching/CacheStorage.cs | 18,959 | C# |
partial class Editor_Tiles
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disp... | 46.064935 | 144 | 0.601259 | [
"MIT"
] | ricardodalarme/CryBits | Editors/Editors/Tiles.Designer.cs | 10,643 | C# |
using System;
using Ultraviolet.Core;
namespace Ultraviolet.OpenGL.Bindings
{
public static unsafe partial class gl
{
/* NOTE: Functions which are shared with the ARB extension are defined in GL_ARB_direct_state_access.cs */
[MonoNativeFunctionWrapper]
private delegate void glTextureP... | 57.055556 | 211 | 0.754625 | [
"Apache-2.0",
"MIT"
] | MicroWorldwide/ultraviolet | Source/Ultraviolet.OpenGL.Bindings/Shared/Extensions/EXT_direct_state_access.cs | 2,056 | C# |
namespace Zaabee.SystemTextJson;
public static partial class SystemTextJsonHelper
{
/// <summary>
/// Convert the provided value to UTF-8 encoded JSON text and write it to the <see cref="System.IO.Stream"/>.
/// </summary>
/// <param name="value"></param>
/// <param name="stream"></param>
/// <... | 38.1875 | 113 | 0.634206 | [
"MIT"
] | PicoHex/Zaabee.Serializers | src/Zaabee.SystemTextJson/SystemTextJson.Helper.Stream.Pack.cs | 1,222 | C# |
namespace Dit.Umb.ToolBox.Models.Enum
{
public enum EHighlightRendering
{
None, Teaser, Gallery
}
} | 17.142857 | 38 | 0.65 | [
"MIT"
] | hummelfax/MUTOBO | Dit.Umb.ToolBox.Models/Enum/EHighlightRendering.cs | 122 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace monocat
{
/// <summary>
/// 网络管理器
/// </summary>
public class EventLoop
{
// 逻辑处理可以使用一个独立线程,与网络的线程分开
private System.Threading.Thread myThread;
/// <summary>
/// 更新消息队列的时间间隔
/// </summary>
public int update... | 22.736842 | 99 | 0.50484 | [
"Apache-2.0"
] | gameman100/monocat | monocat/Tcp/EventLoop.cs | 5,296 | C# |
using DevCore.Core.Notifications;
using DevCore.ResultObjects;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
namespace DevCore.WebApi... | 25.425532 | 104 | 0.774895 | [
"MIT"
] | fabianoteixeira/DevLibraries | src/DevCore.WebApi/Filters/NotificationFilter.cs | 1,197 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Nasca.Models
{
public class AddtionalNodeInfomation
{
private int distance;
public int getDistance()
{
return distance;
}
public AddtionalNodeInfomatio... | 19.142857 | 52 | 0.61194 | [
"MIT"
] | nomuramasanori/Nasca-net-core | Nasca/Models/AddtionalNodeInfomation.cs | 404 | C# |
namespace HuaweiARInternal
{
using System;
using UnityEngine;
using System.Runtime.InteropServices;
using HuaweiARUnitySDK;
internal static class UtilConstants
{
#if UNITY_EDITOR_WIN
public const string HWAugmentedImageCliBinaryName = "ImageDatabaseTool";
#elif UNITY_EDITOR_LINUX
... | 34.68 | 92 | 0.782007 | [
"MIT"
] | Frans-L/iothon-ar-skeleton | Assets/HuaweiARUnitySDK/Scripts/Utility/UtilConstants.cs | 869 | 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... | 29.421569 | 111 | 0.549261 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/GroundStation/Generated/Model/DescribeContactResponse.cs | 9,007 | C# |
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
using FairyGUI;
using FairyGUI.Utils;
namespace Common
{
public partial class View_Sale_effect : GComponent
{
public Transition t0;
public const string URL = "ui://ucagdrsifjljpz";
public static Vie... | 24.76 | 86 | 0.630048 | [
"MIT"
] | Noname-Studio/ET | Unity/Assets/Scripts/Client/UI/View/Common/View_Sale_effect.cs | 619 | C# |
using NPOI.DDF;
using NPOI.HSSF.Record;
using NPOI.SS.Formula;
using NPOI.SS.Formula.PTG;
using NPOI.SS.Formula.Udf;
using NPOI.SS.UserModel;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Security;
using System.Threading;
namespace NPOI.HSSF.Model
{
/// Low level model impleme... | 32.63422 | 171 | 0.703783 | [
"MIT"
] | iNeverSleeeeep/NPOI-For-Unity | NPOI.HSSF.Model/InternalWorkbook.cs | 76,103 | C# |
using System.Threading.Tasks;
using CodeTest.Accounting.BFF.Models;
using CodeTest.Accounting.ServiceClients;
using Microsoft.Extensions.Logging;
namespace CodeTest.Accounting.BFF.Core
{
public class AccountsOrchestrator
{
private readonly ILogger<AccountsOrchestrator> _logger;
private readonl... | 33.418919 | 88 | 0.599272 | [
"MIT"
] | andreicojocaru/codetest-accounting | src/CodeTest.Accounting.BFF/Core/AccountsOrchestrator.cs | 2,475 | C# |
using System;
using UnityEngine;
using System.Collections;
public class InputManagerScript : MonoBehaviour {
private GameManagerScript _gameManager;
private MoveTokensScript _moveManager;
private GameObject _selected = null;
public Camera camera;
public virtual void Start () {
_moveManager = GetComponent<Move... | 34.226667 | 156 | 0.68173 | [
"Unlicense"
] | VaWilkerson/VirginiaWilkerson | Match 3/Assets/Scripts/InputManagerScript.cs | 2,569 | C# |
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Timesheets.Data
{
[Table("time_entries")]
public class TimeEntryRecord
{
[Column("id")] public long Id { get; private set; }
[Column("project_id")] public long ProjectId { get; private set; }
[Column("user_i... | 29.909091 | 94 | 0.579534 | [
"BSD-2-Clause"
] | vmware-tanzu-learning/pal-tracker-distributed-dotnet | Components/Timesheets/Data/TimeEntryRecord.cs | 987 | C# |
/*
* Avalon Mud Client
*
* @project lead : Blake Pell
* @website : http://www.blakepell.com
* @copyright : Copyright (c), 2018-2021 All rights reserved.
* @license : MIT
*/
namespace Avalon.Common.Scripting
{
/// <summary>
/// A class that tracks statistics for the scri... | 25.724638 | 92 | 0.509296 | [
"MIT"
] | blakepell/AvalonMudClient | src/Avalon.Common/Scripting/ScriptStatistics.cs | 1,777 | C# |
using System;
using System.Collections.Generic;
#nullable disable
namespace api.Models.Ttv
{
public partial class DimOrganisationMedium
{
public int DimOrganizationId { get; set; }
public string MediaUri { get; set; }
public string LanguageVariant { get; set; }
public string S... | 27.095238 | 68 | 0.652021 | [
"MIT"
] | CSCfi/research-fi-mydata | aspnetcore/src/api/Models/Ttv/DimOrganisationMedium.cs | 571 | 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
#region Usings
using System;
using System.Collections.Generic;
#endregion
namespace DotNetNuke.Common.Utilities... | 33.055556 | 93 | 0.602521 | [
"MIT"
] | MaiklT/Dnn.Platform | DNN Platform/Library/Common/Utilities/EnumExtensions.cs | 1,192 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using URSA.Web.Mapping;
namespace URSA.Web.Description.Http
{
internal class UriTemplateBuilder : ICloneable
{
int... | 42.28626 | 214 | 0.561784 | [
"BSD-3-Clause"
] | CharlesOkwuagwu/URSA | URSA.Http/Description/UriTemplateBuilder.cs | 11,081 | 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.Text;
namespace ILCompiler.Compiler.CppCodeGen
{
/// <summary>
/// Similar to a StringBuilder but handles proper formatting of C/C++ code by supporting indentat... | 27.810345 | 105 | 0.517359 | [
"MIT"
] | AntonLapounov/corert | src/ILCompiler.CppCodeGen/src/CppCodeGen/CppGenerationBuffer.cs | 3,226 | 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("Pro... | 38 | 84 | 0.752924 | [
"Apache-2.0"
] | fabianomarcos/ASP-NET-MVC-MODELO-DDD | ProjetoModeloDDD/ProjetoModeloDDD.MVC/Properties/AssemblyInfo.cs | 1,371 | C# |
using MediatR;
namespace CompanyName.MyMeetings.Modules.Administration.Application.Contracts
{
public interface IQuery<out TResult> : IRequest<TResult>
{
}
} | 21.375 | 77 | 0.754386 | [
"MIT"
] | Ahmetcanb/modular-monolith-with-ddd | src/Modules/Administration/Application/Contracts/IQuery.cs | 173 | C# |
using System;
namespace UnhandledException
{
class Program
{
static void Main(string[] args)
{
Do();
DoNot();
}
private static void Do()
{
AppDomain.CurrentDomain.UnhandledException += (sender, e) =>
{
// Y... | 26.869565 | 121 | 0.490291 | [
"MIT"
] | guitarrapc/CSharpPracticesLab | exception/UnhandledException/Program.cs | 1,236 | 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>
//--... | 43.890625 | 189 | 0.61659 | [
"Apache-2.0"
] | neerajmathur/UMETRIX | HostingApplication/Properties/Resources.Designer.cs | 2,811 | C# |
using MediatR;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using VisaD.Application.Common.Configura... | 29.516667 | 99 | 0.748165 | [
"MIT"
] | governmentbg/nacid-visad | VisaD.Application/Users/Commands/CreateLoginTokenCommand.cs | 1,773 | C# |
// Copyright 2020 MaidSafe.net limited.
//
// This SAFE Network Software is licensed to you under the MIT license <LICENSE-MIT
// http://opensource.org/licenses/MIT> or the Modified BSD license <LICENSE-BSD
// https://opensource.org/licenses/BSD-3-Clause>, at your option. This file may not be copied,
// modified, or d... | 33.084746 | 95 | 0.651127 | [
"MIT",
"BSD-3-Clause"
] | maidsafe/sn_authenticator_mobile | SafeAuthenticator/Controls/GradientContentView.cs | 1,954 | C# |
/*
* Intersight REST API
*
* This is Intersight REST API
*
* OpenAPI spec version: 1.0.9-262
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using Syst... | 36.035088 | 597 | 0.634129 | [
"Apache-2.0"
] | ategaw-cisco/intersight-powershell | csharp/swaggerClient/src/intersight/Model/DevopsAbstractTriggerDetails.cs | 4,108 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Timers;
using CgBarBackend.Models;
using CgBarBackend.Repositories;
using Microsoft.Extensions.Configuration;
namespace CgBarBackend.Services
{
public class BarTender ... | 36.374622 | 198 | 0.587292 | [
"MIT"
] | LottePitcher/CodegardenBar | CgBarBackend/Services/BarTender.cs | 12,042 | C# |
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Promitor.Scraper.Host.Scheduling.Interfaces;
/*
* Based on example by Maarten Balliauw - https://blog.maartenballiauw.be/post/2017/08/01/building-a-scheduled-cache-updater-in-aspnet-c... | 40.68 | 166 | 0.737463 | [
"MIT"
] | jdevalk2/promitor | src/Promitor.Scraper.Host/Scheduling/Infrastructure/Extensions/SchedulerExtensions.cs | 1,019 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using FMCApp.Web.Models.ViewModels.VisualizationModels.Shared;
namespace FMCApp.Services.Interfaces
{
public interface IHomeService
{
IndexNewsMoviesViewModel GetIndexModelInfo();
}
}
| 21 | 62 | 0.772894 | [
"MIT"
] | ItsoDimitrov/ASP.NET-Core-MVC-Project | src/Services/FMCApp.Services/Interfaces/IHomeService.cs | 275 | C# |
using System.Xml.Serialization;
namespace PrtgAPI.CodeGenerator.Xml
{
[XmlRoot("GenericArg")]
public class GenericArgXml : IGenericArg
{
[XmlAttribute("name")]
public string Name { get; set; }
[XmlAttribute("description")]
public string Description { get; set; }
[... | 22.388889 | 47 | 0.622829 | [
"MIT"
] | ericsp59/PrtgAPI | src/Tools/PrtgAPI.CodeGenerator/Xml/GenericArgXml.cs | 405 | C# |
/*
Copyright (c) 2018-2021 Festo AG & Co. KG <https://www.festo.com/net/de_de/Forms/web/contact_international>
Author: Michael Hoffmeister
Copyright (c) 2019-2021 PHOENIX CONTACT GmbH & Co. KG <opensource@phoenixcontact.com>,
author: Andreas Orzelski
This source code is licensed under the Apache License 2.0 (see LIC... | 38.628959 | 107 | 0.43411 | [
"Apache-2.0"
] | JMayrbaeurl/aasx-package-explorer | src/BlazorUI/Data/AASService.cs | 8,539 | 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... | 36.046875 | 117 | 0.694842 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/AWSMarketplaceMetering/Generated/Model/ResolveCustomerRequest.cs | 2,307 | C# |
/*
* Time Series API For Digital Portals
*
* Time series data, end-of-day or intraday, tick-by-tick or subsampled. Additional vendor-specific endpoints provide a modified interface for seamless integration with the ChartIQ chart library.
*
* The version of the OpenAPI document: 2
* Generated by: https://github.co... | 42.777778 | 261 | 0.616883 | [
"Apache-2.0"
] | factset/enterprise-sdk | code/dotnet/TimeSeriesAPIforDigitalPortals/v3/src/FactSet.SDK.TimeSeriesAPIforDigitalPortals/Model/VendorChartIQTimeSeriesIntradaySubsampleListDataRange.cs | 6,930 | C# |
using DryIoc;
namespace Compori.Alphaplan.Plugin.Support.DryIoc.Extensions
{
public static class CommonVersion2100287Extension
{
/// <summary>
/// Register the the protocol provider support for version 2100.287.
/// </summary>
/// <param name="registrator">The registrator.</par... | 35.166667 | 110 | 0.640995 | [
"BSD-3-Clause"
] | compori/dotnet-alphaplan-plugin-core | src/Support2100287.DryIoc/Extensions/CommonVersion2100287Extension.cs | 846 | C# |
using System;
namespace SalesTaxes_Library.Presentation.Domain
{
/// <summary>
/// The shop billing details
/// </summary>
public class ReceiptBillingCompany
{
public ReceiptBillingCompany(
string companyName,
string holderName,
string address,
... | 28.434783 | 122 | 0.54893 | [
"Unlicense"
] | FrancescoBonizzi/lastminute-interview | SalesTaxes-ClientConsole/SalesTaxes-Library/Presentation/Domain/ReceiptBillingCompany.cs | 1,310 | C# |
using System.Collections.Generic;
using AElf.Standards.ACS1;
using AElf.Standards.ACS3;
using AElf.Contracts.MultiToken;
using AElf.Sdk.CSharp;
using AElf.Types;
using Google.Protobuf.WellKnownTypes;
namespace AElf.Contracts.CrossChain
{
public partial class CrossChainContract
{
#region Views
... | 34.342593 | 118 | 0.626314 | [
"MIT"
] | TreasureMouse/TreasureMouse | contract/TreasureMouse.Contracts.CrossChain/CrossChainContract_ACS1_TransactionFeeProvider.cs | 3,709 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Xom.Core.Exceptions
{
public class XomDataSerializationPropertyTypeMismatchException : XomDataSerializationException
{
public Type SourceType { get; private set; }
publ... | 36.888889 | 136 | 0.662651 | [
"MIT"
] | KallDrexx/Xom | Xom.Core/Exceptions/XomDataSerializationPropertyTypeMismatchException.cs | 998 | C# |
using System.Reflection;
// The assembly version has following format :
//
// Major.Minor.Build.Revision
//
// You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below:
[assembly: AssemblyVersion("9.0.041121.31")]
[assembly: AssemblyFileVersion("9.0.0... | 27.666667 | 77 | 0.73494 | [
"MIT"
] | 7amza123/azu | lib/SharedAssemblyInfo.cs | 332 | 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.
#nullable enable
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.Shell.Interop;
... | 42.567568 | 179 | 0.682751 | [
"Apache-2.0"
] | HenrikWM/roslyn | src/VisualStudio/Core/Def/Implementation/ProjectSystem/Extensions/IVsHierarchyExtensions.cs | 4,727 | C# |
using System.Drawing;
using ReClassNET.Memory;
using ReClassNET.UI;
namespace ReClassNET.Nodes
{
public class DoubleNode : BaseNumericNode
{
public override int MemorySize => 8;
public override void GetUserInterfaceInfo(out string name, out Image icon)
{
name = "Double";
icon = Properties.Resources.B16... | 21.097561 | 116 | 0.69711 | [
"MIT"
] | Rob--/ReClass.NET | ReClass.NET/Nodes/DoubleNode.cs | 867 | C# |
namespace YMApp.ECommerce.Pictures.Authorization
{
/// <summary>
/// 定义系统的权限名称的字符串常量。
/// <see cref="PictureAuthorizationProvider" />中对权限的定义.
///</summary>
public static class PicturePermissions
{
/// <summary>
/// Picture权限节点
///</summary>
public const string Node = "Pages.Picture";
/// <s... | 18.849057 | 64 | 0.623624 | [
"MIT"
] | yannis123/YMApp | src/ymapp-aspnet-core/src/YMApp.Core/ECommerce/Pictures/Authorization/PicturePermissions.cs | 1,101 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------... | 35.500998 | 223 | 0.749086 | [
"Unlicense"
] | DEFRA/license-and-permitting-dynamics | Crm/WastePermits/Defra.Lp.WastePermits/Model/EarlyBound/Entities/Team.cs | 71,144 | 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("Blo... | 37.189189 | 84 | 0.744913 | [
"MIT"
] | PacktPublishing/-Introducing-Test-Driven-Development-in-C- | Section 8/8.2&8.3 - Blog/Blog/Properties/AssemblyInfo.cs | 1,379 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Cynosura.Studio.Generator;
using Cynosura.Studio.Generator.Models;
using Microsoft.Extensions.DependencyInjection;
namespace Cynosura.Studio.CliTool.Commands
{
public class GenerateCommand: AppCommand
{
... | 37.859375 | 135 | 0.558811 | [
"MIT"
] | CynosuraPlatform/Cynosura.Studio | Cynosura.Studio.CliTool/Commands/GenerateCommand.cs | 4,848 | C# |
using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
using SelfLoadRO.DataAccess;
using SelfLoadRO.DataAccess.ERCLevel;
namespace SelfLoadRO.DataAccess.Sql.ERCLevel
{
/// <summary>
/// DAL SQL Server implementation of <see cref="ID11_CityRoadCollDal"/>
/// ... | 34.8 | 106 | 0.600985 | [
"MIT"
] | CslaGenFork/CslaGenFork | trunk/Samples/DeepLoad/DAL-DR/SelfLoadRO.DataAccess.Sql/ERCLevel/D11_CityRoadCollDal.Designer.cs | 1,218 | C# |
#region
using System;
using System.Threading.Tasks;
#endregion
namespace ESS.Framework.Common.Remoting
{
public class ResponseFuture
{
private readonly TaskCompletionSource<RemotingResponse> _taskSource;
public ResponseFuture(RemotingRequest request, long timeoutMillis, TaskCompletionSource... | 26.609756 | 125 | 0.63978 | [
"Apache-2.0"
] | wh-ess/ess | Framework/ESS.Framework.Common/Remoting/ResponseFuture.cs | 1,093 | C# |
#pragma checksum "D:\source\repos\clean\Happy_Analysis\Views\DataModel\Details.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "844c91561babeb5de74a83004e931a3cfccc7f7c"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.... | 50.281853 | 298 | 0.69838 | [
"MIT"
] | alyssaolivia/Happy-Analysis | obj/Debug/netcoreapp3.1/Razor/Views/DataModel/Details.cshtml.g.cs | 13,023 | C# |
using Content.Server.Chemistry.Components;
using Content.Server.Coordinates.Helpers;
using Content.Shared.Audio;
using Content.Shared.Chemistry.Components;
using Content.Shared.Sound;
using JetBrains.Annotations;
using Robust.Shared.Audio;
using Robust.Shared.Map;
using Robust.Shared.Player;
namespace Content.Server.... | 39.777778 | 153 | 0.703911 | [
"MIT"
] | EmoGarbage404/space-station-14 | Content.Server/Chemistry/ReactionEffects/FoamAreaReactionEffect.cs | 1,792 | C# |
using LeetCode_Solutions.helpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
namespace LeetCode_Solutions.LinkedList
{
/*
* Given a linked list, swap every two adjacent nodes and return its head.
* You may not modify the values in the list's nodes, only nodes itself may be cha... | 33.333333 | 131 | 0.630833 | [
"MIT"
] | ZeyuWangGit/Leetcode_Question_And_Solution | LeetCode_Solutions/LinkedList/SwapNodeInPairs.cs | 1,202 | C# |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\opmapi.h(182,1)
namespace DirectN
{
public enum _OPM_DPCP_PROTECTION_LEVEL
{
OPM_DPCP_OFF = 0,
OPM_DPCP_ON = 1,
OPM_DPCP_FORCE_ULONG = 2147483647,
}
}
| 24 | 83 | 0.625 | [
"MIT"
] | Steph55/DirectN | DirectN/DirectN/Generated/_OPM_DPCP_PROTECTION_LEVEL.cs | 266 | C# |
using System;
using System.Collections.Generic;
namespace Edison.Core.Common.Models
{
public class ChatReportModel
{
public Guid ReportId { get; set; }
public string ChannelId { get; set; }
public ChatUserModel User { get; set; }
public List<ChatReportLogModel> ReportLogs { get... | 26.5625 | 64 | 0.635294 | [
"MIT"
] | Mahesh1998/ProjectEdison | Edison.Core/Edison.Core.Common/Models/ChatReport/ChatReportModel.cs | 427 | C# |
#pragma checksum "C:\Users\lli\Desktop\MultithreadingwithCCookbookSecondEdition_Code\MultithreadingwithCCookbookSecondEdition_Code\Chapter11\Recipe3\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "69FC751654CD6576153E0A3584FE5648"
//-----------------------------------------------------------------------------... | 41.333333 | 240 | 0.630184 | [
"MIT"
] | llibetter/Multithreading-with-CSharp-CookBook | Chapter11/Recipe3/obj/x86/Debug/MainPage.g.i.cs | 1,738 | 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("02... | 37.864865 | 84 | 0.743041 | [
"MIT"
] | niki-funky/Telerik_Academy | Programming/Data Structures and Algorithms/04. Algo/04. Advanced Data Structures/02. OrderedBag/Properties/AssemblyInfo.cs | 1,404 | 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.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Az... | 51.184615 | 207 | 0.680643 | [
"ECL-2.0",
"Apache-2.0"
] | apollo2030/pulumi-azure | sdk/dotnet/Network/NetworkInterfaceBackendAddressPoolAssociation.cs | 6,654 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace Dev.Plugin.Data.EFCore.Data
{
public static class DbContextExtensions
{
#region Utilities
/// <summary>
/// Get SQL commands from the script
/// </summary>
... | 34.723077 | 130 | 0.534781 | [
"Apache-2.0"
] | DevBetterNet/ffn | webapi/src/plugins/Dev.Plugin.Data.EFCore/Data/DbContextExtensions.cs | 2,259 | 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 m... | 41.288079 | 142 | 0.551207 | [
"Apache-2.0"
] | BioDataAnalysis/thrift | lib/netstd/Thrift/Server/TThreadPoolAsyncServer.cs | 12,469 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
using LeanCloud.Core.Internal;
using LeanCloud.Storage.Internal;
namespace LeanCloud.Engine.Rpc
{
public interface IRpc
{
}
public static class RpcExtensions
{
public static as... | 35.245 | 116 | 0.470847 | [
"Apache-2.0"
] | leancloud/leanegine-dotnet-sdk | src/Rpc/IRpc.cs | 7,051 | C# |
/*
http://www.cgsoso.com/forum-211-1.html
CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源!
CGSOSO 主打游戏开发,影视设计等CG资源素材。
插件如若商用,请务必官网购买!
daily assets update for try.
U should buy the asset from home store if u use it in your project!
*/
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
using... | 30.181818 | 125 | 0.512743 | [
"MIT"
] | zhoumingliang/test-git-subtree | Assets/RotateMe/Scripts/Best HTTP (Pro)/BestHTTP/SecureProtocol/math/ec/custom/sec/SecP256K1Point.cs | 8,726 | C# |
using System.Collections.Generic;
using Android.App;
using Android.Graphics;
using Android.OS;
using Android.Support.V4.Content;
using Android.Support.V7.Widget;
using Android.Support.V7.Widget.Helper;
using Android.Util;
using BaseRecyclerViewAdapterHelper.Sample.Adapter;
using BaseRecyclerViewAdapterHelper.Sample.B... | 38.336364 | 147 | 0.594498 | [
"Apache-2.0"
] | dminta/BaseRecyclerViewAdapterHelperXamarinAndroidBinding | BaseRecyclerViewAdapterHelper.Sample/ItemDragAndSwipeUseActivity.cs | 4,225 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 32.434783 | 142 | 0.656166 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20200701/Outputs/OwaspCrsExclusionEntryResponse.cs | 1,492 | C# |
using System;
using System.IO;
using System.Text;
namespace SharpZebra.Commands
{
public partial class ZPLCommands
{
/// <summary>
/// Initializes printer print speed, tear off, alignment, width and darkness
/// </summary>
/// <param name="settings">The variable containing all ... | 58.96337 | 214 | 0.602473 | [
"MIT"
] | gilby125/sharpzebra | Com.SharpZebra/Commands/StandardZPLCommand.cs | 16,099 | C# |
namespace DK.Api.Areas.HelpPage
{
/// <summary>
/// Indicates whether the sample is used for request or response
/// </summary>
public enum SampleDirection
{
Request = 0,
Response
}
} | 20.272727 | 68 | 0.596413 | [
"MIT"
] | RyxolSolutions/web.api.elearning | DK.Api/Areas/HelpPage/SampleGeneration/SampleDirection.cs | 223 | 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.
#nullable disable
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using static In... | 33.242991 | 161 | 0.425288 | [
"MIT"
] | adamsitnik/winforms | src/System.Windows.Forms/src/System/Windows/Forms/ListView.SelectedListViewItemCollection.cs | 14,230 | C# |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace UiPath.Web.Client20204.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Ge... | 27.711111 | 98 | 0.613472 | [
"MIT"
] | AFWberlin/orchestrator-powershell | UiPath.Web.Client/generated20204/Models/ListResultDtoNameValueDto.cs | 1,247 | 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.AwsN... | 42.324444 | 153 | 0.628478 | [
"Apache-2.0"
] | AaronFriel/pulumi-aws-native | sdk/dotnet/QuickSight/DataSet.cs | 9,523 | C# |
using Godot;
using System;
/**
* Handles managing the advisor screens.
* Showing them, hiding them... maybe some other things eventually.
* This is part of the effort to de-centralize from Game.cs and be more event driven.
*/
public class Advisors : CenterContainer
{
// Called when the node enters the scene tree... | 27.253165 | 166 | 0.687413 | [
"MIT"
] | C7-Game/Prototype | C7/UIElements/Advisors/Advisors.cs | 2,153 | C# |
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
namespace <%= botName %>.Triggers
{
public class StaticFilesTrigger
{
pri... | 30.029851 | 102 | 0.586978 | [
"MIT"
] | QPC-database/botframework-components | generators/generator-bot-adaptive/generators/app/templates/dotnet/functions/Triggers/StaticFilesTrigger.cs | 2,012 | C# |
using Umbraco.Core.Configuration;
using Umbraco.Core.Logging;
using Umbraco.Core.Persistence.SqlSyntax;
namespace Umbraco.Core.Persistence.Migrations.Upgrades.TargetVersionSix
{
[Migration("6.0.0", 0, Constants.System.UmbracoMigrationName)]
public class RenameCmsTabTable : MigrationBase
{
public R... | 28.083333 | 104 | 0.658754 | [
"MIT"
] | filipesousa20/Umbraco-CMS-V7 | src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSix/RenameCmsTabTable.cs | 676 | 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... | 41.842105 | 217 | 0.564046 | [
"MIT"
] | 0xced/azure-sdk-for-net | src/SDKs/PostgreSQL/Management.PostgreSQL/Generated/Operations.cs | 9,540 | C# |
using System;
namespace Bridge
{
/// <summary>
/// Specifies full path name of the entity (namespace+entity), when emitting JavaScript-equivalent
/// code. This overrides the inferred namespace.class.method name, for example.
/// </summary>
/// <remarks>
/// Use "Object" (with quotes) to hide ... | 41.095238 | 259 | 0.704519 | [
"Apache-2.0"
] | Cheatoid/CSharp.lua | test/BridgeNetTests/BridgeAttributes/src/NameAttribute.cs | 865 | C# |
using System.Threading.Tasks;
using Abp.Configuration;
using Abp.Zero.Configuration;
using AAC.ABPDemo.Authorization.Accounts.Dto;
using AAC.ABPDemo.Authorization.Users;
namespace AAC.ABPDemo.Authorization.Accounts
{
public class AccountAppService : ABPDemoAppServiceBase, IAccountAppService
{
// from: ... | 37.344828 | 174 | 0.642198 | [
"MIT"
] | Ramos66/ABPDemo | aspnet-core/src/AAC.ABPDemo.Application/Authorization/Accounts/AccountAppService.cs | 2,166 | C# |
/*
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
*
* 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 System;
using SafeExa... | 30.7375 | 143 | 0.749695 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | junbaor/seb-win-refactoring | SafeExamBrowser.Service/Operations/LockdownOperation.cs | 4,921 | C# |
using Unity.Collections;
using UnityEngine;
namespace Newtonsoft.Json.UnityConverters.Scripting
{
public class RangeIntConverter : PartialConverter<RangeInt>
{
protected override void ReadValue(ref RangeInt value, string name, JsonReader reader, JsonSerializer serializer)
{
switch ... | 32.233333 | 120 | 0.594623 | [
"MIT"
] | DefCon1VR/Newtonsoft.Json-for-Unity.Converters | Packages/Newtonsoft.Json-for-Unity.Converters/UnityConverters/Scripting/RangeIntConverter.cs | 969 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
var firstNumber = int.Parse(Console.ReadLine());
var secondNumber = int.Parse(Co... | 27.037037 | 85 | 0.464384 | [
"MIT"
] | stefankon/CShomeworkAndLabIssues | CSharp-Conditional-Statements-and-Loops-Exercises/ConsoleApp1/p12.TestNumbers.cs | 1,462 | C# |
using System;
using System.Data;
using Oracle.ManagedDataAccess.Client;
namespace ODP.NET_CICQN_JSON_21c
{
//This app demonstrates how to use Client Initiated Continquous Query Notification (CICQN) and
// JSON (OSON) data type with Oracle Database 21c. Works with autonomous, cloud, or on-premises DB.
//Se... | 44.482993 | 135 | 0.509711 | [
"MIT"
] | LaudateCorpus1/dotnet-db-samples | session-demos/2021/cicqn-json/cicqn-json.cs | 6,539 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 39.417647 | 142 | 0.589464 | [
"Apache-2.0"
] | pulumi-bot/pulumi-azure-native | sdk/dotnet/ServiceBus/Latest/Rule.cs | 6,701 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
namespace Microsoft.AspNetCore.Mvc.ModelBinding.Binders;
/// <summary>
/// An <see cref="IModelBinderProvider"/> for models which specify an <see cref="IModelBind... | 27.096774 | 96 | 0.67619 | [
"MIT"
] | Aezura/aspnetcore | src/Mvc/Mvc.Core/src/ModelBinding/Binders/BinderTypeModelBinderProvider.cs | 840 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.