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 Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using ServiceStack.Redis;
namespace KB.Tool.Redis
{
public class RedisSentinelProvider : IRedisProvider
{
private readonly ILoggerFactory _loggerFactory;
private readonly RedisSentinelOptions _options;
public Redi... | 32.96 | 114 | 0.718447 | [
"Apache-2.0"
] | KunpengNovelSite/KBCMS | src/KB.Tool/Redis/RedisSentinelProvider.cs | 826 | 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.957627 | 157 | 0.614424 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/SimpleEmailV2/Generated/Model/Internal/MarshallTransformations/CreateDedicatedIpPoolRequestMarshaller.cs | 4,243 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace AskMe.Services.DTOs
{
public class CategoryDTO
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime CreatedAt { get; set; }
}
}
| 15.25 | 41 | 0.70082 | [
"MIT"
] | rebelde96/AskMe | AskMe.Services/DTOs/CategoryDTO.cs | 246 | C# |
using System;
namespace DataCollection.Areas.HelpPage
{
/// <summary>
/// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class.
/// </summary>
public class InvalidSample
{
public InvalidSample(string errorMessage)
... | 26.378378 | 134 | 0.576844 | [
"MIT"
] | rohansen/Code-Examples | Security/Security - XSS SQL Injection Examples/DataCollection/DataCollection/Areas/HelpPage/SampleGeneration/InvalidSample.cs | 976 | C# |
using Npgsql;
namespace Tourist
{
public class AbstractTransaction
{
public NpgsqlTransaction transaction { get; set; }
public void Commit()
{
transaction.Commit();
}
public void Rollback()
{
transaction.Rollback();
}
}
}
| 15.9 | 58 | 0.525157 | [
"MIT"
] | betanets/tourist | Tourist/AbstractTransaction.cs | 320 | C# |
using System;
using EncompassRest.Loans.Enums;
using EncompassRest.Schema;
namespace EncompassRest.Loans
{
/// <summary>
/// OtherLiability
/// </summary>
[Entity(SerializeWholeListWhenDirty = true)]
public sealed partial class OtherLiability : DirtyExtensibleObject, IIdentifiable
{
pri... | 44.17 | 166 | 0.634367 | [
"MIT"
] | Oxymoron290/EncompassRest | src/EncompassRest/Loans/OtherLiability.cs | 8,834 | C# |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/**
* SceneAppearanceRules extends AppearanceRules by making sure the platform section transitions aling up with any section changes
*/
public class PlatformAppearanceRules : AppearanceRules {
private PlatformObject platformOb... | 36.326087 | 147 | 0.623579 | [
"MIT"
] | sundayliu/Unity-Runner | Assets/Infinite Runner/Scripts/InfiniteGenerator/PlatformAppearanceRules.cs | 1,671 | 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.IO;
namespace Microsoft.Diagnostics.Runtime
{
/// <summary>
/// The type of frame the ClrStac... | 33.3125 | 110 | 0.565041 | [
"MIT"
] | TylerAP/clrmd | src/Microsoft.Diagnostics.Runtime/src/Common/ClrStackFrame.cs | 3,200 | C# |
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using GraphQL.Language.AST;
using GraphQLParser;
using GraphQLParser.AST;
using OperationTypeParser = GraphQLParser.AST.OperationType;
using OperationType = GraphQL.Language.AST.OperationType;
namespace GraphQL.L... | 36.847826 | 112 | 0.533839 | [
"MIT"
] | Bill-Manning/graphql-dotnet | src/GraphQL/Language/CoreToVanillaConverter.cs | 11,865 | C# |
namespace OpenQA.Selenium.DevTools.Runtime
{
using Newtonsoft.Json;
/// <summary>
/// Add handler to promise with given promise object id.
/// </summary>
public sealed class AwaitPromiseCommandSettings : ICommand
{
private const string DevToolsRemoteInterface_CommandName = "Runtime.awai... | 29.117647 | 99 | 0.569697 | [
"Apache-2.0"
] | 418sec/selenium | dotnet/src/webdriver/DevTools/AutoGenerated/Runtime/AwaitPromiseCommand.cs | 1,980 | C# |
using AudioReminderCore.Model;
using AudioReminderService.Persistence;
using AudioReminderService.Scheduler.TimerBased.DateTimeArithmetic;
using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace AudioReminderServ... | 36.878049 | 205 | 0.67284 | [
"MIT"
] | dupop/audio-reminder | AudioReminderService/Scheduler/TimerBased/ReminderScheduling/ReminderScheduler.cs | 4,538 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CustomUI.BeatSaber;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using System.Collections;
namespace SaberForge
{
class HelpMainViewController : CustomViewController
{
... | 40.87234 | 164 | 0.641333 | [
"MIT"
] | lizfrost/SaberForge | SaberForge/UI/HelpMainViewController.cs | 3,844 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Azure.Storage.Sas
{
/// <summary>
/// Defines the protocols permitted for Storage requests made with a shared
/// access signature.
/// </summary>
public enum SasProtocol
{
/// <su... | 31.532468 | 84 | 0.537068 | [
"MIT"
] | Azkel/azure-sdk-for-net | sdk/storage/Azure.Storage.Common/src/Sas/SasProtocol.cs | 2,430 | C# |
namespace P01_StudentSystem.Data.Models.Configurations
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
public class StudentsCoursesConfiguration : IEntityTypeConfiguration<StudentCourse>
{
public void Configure(EntityTypeBuilder<StudentCourse> buil... | 31.307692 | 87 | 0.584767 | [
"MIT"
] | Pazzobg/03.01.CSharp-DB-Advanced-Entity-Framework | 08. EF Core Entity Relations-Exercise/P01_StudentSystem.Data/Models/Configurations/StudentCoursesConfiguration.cs | 816 | C# |
using System;
using System.ComponentModel;
using GraphQL;
using GraphQL.DI;
using Shouldly;
using Xunit;
namespace DIObjectGraphTypeTests
{
public class Graph : DIObjectGraphTypeTestBase
{
[Fact]
public void GraphName()
{
Configure<CGraphName, object>().Name.ShouldBe("TestGr... | 29.204819 | 100 | 0.62995 | [
"MIT"
] | Shane32/GraphQL.MVC | src/Tests/DIObjectGraphTypeTests/Graph.cs | 2,424 | C# |
namespace Blobfish
{
/// <summary>
/// Base class for all signable items with name and source data location. Implements ISignableItemWithName, ISourceDataLocation and ISignableItem indirectly through ISignableItemWithName.
/// </summary>
public abstract class ISignableItemWithNameAndISourceDataLocation... | 39.291667 | 191 | 0.653234 | [
"Apache-2.0"
] | theigner/Blobfish | src/Blobfish/src/Interfaces/ISignableItemWithNameAndISourceDataLocationBase.cs | 945 | C# |
using System.Collections.Generic;
namespace GroupDocs.Viewer.UI.Core.Entities
{
public class DocumentInfo
{
public bool PrintAllowed { get; set; }
public IEnumerable<PageInfo> Pages { get; set; }
}
} | 21.818182 | 57 | 0.641667 | [
"MIT"
] | groupdocs-viewer/GroupDocs.Viewer-for-.NET-UI | src/GroupDocs.Viewer.UI.Core/Entities/DocumentInfo.cs | 242 | C# |
using CSharpWars.Validator.Helpers;
using CSharpWars.Validator.Helpers.Interfaces;
using CSharpWars.Validator.Services;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace... | 32.222222 | 215 | 0.615172 | [
"Unlicense"
] | Djohnnie/BuildCloudNativeApplicationsWithDotNet5-DotNetDeveloperDays-2020 | csharpwars/backend/CSharpWars/CSharpWars.Validator/Startup.cs | 1,452 | C# |
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Square;
using Square.Utilities;
namespace Square.Models
{
public class Lis... | 28.612903 | 118 | 0.5031 | [
"Apache-2.0"
] | HostMeApp/square-dotnet-sdk | Square/Models/ListSubscriptionEventsRequest.cs | 3,548 | C# |
using System;
using System.Globalization;
using System.Threading.Tasks;
using Qmmands;
namespace Disqord.Bot.Parsers
{
public sealed class ColorTypeParser : TypeParser<Color>
{
public static ColorTypeParser Instance => _instance ?? (_instance = new ColorTypeParser());
private stati... | 33.738095 | 129 | 0.527876 | [
"MIT"
] | GitNguyen/MudaeFarm | Disqord/src/Disqord.Bot/Commands/Parsers/ColorTypeParser.cs | 1,419 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 30.088462 | 174 | 0.519494 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy/Krypton-NET-5.451 | Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Values/LabelValues.cs | 7,826 | 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.886686 | 264 | 0.574899 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/ApiGatewayV2/Generated/Model/ImportApiResponse.cs | 11,609 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using nulloader;
using System.Windows.Forms;
using System.Drawing;
using System.Text.RegularExpressions;
namespace calculus
{
public class UserAction : Attribute
{
public string Name { get; private set; ... | 36.88835 | 157 | 0.536123 | [
"Unlicense"
] | haileys/nulloader | calculus/calculus.cs | 7,601 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UrlParser.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South.
// Licensed under the Apache License, Version 2.0.
// </copyright>
// <summary>
// A helpe... | 44.457831 | 167 | 0.544715 | [
"Apache-2.0"
] | ImranDoet/ImageProcessor | src/ImageProcessor.Web/Helpers/UrlParser.cs | 3,692 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jekbot.Utility
{
public interface IFactory<TResource>
{
TResource Create(ResourceEnvironment environment);
}
public abstract class PreparableResource<TSelf, TFactory>
... | 24.777778 | 63 | 0.67713 | [
"MIT"
] | jacobalbano/Jekbot | Utility/PreparableResource.cs | 671 | C# |
/*
* FactSet Estimates
*
* Gain access to 20+ years of comprehensive estimates and statistics of over 250+ estimated metrics, including financial statement items, product segments, geosegments, and industry metrics. FactSet's consensus estimates are aggregated from a wide base of over 800+ contributors and cover ove... | 54.967742 | 844 | 0.724765 | [
"Apache-2.0"
] | factset/enterprise-sdk | code/dotnet/FactSetEstimates/v2/src/FactSet.SDK.FactSetEstimates/Client/OpenAPIDateConverter.cs | 1,704 | C# |
using System.IO;
namespace Praetorium
{
public interface ISerializer
{
T Clone<T>(T instance);
T Deserialize<T>(byte[] data);
T Deserialize<T>(Stream stream);
void Serialize<T>(Stream stream, T instance);
byte[] Serialize<T>(T instance);
}
}
... | 16.05 | 54 | 0.554517 | [
"Apache-2.0"
] | jasonreimer/Praetorium | Source/Praetorium/ISerializer.cs | 323 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectsManage9 : MonoBehaviour {
private DisplayImage9 currentDisplay;
public GameObject[] ObjectsToMange;
public GameObject[] UIRenderObjects;
void Start()
{
currentDisplay = GameObject.Find("di... | 21.652174 | 100 | 0.557229 | [
"MIT"
] | asleshapokhrel/Escape-Lab | Assets/NewResources/Level9/ObjectsManage9.cs | 998 | C# |
using System;
namespace essentialMix.Comparers
{
[Serializable]
public class NullOrEmptyStringComparer : StringComparer, IGenericComparer<string>
{
public static NullOrEmptyStringComparer Default { get; } = new NullOrEmptyStringComparer();
/// <inheritdoc />
public NullOrEmptyStringComparer()
{
}
///... | 24.166667 | 93 | 0.702069 | [
"MIT"
] | asm2025/asm | Standard/essentialMix/Comparers/NullOrEmptyStringComparer.cs | 725 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 38.73755 | 170 | 0.544368 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-NET-Core | Source/Krypton Components/ComponentFactory.Krypton.Docking/Elements Base/DockingElement.cs | 28,785 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using POSH.sys.parse;
using POSH.sys.events;
namespace POSH.sys.strict
{
/// <summary>
/// A drive priority element, containing drive elements.
/// </summary>
public class DrivePriorityElement : ElementCollection
... | 39.550898 | 159 | 0.512491 | [
"MIT"
] | domhauton/CM30229-UT2004-Bot | core/sys/strict/DrivePriorityElement.cs | 6,607 | C# |
// Copyright (C) 2014 dot42
//
// Original filename: Org.W3c.Dom.Ls.cs
//
// 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 ... | 71.371341 | 1,909 | 0.694193 | [
"Apache-2.0"
] | Dot42Xna/master | Generated/v4.1/Org.W3c.Dom.Ls.cs | 46,320 | C# |
namespace _03._NullConditionalOperators
{
public class Customer
{
public Customer()
{
this.Orders = new List<string>();
}
public IEnumerable<string> Orders { get; set; }
}
}
| 17.846154 | 55 | 0.551724 | [
"MIT"
] | BorisLechev/CSharp-New-Features | CSharp-6.0-New-Features/03. NullConditionalOperators/Customer.cs | 234 | C# |
using System;
using System.Windows.Forms;
namespace HorsePoints
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Applic... | 21.4 | 65 | 0.567757 | [
"MIT"
] | OxygeneIV/Vaulting | HorsePoints/Program.cs | 430 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
using Zetris.PPT.Memory;
using MisaMinoNET;
using PerfectClearNET;
using ScpDriverInt... | 41.571767 | 346 | 0.463661 | [
"BSD-3-Clause"
] | mat1jaczyyy/Zetris | Zetris.PPT/PPTBot.cs | 35,047 | C# |
using System;
namespace BPlusTreePractice
{
public partial class BPlusTreeNode
{
#region Delete
/// <summary>
/// 删除指定键的记录
/// </summary>
/// <param name="key">指定键</param>
/// <param name="mergeMe">如果为真则意味着删除键后节点已经小于1/2满,需要合并</param>
/// <returns>返回节点中最小的键,如无变化则返回空</retur... | 26.902299 | 152 | 0.535071 | [
"MIT"
] | gaochundong/BPlusTreePractice | BPlusTreePractice/BPlusTreeNode.Delete.cs | 15,417 | C# |
using System;
using Xunit;
namespace Firestorm.Endpoints.Tests.Start
{
public class ValidationExtensionTests
{
[Fact]
public void EnsureValid_DefaultConfiguration_DoesntThrow()
{
var config = new EndpointConfiguration();
config.EnsureValid();
}
... | 25.173913 | 74 | 0.56304 | [
"MIT"
] | connellw/Firestorm | tests/Firestorm.Endpoints.Tests/Start/ValidationExtensionTests.cs | 1,739 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ComponentModel;
namespace Azure.ResourceManager.Sql.Models
{
/// <summary> The unit of the metric. </summary>
public readonly partial struct Query... | 48.206897 | 138 | 0.682403 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryMetricUnitType.cs | 2,796 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace MxNet.SciKit.Ensemble.HistGradientBoosting
{
class TreeNode
{
}
}
| 14.272727 | 52 | 0.738854 | [
"Apache-2.0"
] | SciSharp/MxNet.Sharp | src/MxNet.Scikit/Ensemble/HistGradientBoosting/TreeNode.cs | 159 | C# |
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace CodeAnalyzer.Analyzers
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class ConstantAnalyzer : DiagnosticA... | 42.35 | 211 | 0.609917 | [
"MIT"
] | KThaulow/CodeAnalyzer | src/CodeAnalyzer/Analyzers/ConstantAnalyzer.cs | 4,237 | C# |
/**
* The MIT License (MIT)
*
* Copyright (c) 2019 Akan Murat Cimen
*
* 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
... | 39.472222 | 83 | 0.741027 | [
"MIT"
] | akanmuratcimen/args-mapper | src/ArgsMapper/ValueConversion/Converters/ObjectValueConverter.cs | 1,421 | C# |
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using Snoffleware.LLBLGen.Identity.Core.Models;
namespace Snoffleware.LLBLGen.Ide... | 33.152941 | 116 | 0.604684 | [
"MIT"
] | sucrose0413/Snoffleware.LLBLGen.Identity | Snoffleware.LLBLGen.Identity.WebTest/Areas/Identity/Pages/Account/Manage/DeletePersonalData.cshtml.cs | 2,820 | C# |
using AI.BackEnds.DSP.NWaves.Windows;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace AI.BackEnds.DSP.NWaves.FeatureExtractors.Options
{
[DataContract]
public class PnccOptions : FilterbankOptions
{
[DataMember]
public int Power { get; set; } = 15;
[... | 25.6 | 89 | 0.536133 | [
"Apache-2.0"
] | AIFramework/AIFrameworkOpen | AI/BackEnds/DSP/NWaves/FeatureExtractors/Options/PnccOptions.cs | 1,026 | C# |
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace RedditCore.Http
{
/// <summary>
/// Interface that wraps HTTP calls. This is so that we can mock all HTTP calls for testing without having to use MSFT
/// Fakes. This is also done so we ca... | 45.414634 | 167 | 0.648228 | [
"MIT"
] | Bhaskers-Blu-Org2/BusinessPlatformApps | Functions/Code/Reddit/Src/RedditCore/Http/IHttpClient.cs | 1,864 | C# |
using CalcWin.DataAccess.Model;
using System.Collections.Generic;
namespace CalcWin.Models.ProjectsViewModel
{
public class ProjectsViewModel
{
// Start data
public List<WineProject> Projects { get; set; }
// Edit Project
public int ProjectId { get; set; }
public WineP... | 22.5625 | 55 | 0.65374 | [
"MIT"
] | katanisk8/CalcWin | CalcWin/Models/ProjectsViewModels/ProjectsViewModel.cs | 363 | C# |
namespace Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20191001Preview
{
using Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.PowerShell;
/// <summary>Defines reference to a proxy resource.</summary>
[System.ComponentModel.TypeConverter(typeof(ProxyResourceReferenceTypeConverte... | 67.2 | 378 | 0.704034 | [
"MIT"
] | 3quanfeng/azure-powershell | src/ResourceMover/generated/api/Models/Api20191001Preview/ProxyResourceReference.PowerShell.cs | 8,938 | C# |
namespace FewBox.ActiveDirectory.Core.Attribute
{
/// <summary>
/// Domain Object Attribute const values.
/// </summary>
public class DomainControllerAttributeValues
{
/// <summary>
/// The domain DNS attribute value.
/// </summary>
public const string DomainDNS = "d... | 24.842105 | 52 | 0.576271 | [
"Apache-2.0"
] | FewBox/ActiveDirectory.Core | FewBox.ActiveDirectory.Core/Attribute/DomainControllerAttributeValues.cs | 474 | C# |
using NUnit.Framework;
using Xero.Api.Infrastructure.Exceptions;
namespace CoreTests.Integration.LinkedTransactions
{
public class Delete : LinkedTransactionTest
{
[Test]
public void can_delete_linked_transactions()
{
Given_a_basic_linked_transaction();
var id ... | 29.090909 | 129 | 0.676563 | [
"MIT",
"Unlicense"
] | prajapatichintan/Xero-Net-With-oAuth2.0-Support | CoreTests/Integration/LinkedTransactions/Delete.cs | 642 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
public GameObject gameOverCanvas;
public GameObject scoreCanvas;
public GameObject pauseCanvas;
public GameObj... | 23.537037 | 88 | 0.675059 | [
"MIT"
] | emyl089/doftana-heads | Assets/Scripts/GameManager.cs | 1,273 | C# |
using System;
using FluentAssertions;
using NUnit.Framework;
using Resgrid.Model;
namespace Resgrid.Tests.Models
{
[TestFixture]
public class MobileCarrierTests
{
[Test]
public void CarriersMapShouldPullBackCorrectValue()
{
var mts = Carriers.CarriersMap[MobileCarriers.MTSMobility];
mts.Should().NotBe... | 24.538462 | 87 | 0.741902 | [
"Apache-2.0"
] | Joshb888/dfdfd | Tests/Resgrid.Tests/Models/MobileCarrierTests.cs | 959 | C# |
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore;
using System;
using Microsoft.AspNetCore.Identity;
using Rent.Shared.Models;
using Rent.Server.Repositories;
namespace Rent.Server.Data.Configuration
{
public class DealConfiguration : IEntityTypeConfiguration<Deal>
{
publi... | 29.178571 | 64 | 0.738066 | [
"Apache-2.0"
] | AlexanderSolomin/RentApp | Rent/Server/Data/Configuration/DealConfiguration.cs | 817 | C# |
using System;
using System.Linq;
using System.Threading;
namespace ThreadpoolExample
{
class Program
{
private static int _finishedItems;
static void Main(string[] args)
{
int taskCount = 1000;
Enumerable.Range(0, taskCount).ToList().ForEach(i => ThreadPool.Que... | 24.206897 | 105 | 0.579772 | [
"MIT"
] | vhe1/XITASO.AsyncLightningTalk | ThreadpoolExample/Program.cs | 704 | 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-generate... | 32.83871 | 149 | 0.61002 | [
"MIT"
] | darklink623/palette-creator | bmp creation/bmp creation/Properties/Settings.Designer.cs | 1,020 | C# |
using Hk.Core.Data.Repositories;
using Hk.Core.Entity.Base_SysManage;
using Hk.Core.Util.Datas;
using Hk.Core.Util.Dependency;
using System.Collections.Generic;
namespace Hk.Core.IRepositorys
{
public interface IBaseSysRoleRepository:IRepository<Base_SysRole,string>,IScopeDependency
{
List<Base_SysRol... | 34.5 | 96 | 0.748792 | [
"MIT"
] | a275979650/NetCoreFramewoker | Hk.Core.Framework/Hk.Core.IRepositorys/IBaseSysRoleRepository.cs | 623 | C# |
using AdventOfCode.Common;
using AdventOfCode.Common.Extensions;
namespace AdventOfCode.Day4;
public class Table
{
public long CalculateScore()
{
var totalScore = 0;
for (var vertical = 0; vertical < _board.GetLength(0); vertical++)
{
for (var horizontal = 0; horizontal <... | 26.649254 | 96 | 0.506301 | [
"MIT"
] | Almantask/AdventOfCode2021 | AdventOfCode/Day4/Table.cs | 3,573 | C# |
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayOfflineProviderMonitorLogSyncModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOfflineProviderMonitorLogSyncModel : AopObject
{
... | 24.571429 | 70 | 0.610465 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/AlipayOfflineProviderMonitorLogSyncModel.cs | 528 | C# |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 40.194805 | 106 | 0.661712 | [
"MIT"
] | QPC-database/dicom-server | test/Microsoft.Health.Dicom.Tests.Integration/Persistence/DeleteServiceTestsFixture.cs | 3,097 | C# |
//Declare five variables choosing for each of them the most appropriate of the types byte, sbyte, short, ushort, int, uint, long, ulong to represent the following values: 52130, -115, 4825932, 97, -10000.
//Choose a large enough type for each number to ensure it will fit in it. Try to compile the code.
using System;
... | 29.5 | 205 | 0.625578 | [
"MIT"
] | mdraganov/Telerik-Academy | C#/C# Programming Part I/PrimitiveDataTypesAndVariables/DeclareVariables/Variables.cs | 651 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Devices.PointOfService
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public enu... | 27.103448 | 63 | 0.693384 | [
"Apache-2.0"
] | 06needhamt/uno | src/Uno.UWP/Generated/3.0.0.0/Windows.Devices.PointOfService/PosPrinterCartridgeSensors.cs | 786 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using AutoLot.Dal.BulkImport;
using AutoLot.Dal.DataOperations;
using AutoLot.Dal.Models;
namespace AutoLot.Client
{
class Program
{
static void Main(string[] args)
{
DoBulkCopy();
//Fl... | 29.059829 | 115 | 0.583824 | [
"MIT"
] | rontucuman/auto-lot | src/AutoLot.DataReader/AutoLot.Client/Program.cs | 3,402 | C# |
namespace Microsoft.Marketplace.SaasKit.Models
{
using Microsoft.Marketplace.SaasKit.Models;
using Newtonsoft.Json;
using System;
/// <summary>
/// Subscription Usage Result
/// </summary>
/// <seealso cref="Microsoft.Marketplace.SaasKit.Models.SaaSApiResult" />
public class MeteringUs... | 27.104651 | 77 | 0.499356 | [
"MIT"
] | santhoshbomma9/Microsoft-commercial-marketplace-transactable-SaaS-offer-SDK | src/SaaS.SDK.Client/Models/MeteringUsageResult.cs | 2,333 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Persistence.Contexts;
#nullable ... | 36.427873 | 103 | 0.381771 | [
"MIT"
] | ahmet-cetinkaya/rentacar-project-backend-dotnet | src/rentACar/Persistence/Migrations/20220208090711_Rental-Seed.Designer.cs | 29,802 | C# |
/* Copyright (C) Olivier Nizet https://github.com/onizet/html2openxml - All Rights Reserved
*
* This source is subject to the Microsoft Permissive License.
* Please see the License.txt file for more information.
* All other rights reserved.
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRA... | 28.972973 | 93 | 0.666978 | [
"MIT"
] | dimarobert/html2openxml | src/Html2OpenXml/Primitives/HtmlImageInfo.cs | 1,074 | C# |
//
// Copyright (c) 2002-2016 Mirko Matytschak
// (www.netdataobjects.de)
//
// Author: Mirko Matytschak
//
// 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, incl... | 30.734043 | 116 | 0.662859 | [
"MIT"
] | mirkomaty/NDO | UnitTestGenerator/CodeGenerator/Property.cs | 2,894 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... | 41.040886 | 157 | 0.6309 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy/Krypton-NET-5.460 | Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Component/KryptonPaletteButtonSpecs.cs | 24,094 | C# |
using Newtonsoft.Json;
namespace Nop.Plugin.Api.DTOs.SpecificationAttributes
{
public class SpecificationAttributesCountRootObject
{
[JsonProperty("count")]
public int Count { get; set; }
}
} | 22.1 | 55 | 0.692308 | [
"MIT"
] | ApertureLabsInc/api-plugin-for-nopcommerce | Nop.Plugin.Api/DTOs/SpecificationAttributes/SpecificationAttributesCountRootObject.cs | 223 | 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... | 31.457944 | 153 | 0.581402 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Network/V20190401/Inputs/VpnConnectionArgs.cs | 3,366 | C# |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace MediaBazar
{
public partial class HiringRequest : Form
{
public HiringRequest(string username, string firstName, string lastName, decimal hourlyWage, int departmentId, DateTime contractStartDate, long phoneNumber, st... | 32.75 | 178 | 0.631679 | [
"MIT"
] | karinakozarova/MediaBazaar | WindowsFormsApp1/MediaBazar/HiringRequest.cs | 1,050 | C# |
using System;
namespace WechatMall.WX
{
public class Class1
{
}
}
| 8.888889 | 23 | 0.6125 | [
"MIT"
] | jancy-xu99/HZY.AdminRazor-master | WechatMall.WX/Class1.cs | 82 | 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.
// Source: https://github.com/windows-toolkit/WindowsCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Control... | 39 | 141 | 0.621445 | [
"MIT"
] | 2Bunzen2/Notepads | src/Notepads.Controls/MarkdownTextBlock/Markdown/Render/InlineRenderContext.cs | 2,091 | C# |
using System;
using System.Numerics;
using AltV.Net.Data;
using AltV.Net.Enums;
using AltV.Net.Shared.Elements.Entities;
namespace AltV.Net.Elements.Entities
{
public interface IVehicle : ISharedVehicle, IEntity
{
/// <summary>
/// Get the current driver of the
/// </summary>
/... | 32.47349 | 107 | 0.537325 | [
"MIT"
] | ZackaryH8/coreclr-module | api/AltV.Net/Elements/Entities/IVehicle.cs | 26,336 | C# |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// Paginator Data Structure.
/// </summary>
[Serializable]
public class Paginator : AopObject
{
/// <summary>
/// 页码
/// </summary>
[XmlElement("page_num")]
... | 22.548387 | 45 | 0.494993 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/Paginator.cs | 769 | C# |
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System.Web.Http;
namespace MappingEdu.Web.... | 47.566667 | 129 | 0.70918 | [
"Apache-2.0"
] | Ed-Fi-Exchange-OSS/MappingEDU | src/MappingEdu.Web.UI/Infrastructure/Config/FormattersConfig.cs | 1,429 | C# |
namespace Afonsoft.Ranking.Authentication
{
public class JsonClaimMapDto
{
public string Claim { get; set; }
public string Key { get; set; }
}
} | 19.333333 | 42 | 0.62069 | [
"MIT"
] | afonsoft/Ranking | src/Afonsoft.Ranking.Core.Shared/Authentication/JsonClaimMapDto.cs | 176 | C# |
namespace engenious.Graphics
{
/// <summary>
/// Interface describing an effect with ambient and directional lights.
/// </summary>
public interface IEffectLights
{
/// <summary>
/// Gets or sets the ambient light color.
/// </summary>
Vector3 AmbientLightColor{get;set;}
/// <summary>
/// Gets or set... | 24.175 | 72 | 0.679421 | [
"Apache-2.0"
] | engeniousproject/engenious | Graphics/Effect/IEffectLights.cs | 969 | C# |
namespace DataHub.AnalyticDataStore;
public interface IAnalyticDataStoreClient
{
public IHoldingClient Holding { get; }
public IPartyClient Party { get; }
public IProductClient Product { get; }
} | 26.125 | 42 | 0.755981 | [
"MIT"
] | ElevateData/OpenTemenos | src/DataHub.AnalyticDataStore/IAnalyticDataStoreClient.cs | 211 | C# |
using System.Collections.Generic;
using System.Linq;
using ViVuStoreMVC.Data;
using ViVuStoreMVC.Models;
namespace ViVuStoreMVC.Repositories
{
public class AuthorRepository : IAuthorRepository
{
private readonly ViVuStoreDbContext _context;
public AuthorRepository(ViVuStoreDbContext context)
... | 21.521739 | 59 | 0.662626 | [
"MIT"
] | congdinh2008/ViVuStoreMVC | ViVuStoreMVC.Drop/ViVuStoreMVC/Repositories/AuthorRepository.cs | 497 | C# |
// =====================================================
// DO NOT EDIT - this file is automatically regenerated.
// =====================================================
using System;
using System.Collections.Generic;
using Improbable.Gdk.Core;
using Improbable.Worker.CInterop;
namespace Improbable.TestSchema
{
... | 33.102362 | 141 | 0.492388 | [
"MIT"
] | nasakib/gdk-for-unity | test-project/Assets/Generated/Source/improbable/testschema/ExhaustiveEntityViewStorage.cs | 4,204 | 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... | 50.478873 | 741 | 0.680525 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Compute/V20180401/Inputs/VirtualMachineScaleSetVMProfileArgs.cs | 3,584 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Kontur.Results;
namespace Kontur.Tests.Results.Extraction.SelectMany.FirstFault.Optional.Using
{
public static class SelectManyOptionalExtensions
{
public static Optional<IEnumerable<TResult>> SelectMany<TValue, TItem, TResult>(
... | 33.315789 | 117 | 0.701422 | [
"MIT"
] | skbkontur/result | Kontur.Tests.Results/Extraction/SelectMany/FirstFault/Optional/Using/SelectManyOptionalExtensions.cs | 635 | C# |
using ImHungry.Api.Models;
using System.Globalization;
namespace ImHungry.Api.Helpers;
public static class CsvHelper
{
public static IEnumerable<MobileFoodPoint> MapCsvData(string? csvData, ILogger logger)
{
var mobileFoodPoints = new List<MobileFoodPoint>();
if (csvData is null)
{
... | 30.235294 | 147 | 0.514105 | [
"MIT"
] | anmalkov/imhungry | src/ImHungry.Api/ImHungry.Api/Helpers/CsvHelper.cs | 2,058 | C# |
using GeoPay_API;
using GeoPay_API.Models;
using NUnit.Framework;
using System.Threading.Tasks;
namespace Tests
{
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public async Task Test1()
{
PaymentProcessor paymentProcessor = new ... | 18.5 | 84 | 0.599099 | [
"MIT"
] | TheLastColonial/ECB-Hackathon | GeoPay_API/GeoPay_API.Tests/UnitTest1.cs | 444 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34011
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | 47.018349 | 192 | 0.620878 | [
"MIT"
] | Iarly/LiteFx | LiteFx.NHibernate/Properties/Resources.Designer.cs | 5,127 | C# |
/******************************************************************************
* Copyright (C) Ultraleap, Inc. 2011-2020. *
* Ultraleap proprietary and confidential. *
* *
... | 40.733333 | 144 | 0.661687 | [
"BSD-3-Clause"
] | HyperLethalVector/ChristmasEsky | Assets/Plugins/LeapMotion/Modules/InteractionEngine/Scripts/InteractionController.cs | 86,151 | C# |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text.Json;
using System.Threadin... | 31.27381 | 147 | 0.56871 | [
"Apache-2.0"
] | AndreReise/IdentityModel | src/Client/Messages/TokenIntrospectionResponse.cs | 2,629 | C# |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices;
using Microsoft.PowerShell.EditorServices.Test.Shared;
using System;
using System.IO;
using System.Linq;
using Xunit;
... | 33.491987 | 151 | 0.516006 | [
"MIT"
] | Benny1007/PowerShellEditorServices | test/PowerShellEditorServices.Test/Session/ScriptFileTests.cs | 20,901 | C# |
//
// (C) Copyright 2003-2019 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited wa... | 40.627119 | 85 | 0.733417 | [
"MIT"
] | xin1627/RevitSdkSamples | SDK/Samples/InvisibleParam/CS/Properties/AssemblyInfo.cs | 2,400 | C# |
#pragma checksum "..\..\..\Pages\StopScan.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5138EC26EA86B24DB4B5A072C146B909F2CE76DA"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// ... | 38.118421 | 141 | 0.664826 | [
"MIT"
] | 1TreeForest/AntiVirusApp | AntiVirusApp/obj/Debug/Pages/StopScan.g.i.cs | 3,005 | C# |
//this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class UnityEngine_U2D_SpriteAtlasManagerWrap
{
public static void Register(LuaState L)
{
L.BeginStaticLibs("SpriteAtlasManager");
L.RegVar("atlasRequested", get_atlasRequested, set_atlasRequested);
L.Reg... | 29 | 215 | 0.724138 | [
"MIT"
] | getker/Kerven_Client | Assets/ToLua/Source/Generate/UnityEngine_U2D_SpriteAtlasManagerWrap.cs | 2,902 | C# |
namespace NiceHashMinerLegacy.Common.Enums
{
/// <summary>
/// AlgorithmType enum should/must mirror the values from https://www.nicehash.com/?p=api
/// Some algorithms are not used anymore on the client, rename them with _UNUSED postfix so we can catch compile time errors if they are used.
/// </summa... | 26.590164 | 146 | 0.516954 | [
"MIT"
] | angelbbs/NiceHashMinerLegacy | NiceHashMinerLegacy.Common/Enums/AlgorithmType.cs | 3,246 | 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.
//
// Revision history:
//
// BD - January 2017 - Created this file.
//
#pragma warning disable IDE0079 // Remove ... | 40.547945 | 130 | 0.532207 | [
"MIT"
] | Botcoin-com/reaqtor | Nuqleon/Core/LINQ/Nuqleon.Linq.Expressions.Optimizers/System/Linq/Expressions/ExpressionOptimizer.Typing.cs | 8,882 | C# |
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | 41.948276 | 144 | 0.662968 | [
"Apache-2.0"
] | Aneskov/MassTransit | src/Containers/MassTransit.Automatonymous.StructureMapIntegration/StructureMapStateMachineLoadSagaExtensions.cs | 2,435 | C# |
using System;
using System.Runtime.InteropServices;
using ObjCRuntime;
namespace StoreKit {
partial class SKReceiptRefreshRequest {
[iOS (7,1), Mac (10,14)]
[DllImport (Constants.StoreKitLibrary, EntryPoint = "SKTerminateForInvalidReceipt")]
static extern public void TerminateForInvalidReceipt ();
}
} | 26 | 86 | 0.778846 | [
"BSD-3-Clause"
] | FlavioGoncalves-Cayas/xamarin-macios | src/StoreKit/NativeMethods.cs | 312 | C# |
using System;
using System.Collections.Generic;
namespace Core
{
public partial class Usuario
{
public Usuario()
{
Solicitacaomedicamento = new HashSet<Solicitacaomedicamento>();
}
public int IdUsuario { get; set; }
public int IdFarmacia { get; set; }
... | 31.032258 | 95 | 0.60395 | [
"MIT"
] | marcosdosea/IDrug | Codigo/Core/Usuario.cs | 964 | C# |
using Microsoft.AspNetCore.Mvc;
using System.IO;
using System.Net;
using System.Threading.Tasks;
namespace AspNetCore.Mvc.Extensions.Email
{
public static class EmailTemplateCallbackExtensions
{
public static async Task SendWelcomeEmailAsync(this IEmailService emailService, string templatePath, string... | 43.96 | 213 | 0.709736 | [
"MIT"
] | davidikin45/AspNetCore.Mvc.Extensions | src/AspNetCore.Mvc.Extensions/Email/EmailTemplateCallbackExtensions.cs | 1,101 | C# |
using FluentValidation;
using SFA.DAS.Events.Application.Commands.CreateApprenticeshipEvent;
using SFA.DAS.Events.Domain.Entities;
namespace SFA.DAS.Events.Application.Commands.BulkUploadCreateApprenticeshipEvents
{
public class BulkUploadCreateApprentieshipEventsCommandValidator : AbstractValidator<BulkUploadCre... | 45.157895 | 133 | 0.631702 | [
"MIT"
] | SkillsFundingAgency/das-events | src/SFA.DAS.Events.Application/Commands/BulkUploadCreateApprenticeshipEvents/BulkUploadCreateApprentieshipEventsCommandValidator.cs | 1,718 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotVVM.Framework.ViewModel;
namespace SampleApp1.ViewModels.MasterPages
{
public class SiteViewModel : LayoutViewModel
{
}
}
| 16.533333 | 48 | 0.717742 | [
"Apache-2.0"
] | riganti/dotvvm-selenium-generator | src/Samples/SampleApp1/ViewModels/MasterPages/SiteViewModel.cs | 248 | C# |
#region MigraDoc - Creating Documents on the Fly
//
// Authors:
// Klaus Potzesny (mailto:Klaus.Potzesny@pdfsharp.com)
//
// Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany)
//
// http://www.pdfsharp.com
// http://www.migradoc.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission ... | 34.694915 | 81 | 0.718613 | [
"MIT"
] | dankennedy/MigraDoc | code/MigraDoc.Rendering/MigraDoc.Rendering/TableRenderInfo.cs | 2,047 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using Mono.Cecil;
using System.Windows.Forms;
using System.Drawing;
using System.Linq;
using System.Collections.Specialized;
namespace SpacechemPatch
{
class Program : Form
{
private string gameFolder;
private string currentExePa... | 47.361884 | 167 | 0.611086 | [
"MIT"
] | csaboka/spacechempatch | SpacechemPatch/Program.cs | 22,120 | C# |
using System;
using System.Collections;
using java.util;
namespace SolrIKVM {
public class EnumerationAdapter : Enumeration {
private readonly IEnumerator e;
private bool next;
public EnumerationAdapter(IEnumerator e) {
this.e = e;
next = e.MoveNext();
... | 22.4 | 52 | 0.517857 | [
"Apache-2.0"
] | bigjonroberts/SolrIKVM | SolrIKVM/EnumerationAdapter.cs | 562 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.