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 |
|---|---|---|---|---|
src/CQRS/EntityFrameworkCore/Command/DeleteEntityByIdCommand.cs | stize/dotnet | 6 | 7068426 | <reponame>stize/dotnet
using Microsoft.EntityFrameworkCore;
using Stize.Domain.Entity;
namespace Stize.CQRS.EntityFrameworkCore.Command
{
public class DeleteEntityByIdCommand<TEntity, TKey, TContext> : EntityCommand<TEntity, TKey, TContext>
where TEntity : class, IEntity<TKey>
where TContext : Db... |
src/FileHelpers.Fluent.CodeDom/ClassGenerator.cs | harlennaves/FileHelpers.Fluent | 4 | 7068427 | using FileHelpers.Fluent.Core.Descriptors;
using FileHelpers.Fluent.Core.Extensions;
using FileHelpers.Fluent.Core.IO;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Text;
namespace FileHelpers.Fluent.CodeDom
{
public static class ClassGenerator
{
public static string GenerateCSharp... |
NoRe.Database.Core/Models/Column.cs | NoctusRex/NoRe.Database.Core | 0 | 7068428 | <reponame>NoctusRex/NoRe.Database.Core
namespace NoRe.Database.Core.Models
{
/// <summary>
/// One column of a row
/// </summary>
public class Column
{
/// <summary>
/// The table column title of the reader result
/// </summary>
public string Key { get; set; }
... |
MicroServiceGateway/MicroServiceGateway.Client/MSGMiddleware.cs | yswenli/MicroServiceGateway | 1 | 7068429 | <reponame>yswenli/MicroServiceGateway
/****************************************************************************
*项目名称:MicroServiceGateway.Client
*CLR 版本:4.0.30319.42000
*机器名称:WALLE-PC
*命名空间:MicroServiceGateway.Client
*类 名 称:MSGMiddleware
*版 本 号:V1.0.0.0
*创建人: yswenli
*电子邮箱:<EMAIL>
*创建时间:2020/8/20 13:54:01
*描述:
*==... |
Assets/Scripts/AI/Enemy/SampleAIController.cs | jonmann20/WizardSurvival | 9 | 7068430 | <reponame>jonmann20/WizardSurvival
using UnityEngine;
using System.Collections;
using RAIN.Core;
using RAIN.Action;
using System.Linq;
public class SampleAIController : MonoBehaviour {
public float health = 90f;
public float speed = 7.0f;
private int damageToApply = 15;
private float deathTimer = 3.0f;
publi... |
src/Memores.Metrics.Wcf/Model/Reports/ApdexReport.cs | memores/Memores.NetAPMAgent | 0 | 7068431 | <filename>src/Memores.Metrics.Wcf/Model/Reports/ApdexReport.cs
using Memores.Metrics.Wcf.Model.Reports.Base;
namespace Memores.Metrics.Wcf.Model.Reports {
public class ApdexReport: MetricsReportBase {
public decimal Apdex { get; set; }
}
} |
McSystemOpenBuyProV2/DialogServicioOrder.Designer.cs | chrisPumita/reckrea-pos-beta | 0 | 7068432 | <filename>McSystemOpenBuyProV2/DialogServicioOrder.Designer.cs
namespace McSystemOpenBuyProV2
{
partial class DialogServicioOrder
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... |
iSukces.Mathematics/_3d/Extensions3D.cs | isukces/iSukces.Math | 0 | 7068433 | #if COREFX
using iSukces.Mathematics.Compatibility;
#else
using System.Windows;
using System.Windows.Media.Media3D;
#endif
namespace iSukces.Mathematics
{
public static class Extensions3D
{
public static Point3D ToPoint3D(this Point p, double z) { return new Point3D(p.X, p.Y, z); }
public st... |
CoolWebsite.Domain/Entities/Financial/Transaction.cs | Syhler/CoolWebsite | 2 | 7068434 | <reponame>Syhler/CoolWebsite<filename>CoolWebsite.Domain/Entities/Financial/Transaction.cs<gh_stars>1-10
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using CoolWebsite.Domain.Common;
using CoolWebsite.Domain.Entities.Identity;
using CoolWebsite.Domain.Enums;
namespa... |
Website/Portals/_default/HotcakesViews/Porto5/Areas/Account/Views/OrderHistory/DownloadFileError.cshtml | puresystems/hotcakes-commerce-core | 29 | 7068435 | <h6>@Localization.GetString("DownloadError")</h6>
<div class="row">
<div class="col-12">
@Html.Raw((string)TempData["messages"])
</div>
</div>
<div class="row">
<div class="col-12">
<a href="@Url.RouteHccUrl(HccRoute.OrderHistory)" class="btn btn-primary">
<i class="fas fa-arrow... |
Lastikoteli/Services/Concrete/ParametreService.cs | uysallevent/LastikOteli | 0 | 7068436 | using Lastikoteli.Helper.ServiceHelper;
using Lastikoteli.Models;
using Lastikoteli.Models.Complex.Request;
using Lastikoteli.Models.Complex.Response;
using Lastikoteli.Services.Abstract;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
namespace... |
Topics/07. OOP-Workshop/Workshop-Cosmetics/Cosmetics-my work/Cosmetics/Cart/ShoppingCart.cs | DimitarDKirov/Object-Oriented-Programming-2016 | 0 | 7068437 | using Cosmetics.Common;
using Cosmetics.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cosmetics.Cart
{
public class ShoppingCart
{
private ICollection<IProduct> productList;
public ShoppingCart()
... |
NaughtyAttributes/Editor/PropertyMetas/PropertyMeta.cs | tertle/com.bovinelabs.naughtyattributes | 9 | 7068438 | // <copyright file="PropertyMeta.cs" company="BovineLabs">
// Copyright (c) BovineLabs. All rights reserved.
// </copyright>
namespace BovineLabs.NaughtyAttributes.Editor.PropertyMetas
{
using BovineLabs.NaughtyAttributes.Editor.Wrappers;
using UnityEngine.Assertions;
public abstract class PropertyMe... |
AutoFrontend/Forms/FormSelectVariables.cs | fbergmann/auto-sbml | 1 | 7068439 | <filename>AutoFrontend/Forms/FormSelectVariables.cs
using System;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using AutoFrontend.Controls;
using LibRoadRunner;
namespace AutoFrontend.Forms
{
/// <summary>
/// Summary description for FormSelectVariables.
/// </summ... |
source/propinstutils/GlobalConstants.cs | shaobo-he/corral | 43 | 7068440 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PropInstUtils
{
public class PropertyKeyWords
{
public const string CmdRule = "CmdRule";
public const string ProcedureRule = "ProcedureRule";
public const strin... |
Source/Pyxis/Controls/ExpanderEx/ExpanderEx.cs | mika-f/Pyxis | 3 | 7068441 | using Windows.UI.Xaml;
using Microsoft.Toolkit.Uwp.UI.Controls;
// ReSharper disable once CheckNamespace
namespace Pyxis.Controls
{
internal class ExpanderEx : Expander
{
public new static readonly DependencyProperty HeaderProperty =
DependencyProperty.Register(nameof(Header), typeof(obj... |
Errors/TipoErroneo.cs | LuisPFdez/Gestor-Proveedores | 0 | 7068442 | <reponame>LuisPFdez/Gestor-Proveedores
using System;
namespace App
{
public class TipoErroneoException : Exception
{
public TipoErroneoException() : base() { }
public TipoErroneoException(string message) : base(message) { }
public TipoErroneoException(string message, Exception i... |
BB74.Controls/DockPanel/BaseLib/Extensions.cs | Bert1974/Dockit.Xwt | 0 | 7068443 | <reponame>Bert1974/Dockit.Xwt
using BaseLib.Xwt.Interop;
using System;
using System.Reflection;
using Xwt;
using Xwt.Backends;
namespace BaseLib.Xwt
{
public static class Extensions
{
public static void ClampPage(this Scrollbar sb)
{
sb.ClampPage(sb.LowerValue, sb.UpperValue);
... |
src/dotnet/Dmarc/src/Dmarc.Admin.Api/Controllers/GroupContoller.cs | prodypanda/mail-check | 59 | 7068444 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Dmarc.Admin.Api.Dao.Domain;
using Dmarc.Admin.Api.Dao.Group;
using Dmarc.Admin.Api.Dao.GroupDomain;
using Dmarc.Admin.Api.Dao.GroupUser;
using Dmarc.Admin.Api.Dao.User;
using Dmarc.Admin.... |
Filters/AuthorizeToken.cs | student-accommodation-one/Kara.Framework.Common.Mvc | 0 | 7068445 | <reponame>student-accommodation-one/Kara.Framework.Common.Mvc
using Microsoft.Practices.ServiceLocation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace Kara.Framework.Common.Mvc.Filters
{
public class AuthorizeTok... |
AMETAP/AMETAP/Controller/Agence_VoyageController.cs | HabibAroua/Ametap | 3 | 7068446 | <reponame>HabibAroua/Ametap
using System;
using System.Windows.Forms;
using AMETAP.Model.Business;
using AMETAP.Model.DataAcces;
namespace AMETAP.Controller
{
public class Agence_VoyageController
{
Agence_VoyageDA avDA;
Agence_Voyage av;
public Agence_VoyageController()
{
... |
Assets/Warlander/Deedplanner/Data/Roofs/RoofType.cs | tux-/DeedPlanner-3 | 16 | 7068447 | <filename>Assets/Warlander/Deedplanner/Data/Roofs/RoofType.cs
using System.Collections.Generic;
using UnityEngine;
using Warlander.Deedplanner.Graphics;
using Warlander.Deedplanner.Logic;
namespace Warlander.Deedplanner.Data.Roofs
{
public sealed class RoofType
{
public static RoofType[] RoofTypes { g... |
ThemeManager10x/Model/DateRange.cs | AKROGIS/ThemeManager | 1 | 7068448 | <reponame>AKROGIS/ThemeManager<filename>ThemeManager10x/Model/DateRange.cs
// ReSharper disable All
// Properties are public to be accessed by a WinForm control
namespace NPS.AKRO.ThemeManager.Model
{
struct Duration
{
public Duration(int days, string description)
{
Days = days;
... |
ValueLinq/Nodes/ValueWhere.cs | manofstick/Cistern.ValueLinq | 16 | 7068449 | using System;
using System.Runtime.CompilerServices;
namespace Cistern.ValueLinq.Nodes
{
struct ValueWhereNodeEnumerator<T, TInEnumerator, AlsoT, Predicate>
: IPullEnumerator<T>
where TInEnumerator : IPullEnumerator<T>
where Predicate : IFuncBase<AlsoT, bool>
{
private TInEnume... |
Entities/Components/UI/UIPositionAnchor.cs | Vorlias/Vorlias2D.NET | 2 | 7068450 | namespace Andromeda.Entities.Components
{
public enum UIPositionAnchor
{
Center = UIPositionAlign.CenterWidth | UIPositionAlign.CenterHeight | UIPositionAlign.TopCenter | UIPositionAlign.LeftCenter,
TopLeft = UIPositionAlign.Top | UIPositionAlign.Left,
TopCenter = UIPositionAlign.Center... |
ImageServer/Web/Application/Pages/Studies/StudyDetails/Controls/DeleteStudyConfirmDialog.ascx.cs | SNBnani/Xian | 1 | 7068451 | #region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using System.Collections.Generic;
... |
Scripts/AI/enemyAnimControl.cs | DamianBogus/GorilaBro | 0 | 7068452 | <gh_stars>0
using UnityEngine;
using System.Collections;
public class enemyAnimControl : MonoBehaviour {
[Header("Combat Audio Clips")]
public AudioClip[] woosh;
public AudioClip[] attacks;
GinoAnimControl player;
CharacterControl playerVitals;
AudioSource audioSource;
Animator ... |
Assets/BurningLab/ObjectsPool/Utils/ArrayUtils.cs | burning-laboratory/unity-objects-pool | 4 | 7068453 | using System.Collections.Generic;
namespace BurningLab.ObjectsPool.Utils
{
/// <summary>
/// Utils for easy worn an arrays and lists.
/// </summary>
public static class ArrayUtils
{
/// <summary>
/// Mix array.
/// </summary>
/// <param name="data">Array to mix.</par... |
SqlStorageCoreTests/SearchTests.cs | skbkontur/SqlStorage.Core | 0 | 7068454 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MoreLinq;
using NUnit.Framework;
using SkbKontur.SqlStorageCore.Tests.TestEntities;
namespace SkbKontur.SqlStorageCore.Tests
{
public class SearchTests : SqlStorageTestBase<TestValueTypedPropertiesStorageEleme... |
Gu.Xml/Internals/StringWriterPool.cs | GuOrg/Gu.Xml | 1 | 7068455 | <filename>Gu.Xml/Internals/StringWriterPool.cs
namespace Gu.Xml
{
using System.Collections.Concurrent;
using System.Globalization;
using System.IO;
using System.Text;
internal static class StringWriterPool
{
private static readonly ConcurrentQueue<Item> Cache = new ConcurrentQueue<Item... |
src/AddIns/BackendBindings/AspNet.Mvc/Project/Src/MvcViewFileName.cs | dongdapeng110/SharpDevelopTest | 11 | 7068456 | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.IO;
namespace ICSharpCode.AspNet.Mvc
{
public class MvcViewFileName : MvcFileName
{
string vie... |
Assets/Game/Scripts/Core/Fog Of War/VisionBlocker.cs | scscgit/XposeCraft | 1 | 7068458 | using UnityEngine;
using XposeCraft.GameInternal;
namespace XposeCraft.Core.Fog_Of_War
{
public class VisionBlocker : MonoBehaviour
{
// This script sets up static areas on the map where the unit cannot see
// past. Use this for blocking vision on buildings or high terrain.
// The block... |
OCommon/Extensions/EndPointExtensions.cs | OceanChip/OComon | 0 | 7068459 | <gh_stars>0
using OceanChip.Common.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace OceanChip.Common.Extensions
{
public static class EndPointExtensions
{
public static string ToAddress(this EndPo... |
Assets/Scripts/InGame/Monster Entities/BatResourceSpriting.cs | Caseyfam/Rhythm-Project | 0 | 7068460 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BatResourceSpriting : MonoBehaviour {
public Sprite[] sprites;
private int tickCounter;
private int currentSprite = 0;
private bool spritingUp = true;
SpriteRenderer sr;
public bool onHalf = false;
... |
Chapter 9/Wrox.BooksRead.Web/Wrox.BooksRead.Web/IDisplayBooksReadView.cs | hippieZhou/Professional-Test-Driven-Development-with-C-Sharp | 0 | 7068461 | using System;
using System.Collections.Generic;
namespace Wrox.BooksRead.Web
{
public interface IDisplayBooksReadView
{
event EventHandler DataRequested;
List<BookRead> Data { get; set; }
void Bind();
}
}
|
src/AddIns/BackendBindings/AspNet.Mvc/Test/Src/Folding/RazorHtmlReaderTests.cs | dongdapeng110/SharpDevelopTest | 11 | 7068462 | <reponame>dongdapeng110/SharpDevelopTest
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.AspNet.Mvc.Folding;
using NUnit.Framework;
namespace... |
Telerik - C# OOP/Practicing/InterfaceInheritance/AnotherShit/LOOW/Ivan/CalculateTwoNums.cs | fr0wsTyl/TelerikAcademy-2015- | 0 | 7068463 | <reponame>fr0wsTyl/TelerikAcademy-2015-
namespace InterfaceInheritance.AnotherShit.LOOW.Ivan
{
public static class CalculateTwoNums
{
public static ulong Calculate(ulong firstVal, ulong SecondVal)
{
return firstVal + SecondVal;
}
}
}
|
Assets/Scripts/Rune.cs | BjornKlarstrom/Team5-Runes | 0 | 7068464 | <reponame>BjornKlarstrom/Team5-Runes<gh_stars>0
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Image))]
public class Rune : MonoBehaviour
{
[SerializeField] private RuneSO runeSO;
void Awake()
{
Init();
}
private void Init()
{
Image image = GetComponent<Imag... |
Assets/RFG/Actions/Runtime/ActionNode.cs | retro-fall-games/rfg-unity | 0 | 7068465 | #if UNITY_EDITOR
using UnityEngine;
using UnityEditor.Experimental.GraphView;
using UnityEditor;
namespace RFG.Actions
{
public class ActionNode : Node
{
public ActionList actionList;
public Action action;
public Port input;
public Port output;
public ActionNode(ActionList action... |
Sln.ASPWebFormSubmit/ASPWebFormSubmit/UI/PersonalInfoView.aspx.cs | shahedbd/ASPWebFormSubmit | 0 | 7068466 | using System;
using System.Data;
using System.Data.SqlClient;
namespace ASPWebFormSubmit.UI
{
public partial class PersonalInfoView : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
RenderPage();
}
void RenderPage()
{
... |
src/Mundane/Dependency.cs | adambarclay/mundane | 4 | 7068467 | using System;
namespace Mundane;
/// <summary>Contains the base type of the dependency for which a concrete type will be created when requested.</summary>
public abstract class Dependency
{
internal Dependency(Type dependencyType)
{
this.DependencyType = dependencyType;
}
internal Type DependencyType { get; }
... |
src/FluentSerializer.Xml/Services/IAdvancedXmlSerializer.cs | Marvin-Brouwer/FluentSerializer | 3 | 7068469 | <filename>src/FluentSerializer.Xml/Services/IAdvancedXmlSerializer.cs
using FluentSerializer.Xml.DataNodes;
using System;
using FluentSerializer.Core.Context;
namespace FluentSerializer.Xml.Services;
/// <summary>
/// The FluentSerializer for XML with overloads for more advance use-cases
/// </summary>
public interfa... |
HHBK_Chemicals_ERP_CS/Produktion/Rezept/IControllerRezept.cs | MichailiK/HHBK_Chemicals-Beispiel | 0 | 7068470 | namespace HHBK_Chemicals_ERP_CS.Produktion
{
/// <summary>
/// Repräsentiert den Controller für <see cref="IModelRezept" />
/// </summary>
/// <seealso cref="Rezept" />
/// <seealso cref="IModelRezept" />
/// <seealso cref="IViewRezept" />
public interface IControllerRezept
{
... |
TriggMine.SDK.Tests/Events/EventTests.cs | TriggMineAdmin/TriggMine-DotNet-SDK | 0 | 7068471 | <gh_stars>0
using System;
using System.Net;
using NUnit.Framework;
using TriggMine.SDK.Events;
using static System.Configuration.ConfigurationSettings;
namespace TriggMine.SDK.Tests.Events
{
[TestFixture]
public class EventTests
{
private readonly string _apiKey = AppSettings["ApiKey"]; //Your Api... |
01. ProgBasics/C# Basics/Exams/02. Coding 101 Exam - 26 March 2016/5. Butterfly/Program.cs | origami99/SoftUni | 1 | 7068472 | <reponame>origami99/SoftUni<gh_stars>1-10
using System;
namespace _5.Butterfly
{
class Program
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
string stars = new string('*', n - 2);
string dashes = new string('-', n - 2);
string sp... |
Core/CafeLib.Core.UnitTests/QueueingTest.cs | kronoverse-inc/CafeLib | 0 | 7068473 | using System.Threading.Tasks;
using CafeLib.Core.UnitTests.Queueing;
using Xunit;
namespace CafeLib.Core.UnitTests
{
public class QueueingTest
{
private int _counter;
private int _consumersPerProducer;
private int _id;
[Fact]
public async Task ProducerConsumerTest()
... |
unity_simulator/Assets/Scripts/Networking/Models/PressureModel.cs | stuckatmarine/srauv-sim | 1 | 7068474 | <filename>unity_simulator/Assets/Scripts/Networking/Models/PressureModel.cs<gh_stars>1-10
/// <summary>
/// Telemetry message model.
/// </summary>
using System.Collections.Generic;
[System.Serializable]
public class PressureModel
{
public float mbar;
public float temperature;
public float depth;
}
|
OpenTibia/Assets/Scripts/Modules/HealthInfo/HealthInfoWidget.cs | tiagotda/OpenTibia-Unity | 86 | 7068475 | <filename>OpenTibia/Assets/Scripts/Modules/HealthInfo/HealthInfoWidget.cs<gh_stars>10-100
using OpenTibiaUnity.Core.Creatures;
using UnityEngine;
using UnityEngine.UI;
namespace OpenTibiaUnity.Modules.HealthInfo
{
public class HealthInfoWidget : Core.Components.Base.AbstractComponent
{
public const in... |
src/Weikio.ApiFramework.Abstractions/IEndpointCacheExtensions.cs | weikio/ApiFramework | 16 | 7068477 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Weikio.ApiFramework.Abstractions
{
public static class IEndpointCacheExtensions
{
public static void Set(this IEndpointCache cache, string key, byte[] valu... |
Quattro/Quattro/Models/DiaCalendario.cs | ander74/Quattro | 0 | 7068478 | #region COPYRIGHT
// ===============================================
// Quattro - Licencia GNU/GPL 3.0 - A.Herrero
// -----------------------------------------------
// Vea el archivo Licencia.txt para más detalles
// ===============================================
#endregion
namespace Quattro.Models
{
using Sys... |
Sources/CommonLIB/AppCode/ObjectBuilders/MyMwcObjectBuilder_ShipConfig.cs | emperorstarfinder/Miner-Wars-2081 | 118 | 7068479 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using SysUtils.Utils;
using MinerWars.CommonLIB.AppCode.Networking;
namespace MinerWars.CommonLIB.AppCode.ObjectBuilders
{
public class MyMwcObjectBuilder_ShipConfig : MyMwcObjectBuilder_Base
{
publi... |
CP77.CR2W/Types/cp77/QuestListDistanceData.cs | MasterScott/CP77Tools | 1 | 7068480 | using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class QuestListDistanceData : IScriptable
{
[Ordinal(0)] [RED("distance")] public CFloat Distance { get; set; }
[Ordinal(1)] [RED("objective")] public wCHa... |
Nexogen.Libraries.Metrics.Grpc/GrpcServerMetrics.cs | nexogen-international/Nexogen.Libraries.Metrics | 65 | 7068481 | <gh_stars>10-100
namespace Nexogen.Libraries.Metrics.Grpc
{
/// <summary>
/// Metrics for gRPC servers.
/// </summary>
public class GrpcServerMetrics : GrpcMetricsBase, IGrpcServerMetrics
{
/// <summary>
/// Registers gRPC server metrics.
/// </summary>
/// <param na... |
HuntTheWumpus3/HuntTheWumpus3/Game1.cs | rakeshkadamati/HuntTheWumpus3D | 0 | 7068482 | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fram... |
cards/CORE/CS2/Sim_CS2_005o.cs | chi-rei-den/Silverfish | 1 | 7068483 | <filename>cards/CORE/CS2/Sim_CS2_005o.cs<gh_stars>1-10
/* _BEGIN_TEMPLATE_
{
"id": "CS2_005o",
"name": [
"爪击",
"Claw"
],
"text": [
"在本回合中,获得+2攻击力。",
"+2 Attack this turn."
],
"CardClass": "DRUID",
"type": "ENCHANTMENT",
"cost": null,
"rarity": null,
"set": "CORE",
"collectible": n... |
TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/UnitTest1.cs | atinb/importtest | 0 | 7068484 | <reponame>atinb/importtest<filename>TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/UnitTest1.cs<gh_stars>0
using System;
using Xunit;
namespace TestNamespace
{
public class VSTestXunitTests
{
[Fact]
public void VSTestXunitPassTest()
{
}
[Fact]
public void ... |
3module/Seminar09/Task1Add/Program.cs | mgordenko/CSharp2018-2019 | 6 | 7068485 | <reponame>mgordenko/CSharp2018-2019
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibraryTask1;
namespace Task1Add
{
class Program
{
static void Main(string[] args)
{
string path = @"../../... |
WebApplicationEntrypoint/Views/Shared/_Layout.cshtml | ademarbarreto/RabbitMQ-Walkthrough-v1 | 85 | 7068486 | <!DOCTYPE html>
<html lang="pt-br" ng-app="gaGOApp">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - WebApplicationEntrypoint</title>
<link rel="stylesheet" href="~/css/tailwind.css" />
<script src="~/lib/angular.min.js"></... |
src/ErettsegiMegoldas/Y2017M10.cs | mbd249/erettsegi | 0 | 7068487 | <filename>src/ErettsegiMegoldas/Y2017M10.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HSGradSolutions
{
[Erettsegi(2017, 10, "Hiányzások", 1)]
class Y2017M10
{
static string Be = System.IO.Path.Combine(Program.Base... |
StockTraderRI/Desktop/StockTraderRI.Infrastructure/ExtendedHeader.cs | csharp-playground/Prism-Samples-Wpf | 0 | 7068488 | <filename>StockTraderRI/Desktop/StockTraderRI.Infrastructure/ExtendedHeader.cs
namespace StockTraderRI.Infrastructure
{
public class ExtendedHeader
{
public string ToolTip { get; set; }
public string IconUri { get; set; }
public string Title { get; set; }
}
} |
ValidationLibrary.AzureFunctions.Tests/StatusEndpointTests.cs | by-pinja/repository-validator | 0 | 7068489 | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using NSubstitute;
using NUnit.Framework;
namespace ValidationLibrary.AzureFunctions.Tests
{
[TestFixture]
public class StatusEndpointTests
{
p... |
code/src/SharpOAuth2.Globalization/TokenEndpointResources.Designer.cs | ghorsey/SharpOAuth2 | 10 | 7068490 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.225
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... |
src/DTO/Other/Media.cs | PoLaKoSz/TMdbEasy | 7 | 7068491 | <reponame>PoLaKoSz/TMdbEasy<filename>src/DTO/Other/Media.cs
using System.Collections.Generic;
namespace TmdbEasy.DTO.Other
{
public class Media
{
public int Id { get; set; }
public string Name { get; set; }
public string Original_name { get; set; }
public string Character { get... |
Mendz.Data.Oracle/OracleDataSettingOption.cs | etmendz/Mendz.Data.Oracle | 0 | 7068492 | namespace Mendz.Data.Oracle
{
/// <summary>
/// Provides the data setting options for Oracle access.
/// </summary>
public static class OracleDataSettingOption
{
/// <summary>
/// Gets or sets the connection string name.
/// </summary>
public static string Name { get... |
JKVersions/ProgressForm.cs | The-MAZZTer/jkversions | 6 | 7068493 | using System;
using System.Windows.Forms;
namespace JkVersions {
public partial class ProgressForm : Form {
private const int PROGRESS_GRANULARITY = 100000;
public ProgressForm(int progressItemCount) {
this.InitializeComponent();
this.ProgressBar.Maximum = progressItemCount * PROGRESS_GRANULARITY;
}
... |
Sem5/DBS LAB/L1/Q2/Form1.cs | ashiishjn/MIT-LAB | 1 | 7068494 | <gh_stars>1-10
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 Q2
{
public partial class Form1 : Form
{
public Form1()
... |
dotnet/xdelta3.net/Xdelta3Lib.cs | hanabi1224/xdelta3-dotnet | 5 | 7068495 | <gh_stars>1-10
using System;
using System.Linq;
namespace xdelta3.net
{
public static unsafe class Xdelta3Lib
{
public static ReadOnlyMemory<byte> Encode(ReadOnlyMemory<byte> source, ReadOnlyMemory<byte> target)
{
var estimatedOutputLength = Math.Max(16, (source.Length + target.Len... |
Galapagos/MutationOperators/Permutation/CyclicShiftPermutationMutation.cs | kosieram21/Galapagos | 0 | 7068496 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Galapagos.MutationOperators.Shared;
using Galapagos.Chromosomes;
using Galapagos.API;
namespace Galapagos.MutationOperators.Permutation
{
/// <summary>
/// Cyclic shift mutation operator.
... |
EIDSS v6.1/vb/EIDSS/EIDSS.RAM_DB/Common/AvrBinarySettings.cs | EIDSS/EIDSS-Legacy | 2 | 7068497 | <filename>EIDSS v6.1/vb/EIDSS/EIDSS.RAM_DB/Common/AvrBinarySettings.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Globalization;
using eidss.model.Avr.Pivot;
using eidss.model.WindowsService.Serialization;
namespace eidss.avr.db.Common
{
public class AvrBinarySettings
... |
EliteAPI/Status/Provider/StatusProvider.cs | Whalley64/EliteAPI | 0 | 7068498 | <gh_stars>0
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using EliteAPI.Status.Provider.Abstractions;
using Microsoft.Extensions.Logging;
namespace EliteAPI.Status.Provider
{
/// <inheritdoc />
public class StatusProvider : IStatusProvider
{
private readonly ILog... |
WpfUtility/MethodToValueConverter.cs | TakeAsh/WpfUtility | 0 | 7068499 | <reponame>TakeAsh/WpfUtility<filename>WpfUtility/MethodToValueConverter.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using System.Windows.Data;
using TakeAshUtility;
namesp... |
src/Device/Rcm.Device.Aggregates.Api/AggregateEntry.cs | zdenek-jelinek/home-room-condition-monitor | 0 | 7068500 | using System;
namespace Rcm.Device.Aggregates.Api
{
public class AggregateEntry
{
public DateTimeOffset Time { get; }
public decimal Value { get; }
public AggregateEntry(DateTimeOffset time, decimal value)
{
Time = time;
Value = value;
}
}
} |
Arebis.Common/Arebis/Mocking/IMocker.cs | codetuner/Arebis.Common | 10 | 7068501 | <gh_stars>1-10
using System;
namespace Arebis.Mocking
{
/// <summary>
/// Defines custom mockers.
/// </summary>
public interface IMocker
{
/// <summary>
/// Called whenever the mock should handle a call.
/// </summary>
void HandleCall(MockingProxy proxy, MockableCall call);
}
}
|
PXWeb/Code/Settings/HomepageSettings.cs | JohannesFinsveen/PxWeb | 18 | 7068502 | <reponame>JohannesFinsveen/PxWeb
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml;
namespace PXWeb
{
/// <summary>
/// Internal class for reading and writing homepage settings for a specific language
/// </summary>
internal class HomepageSettings : ... |
DeribitNet/DeribitNet/Model/RestResponse.cs | AvramM/DeribitNet | 0 | 7068503 | using Newtonsoft.Json.Linq;
namespace DeribitNet.Model
{
public class RestResponse
{
public long usOut;
public long usIn;
public long usDiff;
public bool testnet;
public bool success;
public JToken result;
public string message;
public int error;... |
visitor/Services.Impl/ExportacaoTsvService.cs | dtidigitalcrafters/suricatos-learningloop-csharp-designpatterns | 2 | 7068504 | using visitor.Dtos;
namespace visitor
{
public class ExportacaoCsvService : IExportacaoService
{
public string ExportarProduto(ProdutoNacionalDTO produtoDTO) =>
$"{produtoDTO.CodigoProduto}\t{produtoDTO.Descricao}\t{produtoDTO.CalcularPreco()}";
public string ExportarProduto(Produ... |
samples/ChatApp/ChatApp.Unity/Assets/Editor/BatchBuild.cs | hankovich/MagicOnion | 2,199 | 7068505 | <reponame>hankovich/MagicOnion<gh_stars>1000+
#if UNITY_EDITOR
using System;
using System.Linq;
using UnityEditor;
using UnityEditor.Build.Reporting;
using UnityEngine;
public class BatchBuild
{
public static void Build()
{
SetAndroidPath();
var option = GetBuildPlayerOptionFromCommandLineArgs... |
src/HallOfBeorn/Models/LotR/Scenarios/EredMithrin/TheFateOfWilderlandScenario.cs | danpoage/hall-of-beorn | 5 | 7068506 | using System;
namespace HallOfBeorn.Models.LotR.Scenarios.EredMithrin
{
public class TheFateOfWilderlandScenario : EredMithrinScenario
{
private const string name = "The Fate of Wilderland";
public TheFateOfWilderlandScenario()
{
Title = name;
ProductN... |
SongDataCore/Downloader/IDatabaseDownloadHandler.cs | PlasmaPower/BeatSaberSongDataCore | 14 | 7068507 | using UnityEngine.Networking;
namespace SongDataCore.Downloader
{
public interface IDatabaseDownloadHandler
{
CacheableDownloadHandler GetDownloadHandler(UnityWebRequest www);
void HandleDownloadResults(DownloadHandler handler);
void CancelHandler(DownloadHandler handler);
b... |
DomainDrivenDesign.Infra.Data.Repository/Repositories/InstitutionRepository.cs | RoganMelo/DomainDrivenDesign | 0 | 7068508 | using DomainDrivenDesign.Domain.Interfaces.Repositories;
using DomainDrivenDesign.Domain.Models;
using DomainDrivenDesign.Infra.Data.Context.Interfaces;
namespace DomainDrivenDesign.Infra.Data.Repository.Repositories
{
public class InstitutionRepository : Repository<InstitutionModel>, IInstitutionRepository
{... |
src/AnuChandy.Fluent.Service.REST/Model/PollingResponse.cs | anuchandy/fluent-service | 0 | 7068509 | <gh_stars>0
// Copyright (c) AnuChandy (https://github.com/anuchandy). All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using AnuChandy.Fluent.Service.Model;
using Microsoft.WindowsAzure.Storage.Table;
using Newtonsoft.Json;
using System;
using Syste... |
GeometricAlgebraFulcrumLib/GeometricAlgebraFulcrumLib/Utilities/Extensions/MultivectorStorageGpUtils.cs | ga-explorer/GeometricAlgebraLib | 6 | 7068510 | <filename>GeometricAlgebraFulcrumLib/GeometricAlgebraFulcrumLib/Utilities/Extensions/MultivectorStorageGpUtils.cs
using System.Runtime.CompilerServices;
using GeometricAlgebraFulcrumLib.Processors.GeometricAlgebra;
using GeometricAlgebraFulcrumLib.Storage.GeometricAlgebra;
namespace GeometricAlgebraFulcrumLib.Utiliti... |
NitroCacher/UI/RuleConfig.Designer.cs | twallgren/NitroCacher | 0 | 7068511 | using System.Drawing;
namespace NitroCacher.UI
{
partial class RuleConfig
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/... |
src files/Variables.cs | 0xa873219c19a9e2ac0f/OneCheats-Cracked-Rust-Cheat | 0 | 7068512 | <reponame>0xa873219c19a9e2ac0f/OneCheats-Cracked-Rust-Cheat
using System;
namespace onecheatss
{
// Token: 0x02000014 RID: 20
internal class Variables
{
// Token: 0x02000015 RID: 21
public class Menu
{
// Token: 0x17000010 RID: 16
// (get) Token: <KEY> RID: 107 RVA: 0x000030DE File Offset: 0... |
Gizmo.HardwareAudit/Gizmo.HardwareAudit/Enums/ItemSortEnum.cs | ar-dev-1983/Gizmo.HardwareAudit | 0 | 7068513 | namespace Gizmo.HardwareAudit.Enums
{
/// <summary>
/// Enumeration that specifies TreeItem sorting direction
/// </summary>
public enum ItemSortEnum
{
/// <summary>
/// Sort by Ascending
/// </summary>
Ascending,
/// <summary>
/// Sort by Descending
... |
src/Services/Kros.Organizations.Api/Application/Commands/UpdateOrganization/UpdateOrganizationCommand.cs | kubinko/Kros.AspNetCore.BestPractices | 13 | 7068514 | <filename>src/Services/Kros.Organizations.Api/Application/Commands/UpdateOrganization/UpdateOrganizationCommand.cs
using Kros.Organizations.Api.Application.Commands.Pipelines;
using MediatR;
using Newtonsoft.Json;
namespace Kros.Organizations.Api.Application.Commands
{
/// <summary>
/// Update Organization co... |
Revo.Domain/Sagas/BasicSaga.cs | chengliang-git/Revo | 290 | 7068515 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Revo.Core.Collections;
using Revo.Core.Commands;
using Revo.Core.Events;
using Revo.Domain.Entities.Basic;
using Revo.Domain.Events;
namespace Revo.Domain.Sagas
{
/// <summa... |
Terraria3DKit/Shapes/ShapeGroup.cs | xPanini/Terraria3DKitExample | 0 | 7068516 | <filename>Terraria3DKit/Shapes/ShapeGroup.cs
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Terraria3DKit.Shapes
{
/// <summary>
/// A shape consisting of other shapes.
/// </summary>
public class ShapeGr... |
NLPHelloWorldRules/Intent.cs | davidwallis3101/AboditNaturalLanguage | 5 | 7068517 | <filename>NLPHelloWorldRules/Intent.cs
using AboditNLP;
namespace NLPHelloWorldRules
{
public interface IIntentDemo : IIntent, IIntentDebugging, IIntentWordnet, IIntentSuggestions, IIntentTemporal
{
}
/// <summary>
/// Instead of mixing the code that runs when a rule is recognized with
/// th... |
SCManager.Data/Migrations/20200602155451_SeededUsersData.cs | rz-georgiev/HandotaiSeigyo | 2 | 7068518 | <filename>SCManager.Data/Migrations/20200602155451_SeededUsersData.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SCManager.Data.Migrations
{
public partial class SeededUsersData : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
YaoGiAdmin.Core/MyExceptionFilter.cs | YaoGi/YaoGiAdmin | 1 | 7068519 | <reponame>YaoGi/YaoGiAdmin<filename>YaoGiAdmin.Core/MyExceptionFilter.cs
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Newtonsoft.Json;
namespace YaoGiAdmin.Core
{
public class MyExceptionFilter : ExceptionFilterAttribute
{
LoggerHelpe... |
Assets/Scripts/Nakama/Monobehaviors/ToastDebugInfo.cs | Nowhere-Know-How/nwkh-multiplayer-core-free | 1 | 7068521 | <filename>Assets/Scripts/Nakama/Monobehaviors/ToastDebugInfo.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class ToastDebugInfo : MonoBehaviour
{
public TMP_Text header;
public TMP_Text message;
private void Start()
{
header.text = Debug... |
Ryujinx.HLE/HOS/Services/Nv/Types/NvQueryEventNotImplementedException.cs | BSoDGamingYT/Ryujinx | 11,580 | 7068522 | using Ryujinx.HLE.HOS.Services.Nv.NvDrvServices;
using System;
using System.Text;
namespace Ryujinx.HLE.HOS.Services.Nv.Types
{
class NvQueryEventNotImplementedException : Exception
{
public ServiceCtx Context { get; }
public NvDeviceFile DeviceFile { get; }
public uint Ev... |
CoolParking/CoolParking.WebAPI/Controllers/ParkingController.cs | yevIbrahimov/CoolParking | 0 | 7068523 | using CoolParking.BL.Interfaces;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CoolParking.WebAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ParkingController : ... |
Editor/Assets/Scripts/CameraController.cs | WouterBrookhuis/Paratus-Editor | 0 | 7068524 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
public static CameraController main { get; private set; }
public float m_moveSensitivity = 2.0f;
public float m_rotateSensitivity = 200.0f;
public string m_rotateButton = "Fir... |
Devtober 2020/Assets/Scritps/Framework/EventGraph/Nodes/EventNode.cs | ShenKSPZ/Devetober-2020 | 1 | 7068525 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GraphBase;
using System;
using System.Text.RegularExpressions;
namespace EvtGraph
{
[NodeWidth(350)]
[CreateNodeMenu("Event", order = 0)]
[NodeTint("#00CED1")]//深绿宝石
public class EventNode : Node
{
[Input] public Empty Input;
... |
HitboxUWP/Web.cs | romgerman/HitboxUWP8 | 2 | 7068526 | using System;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace HitboxUWP
{
/// <summary>Helper class for web requests</summary>
internal static class Web
{
private enum Method { GET, DELETE, POST, PUT }
private static Random random = ne... |
SharedLibraryCore/Interfaces/IClientNoticeMessageFormatter.cs | Lemur2906/IW4M-Admin | 129 | 7068527 | using Data.Models;
namespace SharedLibraryCore.Interfaces
{
public interface IClientNoticeMessageFormatter
{
/// <summary>
/// builds a game formatted notice message
/// </summary>
/// <param name="currentPenalty">current penalty the message is for</param>
/// <param na... |
Assets/ThirdParty/_HandPoser/Scripts/Pose/PoseContainer.cs | virtualisingsara/BasicXRActionBased | 25 | 7068528 | using UnityEngine;
public class PoseContainer : MonoBehaviour
{
// The pose is when this object is grabbed
public Pose pose = null;
}
|
CSETWebApi/CSETWeb_Api/CSETWeb_Api/Helpers/multiproc/MultiProcRespository.cs | PinkDev1/cset | 1 | 7068529 | //using System;
//using System.Collections.Generic;
//using System.Data;
//using System.Data.Common;
//using System.Data.SqlClient;
//using System.Linq;
//using System.Web;
//namespace CSETWeb_Api.Helpers.multiproc
//{
// public class MultiProcRespository
// {
// public class FaqRepository : Repository<F... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.