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 |
|---|---|---|---|---|
samples/Furion.Application/Persons/Dtos/ChildrenDto.cs | Glepooek/Furion | 0 | 7047699 | <gh_stars>0
using Furion.Core;
namespace Furion.Application.Persons;
public class ChildrenDto
{
/// <summary>
/// 主键
/// </summary>
public int Id { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 性别
/// </summary>
pu... |
src/PandaApp/Panda.Services/PackageService.cs | SimeonVSimeonov/PandaApp | 0 | 7047700 | using Microsoft.EntityFrameworkCore;
using Panda.Data;
using Panda.Models;
using Panda.Models.Enums;
using System.Collections.Generic;
using System.Linq;
namespace Panda.Services
{
public class PackageService : IPackageService
{
private readonly PandaAppDBContext context;
private readonly IRec... |
Database.Tests/Tables/BasicElements/DeviceTaggingSetTests.cs | vitorbellotto/LoadProfileGenerator | 0 | 7047701 | //-----------------------------------------------------------------------
// <copyright>
//
// Copyright (c) TU Chemnitz, Prof. Technische Thermodynamik
// Written by <NAME>.
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are me... |
DragonSpark/Compose/Objects.cs | DragonSpark/Framework | 10 | 7047702 | using DragonSpark.Model;
using DragonSpark.Model.Selection;
using DragonSpark.Model.Sequences.Collections;
using DragonSpark.Runtime;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
namespace DragonSpark.C... |
Mossharbor.ActivityStreams/ActivityTypes/ArriveActivity.cs | Mossharbor/ActivityStreams | 0 | 7047703 | <filename>Mossharbor.ActivityStreams/ActivityTypes/ArriveActivity.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
#pragma warning disable CS1658 // Warning is overriding an error
namespace Mossharbor.ActivityStreams
{
/// <summary>
/// An IntransitiveActivity that indicates th... |
src/Lazy.Authentication.Api/Swagger/SwaggerSetup.cs | rolfwessels/Lazy.Authentication | 0 | 7047704 | <gh_stars>0
using System;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Web.Http;
using System.Web.Http.Description;
using Lazy.Authentication.Api.WebApi.Controllers;
using Lazy.Authentication.Shared.Models;
using Lazy.Authentication.Utilities.Helpers;
using Swa... |
src/DevKit/Common/Datatypes/EtpUri.cs | archerax/etp-devkit | 0 | 7047705 | //-----------------------------------------------------------------------
// ETP DevKit, 1.2
//
// Copyright 2018 Energistics
//
// 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
//
// ... |
backend/src/ChatApp.StockBot/HttpOut/StooqHttpClient.cs | guiportooo/chat-app | 0 | 7047706 | <gh_stars>0
namespace ChatApp.StockBot.HttpOut
{
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
public interface IStooqHttpClient
{
Task<string> GetStockQuote(string stockCode);
}
public class StooqHttpClient : IStooqHttpClient
{
private readonl... |
bounce/Assets/Bouce/Scripts/Audio/ShapeAudioCollection.cs | thatgamesguy/bounce | 4 | 7047707 | <gh_stars>1-10
using UnityEngine;
namespace Bounce
{
/// <summary>
/// COntains a group of clips to be played when a shape is hit.
/// </summary>
public class ShapeAudioCollection
{
private AudioClip[] m_AudioClips;
private int m_AudioIndex;
private int m_InitialAudioIndex... |
CSharpOOPExamPrevious/Hero Unit Tests/Unit-Skeleton/HeroRepository/HeroRepository.Tests/HeroRepositoryTests.cs | ilinatsoneva3/SoftUni-Official | 0 | 7047708 | <reponame>ilinatsoneva3/SoftUni-Official
using System;
using System.Collections.Generic;
using NUnit.Framework;
public class HeroRepositoryTests
{
private Hero hero;
private HeroRepository heroRepository;
[SetUp]
public void Setup()
{
this.hero = new Hero("Michael", 2);
this.heroRe... |
C# Advanced/2. Multidimensional Arrays/Exercise/9.Miner/Miner.cs | BorisLechev/CSharp-OOP-Basics | 0 | 7047709 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _9.Miner
{
class Miner
{
static void Main(string[] args)
{
int size = int.Parse(Console.ReadLine());
int[,] matrix = new int[size, size];
string[] commands =
Console... |
tcp-chat-server/Server.cs | AlesJiranek/tcp-chat-server | 1 | 7047710 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading;
namespace tcp_chat_... |
Backend/Default.Architecture.Domain/Dtos/RegisterUserDto.cs | lucassklp/Default.Architecture | 50 | 7047711 | <reponame>lucassklp/Default.Architecture
namespace Domain.Dtos
{
public class RegisterUserDto
{
public string Email { get; set; }
public string Password { get; set; }
public string Name { get; set; }
}
}
|
src/N3O.Umbraco.Extensions/Blocks/BlockViewModelFactory.cs | n3oltd/N3O.Umbraco | 0 | 7047712 | <filename>src/N3O.Umbraco.Extensions/Blocks/BlockViewModelFactory.cs
using Humanizer;
using Microsoft.Extensions.DependencyInjection;
using N3O.Umbraco.Extensions;
using N3O.Umbraco.Localization;
using Perplex.ContentBlocks.Rendering;
using System;
using Umbraco.Cms.Core.Models.PublishedContent;
namespace N3O.Umbraco.... |
ExpenseTrack/ExpenseTrackAPI/Controllers/RecepitsController.cs | ExpenseTrack/ExpenseTrack | 0 | 7047713 | <reponame>ExpenseTrack/ExpenseTrack
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using ExpenseTrackAPI.Models;
namespace ExpenseTrackAPI.Controllers
{
[Route("a... |
DrunkenMonk/Program.cs | filipJakab/DrunkenMonk | 0 | 7047714 | <filename>DrunkenMonk/Program.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using DrunkenMonk.ConsoleHelpers;
using DrunkenMonk.Data;
using DrunkenMonk.Data.Base;
using DrunkenMonk.Data.Constants;
using DrunkenMonk.... |
Peach.Core/Dom/RelationContainer.cs | JoeyJiao/peach | 0 | 7047715 | <gh_stars>0
//
// Copyright (c) <NAME>
//
// 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 rights
// to use, copy, modify, m... |
ManagedUPnP/Descriptions/FormattedOrderedDescriptionDictionary.cs | jogibear9988/ManagedUPnP | 1 | 7047716 | <reponame>jogibear9988/ManagedUPnP<gh_stars>1-10
//////////////////////////////////////////////////////////////////////////////////
// Managed UPnP
// Written by <NAME> (http://home.exetel.com.au/amurgshere/)
// A CodePlex project (http://managedupnp.codeplex.com/)
// Released under the Microsoft Public License ... |
WypozyczalniaSamochodow/Migrations/201803132008261_datadodaniaAuto.cs | miloszkulesza/WypozyczalniaSamochodow | 0 | 7047717 | namespace WypozyczalniaSamochodow.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class datadodaniaAuto : DbMigration
{
public override void Up()
{
AddColumn("dbo.Auto", "DataDodania", c => c.DateTime(nullable: false));
}
... |
OfaSchlupfer.MSSQLReflection/AST/Nodes/Permission.cs | FlorianGrimm/OfaSchlupfer | 1 | 7047718 | #pragma warning disable SA1107,SA1127,SA1128,SA1402,SA1516,SA1515,SA1600
namespace OfaSchlupfer.MSSQLReflection.AST {
using System.Collections.Generic;
using ScriptDom = Microsoft.SqlServer.TransactSql.ScriptDom;
[System.Serializable]
[System.Diagnostics.DebuggerNonUserCode]
public sealed class Pe... |
src/Lizoc.TextScript/Source/Lizoc/TextScript/Syntax/ScriptConditionStatement.cs | Therzok/textscript | 0 | 7047719 | // -----------------------------------------------------------------------
// <copyright file="ScriptConditionStatement.cs" repo="TextScript">
// Copyright (C) 2018 Lizoc Inc. <http://www.lizoc.com>
// The source code in this file is subject to the MIT license.
// See the LICENSE file in the repository roo... |
MonoDevelop.DBinding/Projects/Dub/DefinitionFormats/DubJson.cs | gitter-badger/Mono-D | 0 | 7047720 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Newtonsoft.Json;
using MonoDevelop.Projects;
using System.Text.RegularExpressions;
using MonoDevelop.D.Building;
using MonoDevelop.Core;
namespace MonoDevelop.D.Projects.Dub.Defin... |
GageStatsDB/Migrations/20201027153515_LocationSource.Designer.cs | USGS-WiM/GageStatsServices | 0 | 7047721 | <reponame>USGS-WiM/GageStatsServices
// <auto-generated />
using System;
using GageStatsDB;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using NetTopologySuite.Geomet... |
Content/Items/Materials/StarFragment.cs | Steviegt6/Terrexpansion | 1 | 7047722 | <filename>Content/Items/Materials/StarFragment.cs
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
namespace Terrexpansion.Content.Items.Materials
{
public class StarFragment : BaseItem
{
public override void SetStaticDefaults()
{
Tooltip.SetDefault("Disappears aft... |
Chapter4/Touch/Touch/MainPage.xaml.cs | JeremyLikness/BuildWin8Apps | 1 | 7047723 | <reponame>JeremyLikness/BuildWin8Apps
using System;
using System.Collections.ObjectModel;
using Windows.System;
using Windows.UI.Popups;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Navigation;
namespace Touch
{
/// <summary>
/// An empty page that can be used on its ow... |
DTE2781/StarCake/Server/Models/Interfaces/IDepartmentRepository.cs | Unicron2k/dte_bsc | 0 | 7047724 | using System.Collections;
using System.Collections.Generic;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading.Tasks;
using StarCake.Server.Models.Entity;
using StarCake.Shared.Models.ViewModels;
namespace StarCake.Server.Models.Interfaces
{
public interface IDepartmentRepositor... |
CriptografiaSimetricaWeb/Algoritmos/Twofish.cs | danilo-uea/CriptografiaSimetrica | 0 | 7047725 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CriptografiaSimetricaWeb.Algoritmos
{
class Twofish
{
private byte[] z = new byte[4];
private uint t0, t1;
private byte[] a = new byte[5];
private byte[... |
AsmJit/CompilerContext/Fetcher.cs | hypeartist/AsmJ | 94 | 7047726 | using System;
using System.Collections.Generic;
using AsmJit.AssemblerContext;
using AsmJit.Common;
using AsmJit.Common.Operands;
using AsmJit.CompilerContext.CodeTree;
namespace AsmJit.CompilerContext
{
internal sealed class Fetcher
{
private enum Result
{
// Switch,
Do,
Break,
Done,
NextGroup... |
Source/Visio/DispatchInterfaces/IVBUndoUnit.cs | NetOfficeFw/NetOffice-LegacyRepository | 99 | 7047728 | using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.VisioApi
{
///<summary>
/// DispatchInterface IVBUndoUnit ... |
Gothic/Session/oCGame.cs | Sumpfkraut-Online/SumpfkrautOnline-Khorinis | 11 | 7047729 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinApi;
using Gothic.Types;
using Gothic.Objects;
using Gothic.View;
namespace Gothic.Session
{
public class oCGame : zCSession
{
public const int ogame = 0xAB0884;
public oCGame()
... |
Awesome.FeedParser/Models/Media/MediaRestrictionRelationship.cs | SirJohnK/Awesome.FeedParser | 2 | 7047730 | namespace Awesome.FeedParser.Models.Media
{
/// <summary>
/// Indicates the type of relationship that a restriction represents.
/// </summary>
public enum MediaRestrictionRelationship
{
Allow = 0,
Deny = 1
}
} |
src/Meadow.UnitTestTemplate/Global.cs | michaelsproul/Meadow | 116 | 7047731 | <filename>src/Meadow.UnitTestTemplate/Global.cs
using Meadow.Contract;
using Meadow.Core.AccountDerivation;
using Meadow.Core.Utils;
using Meadow.CoverageReport;
using Meadow.CoverageReport.Debugging;
using Meadow.DebugAdapterServer;
using Meadow.DebugAdapterServer.DebuggerTransport;
using Meadow.JsonRpc;
using Meadow... |
Assets/Scripts/Levels/domain/repositories/ILevelCompletedStateRepository.cs | denisrebrof/yandex-games-hc-sample | 0 | 7047732 | using System;
namespace Levels.domain.repositories
{
public interface ILevelCompletedStateRepository
{
IObservable<bool> GetLevelCompletedState(long levelId);
bool GetLevelCompletedStateValue(long levelId);
void SetLevelCompleted(long levelId);
}
} |
Assets/Scripts/ExitBehaviour.cs | DeanCabral/Black-And-White | 0 | 7047733 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class ExitBehaviour : NetworkBehaviour {
public bool BL_exitActive = false;
public GameObject exitPad;
public Material activeMat;
public Material inactiveMat;
private GameManage... |
MiniTrade.ConsoleApp/Services/AppStartupService.cs | ongzhixian/mini-trade | 0 | 7047734 | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using MiniTrade.ConsoleApp.Models;
using System.Text.Json;
namespace MiniTrade.ConsoleApp.Services;
internal static class AppStartupService
{
internal static void ConfigureApp(Func<Action... |
Assets/Scripts/RavenNest.SDK/Endpoints/CharacterStateUpdate.cs | 2suns/Ravenfall | 0 | 7047735 |
using static RavenNest.SDK.Endpoints.WebSocketEndpoint;
namespace RavenNest.SDK.Endpoints
{
public class CharacterStateUpdate
{
public CharacterStateUpdate(
string userId,
int health,
string island,
string duelOpponent,
bool inRaid, ... |
Themes/HelloWorld/Views/NotFound.cshtml | Evgeniy-Batov/HelloWorldSite | 0 | 7047736 | <div class="content">
<div class="block-inner">
<div class="wrap404">
<div class="right-404">
<img src="~/Themes/Helloworld/Content/images/404.jpg" alt="Страница 404">
</div>
<div class="left-404">
<img src="~/Themes/Helloworld/Content/ima... |
src/Core/Anno.Rpc.Client/Thrift/Server/TThreadPoolServer.cs | microserviceframe/Anno.Core | 1 | 7047737 | using System;
using System.Threading;
using Thrift.Protocol;
using Thrift.Transport;
namespace Thrift.Server
{
/// <summary>
/// Server that uses C# built-in ThreadPool to spawn threads when handling requests.
/// </summary>
public class TThreadPoolServer : TServer
{
private const Int32 DEF... |
src/Api.Domain/Interfaces/Services/Register/IRegisterService.cs | fabioborges-ti/webapi.netcore-efcore-ddd-tests | 6 | 7047738 | using Api.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Api.Domain.Interfaces.Services.Register
{
public interface IRegisterService
{
Task<UserEntity> GetRegisterById(Guid id);
Task<IEnumerable<UserEntity>> GetRegisters();
}
}
|
src/app-ropio/AppRopio.ECommerce/Products/Core/ViewModels/Catalog/Items/ICatalogItemVM.cs | pocheshire/AppRopio.Mobile | 0 | 7047739 | using System.Collections.Generic;
using AppRopio.Models.Products.Responses;
using MvvmCross.Core.ViewModels;
namespace AppRopio.ECommerce.Products.Core.ViewModels.Catalog.Items
{
public interface ICatalogItemVM : IMvxViewModel, IMarkedItemVM
{
Product Model { get; }
string Id { get; }
... |
src/SpeakyClient/SpeakyClient/LoginWindow.cs | freshstudio/speakyclient | 1 | 7047740 | <reponame>freshstudio/speakyclient
using System;
using SpeakyClient.Speaky.LogIn;
namespace SpeakyClient
{
public partial class LoginWindow : Gtk.Window
{
private LogInMethod _logInMethod;
public LoginWindow(LogInMethod logInMethod) :
base(Gtk.WindowType.Toplevel)
{
... |
Qsi.PostgreSql/Internal/PG10/Types/ExprContext_CB.cs | ScriptBox99/chequer-qsi | 36 | 7047741 | /* Generated by QSI
Date: 2020-08-12
Span: 162:1 - 167:17
File: src/postgres/include/nodes/execnodes.h
*/
namespace Qsi.PostgreSql.Internal.PG10.Types
{
internal class ExprContext_CB
{
public ExprContext_CB[] next { get; set; }
public string[] function { get; set; }
public uint? ... |
src/SoftwarePioniere.Projections.Services.EventStore/RecordedEventExtensions.cs | SoftwarePioniere/SoftwarePioniere.EventStore | 1 | 7047742 | using System;
using System.Collections.Generic;
using EventStore.ClientAPI;
using Newtonsoft.Json;
using SoftwarePioniere.EventStore;
using SoftwarePioniere.Messaging;
namespace SoftwarePioniere.Projections.Services.EventStore
{
public static class RecordedEventExtensions
{
public static IDomainEvent ... |
cards/TB/TB/Sim_TB_SPT_DPromoSecret6.cs | chi-rei-den/Silverfish | 1 | 7047743 | /* _BEGIN_TEMPLATE_
{
"id": "TB_SPT_DPromoSecret6",
"name": [
"巫师视界",
"Visions of the Sorcerer"
],
"text": [
"<b>奥秘:</b>当你的对手使用一张具有<b>法术伤害</b>的随从牌时,召唤2个守卫。",
"<b>Secret:</b> When your opponent plays a minion with <b>Spell Damage</b>, Summon 2 Guardians."
],
"cardClass": "WARRIOR",
"type": ... |
src/Marcus.Bus.Abstractions/ITime.cs | belczyk/Marcus.Bus | 2 | 7047744 | <gh_stars>1-10
using System;
namespace Marcus.Bus
{
public interface ITime
{
DateTime Now { get; }
void OverrideTime(DateTime referenceNow);
}
} |
SharpMedia.Graphics/Shaders/Operations/ExpandOperation.cs | zigaosolin/SharpMedia | 0 | 7047745 | <reponame>zigaosolin/SharpMedia
// This file constitutes a part of the SharpMedia project, (c) 2007 by the SharpMedia team
// and is licensed for your use under the conditions of the NDA or other legally binding contract
// that you or a legal entity you represent has signed with the SharpMedia team.
// In an event tha... |
OMS.Web/Controllers/PermissionController.cs | yezhaocan/OMS | 0 | 7047746 | <filename>OMS.Web/Controllers/PermissionController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using OMS.Core;
using OMS.Data.Domain.Permissions;
using OMS.Model.Grid;
using OMS.Model.Menu;
using OMS.Model.Permission;
using OMS.Mod... |
2.odev_Blog_demo/Blog_demo/obj/Debug/net5.0/Razor/Views/Category/CategoryAdd.cshtml.g.cs | Patika-dev-Apsiyon-NET-Core-Bootcamp/seymademir_bootcamphomeworks | 0 | 7047747 | #pragma checksum "C:\Users\SYM DMR\source\repos\Blog_demo\Blog_demo\Views\Category\CategoryAdd.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f94fcc622938a5f5bc8e0ad9cb7082d22df38519"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(ty... |
Public/Src/Cache/ContentStore/Test/Synchronization/IpcUtilitiesTests.cs | miniksa/BuildXL | 448 | 7047748 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Threading;
using BuildXL.Cache.ContentStore.Utils;
using FluentAssertions;
using Xunit;
namespace ContentStoreTest.Synchronization
{
[Trait("Category", "Synch")]
[Trait("Category", "WindowsOSOnly")]
public ... |
src/BunBlog.Core/Exceptions/BunBlogConfigException.cs | huhubun/BunBlog | 1 | 7047749 | using System;
namespace BunBlog.Core.Exceptions
{
public class BunBlogConfigException : Exception
{
public BunBlogConfigException(string configSectionName) : base()
{
ConfigSectionName = configSectionName;
}
public BunBlogConfigException(string configSectionName, s... |
aspnet-core/src/HC.WeChat.Application/PurchaseRecords/IPurchaseRecordAppServices.cs | DonaldTdz/GAWeChat | 10 | 7047750 | using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using HC.WeChat.PurchaseRecords.Dtos;
using HC.WeChat.PurchaseRecords;
using System;
using HC.WeChat.Dto;
namespace HC.WeChat.PurchaseRecords
{
/// <summary>
/// PurchaseRecord应用... |
LandRushUnity/Assets/Scripts/VRDevice/ControllerInteraction.cs | sunaliner/LandRushProject | 0 | 7047751 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityScriptHelper;
public class ControllerInteraction : MonoBehaviourEx
{
#region outlets
public event UnityAction TriggerButtonDown;
public event UnityAction TriggerButtonUp;
public event U... |
src/NoesisLabs.Elve.Kodi/XBMCRPC/XBMCRPC/Video/Fields/MovieSet.cs | RyanMelenaNoesis/ElveKodiDriver | 0 | 7047752 | <filename>src/NoesisLabs.Elve.Kodi/XBMCRPC/XBMCRPC/Video/Fields/MovieSet.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Linq;
using System.Runtime.Serialization;
namespace XBMCRPC.Video.Fields
{
public enum MovieSetItem
{
title,
playcount,
fanart,
... |
Assets/Scripts/FollowTarget.cs | digilearnnials/GGJ2021 | 0 | 7047753 | using UnityEngine;
public class FollowTarget : MonoBehaviour
{
public Transform target = default;
[SerializeField] private Vector3 offsetPos = new Vector3(0, 10, 0);
private void LateUpdate()
{
if(target) transform.position = target.position + offsetPos;
}
}
|
EmberLib.net/EmberPlusRouter/Model/Element.cs | purefunsolutions/ember-plus | 78 | 7047754 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EmberPlusRouter.Model
{
abstract class Element
{
public Element(int number, Element parent, string identifier)
{
Parent = parent;
Number = number;
Identifier = iden... |
mTouch/App/Views/About/AboutTableVC.cs | AlexanderMac/FileExplorerMobile | 3 | 7047755 | <filename>mTouch/App/Views/About/AboutTableVC.cs<gh_stars>1-10
//
// AboutVC.cs
//
// Author:
// <NAME> (macasun) <<EMAIL>>
//
// Copyright (c) 2013 <NAME>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published ... |
Extensions.Tests/TestConfigurationSection.cs | affecto/dotnet-Configuration.Extensions | 0 | 7047756 | using System.Configuration;
namespace Affecto.Configuration.Extensions.Tests
{
public class TestConfigurationSection : ConfigurationSection
{
private static readonly TestConfigurationSection SettingsInstance = ConfigurationManager.GetSection("testConfiguration") as TestConfigurationSection;
p... |
ClientService/Areas/Movie/Controllers/UserCommentController.cs | ilovepilav/MovieDB-MultiAPI-CMS | 1 | 7047757 | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using ClientService.Helpers;
using ClientService.Helpers.Comment;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ClientService.Areas.Movie.Controllers
{
public class UserCommentCon... |
src/IdentityServer/Net/MyApp/Startup.cs | lozanotek/aspnet-security | 1 | 7047758 | <filename>src/IdentityServer/Net/MyApp/Startup.cs
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.IdentityModel.Tokens;
using System.IdentityModel.Tokens.Jwt;
using IdentityModel;
... |
Core/Piranha/Web/Handlers/RequestHandlerCollection.cs | samuelmaxton/Piranha | 309 | 7047759 | /*
* Copyright (c) 2011-2015 <NAME>
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* http://github.com/piranhacms/piranha
*
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Lin... |
Source/Algorithms/Algorithms.Visualize/Program.cs | SaeidSabzalizadeh/algorithms-in-csharp | 0 | 7047760 | <filename>Source/Algorithms/Algorithms.Visualize/Program.cs
using Algorithms.Strings.Pattern;
using Algorithms.Strings.Search;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
namespace Algorithms.Visualize
{
class Program
{
static... |
src/Ghostly.GitHub.Tests/Unit/GitHubNotificationInfoComparerTests.cs | patriksvensson-forks/ghostly | 240 | 7047761 | <gh_stars>100-1000
using System.Collections.Generic;
using Ghostly.GitHub;
using Shouldly;
using Xunit;
namespace Ghostly.Tests.Unit.GitHub
{
public sealed class GitHubNotificationInfoComparerTests
{
[Fact]
public void Should_Work_As_Expected_With_HashSet_2()
{
// Given, Whe... |
src/DataGg.Core/Guernsey/Traffic/TrafficCollisions.cs | open-data-channel-islands/data.gg | 1 | 7047762 | <filename>src/DataGg.Core/Guernsey/Traffic/TrafficCollisions.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace DataGg.Core.Guernsey.Traffic
{
public class TrafficCollisions
{
... |
ExcelToByteFile/Utils/Log.cs | mzbswh/UnityExcelTool | 1 | 7047763 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ExcelToByteFile
{
class Log
{
public static void LogConsole(string msg)
{
Console.WriteLine(msg);
}
public static void Inf... |
src/FactoryFactory/Registration/Impl/Descriptors/DefinitionServiceDescriptor.cs | jammycakes/nooshka | 0 | 7047764 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using FactoryFactory.Util;
using Microsoft.Extensions.DependencyInjection;
namespace FactoryFactory.Registration.Impl.Descriptors
{
public class DefinitionServiceDescriptor : ServiceDescriptor, IServiceDefinition
{
private E... |
src/Markdig.Tests/TestRelativeUrlReplacement.cs | ckolumbus/markdig | 616 | 7047765 | using System;
using System.IO;
using Markdig.Parsers;
using Markdig.Renderers;
using NUnit.Framework;
namespace Markdig.Tests
{
public class TestRelativeUrlReplacement
{
[Test]
public void ReplacesRelativeLinks()
{
TestSpec("https://example.com", "Link: [hello](/relative.jpg... |
source/DD4T.RestService.WebApi/Controllers/PageController.cs | dd4t/DD4T.RestService | 1 | 7047766 | <gh_stars>1-10
using DD4T.ContentModel.Contracts.Providers;
using DD4T.ContentModel.Contracts.Logging;
using DD4T.RestService.WebApi.Helpers;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace DD4T.Re... |
src/Workspaces/Core/Desktop/Workspace/Esent/EsentStorage.IdentifierLocationTable.cs | bbarry/roslyn | 1 | 7047767 | // 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 Microsoft.Isam.Esent.Interop;
namespace Microsoft.CodeAnalysis.Esent
{
internal partial class EsentStorage
{
public class IdentifierLoc... |
DeconTools.Backend/Data/Importers/Importer.cs | PNNL-Comp-Mass-Spec/DeconTools | 10 | 7047768 | using System;
using System.Collections.Generic;
namespace DeconTools.Backend.Data
{
public abstract class Importer<T>
{
public abstract T Import();
protected char delimiter = '\t';
protected string lookup(List<string> data, List<string> headers, string targetHeader)
... |
JobInterview/JobInterview.AssetExchanger/Concretes/CancellationTokenSourceFactory.cs | ppetrov-dev/JobInterview | 0 | 7047769 | <reponame>ppetrov-dev/JobInterview
using System.Threading;
using JobInterview.AssetExchanger.Abstractions;
namespace JobInterview.AssetExchanger.Concretes
{
internal class CancellationTokenSourceFactory : ICancellationTokenSourceFactory
{
public CancellationTokenSource Create()
{
r... |
QICore.NIdentityServer4/Startup.cs | jacklong1979/QICore | 2 | 7047770 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensio... |
Astrarium.Types/SmartFilter.cs | AlexanderKrutov/Astrarium | 1 | 7047771 | <reponame>AlexanderKrutov/Astrarium<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text.RegularExpressions;
namespace Astrarium.Types
{
public class SmartFilterItem
{
public string Property { get; }
public string Ope... |
Assets/QFramework/ScriptKit/Helper/LuaHelper.cs | SkyAbyss/QFramework | 0 | 7047772 | /****************************************************************************
* Copyright (c) 2019.2 vin129
*
* http://qframework.io
* https://github.com/liangxiegame/QFramework
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentatio... |
src/dsian.TwinCAT.Ads.Server.Mock/Behavior/ReadWriteIndicationBehavior.cs | mgnslndh/dsian.TwinCAT.Ads.Server.Mock | 2 | 7047773 | using System;
using TwinCAT.Ads;
namespace dsian.TwinCAT.Ads.Server.Mock
{
/// <summary>
/// Behavior / response for a ADS ReadWriteIndication
/// </summary>
public record ReadWriteIndicationBehavior(uint IndexGroup, uint IndexOffset,int ExpectedLength, Memory<byte> ResponseData, AdsErrorCode Err... |
Assets/Scripts/Credits.cs | chriswinnett/TinyMidnightSavages | 0 | 7047774 | <gh_stars>0
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class Credits : MonoBehaviour {
public Canvas credits;
public Text textLogo;
public Text textLogoShadow;
public string destination = "";
Color[] colors = new Color[5];
// Use this for initialization
void Sta... |
sdk/dotnet/SQLAdmin/V1/Inputs/IpConfigurationArgs.cs | AaronFriel/pulumi-google-native | 44 | 7047775 | <gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
name... |
C# Web/C# Web Basics/C# Web Development Basics Exam - 25 Oct 2020/Apps/Git/Services/CommitsService.cs | amartinn/SoftUni | 3 | 7047776 | <reponame>amartinn/SoftUni
using Git.Data;
using Git.Data.Models;
using Git.ViewModels.Commits;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Git.Services
{
public class CommitsService : ICommitsService
{
private readonly ApplicationDbContext db;
... |
MultiStringMultiFileSearcher/bin/Release/netcoreapp2.0/win-x64/AppConfig.cs | Ximanz/MultiStringMultiFileSearcher | 0 | 7047777 | <reponame>Ximanz/MultiStringMultiFileSearcher
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Configuration;
namespace GenerateGraphForStreams
{
public class AppConfig
{
public AppConfig(IConfiguration configuration = null)
{
... |
Assets/MapEditor/Managers/SettingsManager.cs | jamesalbert/Editor | 0 | 7047779 | <reponame>jamesalbert/Editor<gh_stars>0
using System;
using System.IO;
using UnityEditor;
using UnityEngine;
using RustMapEditor.Variables;
public static class SettingsManager
{
public const string SettingsPath = "EditorSettings.json";
public const string BundlePathExt = @"\Bundles\Bundles";
public stati... |
Source/Web/PickUp.Web/Areas/Administration/ViewModels/Users/UserGridViewModel.cs | ivanvasilev/PickUp | 0 | 7047780 | <reponame>ivanvasilev/PickUp
namespace PickUp.Web.Areas.Administration.ViewModels
{
using System;
using PickUp.Data.Models;
using PickUp.Web.Infrastructure.Mapping;
public class UserGridViewModel : IMapFrom<ApplicationUser>
{
public string Id { get; set; }
public string Email { ge... |
Defs/ExtJs/Ext.ux.SlidingPager.cs | SharpKit/SharpKit-SDK | 12 | 7047781 | //***************************************************
//* This file was generated by tool
//* SharpKit
//* At: 29/08/2012 03:59:42 p.m.
//***************************************************
using SharpKit.JavaScript;
namespace Ext.ux
{
#region SlidingPager
/// <summary>
/// <p>Plugin for PagingToolbar which... |
services/Models/County.cs | samanthas14/cdms-be-public | 0 | 7047782 |
namespace services.Models
{
public class County
{
public int Id { get; set; }
public string Name { get; set; }
public int SubprojectId { get; set; }
public int ProjectId { get; set; }
}
} |
src/ActiveLogin.Authentication.GrandId.Api/Models/ErrorExtensions.cs | bemafred/ActiveLogin.Authentication | 172 | 7047783 | using System;
namespace ActiveLogin.Authentication.GrandId.Api.Models
{
internal static class ErrorExtensions
{
public static ErrorCode GetErrorCode(this Error error)
{
return Enum.TryParse<ErrorCode>(error.Code, true, out var errorCode) ? errorCode : ErrorCode.Unknown;
}
... |
src/Tests/Tests/Document/Multiple/ReindexRethrottle/ReindexRethrottleUrlTests.cs | mouseflow/elasticsearch-net | 2 | 7047784 | using System.Threading.Tasks;
using Elastic.Xunit.XunitPlumbing;
using Nest;
using Tests.Framework.EndpointTests;
using static Tests.Framework.EndpointTests.UrlTester;
namespace Tests.Document.Multiple.ReindexRethrottle
{
public class ReindexRethrottleUrlTests : UrlTestsBase
{
private readonly TaskId _taskId = "r... |
specs/MockGen.Specs/Generated/Setup/ActionConfigurationP1P2.cs | thomas-girotto/MockGen | 15 | 7047785 | using MockGen.Matcher;
using System;
namespace MockGen.Setup
{
internal class ActionConfiguration<TParam1, TParam2>
{
private readonly ActionConfigurationBase baseConfiguration;
public ActionConfiguration(ActionConfigurationBase baseConfiguration)
{
this.baseCon... |
Zapp.Tests/Catalogue/FusionCatalogueTests.cs | omniaretail/zapp | 5 | 7047786 | <filename>Zapp.Tests/Catalogue/FusionCatalogueTests.cs
using AntPathMatching;
using Moq;
using NUnit.Framework;
using System.IO;
using System.Linq;
using Zapp.Perspectives;
namespace Zapp.Catalogue
{
public class FusionCatalogueTests : TestBiolerplate<FusionCatalogue>
{
private DirectoryInfo[] directo... |
src/implementations/Backend.Fx.SimpleInjetorDependencyInjection/SimpleInjectorInstanceProvider.cs | marcwittke/Backend.Fx | 3 | 7047787 | using System;
using System.Collections;
using System.Collections.Generic;
using Backend.Fx.Patterns.DependencyInjection;
using SimpleInjector;
namespace Backend.Fx.SimpleInjectorDependencyInjection
{
public class SimpleInjectorInstanceProvider : IInstanceProvider
{
private readonly Container _container... |
Typeform.Sdk.CSharp/Enums/FontType.cs | jnhaffey/typeform-sdk | 3 | 7047788 | <filename>Typeform.Sdk.CSharp/Enums/FontType.cs
namespace Typeform.Sdk.CSharp.Enums
{
public enum FontType
{
Acme,
Arial,
Arvo,
AvenirNext,
Bangers,
Cabin,
CabinCondensed,
Courier,
CreteRound,
DancingScript,
Exo,
Ge... |
provas-de-conceitos/unit-of-work/Project.UnitOfWork/Core/IUnitOfWork.cs | TaigoSantos/Visual-Studio-Architecture | 2 | 7047789 | <gh_stars>1-10
using Project.UnitOfWorkProject.Repositories;
using System;
using System.Threading.Tasks;
namespace Project.UnitOfWorkProject.Core
{
public interface IUnitOfWork : IDisposable
{
TRepository GetRepository<TRepository>() where TRepository : IRepository;
int Commit();
Task... |
src/HideWasteBarPackage.cs | nil4/hide-vs-wastebar | 0 | 7047790 | <reponame>nil4/hide-vs-wastebar<filename>src/HideWasteBarPackage.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Media;
using Microsoft.VisualStudio... |
dotnet/SecureApp/SecureApp.Utilities/Network/Server/RemoteCalls/RemoteCallServerManager.cs | developervariety/secureapp | 18 | 7047791 | <reponame>developervariety/secureapp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using SecureApp.Utilities.Model.Enum.RemoteCalls;
using SecureApp.Utilities.Network.RemoteCalls;
namespace SecureApp.Utilities.Network.Server.RemoteCalls
{
internal class RemoteCallSer... |
JeuVideoJoliette/Assets/City Builder Template/Scripts/isometric/_base_item/DefenderScript.cs | MartinDesrosiers/JeuVideoJoliette | 0 | 7047792 | <reponame>MartinDesrosiers/JeuVideoJoliette<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class DefenderScript : MonoBehaviour
{
private BaseItemScript _baseItem;
private BaseItemScript _currentTarget;
private Vector3 _currentTargetPoint;
public v... |
RobustGeometry.Wpf/HalfedgeMesh/TriangleMesh.cs | akopetsch/RobustGeometry.NET | 62 | 7047793 | <gh_stars>10-100
using System.ComponentModel;
using System.Windows;
using RobustGeometry.HalfedgeMesh;
namespace RobustGeometry.Wpf.HalfedgeMesh
{
// CONSIDER: Make Struct?
// Can we measure the performance difference?
public class PointVertexTraits : IPoint, IPointUpdate, INotifyPropertyChanged... |
Libraries/src/Amazon.Lambda.KinesisAnalyticsEvents/KinesisAnalyticsStreamsInputPreprocessingEvent.cs | Doug-AWS/aws-lambda-dotnet | 2 | 7047794 | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Amazon.Lambda.KinesisAnalyticsEvents
{
/// <summary>
/// This class represents the event from Kinesis Analytics application to preprocess Kinesis stream data.
/// </summary>
[DataContract]
public class Ki... |
src/WYBlog.ToolKits/CodeGenerator/CodeGenerateConfig.cs | wyDuang/Blog | 4 | 7047795 | using System;
namespace WYBlog.CodeGenerator
{
/// <summary>
/// 代码生成选项
/// </summary>
public class CodeGenerateConfig
{
/// <summary>
/// 代码生成时间
/// </summary>
public string GeneratorTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
/// <s... |
WebAppCittSanJoaquin/WebApp-MVC/Views/Account/modTaller.cshtml | ImRamButBlue/ProyectoAsistenciaCitt2018 | 2 | 7047796 | @using WebApp_MVC.Models;
@{
ViewBag.Title = "modTaller";
}
<div>
<div class="radio media-middle" align="center">
<a class="btn btn-primary" @Html.ActionLink("Volver", "OperacionesTalleres", "Account")</a>
<h2>Modificacion de Taller</h2>
@using (Html.BeginForm("modificTaller", "Account... |
Lukomor/Scripts/Application/Contexts/ContextBase.cs | vavilichev/UnityCodeArchitecture | 0 | 7047797 | using System.Linq;
using System.Threading.Tasks;
using Lukomor.Application.Features;
using Lukomor.Application.Services;
using Lukomor.Application.Signals;
using Lukomor.DIContainer;
using VavilichevGD.Tools.Async;
namespace Lukomor.Application.Contexts
{
public abstract class ContextBase : IContext
{
public bool... |
TransactionsManager/TransactionsManager.API/ResponseModels/QueryResponseModels/GetTransactionsResponseModel.cs | maxchn/TransactionsManagerApp | 0 | 7047798 | <gh_stars>0
using System.Collections.Generic;
using TransactionsManager.API.DbEntities;
namespace TransactionsManager.API.ResponseModels.QueryResponseModels
{
public class GetTransactionsResponseModel
{
public bool IsSuccess { get; set; }
public IList<Transaction> Transactions { get; set; }
... |
com.miaow/com.miaow.Models.NovelModel/ChapterModel.cs | jaapyang/books | 2 | 7047799 | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.miaow.Core.Domain.Entities;
namespace com.miaow.Models.NovelModel
{
public class ChapterModel:Entity<int>
{
[Key... |
Assets/Scripts/AI/Enemy.cs | VoluntadDeLacalle/FPS-and-Enemy-Interaction-Prototyping | 0 | 7047800 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Gavin Wrote This
public class Enemy : MonoBehaviour
{
public virtual void Attacking() { }
public virtual void AttackEnter() { }
public virtual void Idling() { }
public virtual void IdleEnter() { }
public virtual vo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.