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 |
|---|---|---|---|---|
Source/Controls/QualityOfServiceLevel/QualityOfServiceLevelSelectorViewModel.cs | chkr1011/MQTTnetApp | 10 | 7030253 | using System;
using MQTTnet.Protocol;
using MQTTnetApp.Common;
using ReactiveUI;
namespace MQTTnetApp.Controls;
public sealed class QualityOfServiceLevelSelectorViewModel : BaseViewModel
{
bool _isLevel0 = true;
bool _isLevel1;
bool _isLevel2;
public QualityOfServiceLevelSelectorViewModel()
{
... |
DSA/09. Graphs Algorithms/Dijkstra.Algoritm/WeightedNode.cs | Camyul/Modul_2_CSharp | 0 | 7030254 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dijkstra.Algoritm
{
public class WeightedNode : IComparable<WeightedNode>
{
public WeightedNode(int vertex, int weight)
{
Vertex = vertex;
... |
src/Algorithm/FlowGraph.cs | AconCavy/algorithm-csharp | 0 | 7030256 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace Algorithm
{
public class FlowGraph
{
private readonly List<InternalEdge>[] _edges;
private readonly int _length;
private readonly List<(int X, int Y)> _positions;
public FlowGraph(int lengt... |
DMSkin.WPF/Controls/DMCheckBox.cs | nmezhangxi/DMSkin-for-WPF | 615 | 7030257 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace DMSkin.WPF.Controls
{
public class DMCheckBox : CheckBox
{
public SolidColorBrush IconColor
{
get { retur... |
Indexer/Indexer.cs | helios2k6/MobileImageProcessor | 0 | 7030258 | /*
* Copyright (c) 2015 <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, merge, pu... |
src/Saya.Core/PaginatedList/PaginatedList.cs | yomunsam/Saya | 1 | 7030259 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Saya.Core.Dto.PaginatedList;
namespace Saya.Core.PaginatedList
{
/// <summary>
/// 分页列表
/// </summary>
/// <typeparam name="T"></typeparam>
public class PaginatedList<T> : List<T>, IPaginatedInfo
{
p... |
Assembly-CSharp/HomePrisonerScript.cs | larryeedwards/openyan | 1 | 7030260 | <gh_stars>1-10
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
// Token: 0x02000425 RID: 1061
public class HomePrisonerScript : MonoBehaviour
{
// Token: 0x06001CC0 RID: 7360 RVA: 0x001076EC File Offset: 0x00105AEC
private void Start()
{
this.Sanity = StudentGlobals.GetStudentSanity(SchoolGlo... |
ProcessesApi/V1/Gateways/Exceptions/EntityNotFoundException.cs | LBHackney-IT/processes-api | 0 | 7030261 | using System;
namespace ProcessesApi.V1.Gateways.Exceptions
{
// TODO: Possibly move to common libarary (copied from Tenure Listener)
public class EntityNotFoundException : Exception
{
public string EntityName { get; }
public Guid Id { get; }
public EntityNotFoundException(string e... |
FFXIVClientStructs/FFXIV/Component/GUI/AtkUldComponentDataDragDrop.cs | r00telement/FFXIVClientStructs | 69 | 7030262 | <reponame>r00telement/FFXIVClientStructs
using System.Runtime.InteropServices;
namespace FFXIVClientStructs.FFXIV.Component.GUI
{
[StructLayout(LayoutKind.Explicit, Size = 0x10)]
public unsafe struct AtkUldComponentDataDragDrop
{
[FieldOffset(0x00)] public AtkUldComponentDataBase Base;
[Fi... |
Data/Repositories/UserRepository.cs | victorpothin/dotnet5init | 2 | 7030263 | <gh_stars>1-10
using Domain.Repositories.Interfaces;
using Domain.Models;
using Data.Contexts;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using System.Linq;
namespace Data.Repositories
{
public class UserRepository : IUserRepository
{
private readonly UserContext userContext;
public U... |
src/Application/TodoItems/Queries/GetTodoItemsFile/GetTodoItemsFileQuery.cs | rafysanchez/CleanArchitecture | 1 | 7030264 | using AutoMapper;
using AutoMapper.QueryableExtensions;
using CleanArchitecture.Application.Common.Interfaces;
using MediatR;
using Microsoft.EntityFrameworkCore;
using System.Threading;
using System.Threading.Tasks;
namespace CleanArchitecture.Application.TodoItems.Queries.GetTodoItemsFile
{
public class GetTodo... |
bReader.Shared/MapperProfile.cs | artiga033/bReader | 1 | 7030265 | using AutoMapper;
using bReader.Shared.Models;
using System.Text.Json;
namespace bReader.Shared
{
public class MapperProfile : Profile
{
public MapperProfile()
{
ForAllPropertyMaps(p => p.DestinationMember == null, (p, cfg) => cfg.UseDestinationValue());
CreateMap<strin... |
RottenReviews/RottenReviewsWeb/DAL/IEntity.cs | 1804-Apr-USFdotnet/john-dominguez-project1 | 0 | 7030266 | <reponame>1804-Apr-USFdotnet/john-dominguez-project1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RottenReviewsWeb.DAL
{
public abstract class BaseEntity
{
DateTime Created { get; set; }
DateTime? Modified { get; set; }
}
} |
HelpfulThings.Connect.Steam/Models/Store/ApplicationDetailPackageGroupSummaryItem.cs | bytewisemarissa/HelpfulThings.Connect.Steam | 0 | 7030267 | <gh_stars>0
using Newtonsoft.Json;
namespace HelpfulThings.Connect.Steam.Models.Store
{
public class ApplicationDetailPackageGroupSummaryItem
{
[JsonProperty("packageid")]
public int PackageId { get; set; }
[JsonProperty("percent_savings_text")]
public string PercentSav... |
PulsarModLoader/Content/Components/MegaTurret/MegaTurretMod.cs | PULSAR-Modders/pulsar-plugin-loader | 10 | 7030268 | namespace PulsarModLoader.Content.Components.MegaTurret
{
public abstract class MegaTurretMod
{
public MegaTurretMod()
{
}
public virtual string Name
{
get
{
{ return ""; }
}
}
public virtual PLShipCompo... |
edit/Product Showcase/VisualStudioDemo/CS/Content.cs | aTiKhan/winforms-demos | 0 | 7030269 | <filename>edit/Product Showcase/VisualStudioDemo/CS/Content.cs
#region namespace
using Syncfusion.Windows.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ... |
TinyCRM.Web.MVC/Views/LegalPerson/_Form.cshtml | tomferreira/TinyCRM | 0 | 7030270 | <reponame>tomferreira/TinyCRM
@model TinyCRM.Application.ViewModels.LegalPerson.LegalPersonViewModel
<form method="post">
@Html.AntiForgeryToken()
@if (Model != null)
{
<input asp-for="Id" type="hidden" />
}
<div class="card-body">
<div asp-validation-summary="ModelOnly" class="tex... |
SlowPlayerOnContact.cs | jooshkins/Divided | 0 | 7030271 | <reponame>jooshkins/Divided<filename>SlowPlayerOnContact.cs
using UnityEngine;
public class SlowPlayerOnContact : MonoBehaviour {
public float AddDragToPlayer;
void OnTriggerEnter2D (Collider2D other) {
other.GetComponent<Rigidbody2D>().drag = other.GetComponent<Rigidbody2D>().drag + AddDragToPlayer;
}
void On... |
src/Abp/Modules/Core/Abp.Modules.Core.Infrastructure.EntityFramework/Modules/Core/Data/Repositories/EntityFramework/CoreModuleEfRepositoryBase.cs | jfvaleroso/ASPNETBOILERPLATE-TEST | 1 | 7030272 | using Abp.Domain.Entities;
using Abp.Domain.Repositories.EntityFramework;
namespace Abp.Modules.Core.Data.Repositories.EntityFramework
{
public abstract class CoreModuleEfRepositoryBase<TEntity> : CoreModuleEfRepositoryBase<TEntity, int>
where TEntity : class, IEntity<int>
{
}
public ... |
api/src/BellRichM.Weather.Api/Data/Condition.cs | bellrichm/weather | 2 | 7030273 | using BellRichM.Attribute.CodeCoverage;
namespace BellRichM.Weather.Api.Data
{
/// <summary>
/// The min max weather conditions for a given time.
/// </summary>
[ExcludeFromCodeCoverage]
public class Condition
{
/// <summary>
/// Gets or sets the year.
/// </... |
src/CS/TwentiethDay/TwentiethDayTest.cs | BMedison/ThirtyDaysOfCode | 0 | 7030274 | <filename>src/CS/TwentiethDay/TwentiethDayTest.cs
using NUnit.Framework;
using TwentiethDay.BubbleSort;
namespace TwentiethDay
{
[TestFixture]
class TwentiethDayTest
{
private IBubbleSort bs;
[SetUp]
public void Setup()
{
bs = new BubbleSortOne();
}
... |
Assets/model/Units/WildAnimal.cs | Doidel/UnityCiv | 3 | 7030275 | using UnityEngine;
using System.Collections;
using System;
using System.Linq;
using System.Collections.Generic;
public class WildAnimal : IGameUnit
{
protected CharacterMovement movement;
public int CurrentDirection = 0;
public override void UseAction(UnitAction action)
{
base.UseAction(acti... |
lib/cctask/CCTask/RunWrapper.cs | UPBIoT/renode-iot | 3 | 7030276 | <reponame>UPBIoT/renode-iot
/**
* CCTask
*
* Copyright 2012 <NAME> <<EMAIL>>
*
* 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 th... |
Intersect.Editor/Forms/Editors/Events/Event Commands/Event_GraphicSelector.Designer.cs | Justn53/Intersect-Engine-Shoppe | 0 | 7030277 | <gh_stars>0
using DarkUI.Controls;
namespace Intersect.Editor.Forms.Editors.Events.Event_Commands
{
partial class EventGraphicSelector
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summa... |
BooLangCompiler/Boo/Lang/Compiler/TypeSystem/Services/TypeCompatibilityRules.cs | Spoiledpay/Newboo | 3 | 7030278 | <reponame>Spoiledpay/Newboo<gh_stars>1-10
namespace Boo.Lang.Compiler.TypeSystem.Services
{
public static class TypeCompatibilityRules
{
public static bool IsAssignableFrom(IType expectedType, IType actualType)
{
return expectedType.IsAssignableFrom(actualType);
}
}
}
|
2016-03-26-Reflection-and-Expression-Trees/demos/CreatingExpressionTrees/Program.cs | tinmanjk/TelerikAcademyPlus | 23 | 7030279 | <reponame>tinmanjk/TelerikAcademyPlus
namespace CreatingExpressionTrees
{
using System;
using System.Linq.Expressions;
using System.Collections.Generic;
using System.Reflection;
public class Program
{
public static void Main()
{
// var instance = New<MyClass>.Instan... |
Badzeet.Budget.DataAccess/BudgetCategoryRepository.cs | yanhamu/Badzeet | 1 | 7030280 | using Badzeet.Budget.DataAccess;
using Badzeet.Budget.Domain.Interfaces;
using Badzeet.Budget.Domain.Model;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Badzeet.DataAccess.Budget
{
public class BudgetCategoryRepository : IBudgetC... |
Trifolia.Terminology/IVocabularyService.cs | BOBO41/trifolia | 3 | 7030281 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace Trifolia.Terminology
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServi... |
src/ProblemDetails/ProblemDetailsException.cs | mabead/Middleware | 0 | 7030282 | <gh_stars>0
using System;
namespace Hellang.Middleware.ProblemDetails
{
public class ProblemDetailsException : Exception
{
public ProblemDetailsException(Microsoft.AspNetCore.Mvc.ProblemDetails details)
{
Details = details;
}
public Microsoft.AspNetCore.Mvc.Problem... |
src/Google.Datastore.V1Beta3/KeyPartial.cs | rok987/gcloud-dotnet | 0 | 7030283 | <gh_stars>0
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... |
src/Example/Dev.EventBus.Example.Subscribe/IntegrationEvents/EventHandling/MainChangedIntegrationEventHandler.cs | mehmetunal/devfreco | 0 | 7030284 | using Dev.EventBus.Abstractions;
using Dev.EventBus.Example.Subscribe.IntegrationEvents.Events;
using Microsoft.Extensions.Logging;
using System;
using System.Threading.Tasks;
namespace Dev.EventBus.Example.Subscribe.IntegrationEvents.EventHandling
{
public class MainChangedIntegrationEventHandler : IIntegrationE... |
ZptSharp/Expressions/PathExpressions/FailureValueProvider.cs | csf-dev/ZPT-Sharp | 1 | 7030285 | <reponame>csf-dev/ZPT-Sharp<filename>ZptSharp/Expressions/PathExpressions/FailureValueProvider.cs
using System.Threading;
using System.Threading.Tasks;
namespace ZptSharp.Expressions.PathExpressions
{
/// <summary>
/// An implementation of <see cref="IGetsValueFromObject"/> which returns a failure result.
... |
VoicemeeterOsdProgram/Updater/UpdateManager.cs | DuckyCrayfish/VoicemeeterFancyOSD | 0 | 7030286 | using Octokit;
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using VoicemeeterOsdProgram.Updater.Types;
using System.Runtime.InteropServices;
using AtgDev.Utils.Directo... |
src/dotnet/EntityFX.NetBenchamarks.Core/Scimark2/Random.cs | Civil/EntityFX-Bench | 11 | 7030287 | using System;
namespace EntityFX.NetBenchmark.Core.Scimark2
{
public class Random
{
/* ------------------------------------------------------------------------------
CLASS VARIABLES
--------------------------------------------------------------------... |
src/TumblThree/TumblThree.Applications/Services/ManagerService.cs | Thomas694/TumblThree | 0 | 7030288 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Waf.Foundation;
using System.Windows;
using System.Windows.Data;
using TumblThree.Domain.Models.Blogs;
using Tumbl... |
Nes7/MyNes/WinForms/Frm_Main.Designer.cs | evgenyvinnik/jvsc-windows-apps | 2 | 7030289 | /*********************************************************************\
*This file is part of My Nes *
*A Nintendo Entertainment System Emulator. *
* *
*Copyright (C) 2009 - 2010 ... |
Cinnamon/Models/Effects/MoveObjectWithCapturesEffect.cs | lelandjobson/Cinnamon | 10 | 7030290 | <filename>Cinnamon/Models/Effects/MoveObjectWithCapturesEffect.cs
using Rhino.Geometry;
using System;
namespace Cinnamon.Models.Effects
{
/// <summary>
/// Moves an object.
/// </summary>
[Serializable]
public class MoveObjectWithCapturesEffect : IEffect
{
public string Name { get; se... |
Appleseed.Base.Data/Utility/Serializer.cs | xingh/Appleseed.Search.Lite | 1 | 7030291 | <filename>Appleseed.Base.Data/Utility/Serializer.cs
using System;
using System.Collections;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Xml.Serialization;
using Appleseed.Base.Data.Model;
namespace Appleseed.Base.Data.Utility
{
public static class Seriali... |
AviationWeather.NET/Connectors/IConnector.cs | bnolan001/AviationWeather.NET | 1 | 7030292 | <filename>AviationWeather.NET/Connectors/IConnector.cs<gh_stars>1-10
using System.Threading.Tasks;
namespace BNolan.AviationWx.NET.Connectors
{
/// <summary>
/// Connector interface for use with the TAF and METAR data retrieval
/// </summary>
public interface IConnector
{
/// <summary>
... |
src/main.lib/Plugins/ValidationPlugins/Dns/DnsValidation.cs | andmattia/win-acme | 0 | 7030293 | using ACMESharp.Authorizations;
using PKISharp.WACS.Clients.DNS;
using PKISharp.WACS.Services;
using Serilog.Context;
using System;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace PKISharp.WACS.Plugins.ValidationPlugins
{
/// <summary>
/// Base im... |
backend/src/Squidex.Infrastructure/Assets/ImageSharp/ImageSharpAssetThumbnailGenerator.cs | Ruud-cb/squidex | 0 | 7030294 | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... |
projects/Gibbed.Mafia2.ResourceExplorer/ResourceViewers/MemFileViewer.Designer.cs | MasterScott/Gibbed.Illusion | 15 | 7030295 | namespace Gibbed.Mafia2.ResourceExplorer
{
partial class MemFileViewer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... |
src/Fortnite/Fortnite.Model/Responses/WorldInfo/LinkedQuest.cs | pirica/FTN-Power | 25 | 7030296 | namespace Fortnite.Model.Responses.WorldInfo
{
public class LinkedQuest
{
public string questDefinition { get; set; }
public ObjectiveStatHandle objectiveStatHandle { get; set; }
}
} |
Online_Store_Tests/Commands/ProductCommands/ListProductsOnSaleCommandTests/Execute_Should.cs | Indeavr/Online-Store | 0 | 7030297 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Online_Store.Commands.ProductCommands;
using Online_Store.Core.ProductServices;
using Online_Store.Core.Providers;
using Online_Store.Core.Services.User;
using Online_Store.Data;
using System;
using System.Collections.Generic;
using System.Linq;
usin... |
src/Contracts/Masa.Auth.Contracts.Admin/Infrastructure/Dtos/Pagination.cs | masastack/MASA.Auth | 4 | 7030298 | <filename>src/Contracts/Masa.Auth.Contracts.Admin/Infrastructure/Dtos/Pagination.cs
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.
namespace Masa.Auth.Contracts.Admin.Infrastructure.Dtos;
public class Pagination<T> :... |
DotNetBungieAPI/Services/Interfaces/IBungieApiAccess.cs | EndGameGl/.NetBungieAPI | 25 | 7030299 | <reponame>EndGameGl/.NetBungieAPI
using DotNetBungieAPI.Services.ApiAccess.Interfaces;
namespace DotNetBungieAPI.Services.Interfaces;
/// <summary>
/// Access interface for all API methods
/// </summary>
public interface IBungieApiAccess
{
/// <summary>
/// Access to https://bungie.net/Platform/App e... |
Frontend/Assets/3DGamekit/Packages/ProCore/Polybrush/Code/Editor/Classes/z_BrushTarget.cs | qxlllll/MMORPG | 9 | 7030300 | <gh_stars>1-10
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
namespace Polybrush
{
/**
* Stores information about the object a brush is currently hovering.
*/
public class z_BrushTarget : z_IValid
{
// List of hit locations on this target mesh.
public List<z_RaycastHit>... |
StereoKit/Math/SKMath.cs | pambros/StereoKit | 371 | 7030301 | using System;
namespace StereoKit
{
/// <summary>This class contains some convenience math functions!
/// StereoKit typically uses floats instead of doubles, so you won't need
/// to cast to and from using these methods.</summary>
public static class SKMath
{
/// <summary>The mathematical constant, Pi!</summa... |
W3SHARE/W3SHARE/Repository/AlbumRepository.cs | JancoWeyers2601/W3SHARE | 0 | 7030302 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using W3SHARE.Data;
using W3SHARE.Models;
namespace W3SHARE.Repository
{
public class AlbumRepository
{
private readonly W3SHAREContext _context;
//CONSTRUCTOR... |
Framework/Debugger/Runtime/RuntimeValue_String.cs | PervasiveDigital/netmf-interpreter | 529 | 7030303 | using System;
using System.Text;
namespace Microsoft.SPOT.Debugger
{
public class RuntimeValue_String : RuntimeValue
{
internal string m_value;
protected internal RuntimeValue_String( Engine eng, WireProtocol.Commands.Debugging_Value handle ) : base( eng, handle )
{
... |
src/MbUnit/MbUnit/Framework/ContractVerifiers/Core/ListHandler.cs | citizenmatt/gallio | 1 | 7030304 | // Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/lic... |
Discio.Test/DiscioTesting.cs | waltersoto/discio | 0 | 7030305 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Discio.Test {
[TestClass]
public class DiscioTesting {
private const string USER_DATA = "users";
//Path to the storage folder
private const string DATA_STORAGE = "";
private const string DATA_SOURCE = "main";
... |
Assets/MaterialUI/Scripts/MaterialUtils/InstantiationHelpers/ButtonRectInstantiationHelper.cs | PedroRossa/HeightViewer | 0 | 7030306 | // Copyright 2017 MaterialUI for Unity http://materialunity.com
// Please see license file for terms and conditions of use, and more information.
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
namespace MaterialUI
{
/// <summary>
/// Helper Component to handle the configuration of newly-instan... |
src/Model/DataTransfer/Estimating/EstimateProductDto.cs | propil5/WarelogManager | 0 | 7030307 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WarelogManager.Model.DataTransfer.Common;
namespace WarelogManager.Model.DataTransfer.Estimating
{
/// <summary>
/// Use it ... |
src/Cake.Issues.MsBuild.Tests/FakeMsBuildLogFileFormat.cs | cho-trackman/Cake.Issues.MsBuild | 5 | 7030308 | namespace Cake.Issues.MsBuild.Tests
{
using System;
using System.Collections.Generic;
using Cake.Core.Diagnostics;
internal class FakeMsBuildLogFileFormat : BaseMsBuildLogFileFormat
{
public FakeMsBuildLogFileFormat(ICakeLog log)
: base(log)
{
}
public n... |
Engine/Math/2d/IntSize2.cs | AnomalousMedical/Engine | 0 | 7030309 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using Engine.Saving;
namespace Engine
{
/// <summary>
/// A 2 dimensional size class.
/// </summary>
[StructLayout(LayoutKind.Explicit, Size = 8)]
public struct ... |
Protocol16.Tests/Protocol16SerializerTest.cs | cmdrtba/chestinventory | 0 | 7030310 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using NUnit.Framework;
using Protocol16.Photon;
namespace Protocol16.Tests
{
[TestFixture]
class Protocol16SerializerTest
{
[Test]
public void SerializeArraySegment()
{
TestSerial... |
Assets/Ceto/Scripts/UnderWater/UnderWaterBase.cs | dxxia/Final_Boys_Fishing | 0 | 7030311 | using UnityEngine;
using System.Collections;
namespace Ceto
{
/// <summary>
/// Abstract base class for underwater effects.
/// </summary>
[DisallowMultipleComponent]
public abstract class UnderWaterBase : OceanComponent
{
/// <summary>
/// The under water mode.
/// ABOVE - o... |
TabbedEditor/TargaViewer/TargaHeader.cs | foxscore/TabbedEditor | 0 | 7030312 | <filename>TabbedEditor/TargaViewer/TargaHeader.cs
using System;
using System.IO;
namespace TabbedEditor.TargaViewer
{
public class TargaHeader
{
public byte IdLenght { get; private set; }
// public byte ColorMapType { get; private set; }
public ImageType ColorMapType { get; private set... |
GXPEngine/GXPEngine/Utils/MouseHandler.cs | Jessebeau2001/Liftoff | 1 | 7030313 | using System;
using GXPEngine.Core;
namespace GXPEngine
{
/**
* Simple MouseHandler interface between the Input class and your own code, that turns the Input.mouseX Input.mouseY
* into a more event based approach.
*
* Do not forget to unsubscribe manually from each event before you set the handler to null.
... |
SimpleIdentityServer/src/Apis/SimpleIdServer/SimpleIdentityServer.Core/Api/Jwks/Actions/JsonWebKeyEnricher.cs | appkins/SimpleIdentityServer | 71 | 7030314 | #region copyright
// Copyright 2015 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
Visual Studio/MobileSecondHand/MobileSecondHand.API.Models.Shared/Enumerations/AdvertisementsKind.cs | MarcinSzyszka/MobileSecondHand | 1 | 7030316 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MobileSecondHand.API.Models.Shared.Enumerations
{
public enum AdvertisementsKind
{
[DisplayName("Ogłoszenia wokół Twojej aktualnej lokalizacji")]
Advertiseme... |
Biotime2/BiotimeClient/AdditionalForms/MessageForm.Designer.cs | nikitabessarab/Biotime | 0 | 7030317 | <reponame>nikitabessarab/Biotime<filename>Biotime2/BiotimeClient/AdditionalForms/MessageForm.Designer.cs
namespace BiotimeClient.AdditionalForms
{
partial class MessageForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summa... |
src/Chemistry/Chem4Word.ACME/Commands/PickElementCommand.cs | kazuyaujihara/Version3-1 | 0 | 7030318 | <gh_stars>0
// ---------------------------------------------------------------------------
// Copyright (c) 2019, The .NET Foundation.
// This software is released under the Apache License, Version 2.0.
// The license and further copyright text can be found in the file LICENSE.md
// at the root directory of th... |
tests/System.Collections.Sequences.Tests/SampleCollections/Hashtable.cs | colombod/corefxlab | 1,642 | 7030319 | // 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.Collections.Generic;
namespace System.Collections.Sequences
{
public sealed class Hashtable<K, V> ... |
src/Application/Configuration/DomainEvents/IDomainEventNotification.cs | rileyKacmarynski/dotnet-cqrs-ddd | 1 | 7030320 | <reponame>rileyKacmarynski/dotnet-cqrs-ddd
using MediatR;
using System;
namespace SampleStore.Application.Configuration.DomainEvents
{
// the out keyword means that TEventType is covariant.
// this means we can use a more derived type for TEventType than what
// is specified by the generic parameter.
... |
Glyssen/Properties/Settings.Designer.cs | sillsdev/Glyssen | 6 | 7030322 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/TSToast.cs | lavataste/TizenFX | 1 | 7030323 | <filename>test/Tizen.NUI.Tests/Tizen.NUI.Components.Devel.Tests/testcase/Controls/TSToast.cs
using global::System;
using NUnit.Framework;
using NUnit.Framework.TUnit;
using Tizen.NUI;
using Tizen.NUI.Components;
using Tizen.NUI.BaseComponents;
namespace Tizen.NUI.Components.Devel.Tests
{
using tlog = Tizen.Log;
... |
Models/ArchivedLinkPart.cs | Lombiq/Orchard-Archived-Links | 0 | 7030324 | using Orchard.ContentManagement;
using Orchard.ContentManagement.Records;
namespace Lombiq.ArchivedLinks.Models
{
public class ArchivedLinkPart : ContentPart<ArchivedLinkPartRecord>
{
public string OriginalUrl
{
get { return Retrieve(x => x.OriginalUrl); }
set... |
Samples.Specifications.Tests.Infra/RegistratorExtensions.cs | OwenMcDonnell/Samples.Specifications | 0 | 7030325 | using Attest.Testing.Contracts;
using Solid.Practices.IoC;
namespace Samples.Specifications.Tests.Infra
{
//TODO: Move to packages
public static class RegistratorExtensions
{
public static IDependencyRegistrator UseLocalApplicationForIntegration(this IDependencyRegistrator dependencyRegistrator)
... |
src/Piet.Interpreter/CodelChooser.cs | lethiess/piet | 0 | 7030326 | <gh_stars>0
using Piet.Color;
using Piet.Grid;
namespace Piet.Interpreter;
internal sealed class CodelChooser : ICodelChooser
{
// 8 Retries
// 4 directions with 2 codel chooser states per direction
// the program terminates if the max retries are reached
//
private const int MAX_RETRY_COUNT = ... |
src/02_Data/Data.Abstractions/Annotations/LengthAttribute.cs | ksbeer/Mkh | 82 | 7030327 | <reponame>ksbeer/Mkh
using System;
namespace Mkh.Data.Abstractions.Annotations;
/// <summary>
/// 属性长度
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class LengthAttribute : Attribute
{
/// <summary>
/// 长度
/// </summary>
public int Length { get; set; }
/// <summary>
/// 属性... |
ArmaRealMap/TerrainData/SimpleSpacialIndex.cs | jetelain/ArmaRealMap | 0 | 7030328 | using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
namespace ArmaRealMap
{
public class SimpleSpacialIndex<T> : IEnumerable<T>
where T : class
{
private class DataNode
... |
external/source/Scanner/share/LumiSoft.Net/IMAP/IMAP_t_Fetch_r_i_BodyStructure.cs | 0x727/metasploit-framework | 1 | 7030329 | <filename>external/source/Scanner/share/LumiSoft.Net/IMAP/IMAP_t_Fetch_r_i_BodyStructure.cs
using System;
using System.Collections.Generic;
using LumiSoft.Net.MIME;
namespace LumiSoft.Net.IMAP
{
// Token: 0x020001B6 RID: 438
public class IMAP_t_Fetch_r_i_BodyStructure : IMAP_t_Fetch_r_i
{
// Token: 0x06... |
DAC/DTA/RotaryEncoder.cs | H-J-P/DAC-Source | 0 | 7030330 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DAC
{
//-------------------------------------------------------------------------------------------------------------------
// AB AB AB AB AB AB AB AB AB
// 00 01 11 10 00 01 11 10 00 Note: Only ... |
src/Model/GingerbreadAI.Model.ConvolutionalNeuralNetwork.Test/Models/Filter1DShould.cs | BenChiverton-Cal/GingerbreadAI | 0 | 7030331 | <reponame>BenChiverton-Cal/GingerbreadAI<gh_stars>0
using GingerbreadAI.Model.ConvolutionalNeuralNetwork.Models;
using GingerbreadAI.Model.NeuralNetwork.ActivationFunctions;
using GingerbreadAI.Model.NeuralNetwork.InitialisationFunctions;
using GingerbreadAI.Model.NeuralNetwork.Models;
using Xunit;
using Xunit.Abstract... |
ATSPM.Repositories.EntityFramework/GeneratedModels/ActionLogMetricType.cs | avenueconsultants/ATSPM | 0 | 7030332 | using System;
using System.Collections.Generic;
#nullable disable
namespace ATSPM.Infrastructure.Repositories.EntityFramework.Repositories
{
public partial class ActionLogMetricType
{
public int ActionLogActionLogId { get; set; }
public int MetricTypeMetricId { get; set; }
public vir... |
Core/Lyra.Node2/Services/KeylessWallet.cs | LYRA-Block-Lattice/Lyra-Core | 17 | 7030333 | using Lyra.Core.API;
using Lyra.Core.Blocks;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Lyra.Data.Utils;
namespace Noded.Services
{
public class KeylessWallet
{
private string _acco... |
aspnet-core/src/IIASA.FloodCitiSense.Mobile.Core/Services/Location/ILocationService.cs | FloodCitiSense/FloodCitiSense | 1 | 7030334 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ILocationService.cs" company="IIASA">
// EOS
// </copyright>
// <summary>
// ILocationService.cs
// </summary>
// ------------------------------------------------------... |
src/ExaVault/Model/UserAttributes.cs | JuanuMusic/evapi-csharp | 4 | 7030335 | <gh_stars>1-10
/*
* ExaVault API
*
* See our API reference documentation at https://www.exavault.com/developer/api-docs/
*
* OpenAPI spec version: 2.0
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
us... |
src/Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv/Internal/Networking/UvTcpHandle.cs | PHeonix25/KestrelHttpServer | 3 | 7030336 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Net;
using System.Runtime.InteropServices;
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Internal.Networking... |
src/Skybrud.Integrations.Siteimprove/Endpoints/Analytics/SiteimproveAnalyticsOverviewRawEndpoint.cs | skybrud/Skybrud.Integrations.Siteimprove | 0 | 7030337 | using System;
using Skybrud.Essentials.Http;
using Skybrud.Integrations.Siteimprove.Http;
using Skybrud.Integrations.Siteimprove.Options.Analytics.Overview;
namespace Skybrud.Integrations.Siteimprove.Endpoints.Analytics {
public class SiteimproveAnalyticsOverviewRawEndpoint {
#region Properties
... |
src/TechObject/ObjectsTree/UniversalObject/LocalRestriction.cs | as005407/EasyEPLANner | 0 | 7030338 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TechObject
{
public class LocalRestriction : Restriction
{
public LocalRestriction(string name, string value, string luaName,
SortedDictionary<int, List<int>> dict... |
ApplicationTests/File/SchoolExampleTest.cs | Baudin999/ZDragon_Old_002 | 1 | 7030339 | <reponame>Baudin999/ZDragon_Old_002<filename>ApplicationTests/File/SchoolExampleTest.cs
using System;
using System.IO;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace ApplicationTests
{
public class SchoolExampleTest : BaseFileWatcherTest
{
public SchoolExampleTest(ITest... |
src/SqlBulkCopyMerge/Models/SqlBulkCopyConfig.cs | stevekirks/sql-bulk-copy-merge | 4 | 7030340 | <reponame>stevekirks/sql-bulk-copy-merge
using Microsoft.Data.SqlClient;
namespace SqlBulkCopyMerge.Models
{
public class SqlBulkCopyConfig
{
/// <summary>
/// Throw an exception if after the Copy there are 0 rows in the target.
/// If false and there are 0 rows, then MERGE is skipped
... |
NetCoreTest/Program.cs | EvansHub/Masuit.Tools | 1 | 7030341 | using Masuit.Tools.Core.Database;
using Masuit.Tools.Hardware;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace NetCoreTest
{
public class Program
{
public static void Main(string[]... |
AppDemo/Model/Contar/AppContar.cs | lagranapp/LaGranApp | 0 | 7030344 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace AppDemo.Model.Contar
{
[Table("AppContar")]
public class AppContar
{
[Key]
public int Id { get; set; }
publi... |
src/EA.Weee.XmlValidation/BusinessValidation/MemberRegistration/Rules/Producer/CompanyAlreadyRegistered.cs | uk-gov-mirror/defra.prsd-weee | 2 | 7030345 | <filename>src/EA.Weee.XmlValidation/BusinessValidation/MemberRegistration/Rules/Producer/CompanyAlreadyRegistered.cs<gh_stars>1-10
namespace EA.Weee.XmlValidation.BusinessValidation.MemberRegistration.Rules.Producer
{
using Core.Helpers;
using QuerySets;
using System.Linq;
using Xml.MemberRegistration;... |
WpfSettings/Settings/ApplicationSettings.cs | RFBProducts/WpfSettings | 0 | 7030346 | namespace WpfSettings.Settings
{
public class ApplicationSettings
{
public int Id { get; set; }
public string ServerUrl { get; set; }
public bool Mode { get; set; }
}
}
|
admin/Ouput-KG/Assets/QRToMap/read/QRSkeletonSquare.cs | TimBouwman/KlauterGame | 0 | 7030347 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class QRSkeletonSquare : MonoBehaviour {
[SerializeField] private List<Transform> cornerTransforms;
private List<Vector2> corners = new List<Vector2>();
private float size;
private Vector3 center = new Vector2(0.5f... |
Assets/Scripts/DeadUpdater.cs | SalonDesDevs/CanyonThing3D | 1 | 7030349 | using System;
using UnityEngine;
using UnityEngine.UI;
public class DeadUpdater : MonoBehaviour {
public Player player;
public GameObject panel;
void Start() {
panel.SetActive(false);
}
void Update() {
if (player.TotalHealth <= 0) {
panel.SetActive(true);
}
... |
src/DotNet.Business/BaseMessage/BaseMessageManager.Auto.cs | cuiwenyuan/DotNet.Util | 1 | 7030350 | <filename>src/DotNet.Business/BaseMessage/BaseMessageManager.Auto.cs<gh_stars>1-10
//--------------------------------------------------------------------
// All Rights Reserved. Copyright (C) 2021, DotNet.
//--------------------------------------------------------------------
using System;
using System.Collections.Ge... |
src/Nether.Web/Features/Analytics/Models/Analytics/ActiveSessionsListResponseModel.cs | vinnytheviking/nether | 0 | 7030351 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.ComponentModel;
using Newtonsoft.Json;
namespace Nether.Web.Features.Analytics.Models.Analytics
{
public class Activ... |
src/React/Infrastructure/ExecutionPipeline/ExcecutionPipeline.cs | MiniverCheevy/spa-starter-kit | 0 | 7030352 | <filename>src/React/Infrastructure/ExecutionPipeline/ExcecutionPipeline.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Voodoo.Messages;
using Web.Infrastructure.ExecutionPipeline.Models;
namespace Web.Infrastructure.ExecutionPipeline
{
public delegate Task ExecutionDelegate... |
src/Orchard.Web/obj/Release/Package/PackageTmp/Modules/Orchard.ImageGallery/Views/DisplayTemplates/Parts/Plugins/SlideViewerPro.cshtml | hanjia2014/HotTravel | 0 | 7030353 | <reponame>hanjia2014/HotTravel
@using Orchard.ImageGallery.Helpers
@using System.Web.Mvc.Html
@{ Style.Require("ImageGallery"); }
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
@model Orchard.ImageGallery.View... |
HomeManagement.Data/NotificationRepository.cs | infinitydirico/homemanagement | 1 | 7030354 | using HomeManagement.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
namespace HomeManagement.Data
{
public class NotificationRepository : BaseRepository<Notification>, INotificationRepository
{
public NotificationRepository(DbContext con... |
Gold-Chat/Server/ClientService/ManageClientFriend.cs | wizir/Gold-Chat | 0 | 7030356 | using CommandClient;
using Server.Interfaces;
using Server.ResponseMessages;
using System;
using System.Collections.Generic;
namespace Server.ClientService
{
class ManageClientFriend : ServerResponds, IBuildResponse
{
public event EventHandler<ClientEventArgs> ClientAddFriend;
public event Eve... |
src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/create.aspx.cs | wtct/Umbraco-CMS | 0 | 7030357 | <reponame>wtct/Umbraco-CMS
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Xml;
using Umbraco.Cor... |
src/dotVariant.Runtime/Accessor.cs | TheBlubb14/dotvariant | 45 | 7030358 | <reponame>TheBlubb14/dotvariant
//
// Copyright <NAME> 2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
//
namespace dotVariant
{
/// <summary>
/// Overload selectors for <c>GetUnsafe()</c> direct access.... |
Chat.Web/Models/Room.cs | Joy-Gift/DerivcoChat | 2 | 7030359 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Chat.Web.Models
{
public class Room
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
[Required]
public virtu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.