content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Permissions;
using System.ComponentModel;
namespace System.ComponentModel
{
//[HostProtection(SecurityAction.LinkDemand,SharedState = true)]
public class DataTimeLimitLicenseProvider:LicenseProvider
{
public o... | 28.683333 | 135 | 0.525857 | [
"MIT"
] | obpt123/Core | YS.System.Base/ComponentModel/License/DataTimeLimitLicenseProvider.cs | 1,723 | C# |
using System.Web;
using System.Web.Mvc;
namespace Microsoft.Azure.AppConfiguration.WebDemo
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
| 20.928571 | 80 | 0.679181 | [
"MIT"
] | Anne56njeri/AppConfiguration | examples/DotNetFramework/WebDemo/Microsoft.Azure.AppConfiguration.WebDemo/App_Start/FilterConfig.cs | 295 | C# |
using System;
using System.Collections.Generic;
using Photon.Realtime;
using UniRx;
using UnityEngine;
namespace PUN2Rx
{
/// <summary>
/// <see cref="Photon.Realtime.ILobbyCallbacks"/>
/// </summary>
public static class LobbyCallbacksTriggersExtension
{
/// <summary>
... | 37.61194 | 121 | 0.596825 | [
"MIT"
] | nekomimi-daimao/PUN2Rx | Packages/PUN2Rx/Runtime/Triggers/LobbyCallbacksTriggersExtension.cs | 2,522 | C# |
using System;
using Avalonia.Threading;
using MangaReader.Avalonia.ViewModel;
using MangaReader.Core.Convertation;
using MangaReader.Core.Services.Config;
namespace MangaReader.Avalonia
{
public class ProcessModel : ViewModelBase, IProcess
{
private double percent;
private ConvertState state;
private ... | 21.11236 | 84 | 0.616285 | [
"MIT"
] | Kadantte/MangaReader | MangaReader.Avalonia/ProcessModel.cs | 1,881 | C# |
using System;
using System.Collections.Generic;
using System.IO;
namespace mapgenerator
{
class mapgenerator
{
static void WriteFieldMember(TextWriter writer, MapField field)
{
string type = String.Empty;
switch (field.Type)
{
case FieldType.... | 49.119258 | 170 | 0.418862 | [
"BSD-3-Clause"
] | StolenRuby/libopenmetaverse | Programs/mapgenerator/mapgenerator.cs | 55,603 | 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/SpatialAudioMetadata.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework... | 39.490566 | 145 | 0.725275 | [
"MIT"
] | IngmarBitter/terrafx.interop.windows | tests/Interop/Windows/Windows/um/SpatialAudioMetadata/ISpatialAudioMetadataItemsBufferTests.cs | 2,095 | C# |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Cell : MonoBehaviour {
//public string elementName; // Element Name
//public int elementCount = 1; // Element Count
//public Color elementColor; // Element Color
public Transform elementTransform; //Transform Element... | 31.283333 | 108 | 0.715503 | [
"MIT"
] | LunaPg/StarFinder | Assets/Sky Inventory/Scripts/Cell.cs | 1,879 | 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.Cloud9")]
[assembly: AssemblyDescri... | 48.5 | 280 | 0.751933 | [
"Apache-2.0"
] | costleya/aws-sdk-net | sdk/code-analysis/ServiceAnalysis/Cloud9/Properties/AssemblyInfo.cs | 1,552 | C# |
/*
* tilia Phoenix API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 7.0.6
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using Sy... | 33.655556 | 140 | 0.529713 | [
"Apache-2.0"
] | matthewkayy/tilia-phoenix-client-csharp | src/TiliaLabs.Phoenix/Model/ProcessStats.cs | 6,058 | C# |
using Serilog;
namespace Exercism.Representers.CSharp.Bulk
{
internal static class Logging
{
public static void Configure() =>
Log.Logger = new LoggerConfiguration()
.WriteTo.Console()
.CreateLogger();
}
} | 22.5 | 50 | 0.588889 | [
"MIT"
] | ErikSchierboom/csharp-representer | src/Exercism.Representers.CSharp.Bulk/Logging.cs | 270 | C# |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//... | 43.798387 | 133 | 0.660836 | [
"Apache-2.0"
] | 113771169/PTVS | Python/Product/Uwp/PythonUwpPackage.cs | 5,431 | C# |
using System.Xml.Serialization;
namespace Witsml.Data
{
public class WitsmlWellbore
{
[XmlAttribute("uid")] public string Uid { get; set; }
[XmlElement("nameWell")] public string NameWell { get; set; }
[XmlElement("name")] public string Name { get; set; }
[XmlAttribute("uidWell"... | 45.315789 | 95 | 0.660859 | [
"Apache-2.0"
] | HakarK/witsml-explorer | Src/Witsml/Data/WitsmlWellbore.cs | 861 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 24.122807 | 63 | 0.706909 | [
"Apache-2.0"
] | pengweiqhca/aliyun-openapi-net-sdk | aliyun-net-sdk-cbn/Cbn/Model/V20170912/CreateTrafficMarkingPolicyResponse.cs | 1,375 | 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>
// ---------------------------------------... | 28.745763 | 134 | 0.679245 | [
"Apache-2.0"
] | JetBrains/space-dotnet-sdk | src/JetBrains.Space.Client/Generated/Dtos/DocsDraftsForIdEditorsTeamsPostRequest.generated.cs | 1,696 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Orleans;
using Orleans.Runtime;
using Orleans.Streams;
using UnitTests.GrainInterfaces;
namespace UnitTests.Grains
{
public class MultipleSubscriptionConsumerGrain : Grain, IMu... | 35.109827 | 170 | 0.602239 | [
"MIT"
] | rossbuggins/orleans | test/Grains/TestGrains/MultipleSubscriptionConsumerGrain.cs | 6,074 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 35.83908 | 153 | 0.593329 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/WorkbookFilterApplyBottomPercentFilterRequest.cs | 3,118 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace nyom.infra.Migrations
{
public partial class workflow : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(Migrati... | 18.85 | 71 | 0.68435 | [
"MIT"
] | hdrezei/dotnetcore-rabbitmq | nyom/nyom.infra/Migrations/20170820143331_workflow.cs | 379 | C# |
namespace SemVersion
{
using System.Collections.Generic;
/// <summary>Compares two <see cref="SemanticVersion"/> ojects for equality.</summary>
public sealed class VersionComparer : IEqualityComparer<SemanticVersion>, IComparer<SemanticVersion>
{
/// <inheritdoc/>
public bool Equals(Se... | 27.181818 | 104 | 0.523077 | [
"MIT"
] | ilohmar/SemanticVersion | src/SemanticVersion/VersionComparer.cs | 1,497 | C# |
// Copyright (c) 2021 Yoakke.
// Licensed under the Apache License, Version 2.0.
// Source repository: https://github.com/LanguageDev/Yoakke
using System;
using System.Collections.Generic;
using System.Collections.Generic.Polyfill;
using System.IO;
using System.Linq;
using Yoakke.Text;
namespace Yoakke.Reporting.Pres... | 43.793893 | 150 | 0.535181 | [
"Apache-2.0"
] | kant2002/Yoakke | Sources/Core/Yoakke.Reporting/Present/TextDiagnosticsPresenter.cs | 17,233 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Net;
using System.Windows.Forms;
using Microsoft.Win32;
namespace WinDynamicDesktop
{
class FormWrapper : ApplicationContext
{
private Progres... | 32.743243 | 106 | 0.511762 | [
"MIT"
] | lookitsnicholas/WinDynamicDesktop | src/FormWrapper.cs | 7,271 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EmitMapper.Utils;
namespace EmitMapper.MappingConfiguration
{
class TypeDictionary<T> where T: class
{
class ListElement
{
public Type[] types;
public T value;
public... | 27.737288 | 159 | 0.439047 | [
"MIT"
] | PuGuihong/Dos.Common | EmitMapper/MappingConfiguration/TypeList.cs | 3,275 | C# |
/* Copyright 2018 Ellisnet - Jeremy Ellis (jeremy@ellisnet.com)
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 ap... | 32.708333 | 75 | 0.709554 | [
"Apache-2.0"
] | ellisnet/CodeBrix | Source/Core/CodeBrix.Core/Models/PhotoResolution.cs | 787 | C# |
// Enum generated by TankLibHelper.EnumBuilder
// ReSharper disable All
namespace TankLib.STU.Types.Enums {
[STUEnumAttribute(0xF8834A55)]
public enum Enum_F8834A55 : uint {
[STUFieldAttribute(0xDA4C7382)]
xDA4C7382 = 0x0,
[STUFieldAttribute(0x0D35BE26)]
x0D35BE26 = 0x1,
... | 29.6 | 46 | 0.624517 | [
"MIT"
] | Mike111177/OWLib | TankLib/STU/Types/Enums/Enum_F8834A55.cs | 1,036 | 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.Collections.Generic;
using System.Linq;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNet... | 39.093567 | 121 | 0.58003 | [
"Apache-2.0"
] | corefan/Mvc | src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRoute.cs | 13,370 | C# |
# CS_ARCH_MIPS, CS_MODE_MIPS32+CS_MODE_BIG_ENDIAN, None
0x78,0x1c,0x9f,0x1b = fadd.w $w28, $w19, $w28
0x78,0x3d,0x13,0x5b = fadd.d $w13, $w2, $w29
0x78,0x19,0x5b,0x9a = fcaf.w $w14, $w11, $w25
0x78,0x33,0x08,0x5a = fcaf.d $w1, $w1, $w19
0x78,0x90,0xb8,0x5a = fceq.w $w1, $w23, $w16
0x78,0xb0,0x40,0x1a = fceq.d $w0, $w8,... | 45.464286 | 55 | 0.65436 | [
"BSD-3-Clause"
] | 02107/Lilu | capstone/suite/MC/Mips/test_3rf.s.cs | 3,819 | C# |
using System;
using _Game.GameActions;
using _Game.ShopSystem;
using _Game.Towers;
using _Game.UI.Towers;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace _Game.UI.Builder
{
//TODO: Should inherit ActionButton
public class BuildTowerButton : MonoBeha... | 31.462963 | 93 | 0.636845 | [
"MIT"
] | MarcoElz/ggj22 | Assets/_Game/Scripts/UI/Builder/BuildTowerButton.cs | 1,701 | C# |
using System;
using System.Threading.Tasks;
using Confluent.Kafka;
using Kafker.Configurations;
using McMaster.Extensions.CommandLineUtils;
namespace Kafker.Kafka
{
public class RecordsProducer : IDisposable
{
private readonly IConsole _console;
private readonly KafkaTopicConfiguration _config... | 30.36 | 86 | 0.575758 | [
"MIT"
] | xtrmstep/Kafker | src/Kafker/Kafka/RecordsProducer.cs | 1,520 | C# |
using CaraDotNetCore5V2.Application.DTOs.Identity;
using CaraDotNetCore5V2.Application.DTOs.Mail;
using CaraDotNetCore5V2.Application.DTOs.Settings;
using CaraDotNetCore5V2.Application.Enums;
using CaraDotNetCore5V2.Application.Exceptions;
using CaraDotNetCore5V2.Application.Interfaces;
using CaraDotNetCore5V2.Applica... | 47.012987 | 245 | 0.630295 | [
"MIT"
] | rosdisulaiman/CaraDotNetCore5V2 | CaraDotNetCore5V2.Infrastructure/Identity/Services/IdentityService.cs | 10,862 | C# |
using System;
using NUnit.Framework;
// ReSharper disable InvokeAsExtensionMethod
namespace BitFn.Core.Tests.Extensions.ForString
{
[TestFixture]
public class RemoveDiacritics
{
[TestCase("à la mode", Result = "a la mode")]
[TestCase("cañón", Result = "canon")]
[TestCase("daïs", Result = "dais")]
[TestCas... | 25.488889 | 78 | 0.692241 | [
"MIT"
] | BitFn/Core | Tests/Extensions/ForString/RemoveDiacritics.cs | 1,161 | C# |
using RedditRemindCrypto.Business.Interpreters.AbstractSyntaxTree;
using RedditRemindCrypto.Business.Interpreters.Enums;
using RedditRemindCrypto.Business.Interpreters.Exceptions;
using RedditRemindCrypto.Business.Interpreters.Models;
using System.Linq;
namespace RedditRemindCrypto.Business.Interpreters
{
public ... | 44.833333 | 148 | 0.55586 | [
"MIT"
] | parijsy/RedditRemindCrypto | RedditRemindCrypto/RedditRemindCrypto.Business/Interpreters/Interpreter.cs | 5,113 | C# |
// Copyright (c) 2017 Leacme (http://leac.me). View LICENSE.md for more information.
using System;
using System.Collections.Generic;
using LiteDB;
namespace Leacme.Lib.Notables {
public class Library {
private LiteDatabase db = new LiteDatabase(typeof(Library).Namespace + ".Settings.db");
private LiteCollection... | 30.320755 | 105 | 0.687617 | [
"MIT"
] | dekterov/Leacme.Notables | Leacme.Lib.Notables/Library.cs | 1,607 | C# |
namespace KNXLib.Addressing
{
using Exceptions;
public class KnxIndividualAddress : KnxAddress
{
public int Area { get; set; }
public int Line { get; set; }
public int Participant { get; set; }
public KnxIndividualAddress(int area, int line, int participant)
... | 34.327273 | 107 | 0.454714 | [
"MIT"
] | CumpsD/knx.net | src/KNXLib/Addressing/KnxIndividualAddress.cs | 3,778 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace WebAPI
{
public class Program
{
public static ... | 25.481481 | 70 | 0.642442 | [
"MIT"
] | 03012021-dotnet-uta/MatthewGrimsley_p1 | WebAPI/Program.cs | 688 | C# |
/**
* Author
* Pierre Bouillon - https://github.com/pBouillon
*
* Repository
* UrlShortener - https://github.com/pBouillon/UrlShortener
*
* License
* MIT - https://github.com/pBouillon/UrlShortener/blob/master/LICENSE
*/
namespace UrlShortener.Common.Contracts.Configuration
{
... | 24.418182 | 76 | 0.504095 | [
"MIT"
] | pBouillon/UrlShortener | Core/UrlShortener.Common/Contracts/Configuration/ProjectDto.cs | 1,345 | C# |
using System;
using System.Collections.Generic;
using System.Net.Http.Headers;
using KeyPayV2.Au.Models.Common;
using KeyPayV2.Au.Enums;
namespace KeyPayV2.Au.Models.Reporting
{
public class AuRosterTimesheetComparisonReportExportModel
{
public string EmploymentType { get; set; }
pub... | 44.456522 | 62 | 0.636675 | [
"MIT"
] | KeyPay/keypay-dotnet-v2 | src/keypay-dotnet/Au/Models/Reporting/AuRosterTimesheetComparisonReportExportModel.cs | 2,045 | C# |
using System.Collections.Generic;
namespace SendMail.WebApi.Models.Validators
{
public interface IRemotePropertyValidator
{
string Url { get; }
string ErrorText { get; }
IEnumerable<string> AdditionalFields { get; }
}
} | 23.272727 | 53 | 0.675781 | [
"MIT"
] | AngeloDotNet/FacileBudget-2 | src/FacileBudget/Backend/SendMail.WebApi/Models/Validators/IRemotePropertyValidator.cs | 256 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace DataAccessLayer.Migrations
{
public partial class migration_writer_blog_relation : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "WriterId"... | 29.913043 | 71 | 0.53125 | [
"MIT"
] | murat1347/DotNet-Core-Blog | DataAccessLayer/Migrations/20220120192726_migration_writer_blog_relation.cs | 1,378 | C# |
using System.Runtime.CompilerServices;
[assembly:InternalsVisibleTo("GameEngine.Tests")] | 30 | 49 | 0.833333 | [
"MIT"
] | spinesheath/Spines.Mahjong | Ai/Game/Properties/AssemblyInfo.cs | 92 | C# |
namespace Observatory.Framework.Files.Journal
{
public class FSSSignalDiscovered : JournalBase
{
public string SignalName { get; init; }
public string SignalName_Localised { get; init; }
public string SpawningState { get; init; }
public string SpawningState_Localised { get; init... | 38.894737 | 62 | 0.648173 | [
"MIT"
] | Xjph/ObservatoryCore | ObservatoryFramework/Files/Journal/Exploration/FSSSignalDiscovered.cs | 741 | C# |
using Bongo.DataAccess.Repository.IRepository;
using Bongo.Models.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bongo.DataAccess.Repository
{
public class StudyRoomBookingRepository : IStudyRoomBookingRepository
{
p... | 27.324324 | 112 | 0.641939 | [
"MIT"
] | Redwoodcutter/FirstUnitTestC- | Bongo_InitialSetup (.NET 6)/Bongo.DataAccess/Repository/StudyRoomBookingRepository.cs | 1,013 | C# |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
namespace VoipProjectEntities.Identity.Models
{
public class Customer : IdentityUser
{
public string CustomerName { get; set; }
public bool ISMigrated { get; set; }
public int CustomerTypeID { get; set;... | 31.736842 | 61 | 0.666667 | [
"Apache-2.0"
] | Anagha1009/VoIPCustomerWebPortal-1 | src/Infrastructure/VoipProjectEntities.Identity/Models/Customer.cs | 603 | C# |
using System;
using System.IO;
using System.IO.Compression;
namespace _6.ZipAndExtract
{
class Program
{
static void Main(string[] args)
{
using ZipArchive zipFile = ZipFile.Open("../../../zipfile.zip", ZipArchiveMode.Create);
ZipArchiveEntry zipArchiveEntry = zipFile.C... | 24.6875 | 111 | 0.620253 | [
"MIT"
] | HNochev/SoftUni-CSharp-Software-Engineering | C# Advanced/C# ADVANCED/Exercise 4 - Streams, Files and Directories/6.ZipAndExtract/Program.cs | 397 | C# |
// Copyright by the contributors to the Dafny Project
// SPDX-License-Identifier: MIT
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using Bpl = Microsoft.Boogie;
using IToken = Microsoft.Boogie.IToken;
namespace Microsoft.Dafny
{
public abstract class IRewriter
{
protecte... | 44.737778 | 204 | 0.592236 | [
"MIT"
] | secure-foundations/dafny | Source/Dafny/Rewriter.cs | 90,594 | C# |
//
// Copyright (c) Microsoft and contributors. 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.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... | 32.418182 | 81 | 0.67751 | [
"Apache-2.0"
] | CerebralMischief/azure-sdk-for-net | src/ResourceManagement/Network/NetworkManagement/Generated/Models/ConnectionSharedKeyPutResponse.cs | 1,783 | C# |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ownership.
The ASF licenses this file to Y... | 38.636364 | 94 | 0.578118 | [
"Apache-2.0"
] | Arch/Npoi.Core | src/Npoi.Core.Ooxml/XWPF/Usermodel/BreakClear.cs | 4,250 | C# |
namespace MassageStudioLorem.Infrastructure
{
using System.Security.Claims;
using static Areas.Client.ClientConstants;
using static Areas.Masseur.MasseurConstants;
using static Areas.Admin.AdminConstants;
public static class ClaimsPrincipalExtensions
{
public static string GetId(this C... | 32.347826 | 64 | 0.706989 | [
"MIT"
] | lulzzz/MassageStudioLorem | MassageStudioLorem/Infrastructure/ClaimsPrincipalExtensions.cs | 746 | C# |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using RepositoryLayer;
namespace Repos... | 35.85 | 125 | 0.535216 | [
"MIT"
] | 06012021-dotnet-uta/EthanBakerP1 | Project1Folder/RepositoryLayer/Migrations/20210618150842_migration2.Designer.cs | 2,870 | C# |
using System;
namespace CableCloud.Ui.Parsers.Exceptions
{
public class ParserException : Exception
{
public string ExceptionMessage { get; }
public ParserException(string message) : base($"Parse exception: {message}")
{
ExceptionMessage = message;
}
}
}
| 20.933333 | 84 | 0.627389 | [
"MIT"
] | batmatt/tsst-network | eon/CableCloud/src/Ui/Parsers/Exceptions/ParserException.cs | 316 | C# |
//
// Serializer for byps.test.api.remote.BRequest_RemoteInlineInstance_getPoint2DListList
//
// THIS FILE HAS BEEN GENERATED. DO NOT MODIFY.
//
using System;
using System.Collections.Generic;
using byps;
namespace byps.test.api.remote
{
public class BSerializer_1650554387 : BSerializer {
public readonly st... | 24.648649 | 208 | 0.75 | [
"MIT"
] | markusessigde/byps | csharp/bypstest-ser/src-ser/byps/test/api/remote/BSerializer_1650554387.cs | 914 | 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 Microsoft.AspNetCore.Builder;
namespace Microsoft.AspNetCore.SpaServices
{
/// <summary>
/// Defines a class that provides mechanisms fo... | 33.076923 | 111 | 0.656977 | [
"Apache-2.0"
] | 06b/AspNetCore | src/Middleware/SpaServices.Extensions/src/ISpaBuilder.cs | 862 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EasyNetQ;
using SimpleWebShop.Messages;
namespace SimpleWebShop.Web.Controllers
{
public class TestController : BaseController
{
public ActionResult Index()
{
return thi... | 22.21875 | 63 | 0.562588 | [
"MIT"
] | svetlimladenov/SimpleWebShop | src/SimpleWebShop/Web/SimpleWebShop.Web/Controllers/TestController.cs | 713 | C# |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*------------------------------------------------------------... | 36.375 | 107 | 0.564948 | [
"MIT"
] | Agazoth/azure-powershell | src/DnsResolver/generated/runtime/Nodes/XBinary.cs | 1,418 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotVVM.Framework.ViewModel;
namespace DotVVM.Samples.ApplicationInsights.AspNetCore.ViewModels.Test
{
public class CommandExceptionViewModel : DotvvmViewModelBase
{
public void TestCommand()
{
thro... | 22.277778 | 80 | 0.740648 | [
"Apache-2.0"
] | AlexanderSemenyak/dotvvm | src/Samples/ApplicationInsights.AspNetCore/ViewModels/Test/CommandExceptionViewModel.cs | 401 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ForestPack
{
public class ChestDemo : MonoBehaviour
{
//This script goes on the ChestComplete prefab;
public Animator chestAnim; //Animator for the chest;
// Use this for initialization
... | 25.7 | 68 | 0.578794 | [
"MIT"
] | jschwarzwalder/OnlyOneCoin | Assets/AurynSky/Forest Pack/Scripts/ChestDemo.cs | 1,030 | C# |
namespace WalletWasabi.Fluent.ViewModels.Navigation
{
public interface INavigatable
{
void OnNavigatedTo(bool isInHistory);
void OnNavigatedFrom(bool isInHistory);
}
} | 19.444444 | 51 | 0.8 | [
"MIT"
] | 0racl3z/WalletWasabi | WalletWasabi.Fluent/ViewModels/Navigation/INavigatable.cs | 175 | C# |
using System.Collections.Generic;
namespace Lectern2.Interfaces
{
public interface IPluginManager
{
List<ILecternPlugin> LoadedPlugins { get; }
}
}
| 17 | 51 | 0.7 | [
"MIT"
] | jmazouri/lectern2 | Lectern2/Interfaces/IPluginManager.cs | 172 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Reflection;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.Extension... | 42.920635 | 127 | 0.623151 | [
"MIT"
] | CameronAavik/efcore | src/EFCore.Relational/Migrations/IMigrationsAssembly.cs | 2,704 | C# |
using System;
namespace Brickweave.Cqrs.Cli.Tests.Models
{
public class CreateFoo : ICommand<string>
{
public CreateFoo(int id, DateTime dateCreated, string bar = "bar")
{
Id = id;
Bar = bar;
DateCreated = dateCreated;
}
public int Id { get;... | 21.631579 | 74 | 0.547445 | [
"MIT"
] | agartee/Brickweave | tests/Brickweave.Cqrs.Cli.Tests/Models/CreateFoo.cs | 413 | C# |
using UnityEditor;
using UnityEngine;
namespace TSW
{
[CustomPropertyDrawer(typeof(BitMaskAttribute))]
public class EnumBitMaskPropertyDrawer : PropertyDrawer
{
public static int DrawBitMaskField(Rect aPosition, int aMask, System.Type aType, GUIContent aLabel)
{
string[] itemNames = System.Enum.GetNames(aTy... | 25.298507 | 101 | 0.571681 | [
"MIT"
] | vthem/PolyRace | Assets/Scripts/TSW.GameLib/Editor/EnumInspector/EnumBitMaskPropertyDrawer.cs | 1,695 | C# |
#if !NETSTANDARD13
/*
* 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 ... | 41.843318 | 160 | 0.671916 | [
"Apache-2.0"
] | PureKrome/aws-sdk-net | sdk/test/Services/MediaLive/UnitTests/Generated/_bcl45+netstandard/Paginators/MediaLivePaginatorTests.cs | 18,160 | C# |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Service.Web
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
... | 25.913043 | 70 | 0.614094 | [
"Unlicense"
] | VsevolodGus/ServiceWork | Web/Service.Web/Program.cs | 596 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class DeathHandler : MonoBehaviour
{
[SerializeField] BoolVariable isAlive;
[SerializeField] Canvas reticleCanvas;
[SerializeField] Canvas gameOverCanvas;
[SerializeField] private UnityEngine.InputSystem.... | 32.372881 | 108 | 0.64712 | [
"MIT"
] | TDM-GameDev/Zombie-Runner | Assets/Scripts/DeathHandler.cs | 1,910 | C# |
using Netduino.Foundation.Audio;
using System.Threading;
using N = SecretLabs.NETMF.Hardware.Netduino;
namespace PiezoSample
{
public class Program
{
public static void Main()
{
const int NUMBER_OF_NOTES = 16;
float[] melody = new float[NUMBER_OF_NOTES]
{
... | 30.894737 | 87 | 0.51448 | [
"Apache-2.0"
] | WildernessLabs/Netduino.Foundation | Source/Netduino.Foundation.Core.Samples/PiezoSample/Program.cs | 1,761 | C# |
using System;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using Acr.UserDialogs;
using Plugin.SpeechRecognition;
using Xamarin.Essentials;
namespace Plugin.SpeechDialogs
{
public class SpeechDialogs : ISpeechDialogs
{
readonly ISpeechRecognizer spe... | 31.744898 | 140 | 0.568949 | [
"MIT"
] | aritchie/speechrecognition | Plugin.SpeechDialogs/SpeechDialogs.cs | 3,113 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Security.Policy;
using UnityEngine;
[System.Serializable]
public class GenericObjectData
{
public List<Vector3Ser> transformData;
public float[] materialColor;
}
[System.Serializable]
public class SpiningCubeData : Generi... | 16.261905 | 49 | 0.635432 | [
"MIT"
] | Math-Man/ProvingGrounds | Assets/Prototypes/SaveLoadSystem/Scripts/GenericObjectData.cs | 685 | 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.Security.Cryptography.Xml;
using System.Security.Cryptography.X509Certificates;
using Xunit;
using Tes... | 61.989547 | 190 | 0.710565 | [
"MIT"
] | 06needhamt/runtime | src/libraries/System.Security.Cryptography.Pkcs/tests/EnvelopedCms/DecryptTests.cs | 53,373 | C# |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.LayoutRules
{
using System.Threading;
using System.Threading.Tasks;
using StyleCop.Analyzers.... | 24.065147 | 136 | 0.442339 | [
"Apache-2.0"
] | jnm2/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test/LayoutRules/SA1500/SA1500UnitTests.DoWhiles.cs | 7,390 | C# |
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace FlatBeats.ViewModels
{
us... | 22.101695 | 55 | 0.465491 | [
"MIT"
] | FlatlinerDOA/FlatBeats | FlatBeats.Framework/ListItemViewModel.cs | 1,306 | C# |
using System;
using System.Linq;
using Sally7.ValueConversion;
using Xunit;
namespace Sally7.Tests
{
public class ArrayConversionTests
{
[Theory]
[InlineData(new short[] { 1 })]
[InlineData(new short[] { 1, 1 << 8 })]
public void ConvertToShortArray(short[] value)
{
... | 32.122642 | 100 | 0.517768 | [
"MIT"
] | gfoidl/Sally7 | Sally7.Tests/ArrayConversionTests.cs | 3,407 | C# |
// ***********************************************************************
// Assembly : OpenAC.Net.Core
// Author : RFTD
// Created : 03-21-2014
//
// Last Modified By : RFTD
// Last Modified On : 01-30-2015
// ***********************************************************************
// <copyr... | 33.979899 | 104 | 0.562112 | [
"MIT"
] | adrbarros/OpenAC.Net.Core | src/OpenAC.Net.Core/Logging/NoLoggingLogger.cs | 6,762 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.ins.cooperation.product.query
/// </summary>
public class AlipayInsCooperationProductQueryRequest : IAlipayRequest<AlipayInsCooperation... | 22.846774 | 115 | 0.550653 | [
"MIT"
] | ekolios/payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayInsCooperationProductQueryRequest.cs | 2,843 | C# |
using System;
using System.Diagnostics;
namespace VSDom
{
/// <summary>Supplies input parameter guarding.</summary>
/// <remarks>
/// Supplying a Guard mechanism is not something that belongs in VSDOM. So,
/// although is a nice feature, we don't provide it anymore as we would have to
/// add met... | 37.560606 | 130 | 0.592981 | [
"MIT"
] | Corniel/VSDom | src/VSDom/Guard.cs | 2,481 | 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;... | 30.786638 | 125 | 0.534967 | [
"MIT"
] | pimier15/PLInspector | PLImg_V5/PL_Inspect_v5/MainWindow.xaml.cs | 14,287 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V4200</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... | 41.417293 | 1,358 | 0.574567 | [
"MIT"
] | Kusnaditjung/MimDms | src/Mim.V4200/Generated/PRPA_MT010101UK06Component2.cs | 11,017 | 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,... | 33.770833 | 124 | 0.637878 | [
"BSD-2-Clause"
] | cheng-z/xenadmin | XenAdmin/Commands/InstallNewUpdateCommand.cs | 3,244 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Vidas : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
gameObject.GetComponent<T... | 19.3 | 90 | 0.660622 | [
"MIT"
] | decoejz/asteroides3d | Assets/Scripts/Vidas.cs | 388 | 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... | 41.956522 | 187 | 0.636269 | [
"Apache-2.0"
] | Hazy87/aws-sdk-net | sdk/src/Services/Glue/Generated/Model/Internal/MarshallTransformations/CreateSessionResponseUnmarshaller.cs | 5,790 | C# |
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace FollowAlongLearnAPI
{
public class Program
{
public static void Main(string[] args)
{
CreateWebHostBuilder(args).Build().Run();
}
//TODO 1.0.0.a This is where the startup will be called from. ... | 33.210526 | 136 | 0.649762 | [
"MIT"
] | rmarks6767/FollowAlongAPI | Program.cs | 633 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Algorithm
{
public static class Mathematics
{
public static (long rem, long mod) ChineseRemainderTheorem(IEnumerable<long> r, IEnumerable<long> m)
{
var ra = r.ToArray();
var ma = m.ToArray();
... | 29.758621 | 108 | 0.353418 | [
"CC0-1.0"
] | AconCavy/AlgorithmSharp | src/Algorithm/Mathematics.cs | 5,178 | C# |
using System.IO;
using ELFinder.Connector.Drivers.FileSystem.Models.Files.Common;
using ELFinder.Connector.Drivers.FileSystem.Volumes;
using ELFinder.Connector.Utils;
namespace ELFinder.Connector.Drivers.FileSystem.Models.Files
{
/// <summary>
/// File entry object model
/// </summary>
public class Fi... | 34.509434 | 118 | 0.610169 | [
"BSD-3-Clause"
] | mppa-git/ELFinder.Connector.NET | Core/ELFinder.Connector/Drivers/FileSystem/Models/Files/FileEntryObjectModel.cs | 1,831 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Windows;
using Caliburn.Micro;
using Microsoft.Phone.Controls;
using WhoWhat.UI.WindowsPhone.Core;
using WhoWhat.UI.WindowsPhone.Infrastructure;
using WhoWhat.UI.WindowsPhone.Infrastructure.V... | 31.045814 | 147 | 0.521575 | [
"Apache-2.0"
] | Ontropix/whowhat | src/client/WhoWhat.UI.WindowsPhone/ViewModels/Question/ViewQuestionViewModel.cs | 19,654 | C# |
using System;
namespace NetSpell.SpellChecker.Dictionary
{
/// <summary>
/// The Word class represents a base word in the dictionary
/// </summary>
public class Word : IComparable
{
private string _AffixKeys = "";
private int _EditDistance = 0;
private int _height = 0;
private int _index = 0;
private s... | 22.285714 | 70 | 0.558333 | [
"MIT"
] | mlocati/betterpoeditor | src/NetSpell.SpellChecker/Dictionary/Word.cs | 4,680 | C# |
#region License
/*
* All content copyright Marko Lahma, unless otherwise indicated. 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. You may obtain a copy
* of the License at
*
* http://www.apache.org/li... | 36.033254 | 198 | 0.605076 | [
"Apache-2.0"
] | 1508553303/quartznet | src/Quartz.Tests.Unit/Impl/AdoJobStore/StdAdoDelegateTest.cs | 15,170 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
namespace twitter.core.Services
{
internal static class OAuth
{
static OAuth()
{
... | 38.333333 | 144 | 0.574948 | [
"MIT"
] | johnlev0/tweetz | src/twitter.core/Services/OAuth.cs | 4,832 | C# |
using Ase.Messaging.Common;
namespace AseFramework.Modeling.Saga
{
/// <summary>
/// A combination of key and value by which a Saga can be found. Sagas are triggered by events that have a property that
/// the saga is associated with. A single Association Value can lead to multiple Sagas, and a single Sag... | 39.9375 | 131 | 0.603286 | [
"Apache-2.0"
] | nsafari/AseFramework | AseFramework.Modeling/Saga/AssociationValue.cs | 2,558 | C# |
using System;
using System.Management.Automation;
using SnipeSharp.Models;
using SnipeSharp.PowerShell.BindingTypes;
namespace SnipeSharp.PowerShell.Cmdlets
{
/// <summary>Changes the properties of an existing Snipe-IT model.</summary>
/// <remarks>The Set-Model cmdlet changes the properties of an existing Sni... | 35.938596 | 142 | 0.573102 | [
"MIT"
] | cofl/SnipeSharp | SnipeSharp.PowerShell/Cmdlets/Set/SetModel.cs | 4,097 | C# |
using System.Web.Mvc;
using System.Web.SessionState;
namespace Farz.CMS.Web.Areas.Profile.Controllers
{
[SessionState(SessionStateBehavior.ReadOnly)]
public class WidgetsController : Controller
{
public ActionResult ProfileWidget()
{
return PartialView("_ProfileWidget");
... | 23.125 | 50 | 0.618018 | [
"MIT"
] | ziyadsv/DragDropCms | Portal.CMS.Web/Areas/Profile/Controllers/WidgetsController.cs | 557 | 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 Microsoft.EntityFrameworkCore.TestUtilities;
namespace Microsoft.EntityFrameworkCore.Query
{
public abstract class InheritanceRelationshipsQu... | 36.5 | 115 | 0.790607 | [
"Apache-2.0"
] | 0b01/efcore | test/EFCore.Relational.Specification.Tests/Query/InheritanceRelationshipsQueryRelationalFixture.cs | 511 | C# |
using System;
namespace ExerciciosAula03
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
}
| 14.153846 | 46 | 0.532609 | [
"MIT"
] | LeonardoLuz2/LPC2019-1 | ExerciciosAula03/ExerciciosAula03/Program.cs | 186 | C# |
#pragma checksum "C:\Users\Khadar Baba Shaik\source\repos\Demo\Demo\Views\Home\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "aaa8e045c83cbb8e4c55c13bad55175c117ef7bc"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNe... | 57.081081 | 176 | 0.749053 | [
"MIT"
] | DevRohith123/asp-test | obj/Debug/netcoreapp3.1/Razor/Views/Home/Index.cshtml.g.cs | 2,112 | C# |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#nullable enable
using System;
using System.Linq;
using System.Reflection;
using NUnit.Compatibility;
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal
{
/// <summary>
/// The TypeWrapper class wraps... | 32.099631 | 169 | 0.554317 | [
"MIT"
] | 304NotModified/nunit | src/NUnitFramework/framework/Internal/TypeWrapper.cs | 8,699 | C# |
using System;
using System.Collections.Generic;
using System.Net;
using RestSharp;
using SimpleAuthentication.Core;
using SimpleAuthentication.Core.Exceptions;
using SimpleAuthentication.Core.Providers;
using SimpleAuthentication.Core.Tracing;
using SimpleAuthentication.ExtraProviders.GitHub;
namespace Simp... | 41.5 | 165 | 0.566265 | [
"MIT"
] | SimpleAuthentication/SimpleAuthentication | Code/SimpleAuthentication.ExtraProviders/GitHubProvider.cs | 6,559 | C# |
#region Header
/**
* JsonData.cs
* Generic type to hold JSON data (objects, arrays, and so on). This is
* the default type returned by JsonMapper.ToObject().
*
* The authors disclaim copyright to this source code. For more details, see
* the COPYING file included with this distribution.
**/
#endregion
usin... | 25.197183 | 78 | 0.478 | [
"MIT"
] | frank12001/FT-SocketServer | ClientLib/Unity/Assets/F.T/SocketServer/Lib/Core/Network/Dependencies/Best HTTP (Pro)/Dependencies/LitJson/JsonData.cs | 25,046 | 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 followin... | 40.130952 | 164 | 0.739247 | [
"BSD-3-Clause"
] | AqlaSolutions/JustLogic | Assets/JustLogic/Core/JLUnitBase.cs | 3,373 | C# |
namespace Bootstrap4Mvc6.Sample
{
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
public class Startup
{
publi... | 29.059701 | 84 | 0.53621 | [
"MIT"
] | kbalint/BootstrapMvc | samples/Bootstrap4Mvc6.Sample/Startup.cs | 1,949 | C# |
/**
* Copyright 2018 IBM Corp. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 30.820513 | 78 | 0.68802 | [
"Apache-2.0"
] | johnpisg/dotnet-standard-sdk | src/IBM.WatsonDeveloperCloud.LanguageTranslator.v2/Model/TranslationModels.cs | 1,202 | C# |
using Phantom.AI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
namespace Phantom.Characters
{
public class MoveToWaypoints : State<EnemyController>
{
private Animator animator;
private CharacterController controller;
private NavMes... | 29.08642 | 108 | 0.512733 | [
"Apache-2.0"
] | ChangHo-Github/Unity | Algorithm/Assets/PastCampaus/AI/02.Scripts/MoveToWaypoints.cs | 2,356 | C# |
namespace HREngine.Bots
{
class Pen_Mekka2 : PenTemplate //repairbot
{
// stellt am ende eures zuges bei einem verletzten charakter 6 leben wieder her.
public override int getPlayPenalty(Playfield p, Minion m, Minion target, int choice, bool isLethal)
{
return 0;
}
}
} | 29.090909 | 107 | 0.65 | [
"MIT"
] | chi-rei-den/Silverfish | penalties/Pen_Mekka2.cs | 320 | C# |
namespace P01_StudentSystem.Data
{
using Microsoft.EntityFrameworkCore;
using Models;
public class StudentSystemContext : DbContext
{
public StudentSystemContext()
{ }
public StudentSystemContext(DbContextOptions options)
:base(options)
{ }
public ... | 28.66875 | 85 | 0.485939 | [
"MIT"
] | DanielBankov/SoftUni | C# DB Fundamentals/Databases Advanced - Entity Framework/Entity Relations/1. Student System/Data/StudentSystemContext.cs | 4,589 | C# |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | 35.611111 | 132 | 0.764041 | [
"Apache-2.0"
] | CRivlaldo/mono | mcs/tools/monodoc/Lucene.Net/Lucene.Net/Index/FormatPostingsFieldsWriter.cs | 2,564 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.