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 |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Orang.FileSystem
{
internal enum PathOrigin
{
Argument = 0,
File = 1,
RedirectedInput = 2,
CurrentDirectory ... | 25.615385 | 160 | 0.654655 | [
"Apache-2.0"
] | Rynaret/Orang | src/CommandLine/FileSystem/PathOrigin.cs | 335 | 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 Xunit;
namespace System.Numerics.Tests
{
public class powTest
{
private static int s_samples ... | 35.40873 | 129 | 0.530315 | [
"MIT"
] | BrzVlad/corefx | src/System.Runtime.Numerics/tests/BigInteger/pow.cs | 8,923 | 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... | 57.534884 | 184 | 0.67502 | [
"Apache-2.0"
] | ermshiperete/aws-sdk-net | AWSSDK_DotNet35/Amazon.CloudFront/Model/Internal/MarshallTransformations/CreateDistributionResponseUnmarshaller.cs | 12,370 | C# |
// This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.Direct3D12
{
[NativeName("Name", "D3D12_LIFETIME_STATE")]
pub... | 24.26087 | 63 | 0.695341 | [
"MIT"
] | ThomasMiz/Silk.NET | src/Microsoft/Silk.NET.Direct3D12/Enums/LifetimeState.gen.cs | 558 | C# |
using System;
/*
* $Id: ColorDetails.cs,v 1.3 2008/05/13 11:25:17 psoares33 Exp $
*
*
* Copyright 2001, 2002 by Paulo Soares.
*
* The contents of this file are subject to the Mozilla Public License Version 1.1
* (the "License"); you may not use this file except in compliance with the License.
* You may obtain... | 40 | 111 | 0.681542 | [
"Apache-2.0"
] | DesignLiquido/RazorPDF2 | RazorPDF.Legacy/Text/Pdf/ColorDetails.cs | 4,280 | C# |
using System;
namespace SmartStore.Web.Framework.UI
{
public enum BadgeStyle
{
Default,
Primary,
Success,
Info,
Warning,
Danger
}
public enum BootstrapVersion
{
V2 = 2,
V4 = 4
}
}
| 10.761905 | 38 | 0.59292 | [
"MIT"
] | jenmcquade/csharp-snippets | SmartStoreNET-3.x/src/Presentation/SmartStore.Web.Framework/UI/Components/Enums.cs | 228 | C# |
namespace ReadInLargeCollection
{
using System;
public class Product : IComparable<Product>
{
public Product(string name, decimal price)
{
this.Name = name;
this.Price = price;
}
public string Name { get; set; }
public decimal Price { get; ... | 20.321429 | 53 | 0.525483 | [
"MIT"
] | GeorgiPetrovGH/TelerikAcademy | 12.Data-Structures-and-Algorithms/05. Advanced-Data-Structures/Advanced-Data-Structures/ReadInLargeCollection/Product.cs | 571 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Linq;
using Analyzer.Utilities;
using Analyzer.Utilities.Extensions;
using Microsoft.CodeAnalysis;
using Micr... | 52.796875 | 302 | 0.605949 | [
"Apache-2.0"
] | AndrewZu1337/roslyn-analyzers | src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/UriParametersShouldNotBeStrings.cs | 6,758 | 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.
////////////////////////////////////////////////////////////////////////////
//
//
// Purpose: This Class defines ... | 38.5 | 163 | 0.411379 | [
"MIT"
] | AaronRobinsonMSFT/coreclr | src/System.Private.CoreLib/shared/System/Globalization/TextInfo.cs | 35,189 | C# |
namespace CommandsService.Models
{
using System.ComponentModel.DataAnnotations;
public class Command
{
[Key]
[Required]
public int Id { get; set; }
[Required]
public string HowTo { get; set; }
[Required]
public string CommandLine { get; set; }
... | 19.727273 | 48 | 0.564516 | [
"Unlicense"
] | dmishne/.NET-Microservices-Course | CommandsService/Models/Command.cs | 434 | C# |
using System;
using System.Text;
namespace Abstraction
{
public abstract class Figure : IFigure
{
public Figure()
{
}
public abstract double CalcSurface();
public abstract double CalcPerimeter();
public override string ToString()
{
StringB... | 22.740741 | 119 | 0.587948 | [
"MIT"
] | aleksandra992/CSharp | High Quality Code/High-quality Classes Homework/Abstraction/Figure.cs | 616 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using Elasticsearch.Net;
namespace Nest
{
public partial interface IElasticClient
{
/// <summary>
/// The update API allows to update a document based on a script provided.
/// <para>
/// The operation gets the document (collocated with the... | 41.184397 | 130 | 0.762528 | [
"Apache-2.0"
] | 591094733/elasticsearch-net | src/Nest/Document/Single/Update/ElasticClient-Update.cs | 5,811 | C# |
#pragma checksum "..\..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "1AA506F0524D97AD99CB1EA5F5EA6592"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.18408
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
/... | 30.732394 | 113 | 0.608616 | [
"MIT"
] | soyleon/RayTracingInWirelessSignal | I-RayTracer/I-RayTracer/obj/x64/Debug/App.g.cs | 2,290 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Dfm
{
using System;
using System.Text.RegularExpressions;
using Microsoft.DocAsCode.MarkdownLite;
using Microsoft.DocAsC... | 40.382353 | 242 | 0.619082 | [
"MIT"
] | brianlehr/docs-test-temp | src/Microsoft.DocAsCode.Dfm/Rules/DfmNoteBlockRule.cs | 2,748 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shouldly;
using Spect.Net.SpectrumEmu.Test.Helpers;
// ReSharper disable ArgumentsStyleStringLiteral
namespace Spect.Net.SpectrumEmu.Test.Cpu.BitOps
{
[TestClass]
public class BitOpTests0X00
{
/// <summary>
/// RLC B: 0xCB 0x00
... | 26.877863 | 63 | 0.458961 | [
"MIT"
] | Dotneteer/spectnetide | Tests/Spect.Net.SpectrumEmu.Test/Cpu/BitOps/BitOpTests0X00.cs | 21,128 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using TNBase.Objects;
using TNBase.DataStorage;
using Microsoft.Extensions.DependencyInjection;
namespace TNBase
{
public partial class FormPrintDormantListeners
{
private readonly IServiceLayer serviceLayer = Program.ServiceProvider.GetRequi... | 35.442029 | 185 | 0.688612 | [
"MIT"
] | achrisdale/TNBase | TNBase/Forms/Printing/FormPrintDormantListeners.cs | 4,891 | C# |
using AutoMapper;
using EPlast.BLL.DTO.EducatorsStaff;
using EPlast.BLL.Interfaces.EducatorsStaff;
using EPlast.DataAccess.Entities.EducatorsStaff;
using EPlast.DataAccess.Repositories;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace EPlast.BLL.Services.EducatorsStaff
{
public class Kadr... | 40.142857 | 188 | 0.704181 | [
"MIT"
] | gatalyak/EPlast | EPlast/EPlast.BLL/Services/EducatorsStaff/KadrasTypesService.cs | 2,250 | 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 System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.ContractsLight;
using ... | 35.442029 | 195 | 0.559804 | [
"MIT"
] | buildxl-team-collab/BuildXL | Public/Src/Tools/VerifyFileContentTable/Program.cs | 4,891 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TreeGrower : MonoBehaviour {
private List<GameObject> tips;
//What happens when you make these member variables public?
private float growChance = 0.94f;
private float splitChance = 0.99f;
pr... | 33.703125 | 115 | 0.583681 | [
"MIT"
] | pviktor9/AngryBirdsStyleGame | Projects/PCGTree/Assets/scripts/TreeGrower.cs | 2,159 | C# |
using DirSync.Service;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace DirSync.Test
{
public class MainServiceTest : IDisposable
{
private readonly MainService _mainService;
private readonly Options _optio... | 47.213043 | 104 | 0.640943 | [
"MIT"
] | JerryBian/dirsync | test/DirSync.Test/MainServiceTest.cs | 10,861 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Web;
namespace me.cqp.luohuaming.Calculator.Tool.Http
{
/// <summary>
/// 提供用于将数据发送到和接收来自通过 URI 确认的资源数据丰富的常用方法。
... | 45.922652 | 299 | 0.56647 | [
"Apache-2.0"
] | Hellobaka/Calc-Rate | me.cqp.luohuaming.Calculator.Tool/Http/HttpWebClient.cs | 37,498 | C# |
using System;
using System.Net;
using System.Threading.Tasks;
using EPiServer.Commerce.Order;
using EPiServer.Logging;
using Klarna.Common.Models;
using Klarna.OrderManagement;
using Klarna.OrderManagement.Steps;
using Mediachase.Commerce;
using Mediachase.Commerce.Orders;
namespace Klarna.Checkout.Steps
{
public... | 38.261538 | 125 | 0.628066 | [
"Apache-2.0"
] | Geta/Klarna | src/Klarna.Checkout/Steps/AuthorizePaymentStep.cs | 2,489 | C# |
namespace CoreCourse.DIBasics.Domain.CoffeeSystem
{
public interface ICoffeeCup
{
ICreamer Creamer { get; }
ISweetener Sweetener { get; }
}
}
| 19 | 50 | 0.643275 | [
"MIT"
] | sigged/aspnetcore-dibasics | src/CoreCourse.DIBasics.Domain/CoffeeSystem/ICoffeeCup.cs | 173 | C# |
using System;
using System.Threading.Tasks;
using Autofac;
using Autofac.Extras.Moq;
using Ketchup.Caching.Configurations;
using Ketchup.Caching.Internal;
using Ketchup.Caching.Internal.Redis;
using Xunit;
namespace Ketchup.Redis.Test
{
public class RedisProviderTest
{
private readonly AutoMock _autoMo... | 24.567568 | 119 | 0.573707 | [
"MIT"
] | ZParas/ketchup | test/Ketchup.Redis.Test/RedisProviderTest.cs | 1,818 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... | 21.642857 | 46 | 0.706271 | [
"MIT"
] | awooo-ph/biopay | NORSU.BioPay/Views/DevTeam.xaml.cs | 608 | 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... | 43.513514 | 179 | 0.631677 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/EKS/Generated/Model/InvalidRequestException.cs | 8,050 | C# |
using System.Security.Authentication;
using Microsoft.Extensions.DependencyInjection;
using MongoDB.Driver;
namespace question_metrics_api
{
public static class MongoSupportUtils
{
public static void AddMongo(this IServiceCollection services, string connectionString)
{
MongoClientSe... | 29.954545 | 102 | 0.666161 | [
"Apache-2.0"
] | Rafael-Miceli/questions-metric-back | question-metrics-api/MongoSupportUtils.cs | 659 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Evolve.MSBuild;
using Xunit;
namespace Evolve.Tests.Configuration
{
public class JsonCliArgsBuilderTest
{
[Fact]
[Category(Test.Configuration)]
public void Load_json_configuration_file_works()
{
... | 57.271186 | 705 | 0.661142 | [
"MIT"
] | Zarun1/Evolve | test/Evolve.Tests/Configuration/JsonCliArgsBuilderTest.cs | 6,760 | C# |
using System;
using System.Xml.Linq;
namespace Java.Interop.Tools.JavaSource
{
public class XmldocSettings
{
public string DocRootValue { get; set; } = string.Empty;
public XElement []? ExtraRemarks { get; set; }
public XmldocStyle Style { get; set; } = XmldocStyle.Full;
}
}
| 22 | 60 | 0.716783 | [
"MIT"
] | Wivra/java.interop | src/Java.Interop.Tools.JavaSource/Java.Interop.Tools.JavaSource/XmldocSettings.cs | 286 | 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... | 34.20362 | 141 | 0.575605 | [
"Apache-2.0"
] | zengdl/MassTransit | src/MassTransit.RabbitMqTransport.Tests/Turnout_Specs.cs | 7,561 | C# |
using System;
using NUnit.Framework;
using Org.BouncyCastle.Asn1.Esf;
using Org.BouncyCastle.Asn1.X509;
namespace Org.BouncyCastle.Asn1.Tests
{
[TestFixture]
public class OtherSigningCertificateUnitTest
: Asn1UnitTest
{
public override string Name
{
get { return "OtherSigningCertificate"; }
}
public... | 21.989474 | 91 | 0.712303 | [
"MIT"
] | TangoCS/BouncyCastle | crypto/test/src/asn1/test/OtherSigningCertificateUnitTest.cs | 2,089 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 35.75 | 153 | 0.557576 | [
"MIT"
] | MIchaelMainer/GraphAPI | src/Microsoft.Graph/Models/Generated/WorkbookFunctionsMdurationRequestBody.cs | 2,145 | C# |
using CSharpAnalyze.Domain.Event;
using Microsoft.CodeAnalysis.Operations;
namespace CSharpAnalyze.Domain.Model.Analyze.Operations
{
/// <summary>
/// Operation:ArrayElementReference
/// </summary>
internal class ArrayElementReference : AbstractOperation
{
/// <summary>
/// コンストラクタ
/// </summar... | 32.028571 | 119 | 0.665477 | [
"MIT"
] | kazenetu/CSharpAnalyze | CSharpAnalyze/Domain/Model/Analyze/Operations/ArrayElementReference.cs | 1,177 | C# |
using BotSharp.Algorithm.HiddenMarkovModel.MathHelpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BotSharp.Algorithm.HiddenMarkovModel
{
public partial class HiddenMarkovModel
{
/// <summary>
/// Predicts next observations occurring after... | 36.864 | 118 | 0.530599 | [
"Apache-2.0"
] | david0718/BotSharp | BotSharp.Algorithm/HiddenMarkovModel/HiddenMarkovModel.Predict.cs | 4,610 | C# |
namespace CadastroProduto.View
{
partial class PesquisarProduto
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | 42.325843 | 165 | 0.594903 | [
"MIT"
] | gusgustavoalves/CadastroProduto | View/PesquisarProduto.Designer.cs | 3,770 | C# |
#region License
// Copyright (c) 2010-2019, Mark Final
// 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
// ... | 42.372881 | 81 | 0.6988 | [
"BSD-3-Clause"
] | markfinal/BuildAMation | Bam.Core/Package/DotNetAssemblyDescription.cs | 2,500 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 40.242424 | 128 | 0.603916 | [
"MIT"
] | ls612/CFCGen | CivGen/BoostName.cs | 1,328 | C# |
using System.Web.Mvc;
using Ext.Net.MVC.Examples.Areas.DragDrop_Grid.Models;
namespace Ext.Net.MVC.Examples.Areas.DragDrop_Grid.Controllers
{
public class Cell_to_CellController : Controller
{
public ActionResult Index()
{
return View(new Cell_to_CellModel());
}
}
}
| 22.642857 | 62 | 0.675079 | [
"Apache-2.0"
] | yataya1987/EXT.Net-Theme-Hard-Coded | src/Areas/DragDrop_Grid/Controllers/Cell_to_CellController.cs | 319 | C# |
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x5CE04BB1)]
public class STU_5CE04BB1 : STUGenericSettings_Base {
[STUFieldAttribute(0x45A7A69C, "m_default", ReaderType = typeof(InlineInstanceFieldReader))]
public STU_... | 34.731707 | 100 | 0.724719 | [
"MIT"
] | Mike111177/OWLib | TankLib/STU/Types/STU_5CE04BB1.cs | 1,424 | C# |
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
using System;
using System.Web.Mvc;
using ServiceStack.Redis;
namespace BasicMvcApplication.Controllers
{
public class RedisController : Controller
{
public string Get()
{
using... | 29.088889 | 126 | 0.572956 | [
"Apache-2.0"
] | Faithlife/newrelic-dotnet-agent | tests/Agent/IntegrationTests/Applications/BasicMvcApplication/Controllers/RedisController.cs | 1,309 | C# |
using System;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
namespace VoxelImporter.grendgine_collada
{
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(ElementName="shader", Namespace="http://www.collada.... | 28.458333 | 141 | 0.805271 | [
"MIT"
] | Syrapt0r/Protocol-18 | Assets/VoxelImporter/Scripts/Editor/Library/Collada_Main/Collada_FX/Shaders/Grendgine_Collada_Shader.cs | 683 | C# |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using Minsk.CodeAnalysis.Text;
namespace Minsk.CodeAnalysis.Syntax
{
public sealed class SyntaxTree
{
private delegate void ParseHandler(SyntaxTree syntaxTree,
out Compilati... | 33.131313 | 132 | 0.57622 | [
"MIT"
] | CBenghi/minsk | src/Minsk/CodeAnalysis/Syntax/SyntaxTree.cs | 3,280 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using UndefinableOfT;
// ReSharper disable PossibleInvalidOperationException
// ReSharper disable NonReadonlyMemberInGetHashCode
// ReSharper disable once CheckNamespace
namespace System
{
... | 32.238532 | 129 | 0.482499 | [
"MIT"
] | schneidenbach/UndefinableOfT | src/UndefinableOfT/Undefinable`1.cs | 7,030 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace hard
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(ThueMorseGame.get(30, 3));
Console.WriteLine(ThueMorseGame.get(499999975, 49));
}
}
}
... | 19.314286 | 64 | 0.477811 | [
"MIT"
] | yu3mars/procon | topcoder/srm701/hard/Program.cs | 678 | C# |
namespace Difi.SikkerDigitalPost.Klient.Domene.Entiteter.Interface
{
public interface IAsiceAttachable
{
string Filnavn { get; }
byte[] Bytes { get; }
string MimeType { get; }
string Id { get; }
}
} | 18.923077 | 67 | 0.597561 | [
"Apache-2.0"
] | difi/difi-sikker-digital-post-klient-dotnet | Difi.SikkerDigitalPost.Klient.Domene/Entiteter/Interface/IAsiceAttachable.cs | 248 | C# |
using SpreadCommander.Common.SqlScript;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading;
using System.... | 34.635417 | 148 | 0.542256 | [
"Apache-2.0"
] | VassilievVV/SpreadCommander | SpreadCommander.Common/Code/UntypedObjectDataReader.cs | 13,302 | C# |
using System;
namespace LibMMD.Unity3D
{
public class ByteArrayReader
{
public static int ReadInt(byte[] data, ref int offset) {
var ret = BitConverter.ToInt32(data, offset);
offset += 4;
return ret;
}
public static uint ReadUInt(byte[] data, ref int offset) {
var ret = BitConverter.ToUInt32(data... | 20.333333 | 64 | 0.663189 | [
"BSD-3-Clause"
] | OneYoungMean/libmmd-for-unity | Assets/LibMmd/Unity3D/ByteArrayReader.cs | 673 | C# |
#region copyright
/* MIT License
Copyright (c) 2019 Martin Lange (martin_lange@web.de)
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... | 31.978182 | 121 | 0.504094 | [
"MIT"
] | martinlangee/DataTree | DataTreeBase/UndoRedo/UndoRedoStack.cs | 8,794 | C# |
using System;
using NHapi.Base;
using NHapi.Base.Parser;
using NHapi.Base.Model;
using NHapi.Model.V24.Datatype;
using NHapi.Base.Log;
namespace NHapi.Model.V24.Segment{
///<summary>
/// Represents an HL7 OM2 message segment.
/// This segment has the following fields:<ol>
///<li>OM2-1: Sequence Number - ... | 36.075843 | 141 | 0.654442 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | afaonline/nHapi | src/NHapi.Model.V24/Segment/OM2.cs | 12,843 | C# |
namespace tomenglertde.ResXManager.View.Behaviors
{
using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using DataGridExtensions;
using JetBrains.Annotations;
using Microsoft.Xaml.Behaviors;
... | 33.947712 | 270 | 0.555834 | [
"MIT"
] | JeroenOortwijn/ResXResourceManager | ResXManager.View/Behaviors/ShowErrorsOnlyBehavior.cs | 5,196 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winnt.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System.... | 37.142857 | 145 | 0.716154 | [
"MIT"
] | reflectronic/terrafx.interop.windows | tests/Interop/Windows/Windows/um/winnt/SLIST_HEADER_X86Tests.Manual.cs | 1,302 | C# |
using UnityEngine;
public enum KinematicState { Seek, Flee, Wandering}
public class Movement : MonoBehaviour
{
public Transform target;
public float maxTimeToRotate = 5f;
private float currentTimeToROtate = 0f;
public float maxRotation = 50f;
public float maxSpeed = 2f;
public float radiu... | 26.122642 | 174 | 0.632719 | [
"MIT"
] | andro98/KinematicMovement | Assets/Scripts/Movement.cs | 2,769 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR;
public class GripController : MonoBehaviour
{
public SteamVR_Input_Sources Hand;
public SteamVR_Action_Boolean ToggleGripButton;
public SteamVR_Action_Pose position;
public SteamVR_Behaviour_Skeleton HandSke... | 42.85625 | 224 | 0.613096 | [
"MIT"
] | TusiimeAllan/VR_Vaccination_Sensitization | Assets/Modules/VR Instincts/Scripts/Interaction/GripController.cs | 6,859 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
#region Usings
using System.Linq;
using Dnn.PersonaBar.Vocabularies.Components;
using DotNetNuke.Common.Utiliti... | 44.477273 | 207 | 0.52606 | [
"MIT"
] | MaiklT/Dnn.Platform | Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Components/Vocabularies/Validators/VocabularyNameValidator.cs | 3,916 | C# |
namespace FoundationDbNet
{
using System;
using System.Collections.Concurrent;
using System.Runtime.InteropServices;
/// <summary>
/// Provides a set of methods to help with <see cref="FdbError"/> values.
/// </summary>
internal static class FdbErrorExtensions
{
private static ... | 34.830986 | 132 | 0.601294 | [
"Apache-2.0"
] | jvandertil/FoundationDbNet | src/FoundationDbNet/FdbErrorExtensions.cs | 2,475 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:1.9.0.77
// SpecFlow Generator Version:1.9.0.0
// Runtime Version:4.0.30319.42000
//
// Changes to this... | 47.339623 | 240 | 0.561897 | [
"BSD-3-Clause"
] | mannyqiao/enjoy | src/Orchard.Specs/Link.feature.cs | 12,547 | C# |
// Copyright © 2010-2017 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
/// <summary>
/// Callback interface used for asynchronous continuation of authentication requests.
... | 29.65625 | 100 | 0.617492 | [
"BSD-3-Clause"
] | GenesysPureConnect/CefSharp | CefSharp/Callback/IAuthCallback.cs | 952 | 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("06... | 38.837838 | 84 | 0.743911 | [
"MIT"
] | PavelIvanov96/Programming-Fundamentals-Extended-CSharp | 05.Arrays - Lab/06. Odd Numbers at Odd Positions/Properties/AssemblyInfo.cs | 1,440 | C# |
using System.Runtime.CompilerServices;
using ThemesOfDotNet.Indexing.AzureDevOps;
using ThemesOfDotNet.Indexing.GitHub;
namespace ThemesOfDotNet.Indexing.WorkItems;
public sealed class WorkItemRoadmap
{
public static WorkItemRoadmap Empty { get; } = new();
private readonly IReadOnlyDictionary<WorkItem, Wor... | 34.832536 | 136 | 0.565659 | [
"MIT"
] | terrajobst/themesof.net | src/ThemesOfDotNet.Indexing/WorkItems/WorkItemRoadmap.cs | 7,282 | C# |
using System;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// Autogenerated TDLib APIs
/// </summary>
public static partial class TdApi
{
public partial class InputPassportElementErrorSource : Object
{
/// <summary>
/// The front side of the docume... | 34.871795 | 156 | 0.531618 | [
"MIT"
] | 0x25CBFC4F/tdsharp | TDLib.Api/Objects/InputPassportElementErrorSourceFrontSide.cs | 1,360 | C# |
using GitVersion.Extensions;
using GitVersion.Logging;
using LibGit2Sharp;
using Microsoft.Extensions.Options;
using System;
using System.IO;
using System.Linq;
namespace GitVersion
{
public class GitPreparer : IGitPreparer
{
private readonly ILog log;
private readonly IEnvironment environment;... | 47.395062 | 261 | 0.577624 | [
"MIT"
] | AndreasAlexHyp/GitVersion | src/GitVersionCore/Core/GitPreparer.cs | 15,356 | C# |
//#define REFRESH_TOKENS
using Microsoft.IdentityModel.Tokens;
using Newtonsoft.Json;
using System;
using System.ComponentModel;
using System.IO;
using System.Net;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Web;
using System.Xml.Serialization;
using ISBoxerEVELauncher.Securi... | 38.917945 | 303 | 0.529922 | [
"MIT"
] | Dusty-Meg/ISBoxerEVELauncher | Games/EVE/EVEAccount.cs | 50,751 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión de runtime: 4.0.30319.42000
//
// Los cambios de este archivo pueden provocar un comportamiento inesperado y se perderán si
// el código se vu... | 45.84127 | 183 | 0.624307 | [
"MIT"
] | jcvegan/wpf-pdf-viewer | src/Jcvegan.PdfViewer/Properties/Resources.Designer.cs | 2,901 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace PWD.Schedule.Migrations
{
public partial class Upgraded_To_Abp_5_1_0 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "UserNameOrEmailA... | 31.729167 | 71 | 0.522653 | [
"MIT"
] | Faridium/pwd.schedule | src/PWD.Schedule.EntityFrameworkCore/Migrations/20191216011543_Upgraded_To_Abp_5_1_0.cs | 1,525 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Baseline;
using Marten.Services;
using Marten.Testing.Documents;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
namespace Marten.Testing.Services
{
public static class StringToTextReaderExtensions
{
p... | 29.845188 | 118 | 0.57241 | [
"MIT"
] | acid12/marten | src/Marten.Testing/Services/DirtyTrackingIdentityMapTests.cs | 7,133 | C# |
/*
* Copyright (c) 2006-2016, openmetaverse.co
* 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
* lis... | 37.874079 | 151 | 0.537828 | [
"BSD-3-Clause"
] | VisionSim/Vision-LibOMV | OpenMetaverse/Simulator.cs | 56,546 | C# |
using CodeEditor.Features.NavigateTo.SourceSymbols.ServiceModel;
using CodeEditor.Reactive;
using CodeEditor.ReactiveServiceStack;
using ServiceStack.ServiceInterface;
namespace CodeEditor.Features.NavigateTo.SourceSymbols.Services
{
public class SourceSymbolSearchService : AsyncServiceBase<SourceSymbolSearchR... | 31.192308 | 136 | 0.758323 | [
"MIT"
] | LaudateCorpus1/CodeEditor | src/CodeEditor.Features.NavigateTo.SourceSymbols.Services/SourceSymbolSearchService.cs | 811 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using... | 40.702703 | 133 | 0.693559 | [
"MIT"
] | 333fred/roslyn | src/VisualStudio/Core/Impl/Options/Style/NamingPreferences/NamingStyles/ManageNamingStylesDialogViewModel.cs | 3,014 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Upgrade;
using Ship;
using Bombs;
namespace UpgradesList
{
public class ThermalDetonators : GenericTimedBomb
{
public ThermalDetonators() : base()
{
Types.Add(UpgradeType.Bomb);
... | 28.098039 | 139 | 0.633636 | [
"MIT"
] | MatthewBlanchard/FlyCasual | Assets/Scripts/Model/Upgrades/Bomb/ThermalDetonators.cs | 1,435 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Msr.Odr.Web
{
public class AppConfiguration
{
public AppConfiguration(IConfigu... | 27.410256 | 67 | 0.637979 | [
"MIT"
] | Sahaj26/opendatacloud | src/Msr.Odr.Web/AppConfiguration.cs | 1,069 | C# |
namespace Bot.Builder.Community.Helpers
{
using System;
using System.Collections.Generic;
using System.Linq;
internal static class RandomHelper
{
private static readonly Random _random = new Random((int)DateTime.UtcNow.Ticks);
public static int GetRandom(int left, int right)
... | 28.982456 | 95 | 0.476998 | [
"MIT"
] | weretygr/BotRelated | libraries/Bot.Builder.Community.WebChatStyling/Helpers/RandomHelper.cs | 1,654 | C# |
namespace StrongHeart.Features.Core
{
public interface IResponseDto
{
}
} | 14.333333 | 36 | 0.686047 | [
"MIT"
] | kasperbirkelund/StrongHeart | Src/StrongHeart.Features/Core/IResponseDto.cs | 88 | C# |
/*
This file is a part of JustLogic product which is distributed under
the BSD 3-clause "New" or "Revised" License
Copyright (c) 2015. All rights reserved.
Authors: Vladyslav Taranov.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following... | 40.185185 | 79 | 0.776959 | [
"BSD-3-Clause"
] | AqlaSolutions/JustLogic | Assets/JustLogicUnits/Generated/String/JLStringToLower.cs | 2,170 | 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... | 57.319672 | 151 | 0.644359 | [
"MIT"
] | Acidburn0zzz/azure-powershell | src/ResourceManager/MachineLearning/Commands.MachineLearningCompute/Cmdlets/MachineLearningComputeCmdletBase.cs | 6,874 | C# |
// Copyright 2008-2011. This work is licensed under the BSD license, available at
// http://www.movesinstitute.org/licenses
//
// Orignal authors: DMcG, Jason Nelson
// Modified for use with C#:
// - Peter Smith (Naval Air Warfare Center - Training Systems Division)
// - Zvonko Bostjancic (Blubit d.o.o. - zvonko.... | 62.45 | 147 | 0.717374 | [
"BSD-2-Clause"
] | cdettmering-unity/open-dis-csharp | CsharpDis6/OpenDis/Enumerations/Radio.Intercom/RecordType.cs | 3,747 | 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... | 38.329193 | 161 | 0.592773 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/src/Services/Comprehend/Generated/Model/Internal/MarshallTransformations/StartEventsDetectionJobRequestMarshaller.cs | 6,171 | C# |
using System;
using Ding.Caches;
namespace Ding.Locks.Default {
/// <summary>
/// 业务锁
/// </summary>
public class DefaultLock : ILock {
/// <summary>
/// 缓存
/// </summary>
private readonly ICache _cache;
/// <summary>
/// 锁定标识
/// </summary>
... | 24.927273 | 69 | 0.455142 | [
"MIT"
] | EnhWeb/DC.Framework | src/Ding/Locks/Default/DefaultLock.cs | 1,483 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using Sys... | 32.215517 | 137 | 0.623227 | [
"MIT"
] | AurimasNav/20483C | Allfiles/Mod03/Labfiles/Starter/Exercise 1/GradesPrototype/MainWindow.xaml.cs | 3,739 | 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("Djv... | 37.513514 | 84 | 0.747118 | [
"MIT"
] | fel88/CommonLibs | DjvuReader/Properties/AssemblyInfo.cs | 1,391 | C# |
using UnityEngine;
namespace game
{
public class AdvertManager : MonoBehaviour
{
public bool tagForChildDirectedTreatment = false;
private IAdvertService m_service = null;
void Start()
{
#if UNITY_EDITOR
DummyAdvertService service = new DummyAdvertService();
service.SetTagForChildDirectedTreatment(... | 17.075758 | 78 | 0.711624 | [
"BSD-3-Clause"
] | IRONKAGE/ShutemUpValhallaHackGames | Assets/Scripts/AdvertService/AdvertManager.cs | 1,127 | C# |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Efs
{
[Serializable]
[EfsFile("/nv/item_files/rfnv/00024640", true, 0xE1FF)]
[Attributes(9)]
public class LteB26TxLinVsTemp
{
[ElementsCou... | 21.47619 | 60 | 0.611973 | [
"MIT"
] | HomerSp/EfsTools | EfsTools/Items/Efs/LteB26TxLinVsTempI.cs | 451 | C# |
using System;
namespace Org.BouncyCastle.Security.Certificates
{
public class CertificateNotYetValidException : CertificateException
{
public CertificateNotYetValidException() : base() { }
public CertificateNotYetValidException(string message) : base(message) { }
public CertificateNotYetValidException(... | 33 | 109 | 0.775253 | [
"BSD-3-Clause"
] | GaloisInc/hacrypto | src/C#/BouncyCastle/BouncyCastle-1.7/crypto/src/security/cert/CertificateNotYetValidException.cs | 396 | C# |
namespace Witsml.Data
{
public interface IWitsmlQueryType
{
string TypeName { get; }
}
public interface IWitsmlGrowingDataQueryType : IWitsmlQueryType { }
}
| 18.2 | 71 | 0.686813 | [
"Apache-2.0"
] | AtleH/witsml-explorer | Src/Witsml/Data/IWitsmlQueryType.cs | 182 | C# |
using System;
namespace TDL.Client.Runner.Exceptions
{
public class RecordingSystemNotReachable : Exception
{
public RecordingSystemNotReachable(Exception innerException)
: base($"Could not reach recording system: {innerException.Message}", innerException)
{
}
}
}
| 24.230769 | 97 | 0.68254 | [
"Apache-2.0"
] | julianghionoiu/tdl-client-dotnet | src/Client/Runner/Exceptions/RecordingSystemNotReachable.cs | 317 | C# |
// Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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 req... | 27.371212 | 75 | 0.432328 | [
"Apache-2.0"
] | MatthewGerber/sensus | Sensus.iOS.Shared/Concurrent/MainConcurrent.cs | 3,613 | C# |
namespace Assimalign.Extensions.Validation;
/// <summary>
/// An abstraction of a validation error.
/// </summary>
public interface IValidationError
{
/// <summary>
/// A unique error code to use when the validation rule fails.
/// </summary>
string Code { get; set; }
/// <summary>
/// A uni... | 25.5 | 69 | 0.623886 | [
"MIT"
] | Assimalign-LLC/asal-dotnet-extensions | src/validation/src/Assimalign.Extensions.Validation/Abstractions/IValidationError.cs | 563 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 31.111111 | 158 | 0.683571 | [
"MIT"
] | alexyjian/Core3.0 | Wodsoft.ComBoost.Wpf/Editor/TimeEditor.cs | 1,402 | C# |
namespace IronFoundry.Bosh.Messages
{
using System;
using IronFoundry.Bosh.Properties;
using IronFoundry.Nats.Client;
using Newtonsoft.Json;
public class Heartbeat : NatsMessage
{
private readonly string publishSubject;
public Heartbeat(string agentID)
{
if... | 28.506849 | 100 | 0.529073 | [
"Apache-2.0"
] | ironfoundry-attic/ironfoundry | src/IronFoundry.Bosh/Messages/Heartbeat.cs | 4,164 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SFA.DAS.AssessorService.Api.Types.Models;
using SFA.DAS.AssessorService.Application.Api.Client.Clients;
using SFA.DAS.AssessorSe... | 39.059701 | 144 | 0.714177 | [
"MIT"
] | SkillsFundingAgency/das-assessor-service | src/SFA.DAS.AssessorService.Web/Controllers/ManageUsers/ManageUsersController.cs | 2,619 | C# |
using System.Data.Common;
namespace TransactionWeaver
{
public interface IDbConnectionProvider
{
DbConnection Current { get; set; }
DbConnection CreateConnection();
}
} | 18.090909 | 42 | 0.683417 | [
"MIT"
] | nuitsjp/TransactionWeaver | Source/TransactionWeaver/IDbConnectionProvider.cs | 201 | C# |
using System;
namespace Core.Framework
{
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class ModuleAttribute : Attribute
{
/// <summary>
/// Name of the module
/// </summary>
public string Name { get; set; }
}
}
| 20.133333 | 64 | 0.556291 | [
"MIT"
] | cdotyone/Core.Framework | Core.Framework/EntityInfo/ModuleAttribute.cs | 304 | C# |
using System;
using System.ServiceModel.Syndication;
using NetNewsTicker.Model;
namespace NetNewsTicker.Services.RSS
{
public class RSSItem : IContentItem
{
private protected string link, secondaryLink;
private protected bool hasLink;
private protected bool hasSummary;
private ... | 28.869565 | 98 | 0.559739 | [
"MIT"
] | CBGonzalez/NetNewsTicker | NetNewsTicker/Services/RSS/RSSItem.cs | 1,994 | C# |
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.ComponentModel;
namespace Efl {
/// <summary>Efl media playable interface</summary>
[Efl.IPlayableConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
p... | 39.794224 | 242 | 0.639027 | [
"Apache-2.0"
] | sparrow74/TizenFX | internals/src/EflSharp/EflSharp/efl/efl_playable.eo.cs | 11,023 | C# |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | 34.191257 | 463 | 0.689148 | [
"MIT"
] | Acidburn0zzz/CodeContracts | Foxtrot/Tests/Sources/TestHarness.cs | 12,514 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Northwind.Perf;
using ServiceStack.Logging;
using ServiceStack.OrmLite.TestsPerf.Scenarios.Northwind;
using ServiceStack.OrmLite.TestsPerf.Scenarios.OrmLite;
namespace ServiceStack.OrmLite.TestsPerf
{
class Program
{
private static re... | 24.633333 | 127 | 0.670162 | [
"BSD-3-Clause"
] | augustoproiete-forks/ServiceStack--ServiceStack.OrmLite | tests/ServiceStack.OrmLite.TestsPerf/Program.cs | 2,958 | C# |
using System.Collections.Generic;
using System.Text.Json;
using FluentAssertions;
using Xunit;
namespace Sandra.Templating.Tests.Templates
{
public class SystemTextJsonBugTests
{
[Fact]
public void Deserialized_Json_Should_Allow_Boolean_Checks_For_Iif()
{
var jsonDictionary ... | 28.041667 | 119 | 0.609212 | [
"MIT"
] | Sandra/Sandra.Templating | tests/Sandra.Templating.Tests/SystemTextJsonBooleanBugTests.cs | 1,346 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 35.606061 | 153 | 0.600851 | [
"MIT"
] | DamienTehDemon/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/model/WorkbookFunctionsTimevalueRequestBody.cs | 1,175 | C# |
using System;
using System.IO;
using System.Threading.Tasks;
using DataContract;
using Microsoft.Extensions.DependencyInjection;
using NetRpc;
using Helper = TestHelper.Helper;
namespace Client
{
internal class Program
{
private static IClientProxy<IServiceAsync> _c1;
private static IClientPro... | 36.825688 | 121 | 0.544594 | [
"MIT"
] | NameIsBad/NetRpc | samples/Gateway/Client/Program.cs | 4,016 | C# |
/*******************************************************************************
* Copyright 2008-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is... | 38.825503 | 177 | 0.576664 | [
"Apache-2.0"
] | jdluzen/aws-sdk-net-android | AWSSDK/Amazon.EC2/Model/DescribeVpnGatewaysRequest.cs | 5,785 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Rsk.Samples.IdentityServer4.SharePointIntegration
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
... | 31.088235 | 109 | 0.654683 | [
"MIT"
] | RockSolidKnowledge/Samples.IdentityServer4.SharePointIntegration | Rsk.Samples.IdentityServer4.SharePointIntegration/Startup.cs | 1,059 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.