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;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Xml;
using UnityEditor;
using UnityEngine;
using WeaverCore.Attributes;
using WeaverCore.Editor.Settings;
using WeaverCore.Editor.Utilities;
using Weave... | 29.25 | 254 | 0.684597 | [
"MIT"
] | nickc01/CrystalCore | WeaverCore.Editor/Compilation/BuildTools.cs | 21,530 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml;
using NSoupSpider;
using NSoup.Nodes;
using NSoup;
namespace NSoupSpiderTester
{
[TestClass]
public class E... | 35.193548 | 164 | 0.559731 | [
"MIT"
] | ridgew/NSoupSpider | NSoupSpiderTester/ExtractTaskDocumentTester.cs | 3,275 | C# |
using System;
using BuildingBlocks.CQRS.QueryHandling;
using EcommerceDDD.Application.EventSourcing.StoredEventsData;
using FluentValidation;
using FluentValidation.Results;
using System.Collections.Generic;
namespace EcommerceDDD.Application.Orders.ListOrderStoredEvents
{
public class ListOrderStoredEventsQuery ... | 28.454545 | 100 | 0.705005 | [
"MIT"
] | AELMOUMNI/EcommerceDDD | src/EcommerceDDD.Application/Orders/ListOrderStoredEvents/ListOrderStoredEventsQuery.cs | 941 | C# |
using UnityEngine;
public class ScoreKeeper : MonoBehaviour
{
int correctAnswers = 0;
int questionsSeen = 0;
public int GetCorrecAnswers()
{
return correctAnswers;
}
public void IncrementCorrectAnswers()
{
correctAnswers++;
}
public int GetQuestionsSeen()
{
... | 16.909091 | 77 | 0.620072 | [
"MIT"
] | Miillky/unity-developer-2D | Quiz Master/Assets/Scripts/ScoreKeeper.cs | 558 | C# |
using System.IO;
namespace DogOS.Utils.FileTypes
{
public static class Ini
{
// From: https://stackoverflow.com/a/55752753/13617487
public static string ReadFile(string SECTION, string KEY, string PATH, string DEFAULT_VALUE = "")
{
// read all lines from the file
... | 41.867925 | 105 | 0.515097 | [
"BSD-3-Clause"
] | DogOSdev/DogOS | DogOS/Utils/FileTypes/Ini.cs | 2,219 | C# |
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace Wedonek.Web.RpcMer
{
public partial class R... | 19.555556 | 81 | 0.289773 | [
"Apache-2.0"
] | tc303730352/WedonekRpcFrame | Source/Wedonek.Web/RpcMer/RpcMerInfo.aspx.designer.cs | 460 | 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("5.C... | 37.945946 | 84 | 0.748575 | [
"MIT"
] | TsvetanNikolov123/CSharp---Programming-Fundamentals-Extended | 27 Objects and Simple Classes/5.ClosestTwoPoints/Properties/AssemblyInfo.cs | 1,407 | 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.225225 | 139 | 0.621228 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/CodeCommit/Generated/Model/Internal/MarshallTransformations/ListBranchesRequestMarshaller.cs | 3,910 | 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.32967 | 171 | 0.666563 | [
"Apache-2.0"
] | DalavanCloud/aws-sdk-net | sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/ListEnabledProductsForImportRequestMarshaller.cs | 3,215 | C# |
//-----------------------------------------------------------------------
// <copyright file="RemoteWatcher.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>
//... | 37.245098 | 214 | 0.539653 | [
"Apache-2.0"
] | IgorFedchenko/akka.net | src/core/Akka.Remote/RemoteWatcher.cs | 26,607 | C# |
using System;
using System.Collections.Generic;
using System.Data;
namespace LinqToDB.DataProvider.Firebird
{
using Common;
using Data;
using Mapping;
using SqlProvider;
using System.Threading;
using System.Threading.Tasks;
public class FirebirdDataProvider : DynamicDataProviderBase<FirebirdProvi... | 33.361702 | 144 | 0.720663 | [
"MIT"
] | SuleymanEngin/linq2db | Source/LinqToDB/DataProvider/Firebird/FirebirdDataProvider.cs | 4,566 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GlobalTimer : MonoBehaviour
{
public GameObject timeDisplay01;
public GameObject timeDisplay02;
public bool isTakingTime = false;
public static int extendScore;
public int seconds = ... | 19.9 | 63 | 0.630653 | [
"MIT"
] | JCharlieDev/Platform-Game | Platform Game/Assets/Scripts/GlobalTimer.cs | 798 | 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.Linq.Expressions;
using System.Reactive.Concurrency;
using System.Reflection;
namespace... | 41.380952 | 285 | 0.662831 | [
"MIT"
] | editor-tools/ReactiveUI | src/ReactiveUI.Fody.Helpers/ObservableAsPropertyExtensions.cs | 1,740 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// AOP API: alipay.open.public.message.label.send
/// </summary>
public class AlipayOpenPublicMessageLabelSendRequest : IAlipayRequest<AlipayOpenP... | 23.954955 | 115 | 0.586687 | [
"MIT"
] | AkonCoder/Payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenPublicMessageLabelSendRequest.cs | 2,679 | C# |
// ReSharper disable RedundantNameQualifier
namespace PropertyChangedAnalyzers.Benchmarks.Benchmarks
{
[BenchmarkDotNet.Attributes.MemoryDiagnoser]
public class EqualityAnalyzerBenchmarks
{
private static readonly Gu.Roslyn.Asserts.Benchmark Benchmark = Gu.Roslyn.Asserts.Benchmark.Create(Code.ValidC... | 33.1875 | 179 | 0.73823 | [
"MIT"
] | jnm2/PropertyChangedAnalyzers | PropertyChangedAnalyzers.Benchmarks/Benchmarks/EqualityAnalyzerBenchmarks.cs | 531 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Newtonsoft.Json;
namespace Nest
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
[ContractJsonConverter(typeof(AggregationJsonConverter<GeoDistanceAggregation>))]
public interface IGeoDistanceAggre... | 32.413793 | 133 | 0.758156 | [
"Apache-2.0"
] | jslicer/elasticsearch-net | src/Nest/Aggregations/Bucket/GeoDistance/GeoDistanceAggregation.cs | 2,820 | 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.Globalization;
using System.Text;
using Microsoft.ML.I... | 36.170414 | 131 | 0.36844 | [
"MIT"
] | Hyolog/machinelearning | src/Microsoft.ML.Transforms/Expression/Lexer.cs | 30,566 | C# |
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this li... | 42.132653 | 116 | 0.760717 | [
"BSD-2-Clause"
] | wdxgy136/xenadmin-yeesan | XenAdminTests/DialogTests/DialogsWithDefaultConstructor.cs | 4,131 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace CC98.Medal.Migrations
{
public partial class AddMedalCategoryInfo : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Description",
... | 28.627907 | 71 | 0.528026 | [
"Apache-2.0"
] | ZJU-CC98/CC98.Medal | CC98.Medal/CC98.Medal/Migrations/20200701064527_AddMedalCategoryInfo.cs | 1,233 | C# |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 33.732394 | 146 | 0.617537 | [
"MIT"
] | AikoBB/azure-sdk-for-net | sdk/appplatform/Microsoft.Azure.Management.AppPlatform/src/Generated/Models/MetricDimension.cs | 2,395 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using SimplCommerce.Infrastructure;
namespace SimplCommerce.Web.Areas.Admin.ViewModels.SmartTable
{
public static class SmartTableExtension
{
public static SmartTableResult<TResult> ToSmartTableResult<TModel, TResult>(this IQueryable<T... | 30.547619 | 169 | 0.566641 | [
"Apache-2.0"
] | dbraunbock/SimplCommerce | src/SimplCommerce.Web/Areas/Admin/ViewModels/SmartTable/SmartTableExtension.cs | 1,285 | C# |
using UnityEditor;
using UnityEngine;
using UnityEngine.XR.WindowsMR;
namespace UnityEditor.XR.WindowsMR
{
public class WindowsMRRemotingWindow : EditorWindow
{
[MenuItem("Window/XR/Windows XR Plugin Remoting")]
public static void Init()
{
GetWindow<WindowsMRRemotingWindow>(... | 44.207317 | 252 | 0.654897 | [
"Apache-2.0"
] | BCBlanka/BeatSaber | Library/PackageCache/com.unity.xr.windowsmr@2.5.2/Editor/WindowsMRRemotingWindow.cs | 7,250 | C# |
using System.Text.Json.Serialization;
namespace Horizon.Payment.Alipay.Domain
{
/// <summary>
/// KoubeiTradeTicketSendCloseModel Data Structure.
/// </summary>
public class KoubeiTradeTicketSendCloseModel : AlipayObject
{
/// <summary>
/// 订单号
/// </summary>
[JsonP... | 24.609756 | 63 | 0.536174 | [
"Apache-2.0"
] | bluexray/Horizon.Sample | Horizon.Payment.Alipay/Domain/KoubeiTradeTicketSendCloseModel.cs | 1,067 | 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... | 31.12069 | 133 | 0.639889 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/ConfigService/Generated/Model/PutStoredQueryResponse.cs | 1,805 | C# |
namespace popp
{
public enum LineType
{
Whitespace,
Comment,
Msgctxt,
Msgid,
Msgstr,
StrContinuation,
IncludeStatement
}
}
| 14.642857 | 25 | 0.473171 | [
"MIT"
] | Treer/POpp | popp/LineType.cs | 207 | C# |
// Copyright (c) 2019, WebsitePanel-Support.net.
// Distributed by websitepanel-support.net
// Build and fixed by Key4ce - IT Professionals
// https://www.key4ce.com
//
// Original source:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary f... | 39.901781 | 159 | 0.474214 | [
"BSD-3-Clause"
] | Key4ce/Websitepanel | WebsitePanel/Sources/WebsitePanel.Providers.Mail.SmarterMail5/SmarterMail5.cs | 82,878 | C# |
// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved.
// 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 full license information.
using Microsoft.CodeAnalysis;
... | 30.260355 | 101 | 0.588189 | [
"MIT"
] | JesperTreetop/ReactiveUI | src/ReactiveUI.Fody.Analyzer.Test/ReactiveObjectAnalyzerTest.cs | 5,116 | C# |
using System.Reflection;
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("AWSSDK.Drs")]
[assembly: AssemblyDescripti... | 50.625 | 363 | 0.75679 | [
"Apache-2.0"
] | raz2017/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/Drs/Properties/AssemblyInfo.cs | 1,620 | C# |
using Heuristics.TechEval.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Heuristics.TechEval.Web.Models
{
public class ViewAll
{
public List<ViewMember> Members { get; set; }
public List<SelectListItem> Categori... | 22.933333 | 60 | 0.715116 | [
"MIT"
] | JohnMoseley/TechEval. | Web/Models/ViewAll.cs | 346 | C# |
using System;
namespace CoreMe.Core.AOP.Attributes
{
[AttributeUsage(AttributeTargets.Method)]
public class CacheableAttribute : Attribute
{
public CacheableAttribute()
{
}
public CacheableAttribute(string cacheKey)
{
CacheKey = cacheKey;
}
... | 17.666667 | 50 | 0.595687 | [
"MIT"
] | Memoyu/CoreMe | src/CoreMe.Core/AOP/Attributes/CacheableAttribute.cs | 373 | C# |
using System.Collections.Generic;
using TaskHistory.Api.Labels;
using TaskHistory.Api.Tasks;
namespace TaskHistory.Api.Terminal
{
public interface ITerminalObjectMapper
{
//TODO instead of doing it this way. use attributes
IEnumerable<ITerminalObject> ConvertTasks(IEnumerable<ITask> task);
IEnumerable<ITermi... | 26.928571 | 72 | 0.806366 | [
"MIT"
] | rhsu/TaskHistory | TaskHistory.Api/Terminal/ITerminalObjectMapper.cs | 379 | C# |
namespace GDShrapt.Reader
{
public interface IGDKeywordToken
{
string Sequence { get; }
}
} | 16 | 36 | 0.625 | [
"MIT"
] | elamaunt/GDShrapt | src/GDShrapt.Reader/SimpleTokens/Keywords/IGDKeywordToken.cs | 114 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using System;
namespace PlusUltra.OpenTracing.HttpPropagation.Incoming
{
public class IncomingTraceStartupFilter : IStartupFilter
{
public Action<IApplicationBuilder> Configure(Action<IApplicationBuilder> next)
{
... | 23.7 | 86 | 0.632911 | [
"MIT"
] | alefcarlos/PlusUltra.OpenTracing.HttpPropagation | src/PlusUltra.OpenTracing.HttpPropagation/Incoming/IncomingTraceStartupFilter.cs | 476 | C# |
namespace XCommon.CodeGenerator.Core.DataBase
{
public class DataBaseRelationShip
{
public string SchemaPK { get; set; }
public string SchemaFK { get; set; }
public string TablePK { get; set; }
public string TableFK { get; set; }
public string ColumnPK { get; set; }
public string ColumnFK { get; ... | 19.681818 | 52 | 0.688222 | [
"MIT"
] | marviobezerra/XCommon | src/XCommon.CodeGenerator/Core/DataBase/DataBaseRelationShip.cs | 435 | C# |
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// KoubeiCateringPosPrintQueryModel Data Structure.
/// </summary>
public class KoubeiCateringPosPrintQueryModel : AlipayObject
{
/// <summary>
/// 门店id
/// </summary>
[... | 23.529412 | 64 | 0.62 | [
"MIT"
] | Frunck8206/payment | src/Essensoft.Paylink.Alipay/Domain/KoubeiCateringPosPrintQueryModel.cs | 406 | C# |
using System;
using System.IO;
using System.Threading;
using UIKit;
using Foundation;
namespace Microsoft.AspNet.SignalR.Client.iOS.Samples
{
public class TextViewWriter : TextWriter
{
private SynchronizationContext _context;
private UITextView _textView;
public TextViewWriter(Synchron... | 26.177419 | 100 | 0.592113 | [
"MIT"
] | JoeRock11/SignalR-Chat-Client | SignalR_Client/Components/signalr-2.1.2.2/samples/Microsoft.AspNet.SignalR.Client.iOS.Samples/Microsoft.AspNet.SignalR.Client.iOS.Samples/TextViewWriter.cs | 1,623 | C# |
/*-------------------------------------------------------------------------------------------
* Copyright (c) Fuyuno Mikazuki / Natsuneko. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*----------------------------------------------------------------... | 42.428571 | 136 | 0.618567 | [
"MIT"
] | mika-f/MochizukiExtensionsLibrary | Assets/Mochizuki/VRChat/Extensions/Unity/AnimatorStateTransitionExtensions.cs | 2,081 | C# |
using T04.WildFarm.Contracts;
namespace T04.WildFarm.Models.Animals
{
public class Hen : Bird
{
private const double Modifier = 0.35;
public Hen(string name, double weight, double wingSize)
: base(name, weight, wingSize) { }
public override void Eat(IFood food)
{
... | 22.15 | 63 | 0.600451 | [
"MIT"
] | akdimitrov/CSharp-OOP | 08.Polymorphism-Exercise/T04.WildFarm/Models/Animals/Hen.cs | 445 | C# |
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
// using TravelWithUsService.DBContext.Repositories;
using TravelWithUsService.Models;
namespace TravelWithUsService.Controllers
{ // base address: api/hotel
[Route("api/[controller]")]
[ApiContr... | 26.131034 | 79 | 0.516495 | [
"MIT"
] | Equipo12-SBDII/TravelWithUs | TravelWithUsService/Controllers/HotelController.cs | 3,789 | C# |
using Crypto.Core.Settings;
using System.Collections.Specialized;
using System.Net;
using System.Security.Cryptography;
using System.Text;
namespace Crypto.Core;
public class Utilities
{
private string apiPath => ApiSettings.ApiPath;
private string? apiPublicKey { get; set; }
private string? apiPrivateKe... | 32.890411 | 111 | 0.575802 | [
"MIT"
] | AdisonCavani/Crypto | src/Crypto.Core/Utilities.cs | 4,804 | C# |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
/*
* AvaTax API Client Library
*
* (c) 2004-2019 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Genevieve Conty
* @author Greg Hester... | 31.586207 | 122 | 0.586608 | [
"Apache-2.0"
] | avadev/AvaTax-REST-V2-DotNet-SDK | src/models/FreeTrialRequestModel.cs | 2,748 | 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.Concurrent;
using System.Collections.Generic;
using System.Collections.Immut... | 44.325798 | 183 | 0.484115 | [
"MIT"
] | belav/roslyn | src/Features/Core/Portable/Completion/Providers/ImportCompletionProvider/ExtensionMethodImportCompletionHelper.ExtensionMethodSymbolComputer.cs | 33,335 | C# |
using Pomodoro.Common;
using Pomodoro.Services;
using System;
using System.Windows.Input;
namespace Pomodoro.ViewModels
{
public interface ICountdownViewModel
{
void Initialize(TimeSpan time, Uri uri);
void RestartTimer();
void StopTimer();
}
public class CountdownViewModel : Observable... | 21.546296 | 79 | 0.603782 | [
"Apache-2.0"
] | sszost/pomodoro | source/Pomodoro/ViewModels/CountdownViewModel.cs | 2,329 | C# |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using Microsoft.Kusto.ServiceLayer.Connection;
using Microsoft.Kusto.ServiceLayer.Connection.Contracts;
using Micr... | 42.323529 | 147 | 0.633252 | [
"MIT"
] | KevinRansom/sqltoolsservice | test/Microsoft.Kusto.ServiceLayer.UnitTests/LanguageServices/ConnectedBindingQueueTests.cs | 5,756 | C# |
using System;
using Aop.Api.Domain;
using System.Collections.Generic;
using Aop.Api.Response;
namespace Aop.Api.Request
{
/// <summary>
/// AOP API: alipay.data.aiservice.smartprice.merchanteffect.query
/// </summary>
public class AlipayDataAiserviceSmartpriceMerchanteffectQueryRequest : IAop... | 26.459677 | 145 | 0.57452 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Request/AlipayDataAiserviceSmartpriceMerchanteffectQueryRequest.cs | 3,297 | C# |
using System.ComponentModel.DataAnnotations;
using Abp.MultiTenancy;
namespace WeixinProject.Authorization.Accounts.Dto
{
public class IsTenantAvailableInput
{
[Required]
[StringLength(AbpTenantBase.MaxTenancyNameLength)]
public string TenancyName { get; set; }
}
}
| 23.384615 | 58 | 0.726974 | [
"MIT"
] | Yuexs/WeixinProject | src/WeixinProject.Application/Authorization/Accounts/Dto/IsTenantAvailableInput.cs | 306 | C# |
//-------------------------------------------------------------------
/*! @file Assert.cs
* @brief This file provides a small set of class and related definitions for classes and methods that are useful in constructing assert style operations with programmatically defined behavior.
*
* Copyright (c) Mosaic Sys... | 69.15415 | 259 | 0.728338 | [
"ECL-2.0",
"Apache-2.0"
] | mosaicsys/MosaicLibCS | Base/Utils/Assert.cs | 17,496 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace evaluare
{
class Camera
{
String nume;
public String Nume { get { return nume; } }
public Camera(String nume)
{
this.nume = nu... | 18.210526 | 52 | 0.566474 | [
"MIT"
] | BUG95/tap2020-e01 | bug95/src/evaluare/evaluare/Camera.cs | 348 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Clarity.Common.CodingUtilities;
using Clarity.Common.Numericals;
using Clarity.Common.Numericals.Algebra;
using Clarity.Common.Numericals.Geometry;
namespace Clarity.Ext.Simulation.Fluids
{
public class LevelSet
{
priv... | 39.528358 | 108 | 0.46496 | [
"MIT"
] | Zulkir/ClarityWorlds | Source/Clarity.Ext.Simulation.Fluids/LevelSet.cs | 13,244 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using Ultraviolet.Content;
using Ultraviolet.Core;
using Ultraviolet.OpenGL.Bindings;
namespace Ultraviolet.OpenGL.Graphics
{
/// <summary>
/// Represents shader s... | 42.929688 | 210 | 0.573127 | [
"Apache-2.0",
"MIT"
] | MicroWorldwide/ultraviolet | Source/Ultraviolet.OpenGL/Shared/Graphics/ShaderSource.cs | 16,487 | C# |
using Fan.Blog.Services.Interfaces;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace Fan.Web.ViewComponents
{
/// <summary>
/// The BlogArchives view component.
/// </summary>
public class BlogArchivesViewComponent : ViewComponent
{
private readonly IStatsService _st... | 26.541667 | 68 | 0.651491 | [
"Apache-2.0"
] | tamil1809/Fanray | src/Fan.Web/ViewComponents/BlogArchivesViewComponent.cs | 639 | 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("CN... | 38.324324 | 84 | 0.745416 | [
"BSD-3-Clause"
] | Jmerk523/Grbl-GCode-Sender | CNC Core/CNC Core/Properties/AssemblyInfo.cs | 1,421 | C# |
namespace Steamworks
{
public enum EDenyReason
{
k_EDenyInvalid,
k_EDenyInvalidVersion,
k_EDenyGeneric,
k_EDenyNotLoggedOn,
k_EDenyNoLicense,
k_EDenyCheater,
k_EDenyLoggedInElseWhere,
k_EDenyUnknownText,
k_EDenyIncompatibleAnticheat,
k_EDenyMemoryCorruption,
k_EDenyIncompatibleSoftware,
k_EDen... | 20.695652 | 32 | 0.834034 | [
"MIT"
] | undancer/oni-data | Managed/firstpass/Steamworks/EDenyReason.cs | 476 | C# |
namespace Test.Migrations
{
using System;
using System.Collections.Generic;
using System.Data.Entity.Infrastructure.Annotations;
using System.Data.Entity.Migrations;
public partial class InitialMigrations : DbMigration
{
public override void Up()
{
CreateTable(
... | 53.519481 | 141 | 0.499043 | [
"MIT"
] | davidbandinelli/Abp52MvcJQueryDemo | src/Test.EntityFramework/Migrations/201809270654064_InitialMigrations.cs | 37,089 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.User... | 38.479592 | 130 | 0.591355 | [
"MIT"
] | 02Naitsirk/osu | osu.Game/Online/OnlineViewContainer.cs | 3,676 | 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... | 26.37931 | 81 | 0.643137 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/DocumentDB/Inputs/SqlDatabaseResourceArgs.cs | 765 | C# |
using System;
namespace FUR10N.NullContracts.FlowAnalysis
{
public enum ExpressionStatus
{
Assigned,
ReassignedAfterCondition,
NotAssigned,
AssignedWithUnneededConstraint
}
public static class ExpressionStatusExtensions
{
public static bool IsAssigned(this ... | 23.333333 | 116 | 0.679592 | [
"MIT"
] | FUR10N/NullContracts | src/FUR10N.NullContracts/FlowAnalysis/ExpressionStatus.cs | 492 | C# |
using LinqToLdap.Collections;
using LinqToLdap.Mapping.PropertyMappingBuilders;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq.Expressions;
using System.Security.Cryptography.X509Certificates;
using System.Security.Principal;
namespace LinqToLdap.Mapping
{
... | 32.518868 | 148 | 0.540926 | [
"MIT"
] | madhatter22/LinqToLdap | LinqToLdap/Mapping/ClassMapMapMethods.cs | 24,131 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nerula.Data
{
public enum WipState
{
New = 10,
Billed = 50
}
}
| 13.5 | 33 | 0.634921 | [
"Unlicense"
] | jahav/Nerula | Nerula.Wip/WipState.cs | 191 | C# |
using System;
using NetOffice;
namespace NetOffice.WordApi.Enums
{
/// <summary>
/// SupportByVersion Word 14, 15, 16
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/office/ff835791.aspx </remarks>
[SupportByVersionAttribute("Word", 14,15,16)]
[EntityTypeAt... | 25.781818 | 119 | 0.627645 | [
"MIT"
] | Engineerumair/NetOffice | Source/Word/Enums/XlBarShape.cs | 1,418 | C# |
/*
* PagarmeCoreApi.Standard
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
*/
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;
us... | 25 | 83 | 0.587907 | [
"MIT"
] | pagarme/pagarme-core-api-dotnet-standard | PagarmeCoreApi.Standard/Models/UpdateMetadataRequest.cs | 1,075 | C# |
using System;
using Xunit;
using MultiBracketValidation;
namespace MultiBracketValidatorTest
{
public class MultiBracketValidationTest
{
[Fact]
public void HappyPath()
{
string test = "()[]{}";
Assert.True(MultiBracket.MultiBracketValidation(test)... | 26.101449 | 99 | 0.500833 | [
"MIT"
] | daviddicken/data-structures-and-algorithms | dotnet/codeChallenges/MultiBracketValidatorTest/MultiBarachetValidationTest.cs | 1,801 | C# |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\shared\d3dkmddi.h(3254,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct _DXGK_QUERYADAPTERINFOFLAGS__union_0__struct_0
{
[MarshalAs(Unmanage... | 58.5 | 189 | 0.698006 | [
"MIT"
] | Steph55/DirectN | DirectN/DirectN/Generated/_DXGK_QUERYADAPTERINFOFLAGS__union_0__struct_0.cs | 1,055 | C# |
using System;
using AppRopio.Models.Filters.Responses;
using System.Collections.Generic;
using AppRopio.Base.Filters.Core.Services;
using MvvmCross.Platform;
using MvvmCross.Plugins.Messenger;
using AppRopio.Base.Filters.Core.ViewModels.Filters.Messages;
namespace AppRopio.Base.Filters.Core.ViewModels.Filters.Items.S... | 27.246377 | 155 | 0.695745 | [
"Apache-2.0"
] | cryptobuks/AppRopio.Mobile | src/app-ropio/AppRopio.Base/Filters/Core/ViewModels/Filters/Items/Selection/BaseSelectionFiVm.cs | 1,882 | C# |
using System;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public class OpenFileName {
public int structSize = 0;
public IntPtr dlgOwner = IntPtr.Zero;
public IntPtr instance = IntPtr.Zero;
public String filter = null;
public String customFilte... | 33 | 103 | 0.710526 | [
"MIT"
] | Danruc/Scape_to_Space | ScapeToSpace/Assets/Scripts/Level2/Quest2/Tutorial/OpenFileName.cs | 1,256 | C# |
using SimpleIdentityServer.Core.Jwt.Serializer;
using SimpleIdentityServer.Core.Jwt.Signature;
namespace SimpleIdentityServer.Core.Jwt
{
public class JwsGeneratorFactory
{
public IJwsGenerator BuildJwsGenerator()
{
ICreateJwsSignature createJwsSignature;
#if NET461
crea... | 27.947368 | 80 | 0.706215 | [
"Apache-2.0"
] | appkins/SimpleIdentityServer | SimpleIdentityServer/src/Apis/SimpleIdServer/SimpleIdentityServer.Core.Jwt/JwsGeneratorFactory.cs | 533 | C# |
namespace JiraAssistant.Domain.Ui
{
public interface IToolbarItem
{
}
} | 13.5 | 34 | 0.703704 | [
"MIT"
] | sceeter89/jira-client | JiraAssistant.Domain/Ui/IToolbarItem.cs | 83 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using ManagedLzma.Testing;
using ManagedCoder = ManagedLzma.LZMA.Helper;
using ManagedCoder2 = ManagedLzma.LZMA.Helper2;
using NativeCoder = ManagedLzma.LZMA.Reference.Native.Helper;
using NativeCoder... | 30.430108 | 113 | 0.49894 | [
"MIT"
] | mostlyuseful/managed-lzma | sandbox/TestRunner.cs | 5,662 | C# |
/*************************************************
----Author: Cyy
----CreateDate: 2022-04-02 11:20:21
----Desc: Create By BM
**************************************************/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using BmFramework.Core;
namespace Bm.Lerp
... | 23.36 | 91 | 0.513699 | [
"MIT"
] | corle-bell/MineSweeping | Assets/BmFramework/Commpent/LerpTween/BmLerpAnimationClip.cs | 584 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Reflection.Tests
{
// System.Reflection.FieldInfo.GetValue(System.Object)
public class FieldInfoGetValue1
{
// Positi... | 31.841772 | 105 | 0.521566 | [
"MIT"
] | 690486439/corefx | src/System.Reflection.TypeExtensions/tests/FieldInfo/FieldInfoGetValue1.cs | 5,031 | C# |
using BingImageSearchSample.Services.BingService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Template10.Mvvm;
using Template10.Services.NavigationService;
using Windows.UI.Xaml.Navigation;
namespace BingImageSearchSample.ViewModels
{
pu... | 28.36 | 121 | 0.610014 | [
"Apache-2.0"
] | gsantopaolo/BingImageSearchSample | BingImageSearchSample/ViewModels/DetailPageViewModel.cs | 1,418 | C# |
namespace SFA.DAS.Events.Api.Client.Configuration
{
public interface IEventsApiClientConfiguration
{
string BaseUrl { get; }
string ClientToken { get; }
}
} | 23.125 | 50 | 0.664865 | [
"MIT"
] | SkillsFundingAgency/das-events | src/SFA.DAS.Events.Api.Client/Configuration/IEventsApiClientConfiguration.cs | 187 | C# |
using System;
namespace WebApiBasics.WebApp.Areas.HelpPage
{
/// <summary>
/// This represents a preformatted text sample on the help page. There's a display template named TextSample associated with this class.
/// </summary>
public class TextSample
{
public TextSample(string text)
... | 24.189189 | 140 | 0.536313 | [
"MIT"
] | paulboocock/WebApiBasics | WebApiBasics.WebApp/Areas/HelpPage/SampleGeneration/TextSample.cs | 895 | 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.Diagnostics;
namespace Cake.Core.IO.Globbing.Nodes;
[DebuggerDisplay("**")]
internal sealed class Re... | 28.227273 | 80 | 0.73591 | [
"MIT"
] | ecampidoglio/cake | src/Cake.Core/IO/Globbing/Nodes/RecursiveWildcardNode.cs | 623 | C# |
namespace GitVersion.VersionCalculation.BaseVersionCalculators
{
using System;
using System.Collections.Generic;
using System.Linq;
using LibGit2Sharp;
/// <summary>
/// Version is extracted from all tags on the branch which are valid, and not newer than the current commit.
/// Ba... | 39.381579 | 138 | 0.56866 | [
"MIT"
] | clairernovotny/GitVersion | src/GitVersionCore/VersionCalculation/BaseVersionCalculators/TaggedCommitVersionStrategy.cs | 2,920 | C# |
using Sandbox;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using VRP.Items.UI;
using VRP.Player;
namespace VRP.Items
{
public partial class VrpItemEntity : ModelEntity, IUse
{
private static readonly List<VrpItemEntity... | 19.27673 | 86 | 0.639804 | [
"MIT"
] | civilgamers/vrp | code/Items/VrpItemEntity.cs | 3,067 | 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("04... | 38.351351 | 84 | 0.7463 | [
"Apache-2.0"
] | Gab42/C-sharp-Advanced | C_Sharp_Adv_Homework4/04.Text Filter/Properties/AssemblyInfo.cs | 1,422 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Ship_Game.Ships;
namespace Ship_Game
{
/// <summary>
/// This contains multiple simple yet useful extension algorithms for different data structur... | 36.755102 | 118 | 0.554137 | [
"MIT"
] | UnGaucho/StarDrive | Ship_Game/ExtensionMethods/CollectionFindClosestTo.cs | 7,206 | C# |
namespace CafeLib.Cryptography.BouncyCastle.Asn1
{
public class BerSequence
: DerSequence
{
public static new readonly BerSequence Empty = new BerSequence();
public static new BerSequence FromVector(
Asn1EncodableVector v)
{
return v.Count < 1 ? Empty : new BerSequence(v);
}
/**
* create an emp... | 16.2 | 67 | 0.638448 | [
"MIT"
] | chrissolutions/CafeLib | Cryptography/CafeLib.Cryptography.BouncyCastle/Asn1/BerSequence.cs | 1,134 | C# |
using UnityEngine;
using System.Collections;
using MalbersAnimations.Scriptables;
#if UNITY_EDITOR
using UnityEditorInternal;
using UnityEditor;
#endif
namespace MalbersAnimations.Utilities
{
[AddComponentMenu("Malbers/Events/Messages")]
public class Messages : MonoBehaviour
{
public MesssageIt... | 38.116667 | 166 | 0.559748 | [
"MIT"
] | alfonsoquartny/Sherlocked | The Sherlocked/Assets/Malbers Animations/Common/Scripts/Events/Messages.cs | 16,011 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwitchComponent : MonoBehaviour
{
public GameObject component;
public Sprite newSprite;
public bool HasToCut;
private SpriteRenderer spriteRenderer;
private AudioSource sound;
private bool hasSwitchedSt... | 22.031746 | 101 | 0.569885 | [
"Apache-2.0"
] | gaziduc/catch-me-if-you-can | Assets/Scripts/UI/SwitchComponent.cs | 1,388 | C# |
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elasticsearch B.V. unde... | 24.458824 | 71 | 0.712362 | [
"Apache-2.0"
] | opensearch-project/opensearch-net | src/OpenSearch.Client/CommonOptions/DateMath/DateMathTimeUnit.cs | 2,079 | C# |
// <auto-generated />
using System;
using System.Reflection;
using System.Resources;
using System.Threading;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.Extensions.Logging;
namespace Microsoft.EntityFrameworkCore.InMemory.Internal
{
/// <summary>
/// This ... | 50.248408 | 231 | 0.640639 | [
"Apache-2.0"
] | 0b01/efcore | src/EFCore.InMemory/Properties/InMemoryStrings.Designer.cs | 7,889 | C# |
//-----------------------------------------------------------------------
// <copyright file="ManyRecoveriesSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyrig... | 36.31 | 122 | 0.536216 | [
"Apache-2.0"
] | Flubik/akka.net | src/core/Akka.Persistence.Tests/ManyRecoveriesSpec.cs | 3,633 | C# |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Models;
using Services;
using Services.Interfaces;
namespace FinalProject.Controllers
{
[Route("Api/[controller]")]
public class ClienteController : ControllerBase
{
... | 24.911765 | 67 | 0.551358 | [
"MIT"
] | carlosdz4/ApiTaller | FinalProject/FinalProject/Controllers/ClienteController.cs | 1,696 | C# |
using System;
namespace ExRandom.Continuous {
public class InverseGaussRandom : Random {
readonly MT19937 mt;
readonly NormalRandom nd;
readonly double mu, lambda;
public InverseGaussRandom(MT19937 mt, double lambda = 1, double mu = 1) {
if (mt is null) {
... | 28.342105 | 83 | 0.467967 | [
"MIT"
] | tk-yoshimura/ExRandom | ExRandom/Continuous/InverseGaussRandom.cs | 1,079 | C# |
using System.Linq;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.OData;
using Microsoft.Azure.Mobile.Server;
using XamarinBackendService.DataObjects;
using XamarinBackendService.Models;
using XamarinBackendService.Helpers;
namespace XamarinBackendService... | 31.781818 | 83 | 0.642449 | [
"MIT"
] | Floris-Dox/xamarinA | Challenge 3/src/XamarinBackend/XamarinBackendService/Controllers/WeaponController.cs | 1,750 | C# |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... | 47.690141 | 230 | 0.702599 | [
"MIT"
] | Acidburn0zzz/azure-powershell | src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/Models/PSManagedIntegrationRuntime.cs | 3,318 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace SBTCustomerManager.Models.AccountViewModels
{
public class LoginWithRecoveryCodeViewModel
{
[Required]
[DataType(DataType.T... | 25.764706 | 54 | 0.666667 | [
"MIT"
] | seanpconkie/SBTCustomerManager | Models/AccountViewModels/LoginWithRecoveryCodeViewModel.cs | 440 | C# |
using System;
using System.Collections.Generic;
internal class C<TFirst>
{
internal struct VSlot<T>
{
public readonly T Value;
public VSlot (T value)
{
Value = value;
}
}
internal IEnumerable<V> GetEnumerable<V> (IEnumerable<VSlot<V>> input)
{
foreach (var v in input)
yield return v.Value;
}
}
... | 14.538462 | 84 | 0.620811 | [
"Apache-2.0"
] | 121468615/mono | mcs/tests/gtest-iter-15.cs | 567 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.CosmosDB.Models
{
/// <summary> Parameters ... | 48.188679 | 302 | 0.671887 | [
"MIT"
] | KurnakovMaksim/azure-sdk-for-net | sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/MongoDBCollectionCreateUpdateData.cs | 2,554 | C# |
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
using Newtonsoft.Json;
namespace DSCore.Api
{
internal static class Utils
{
internal static bool CheckDatabase()
{
if (System.IO.File.Exists(P... | 27.348837 | 131 | 0.628401 | [
"MIT"
] | Dannyps/DSCore | DSCore.Api/Utils.cs | 1,178 | C# |
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Copyright (C) 2016-2017 Sebastian Grams <https://github.com/sebastian-dev>
// Copyright (C) 2016-2017 Aqua Com... | 27.979592 | 98 | 0.560175 | [
"MPL-2.0"
] | Mjollnirs/HardwareProviders | HardwareProviders.CPU.Standard/Ryzen/RyzenNumaNode.cs | 1,373 | 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.25 | 116 | 0.656015 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/IoT/Generated/Model/Internal/MarshallTransformations/CloudwatchAlarmActionMarshaller.cs | 2,660 | C# |
// Copyright 2020 New Relic, Inc. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Collections.Generic;
using System.Linq;
using NewRelic.Agent.IntegrationTestHelpers;
using NewRelic.Agent.IntegrationTestHelpers.Models;
using Xunit;
using Xunit.Abstractions;
namespace NewRelic.Agent.Integrati... | 45.101695 | 161 | 0.67531 | [
"Apache-2.0"
] | JoshuaColeman/newrelic-dotnet-agent | tests/Agent/IntegrationTests/IntegrationTests/CSP/AspNetCoreLocalHSMDisabledAndServerSideHSMDisabledTests.cs | 2,661 | C# |
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;
using Palmmedia.ReportGenerator.Core.Common;
using Palmmedia.ReportGenerator.Core.Properties;
namespace Palmmedia.ReportGenerator.Core.Parser.FileReading
{
//... | 39.425 | 180 | 0.523568 | [
"Apache-2.0"
] | SeppPenner/ReportGenerator | src/ReportGenerator.Core/Parser/FileReading/CachingFileReader.cs | 4,733 | 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("Sc... | 37.540541 | 84 | 0.742261 | [
"MIT"
] | GuitarRich/sitecore-live-blog | src/Sc.Giphy/Properties/AssemblyInfo.cs | 1,392 | C# |
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace H.ReactiveUI.Apps.Views;
public partial class MainView : Window
{
public MainView()
{
InitializeComponent();
#if DEBUG
this.AttachDevTools();
#endif
}
private void InitializeComponent()
{
Avalon... | 16.045455 | 38 | 0.671388 | [
"MIT"
] | HavenDV/H.ReactiveUI.CommonInteractions | src/apps/H.ReactiveUI.Apps.Avalonia/Views/MainView.axaml.cs | 353 | C# |
using System;
using System.Data;
using System.Data.SqlClient;
using lmDatasets;
namespace atriumDAL
{
/// <summary>
/// Class generated by sgen
/// based on ADMSPAppeal table
/// in atrium database
/// on 11/26/2012
/// </summary>
public partial class ADMSPAppealDAL:atDAL.ObjectDAL
{
internal ADMSPApp... | 60.217822 | 267 | 0.754522 | [
"MIT"
] | chris-weekes/atrium | atriumDAL/ADMSPAppeal_DAL.cs | 12,164 | C# |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.IO;
namespace Xenko.Graphics
{
public static class TextureExtensions... | 38.927835 | 125 | 0.6009 | [
"MIT"
] | Aminator/xenko | sources/engine/Xenko.Graphics/Texture.Extensions.cs | 3,776 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.