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 |
|---|---|---|---|---|
TramsDataApi.Test/Integration/AcademyConversionProjectsIntegrationTests.cs | DFE-Digital/trams-data-api | 0 | 7060313 | <gh_stars>0
using AutoFixture;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using TramsDataApi.DatabaseModels;
using TramsData... |
src/Rhino.Licensing.AdminTool/Views/AboutView.xaml.cs | gep13/rhino-licensing | 231 | 7060314 | namespace Rhino.Licensing.AdminTool.Views
{
public interface IAboutView
{
}
/// <summary>
/// Interaction logic for AboutView.xaml
/// </summary>
public partial class AboutView : IAboutView
{
public AboutView()
{
InitializeComponent();
}
}
}
|
src/JCSoft.WX.Framework/Models/ApiRequests/TemplateSendRequest.cs | TaoGame/JCWXCore | 54 | 7060315 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JCSoft.WX.Framework.Models.ApiResponses;
using JCSoft.Core.Net.Http;
namespace JCSoft.WX.Framework.Models.ApiRequests
{
/// <summary>
/// 发送模板消息
/// </summary>
public class TemplateSendRe... |
test/FunctionalTests/Taupo/Source/Taupo.Query/Contracts/Linq/Expressions/LinqLengthPropertyExpression.cs | Sreejithpin/odata.net | 629 | 7060316 | //---------------------------------------------------------------------
// <copyright file="LinqLengthPropertyExpression.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------... |
Learn2Play/Domain/Chord.cs | JanekV/Learn2Play | 0 | 7060317 | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Domain
{
public class Chord: DomainEntity
{
[MaxLength(10)]
[MinLength(1)]
[Required]
public string Name { get; set; }
[MaxLength(255)]
[MinLength(1)]
... |
Assets/Scripts/UnitDefinition.cs | will-lucena/GGJ2020 | 0 | 7060318 | <filename>Assets/Scripts/UnitDefinition.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Utils;
using UnityEngine;
[CreateAssetMenu(fileName = "Unit", menuName = "Unit")]
public class UnitDefinition : ScriptableObject
{
[SerializeField] private UnitKind _kind;
... |
src/BotV2/Extensions/SemaphoreExtensions.cs | TehPers/DiscordBot | 0 | 7060319 | <gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks;
namespace BotV2.Extensions
{
public static class SemaphoreExtensions
{
public static async ValueTask<IDisposable> AutoLockAsync(this SemaphoreSlim semaphore, CancellationToken cancellation = default)
{
... |
Src/XkgWiki/Views/Pages/Details.cshtml | xkg-wtf/XkgWiki | 0 | 7060320 | @using XkgWiki.Domain
@using Westwind.AspNetCore.Markdown
@{
var pageModel = (Page)ViewBag.Page;
ViewData["Title"] = pageModel.Title;
}
@{
<h1>@pageModel.Title</h1>
<p>@Markdown.ParseHtmlString(pageModel.Text)</p>
<p>
<a asp-area="" asp-controller="Pages" asp-action="Edit" asp-route-url=... |
src/GitHub.Exports/Services/IUsageService.cs | alsamer2008/VisualStudio | 0 | 7060321 | using System;
using System.Threading.Tasks;
using GitHub.Models;
namespace GitHub.Services
{
/// <summary>
/// Provides services for <see cref="IUsageTracker"/>.
/// </summary>
public interface IUsageService
{
/// <summary>
/// Checks whether the last updated date is the same day a... |
src/XrmFramework.DeployUtils/TfsHelper.cs | PeteGuy/XrmFramework | 12 | 7060322 | // Copyright (c) <NAME> (CGO Conseils). All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
namespace XrmFramework.DeployUtils
{
public stati... |
src/Automation.CustomerPortal/WebDriverInit.cs | mikalai-kardash/Turbo | 1 | 7060323 | using Automation.SpecFlow.Bindings;
using BoDi;
using TechTalk.SpecFlow;
namespace Automation.CustomerPortal
{
[Binding]
public class WebDriverInit : WebDriver
{
public WebDriverInit(IObjectContainer container)
: base(container)
{
}
}
} |
Assets/__MAIN__/Scripts/ECS/Systems/EnemyAttackedByPlayerSystem.StrategyGoomba.cs | GarfieldJiang/SMB_ECS | 2 | 7060324 | <filename>Assets/__MAIN__/Scripts/ECS/Systems/EnemyAttackedByPlayerSystem.StrategyGoomba.cs
using Unity.Collections;
using Unity.Entities;
using Unity.Mathematics;
public partial class EnemyAttackedByPlayerSystem
{
private class StrategyGoomba : StrategyBase
{
private AttackedGoombaGeneratorData GetAtt... |
SecondHandClothes.Tests/Controllers/SellersControllerTest.cs | DaniHristov/SecondHand-Web-Project | 1 | 7060325 | <filename>SecondHandClothes.Tests/Controllers/SellersControllerTest.cs<gh_stars>1-10
namespace SecondHandClothes.Tests.Controllers
{
using System.Linq;
using MyTested.AspNetCore.Mvc;
using SecondHandClothes.Controllers;
using Xunit;
using SecondHandClothes.Models.Sellers;
using SecondHandClothe... |
CoroutineUtils/CoroutineRunner.cs | garrettshields/gruel-unity-utilities | 0 | 7060326 | using System.Collections;
using UnityEngine;
namespace Gruel.CoroutineUtils {
public class CoroutineRunner : MonoBehaviour {
#region Fields
private static CoroutineRunner _instance;
#endregion Fields
#region Public Methods
public void Init() {
// Setup instance.
if (_instance != null) {
Debug.LogErro... |
Source/WorkGiver_CleanFilth_Patch.cs | MadPacMan/RimThreaded-1 | 0 | 7060327 | using System;
using RimWorld;
using Verse;
using Verse.AI;
namespace RimThreaded
{
class WorkGiver_CleanFilth_Patch// : WorkGiver_Scanner
{
public static void RunDestructivePatches()
{
//Type original = typeof(WorkGiver_CleanFilth); // Deligate?
Type patched = typeof(Wo... |
EasyFrameWork/Modules/SystemSetting/SystemSettingRepository.cs | xcz1997/EasyFrameWork | 0 | 7060328 | /* http://www.zkea.net/ Copyright 2016 ZKEASOFT http://www.zkea.net/licenses */
using Easy.RepositoryPattern;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Reflection;
using System.Text;
using Microsoft.Practices.ServiceLocation;
namespace Easy.Modules.SystemSetting... |
test/Virtlink.Utilib.Tests/Text/CodePointTests.MaxValueTests.cs | Virtlink/utilib | 0 | 7060329 | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using Xunit;
// ReSharper disable InconsistentNaming
namespace Virtlink.Utilib.Text
{
partial class CodePointTests
{
/// <summary>
/// Tests the <see cref="CodePoint.MaxValue"/> static pro... |
DotNetFrameworkDemo/Program.cs | sensorsdata/abtesting-sdk-csharp | 0 | 7060330 | using System;
using SensorsData.ABTest;
using SensorsData.ABTest.Bean;
using SensorsData.Analytics;
namespace DotNetFrameworkDemo
{
class Program
{
static void Main(string[] args)
{
string apiUrl = "http://10.130.6.5:8202/api/v2/abtest/online/results?project-key=<KEY>";
... |
ImageViewer/Explorer/Local/View/WinForms/Settings.Designer.cs | SNBnani/Xian | 1 | 7060331 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.261
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>... |
src/KeqingNiuza.RealtimeNotes/DGP.Genshin/MiHoYoAPI/Journey/SumAction.cs | inorixu/KeqingNiuza | 500 | 7060332 | <reponame>inorixu/KeqingNiuza
using Newtonsoft.Json;
namespace DGP.Genshin.MiHoYoAPI.Journey
{
public class SumAction : JourneyAction
{
[JsonProperty("percent")] public int Percent { get; set; }
}
}
|
DotLiquidCore/Tags/Comment.cs | strehar/HttpServer | 15 | 7060333 | using System.IO;
using System.Text.RegularExpressions;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
namespace DotLiquidCore.Tags
{
public class Comment : DotLiquidCore.Block
{
public static string FromShortHand(string @string)
{
if (@string == null)
return @str... |
Zyan.Async/ZyanAsyncSampleGenerator.Zyan.Async.TestInterfaces.IPropertiesAsyncExtensions.cs | zyanfx/Zyan.Async | 0 | 7060334 | // Assembly name: Zyan.Async.TestInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
namespace Zyan.Async.TestInterfaces
{
// Rewriting XML comments is not supported
#pragma warning disable 1591
/// <summary>
/// Asynchronous extension methods for the <see cref="Zyan.Async.TestInterfaces.IProperties"... |
DevParks/ViewModels/RidesViewModel.cs | ksivamuthu/xamarin-graphql-devparks | 0 | 7060335 | using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using DevParks.Models;
using DevParks.Services;
using GraphQL;
using Newtonsoft.Json.Linq;
using Xamarin.Forms;
namespace DevParks.ViewModels
{
public class RidesViewModel : BaseViewModel
{
public Obse... |
src/Nethereum.Generators/Core/MessageMap.cs | earizon/Nethereum | 1,796 | 7060336 | using System.Collections.Generic;
using Nethereum.Generators.Model;
namespace Nethereum.Generators.Core
{
public class MessageMap<MFrom, MTo, PFrom, PTo>
where PFrom : Parameter
where PTo : Parameter
where MFrom : IMessage<PFrom>
where MTo : IMessage<PTo>
{
public Messag... |
IAGrim/Services/Dto/DBSTatRow.cs | MartinRohrbach/iagd | 85 | 7060337 | <gh_stars>10-100
using DataAccess;
using IAGrim.Database;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IAGrim.Services.Dto {
public class DBStatRow : IItemStat {
public string Record { get; set; }
public string Stat ... |
Apps/AzureSupport/Partials/CollectionUpdateImplementation.cs | JTOne123/TheBallPlatform | 0 | 7060339 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
using System.Text;
namespace TheBall.CORE
{
public static class CollectionUpdateImplementation
{
public static void Update_InvoiceSummaryContainer_OpenInvoices(InvoiceSummaryContainer invoiceSummaryContainer, Inv... |
src/Meting4Net.Core/Models/Netease/Netease_url.cs | yifengling0/Meting4Net | 40 | 7060340 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Meting4Net.Core.Models.Netease
{
/// <summary>
/// 通过 Meting.Url() 获得的原始 Netease json数据
/// </summary>
public class Netease_url : JsonModel
{
public Netease_url_dat... |
src/WebJobs.Script/OutOfProc/Http/Configuration/HttpWorkerOptionsSetup.cs | DevRaf-Per/azure-functions-host | 1 | 7060342 | <reponame>DevRaf-Per/azure-functions-host
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.IO;
using Microsoft.Azure.WebJobs.Script.Configuration;
using Microsoft.Extensions.Configuration;
using Microsof... |
XmlVisualizer/Pages/Matches/Serialize.cshtml | jarkuszynski/Xml_Visualizer | 0 | 7060343 | @page
@model XmlVisualizer.Pages.Matches.SerializeModel
@{
ViewData["Title"] = "Serialize";
}
<h2>Serialize</h2>
<div>
<form method="post">
<input type="hidden" asp-for="Matches.Matches_id" />
<input type="submit" value="Serialize" class="btn btn-default" /> |
<a asp-page="./Index">B... |
sources/Google.Solutions.IapDesktop.Application/Services/Adapters/Browser.cs | GoogleCloudPlatform/iap-windows-rdc-plugin | 24 | 7060344 | //
// Copyright 2022 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... |
IBank.UnitTests/Factories/ClientModel/ClientModelFactory.cs | 9Rain/donus-code-challenge | 0 | 7060345 | using IBank.UnitTests.Factories.AccountModel;
using IBank.UnitTests.Utils;
namespace IBank.UnitTests.Factories.ClientModel
{
public class ClientModelFactory : IClientModelFactory
{
private readonly IAccountModelFactory _account;
public ClientModelFactory(IAccountModelFactory account)
{... |
Classes/FileDetails.cs | Neerosh/UtilitiesTID | 0 | 7060346 | namespace Utilities.Classes
{
public class FileDetails
{
public FileDetails(string fileName, string fileHash) {
FileName = fileName;
FileHash = fileHash;
}
public string FileName { get; set; }
public string FileHash { get; set; }
}
}
|
Simple.MPD/Exceptions/NotConnectedException.cs | RafaelEstevamReis/SimpleMPD | 0 | 7060347 | <gh_stars>0
namespace Simple.MPD.Exceptions
{
/// <summary>
/// Not connected exception
/// </summary>
public class NotConnectedException : System.IO.IOException
{
}
}
|
Assets/Slua/LuaObject/Custom/Lua_FairyGUI_RotationGesture.cs | zhangjie0072/FairyGUILearn | 0 | 7060348 | <filename>Assets/Slua/LuaObject/Custom/Lua_FairyGUI_RotationGesture.cs
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_FairyGUI_RotationGesture : LuaObject {
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static public int constructor(IntPtr l) {
try {
Fai... |
Assets/FunctionalTest/DevDemo/Test/FrameHandlers.cs | nathanGroovy/Agora_Unity_WebGL | 0 | 7060349 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using agora_gaming_rtc;
using UnityEngine.UI;
using System.Globalization;
using System.Runtime.InteropServices;
using System;
public class FrameHandlers : MonoBehaviour {
// Gets the VideoRawDataManager object.
VideoRawDataManager video... |
Code/Utils/MoveItIntegration.cs | shg166/AdvancedBuildingLevelControl | 0 | 7060350 | <filename>Code/Utils/MoveItIntegration.cs
using System;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using System.Collections.Generic;
using MoveItIntegration;
namespace ABLC
{
/// <summary>
/// Lets Move It know that we've got some integration we want to do.
/// </summary>
public class... |
src/Services/Identity/Identity.API/Mapping/DTOMapper.cs | MirolimMajidov/Jobs | 3 | 7060351 | using AutoMapper;
using IdentityService.Models;
namespace IdentityService.Mapping
{
public class DTOMapper : Profile
{
public DTOMapper()
{
//DTO to Model
CreateMap<UserDTO, User>()
.ForMember(dto => dto.HashPassword, opt => opt.MapFrom(src => src.Passw... |
Assets/Scripts/Ability/Actions/Stun.cs | DanielEverland/project-tuba-public | 0 | 7060352 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace EverlandGames.ActionComponents
{
/// <summary>
/// Stuns the target for a certain duration
/// </summary>
public class Stun : AbilityAction.Component
{
[SerializeField]
private flo... |
KennUwareHR/Pages/Leave/AwaitingApproval.cshtml | Zach-DiPasquale/Enterprise | 0 | 7060353 | @page
@model KennUwareHR.Pages.Leave.ApprovalModel
@{
ViewData["Title"] = "Approval";
}
<h2>Leaves Awaiting Approval</h2>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.Leave[0].StartTime)
</th>
<th>
@Ht... |
tests/TestIntegrationStub.cs | ByteBee/ByteBee | 1 | 7060354 | using ByteBee.Framework.Tests.Stubbing.Ui;
using NUnit.Framework;
namespace ByteBee.Framework.Tests
{
[TestFixture]
public class TestIntegrationStub
{
[Test]
public void METHOD()
{
Program.Main();
}
}
} |
Wr.UmbracoPhoneManager/Providers/Storage/XPath/XPathBaseSettings.cs | bifter/Wr.Umbraco.CampaignPhoneManager | 0 | 7060355 | <gh_stars>0
namespace Wr.UmbracoPhoneManager.Providers.Storage
{
public abstract class XPathBaseSettings
{
//public static string baseXpath = "$ancestorOrSelf/ancestor-or-self::home[position()=1]//";//"$ancestorOrSelf/ancestor-or-self::home[position()=1]//";
public static string baseXpath = "HO... |
openbooks/Views/Home/Checkout.cshtml | anserwaseem/openbooks | 0 | 7060356 |
@{
ViewBag.Title = "Checkout";
Layout = "~/Views/Shared/_main.cshtml";
}
@using openbooks.Models;
@model Tuple<int, List<Book>, string>
<body>
@section links{
<ul class="nav navbar-nav navbar-right">
@if (CRUD.CuserID == 0)
{
<li><a href="~/home/... |
netcore/src/Koralium.Core/Utils/ColumnTypeHelper.cs | rs-swc/Koralium | 0 | 7060357 | <gh_stars>0
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software... |
src/twitter_dotnet/TwitterHydrator/Extensions/StreamReaderExtensions.cs | giorgiodema/EchoChambers | 6 | 7060358 | using System.Collections.Generic;
using JetBrains.Annotations;
namespace System.IO
{
/// <summary>
/// An extension <see langword="class"/> for the <see cref="StreamReader"/> type
/// </summary>
internal static class StreamReaderExtensions
{
/// <summary>
/// Reads a given numbers ... |
DrawingFiguresWithLoops/Sunglasses/Sunglasses/Program.cs | MilenaHristovaAngelkova/Programming-Basics | 0 | 7060359 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sunglasses
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
string asterixCountFrame = ne... |
ApplicationCore/Entities/BaseEntity.cs | laujan/ProposalManager | 1 | 7060360 | // Copyright(c) Microsoft Corporation.
// All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the solution root folder for full license information.
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace ApplicationCore.Entities
{
/// <summ... |
src/MAVN.Service.AuditLogs/Controllers/AuditLogsController.cs | OpenMAVN/MAVN.Service.AuditLogs | 0 | 7060361 | <reponame>OpenMAVN/MAVN.Service.AuditLogs
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Net;
using System.Threading.Tasks;
using AutoMapper;
using MAVN.Service.AuditLogs.Client;
using MAVN.Service.AuditLogs.Client.Models.Requests;
using MAVN.Service.AuditLogs.Client.Models... |
Dapper.ColumnMapper/ColumnTypeMapper.cs | dturkenk/Dapper.ColumnMapper | 5 | 7060362 | using System;
using System.Linq;
using System.Reflection;
namespace Dapper.ColumnMapper
{
public class ColumnTypeMapper : SqlMapper.ITypeMap
{
private SqlMapper.ITypeMap _internalMapper;
public static void RegisterForTypes(params Type[] types)
{
foreach (var type in types)... |
ZuounMenu/ZuounMenu/Menu/SubMenuOpcoes.cs | gmonteeeiro/manutencao-estoque | 1 | 7060363 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ZuounMenu.Menu
{
public class SubMenuOpcoes
{
public void ConsultaClientes()
{
MessageBox.Show("Consulta Clientes");
}
... |
TLCGen.Dependencies/TLCGen.Dependencies/Messaging/Messages/ModelManager/OVIngreepMeldingChangedMessage.cs | PeterSnijders/TLCGen | 6 | 7060365 | using TLCGen.Models;
using TLCGen.Models.Enumerations;
namespace TLCGen.Messaging.Messages
{
public class PrioIngreepMeldingChangedMessage : ModelManagerMessageBase
{
public PrioIngreepInUitMeldingModel IngreepMelding { get; }
public string FaseCyclus { get; }
public bool Removing { ge... |
DiffEdAzureServiceTests/DAO/DataAccessTests.cs | MikailMon/wcfdiffapi | 0 | 7060366 | <reponame>MikailMon/wcfdiffapi
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WCFServiceWebRole1.DAO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WCFServiceWebRole1.DAO.Tests
{
[TestClass()]
public class Data... |
Demo/Forms9PatchDemo.Common/Pages.Code/HtmlButtonsPage.cs | mrehman29/Forms9Patch | 137 | 7060367 | <reponame>mrehman29/Forms9Patch<gh_stars>100-1000
using System;
using Xamarin.Forms;
namespace Forms9PatchDemo
{
[Xamarin.Forms.Internals.Preserve(AllMembers = true)]
public class HtmlButtonsPage : ContentPage
{
Forms9Patch.Button mb1 = new Forms9Patch.Button
{
IconText = "<fon... |
TraceRouteMapper/MainWindow.Designer.cs | bleichroeder/TraceRouteMapper | 3 | 7060368 | <reponame>bleichroeder/TraceRouteMapper
namespace TraceRouteMapper
{
partial class MainWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bei... |
Source/ITQJ.WebClient/Views/Project/Publish.cshtml | volatile-programming/ITQJ | 2 | 7060369 | <reponame>volatile-programming/ITQJ
@model ITQJ.Domain.DTOs.ProjectResponseDTO;
@{
ViewData["Title"] = "Projecto";
Model.PublishDate = DateTime.Now;
var fecha = " " + Model.PublishDate.ToString();
}
<div class="text-center" style="margin:100px 0px 0px 0px;">
<h2>Publicar Poryecto</h2>
</div>
<div ... |
ProductCatalog.Api/Infrastructure/Data/EntityConfiguration/CatalogItemConfiguration.cs | jst4upiyush/restful-api | 1 | 7060370 | <filename>ProductCatalog.Api/Infrastructure/Data/EntityConfiguration/CatalogItemConfiguration.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace ProductCatalog.Api.Infrastructure.Data.EntityConfiguration
{
public class CatalogItemConfiguration : IEntityTypeConf... |
ScanTool.CoreLib/Data/SignatureType.cs | Wildenhaus/RomScanner | 6 | 7060371 | <reponame>Wildenhaus/RomScanner<filename>ScanTool.CoreLib/Data/SignatureType.cs<gh_stars>1-10
namespace ScanTool.CoreLib.Data
{
public enum SignatureType : byte
{
/// <summary>
/// Signature is found at the beginning of the file as magic number.
/// </summary>
Magic = 0x00,
/// <summary>
... |
Tests/Batch3/BridgeIssues/2700/N2723.cs | Danielku15/Bridge | 14 | 7060372 | <filename>Tests/Batch3/BridgeIssues/2700/N2723.cs
using System;
using System.Collections.Generic;
using Bridge.Test.NUnit;
using Base2723 = Problem2723.Classes2723.A2723;
namespace Bridge.ClientTest.Batch3.BridgeIssues
{
[Category(Constants.MODULE_ISSUES)]
[TestFixture(TestNameFormat = "#2723 - {0}")]
publ... |
Geodex/Surfaces/Loop/Gabriels.cs | interopxyz/GeoDex | 4 | 7060373 | using System;
namespace Geodex.Surfaces.Loop
{
public class Gabriels : Field
{
#region members
#endregion
#region constructors
public Gabriels() : base()
{
}
public Gabriels(UV uv) : base()
{
this.U = uv.U;
this.V = ... |
Assets/Scripts/Chaser.cs | aseriesofdarkcaves/intro-to-unity | 0 | 7060374 | using UnityEngine;
public class Chaser : MonoBehaviour
{
public Transform targetTransform;
public float movementSpeed;
public float standoffDistance;
private void Update()
{
Vector3 displacementFromTarget = targetTransform.position - transform.position;
Vector3 directionToTarget =... |
lib/Microsoft.Data.Services.Client/ODataLib/EdmLib/Desktop/.Net4.0/Microsoft/Data/Edm/Library/Internal/AmbiguousBinding.cs | tapika/choco | 3 | 7060375 | // OData .NET Libraries ver. 5.6.3
// Copyright (c) Microsoft Corporation
// All rights reserved.
// MIT License
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software withou... |
src/XNode-Sample/06-LoginValidate/Client/SampleService.cs | junjie-sun/XNode | 2 | 7060376 | <filename>src/XNode-Sample/06-LoginValidate/Client/SampleService.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Text;
namespace Client
{
public clas... |
gis_final/Controllers/StudentGraduationStatusController.cs | YAVATAN-Official/oop_final | 0 | 7060377 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using gis_final.Models;
namespace gis_final.Controllers
{
public class StudentGraduationStatusController :... |
src/Orchard.Web/Modules/Orchard.Templates/Views/EditorTemplates/Parts.Shape.cshtml | psp589/Orchard | 2,670 | 7060378 | @using Orchard.Templates.Models
@model Orchard.Templates.ViewModels.ShapePartViewModel
@{
Style.Include("~/modules/orchard.templates/scripts/codemirror/lib/codemirror.css");
Style.Include("template-editor.css");
Script.Require("jQuery");
Script.Include("codemirror/lib/codemirror.js");
Script.Includ... |
CarService.Web/Controllers/RepairDocumentsController.cs | Valersd/CarService | 1 | 7060379 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using System.Data.Entity;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using PagedList;
using CarService.Data;
using CarService.Models;
using CarService.Common;
using CarService.W... |
test/Mint.Common.Test/UtilsTest/StringUtilsTest.cs | AlbertZhaoz/NET_SDKConverter | 1 | 7060380 | <filename>test/Mint.Common.Test/UtilsTest/StringUtilsTest.cs
namespace Mint.Common.Test
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Mint.Common;
[TestClass]
public class StringUtilsTest
{
[TestMethod]
public void TestStringEqualsIgnoreCase()
{
str... |
src/Doktr/Services/MetadataResolutionService.cs | zsr2531/Doktr | 3 | 7060381 | <gh_stars>1-10
using AsmResolver.DotNet;
using Serilog;
namespace Doktr.Services
{
public class MetadataResolutionService : IMetadataResolutionService
{
private readonly ILogger _logger;
public MetadataResolutionService(ILogger logger)
{
_logger = logger;
}
... |
DepartmentStoreOne.Base.Model/Catalog/ItemResponseGroup.cs | takemurakimio/department-store | 1 | 7060382 | using System;
namespace Department.Base.Model.Catalog
{
[Flags]
public enum ItemResponseGroup
{
None = 0,
/// <summary>
/// Only simple product information and properties without meta information
/// </summary>
ItemInfo = 1,
/// <summary>
/// With ima... |
src/Trakx.CryptoCompare.ApiClient.Tests/Integration/Rest/Clients/CoinsClientTests.cs | trakx/cryptocompare-api-client | 2 | 7060383 | <filename>src/Trakx.CryptoCompare.ApiClient.Tests/Integration/Rest/Clients/CoinsClientTests.cs
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Trakx.CryptoCompare.ApiClient.Tests.Integration.Rest.Clients
{
public class CoinsClientTests : CryptoCompareClientTestsBase
{
[Fact]
... |
Source/Core/Infrastructure/Thumbnail/PageGlimpseThumbnail.cs | 1103003188/Kigg | 0 | 7060384 | <gh_stars>0
namespace Kigg.Infrastructure
{
public class PageGlimpseThumbnail : IThumbnail
{
private readonly string PreviewNotAvailable = "{0}/Assets/Images/pg-preview-na.jpg".FormatWith(IoC.Resolve<IConfigurationSettings>().RootUrl);
private readonly string _key;
private readon... |
Hospital_ERP_VS13-WCF_WF/AH.ModuleController/UI/IPD/Forms/frmDischarge.cs | atiq-shumon/DotNetProjects | 0 | 7060385 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using AH.DUtility;
using AH.ModuleController.IPDSR;
using AH.Shared.UI;
using AH.ModuleController.UI.IPD.Reports.Viewer;
namespace AH... |
Models/ViewModels/UserDetailViewModel.cs | AngeloDotNet/AdminArea-Without-Identity | 0 | 7060386 | <reponame>AngeloDotNet/AdminArea-Without-Identity
using System;
using System.Data;
namespace AspNetCore_SimpleLogin.Models.ViewModels
{
public class UserDetailViewModel
{
public int Id { get; set; }
public string Cognome { get; set; }
public string Nome { get; set; }
public stri... |
Autobus/Providers/ServiceClientTypeProvider.cs | SlimBus/Autobus | 0 | 7060387 | <gh_stars>0
using Autobus.Abstractions;
using Autobus.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
namespace Autobus.Providers
{
public static class ServiceClientTypePr... |
src/WeebWrap/WeebWrap/Posts/Post.cs | DrCreo/WeebWrap | 0 | 7060388 | <gh_stars>0
using System.Collections.Generic;
namespace WeebWrap
{
public class Post
{
public int ID { get; internal set; }
public string SourceUrl { get; internal set; }
public string FileUrl { get; internal set; }
public string PreviewUrl { get; ... |
src/Pickles/Pickles.Test/WhenWorkingWithHtmlResources.cs | marcusoftnet/pickles | 0 | 7060389 | using System;
using System.Linq;
using NUnit.Framework;
using Autofac;
using PicklesDoc.Pickles.DocumentationBuilders.HTML;
using Should;
namespace PicklesDoc.Pickles.Test
{
[TestFixture]
public class WhenWorkingWithHtmlResources : BaseFixture
{
[Test]
public void ThenCanDetectAllImagesSuc... |
demos/ComponentsDemo/CookieThemeStore.cs | Ieeax/web | 2 | 7060390 | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Leeax.Web.Components.Cookies;
using Leeax.Web.Components.Theme;
using System.Text.Json;
namespace ComponentsDemo
{
public class CookieThemeStore : IThemeStore
{
private const string COOKIE_KEY = "__lx-theme";
private readonly ICo... |
Orko.EntityWorks/Query/QuerySegment.cs | olegtosovic/ewcore | 5 | 7060391 | <reponame>olegtosovic/ewcore<filename>Orko.EntityWorks/Query/QuerySegment.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Orko.EntityWorks
{
/// <summary>
/// Provides common segment structure.
/// </summary>
public class... |
Assets/TREE/Scripts/TREEModSwapGeo.cs | IxxyXR/TREE | 10 | 7060392 | <reponame>IxxyXR/TREE<filename>Assets/TREE/Scripts/TREEModSwapGeo.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace TREESharp{
public class TREEModSwapGeo : TREEMod {
public string[] selectJoints;
public TREESharp.Joint[] jointGeo;
List<List<int[]>> selectedJoints;
... |
WindowsFormsApp1/Form1.Designer.cs | rbcn2018/kazamimi | 0 | 7060393 | <filename>WindowsFormsApp1/Form1.Designer.cs<gh_stars>0
namespace WindowsFormsApp1
{
partial class Form1
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
... |
src/FunnelWeb.Tests/Web/Areas/Admin/Controllers/WikiAdminControllerTests.cs | dsmalik/FunnelWeb | 32 | 7060394 | <reponame>dsmalik/FunnelWeb
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Web.Mvc;
using FunnelWeb.Model;
using FunnelWeb.Repositories;
using FunnelWeb.Repositories.Queries;
using FunnelWeb.Tests.Web.Controllers;
using FunnelWeb.Web.Applicatio... |
test/E2ETest/BvtTest/Helper/Trace/TraceTestEvents.cs | dubrie/Telepathy | 1 | 7060395 | <filename>test/E2ETest/BvtTest/Helper/Trace/TraceTestEvents.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
namespace Microsoft.Telepathy.Test.E2E.Bvt.Helper.Trace
{
public enum TraceTestEvents
{
TextVerbose = 10,
TextInfo = 11,
TextWarning = 12,
T... |
SeleniumExcelAddIn/ActionFlags.cs | daluu/seleniumexceladdin | 2 | 7060396 | <filename>SeleniumExcelAddIn/ActionFlags.cs<gh_stars>1-10
// Copyright (c) 2014 <NAME>
using System;
using SeleniumExcelAddIn.ActionValidators;
namespace SeleniumExcelAddIn
{
[Flags]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1726")]
public enum ActionFlags
{
[Act... |
src/Class Libraries/Data.Facts/Data/ShardByValue.Facts.cs | cavity-project/data | 0 | 7060397 | namespace Cavity.Data
{
using System;
using System.Collections.Generic;
using Cavity.Collections;
using Xunit;
using Xunit.Extensions;
public sealed class ShardByValueFacts
{
[Fact]
public void a_definition()
{
Assert.True(new TypeExpectations<ShardByVal... |
EmptyBox.IO/Interoperability/APIProvider.cs | EmptyBox-Team/EmptyBox.IO | 0 | 7060398 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace EmptyBox.IO.Interoperability
{
internal static class APIProvider
{
private static List<Assembly> Cache;
internal static object GetTaskResult(Task obj)
{
... |
UnitystationLauncher/Views/ServersPanelView.xaml.cs | MaxIsJoe/stationhub | 3 | 7060399 | <reponame>MaxIsJoe/stationhub<gh_stars>1-10
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace UnitystationLauncher.Views
{
public class ServersPanelView : UserControl
{
public ServersPanelView()
{
InitializeComponent();
}
private void InitializeCompone... |
tgame/Program.cs | MininMobile/tgame | 0 | 7060400 | <filename>tgame/Program.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace tgame {
class Program {
static void Main(string[] args) {
string[] rawLevel = File.ReadAllLines("levels\\level1.dat");... |
Reaqtive/Core/Reaqtive.TestingFramework/Schedulers/LoggingPhysicalTestScheduler.cs | ScriptBox99/reaqtor | 485 | 7060401 | <filename>Reaqtive/Core/Reaqtive.TestingFramework/Schedulers/LoggingPhysicalTestScheduler.cs
// 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.Collectio... |
SDE - Appeltje Eitje Automaten - POC 2/obj/Debug/net5.0/Razor/Pages/LG11.cshtml.g.cs | XenoSoul/POC_SDE-Appeltje_Eitje | 0 | 7060402 | <filename>SDE - Appeltje Eitje Automaten - POC 2/obj/Debug/net5.0/Razor/Pages/LG11.cshtml.g.cs
#pragma checksum "C:\Users\Joshua\Nextcloud\Privé\School\Christelijke Hogeschool Ede\Leerjaar 2 (2020 - 2021)\Semester 1\SDE\POC\SDE - Appeltje Eitje Automaten - POC 2\Pages\LG11.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460... |
AzStorage.Test/Helpers/TestExpandedReceiptMetadata.cs | cesarpv27/Azure.Repositories | 0 | 7060403 | using AzStorage.Core.Queues;
using System;
using System.Collections.Generic;
using System.Text;
namespace AzStorage.Test.Helpers
{
public class TestExpandedReceiptMetadata : ExpandedReceiptMetadata
{
public TestExpandedReceiptMetadata(
string messageId,
string popReceipt,
... |
Application/EdFi.Ods.AdminApp.Management.Tests/GetOdsStatusQueryTester.cs | stephenfuqua/Ed-Fi-ODS-AdminApp | 3 | 7060404 | <gh_stars>1-10
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System.Collections.Generic;
... |
Python/Product/PythonTools/PythonTools/Navigation/NavigateTo/PythonNavigateToItemDisplay.cs | Cellule/PTVS | 0 | 7060405 | <reponame>Cellule/PTVS
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/... |
Alg_06/Alg_06.Core/Graph.cs | prekel/AlgorithmsAndDataStructures | 0 | 7060406 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Alg_06.Core
{
public class Graph<T> : Tuple<Vertices<T>, Edges<T>>
where T : IComparable
{
public Graph() : base(new Vertices<T>(), new Edges<T>())
{
}
public Vertices<T> V => Item1;
p... |
src/tests/YamlConfigTests.cs | deepnetworkgmbh/image-scanner | 0 | 7060407 | using System.IO;
using FluentAssertions;
using NUnit.Framework;
using webapp.Configuration;
namespace tests
{
[TestFixture]
public class YamlConfigTests
{
[Test]
public void HappyPath()
{
// Arrange
var stringConfig = File.ReadAllText("./image-scanner.conf... |
src/Intercom/Data/Error.cs | netspark/intercom-dotnet | 63 | 7060408 | using System;
using Intercom.Core;
using Intercom.Data;
using Intercom.Clients;
using Intercom.Exceptions;
namespace Intercom.Data
{
public class Error
{
public string code { get; set; }
public string message { get; set; }
}
}
|
Assets/Scripts/Async/AsyncOperationExtensions.cs | dcasadevall/tabletop-combat-helper | 1 | 7060409 | <gh_stars>1-10
using System;
using System.Collections;
using System.Threading;
using UniRx;
namespace Async {
public static class AsyncOperationExtensions {
/// <summary>
/// Example ToObservable method from UniRX Docs.
/// </summary>
/// <param name="asyncOperation"></param>
... |
ModernSlavery.WebUI.DevOps/Areas/DevOps/Views/DevOps/LoadTesting.cshtml | mccabesp/ModernSlavery-Beta | 0 | 7060410 | <filename>ModernSlavery.WebUI.DevOps/Areas/DevOps/Views/DevOps/LoadTesting.cshtml
@model LoadTestingViewModel
@inject ModernSlavery.Core.Options.FeatureSwitchOptions featureSwitchOptions;
@inject Microsoft.Extensions.Hosting.IHostEnvironment hostEnvironment;
@inject DevOpsOptions devopsOptions;
@{
Layout = "/Views... |
src/Revit/Commands/ICanBeGuardedRevitCommand.cs | Eduardo-Thiesen/Onboxframework | 36 | 7060411 | using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Onbox.Revit.VDev.Commands
{
/// <summary>
/// A Revit External Command that can be Guarded by Onbox Framework
/// </summary>
p... |
VersionTwo/StartupModule.Libary/ModuleDescriptor.cs | wwmin/StartupModuleLibrary | 2 | 7060412 | <reponame>wwmin/StartupModuleLibrary<filename>VersionTwo/StartupModule.Libary/ModuleDescriptor.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StartupModule.Libary
{
/// <summary>
/// 模块描述
/// </summary>
public class ModuleDescriptor
{
... |
DeployableProcessor.cs | senyaa1/RustHarmonyIOLoader | 5 | 7060413 | using Facepunch;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace HarmonyIOLoader
{
class DeployableProcessor
{
private static readonly Type[] typeArr = new Type[]
{
typeof(GroundWatch),
typeof(DestroyOnGroundMissing)
}... |
Todo/Models/TodoDataModel.cs | wcomartin/LearnNancyTodoServer | 0 | 7060414 | <reponame>wcomartin/LearnNancyTodoServer
using System;
namespace TodoApp.Todo.Models
{
public class TodoDataModel
{
public Guid Id {get; set;}
public string Title {get; set;}
public int Order {get; set;}
public bool Complete {get; set;}
public TodoDataModel(string Titl... |
src/Bundler/Preprocessors/Less/LessPathResolver.cs | Mindroute/Bundler | 0 | 7060415 | using dotless.Core.Input;
using System;
using System.Web;
using System.Web.Hosting;
namespace Bundler.Preprocessors.Less {
/// <summary>
/// The dot less path resolver.
/// </summary>
public class LessPathResolver : IPathResolver {
/// <summary>
/// The current file directory.
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.