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/GlobeViz/DataBars.cs | ram66351/ARCoreViz | 0 | 7066530 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class DataBars : MonoBehaviour
{
public GameObject Bar;
public Vector3 posOnSphere;
public int TotalConfirmed;
public int TotalDeath;
public int TotalRecovered;
public List<CovidExtraInfo> E... |
src/AssemblyDefender.UI.Model/ShellUtils.cs | nickyandreev/AssemblyDefender | 8 | 7066531 | <reponame>nickyandreev/AssemblyDefender
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Microsoft.Build.BuildEngine;
using Build = Microsoft.Build.BuildEngine;
namespace AssemblyDefender.UI.Model
{
internal static class ShellUtils
{
internal static bool... |
ClassWork_11.02.2020/ClassWork_11.02.2020/View/SpecialtyEditorForm.cs | filthyman/Class-HomeWork | 0 | 7066532 | using ClassWork_11._02._2020.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ClassWork_11._02._2020.View
{
public partial class Sp... |
NWN.ChatTools/src/Commands/ChatCommandService.cs | Jorteck/NWN.ChatTools | 1 | 7066533 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text.RegularExpressions;
using Anvil.API;
using Anvil.API.Events;
using Anvil.Services;
namespace Jorteck.ChatTools
{
[ServiceBinding(typeof(ChatCommandService))]
internal sealed class ChatCommandSer... |
src/Spine/Event.cs | moto2002/tianqi_src | 5 | 7066534 | <filename>src/Spine/Event.cs
using System;
namespace Spine
{
public class Event
{
public EventData Data
{
get;
private set;
}
public int Int
{
get;
set;
}
public float Float
{
get;
set;
}
public string String
{
get;
set;
}
public Event(EventData data)
{
this... |
MYear.ODA.DevTool/SQLDevlop.Designer.cs | riwfnsse/MYear.ODA | 11 | 7066535 | namespace MYear.ODA.DevTool
{
partial class SQLDevlop
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... |
Assets/Scripts/Model/Artifacts/Rare/BloodStone.cs | unagi11/project21 | 2 | 7066536 | using Common;
using UnityEngine;
namespace Model.Artifacts.Rare
{
public class BloodStone : Artifact
{
public BloodStone()
{
Name = "Blood Stone";
Grade = ArtifactGrade.Rare;
Description = "턴 종료시 체력을 1 회복한다.";
SpriteNumber = 513;
InCo... |
Medidata.RWS.NET.Standard/ODM/1.3.1/ArchiveLayoutRef.cs | mskcc/Medidata.RWS.NET.Standard | 2 | 7066537 | namespace Medidata.RWS.NET.Standard.ODM
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.7.2612.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttri... |
src/Server/Nadmin/Authentication/JwtBearerCustomEvents.cs | xjj0906/nadmin | 1 | 7066538 | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.JwtBearer;
namespace Nadmin.Authentication
{
public class JwtBearerCustomEvents : JwtBearerEvents
{
public JwtBearerCustomEvents()
{
OnMessageReceived = context =>
{
context.Token = ... |
DirtyMagic.Input/Hooks/Events/MouseScrollEvent.cs | Dramacydal/WhiteMagic | 24 | 7066539 | using DirtyMagic.WinAPI.Structures;
namespace DirtyMagic.Hooks.Events
{
public class MouseScrollEvent : MouseEvent
{
public ScrollDirection Direction { get; }
public int Delta { get; }
internal MouseScrollEvent(WM @event, MSLLHOOKSTRUCT raw) : base(MouseEventType.Scroll)
{
... |
Furs2Feathers/Furs2Feathers.Domain/Models/Employee.cs | 2002-feb24-net/Fur2FeathersAPI-project3 | 0 | 7066540 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace Furs2Feathers.Domain.Models
{
public class Employee
{
public int EmpId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public List<Invoice> Invoice... |
Source/Publisher/DispatchInterfaces/Documents.cs | brunobola/NetOffice | 1 | 7066541 | <reponame>brunobola/NetOffice
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using System.Collections;
using NetOffice;
namespace NetOffice.PublisherApi
{... |
Homework3/Program.cs | qua11q7/Cryptography | 0 | 7066542 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Homework3 {
class Program {
static void Main(string[] args) {
Stopwatch watch = new Stopwatch();
watch.Start();
// SY... |
ServiceCollectionExtensions.cs | maxisam/ylast.Caching.ServiceStackRedis | 1 | 7066543 | using System;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
namespace ylast.Caching.ServiceStackRedis {
public static class ServiceCollectionExtensions {
/// <summary>
/// Adds Redis distributed caching services t... |
src/Microsoft.TemplateSearch.TemplateDiscovery/Nuget/NugetPackProvider.cs | AR-May/templating | 0 | 7066544 | <filename>src/Microsoft.TemplateSearch.TemplateDiscovery/Nuget/NugetPackProvider.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.CompilerServices;
using Microsoft.TemplateSearch.TemplateDiscovery.PackProvid... |
OY.Solution/OY.TopSdk/Response/TradeConfirmfeeGetResponse.cs | objectyan/MyTools | 0 | 7066545 | using System;
using System.Xml.Serialization;
using Top.Api.Domain;
namespace Top.Api.Response
{
/// <summary>
/// TradeConfirmfeeGetResponse.
/// </summary>
public class TradeConfirmfeeGetResponse : TopResponse
{
/// <summary>
/// 获取到的交易确认收货费用
/// </summary>
[XmlEle... |
server/BorrowBuddy.Models/Resources/Flow.cs | romansp/BorrowBuddy | 0 | 7066546 | <filename>server/BorrowBuddy.Models/Resources/Flow.cs
using System;
namespace BorrowBuddy.Models.Resources {
public class Flow {
public Guid Id { get; set; }
public Guid Lender { get; set; }
public Guid Lendee { get; set; }
public long Amount { get; set; }
public string CurrencyCode { get; set; }... |
Libraries/HyperGraph.Extras/Package/PackageVocabulary.cs | titanix/HyperGraph_Public | 0 | 7066547 | <filename>Libraries/HyperGraph.Extras/Package/PackageVocabulary.cs
namespace Leger.Extra.Package
{
public static class DictionaryPackageVocabulary
{
public const string PackageRelationshipGraphFile = "https://vocab.lecailliez.net/package/graph/general/xml";
public const string PackageRelat... |
EmployeeConnect/Views/EmployeeConnect/CreateTicket.cshtml | Abhijit-MSFT/EmployeeConnect | 1 | 7066548 | <filename>EmployeeConnect/Views/EmployeeConnect/CreateTicket.cshtml<gh_stars>1-10
@model EmployeeConnect.Models.PO
@using EmployeeConnect.Common;
@using EmployeeConnect.Helper;
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta htt... |
Smart.Navigation.Tests/Navigation/Strategies/GroupPopStrategyTest.cs | usausa/Smart-Net-Navigation | 16 | 7066549 | <reponame>usausa/Smart-Net-Navigation
namespace Smart.Navigation.Strategies
{
using System;
using System.Threading.Tasks;
using Smart.Mock;
using Xunit;
public class GroupPopStrategyTest
{
// ------------------------------------------------------------
// Navigate
// -... |
src/Ors.Framework/Plugins/IPlugin.cs | tianzhiyuan/Spellet | 1 | 7066550 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ors.Framework.Plugins
{
public interface IPlugin
{
void Install();
void Uninstall();
}
}
|
BoxingWebApplication/BoxingWebApp/Controllers/BoxersController.cs | ktodorov/BoxingWebApp | 0 | 7066551 | using Boxing.Contracts.Dto;
using BoxingWebApp.Services;
using BoxingWebApp.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using PagedList;
using System.Web.Http;
namespace BoxingWebApp.Controllers
{
public clas... |
src/GTranslate/Models/YandexLanguageDetectionModel.cs | d4n3436/GTranslate | 2 | 7066552 | using Newtonsoft.Json;
namespace GTranslate.Models
{
/// <summary>
/// Represents the language detection model for the Yandex.Translate API.
/// </summary>
internal class YandexLanguageDetectionModel
{
/// <summary>
/// Gets the response code.
/// </summary>
[JsonPr... |
src/VisualStudio/Core/Def/Telemetry/VisualStudioLoggingOptionsMetadata.cs | kzrnm/roslyn | 1 | 7066553 | // 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 Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Diagnostics
{
internal static class Vis... |
Assets/Scripts/Tools/ItemTool.cs | michielbos/HorseMoon | 1 | 7066554 | using HorseMoon.Inventory;
using HorseMoon.Inventory.ItemTypes;
using UnityEngine;
namespace HorseMoon.Tools {
public class ItemTool : Tool
{
public ItemInfo itemInfo;
public float carrotDemandMultiplier;
public override bool CanUse(Player player, InteractionObject target)
{
... |
Benchmarks/Benchmarks.ConsoleApp/DITransientResolverBenchmarks.cs | TGrannen/dotnet-samples | 3 | 7066555 | <reponame>TGrannen/dotnet-samples
using Autofac;
using BenchmarkDotNet.Attributes;
using Benchmarks.DILibrary;
using Benchmarks.DILibrary.DIContainers;
using Microsoft.Extensions.DependencyInjection;
using Ninject;
namespace Benchmarks.ConsoleApp
{
[MemoryDiagnoser]
public class DITransientResolverBenchmarks
... |
Assets/U3d-package/Model/Base/Async/MoveNextRunner.cs | misazx/NPBehaviour | 164 | 7066556 | using System.Runtime.CompilerServices;
namespace ETModel
{
/// <summary>
/// 进行下一个异步方法生成的状态机
/// </summary>
/// <typeparam name="TStateMachine">表示为异步方法生成的状态机。此类型仅供编译器使用。</typeparam>
internal class MoveNextRunner<TStateMachine> where TStateMachine : IAsyncStateMachine
{
public TStateMac... |
src/SFA.DAS.EmployerAccounts/Queries/GetEmployerEnglishFractionHistory/GetEmployerEnglishFractionValidator.cs | uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice | 8 | 7066557 | using System;
using System.Threading.Tasks;
using SFA.DAS.EmployerAccounts.Data;
using SFA.DAS.Validation;
namespace SFA.DAS.EmployerAccounts.Queries.GetEmployerEnglishFractionHistory
{
public class GetEmployerEnglishFractionValidator : IValidator<GetEmployerEnglishFractionQuery>
{
private readonly IM... |
src/PM.CloudPlatform.ForkliftManager.Apis/Models/RoleDto.cs | DonPangPang/PM.CloudPlatform.ForkliftManager | 3 | 7066558 | #nullable enable
using System.Collections.Generic;
using AutoMapper;
using PM.CloudPlatform.ForkliftManager.Apis.Entities;
using PM.CloudPlatform.ForkliftManager.Apis.Models.Base;
namespace PM.CloudPlatform.ForkliftManager.Apis.Models
{
/// <summary>
/// 角色
/// </summary>
[AutoMap(typeof(Role), Rever... |
Folia/FoliaResult.cs | Ozytis/albiziapp-react | 0 | 7066559 | using System;
using System.Collections.Generic;
namespace Folia
{
public class FoliaResult
{
public Dictionary<int, string> Species { get; set; }
public Dictionary<int, decimal> Probability { get; set; }
}
} |
Assets/X-UniTMX/Code/TileAnimation.cs | Bware-studios/ld37 | 0 | 7066560 | /*!
* X-UniTMX: A tiled map editor file importer for Unity3d
* https://bitbucket.org/Chaoseiro/x-unitmx
*
* Copyright 2013-2014 Guilherme "Chaoseiro" Maia
* 2014 <NAME>
*/
using System;
using System.Collections.Generic;
using X_UniTMX.Utils;
namespace X_UniTMX
{
/// <summary>
/// A s... |
Assets/UnityChan/Data/Scripts/RandomWind.cs | Kei-Saito2/Onigokko | 5 | 7066561 | using UnityEngine;
namespace UnityChan
{
// ランダムな方向に風を吹かせるスクリプト
[RequireComponent(typeof(DynamicsManager))]
public class RandomWind : MonoBehaviour
{
[Tooltip("有効かどうか。")]
public bool IsActive = true;
[Tooltip("風の強さ。")]
public float Power = 1.0f;
[Tooltip("風向きの変化の速さ。")]
[Range(0.0f, 1.0f)]
public f... |
Ch03/HuffmanCoding.Test/Tests.cs | psuvorov/Real-World-Algorithms-A-Beginner-s-Guide | 0 | 7066562 | using System;
using NUnit.Framework;
namespace HuffmanCoding.Test
{
[TestFixture]
public class Tests
{
[Test]
public void TestCase01()
{
var res = Coder.Perform("a");
Assert.AreEqual("0", res);
}
[Test]
public void TestCase0... |
ImageCropper.UWP/ImageCropper.Events.cs | HHChaos/ImageCropper | 27 | 7066563 | using ImageCropper.UWP.Extensions;
using System;
using Windows.Foundation;
using Windows.System;
using Windows.UI.Core;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
namespace ImageCropper.UWP
{
public partial class ImageCropper
{
private void ControlButton_KeyDow... |
src/Equinox.Domain/Interfaces/ICustomerRepository.cs | ayende/EquinoxProject | 0 | 7066564 | <gh_stars>0
using System;
using System.Linq;
using Equinox.Domain.Models;
namespace Equinox.Domain.Interfaces
{
public interface ICustomerRepository : IRepository<Customer>
{
Customer GetByEmail(string email);
IQueryable<Order> OrdersFor(Guid id);
int OrdersCount(Guid id);
}
} |
DotNet/DotNet/UE4/Generated/Engine/ObjectLibrary.cs | UE4DotNet/Plugin | 2 | 7066565 | <reponame>UE4DotNet/Plugin<gh_stars>1-10
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using ... |
C# Web Developer/C# DB/02.Entity Framework Core/01.DB Apps Introduction/DB_Apps_Introduction/P02_VillainNames/P02_VillainNames.cs | radrex/SoftuniCourses | 7 | 7066566 | <reponame>radrex/SoftuniCourses<filename>C# Web Developer/C# DB/02.Entity Framework Core/01.DB Apps Introduction/DB_Apps_Introduction/P02_VillainNames/P02_VillainNames.cs<gh_stars>1-10
namespace P02_VillainNames
{
using System;
using System.Data.SqlClient;
class P02_VillainNames
{
static void ... |
FYProject1/Views/Admin/BannerDetails.cshtml | KristianR13/Work | 31 | 7066567 | @model FYProject1Classes.BannerMgmt.MainBanner
@{
ViewBag.Title = "🚨 Banner Details";
Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
<h3 class="list-group-item-heading text-center notextselect">Banner Managment</h3>
<div class="col-lg-9">
<div>
<h>Banner Details</h>
<hr />
<dl ... |
projecttags/ProjectTags/obj/Release/AspnetCompileMerge/TempBuildDir/Views/Projects/Index.cshtml | shenjielx/ProjectTags | 1 | 7066568 | @model IEnumerable<ProjectTags.Models.Projects>
@{
ViewBag.Title = "项目列表";
long? userID = ViewBag.UserID;
var rank = ViewBag.Rank;
}
@if (rank == 2)
{
@Html.ActionLink("新建项目", "Create", new { }, new { @class = "btn btn-primary" })
<hr />
}
<div class="row">
@foreach (var item in M... |
ProgrammingFundamentals/18.StringsAndTextProcessing-Exercises/05.MagicExchangeableWords/MagicExchangeableWords.cs | vpaleshnikov/SoftUni-TechModule | 0 | 7066569 | <gh_stars>0
using System;
using System.Linq;
namespace _05.MagicExchangeableWords
{
class MagicExchangeableWords
{
static void Main(string[] args)
{
var input = Console.ReadLine().Split().ToArray();
var first = input[0].Distinct().ToArray();
var second = inp... |
BluConsole/Assets/Plugins/BluConsole/Scripts/Editor/BluConsoleSkin.cs | gilbertoalexsantos/bluconsole | 8 | 7066570 | using UnityEditor;
using UnityEngine;
using BluConsole.Core;
namespace BluConsole.Editor
{
public static class BluConsoleSkin
{
#region Texture
public static Texture ConsoleIcon
{
get
{
return BluLogFiles.Instance.WindowIcon;
}
... |
src/ObjectSql/Core/QueryParts/JoinPart.cs | andrew-bn/ObjectSql | 3 | 7066571 | using System.Linq;
using System.Linq.Expressions;
using ObjectSql.Core.Bo;
namespace ObjectSql.Core.QueryParts
{
public class JoinPart: LambdaBasedQueryPart
{
private readonly JoinType _joinType;
public JoinPart(LambdaExpression expression, JoinType joinType)
:base(expression)
{
_joinType = joinType;
... |
MovieCharactersAPI/Models/CharacterDbContext.cs | DamianRavn/Assignment7-Web-Server-Development-in-ASP.NET-Core | 0 | 7066572 | using Microsoft.EntityFrameworkCore;
using MovieCharactersAPI.Models;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
namespace MovieCharactersAPI.Models
{
public class CharacterDbContext : DbContext
{
public DbSet<Character> C... |
Source/Web/ImageContestSystem.Web/Views/Home/_HomeContent.cshtml | TeamHOOPRINGHA/ImageContestSystem | 0 | 7066573 | <reponame>TeamHOOPRINGHA/ImageContestSystem<gh_stars>0
@using ImageContestSystem.Web.Models.ViewModels
@model HomeViewModel
<div>
@foreach (var contest in Model.Contests)
{
if (Request.IsAuthenticated)
{
<div class="panel panel-default">
<div class="panel-heading">
... |
src/Jeebs.Services.Drivers.Drawing.Skia/Exceptions/UnsupportedImageFormatException.cs | bfren/jeebs | 1 | 7066574 | <filename>src/Jeebs.Services.Drivers.Drawing.Skia/Exceptions/UnsupportedImageFormatException.cs
// Jeebs Rapid Application Development
// Copyright (c) bfren - licensed under https://mit.bfren.dev/2013
using System;
namespace Jeebs.Services.Drivers.Drawing.Skia.Exceptions;
/// <summary>
/// See <see cref="ImageForm... |
AMBUS_Master/Echo.Designer.cs | VasiKisha/Ambus | 1 | 7066575 | //Copyright (c) 2020 VasiKisha
//All rights reserved.
//This source code is licensed under the MIT-style license found in the
//LICENSE file in the root directory of this source tree.
namespace AMBUS_Master
{
partial class Echo
{
/// <summary>
/// Required designer variable.
/// </su... |
Mamesaver/Config/ViewModels/GameListTab/FilterOption.cs | nullpainter/mamesaver | 24 | 7066576 | <filename>Mamesaver/Config/ViewModels/GameListTab/FilterOption.cs
namespace Mamesaver.Config.ViewModels.GameListTab
{
public class FilterOption
{
public FilterOption(string text, FilterMode filterMode)
{
Text = text;
FilterMode = filterMode;
}
public str... |
src/Mapcat.MapViewInit/MapViewInitService.cs | MAPCATcom/mapcat-mapview-init-dotnet | 0 | 7066577 | using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace Mapcat.MapViewInit
{
public class MapViewInitService : IMapViewInitService
{
public readonly HttpClient _client;
public MapView... |
vplan/DataAdapter.cs | jbtronics/informant-droid | 1 | 7066578 | using System.Collections.Generic;
using Android.OS;
using Android.Content.Res;
using Android.Views;
using Android.Widget;
using Android.Graphics;
using UntisExp.Containers;
namespace vplan
{
public class DataAdapter : BaseAdapter<Data>
{
readonly Android.App.Activity _mContext;
List<Data> _data;
read... |
src/MetroDev.Boilerplate.Application/MultiTenancy/ITenantAppService.cs | juanwfer/MetroDev-AbpTest | 0 | 7066579 | <gh_stars>0
using Abp.Application.Services;
using MetroDev.Boilerplate.MultiTenancy.Dto;
namespace MetroDev.Boilerplate.MultiTenancy
{
public interface ITenantAppService : IAsyncCrudAppService<TenantDto, int, PagedTenantResultRequestDto, CreateTenantDto, TenantDto>
{
}
}
|
benchmark/EFCore.Sqlite.Benchmarks/Models/Orders/OrdersSqliteFixture.cs | GrizzlyEnglish/efcore | 4,158 | 7066580 | <gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.IO;
namespace Microsoft.EntityFrameworkCore.Benchmarks.Models.Orders
{
public class OrdersSqliteFixture : OrdersFixtureBase
{
... |
cards/BLACK_TEMPLE/Prologue/Sim_Prologue_CenariusHP.cs | chi-rei-den/Silverfish | 1 | 7066582 |
/* _BEGIN_TEMPLATE_
{
"id": "Prologue_CenariusHP",
"name": [
"自然之握",
"Nature's Grasp"
],
"text": [
"<b>英雄技能</b>\n召唤一个2/2并具有<b>嘲讽</b>的树人。",
"<b>Hero Power</b>\nSummon a 2/2 Treant with <b>Taunt</b>."
],
"CardClass": "DRUID",
"type": "HERO_POWER",
"cost": 2,
"rarity": null,
"set": "BL... |
src/ST/Docs/Samples/SampleExplorer.cs | SeanKilleen/Storyteller | 0 | 7066584 | <reponame>SeanKilleen/Storyteller
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FubuCore;
using FubuMVC.Core;
using HtmlTags;
namespace ST.Docs.Samples
{
public class SampleExplorer
{
private readonly ISampleCache _cache;
private readonly DocSettings _... |
BronzeBar/BronzeBar.cs | ospani/bronzebar | 0 | 7066585 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml.Serialization;
namespace BronzeBar
{
static class BronzeBar
{
public static Settings Settings;
public static string CurrentPackageSelect... |
Startup.cs | sulkhayev/WebApiJwtExample | 99 | 7066586 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
... |
Infotechia.DAL/Entities/TutorialCategory.cs | earth-emoji/Infotechia.Net | 0 | 7066587 | <gh_stars>0
namespace Infotechia.DAL.Entities
{
public class TutorialCategory
{
public int TutorialId { get; set; }
public Tutorial Tutorial { get; set; }
public int CategoryId { get; set; }
public Category Category { get; set; }
}
} |
Nucleus/Nucleus.Robot/BarDataType.cs | escooo/Nucleus | 15 | 7066588 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nucleus.Robot
{
/// <summary>
/// The types of data that can be extracted for bars
/// </summary>
public enum BarDataType
{
Bar_ID = 0,
Bar... |
InnovatorAdmin/Editor/CompletionData/CompletionWindow.cs | GCAE/InnovatorAdmin | 49 | 7066589 | using ICSharpCode.AvalonEdit.CodeCompletion;
using ICSharpCode.AvalonEdit.Document;
using ICSharpCode.AvalonEdit.Editing;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
namespace InnovatorAdmin.Editor
{
/// <summary>
/// The... |
src/Crest.Host/Conversion/DateTimeConverter.cs | samcragg/Crest | 2 | 7066590 | <reponame>samcragg/Crest
// Copyright (c) <NAME>.
//
// Licensed under the MIT license. See LICENSE file in the project root for
// full license information.
namespace Crest.Host.Conversion
{
using System;
/// <summary>
/// Converts an date time to/from a series of bytes in the ISO 8601 format.
/// <... |
Net.FreeORM.Test/Net.FreeORM.Test/Net.FreeORM.Test_Odbc/Source/BO/t_Units.cs | mustafasacli/Net.FreeORM.TestRepo | 0 | 7066591 | using Net.FreeORM.Framework.Base;
using System;
using Net.FreeORM.Test_Odbc.Source.DL;
namespace Net.FreeORM.Test_Odbc.Source.BO
{
public class t_Units : BaseBO
{
private string _OBJID;
public string OBJID
{
set { _OBJID = value; OnPropertyChanged("OBJID"); }
get { return _OBJID; }
}
private string ... |
ShoppingCart/src/ShoppingCart.Shared/Exceptions/EntityNotFoundException.cs | demirmusa/shopping-cart | 0 | 7066592 | <reponame>demirmusa/shopping-cart
using System;
namespace ShoppingCart.Shared.Exceptions
{
public class EntityNotFoundException : Exception
{
public EntityNotFoundException():base("Entity Not Found")
{
}
}
}
|
ImageResizeWebApp/ImageResizeWebApp/Models/ConnectionStrings.cs | viidarhagen/VismaTraining | 0 | 7066593 | <reponame>viidarhagen/VismaTraining<filename>ImageResizeWebApp/ImageResizeWebApp/Models/ConnectionStrings.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ImageResizeWebApp.Models
{
public class ConnectionStrings
{
public string SQLConnectio... |
OneSTools.FileDatabase/LowLevel/Pages/RootPage.cs | akpaevj/OneSTools.FileDatabase | 6 | 7066594 | using OneSTools.FileDatabase.LowLevel.Files;
using System.Buffers.Binary;
using System.Collections.Generic;
namespace OneSTools.FileDatabase.LowLevel.Pages
{
internal class RootPage
{
public InnerFileType Type { get; private set; }
public string Version { get; private set; }
public ulo... |
src/TabView.Sample/Views/TabStripBackgroundViewGallery.xaml.cs | jsuarezruiz/Xamarin.Forms.TabView | 62 | 7066596 | <filename>src/TabView.Sample/Views/TabStripBackgroundViewGallery.xaml.cs
using Xamarin.Forms;
namespace TabView.Sample.Views
{
public partial class TabStripBackgroundViewGallery : ContentPage
{
public TabStripBackgroundViewGallery()
{
InitializeComponent();
}
}
} |
AElf.CrossChain.Core/Cache/CrossChainDataConsumer.cs | Git-zyn-Hub/AElf | 1 | 7066597 | using Volo.Abp.DependencyInjection;
namespace AElf.CrossChain.Cache
{
public class CrossChainDataConsumer : ICrossChainDataConsumer, ISingletonDependency
{
private readonly IMultiChainBlockInfoCacheProvider _multiChainBlockInfoCacheProvider;
public CrossChainDataConsumer(IMultiChainBlockInfoCa... |
Comm100/Comm100/Domain/Services/ICrudDomainService.cs | comm100architects/KB | 0 | 7066598 | <filename>Comm100/Comm100/Domain/Services/ICrudDomainService.cs
using Comm100.Domain.Entity;
using Comm100.Runtime.Dto;
using System;
using System.Collections.Generic;
using System.Text;
namespace Comm100.Domain.Services
{
public interface ICrudDomainService<TKey,TEntity,TEntityBase,TEntityQueryInput>:IDomainServ... |
Assets/SpaceShootingTrip/Scripts/Components/DirectionalVelocityComponent.cs | renanliberato/spaceshooter-unity-ecs | 0 | 7066599 | <reponame>renanliberato/spaceshooter-unity-ecs<gh_stars>0
using TinyECS.Interfaces;
namespace SpaceShootingTrip.Components
{
public class DirectionalVelocityComponent : IComponent
{
public float up;
public float right;
}
} |
Veldrid/ShaderData.cs | EastBenchTech/agg-sharp | 161 | 7066600 | /*
Copyright (c) 2018, <NAME>, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the follow... |
Assets/Code/Utils/Modules/PoolService.cs | DSvinka/2D-Game | 1 | 7066601 | <reponame>DSvinka/2D-Game
using System.Collections.Generic;
using Code.Interfaces.Controllers;
using Code.Models;
using UnityEngine;
namespace Code.Utils.Modules
{
internal sealed class PoolService: IController, ICleanup
{
private readonly Dictionary<string, ObjectPool> _cache;
public PoolSer... |
Kutuphane/GirisPanel.cs | burhanclkkl/KutuphaneOtomasyonu | 0 | 7066602 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Kutuphane
{
public partial class GirisPanel : Form
{
public Giri... |
ToMigrate/Raven.Database/Bundles/Replication/RavenConflictDocumentsTransformer.cs | ryanheath/ravendb | 1 | 7066603 | <reponame>ryanheath/ravendb<gh_stars>1-10
// -----------------------------------------------------------------------
// <copyright file="b.cs" company="Hibernating Rhinos LTD">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// ------------------------------------------------------------------... |
src/Orleans/GrainDirectory/MultiClusterRegistrationStrategy.cs | berdon/orleans | 4 | 7066604 | using System;
using System.Linq;
using System.Reflection;
using Orleans.Runtime.Configuration;
using Orleans.MultiCluster;
using System.Collections.Generic;
namespace Orleans.GrainDirectory
{
/// <summary>
/// Interface for multi-cluster registration strategies. Used by protocols that coordinate multiple inst... |
Migrations/Normalise.cs | thesheps/schema-normaliser | 0 | 7066605 | <filename>Migrations/Normalise.cs<gh_stars>0
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.Common;
using System.Linq;
using Dapper;
using Data;
using FluentMigrator;
namespace Migrations
{
[Migration(3)]
public class NormaliseData : Migration
{
... |
XFLifecycle/XFLifecycle/Effects/ViewLifecycleEffect.cs | AlexPshul/XFLifecycle | 12 | 7066606 | <filename>XFLifecycle/XFLifecycle/Effects/ViewLifecycleEffect.cs
using System;
using Xamarin.Forms;
namespace XFLifecycle.Effects
{
public class ViewLifecycleEffect : RoutingEffect
{
public const string EffectGroupName = "XFLifecycle";
public const string EffectName = "LifecycleEffect";
... |
SurgingDemo/03.Application/MicroService.Application.Order/OrderDetailAppService.cs | DotNetExample/surging.Demo | 21 | 7066607 | <gh_stars>10-100
using System;
using System.Linq;
using System.Text;
using System.Data;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using MicroService.Data.Ext;
using MicroService.IApplication.Order;
using MicroService.IRespository.Order;
using MicroService.Entity.Ord... |
src/OpenWeatherMapApi.Tests/OpenWeatherMapClient.Tests.cs | alexanderjwoods/OpenWeatherMapApi | 0 | 7066608 | using NUnit.Framework;
using OpenWeatherMapApi.Responses;
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace OpenWeatherMapApi.Tests
{
public class OpenWeatherMapClientTests
{
private const string _apiKey = "YOURAPIKEY";
private static string _goodCu... |
Chronox/Utilities/Extenssions/InputExtenssions.cs | EudyContreras/Chronox.NetCore | 4 | 7066610 | using System;
namespace Chronox.Utilities.Extenssions
{
public static class InputExtensions
{
public static int LimitToRange(this int value, int inclusiveMinimum, int inclusiveMaximum)
{
if (value < inclusiveMinimum) { return inclusiveMinimum; }
if (value > inclusiveMaxi... |
Bondski.QvdLib/HeaderExtractor.cs | JamesBondski/qvdlib | 3 | 7066611 | // <copyright file="HeaderExtractor.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace Bondski.QvdLib
{
using System;
using System.IO;
using System.Text;
using System.Xml.Linq;
/// <summary>
/// Reads the XML header from a QVD file.
/// </summary... |
SoobiStock/SBStockMachine/Program.cs | soobinjeon/soobistock | 0 | 7066612 | using SoobiStock;
using SoobiStock.DataInfo;
using SoobiStock.login;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SBStockMachine
{
class Program
{
static void Main(string[] args)
{
... |
Bcs.Resolver/Syntax/Parser/BcsReactionNode.cs | sybila/BCSParser | 0 | 7066613 | <filename>Bcs.Resolver/Syntax/Parser/BcsReactionNode.cs
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using BcsResolver.Extensions;
using BcsResolver.Syntax.Tokenizer;
namespace BcsResolver.Syntax.Parser
{
[DebuggerDisplay("[R: {ToDisplayString()}]")]
public class BcsReactionN... |
TCC.Core/UI/Converters/HHphaseToEnemyWindowTemplate.cs | Roukanken42/Tera-custom-cooldowns | 91 | 7066614 | using System;
using System.Globalization;
using System.Windows.Data;
using TCC.Data;
namespace TCC.UI.Converters
{
public class HHphaseToEnemyWindowTemplate : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return (Har... |
Registers.Web/Lisens.asmx.cs | NazimNaibResidov/LicensKeyTest | 0 | 7066616 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web;
using System.Web.Services;
namespace Registers.Web
{
/// <summary>
/// Summary description for Lisens
/// </summary>
[WebService(Namespace = "http://tempuri.org/"... |
src/ParaglidingWeather.Core/Types/Wind.cs | andreypudov/ParaglidingWeather | 0 | 7066617 | <gh_stars>0
// <copyright file = "Wind.cs" company = "<NAME>">
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information.
// </copyright>
namespace ParaglidingWeather.Core.Types
{
using System;
/// <summary>
... |
src/Api.MercadoLivre/Model/ViewModel/Vendedor/VendedorAddViewModel.cs | LucasTMP/Case-MercadoLivre | 0 | 7066618 | <reponame>LucasTMP/Case-MercadoLivre<filename>src/Api.MercadoLivre/Model/ViewModel/Vendedor/VendedorAddViewModel.cs
using Api.MercadoLivre.Model.Validations;
using FluentValidation.Results;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;... |
src/Stormancer.Plugins/Party/Stormancer.Server.Plugins.Party/PartyConstants.cs | Stormancer/plugins | 1 | 7066620 | namespace Stormancer.Server.Plugins.Party
{
/// <summary>
/// Party constants
/// </summary>
public static class PartyConstants
{
/// <summary>
/// Scene metadata key
/// </summary>
public const string METADATA_KEY = "stormancer.party";
}
}
|
src/Xml/TiledObjectExtensions.cs | tm011064/tiled-commands | 0 | 7066621 | using System;
using System.Collections.Generic;
namespace TiledCommandRunner.Xml
{
public static class TiledObjectExtensions
{
public static IEnumerable<T> Get<T>(this IEnumerable<TiledObject> tiledObjects, Func<TiledObject, T> func)
{
foreach (var obj in tiledObjects)
{
yield return f... |
Content.Server/Items/ItemComponent.cs | Phantom-Lily/space-station-14 | 953 | 7066622 | <gh_stars>100-1000
using Content.Shared.Item;
using Robust.Server.GameObjects;
using Robust.Shared.GameObjects;
namespace Content.Server.Items
{
[RegisterComponent]
[ComponentReference(typeof(SharedItemComponent))]
public class ItemComponent : SharedItemComponent
{
public override void RemovedF... |
src/Server/Services/Gateways/UDP/LogServerReceiver.cs | davidnajar/logR | 3 | 7066623 | using logR.Shared;
using Microsoft.AspNetCore.Hosting.Server;
using Networker.Extensions.Json;
using Microsoft.Extensions.Logging;
using Networker.Server;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Networker.Client;
using System.Threading;
using Mi... |
src/PeriodEnd/CoInvestedPayments/SFA.DAS.Payments.Calc.CoInvestedPayments/CoInvestedPaymentsPassThroughProcessor.cs | SkillsFundingAgency/das-providerpayments | 0 | 7066624 | <reponame>SkillsFundingAgency/das-providerpayments
using NLog;
namespace SFA.DAS.Payments.Calc.CoInvestedPayments
{
public class CoInvestedPaymentsPassThroughProcessor
{
private readonly ILogger _logger;
public CoInvestedPaymentsPassThroughProcessor(ILogger logger)
{
_logg... |
AppConfigSyncFunction/AppConfigSyncFunction/Interfaces/IAppConfigurationSyncService.cs | massimobonanni/AzureFunctionsSamples | 5 | 7066625 | <filename>AppConfigSyncFunction/AppConfigSyncFunction/Interfaces/IAppConfigurationSyncService.cs
using AppConfigSyncFunction.Events;
using System.Threading;
using System.Threading.Tasks;
namespace AppConfigSyncFunction.Interfaces
{
public interface IAppConfigurationSyncService
{
void Connect(string pr... |
BioWorld.Application/Comment/Commands/ApproveComment/ApproveToggleCommentCommandValidator.cs | Zhilong-Yang/BioWorldBlog | 0 | 7066626 | using FluentValidation;
namespace BioWorld.Application.Comment.Commands.ApproveComment
{
public class ApproveToggleCommentCommandValidator : AbstractValidator<ApproveToggleCommentCommand>
{
public ApproveToggleCommentCommandValidator()
{
RuleFor(v => v.CommentIds)
.... |
src/API/POC/Demo/GridItem/Events/ValueChangedEventHandler.cs | BigOsDev/cqrspoc2 | 0 | 7066627 | using CQRS.Events;
using Demo.Domain.Objects;
using Demo.Infrastructure;
using Demo.Persistence;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Demo.GridItem.Events
{
//public class ValueChanged... |
src/EventSourcingOnAzureFunctions.Common/EventSourcing/Interfaces/IEventMaps.cs | gitter-badger/EventsSourcing-on-Azure-Functions | 77 | 7066628 | using EventSourcingOnAzureFunctions.Common.EventSourcing.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace EventSourcingOnAzureFunctions.Common.EventSourcing.Interfaces
{
/// <summary>
/// Interface for any class that can map an event name to its implementation type
... |
Monogame.Processing/Processing.Background.cs | lucasvra/Monogame.Processing | 2 | 7066629 | <reponame>lucasvra/Monogame.Processing
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using static System.Math;
namespace Monogame.Processing
{
partial class Processing
{
private readonly... |
BindGenerater/Generater/TypeDefinitionExtensions.cs | quicklyslow/PureScript | 1 | 7066630 | using Mono.Cecil;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
static internal class TypeDefinitionExtensions
{
/// <summary>
/// Is childTypeDef a subclass of parentTypeDef. Does not test interface inheritance
/// </summary>
/// <param name="childTypeDef"></... |
LBi.LostDoc/IProcessingContext.cs | redoz/LBi.LostDoc | 0 | 7066631 | /*
* Copyright 2012 DigitasLBi Netherlands B.V.
*
* 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 ... |
Source/Libraries/Axiverse.Mathematics.Symbolics/Interpretation/Evaluator.cs | AxiverseCode/wiki | 6 | 7066632 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Axiverse.Mathematics.Symbolics.Interpretation
{
public class Evaluator
{
public delegate bool Transformation(Expression expression, Context context, out Symbol symbol);
... |
II Core/Classes/Waveform.Dictionary.Plots.cs | tanjera/infirmary-integrated | 30 | 7066633 | using System;
using System.Collections.Generic;
namespace II.Waveform {
public static partial class Dictionary {
public static Plot ABP_Default = new Plot () {
DrawResolution = 10,
IndexOffset = 0,
Vertices = new double [] {
0d, 0.12d, 0.24d, 0.34d, 0.4... |
src/Hummingbird_SeaBattle_Controller_Map_FubenTwoDMapControllerWrap.cs | moto2002/wudihanghai | 2 | 7066634 | using Hummingbird.SeaBattle.Controller.Map;
using LuaInterface;
using System;
using UnityEngine;
public class Hummingbird_SeaBattle_Controller_Map_FubenTwoDMapControllerWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(FubenTwoDMapController), typeof(MonoBehaviour), null);
L.RegFunction("Handl... |
src/RabbitMQ.TraceableMessaging/Exceptions/RequestFailureException.cs | dmlarionov/RabbitMQ.TraceableMessaging | 0 | 7066635 | <reponame>dmlarionov/RabbitMQ.TraceableMessaging
using System;
namespace RabbitMQ.TraceableMessaging.Exceptions
{
/// <summary>
/// General failure status returned by remote service
/// </summary>
public class RequestFailureException : Exception
{
public RequestFailureException(string messa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.