content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Web;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Subtext.Extensibility;
using Subtext.Framework;
using Subtext.Framework.Components;
using Subtext.Framework.Routing;
using Subtext.Framework... | 57.833333 | 182 | 0.546538 | [
"MIT"
] | technology-toolbox/Subtext | src/UnitTests.Subtext/Framework/Syndication/Admin/ModeratedCommentRssWriterTests.cs | 12,839 | C# |
using System;
namespace WebAppUSingDocker.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | 19.545455 | 70 | 0.67907 | [
"MIT"
] | CNinnovation/html5jan2019 | Day4/WebAppUSingDocker/WebAppUSingDocker/Models/ErrorViewModel.cs | 215 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using JetBrains.Annotations;
// ReSharper disable NonReadonlyMemberInGetHashCode
namespace JsonApiDotNetCore.Resources.Annotations
{
/// <summary>
/// Used to expose a property on a resource c... | 41.182243 | 157 | 0.612618 | [
"MIT"
] | jlits/JsonApiDotNetCore | src/JsonApiDotNetCore/Resources/Annotations/HasManyThroughAttribute.cs | 8,813 | C# |
#if !DNXCORE50
using Discord.API;
using RestSharp;
using System;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Discord.Net.Rest
{
internal sealed class SharpRestEngine : IRestEngine
{
private readonly DiscordAPIClientConfig _config;
private readonly ... | 31.942529 | 144 | 0.706729 | [
"MIT"
] | jhgg/Discord.Net | src/Discord.Net/Net/Rest/SharpRestEngine.cs | 2,781 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace _02.OddOccurrences
{
class Program
{
static void Main(string[] args) //version 2.0
{
string[] words = Console.ReadLine()
.ToLower()
.Split()
... | 30.126761 | 115 | 0.436653 | [
"MIT"
] | FanyaKk/CSharpUniProjects | C#Fundamentals January 2020/AssociativeArrays/02.OddOccurrences/Program.cs | 2,145 | 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.Reflection;
namespace Microsoft.Toolkit.Services
{
/// <summary>
/// This class ... | 33.714286 | 168 | 0.620339 | [
"MIT"
] | 14632791/WindowsCommunityToolkit | Microsoft.Toolkit.Services/Core/ExtensionMethods.cs | 1,180 | C# |
using System;
namespace WindowsGrep.Common
{
public class ConsoleItem
{
#region Properties..
#region BackgroundColor
public ConsoleColor BackgroundColor { get; set; } = Console.BackgroundColor;
#endregion BackgroundColor
#region ForegroundColor
public ConsoleCo... | 24 | 84 | 0.627976 | [
"MIT"
] | sLill/Windows-BudgetGrep | WindowsGrep/WindowsGrep.Common/ConsoleItem.cs | 674 | C# |
/*
* Copyright 2010-2013 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... | 38.967033 | 207 | 0.638748 | [
"Apache-2.0"
] | mahanthbeeraka/dataservices-sdk-dotnet | AWSSDK/Amazon.AWSSupport/Model/Internal/MarshallTransformations/TrustedAdvisorResourcesSummaryUnmarshaller.cs | 3,546 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace LoRaWan.NetworkServer
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Net;
using Syst... | 44.615385 | 300 | 0.587252 | [
"MIT"
] | MaggieSalak/iotedge-lorawan-starterkit | LoRaEngine/modules/LoRaWanNetworkSrvModule/LoRaWan.NetworkServer/UdpServer.cs | 19,142 | C# |
/* $Id*/
/*
* Copyright (C) 2016 Teluu Inc. (http://www.teluu.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
... | 37.76 | 140 | 0.661017 | [
"Apache-2.0"
] | lcmftianci/licodeanalysis | pjproject-2.9/pjsip-apps/src/pjsua/winrt/gui/uwp/Voip/Helpers/EndpointHelper.cs | 3,778 | C# |
/* ---------------------------------------
* Author: Martin Pane (martintayx@gmail.com) (@tayx94)
* Collaborators: Lars Aalbertsen (@Rockylars)
* Project: Graphy - Ultimate Stats Monitor
* Date: 05-Mar-18
* Studio: Tayx
*
* This project is released under the MIT li... | 25.774194 | 68 | 0.540676 | [
"MIT"
] | rawstacktech/unity-lighting-experiments | Assets/Plugins/Graphy/Scene/Customization Scripts/UpdateTextWithSliderValue.cs | 1,600 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Th... | 28.947368 | 143 | 0.618182 | [
"MIT"
] | hallgeirl/cloud-demo | app/HallgeirWebApp/HallgeirWebApp/Startup.cs | 1,650 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using cilspirv.Spirv;
using cilspirv.Spirv.Ops;
using Mono.Cecil;
namespace cilspirv.Transpiler
{
internal class TranspilerInternalMethodMapper : ITranspilerLibraryMapper
{
... | 34.021277 | 123 | 0.659787 | [
"MIT"
] | Helco/cilspirv | cilspirv.transpiler/Transpiler/TranspilerInternalMethodMapper.cs | 1,601 | C# |
using Bytes2you.Validation;
using Cosmetics.Common;
using Cosmetics.Contracts;
using System;
using System.Text;
namespace Cosmetics.Products
{
public class Shampoo : Product, IProduct, IShampoo
{
//Class shampoo inherits class Product and extends fields milliliters and usage;
//Each Shampo... | 25.676471 | 101 | 0.514891 | [
"MIT"
] | simeonovanton/TelerikALPHA_nov2017 | 04.OOP/CosmWorkshop_12122017/Cosmetics-Skeleton/Cosmetics/Products/Shampoo.cs | 1,748 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Api.Data.Context;
using Api.Domain.Entities;
using Api.Domain.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace Api.Data.Repository
{
public class BaseRepository<T> : IRepository<T> where T : BaseEntity
{
prot... | 23.85124 | 92 | 0.447332 | [
"MIT"
] | makampos/api-dotnetcore | src/Api.Data/Repository/BaseRepository.cs | 2,886 | C# |
using UnityEngine;
using UnityEngine.Rendering.Universal;
namespace UnityEditor.Rendering.Universal
{
[VolumeComponentEditor(typeof(ChannelMixer))]
sealed class ChannelMixerEditor : VolumeComponentEditor
{
SerializedDataParameter m_RedOutRedIn;
SerializedDataParameter m_RedOutGreenIn;
... | 45.12987 | 176 | 0.638849 | [
"MIT"
] | Liaoer/ToonShader | Packages/com.unity.render-pipelines.universal@12.1.3/Editor/Overrides/ChannelMixerEditor.cs | 3,475 | C# |
// -----------------------------------------------------------------------
// <copyright file="EndpointReader.cs" company="Asynkron HB">
// Copyright (C) 2015-2018 Asynkron HB All rights reserved
// </copyright>
// -----------------------------------------------------------------------
using System.Li... | 37.181818 | 116 | 0.476467 | [
"Apache-2.0"
] | Impetus-Global-Research/protoactor-dotnet | src/Proto.Remote/EndpointReader.cs | 3,274 | C# |
/*
* Selling Partner API for Finances
*
* The Selling Partner API for Finances helps you obtain financial information relevant to a seller's business. You can obtain financial events for a given order, financial event group, or date range without having to wait until a statement period closes. You can also obtain f... | 33.528846 | 322 | 0.605391 | [
"MIT"
] | KristopherMackowiak/Amazon-SP-API-CSharp | Source/AmazonSpApiSDK/Models/Finances/FinancialEventGroupList.cs | 3,487 | C# |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | 31.444444 | 78 | 0.367491 | [
"MIT"
] | jiveabillion/squidex | src/Squidex.Infrastructure/Orleans/JExtensions.cs | 568 | C# |
using System;
using Avalonia.Input;
using Avalonia.Input.Raw;
namespace Avalonia.Input.Raw
{
public class RawDragEvent : RawInputEventArgs
{
public IInputElement InputRoot { get; }
public Point Location { get; }
public IDataObject Data { get; }
public DragDropEffects Effects { ... | 29.461538 | 95 | 0.614883 | [
"MIT"
] | BOBO41/Avalonia | src/Avalonia.Input/Raw/RawDragEvent.cs | 768 | 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.Linq;
using System.Reacti... | 36.986301 | 197 | 0.627778 | [
"MIT"
] | Nilox/ReactiveUI | src/ReactiveUI.Wpf/WpfDependencyObjectObservableForProperty.cs | 2,702 | C# |
using System;
using System.IO;
using libProChic;
namespace Notepad
{
public partial class formnotepad
{
private string strFile;
private MasterClass m = new MasterClass();
public formnotepad(String strFile)
{
InitializeComponent();
if (System.IO.File.Exis... | 44.888889 | 265 | 0.583098 | [
"BSD-3-Clause"
] | LeMS-Studio5/ProjectChicago- | Applications/Win95/Notepad/Notepad.cs | 2,830 | C# |
using UnityEngine;
using System.Collections;
public class Cloud : MonoBehaviour {
public Vector3 velocity = new Vector3(0.1f, 0, 0);
public Vector3 limits = new Vector3(100, 100, 100);
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
Vector3 pos = tr... | 20.542857 | 61 | 0.653686 | [
"MIT"
] | nickjbenson/Kami | Assets/Scripts/Cloud.cs | 721 | C# |
namespace LiveSplit.UI.Components
{
partial class SummaryTrackerSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
//... | 51.941558 | 182 | 0.632829 | [
"MIT"
] | Shockster218/LiveSplit.AllQuestsTracker | UI/Components/SummaryTrackerSettings.Designer.cs | 8,001 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Gooios.EnterprisePortal.Models.AccountViewModels
{
public class LoginViewModel
{
[Required]
[EmailAddress]
public string Email { get; ... | 22.826087 | 58 | 0.660952 | [
"Apache-2.0"
] | hccoo/gooios | netcoremicroservices/Gooios.EnterprisePortal/Models/AccountViewModels/LoginViewModel.cs | 527 | C# |
namespace MediaShare.Models.TokenAuth
{
public class ExternalAuthenticateResultModel
{
public string AccessToken { get; set; }
public string EncryptedAccessToken { get; set; }
public int ExpireInSeconds { get; set; }
public bool WaitingForActivation { get; set; }
}
}
| 22.571429 | 56 | 0.661392 | [
"MIT"
] | tigeryzx/MediaShare | aspnet-core/src/MediaShare.Web.Core/Models/TokenAuth/ExternalAuthenticateResultModel.cs | 318 | 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:01:58 UTC
// </auto-generated>
//--------------... | 34.625 | 101 | 0.631441 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/packages_ErrorStruct.cs | 3,047 | C# |
using System;
using System.Collections.Generic;
using System.Threading;
using Machine.Container.Model;
using Machine.Container.Plugins;
using Machine.Core.Utility;
namespace Machine.Container.Services.Impl
{
public class Memento<K, V>
{
readonly Dictionary<K, V> _map = new Dictionary<K, V>();
... | 29.691729 | 113 | 0.613067 | [
"MIT"
] | benlovell/machine | Source/Container/Machine.Container/Services/Impl/ServiceGraph.cs | 3,949 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PSTParse.ListsTablesPropertiesLayer
{
public class BTHDataRecord
{
public uint Key;
public uint Value;
public BTHDataRecord(byte[] bytes, BTHHEADER header)
{
var keySize... | 25.652174 | 96 | 0.640678 | [
"MIT"
] | Sharpiro/PST-Parser | PSTParse/ListsTablesPropertiesLayer/BTHDataRecord.cs | 592 | C# |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... | 45.568627 | 193 | 0.768503 | [
"Apache-2.0"
] | jamieromanowski/aws-sdk-net | sdk/src/Services/DLM/Properties/AssemblyInfo.cs | 2,324 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mediapipe/calculators/image/scale_image_calculator.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protob... | 41.950937 | 634 | 0.677696 | [
"Apache-2.0"
] | SeedV/SeedAvatarStudio | Packages/com.github.homuler.mediapipe/Runtime/Scripts/Protobuf/Calculators/Image/ScaleImageCalculator.cs | 47,027 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.Security.Cryptography.Dsa.Tests
{
public class DSAOpenSslProvider : IDSAProvider
{
public DSA Create()
{
return new DSAOpenSsl();... | 25 | 83 | 0.64 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Security.Cryptography.OpenSsl/tests/DsaOpenSslProvider.cs | 675 | C# |
namespace TeisterMask.Data
{
using Microsoft.EntityFrameworkCore;
using TeisterMask.Data.Models;
public class TeisterMaskContext : DbContext
{
public TeisterMaskContext() { }
public TeisterMaskContext(DbContextOptions options)
: base(options) { }
public DbSet<Pro... | 27.526316 | 85 | 0.587954 | [
"MIT"
] | Siafarikas/SoftUni | DB/ExamPrep/TeisterMask/Data/TeisterMaskContext.cs | 1,048 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Boss : MonoBehaviour
{
public BossEye[] eyes = new BossEye[2];
public int currentEye = 0;
public Enemy spawnable;
public bool active = false;
public float timeBetweenSpawns = 5.0f;
public float timeSinc... | 25.87013 | 106 | 0.540663 | [
"MIT"
] | jamioflan/LD38 | Assets/Scripts/Entities/Boss.cs | 1,994 | C# |
// Copyright (c) 2017 Jan Pluskal, Dudek Jindrich
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law ... | 33.884615 | 74 | 0.721907 | [
"Apache-2.0"
] | mvondracek/NetfoxDetective | Framework/Snoopers/SnooperXchat/Models/XChatSnooperExport.cs | 883 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 38 | 85 | 0.552632 | [
"Unlicense"
] | Krailit/Aryuwat_Nurse | AryuwatSystem/m_DataSet/BookingDoctor.cs | 1,178 | C# |
using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.IoT1Click.Device
{
/// <summary>
/// AWS::IoT1Click::Device
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot1click-device.html
/// </summary>
public class... | 36.916667 | 162 | 0.630361 | [
"MIT"
] | stanb/Comformation | src/Comformation/Generated/IoT1Click/Device/DeviceResource.cs | 1,772 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data;
using Schoo... | 42.849231 | 115 | 0.513787 | [
"MIT"
] | ironboundmanzer/SP1 | SchoolProject/frmShowLocation.cs | 13,928 | C# |
////////////////////////////////////////////////////////////////////////////
//
// Epoxy template source code.
// Write your own copyright and note.
// (You can use https://github.com/rubicon-oss/LicenseHeaderManager)
//
////////////////////////////////////////////////////////////////////////////
using Epoxy;
using E... | 30.593407 | 105 | 0.446121 | [
"Apache-2.0"
] | kekyo/Epoxy | templates/templates/EpoxyHello.Wpf/EpoxyHello/ViewModels/MainWindowViewModel.cs | 2,786 | C# |
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace Sholo.HomeAssistant.Utilities
{
[PublicAPI]
public static class AsyncEnumerableExtensions
{
public static async IAsyncE... | 28.4375 | 82 | 0.649451 | [
"MIT"
] | scottt732/Sholo.HomeAssistant | Source/Sholo.HomeAssistant.Common/Utilities/AsyncEnumerableExtensions.cs | 910 | C# |
using System.Text;
using SAModels;
namespace SAWebUI.Models {
public class CustomerViewModel {
public string Id { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public string Email { get; set; }
public string Phone { get; set; }
pub... | 31.958333 | 82 | 0.548892 | [
"MIT"
] | 210628-UTA-NET/sean-young-P1 | SAWebUI/Models/CustomerViewModel.cs | 767 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using ILRuntime.CLR.Method;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Utils;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using LitJson;
using SQLite4Unity3d;
using UnityEngine;... | 34.867188 | 151 | 0.524087 | [
"Apache-2.0"
] | yimengfan/BDFramework | Packages/com.popo.bdframework/Runtime/AssetsManager/Sql/SqliteHelper.cs | 4,476 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using BusinessExample.Core.Entities;
using BusinessExample.Core.Interfaces;
namespace BusinessExample.Infrastructure
{
public class IdentityService : IIdentityService
{
... | 33.413793 | 95 | 0.681115 | [
"Apache-2.0"
] | MartinLRodrigues/FlowR | FlowR/Samples/BusinessExample/BusinessExample.Infrastructure/IdentityService.cs | 971 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Orleans;
namespace Contracts.Articles
{
public interface IArticleGrain : IGrainWithIntegerCompoundKey
{
//TODO: create grain implementation
Task<Error> CreateArticle(Article article);
... | 26.380952 | 81 | 0.712996 | [
"MIT"
] | rizaramadan/Coduitorleans | src/Contracts/Articles/IArticleGrain.cs | 556 | C# |
namespace GraphQL.Client.Tests.Common.Chat.Schema
{
public class ChatSchema : Types.Schema
{
public ChatSchema(IDependencyResolver resolver)
: base(resolver)
{
Query = resolver.Resolve<ChatQuery>();
Mutation = resolver.Resolve<ChatMutation>();
Subs... | 27.714286 | 65 | 0.613402 | [
"MIT"
] | Eilon/graphql-client | tests/GraphQL.Client.Tests.Common/Chat/Schema/ChatSchema.cs | 388 | C# |
// <copyright file="PropertyType.cs" company="Fubar Development Junker">
// Copyright (c) 2016 Fubar Development Junker. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
namespace BeanIO.Internal.Parser
{
/// <summary>
//... | 28.530612 | 102 | 0.59299 | [
"MIT"
] | FubarDevelopment/beanio-net | src/FubarDev.BeanIO/Internal/Parser/PropertyType.cs | 1,398 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using StartFolio.DAL;
using System.IO;
using Microsoft.AspNetCore.Hosting;
using StartFolio.Models;
namespace StartFolio.Controllers
{
[Produces("applic... | 36.795082 | 129 | 0.586545 | [
"MIT"
] | IlyaSolovyov/angular-startfolio | StartFolio/Controllers/PageController.cs | 4,567 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Persistence.Migrations
{
public partial class AddEmailAuthenticator : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Aut... | 47.098485 | 218 | 0.521634 | [
"MIT"
] | ahmet-cetinkaya/rentacar-project-backend-dotnet | src/rentACar/Persistence/Migrations/20220218102344_Add-EmailAuthenticator.cs | 6,219 | 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("9.... | 38.027027 | 84 | 0.745558 | [
"MIT"
] | DVidenov/TelerikHomeworks | HomeworkLoops/9.MatrixOfNumbers/Properties/AssemblyInfo.cs | 1,410 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Chat.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Pro... | 32.146939 | 161 | 0.728796 | [
"MIT"
] | Addision/ProtoTool | Program/protobuf/Chat/Chat.cs | 7,876 | C# |
using UnityEngine;
namespace RTSLockstep
{
public class GridDebugger : MonoBehaviour
{
//Show the grid debugging?
public bool Show;
//type of grid to show... can be changed in runtime. Possibilities: Construct grid, LOS grid
public GridType LeGridType;
//Height of the g... | 31.387755 | 120 | 0.454161 | [
"MIT"
] | mrdav30/LockstepRTSEngine | Assets/Integration/Test/GridDebugger.cs | 3,078 | 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 ... | 30.4 | 93 | 0.684211 | [
"Apache-2.0"
] | apache/incubator-plc4x | plc4net/api/api/exceptions/PlcConnectionException.cs | 1,520 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
class MinMaxSumAverage
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
int[] nums = new int[n];
for (int i = 0; i < n; i++)
{
nums[i] = int.Parse(Console.ReadLine());
}
... | 22.16129 | 73 | 0.473071 | [
"MIT"
] | origami99/SoftUni | 02. ProgFund/Exercises/08. Dictionaries, Lambda and LINQ - Lab/03. Min, Max, Sum, Average/MinMaxSumAverage.cs | 689 | 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("Hou... | 37.243243 | 84 | 0.745283 | [
"MIT"
] | donded/soft-uni-zadachi | drowingPic/House/Properties/AssemblyInfo.cs | 1,381 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.ApplicationModel.Store.Preview.InstallControl
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class AppInstallItem
{
#if __ANDROID__ || __IO... | 45.234637 | 230 | 0.78066 | [
"Apache-2.0"
] | nv-ksavaria/Uno | src/Uno.UWP/Generated/3.0.0.0/Windows.ApplicationModel.Store.Preview.InstallControl/AppInstallItem.cs | 8,097 | C# |
/**
* The MIT License
* Copyright (c) 2016 Population Register Centre (VRK)
*
* 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
* t... | 36.328125 | 102 | 0.660215 | [
"MIT"
] | MikkoVirenius/ptv-1.7 | src/PTV.Domain.Model/Models/Interfaces/OpenApi/V5/IV5VmOpenApiPhoneChannelPhone.cs | 2,327 | C# |
using System;
using System.Runtime.InteropServices;
namespace Antijank.Debugging {
[StructLayout(LayoutKind.Sequential)]
public struct COR_TYPEID : IEquatable<COR_TYPEID> {
public ulong token1;
public ulong token2;
public override int GetHashCode()
=> (int) token1 + (int) token2;
pub... | 19.413793 | 58 | 0.666075 | [
"MIT"
] | JoeFwd/MnB2-Bannerlord-CommunityPatch | tools/Antijank.Debugger/Debugging/CorDebug/COR_TYPEID.cs | 563 | C# |
using Microsoft.AspNetCore.Identity;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Zero.Configuration;
using TinTucCongNghe.Authorization.Roles;
using TinTucCongNghe.... | 33.391304 | 76 | 0.64388 | [
"MIT"
] | nmsdzbmt/TinTucCongNghe-Angular-ABP | aspnet-core/src/TinTucCongNghe.Core/Authorization/LoginManager.cs | 1,538 | C# |
using UnityEngine;
/** Shimmy a script to rotate and/or shimmy an object
* Matthew Vecchio for VOXON
* v 1.0
*
*/
namespace Voxon.Examples.Animation
{
public class Shimmy : MonoBehaviour {
[Tooltip("The speed of rotation 100 is default. Value are 0 - infinity")]
public float speed = 100;
... | 34.392473 | 101 | 0.4277 | [
"MIT"
] | lee1761/3D-avatar | 3D chatbot/Assets/Voxon/Examples/Scripts/Animation/Shimmy.cs | 6,399 | C# |
using System;
using EditorUtils;
using Microsoft.VisualStudio.Text.Editor;
using Vim.Extensions;
using Xunit;
using Microsoft.VisualStudio.Text;
namespace Vim.UnitTest
{
public abstract class MacroIntegrationTest : VimTestBase
{
protected IVimBuffer _vimBuffer;
protected ITextBuffe... | 40.929648 | 126 | 0.505034 | [
"Apache-2.0"
] | L1031353632/VsVim | Test/VimCoreTest/MacroIntegrationTest.cs | 16,292 | C# |
//
// RuntimeBinderContext.cs
//
// Authors:
// Marek Safar <marek.safar@gmail.com>
//
// Copyright (C) 2009 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the ... | 26.26087 | 139 | 0.727925 | [
"Apache-2.0"
] | PlayScriptRedux/playscript | mcs/class/PlayScript.Dynamic/PlayScript/RuntimeBinder/RuntimeBinderContext.cs | 3,624 | C# |
using System;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
#pragma warning disable 1591
namespace Nano.Demo.Mvc4
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
public class MvcApplication : Ht... | 27.30303 | 77 | 0.63485 | [
"MIT"
] | revnique/Nano | src/Nano.Demo.Mvc4/Global.asax.cs | 903 | C# |
using McMaster.Extensions.CommandLineUtils;
using System;
using System.IO;
namespace dotnet_fs
{
[Command(Description = "Lists files and folders.")]
class List
{
[Option(Description = "Folder path.")]
public string Path { get; } = ".";
public void OnExecute(IConsole console)
... | 23.611111 | 62 | 0.46 | [
"MIT"
] | damirarh/dotnet-fs | dotnet-fs/List.cs | 852 | C# |
using System;
using CamundaClient;
using CamundaClient.Dto;
using CamundaClient.Services;
namespace CamundaClientDemo
{
public class ChargeCardSubscriptionWorker : SubscriptionWorker
{
public string WorkderId { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
... | 30.045455 | 123 | 0.680787 | [
"MIT"
] | nextgenadarsh/Camunda-Client-CSharp | CamundaClientDemo/ChargeCardTopicSubscriptionHandler.cs | 663 | C# |
namespace FSH.WebApi.Domain.Lookup;
public class InActiveReason : AuditableLookupEntity, IAggregateRoot
{
public string Name { get; set; }
public string? Description { get; set; }
public string InActiveStatusId { get; private set; }
public virtual InActiveStatus InActiveStatus { get; private set; } = ... | 42.652174 | 136 | 0.705403 | [
"MIT"
] | SyahidahSuhaili/dotnet-webapi-boilerplate | src/Core/Domain/Lookup/InActiveReason.cs | 983 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Septem.Notifications.Jobs.Config;
namespace Septem.Notifications.Jobs.JobExecution;
internal class ConcurrentQueueDispatcherJobStrategyHandler : ITaskExecuteStrategyHandler
{
private readonly ConcurrentQueueDispatcher _concurrent... | 31.458333 | 107 | 0.802649 | [
"MIT"
] | rasimismatulin/Septem.Utils | src/Septem.Notifications.Jobs/JobExecution/ConcurrentQueueDispatcherJobStrategyHandler.cs | 757 | C# |
using CodeHub.Core.ViewModels.Repositories;
namespace CodeHub.iOS.Views.Repositories
{
public class RepositoryForksView : BaseRepositoriesView<RepositoryForksViewModel>
{
public RepositoryForksView()
{
Title = "Forks";
}
}
}
| 19.714286 | 85 | 0.663043 | [
"Apache-2.0"
] | gitter-badger/CodeHub | CodeHub.iOS/Views/Repositories/RepositoryForksView.cs | 278 | C# |
namespace Walpy.VacancyApp.Server.Models.Web.Vacancy
{
public class IndexPageStatus
{
public bool Success { get; set; }
public string Message { get; set; }
}
} | 23.375 | 52 | 0.641711 | [
"MIT"
] | allan-walpy/01-19-vacancy-task-1 | src/Models/Web/Vacancy/IndexPageStatus.cs | 187 | C# |
/*
This file is a part of JustLogic product which is distributed under
the BSD 3-clause "New" or "Revised" License
Copyright (c) 2015. All rights reserved.
Authors: Vladyslav Taranov.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following... | 41.169811 | 80 | 0.784601 | [
"BSD-3-Clause"
] | AqlaSolutions/JustLogic | Assets/JustLogicUnits/Generated/GUILayout/JLGuiLayoutMinHeight.cs | 2,182 | C# |
using System.Collections.Generic;
using Unity.NetCode;
using Unity.NetCode.Editor;
using static Unity.NetCode.Editor.GhostAuthoringComponentEditor;
public class GhostOverrides : IGhostDefaultOverridesModifier {
public void Modify(Dictionary<string, GhostAuthoringComponentEditor.GhostComponent> overrides) {
over... | 40.25 | 159 | 0.760426 | [
"MIT"
] | mpcomplete/frenzy | Assets/Scripts/GhostOverrides/GhostOverrides.cs | 1,129 | C# |
//-----------------------------------------------------------------------
// <copyright file="PersistentFSMSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright... | 34.417857 | 131 | 0.556112 | [
"Apache-2.0"
] | hueifeng/akka.net | src/core/Akka.Persistence.Tests/Fsm/PersistentFSMSpec.cs | 38,550 | C# |
namespace WebPlex.Core.Builders {
public class FlatConstant : Constant {
private readonly string _key;
public FlatConstant(string key) {
_key = key;
}
protected override string BuildKey() {
return _key;
}
}
} | 17.615385 | 40 | 0.694323 | [
"MIT"
] | m-sadegh-sh/WebPlex | src/WebPlex.Core/Builders/FlatConstant.cs | 231 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Assets.Scripts.Input;
using UnityEngine;
namespace Assets.Scripts.Tutorial
{
/// <summary>
/// Class that can play the tutorial for this game.
/// </summary>
class TutorialControll... | 36.852174 | 153 | 0.589901 | [
"MIT"
] | MatousK/EncounterGenerationRPG | Assets/Scripts/Tutorial/TutorialController.cs | 4,240 | 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("Pr... | 35.689655 | 84 | 0.740097 | [
"MIT"
] | Advik-B/Preserver | src/Properties/AssemblyInfo.cs | 1,038 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection... | 42.933962 | 252 | 0.691496 | [
"MIT"
] | 752636090/ET | Unity/Assets/Mono/ILRuntime/Generate/UnityEngine_UI_Toggle_Binding.cs | 4,551 | 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" f... | 43.459119 | 132 | 0.606512 | [
"Apache-2.0"
] | MDanialSaleem/aws-sdk-net | sdk/src/Services/S3Control/Custom/Internal/AmazonS3ControlPostMarshallHandler.cs | 6,912 | C# |
#region MigraDoc - Creating Documents on the Fly
//
// Authors:
// Klaus Potzesny
//
// Copyright (c) 2001-2017 empira Software GmbH, Cologne Area (Germany)
//
// http://www.pdfsharp.com
// http://www.migradoc.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to any p... | 32.575 | 111 | 0.673446 | [
"MIT"
] | AVPolyakov/MigraDoc | MigraDoc/src/MigraDoc.Rendering/Rendering/FillFormatRenderer.cs | 2,606 | C# |
using Dynamo.Core;
using Dynamo.Graph.Nodes;
using Dynamo.ViewModels;
using Dynamo.Wpf.Extensions;
using System;
using System.Collections.ObjectModel;
using System.Linq;
namespace SpeckleDynamoExtension.ViewModels
{
public class NodeManagerViewModel : NotificationObject, IDisposable
{
private ViewLoadedParams... | 34.077922 | 158 | 0.727515 | [
"MIT"
] | arup-group/SpeckleDynamo | SpeckleDynamoExtension/ViewModels/NodeManagerViewModel.cs | 2,626 | 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 Contoso.GameNetCore.Testing.xunit;
using Xunit;
[assembly: OSSkipCondition(OperatingSystems.MacOSX)]
[assembly: OSSkipCondition(Operating... | 44.666667 | 112 | 0.791045 | [
"Apache-2.0"
] | bclnet/GameNetCore | src/Servers/HttpSys/test/FunctionalTests/Properties/AssemblyInfo.cs | 404 | C# |
namespace Cachet.NET.Responses
{
public class PingResponse
{
/// <summary>
/// Gets or sets the data.
/// </summary>
public string Data
{
get;
set;
}
/// <summary>
/// Returns true if the ping is valid.
/// </summa... | 18.538462 | 57 | 0.400415 | [
"MIT"
] | BerkanYildiz/Cachet.NET | Cachet.NET/Responses/PingResponse.cs | 484 | C# |
using HarmonyLib;
using UnityEngine;
namespace MappingExtensions.HarmonyPatches
{
[HarmonyPatch(typeof(BeatmapObjectSpawnMovementData), nameof(BeatmapObjectSpawnMovementData.GetNoteOffset))]
internal class BeatmapObjectSpawnMovementDataGetNoteOffset
{
private static void Postfix(int noteLineIndex,... | 49.896104 | 205 | 0.656169 | [
"MIT"
] | Meivyn/MappingExtensions | MappingExtensions/HarmonyPatches/BeatmapObjectSpawnMovementData.cs | 3,844 | C# |
using System.Collections.Generic;
using Infrastructure;
using Moq;
using Shouldly;
using Vertical.Tools.TemplateCopy.Core;
using Xunit;
namespace Vertical.Tools.TemplateCopy.Providers
{
public class ContentResolverTests
{
private readonly IContentResolver _subject = new ContentResolver(TestObjects.Logg... | 39.16 | 137 | 0.592952 | [
"MIT"
] | verticalsoftware/vertical-templatecopy | test/Vertical/Tools/TemplateCopy/Providers/ContentResolverTests.cs | 1,958 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace _Marker_Plot
{
public partial class Form2 : Form
{
public Form2(... | 24.44 | 56 | 0.644845 | [
"MIT"
] | aaiijmrtt/MARKERPLOT | Marker Plot/Form2.cs | 613 | C# |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGE... | 42.313253 | 196 | 0.585279 | [
"MIT"
] | mfloresn90/CSharpSources | Removable storage sample/C#/S3_GetFromStorage.xaml.cs | 7,026 | 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... | 42.80292 | 187 | 0.632333 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/EBS/Generated/Model/Internal/MarshallTransformations/GetSnapshotBlockResponseUnmarshaller.cs | 5,864 | C# |
// THIS CODE AND INFORMATION IS 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.
//
// Copyright (c) Microsoft Corporation. All rights reserved
using System;
usin... | 36.055556 | 139 | 0.594504 | [
"MIT"
] | mfloresn90/CSharpSources | Background task sample/C# and JavaScript/Tasks/SampleBackgroundTask.cs | 3,896 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using Convey.CQRS.Events;
namespace AAS.Architecture.Services
{
public interface IMessageBroker
{
Task PublishAsync(params IEvent[] events);
Task PublishAsync(IEnumerable<IEvent> events);
}
} | 23.666667 | 54 | 0.735915 | [
"Apache-2.0"
] | aarn94/AAS.Architecture | AAS.Architecture/Services/IMessageBroker.cs | 284 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Serialization;
namespace SG.Checkouts_Overview.Test
{
[TestClass]
public class TestEntryListIO
{
[TestMeth... | 27.488673 | 118 | 0.623146 | [
"Apache-2.0"
] | sgrottel/checkouts-overview | Test/TestEntryListIO.cs | 8,494 | C# |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.... | 35.888199 | 124 | 0.518865 | [
"MIT"
] | grecaun/chronokeep-windows | ChronoKeep/Updates/Check.cs | 5,780 | 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>
//---... | 41.458333 | 80 | 0.652261 | [
"MIT"
] | ariyonaty/ECE2310 | HW01/ECE2310_HW01_01/obj/Debug/netcoreapp3.1/ECE2310_HW01_01.AssemblyInfo.cs | 995 | C# |
using System;
using System.Windows;
using System.Data.SQLite;
using System.Data;
namespace Bancofinal
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
PaginaConta pagConta;
public MainWindow()
... | 27.424837 | 74 | 0.501192 | [
"MIT"
] | chipana/ChipanaBank | Bancofinal/MainWindow.xaml.cs | 4,199 | C# |
using Domain.Aggregates;
using EventSourcing.Sample.Clients.Contracts.Clients.DTOs;
using System;
namespace EventSourcing.Sample.Clients.Domain.Clients
{
public class Client : IAggregate
{
public Guid Id { get; private set; }
public string Name { get; private set; }
public string Em... | 20.5 | 58 | 0.558106 | [
"MIT"
] | BienioM/EventSourcing.NetCore | Sample/EventSourcing.Sample.Clients/Domain/Clients/Client.cs | 699 | C# |
using System.Collections.Generic;
using UnityEngine;
using CommonCore.World;
namespace CommonCore.State
{
//EDIT THIS FILE AND PUT YOUR GAME DATA HERE
public sealed partial class MetaState
{
//PUT ANY STATE VARIABLES YOU WANT HERE
}
} | 19.5 | 55 | 0.684982 | [
"MIT"
] | XCVG/californium_dr | Assets/CommonCoreGame/RPGGame/State/MetaState.cs | 275 | 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... | 32.606557 | 100 | 0.588738 | [
"MIT"
] | Agazoth/azure-powershell | src/Websites/Websites.Helper/Network/Models/RetentionPolicyParameters.cs | 1,929 | C# |
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using Z.Tools;
namespace Z
{
public class TcpClient
{
#region Elements
protected Socket dasSocket;
protected byte[] buffer = new byte[1024]; //for receive
protected int BufferSize = 1024;
... | 25.957143 | 125 | 0.491194 | [
"MIT"
] | DASTUDIO/EZServer | System/Tcp/TcpClient.cs | 3,636 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNet.Identity;
using Microsoft.Owin.Security;
namespace Taitans.Owin.Security.QQ.FrameworkExample.Models
{
public class IndexViewModel
{
public bool HasPassword { get; set; }
public IList<UserLogin... | 28.686047 | 84 | 0.610053 | [
"MIT"
] | taitans/Security | samples/Taitans.Owin.Security.QQ.FrameworkExample/Models/ManageViewModels.cs | 2,617 | C# |
/* selfgenerated from version 0.0.0.1 28/08/2018 10:05:16 */
using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using ContactHubSdkLibrary.Events;
using ContactHubSdkLibrary;
using Newtonsoft.Json.Linq;
namespace ContactHubSdk... | 27.007722 | 134 | 0.683202 | [
"Apache-2.0"
] | contactlab/contacthub-sdk-dotnet | ContactHubSdkLibrary/ContactHubSdkLibrary/PropertiesClasses/20180903eventContextClass.cs | 6,995 | C# |
namespace Coimbra
{
/// <summary>
/// Define where to keep the available instances.
/// </summary>
public enum PoolContainerMode
{
/// <summary>
/// Let the <see cref="Pool"/> create a container for it's objects.
/// </summary>
Automatic,
/// <summary>
... | 24.388889 | 78 | 0.530752 | [
"MIT"
] | coimbrastudios/object-pool | Runtime/Coimbra.Pooling/Enums/PoolContainerMode.cs | 441 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeusClientCore.Events
{
/// <summary>
/// Args for the socket's events
/// </summary>
public class SocketEventArgs : EventArgs
{
/// <summary>
... | 27.029412 | 88 | 0.568009 | [
"MIT"
] | Suliac/ProjectDeusClient | DeusClientCore/DeusClientCore/Events/SocketEventArgs.cs | 921 | C# |
using System;
using System.Globalization;
using System.Text.RegularExpressions;
class DatesFromTextInCanada
{
static void Main()
{
string randomText = Console.ReadLine();
foreach (Match item in Regex.Matches(randomText, @"\b[0-9]{1,2}.[0-9]{1,2}.[0-9]{2,4}"))
{
DateTime da... | 26.44 | 118 | 0.600605 | [
"MIT"
] | iliyaST/TelericAcademy | C#2/6-Strings-And-Text-Processing/19.DatesFromTextInCanada/Program.cs | 663 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.