max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
Assets/Scripts/Creatures/LazyFishAnimator.cs | AgentD1/NarwhalSimulator | 3 | 7044555 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Creature), typeof(AvoidCreatureTypesBehaviour), typeof(Animator))]
public class LazyFishAnimator : MonoBehaviour {
Creature myCreature;
Animator myAnimator;
AvoidCreatureTypesBehaviour avoidBehaviour;
public f... |
test/Microsoft.TemplateEngine.IDE.IntegrationTests/BasicTests.cs | danwalmsley/templating | 0 | 7044556 | using Microsoft.TemplateEngine.Abstractions;
using Microsoft.TemplateEngine.Core;
using Microsoft.TemplateEngine.Edge.Template;
using Microsoft.TemplateEngine.IDE.IntegrationTests.Utils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threadin... |
main/Boku/Input/GamePadTriggerCommand.cs | chrisphillips/KoduGameLab | 11 | 7044557 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Xml;
using System.Xml.Serialization;
using System.Collections;
using System.Diagnostics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.... |
ChatAPI/Chat.Domain/Interfaces/Service-Interfaces/IAuthService.cs | ignaciojvig/ChatAPI | 2 | 7044558 | using Chat.Domain.Models;
using Chat.Domain.ViewModels.Auth;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Chat.Domain.Interfaces.Service_Interfaces
{
public interface IAuthService
{
Task<User> GetUserByCredentials(LoginViewModel loginCreden... |
WordCounter/Models/RepeatCounter.cs | kellibrooke/WordCounter-MVC | 0 | 7044559 | using System;
using System.Text;
using System.Collections.Generic;
namespace WordCounter.Models
{
public class RepeatCounter
{
private string _originalSentence;
private string _originalWord;
private string _userSentence;
private string _userCheckWord;
private Dictionary... |
src/DFEngine.Compilers.TSQL/Resolvers/IDataManipulationResolver.cs | int0x81/DFEngine.Compilers.TSQL | 2 | 7044560 | using DFEngine.Compilers.TSQL.Models;
using System;
using System.Collections.Generic;
using System.Text;
using TSQL.Tokens;
namespace DFEngine.Compilers.TSQL.Resolvers
{
/// <summary>
/// Can resolve a data manipulation statement recursivly
/// </summary>
interface IDataManipulationResolver
{
... |
src/Gtk/Avalonia.Gtk/Input/GtkKeyboardDevice.cs | tingwersen/Avalonia | 1 | 7044561 | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Avalonia.Input;
namespace Avalonia.... |
FeatureDetector/DetectorTests.cs | dustinandrews/MegaDungeon | 0 | 7044562 | <reponame>dustinandrews/MegaDungeon
using System.Diagnostics;
using NUnit.Framework;
namespace FeatureDetector
{
[TestFixture]
public class DetectorTests
{
[Test]
public void ConstructorTest()
{
var detector = new MapFeatureDetector(mapIntArray);
}
[Test]
public void FindWallsTest()
{
var de... |
23. Build Test Automation Framework/Demo II/BuildCustomTestFramework_DEMO/BuildCustomTestFramework_DEMO/QAAcademyDemo.Telerik.Core/Pages_01/ShoppingCartPage/ShoppingCartPage.cs | TelerikAcademy/QA-Academy | 60 | 7044563 | namespace QAAcademyDemo.Telerik.Core.Pages_01.ShoppingCartPage
{
using OpenQA.Selenium;
public class ShoppingCartPage : BasePage<ShoppingCartPageMap, ShoppingCartPageAsserter>
{
public ShoppingCartPage(IWebDriver driver) : base(driver)
{
}
public ShoppingCartPage ChangeQua... |
Administrator/Common/MassPunishments/MassPunishment.cs | Quahu/Administrator | 0 | 7044564 | <reponame>Quahu/Administrator
using CommandLine;
namespace Administrator.Common
{
public abstract class MassPunishment
{
[Option('i', "interactive", Required = false, HelpText = "masspunishment_interactive", SetName = "verbose")]
public bool IsInteractive { get; set; }
[Option("regex"... |
src/XP.SDK/XPLM/MapLayer.cs | fedarovich/xplane-dotnet | 2 | 7044565 | using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Threading;
using XP.SDK.XPLM.Internal;
namespace XP.SDK.XPLM
{
public abstract class MapLayer : IDisposable
{
private static readonly MapWillBeDeletedCallback _willBeDeletedCallback;
private... |
src/Cake.Svn/Delete/SvnDeleter.cs | InKahootz/Cake.Svn | 10 | 7044566 | <reponame>InKahootz/Cake.Svn
using System;
using Cake.Core;
using Cake.Core.IO;
using Cake.Svn.Internal.Extensions;
namespace Cake.Svn.Delete
{
/// <summary>
/// Class for deleting files or directories from Subversion directory trees.
/// </summary>
public sealed class SvnDeleter : SvnTool<SvnDeleteSe... |
src/FubuTransportation/Subscriptions/TransportNode.cs | RyanHauert/FubuTransportation | 2 | 7044567 | using System;
using System.Collections.Generic;
using System.Linq;
using FubuTransportation.Configuration;
namespace FubuTransportation.Subscriptions
{
public class TransportNode
{
private readonly IList<Uri> _addresses = new List<Uri>();
public TransportNode()
{
... |
MigraDoc/code/MigraDoc.RtfRendering/MigraDoc.RtfRendering/ListInfoRenderer.cs | Liklainy/PDFsharp | 11 | 7044568 | #region MigraDoc - Creating Documents on the Fly
//
// Authors:
// <NAME> (mailto:<EMAIL>)
//
// Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany)
//
// http://www.pdfsharp.com
// http://www.migradoc.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to a... |
src/Tests/Trails/TrailData.cs | ormesam/mtb-mate | 8 | 7044569 | using System.Collections.Generic;
using Shared.Interfaces;
using static Api.Analysers.TrailAnalyser;
namespace Tests.Trails {
public static class TrailData {
public static TrailAnalysis KirkhillFunPark = new TrailAnalysis {
TrailId = 1,
Locations = new List<ILatLng>() {
... |
src/PRIA Library v2.4/PRIA_PropertyLegalDescriptionTypeEnumerated.cs | GSCCCA/gsccca-re-api | 0 | 7044570 | using System.Xml.Serialization;
namespace PRIALibraryV24
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
[System.SerializableAttribute()]
public enum PRIA_PropertyLegalDescriptionTypeEnumerated
{
/// <remarks/>
LongLegal,
/// <remarks/>
Met... |
Tera.DamageMeter/HotKeyControl.cs | gothos-folly/TeraSniffer | 21 | 7044571 | // Copyright (c) Gothos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Tera.DamageMeter
{
public class HotKeyControl : Text... |
src/Grains/CounterGrain.cs | muffadalis/rrod | 0 | 7044572 | <reponame>muffadalis/rrod
using GrainInterfaces;
using Orleans;
using System;
using System.Threading.Tasks;
using Grains.Redux;
using System.Reactive.Linq;
using Orleans.Streams;
namespace Grains
{
[ImplicitStreamSubscription("ActionsFromClient")]
public class CounterGrain : ReduxGrain<CounterState>, ICounterG... |
BannerlordTwitch/BLTAdoptAHero/Util/HeroExtensions.cs | hermesdj/Bannerlord-Twitch | 9 | 7044573 | <filename>BannerlordTwitch/BLTAdoptAHero/Util/HeroExtensions.cs
using System;
using System.Linq;
using BannerlordTwitch.Util;
using TaleWorlds.CampaignSystem;
using TaleWorlds.MountAndBlade;
namespace BLTAdoptAHero
{
public static class HeroExtensions
{
public static bool IsAdopted(this Hero hero) => ... |
JapaniseTextClassifier/JapaniseTextClassifier.cs | 7474/JapaniseTextClassifier | 0 | 7044574 | <gh_stars>0
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JapaniseTextClassifier
{
public interface IJapaniseTextClassifierExecuteConfig
{
string NormalizerName { ... |
Audio/AnalyticStreams/AnalyticWave.cs | MicroWorldwide/BGC_Tools | 59 | 7044575 | using System;
using System.Collections.Generic;
using BGC.Mathematics;
using static System.Math;
namespace BGC.Audio.AnalyticStreams
{
public class AnalyticWave : IAnalyticStream
{
public double SamplingRate => 44100.0;
int IAnalyticStream.Samples => int.MaxValue;
private readonly do... |
Nedanstad/Assets/ParadoxNotion/FlowCanvas/Module/Nodes/FlowControllers/Flow Mergers/ORMerge.cs | PaulSuarez1/Nedanstad | 0 | 7044576 | <filename>Nedanstad/Assets/ParadoxNotion/FlowCanvas/Module/Nodes/FlowControllers/Flow Mergers/ORMerge.cs
using UnityEngine;
using System.Collections;
using ParadoxNotion.Design;
namespace FlowCanvas.Nodes{
[Name("OR")]
[Category("Flow Controllers/Flow Merge")]
[Description("Calls Out when either input is called, ... |
TLM/TLM/Traffic/Data/SegmentEndFlags.cs | kaust-merge/Cities-Skylines-Traffic-Manager-President-Edition | 167 | 7044577 | <reponame>kaust-merge/Cities-Skylines-Traffic-Manager-President-Edition
using CSUtil.Commons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrafficManager.Geometry.Impl;
using TrafficManager.Manager;
using TrafficManager.State;
namespace TrafficManager.Traffic.Data {
///... |
TencentCloud/Ssl/V20191205/Models/Certificates.cs | TencentCloud/tencentcloud-sdk-dotnet-intl-en | 1 | 7044578 | <reponame>TencentCloud/tencentcloud-sdk-dotnet-intl-en
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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
*... |
src/Esfa.Vacancy.Infrastructure/Services/CachedTrainingDetailService.cs | uk-gov-mirror/SkillsFundingAgency.das-vacancyservices-api | 0 | 7044579 | <filename>src/Esfa.Vacancy.Infrastructure/Services/CachedTrainingDetailService.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Esfa.Vacancy.Application.Interfaces;
using Esfa.Vacancy.Domain.Entities;
using Esfa.Vacancy.Domain.Interfaces;
namespace Esfa.Vacancy.Infrastructur... |
Classes/LineMesh.cs | beeradmoore/psxprev | 100 | 7044580 | using System;
using OpenTK.Graphics.OpenGL;
namespace PSXPrev.Classes
{
public class LineMesh
{
private const int BufferCount = 4;
private readonly uint _meshId;
private int _numElements;
private uint _positionBuffer;
private uint _colorBuffer;
private uint _n... |
Source/Plex.ServerApi/PlexModels/Library/LibraryFilter.cs | JeffreyMercado/plex-api | 47 | 7044581 | namespace Plex.ServerApi.PlexModels.Library
{
using System.Collections.Generic;
public class LibraryFilter
{
public List<string> Types = new List<string>();
public List<string> Keys = new List<string>();
public List<string> Titles = new List<string>();
}
}
|
AddressesAPI/V1/UseCase/SearchAddressUseCase.cs | LBHackney-IT/addresses-api | 1 | 7044582 | using System;
using AddressesAPI.V1.Boundary.Requests;
using AddressesAPI.V1.Boundary.Responses;
using AddressesAPI.V1.Boundary.Responses.Metadata;
using AddressesAPI.V1.Domain;
using AddressesAPI.V1.Factories;
using AddressesAPI.V1.Gateways;
using AddressesAPI.V1.HelperMethods;
using AddressesAPI.V1.UseCase.Interfaces... |
ServerMonitor.Web/Views/Account/_ChangePasswordPartial.cshtml | RedgumTechnologies/servermonitor | 0 | 7044583 | @model ServerMonitor.Web.Models.LocalPasswordModel
<h3>Change password</h3>
@using (Html.BeginForm("Manage", "Account", FormMethod.Post, new { role = "Form" }))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<div class="form-group">
@Html.LabelFor(m => m.OldPassword)
@H... |
Src/Enum.Performance.UnitTests/Functional/PerformanceParserTests.cs | tonyferrell/Enum.Performance.Library | 4 | 7044584 | <filename>Src/Enum.Performance.UnitTests/Functional/PerformanceParserTests.cs<gh_stars>1-10
using Enum.Performance.Library;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace Enum.Performance.UnitTests.Functional
{
[TestClass]
public class Performance... |
GeneticAlgorithms/MapColors/Rule.cs | GregEakin/GeneticAlgorithmsWithCSharp | 1 | 7044585 | /* File: Rule.cs
* from chapter 5 of _Genetic Algorithms with Python_
* writen by <NAME>
*
* Author: <NAME> <<EMAIL>>
* Copyright (c) 2018 <NAME>
*
* 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 c... |
src/Ghosts.Api/Infrastructure/ApIDetails.cs | Embodimentgeniuslm3/GHOSTS | 136 | 7044586 | <reponame>Embodimentgeniuslm3/GHOSTS
// Copyright 2017 <NAME>. All Rights Reserved. See LICENSE.md file for terms.
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Microsoft.Extensions.Configuration;
namespace Ghosts.Api.Infrastructure
{
public static class ApiDetails
... |
Source/JavascriptWebSocket/JavascriptWebSocket.Build.cs | keicoon/Unreal.js-core | 0 | 7044587 | <reponame>keicoon/Unreal.js-core
using UnrealBuildTool;
public class JavascriptWebSocket : ModuleRules
{
public static bool IsUpdated(bool bIgnorePatchVersion = false)
{
string[] VersionHeader = Utils.ReadAllText("../Source/Runtime/Launch/Resources/Version.h").Replace("\r\n", "\n").Replace("\t", " ").S... |
sdk/relay/Microsoft.Azure.Management.Relay/src/Generated/Models/ProvisioningStateEnum.cs | gjy5885/azure-sdk-for-net | 3,268 | 7044588 | // <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... |
ICanPay/Doc/微信支付(WeChatPay)/WxPayAPI/WxPayAPI/default.aspx.designer.cs | hiihellox10/ICanPay | 152 | 7044590 | //------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace WxPayAPI {
public partial class _De... |
Co.Id.Moonlay.Simple.Auth.Service.Lib/BusinessLogic/Services/AccountService.cs | Sidel17/Profile-Employee | 0 | 7044591 | using Co.Id.Moonlay.Simple.Auth.Service.Lib.BusinessLogic.Interfaces;
using Co.Id.Moonlay.Simple.Auth.Service.Lib.Models;
using Co.Id.Moonlay.Simple.Auth.Service.Lib.Services.IdentityService;
using Co.Id.Moonlay.Simple.Auth.Service.Lib.Utilities;
using Co.Id.Moonlay.Simple.Auth.Service.Lib.ViewModels;
using Com.Moonla... |
SpotifyDeleteCache/SpotifyDeleteCacheForm.Designer.cs | GenesisFR/SpotifyDeleteCache | 1 | 7044592 | namespace SpotifyDeleteCache
{
partial class SpotifyDeleteCacheForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... |
src/backend/Csrs.Api/Repositories/InvalidIdException.cs | TayGov/jag-csrs-portal-public | 0 | 7044593 | namespace Csrs.Interfaces.Dynamics
{
[Serializable]
public class InvalidIdException : Exception
{
public string? Value { get; init; }
public InvalidIdException(string message, string value) : base(message)
{
Value = value;
}
}
}
|
DotNetClient/src/DTOs/Output/FileVersionDeletedOutputDTO.cs | StableCube/Backblaze | 1 | 7044594 | using System.Text.Json.Serialization;
namespace StableCube.Backblaze.DotNetClient
{
public class FileVersionDeletedOutputDTO
{
[JsonPropertyName("fileId")]
public string FileId { get; set; }
[JsonPropertyName("fileName")]
public string FileName { get; set; }
}
} |
TGC.MonoGame.Samples/Viewer/GUI/Modifiers/Vector3Modifier.cs | tgc-utn/tgc-monogame-samples | 0 | 7044595 | using ImGuiNET;
using System;
using System.Numerics;
using MonoGameVector3 = Microsoft.Xna.Framework.Vector3;
namespace TGC.MonoGame.Samples.Viewer.GUI.Modifiers
{
/// <summary>
/// A Vector3 Modifier that allows for changing a Vector3 value in real time
/// </summary>
public class Vector3Modifier... |
src/Zxw.Framework.Website.Models/SysPermission.cs | VictorTzeng/Zxw.Framework.NetCore.Demo | 84 | 7044596 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Zxw.Framework.NetCore.DbContextCore;
using Zxw.Framework.NetCore.Models;
namespace Zxw.Framework... |
Rest/Test/MetaFields.cs | nicolaiarocci/DataStorage | 1 | 7044598 | <filename>Rest/Test/MetaFields.cs
using Boxroom.Rest;
using NUnit.Framework;
namespace Test
{
public class MetaFieldsTest
{
[Test]
public void Defaults()
{
var restMetaFields = new MetaFields();
Assert.AreEqual("ETag", restMetaFields.ETag);
... |
Arta/CodeAnalysis/Syntax/ParanthesizedExpressionSyntax.cs | nader-naderi/NDR-Expression-Evaluator | 0 | 7044599 | namespace Arta.CodeAnalysis.Syntax
{
public class ParanthesizedExpressionSyntax : ExpressionSyntax
{
public ParanthesizedExpressionSyntax(SyntaxToken openParanthesisToken, ExpressionSyntax expression, SyntaxToken closeParanthesisToken)
{
OpenParanthesisToken = openParanthesisToken;
... |
HtmlRapier.TagHelpers/HtmlRapier/Bootstrap3/ModalBootstrap3.cs | threax/HtmlRapier.TagHelpers | 1 | 7044600 | using Microsoft.AspNetCore.Razor.TagHelpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HtmlRapier.TagHelpers
{
public class ModalBootstrap3 : IModal
{
public ModalBootstrap3()
{
}
public void Process(TagHelperCo... |
FastAnimations/Handlers/ShearingHandler.cs | Denifia/Pathoschild-StardewMods | 0 | 7044601 | <reponame>Denifia/Pathoschild-StardewMods
using Microsoft.Xna.Framework;
using Pathoschild.Stardew.FastAnimations.Framework;
using StardewValley;
namespace Pathoschild.Stardew.FastAnimations.Handlers
{
/// <summary>Handles the wool shearing animation.</summary>
/// <remarks>See game logic in <see cref="Starde... |
src/Assent.Tests/EndToEnd/TestPassesIfTheApprovalFileIsUpdatedByTheReporterScenario.cs | richev-o/Assent | 25 | 7044602 | using System;
using FluentAssertions;
using NSubstitute;
namespace Assent.Tests.EndToEnd
{
public class TestPassesIfTheApprovalFileIsUpdatedByTheReporterScenario : BaseScenario
{
private Action _action;
private readonly string _recievedPath = $@"{GetTestDirectory()}\EndToEnd\{nameof(TestPassesI... |
Assets/Demo/Infrastructure/NetworkEventHandler.cs | shadowmint/unity-example-unet-transport | 27 | 7044603 | <reponame>shadowmint/unity-example-unet-transport
using UnityEngine;
using UnityEngine.Networking;
namespace Demo.Infrastructure
{
/// <summary>
/// Every frame, trigger any pending network events and redirect them to the appropriate targets.
/// If this component is missing, nothing will run.
/// </summary>
... |
UnitTests/TestHelperTests.cs | AblingerOscar/EasyCLI | 0 | 7044604 | using System;
using System.Linq;
using Xunit;
namespace UnitTests
{
public class TestHelperTests
{
[Fact]
public void AllMergeCombinationsThrowsErrorsCorrectlyWithStrings()
{
var notNullEnum = new object[][] { new object[0] }.AsEnumerable();
Assert.Throws<Argum... |
VkNet.Tests/Categories/Audio/AudioCreatePlaylistTest.cs | Empty322/vk | 1 | 7044605 | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using NUnit.Framework;
namespace VkNet.Tests.Categories.Audio
{
[TestFixture]
[ExcludeFromCodeCoverage]
public class AudioCreatePlaylistTest : BaseTest
{
[Test]
public void CreatePlaylistTest()
{
Url = "https://api.vk.com/method/audi... |
AtCoderBeginnerContest131/AtCoderBeginnerContest131/AtCoderBeginnerContest131/Questions/QuestionE.cs | terry-u16/AtCoder | 0 | 7044606 | using AtCoderBeginnerContest131.Questions;
using AtCoderBeginnerContest131.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace AtCoderBeginnerContest131.Questions
{
public class QuestionE : AtCoderQuestionBase
{
public override I... |
Hurrah.GoogleDrive.Core/GoogleDriveConsts.cs | 2guti2/hurrahgdrive | 0 | 7044607 | namespace Hurrah.GoogleDrive
{
public class GoogleDriveConsts
{
public const string LocalizationSourceName = "GoogleDrive";
public const bool MultiTenancyEnabled = true;
}
} |
03.Defining Classes - Lab/03. Test Client/Program.cs | dimitar-v/CSharp-OOP-Basic | 0 | 7044608 | <reponame>dimitar-v/CSharp-OOP-Basic
using System;
using System.Collections.Generic;
namespace BancAccount
{
public class StartUp
{
static void Main(string[] args)
{
var accs = new Dictionary<int, BankAccount>();
string input;
while ((input = Console.ReadLi... |
Sources/SolToBoogie/MapArrayHelper.cs | utopia-group/verisol | 0 | 7044609 | <reponame>utopia-group/verisol
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Microsoft.Extensions.Primitives;
using solidityAnalysis;
using SolidityAST;
namespace SolToBoogie
{
using S... |
algorithms/cryptography/caesar.cs | tonepanetone/csharp | 43 | 7044610 | // Encode a char
static char EncodeCaractere(char caractere, char encodeur)
{
int asciiCaractere = (int)caractere;
int asciiEncodeur = (int)encodeur;
int asciiCaractereCode = ((asciiCaractere - 97) + (asciiEncodeur - 97)) % 26;
char caractereCode =... |
Middle/Pattern/Structural/AV.Middle.Pattern.Structural.FlyweightPattern/FlyweightProcess.cs | iAvinashVarma/RunnerCore | 1 | 7044611 | using AV.Middle.Pattern.Structural.FlyweightPattern.Concrete;
using AV.Middle.Pattern.Structural.FlyweightPattern.Factory;
using AV.Middle.Reflector.IService;
using log4net;
using System;
using System.Collections;
using System.Reflection;
namespace AV.Middle.Pattern.Structural.FlyweightPattern
{
/// <summary>
/// S... |
owasptop10/Models/DB/LoginViewModel.cs | rainmakerho/owasptop10 | 0 | 7044612 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace owasptop10.Models.DB
{
public class LoginViewModel
{
/// <summary>
/// Gets or sets to username address.
/// </summary>
... |
FulltextRetrievalSystemds/WebView/Controllers/WebCrawlController.cs | shadowlightqywx/FulltextRetrievalSystem-mulver- | 3 | 7044613 | <reponame>shadowlightqywx/FulltextRetrievalSystem-mulver-
using log4net;
using WebCommon;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Web.Mvc;
using System.Web.UI;
using System.Xml;
namespace WebView.Controllers
{
/// <summary>
/// 只限管理员使用,Web爬虫 Config的增删改
/... |
src/StandardUI/generated/SetterExtensions.cs | debonte/standard-ui | 44 | 7044614 | // This file is generated from ISetter.cs. Update the source file to change its contents.
namespace Microsoft.StandardUI
{
public static class SetterExtensions
{
public static T Property<T>(this T setter, IUIProperty? value) where T : ISetter
{
setter.Property = value;
r... |
src/OpenBankProject.NetCore/Models/Customer/Customer.cs | sicmx/OpenBankProject.NetCore | 3 | 7044615 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using OpenBankProject.NetCore.Models.Common;
namespace OpenBankProject.NetCore.Models.Customer
{
public class Customer
{
[JsonProperty("bank_id")]
public string BankId { get; set; }
[JsonProperty("customer_id")]
... |
Blogifier.Core/Controllers/BlogController.cs | purrmiaw/Blogifier | 0 | 7044616 | <filename>Blogifier.Core/Controllers/BlogController.cs
using Blogifier.Core.Common;
using Blogifier.Core.Services.Data;
using Blogifier.Core.Services.Syndication.Rss;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Blogifier.Core.Controllers
{
public class BlogController : Controller... |
Enums/NamedEntityType.cs | MrtnNmck/notenizer | 0 | 7044617 | <reponame>MrtnNmck/notenizer<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace nsEnums
{
/// <summary>
/// Types of named entities.
/// </summary>
public enum NamedEntityType
{
Location,
Person,
... |
Assets/ArcadeVehiclePhysics/Vehicle/Scripts/CP - CarPhysics/CpMain.cs | benmcinnes/ArcadeVehiclePhysics | 137 | 7044618 | <gh_stars>100-1000
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CpMain : MonoBehaviour
{
public PlayerInputs input;
public VehicleSpeed speedData;
public CpWheelData wheelData;
[HideInInspector] public Rigidbody rb;
public Vector3 avera... |
src/EncompassRest/BaseApiClient.cs | Oxymoron290/EncompassRest | 3 | 7044619 | <filename>src/EncompassRest/BaseApiClient.cs
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using EncompassRest.Utilities;
namespace EncompassRest
{
/// <summary>
/// A base Api client for use when Apis aren't supported directly.
/// </summary>
public interface IBaseApiCl... |
src/Core/VoipProjectEntities.Application/Features/TrailBalanceCustomers/Queries/GetTrailBalanceCustomersList/GetTrailBalanceCustomerListQueryHandler.cs | Lucky786/VoIPCustomerWebPortal | 0 | 7044620 | using AutoMapper;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using VoipProjectEntities.Application.Contracts.Persistence;
using VoipProjectEntities.Application.Responses;
using VoipProjectEntities.Domain.Ent... |
src/L4-application/XRheology_Solver/XBase_Solver.cs | FDYdarmstadt/BoSSS | 22 | 7044621 | /* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... |
Code/OtherChapters/Chapter11/Queries/ShowAllUsersMethodCall.cs | Vladimir-Zakharenkov/Jon-Skit-CS-In-Depth-3edition | 1 | 7044622 | <gh_stars>1-10
using System;
using System.ComponentModel;
using System.Linq;
using Chapter11.Model;
namespace Chapter11.Queries
{
[Description("Listing 11.02")]
class ShowAllUsersMethodCall
{
static void Main()
{
var query = SampleData.AllUsers.Select(user => user);
... |
CodeLab1-Final/Assets/Scripts/CoupleForDog.cs | UtarMantyke/CodeLab1-Final | 0 | 7044623 | <filename>CodeLab1-Final/Assets/Scripts/CoupleForDog.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CoupleForDog : MonoBehaviour
{
public AudioClip Woof;
private AudioSource DogAudio;
// Start is called before the first frame update
void ... |
src/core-taggeds-result/Result.Tests/Test.Result/Flow.Filter/FilterValueAsync.MapFailure.cs | andreigit/PrimeFuncPack | 5 | 7044624 | <filename>src/core-taggeds-result/Result.Tests/Test.Result/Flow.Filter/FilterValueAsync.MapFailure.cs
using NUnit.Framework;
using PrimeFuncPack.UnitTest;
using System;
using System.Threading.Tasks;
using static PrimeFuncPack.UnitTest.TestData;
namespace PrimeFuncPack.Core.Tests;
partial class ResultTest
{
[Test]... |
VkApi.Wrapper/Objects/Database/DatabaseStation.cs | InRedikaWB/VkLibrary | 11 | 7044625 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace VkApi.Wrapper.Objects
{
public class DatabaseStation
{
///<summary>
/// City ID
///</summary>
[JsonProperty("city_id")]
public int CityId { get; set; }
///<summary>
/// Hex ... |
src/System.Drawing.Common/src/System/Drawing/Drawing2D/CustomLineCap.cs | ArthurBrussee/corefx | 2 | 7044626 | <reponame>ArthurBrussee/corefx<gh_stars>1-10
// 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.Runtime.InteropServices;
namespace System.Drawing.Drawing... |
SimpleBlog/ViewModels/Auth.cs | nickgoodrow/MVC_SimpleBlog | 0 | 7044627 | using System.ComponentModel.DataAnnotations;
namespace SimpleBlog.ViewModels
{
public class AuthLogin
{
[Required]
public string Username { get; set; }
[Required,DataType(DataType.Password)]
public string Password { get; set; }
public string Test { get; set; }
... |
Assets/Scripts/SwipePanel.cs | Cresspresso/home | 0 | 7044628 | <reponame>Cresspresso/home
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwipePanel : MonoBehaviour
{
public ParticleSystem ps;
public GroundhogDay groundhogDay;
private void Awake()
{
Debug.Assert(groundhogDay, "groundhogDay is null", this);
}
private void OnTr... |
Sith.Data/Models/ApplicationUser.cs | DeadSith/Area-routing | 4 | 7044629 | // Copyright 2017 <NAME>
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace Sith.Data.Models
{
public class ApplicationUser : IdentityUser
{
public PasswordStore Store { get; set; }
}
} |
src/Plugins/AppEngine/Core/DataInstance.cs | relative63/app-engine | 1 | 7044630 | <filename>src/Plugins/AppEngine/Core/DataInstance.cs
namespace Core
{
public class DataInstance
{
private static double _totalInstances;
public string id
{ get; private set; }
public DataInstance()
{
_totalInstances++;
id = _totalInstances.ToStri... |
src/CallKit/CXProvider.cs | vlada-shubina/xamarin-macios | 0 | 7044631 | <filename>src/CallKit/CXProvider.cs
//
// CXProvider extensions and syntax sugar
//
// Authors:
// <NAME> <<EMAIL>>
//
// Copyright 2016 Xamarin Inc. All rights reserved.
//
#if !MONOMAC
using System;
using Foundation;
using ObjCRuntime;
namespace CallKit {
public partial class CXProvider {
public CXCallAction [... |
src/Bottles/Services/BottleServiceFinder.cs | RyanHauert/bottles | 1 | 7044632 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Bottles.Diagnostics;
using FubuCore;
namespace Bottles.Services
{
public static class BottleServiceFinder
{
public static IEnumerable<IBootstrapper> FindBootstrappers(IEnumerable<Assembly> pack... |
Animus.Data/Migrations/20220208130210_InitialMigration.Designer.cs | ivandobrinovv/Animus | 0 | 7044633 | <reponame>ivandobrinovv/Animus
// <auto-generated />
using System;
using Animus.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueC... |
src/ImageSharp/Processing/Processors/Convolution/EdgeDetectorProcessor.cs | SimantoR/ImageSharp | 0 | 7044634 | <gh_stars>0
// Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.PixelFormats;
namespace SixLabors.ImageSharp.Processing.Processors.Convolution
{
/// <summary>
/// Defines a processor that detects edges within an image using a single two dimensional matrix.
... |
source/libs/Common/Utilities/TODOAttribute.cs | GrapeCity/pagefx | 18 | 7044635 | <reponame>GrapeCity/pagefx
using System;
namespace DataDynamics.PageFX.Common.Utilities
{
public class TODOAttribute : Attribute
{
public TODOAttribute()
{
}
public TODOAttribute(string desc)
{
_desc = desc;
}
public string De... |
csharp_client/MasterServerClient/DataTypes.cs | RamjetAnvil/padrone | 12 | 7044636 | using System;
using System.Collections.Generic;
using System.Net;
namespace RamjetAnvil.Padrone.Client {
public class PeerInfo {
private readonly IPEndPoint _external;
private readonly IPEndPoint _internal;
public PeerInfo(IPEndPoint external, IPEndPoint @internal) {
... |
tests/React.Tests/Core/BabelTransformerTests.cs | GitHubSimon/React.NET | 2,323 | 7044637 | <filename>tests/React.Tests/Core/BabelTransformerTests.cs
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
using System;
using Moq;
using React.Exceptions;
using Xunit;
namespace ... |
Lists - Lab/List Manipulation Advanced/Program.cs | Wa4e7o/C--Fundamentals | 3 | 7044638 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace ListManipulationAdvanced
{
class Program
{
static void Main(string[] args)
{
List<int> numbers = Console.
ReadLine()
.Split()
.Select(int.Pars... |
SafetySharpTests/AnalysisTests.Helpers.cs | isse-augsburg/ssharp | 7 | 7044639 | <filename>SafetySharpTests/AnalysisTests.Helpers.cs
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
... |
Vstancer.Client/Vstancer.cs | nokwin/fivem-vstancer | 0 | 7044640 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Text;
using MenuAPI;
using CitizenFX.Core;
using CitizenFX.Core.UI;
using static CitizenFX.Core.Native.API;
namespace Vstancer.Client
{
public class Vstancer : BaseScript
{
#region Config Fie... |
TwitchLeecher/TwitchLeecher.Gui/Converters/DownloadStatusToColorConverter.cs | dstftw/TwitchLeecher | 2 | 7044641 | <gh_stars>1-10
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
using TwitchLeecher.Core.Enums;
namespace TwitchLeecher.Gui.Converters
{
public class DownloadStatusToColorConverter : IValueConverter
{
#region IValueConverter Members
public objec... |
Labo_4_5/Winkel/Winkel/WinkelDbDataAdapter.cs | LorenzoDeBie/GegevensTechnologieen | 0 | 7044642 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Common;
using System.Configuration;
using System.Data;
namespace Winkel
{
class WinkelDbDataAdapter
{
public const string CUSTOMERNUMBER = "customerNumber";
public const string CUSTOMERNAME = "customerName";
... |
Projects/ClickNClaim.WebPortal/Views/Account/Login.cshtml | Open-Justice/ODR | 1 | 7044643 | @using ClickNClaim.WebPortal.Resources
@using ClickNClaim.WebPortal.Models
@model LoginViewModel
@{
ViewBag.Title = Account.LoggingIn;
}
<div class="container root-container">
<div class="row">
<div class="col s12 l8 offset-l2 ml12 offset-ml0 m12 ">
<div class="card">
<di... |
sdk/dotnet/DataLoss/Inputs/PreventionJobTriggerInspectJobGetArgs.cs | sisisin/pulumi-gcp | 121 | 7044644 | <reponame>sisisin/pulumi-gcp
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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... |
MusicOrganizer/Views/Home/Index.cshtml | TJEverett/MusicOrganizer | 0 | 7044645 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HomePage</title>
</head>
<body>
<p><a href="/album">View Albums</a></p>
<p><a href="/artist">View Artists</a></p>
<p><a href="/">HomePage</a></p>
</body>
</html> |
SimpleTokenProvider/src/SimpleTokenProvider.Web/Startup.cs | peterblazejewicz/simple-token-formatter | 1 | 7044646 | <reponame>peterblazejewicz/simple-token-formatter<gh_stars>1-10
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace SimpleTokenProvider.Web
{
public partial cl... |
BatchHTMLValidator/frmJavaCheck.Designer.cs | fourDotsSoftware/BatchHTMLValidator | 0 | 7044647 | <reponame>fourDotsSoftware/BatchHTMLValidator
namespace BatchHTMLValidator
{
partial class frmJavaCheck
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any reso... |
Assets/Scripts/JumpMovement.cs | bartokid/proyectoDSA | 0 | 7044648 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JumpScript : MonoBehaviour
{
public float jumpHeight;
private bool isJumping = false; // this doesn't need to be public
private Rigidbody2D _rigidBody2D;
private void Awake()
{
_rigidBody2D = GetC... |
Assets/Package/Runtime/Process.cs | enue/Unity_TSKT_Scene | 1 | 7044649 | <reponame>enue/Unity_TSKT_Scene
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using Cysharp.Threading.Tasks;
#nullable enable
namespace TSKT.Scenes
{
public readonly struct InactivateObjects
{
readonly GameObject[] shouldActivateObjec... |
MySolution.MyCompany.Bussiness/Util/ServiceResponse.cs | Kavinda8535/MySolution | 0 | 7044650 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MySolution.MyCompany.Bussiness.Util
{
public class ServiceResponse<T> : ServiceResponseBase
{
private T _entity;
public ServiceResponse(T entity)
{
... |
net-core/Ical.Net/Serialization/SerializerFactory.cs | risadams/ical.net | 1,629 | 7044651 | using System;
using System.Reflection;
using Ical.Net.CalendarComponents;
using Ical.Net.DataTypes;
using Ical.Net.Serialization.DataTypes;
namespace Ical.Net.Serialization
{
public class SerializerFactory : ISerializerFactory
{
private readonly ISerializerFactory _mDataTypeSerializerFactory;
... |
src/Bitmovin.Api.Sdk/Models/InterlaceMode.cs | bitmovin/bitmovin-api-sdk-dotnet | 8 | 7044652 | using System.Runtime.Serialization;
namespace Bitmovin.Api.Sdk.Models
{
/// <summary>
/// How to interleave the input frames
/// </summary>
public enum InterlaceMode
{
/// <summary>
/// Use the top field from odd frames and bottom field from even frames
/// </summary>
... |
PlannerWithPoints/PWP.Infra/DbCtx.cs | jc4st3lls/plannerwithpoints | 0 | 7044653 | <filename>PlannerWithPoints/PWP.Infra/DbCtx.cs
using System;
using Microsoft.EntityFrameworkCore;
using PWP.Domain;
namespace PWP.Infra
{
public class DbCtx:DbContext
{
public DbCtx(DbContextOptions<DbCtx> options)
: base(options)
{
}
public DbSet<Diatari> Diatari... |
Assets/UnityTechnologies/HMITemplate/Scripts/HMI/Vehicles/Behaviours/Editor/ElectricVehicleDataProviderEditor.cs | sunrui19941128/CarHMI | 0 | 7044654 | using UnityEditor;
using UnityEngine;
namespace HMI.Vehicles.Behaviours
{
/// <summary>
/// Custom editor for the electric vehicle data provider that gives
/// insight in the data in the project folder in the inspector of the script
/// </summary>
[CustomEditor(typeof(ElectricVehicleDataProvider))... |
CoronaTracker/UI.cs | NiX3r/CoronaTracker | 0 | 7044655 | <gh_stars>0
using CoronaTracker.Instances;
using CoronaTracker.SubForms;
using CoronaTracker.Timers;
using CoronaTracker.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;... |
Source/SuperOffice.DevNet.Online.IntegrationServer/JsonQuoteConnector/FromSO/TypeHelper.cs | omelhus/SuperOffice.DevNet.Online | 5 | 7044656 | <reponame>omelhus/SuperOffice.DevNet.Online
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using SC = System.Collections;
using SCG = System.Collections.Generic;
public static class TypeHelper
{
/// <summary>
/// Checks... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.