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 JetBrains.Annotations;
using JetBrains.ReSharper.Plugins.FSharp.Psi.Tree;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Caches2;
namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.Cache2.Parts
{
internal class NestedModulePart : ModulePartBase<INestedModuleDeclaration>
{
public NestedModulePart([NotNul... | 32.913043 | 113 | 0.77675 | [
"Apache-2.0"
] | slavam2605/fsharp-support | ReSharper.FSharp/src/FSharp.Psi/src/Impl/Cache2/Parts/NestedModulePart.cs | 759 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CloudAwesome.Xrm.Core.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CloudAwesome.Xrm.Core.Test... | 31.142857 | 58 | 0.756881 | [
"MIT"
] | Cloud-Awesome/cds-core | src/CloudAwesome.Xrm.Core/CloudAwesome.Xrm.Core.Tests/Properties/AssemblyInfo.cs | 655 | C# |
// Copyright (c) 2021 DHGMS Solutions and Contributors. All rights reserved.
// DHGMS Solutions and Contributors licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runti... | 37.931034 | 84 | 0.770909 | [
"MIT"
] | dpvreony/Vetuviem | src/ReactiveUI.VetuviemSample.XamDroidApp/Properties/AssemblyInfo.cs | 1,103 | C# |
using System.Collections.Generic;
namespace Geonorge.Forvaltningsinformasjon.Web
{
public class ApplicationSettings
{
public string BuildVersionNumber { get; set; }
public string EnvironmentName { get; set; }
public string UrlGeonorgeRoot { get; set; }
public string UrlThematic... | 36.830508 | 84 | 0.654855 | [
"MIT"
] | kartverket/Geonorge.Forvaltningsinformasjon | Geonorge.Forvaltningsinformasjon.Web/ApplicationSettings.cs | 2,175 | C# |
using System.Linq.Expressions;
using gRPC.Select.Interface;
namespace gRPC.Select.CompareConditions
{
public class CompareConditionLe : ICompareCondition
{
public BinaryExpression Build(Expression left, Expression right)
{
return Expression.LessThanOrEqual(left, right);
}
... | 23.285714 | 72 | 0.699387 | [
"Apache-2.0"
] | InsonusK/gRPC.Select | gRPC.Select/gRPC.Select/CompareConditions/CompareConditionLe.cs | 326 | C# |
namespace EncoreTickets.SDK.Utilities.CommonModels
{
public interface IEntityWithAggregateReference
{
string AggregateReference { get; set; }
}
}
| 20.875 | 51 | 0.718563 | [
"MIT"
] | EncoreLabs/sdk-dotNet | EncoreTickets.SDK/Utilities/CommonModels/IEntityWithAggregateReference.cs | 169 | C# |
using System.Threading.Tasks;
namespace FeatureFlags.WebAPI.Feature
{
/// <summary>
/// Abstraction over IFeatureManager
/// </summary>
public interface IFeatureService
{
Task<bool> IsEnabledAsync(Features feature);
Task<bool> IsNotEnabledAsync(Features feature);
Task<bool>... | 31.6 | 83 | 0.702532 | [
"MIT"
] | TGrannen/dotnet-samples | FeatureFlags/FeatureFlags.WebAPI/Feature/IFeatureService.cs | 476 | C# |
using UnityEngine;
public class CameraManager : MonoBehaviour
{
[SerializeField]
private GameObject playerCamera, placementCamera;
[SerializeField]
private GameObject shopUI;
public void EnableShop()
{
playerCamera.SetActive(false);
placementCamera.SetActive(true);
}
... | 20 | 53 | 0.675 | [
"Apache-2.0"
] | Xwilarg/42Jam | Assets/Scripts/CameraManager.cs | 442 | C# |
using System.Collections.Generic;
using System.Linq;
using Verse;
using ThingsThatMove.AI;
namespace ThingsThatMove
{
public class MovableThing_MapComponent : MapComponent
{
public ThingPathPool thingPathPool;
public ThingPathFinder thingPathFinder;
public MovableThing_MapComponent(M... | 25.967742 | 136 | 0.713043 | [
"MIT"
] | AaronCRobinson/ThingsThatMove | Source/ThingsThatMove/MapComponent.cs | 807 | C# |
using Serilog;
using System.Text;
using System.Text.RegularExpressions;
namespace Generator
{
internal class ScriptGenerator
{
private IDictionary<string, Regex> removeBeforeCompare = new Dictionary<string, Regex>();
public ScriptGenerator(Settings settings, string path, string originalText)
... | 39.997059 | 169 | 0.42209 | [
"MIT"
] | g2384/InDesign-scripts | generator/ScriptGenerator.cs | 13,601 | C# |
namespace ClearHl7.Codes.V281
{
/// <summary>
/// HL7 Version 2 Table 0490 - Specimen Reject Reason.
/// </summary>
/// <remarks>https://www.hl7.org/fhir/v2/0490</remarks>
public enum CodeSpecimenRejectReason
{
/// <summary>
/// EX - Expired.
/// </summary>
Expir... | 23.265823 | 59 | 0.437432 | [
"MIT"
] | davebronson/clear-hl7-net | src/ClearHl7.Codes/V281/CodeSpecimenRejectReason.cs | 1,840 | C# |
using Microsoft.CodeAnalysis;
using System.Collections.Generic;
using System;
using System.Linq;
using TypeRight.CodeModel;
namespace TypeRight.Workspaces.Parsing
{
/// <summary>
/// Parses a solution for script classes and enums
/// </summary>
public class ProjectParser : ITypeIterator
{
private ITypeVisitor ... | 30.702128 | 123 | 0.712058 | [
"MIT"
] | someguy20336/TypeRight | src/TypeRight.Workspaces/Parsing/ProjectParser.cs | 2,888 | C# |
/* Copyright (c) 2006-2011 Skype Limited. All Rights Reserved
Ported to C# by Logan Stromberg
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above cop... | 48.599567 | 198 | 0.499132 | [
"MIT"
] | ActualMandM/VGAudio | src/VGAudio/Codecs/Opus/Silk/DecodeAPI.cs | 21,994 | C# |
using System;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Support.V7.App;
using Android.Views;
namespace Acr.UserDialogs.Fragments
{
public abstract class AbstractAppCompatDialogFragment<T> : AppCompatDialogFragment where T : class
{
public T Config { get; set; }
... | 28.369369 | 153 | 0.622737 | [
"MIT"
] | srxp10/userdialogs | src/Acr.UserDialogs.Android/Fragments/AbstractDialogFragment.cs | 3,149 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using J = Newtonsoft.Json.JsonPropertyAttribute;
using R = Newtonsoft.Json.Required;
using N = Newtonsoft.Json.NullValueHandling;
using System.IO;
using System.Diagnostics;
using System.... | 40.408889 | 184 | 0.563792 | [
"MIT"
] | SharpenedMinecraft/SM1 | PrismarineDataGenerator/Program.cs | 9,094 | C# |
using fyiReporting.RDL;
/* ====================================================================
Copyright (C) 2004-2008 fyiReporting Software, LLC
Copyright (C) 2011 Peter Gill <peter@majorsilence.com>
This file is part of the fyiReporting RDL project.
Licensed under the Apache License, Version 2.0 (th... | 30.945148 | 103 | 0.578266 | [
"Apache-2.0"
] | Art8m/My-FyiReporting | RdlDesign/RdlProperties/PropertyImage.cs | 7,334 | C# |
//Copyright 2014 Spin Services Limited
//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 or agreed to in w... | 33.466667 | 74 | 0.763944 | [
"Apache-2.0"
] | ChrisL89/SS.Integration.Adapter | SS.Integration.Adapter.Diagnostics.Model/Service/Interface/ISupervisorStreamingService.cs | 1,006 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
using System.Threading;
using System.Threading.Tasks;
using UnityEngine.UI;
using UnityEngine.Networking;
using System.Collections.Concurrent;
using System;
using System.Linq;
using LiteDB;
using System.IO;
pub... | 31.160714 | 170 | 0.645559 | [
"Apache-2.0"
] | MypaceEngine/GreedPlanet | Assets/Scripts/WorldManager.cs | 3,516 | 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>
//----------------------------------------... | 32.409091 | 84 | 0.509116 | [
"MIT"
] | ni4ka7a/TelerikAcademyHomeworks | ASP.NET-WebForms/02.WebFormsIntro/02.SimpleWebFormsApp/Account/Confirm.aspx.designer.cs | 1,428 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace craftersmine.Valknut.Launcher.Wpf
{
public sealed class ServerHelper
{
}
}
| 16.538462 | 43 | 0.75814 | [
"MIT"
] | craftersmine/Valknut | craftersmine.Valknut.Launcher.Wpf/ServerHelper.cs | 217 | C# |
using System.Linq;
using System.Xml.Linq;
using clempaul.Dreamhost.ResponseData;
using System.Collections.Generic;
namespace clempaul.Dreamhost
{
public class AccountRequests
{
DreamhostAPI api = null;
internal AccountRequests(DreamhostAPI api)
{
this.api = ap... | 29.236111 | 80 | 0.512589 | [
"BSD-2-Clause"
] | clempaul/dreamhost-api-net | DreamhostAPI/Account/AccountRequests.cs | 2,107 | C# |
namespace Cavity.Collections
{
using System;
using Xunit;
public sealed class LevenshteinComparerFacts
{
[Fact]
public void a_definition()
{
Assert.True(new TypeExpectations<LevenshteinComparer>()
.DerivesFrom<NormalityComparer>()
... | 28.153153 | 89 | 0.49568 | [
"MIT"
] | cavity-project/domain | src/Class Libraries/Domain.Facts/Collections/LevenshteinComparer.Facts.cs | 3,127 | 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;
namespace System.Linq.Expressions.Tests
{
public abstract class... | 32.057143 | 129 | 0.540553 | [
"MIT"
] | OceanYan/corefx | src/System.Linq.Expressions/tests/Variables/ParameterExpressionTests.cs | 2,244 | C# |
using System.Collections.Generic;
using System.Data;
using System.Threading.Tasks;
using Polly;
using Polly.Registry;
using Stoolball.Caching;
using Stoolball.Statistics;
namespace Stoolball.Data.Cache
{
public class CachedPlayerDataSource : IPlayerDataSource
{
private readonly IReadOnlyPolicyRegistry... | 51.916667 | 224 | 0.753612 | [
"Apache-2.0"
] | stoolball-england/stoolball-org-uk | Stoolball.Data.Cache/CachedPlayerDataSource.cs | 2,494 | C# |
using Bonsai.Core;
using Bonsai.Designer;
/// <summary>
/// Always returns running.
/// </summary>
[NodeEditorProperties("Tasks/", "Hourglass")]
public class Idle : Task {
public override BehaviourNode.Status Run()
{
return Status.Running;
}
}
| 16.75 | 46 | 0.656716 | [
"MIT"
] | luis-l/UnityAssets | Assets/Plugins/BonsaiBT/Standard/Tasks/Idle.cs | 270 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using GitLabApiClient.Internal.Paths;
using GitLabApiClient.Models.Discussions.Responses;
using GitLabApiClient.Models.Issues.Requests;
using GitLabApiClient.Models.Issues.Responses;
using GitLabApiClient.Models.Notes.Requests;
using GitLabAp... | 50.829787 | 168 | 0.616681 | [
"MIT"
] | mhobl/GitLabApiClient | src/GitLabApiClient/IIssuesClient.cs | 9,556 | C# |
namespace SunceSlobode.Prototype
{
/// <summary>
/// Представляет обновляемый объект.
/// </summary>
public interface IUpdate
{
void Update();
}
}
| 16.363636 | 40 | 0.583333 | [
"Apache-2.0"
] | sunce-slobode/PrototypeOne | src/IUpdate.cs | 211 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSLibrary.Tools
{
#region BT CRC
public static class Crc
{
static readonly ushort[] crc_lookup_table = new ushort[]{
0x0000, 0x1189, 0x2312, 0... | 50.492537 | 84 | 0.566361 | [
"MIT"
] | cslrfid/CS108-Mobile-CSharp-App | CSLibrary/CSLibrary/Tools/ClassCRC16.cs | 3,385 | C# |
// This file is part of CycloneDX Tool for .NET
//
// 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 or... | 34.142857 | 97 | 0.753138 | [
"Apache-2.0"
] | rajeshkumer/cyclonedx-dotnet | CycloneDX.Core/Services/IProjectAssetsFileService.cs | 964 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint.Client;
using System.Management.Automation;
using Transformation.PowerShell.Base;
namespace Transformation.PowerShell.MasterPage
{
[Cmdlet(VerbsCommon.Set, "MasterPageSite... | 37.044444 | 226 | 0.704259 | [
"MIT"
] | ashwani2711/MyBucket | SP.Tools/SP.Tools/Src/Transformation.PowerShell/MasterPage/UpdateMasterPage-SiteCollection.cs | 1,669 | C# |
using System;
using System.Collections.Generic;
public class Person
{
private string name;
private decimal money;
private List<Product> products;
public string Name
{
get => this.name;
private set
{
if (string.IsNullOrEmpty(value))
{
... | 21 | 72 | 0.505556 | [
"MIT"
] | vesopk/C-DBAdvanced | EncapsulationAndValidation/ShoppingSpree/Person.cs | 1,262 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.Data.Entity.FunctionalTests;
using Microsoft.Data.Entity.Infrastructure;
using Microsoft.Framework.Dep... | 30.245455 | 111 | 0.570484 | [
"Apache-2.0"
] | suryasnath/csharp | test/EntityFramework.Sqlite.FunctionalTests/AutoincrementTest.cs | 3,329 | C# |
using SecurityAPITest.SecurityAPICommons.commons;
using NUnit.Framework;
using SecurityAPICommons.Keys;
using GeneXusJWT.GenexusComons;
using GeneXusJWT.GenexusJWTClaims;
using GeneXusJWT.GenexusJWTUtils;
using GeneXusJWT.GenexusJWT;
using SecurityAPICommons.Utils;
namespace SecurityAPITest.Jwt.Other
{
[TestFixtu... | 27.550725 | 82 | 0.73172 | [
"Apache-2.0"
] | genexuslabs/DotNet-SecurityApi-Module | test/dotnetframework/SecurityAPITest/Jwt/Other/TestIssue81664.cs | 1,903 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
struct BooleanButtonInfos
{
public BooleanButton button;
public Vector3 startPosition;
}
public class BooleanUI : MonoBehaviour
{
private BooleanButtonInfos _selected;
private BooleanButtonInfos _deselected;
private D... | 35.807229 | 179 | 0.677995 | [
"MIT"
] | ErwanLeGoffic/Tectrid | TectridVR/Assets/Resources/UI/Scripts/BooleanUI.cs | 2,974 | C# |
using Microsoft.CodeAnalysis.CSharp.Syntax;
using SourceMapper.Generator.Info;
using Space.SourceGenerator.Client;
namespace SourceMapper.Generator
{
public class MapFactoryVariable : IParameter
{
public MapFactoryVariable(string name, ExpressionSyntax expression, TypeInfo type)
{
... | 22.875 | 90 | 0.605191 | [
"MIT"
] | GerardSmit/SourceMapper | src/SourceMapper.Generator/Mappings/MapFactoryVariable.cs | 734 | C# |
namespace EncompassRest.Company.Users.Rights
{
/// <summary>
/// TPOOrganizationSettingsContactsRights
/// </summary>
public sealed class TPOOrganizationSettingsContactsRights : ParentAccessRights
{
private DirtyValue<bool?> _editTPOContacts;
/// <summary>
/// TPOOrganizatio... | 33.466667 | 111 | 0.687251 | [
"MIT"
] | PLoftis02/EncompassRest | src/EncompassRest/Company/Users/Rights/TPOOrganizationSettingsContactsRights.cs | 502 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... | 41.888087 | 1,358 | 0.582867 | [
"MIT"
] | Kusnaditjung/MimDms | src/Mim.V6301/Generated/RCMR_MT030101UK06PertinentInformation02.cs | 11,603 | C# |
#region License
// Copyright 2014 Elton FAN (eltonfan@live.cn, http://elton.io)
//
// 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... | 27.478873 | 77 | 0.570989 | [
"Apache-2.0"
] | eltonfan/OAuth2 | src/OAuth2/Elton.OAuth2/IToken.cs | 2,085 | C# |
using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SecurePass.DotNet.Class.APIClass;
using SecurePass.DotNet.Class.PlainObject;
namespace UnitTests.Tests
{
/// <summary>
/// Summary description for AppsAPITest
/// </summary>
[Te... | 31.350427 | 96 | 0.6006 | [
"MIT"
] | garlsecurity/securepass-dotnet | UnitTests/Tests/AppsAPITest.cs | 3,670 | 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 05:04:27 UTC
// </auto-generated>
//--------------... | 33.703125 | 105 | 0.569309 | [
"MIT"
] | GridProtectionAlliance/go2cs | src/go-src-converted/syscall/ztypes_linux_arm64_CmsghdrStruct.cs | 2,157 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using Hec.Dss;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DSSUnitTests
{
[TestClass]
public class LimitsTest
{
[Ignore]
[TestMethod]
public void LargePartF()
{// #define MAX_PART_SIZE 65, want to increase ... | 27.419048 | 122 | 0.52414 | [
"MIT"
] | HydrologicEngineeringCenter/hec-dss | dotnet/DotNetTests/LimitsTest.cs | 2,881 | 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... | 25.283333 | 81 | 0.558339 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Web/V20210201/Outputs/ArmPlanResponse.cs | 1,517 | C# |
using System;
namespace Voltaic.Serialization
{
public class SerializationException : Exception
{
public SerializationException()
: base("Serialization failed")
{
}
public SerializationException(string message)
: base(message)
{
}
}
}... | 18.882353 | 53 | 0.576324 | [
"MIT"
] | RogueException/Voltaic.Serialization | src/Voltaic.Serialization/SerializationException.cs | 323 | C# |
/********************************************************************++
* Copyright (c) Microsoft Corporation. All rights reserved.
* --********************************************************************/
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Manage... | 43.29242 | 192 | 0.560851 | [
"Apache-2.0",
"MIT"
] | HydAu/PowerShell | src/System.Management.Automation/engine/remoting/fanin/InitialSessionStateProvider.cs | 124,509 | C# |
using xLiAd.CodeMonkey.Entities;
using xLiAd.CodeMonkey.Entities.Dtos;
using xLiAd.CodeMonkey.Entities.QueryDtos;
using xLiAd.CodeMonkey.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
... | 25.055556 | 67 | 0.645233 | [
"Apache-2.0"
] | zl33842901/CodeMonkey | xLiAd.CodeMonkey.WebApp/Controllers/AuthRoleController.cs | 1,355 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace MartinCl2.Text.Json.Serialization.Tests
{
public class EnumerableTests
{
[Fact]
public async Task ArrayTest()
{
int[] payload = new int[] { 0, 1, 2, 3... | 29.344444 | 133 | 0.499053 | [
"MIT"
] | Martin1994/JsonJitSerializer | tests/MartinCl2/Text/Json/Serialization/Tests/EnumerableTests.cs | 2,641 | 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... | 33.164179 | 106 | 0.679568 | [
"Apache-2.0"
] | ChristopherButtars/aws-sdk-net | sdk/src/Services/ForecastService/Generated/Model/Internal/MarshallTransformations/DataDestinationMarshaller.cs | 2,222 | C# |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using RVTR.Lodging.Domain.Abstracts;
using RVTR.Lodging.Domain.Attributes;
namespace RVTR.Lodging.Domain.Models
{
/// <summary>
/// Represents the _Lodging_ model
/// </summary>
public class LodgingModel : AEntity, IValidatableObjec... | 28.880597 | 119 | 0.623773 | [
"MIT"
] | Jasonw679/rvtrx-api-lodging | aspnet/RVTR.Lodging.Domain/Models/LodgingModel.cs | 1,935 | C# |
using Terraria;
using Terraria.ID;
using Terraria.Audio;
using Terraria.ModLoader;
namespace GoldensMisc.Projectiles
{
public class UndyingSpear : ModProjectile
{
public override bool IsLoadingEnabled(Mod mod)
{
return ModContent.GetInstance<ServerConfig>().SpearofJustice;
}
public override void SetDef... | 34.935484 | 179 | 0.710988 | [
"MIT"
] | gardenappl/Miscellania | Projectiles/UndyingSpear.cs | 2,168 | C# |
using Catalog.API.Entities;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Catalog.API.Data
{
public class CatalogContextSeed
{
public static void SeedData(IMongoCollection<Product> productCollection)
{
bool existProduct = prod... | 67.640449 | 468 | 0.631894 | [
"MIT"
] | Raddmou/AspnetMicroservices | src/Services/Catalog/Catalog.API/Data/CatalogContextSeed.cs | 6,022 | C# |
using System;
using System.Collections.Generic;
namespace _04_LongestSubsequenceOfEqualNumbers
{
class Program
{
static void Main(string[] args)
{
List<int> numbers = new List<int>{ 1, 2, 2, 3, 3, 3, 5, 7, 10, 10, 13 };
List<int> longestSubsequence = new List<int>();
... | 32.547619 | 84 | 0.492319 | [
"MIT"
] | SophiaKiryakova/TelerikAcademyAlpha | Module II/01. DSA/02. Linear-Data-Structures/04_LongestSubsequenceOfEqualNumbers/Program.cs | 1,369 | C# |
using Microsoft.AspNetCore.Mvc;
namespace OrleansPoc.Api.SiloHost.Controllers
{
[ApiController]
[Route("[controller]")]
public class HealthController: ControllerBase
{
[HttpGet]
public IActionResult Get()
{
return Ok();
}
}
}
| 16.1875 | 47 | 0.671815 | [
"MIT"
] | rjygraham/DurableEventProcessing | src/OrleansPoc.Api.SiloHost/Controllers/HealthController.cs | 261 | C# |
namespace Dn6Poc.DocuMgmtPortal.Models
{
public class LoginViewModel
{
public string Username { get; init; } = string.Empty;
public string Password { get; init; } = string.Empty;
}
}
| 23.555556 | 61 | 0.641509 | [
"MIT"
] | ongzhixian/dc6Poc | Dn6Poc.DocuMgmtPortal/Models/LoginViewModel.cs | 214 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Szlem.Persistence.EF;
namespace Szlem.Persistence.EF.Migrations
{
[DbConte... | 34.63038 | 100 | 0.434535 | [
"MIT"
] | Yaevh/fcc-net50-bug-repro | src/Szlem.Persistence.EF/Migrations/20200114103323_UserIdAsGuid.Designer.cs | 13,681 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
using Facebook.Unity;
namespace States {
public class LoginState : BaseState {
#region Public Behaviour
public LoginState (object parent) : base(parent) { }
public overrid... | 33.742424 | 114 | 0.629996 | [
"MIT"
] | gonzaloiv/playfabground | Assets/Scripts/Controllers/States/LoginState.cs | 2,229 | C# |
using System;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.IE;
using OpenQA.Selenium.Edge;
using OpenQA.Selenium.Firefox;
using Protractor.Samples.PageObjects.Support;
namespace Protractor.Samples.PageObjects
{
/*
* E2E testing against the AngularJS tutor... | 32.783133 | 121 | 0.626608 | [
"MIT"
] | qubidt/protractor-net | examples/Protractor.Samples/PageObjects/PageObjectsTests.cs | 2,731 | C# |
using DevExtreme.AspNet.Data.Aggregation;
using DevExtreme.AspNet.Data.ResponseModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace DevExtreme.AspNet.Data.Tests {
public class AggregateCalculatorTests {
[Fact]
public void ... | 32.430328 | 151 | 0.464173 | [
"MIT"
] | olegbevz/DevExtreme.AspNet.Data | net/DevExtreme.AspNet.Data.Tests/AggregateCalculatorTests.cs | 7,915 | C# |
using System.Collections.Generic;
using DateExpressions.Generated.Ordinals;
namespace DateExpressions.Generated.PeriodSelectors
{
internal class OrdinalPeriodsSelector<TPeriod> : IPeriodsSelector<TPeriod>
{
private readonly IOrdinals _ordinal;
public OrdinalPeriodsSelector(IOrdinals ordinal)
... | 27.222222 | 78 | 0.697959 | [
"MIT"
] | damian-krychowski/date-expressions | DateExpressions/DateExpressions.Generated/PeriodSelectors/OrdinalPeriodsSelector.cs | 492 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Citrina
{
public interface IStatsApi
{
/// <summary>
/// Returns statistics of a community or an application.
/// </summary>
Task<ApiRequest<IEnumerable<StatsPeriod>>> Get(UserAccessToken accessToken, int... | 37.684211 | 170 | 0.667598 | [
"MIT"
] | khrabrovart/Citrina | src/Citrina/Api/Contracts/IStatsApi.cs | 718 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace eu.operando.core.ldb.Model
{
public class DataAccessLog
{
public const string AccessDeniedTitle = "Access denied";
public const string AccessGrantedTitle = "Access gran... | 27.107143 | 66 | 0.685112 | [
"MIT"
] | OPERANDOH2020/op-webui | G2C/Operando-AdministrationConsole/eu.operando.core.ldb/Model/DataAccessLog.cs | 761 | C# |
// CS0281: Friend access was granted to `cs0281, PublicKeyToken=27576a8182a18822', but the output assembly is named `cs0281, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Try adding a reference to `cs0281, PublicKeyToken=27576a8182a18822' or change the output assembly name to match it
// Line: 0
// Compiler o... | 29.933333 | 295 | 0.755011 | [
"Apache-2.0"
] | 121468615/mono | mcs/errors/cs0281.cs | 449 | 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.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization... | 42.425447 | 267 | 0.544361 | [
"MIT"
] | adamsitnik/winforms | src/System.Windows.Forms/src/System/Windows/Forms/Control.Ime.cs | 64,022 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Core.Models.Spotify.Tracks
{
public class PutTracks
{
[JsonProperty("ids")]
public string Ids { get; set; }
}
} | 18.818182 | 39 | 0.657005 | [
"MIT"
] | ramosisw/dotnet-portify | src/Core/Models/Spotify/Tracks/PutTracks.cs | 207 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace mkoIt.Asp
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class MapPropertyToColNameAttribute : System.Attribute
{
public MapPropertyToColNameAttribute(string C... | 23.5 | 84 | 0.699764 | [
"MIT"
] | mk-prg-net/mk-prg-net.lib | mko.Asp/Bo/MapPropertyToColNameAttribute.cs | 425 | C# |
using UnityEngine;
using System.Collections;
using SvenFrankson.Game.SphereCraft;
public class PlanetBrush : MonoBehaviour {
public Material[] planetMaterials;
public Material[] eraserMaterials;
private PlanetSide planetSide = null;
private int iPos = -1;
private int jPos = -1;
private int k... | 25.946667 | 132 | 0.570915 | [
"MIT"
] | SvenFrankson/PlanetBuilder | Assets/PlanetBuilder/Scripts/Planet/PlanetBrush.cs | 1,948 | C# |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... | 42.428571 | 98 | 0.710017 | [
"MIT"
] | Fjohora9333/C-Samples | Zisa_Calorie_c/Zisa_Calorie_c/Properties/AssemblyInfo.cs | 2,379 | C# |
using EM.GIS.Symbology;
using System.Collections.ObjectModel;
namespace EM.GIS.Controls
{
/// <summary>
/// 命令工厂
/// </summary>
public interface ICommandFactory
{
/// <summary>
/// 命令
/// </summary>
ObservableCollection<IBaseCommand> Commands { get; }
}
} | 19.5625 | 60 | 0.578275 | [
"MIT"
] | chiraylu/EMap | EM.GIS.Controls/ICommandFactory.cs | 327 | C# |
namespace Xunit
{
/// <summary>
/// Internal helper class for remoting.
/// </summary>
public static class RemotingUtility
{
/// <summary>
/// Unregisters any remoting channels.
/// </summary>
/// <remarks>
/// If there are any registered remoting channels, t... | 38.571429 | 104 | 0.638889 | [
"Apache-2.0"
] | 0x0309/xunit | src/xunit.runner.utility/Utility/RemotingUtility.cs | 1,082 | 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... | 35.5 | 165 | 0.690468 | [
"Apache-2.0"
] | NGL321/aws-sdk-net | sdk/src/Services/CodeDeploy/Generated/Model/Internal/MarshallTransformations/DeleteResourcesByExternalIdResponseUnmarshaller.cs | 3,053 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.Model.Commands
{
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.Data.Entity.Design... | 40.903704 | 133 | 0.549439 | [
"Apache-2.0"
] | CZEMacLeod/EntityFramework6 | src/EFTools/EntityDesignModel/Commands/DeleteUnboundMappingsCommand.cs | 5,524 | C# |
// <auto-generated/>
#pragma warning disable 1591
namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests.TestFiles
{
#line hidden
public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_CodeBlock_DesignTime
{
#pragma warning disable 219
private void __RazorDirectiveToke... | 29.090909 | 94 | 0.683333 | [
"Apache-2.0"
] | 1175169074/aspnetcore | src/Razor/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/CodeBlock_DesignTime.codegen.cs | 960 | C# |
using System.Text.RegularExpressions;
using DbUp.Reboot.Engine;
namespace DbUp.Reboot.SQLite
{
/// <summary>
/// This preprocessor makes adjustments to your sql to make it compatible with Sqlite
/// </summary>
public class SQLitePreprocessor : IScriptPreprocessor
{
/// <summary>
//... | 31.588235 | 131 | 0.668529 | [
"Apache-2.0"
] | chriswill/DbUpReboot | source/DbUp.Reboot.Sqlite/SqlitePreprocessor.cs | 539 | C# |
namespace AElf.Contracts.EconomicSystem.Tests
{
public static class ElectionContractConstants
{
public const int CitizenWelfareWeight = 1;
public const int BackupSubsidyWeight = 1;
public const int MinerRewardWeight = 3;
public const int BasicMinerRewardWeight = 4;
... | 30.714286 | 53 | 0.688372 | [
"MIT"
] | 380086154/AElf | test/AElf.Contracts.EconomicSystem.Tests/ElectionContractConstants.cs | 430 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Xml.Linq;
using Tridion.ExternalContentLibrary.V2;
namespace SDL.ECommerce.Ecl
{
/// <summary>
/// Base class for E-Commerce ECL providers.
/// Each concrete implementation need to specify the following ... | 35.695652 | 111 | 0.586784 | [
"Apache-2.0"
] | erikssonorjan/ecommerce-framework | ecl/ecommerce-ecl-framework/ecommerce-ecl-framework/EclProvider.cs | 6,570 | C# |
using System;
using System.Collections.Generic;
using NHapi.Base.Log;
using NHapi.Model.V24.Group;
using NHapi.Model.V24.Segment;
using NHapi.Model.V24.Datatype;
using NHapi.Base;
using NHapi.Base.Parser;
using NHapi.Base.Model;
namespace NHapi.Model.V24.Message
{
///<summary>
/// Represents a ADT_A01 message structu... | 26.524436 | 145 | 0.646375 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | AMCN41R/nHapi | src/NHapi.Model.V24/Message/ADT_A01.cs | 28,222 | C# |
using System.Collections.Generic;
using System.IO;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using SuperSocket;
using SuperSo... | 28 | 88 | 0.666023 | [
"Apache-2.0"
] | CCCfreedom/SuperSocket | test/Test/RegularHostConfigurator.cs | 1,036 | C# |
using System.Threading.Tasks;
using MediatR;
using NLog;
using SFA.DAS.EmployerUsers.Application.Exceptions;
using SFA.DAS.EmployerUsers.Application.Extensions;
using SFA.DAS.EmployerUsers.Application.Services.Notification;
using SFA.DAS.EmployerUsers.Application.Services.Password;
using SFA.DAS.EmployerUsers.Applicat... | 40.1375 | 112 | 0.708813 | [
"MIT"
] | SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Application/Commands/PasswordReset/PasswordResetCommandHandler.cs | 3,213 | C# |
namespace KSoft.Phoenix.Phx
{
public sealed class BWeaponType
: Collections.BListAutoIdObject
{
#region Xml constants
public static readonly XML.BListXmlParams kBListXmlParams = new XML.BListXmlParams("WeaponType")
{
DataName = "Name",
Flags = XML.BCollectionXmlParamsFlags.UseElementForData
... | 29.306122 | 103 | 0.736769 | [
"MIT"
] | KornnerStudios/KSoft.Phoenix | KSoft.Phoenix/Phx/BWeaponType.cs | 1,438 | C# |
using System;
using System.Collections.Generic;
namespace Lecture03.Models
{
public class Superhero
{
public int Id { get; set; }
public string Name { get; set; }
public string AlterEgo { get; set; }
public string Occupation { get; set; }
public int? CityId {... | 30.4 | 91 | 0.570489 | [
"MIT"
] | ondfisk/BDSA2020 | Lecture03/Lecture03/Models/Superhero.cs | 1,066 | C# |
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using Orleans.TestKit;
using TestGrains;
using TestInterfaces;
using Xunit;
namespace Orleans.TestKit.Tests
{
public class GrainProbeTests : TestKitBase
{
[Fact]
public async Task SetupProbe()
{
... | 26.095238 | 92 | 0.551399 | [
"MIT"
] | AdamWyzgol/OrleansTestKit | test/OrleansTestKit.Tests/Tests/GrainProbeTests.cs | 3,290 | C# |
namespace Binance.Spot.Tests.Models
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Spot.Models;
public class LoanDirectionTests
{
[TestMethod]
public void ToString_Matches_Value()
{
LoanDirection model = LoanDirection.ADDITION... | 23.352941 | 59 | 0.644836 | [
"MIT"
] | NonoElRobot/binance-connector-dotnet | test/Binance.Spot.Tests/Models/LoanDirectionTests.cs | 397 | C# |
namespace PhilipsSignageDisplaySicp
{
public static class BooleanExtensions
{
public static byte ToByte(this bool source, byte trueValue = 1, byte falseValue = 0)
{
return source ? trueValue : falseValue;
}
}
} | 25.8 | 92 | 0.635659 | [
"MIT"
] | aolde/philips-signage-display-sicp | PhilipsSignageDisplaySicp/Utils/BooleanExtensions.cs | 258 | C# |
// See https://aka.ms/new-console-template for more information
public interface IFooService
{
void Foo();
} | 22.6 | 64 | 0.725664 | [
"MIT"
] | Philippe-Laval/TestMapster | TestMapster/IFooService.cs | 115 | C# |
/*******************************************************************************
* Copyright 2012-2019 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... | 47.104938 | 247 | 0.591622 | [
"Apache-2.0"
] | JekzVadaria/aws-tools-for-powershell | modules/AWSPowerShell/Cmdlets/Comprehend/Basic/Get-COMPEntityRecognizerList-Cmdlet.cs | 22,893 | C# |
using System;
using Algorithms.Strings;
using Xunit;
namespace Algorithms.Test.Strings
{
public sealed class AlphabetTest
{
[Fact]
public void Test_ThrowOn_Duplicates()
{
Assert.Throws<InvalidOperationException>(() => new Alphabet("AAB"));
}
[Fact]
... | 22.739583 | 112 | 0.525424 | [
"MIT"
] | gfurtadoalmeida/study-algorithms | book-01/Algorithms.Test/Strings/AlphabetTest.cs | 2,185 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace P04_Hospital
{
public class Room
{
private int name;
private List<string> pacients;
public Room(int name)
{
this.Name = name;
this.Pacients = new List<string>();
}
... | 18.5 | 47 | 0.459459 | [
"MIT"
] | PavelRunchev/Dot.Net-Advanced | OOP - Basics/2. Working with Abstraction - Exercise/P04_Hospital/Room.cs | 816 | C# |
// Released under the MIT License.
//
// Copyright (c) 2018 Ntreev Soft co., Ltd.
// Copyright (c) 2020 Jeesu Choi
//
// 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, i... | 44.608696 | 121 | 0.695906 | [
"MIT"
] | s2quake/JSSoft.Crema | client/JSSoft.Crema.Presentation.Home/MenuItems/ConnectionItemCopyMenuItem.cs | 3,080 | C# |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Threading;
using System.Threading.Tasks;
using Amazon.GameLift.Model;
namespace AmazonGameLiftPlugin.Core.ApiGatewayManagement
{
public interface IAmazonGameLiftClientWrapper
{
Tas... | 33.666667 | 101 | 0.766089 | [
"Apache-2.0"
] | aws/amazon-gamelift-plugin-unity | Runtime/Core/ApiGatewayManagement/IAmazonGameLiftClientWrapper.cs | 808 | C# |
using DotNet.HighStock.Attributes;
using DotNet.HighStock.Helpers;
namespace DotNet.HighStock.Options
{
/// <summary>
///
/// </summary>
public class YAxisEvents
{
/// <summary>
/// As opposed to the <code>setExtremes</code> event, this event fires after the final min and max values ar... | 49.413793 | 765 | 0.652477 | [
"MIT"
] | lisa3907/dotnet.highstock | DotNet.HighStock/Options/YAxisEvents.cs | 1,433 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Game.Configuration;
using Game.Framework;
using Game.Server;
using HarmonyLib;
using IRSE.Managers;
namespace IRSE.Modules.HarmonyPatches
{
/// <summary>
/// This class is stopping the int... | 35.75 | 125 | 0.700699 | [
"MIT"
] | InterstellarRiftCommunityTools/InterstellarRiftServerExtender | InterstellarRiftServerExtender/Modules/HarmonyPatches/CommandSystemPatch.cs | 1,432 | C# |
using System;
using UIKit;
using CoreGraphics;
using Kunicardus.Touch.Helpers.UI;
using ZXing;
namespace Kunicardus.Touch
{
public class CardForScanView : UIView
{
#region Variables
private string _cardNumber;
#endregion
#region Properties
public UIButton Close { get; set; }
#endregion
#region C... | 33.439252 | 120 | 0.704304 | [
"MIT"
] | nininea2/unicard_app_base | Kunicardus.Touch/Views/CardForScanView.cs | 3,580 | C# |
using System.Text.Json.Serialization;
namespace EcommerceDDD.Application.Customers;
public record class CustomerViewModel
{
public Guid Id { get; set; }
public string Email { get; set; }
public string Name { get; set; }
public string Password { get; set; }
public string Token { get; set; }
p... | 27.294118 | 84 | 0.693966 | [
"MIT"
] | CurlyBytes/EcommerceDDD | src/EcommerceDDD.Application/Customers/CustomerViewModel.cs | 466 | C# |
using OpenQA.Selenium.Remote;
using SKBKontur.SeleniumTesting.Controls;
using SKBKontur.SeleniumTesting.Tests.AutoFill;
namespace SKBKontur.SeleniumTesting.Tests.RadioGroupTests
{
[AutoFillControls]
public class RadioGroupTestPage : PageBase
{
public RadioGroupTestPage(RemoteWebDriver w... | 25.555556 | 65 | 0.686957 | [
"MIT"
] | ArkadiyVoronov/react-ui-testing | SeleniumTesting/Tests/RadioGroupTests/RadioGroupTestPage.cs | 462 | C# |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi
{
/// <summary>
/// DispatchInterface MenuItem
/// SupportByVersion Excel, 9,10,11,12,14,15,16
/// </summary>
[SupportByVersion("Excel", 9,10,11,12,14,15,16)]
[EntityType(EntityT... | 25.586667 | 163 | 0.648515 | [
"MIT"
] | DominikPalo/NetOffice | Source/Excel/DispatchInterfaces/MenuItem.cs | 7,678 | C# |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CMaterialBlockMathPower : CMaterialBlock
... | 32.130435 | 135 | 0.752368 | [
"MIT"
] | smorey2/GameEstate | src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/CMaterialBlockMathPower.cs | 739 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
using UnityTest.UnitTestRunner;
namespace UnityTest
{
public partial class UnitTestView
{
private void UpdateTestInfo(ITestResult result)
{
FindTestResult(result.Id).Update(resul... | 31.26875 | 189 | 0.575854 | [
"MIT"
] | SarenCurrie/the-tower | Assets/UnityTestTools/UnitTesting/Editor/TestRunner/TestRunner.cs | 5,003 | C# |
using Merchant_Galaxy.Common;
using Merchant_Galaxy.Interfaces;
using System;
using System.Text;
namespace Merchant_Galaxy.Roman.ExpressionTypes {
public class AliasQuestionExpressionType : IExpression {
private AliasMapper aliasMap;
private IDecimalConverter converter;
private ExpressionV... | 39.111111 | 130 | 0.616477 | [
"MIT"
] | AnandDhamane/Merchant-Galaxy | Merchant-Galaxy/Roman/ExpressionTypes/AliasQuestionExpressionType.cs | 2,114 | C# |
//----------------------------------------------------------------------------
// Copyright (C) 2004-2013 by EMGU. All rights reserved.
//----------------------------------------------------------------------------
using System;
#if NETFX_CORE
using Windows.UI;
#else
using System.Drawing;
#endif
namespace Em... | 23.916667 | 82 | 0.53194 | [
"Apache-2.0"
] | catbox56790/ChromePlusRecord | ScreenRecordPlusChrome/packages/emgucv2.4.10/Emgu.CV/Color/DisplayColorAttribute.cs | 861 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 11.05.2021.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.S... | 29.582031 | 152 | 0.566618 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/NotEqual/Complete/Guid/Guid/TestSet_001__fields__01__VV.cs | 7,575 | C# |
using System;
using System.Globalization;
/// <summary>
/// SByte.System.IConvertible.ToInt16(IFormatProvider)
/// </summary>
public class SByteIConvertibleToInt16
{
public static int Main()
{
SByteIConvertibleToInt16 sbyteIConToInt16 = new SByteIConvertibleToInt16();
TestLibrary.TestFramework.B... | 32.596154 | 102 | 0.562439 | [
"MIT"
] | CyberSys/coreclr-mono | tests/src/CoreMangLib/cti/system/sbyte/sbyteiconvertibletoint16.cs | 5,085 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.