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 |
|---|---|---|---|---|
HttpVehicle/Statics/Informers.cs | SneakSensed/HttpVehicle | 3 | 7069591 | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
using System.Text;
namespace HttpVehicle
{
class Informers
{
static Random Ran = new Random();
public static string CreateUserAgent(int n = 1)
{
... |
BurnBuilder/BurnBuilder/DAL/DALUser.cs | BCDross/IST320-group-project | 0 | 7069593 | <reponame>BCDross/IST320-group-project<filename>BurnBuilder/BurnBuilder/DAL/DALUser.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tasks;
using BurnBuilder.Models;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.Data.SqlClien... |
src/MyToolkit.Extended/Utilities/DateTimeUtilities.cs | SammyEnigma/MyToolkit | 210 | 7069594 | using System;
namespace MyToolkit.Utilities
{
public static class DateTimeUtilities
{
public static DateTime FromUnixTimeStamp(double unixTimeStamp)
{
var dtDateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0);
dtDateTime = dtDateTime.AddSeconds(unixTimeStamp).ToLocalTime();
return dtDateTime;
}
public... |
Source/ICantFixThat/TargetingParameters_ForRepair.cs | emipa606/ICantFixThat | 0 | 7069595 | <gh_stars>0
using HarmonyLib;
using RimWorld;
using Verse;
namespace ICantFixThat;
[HarmonyPatch(typeof(TargetingParameters), "ForRepair", typeof(Pawn))]
public static class TargetingParameters_ForRepair
{
public static void Postfix(ref TargetingParameters __result, Pawn repairer)
{
__result.validato... |
Simple Loop/Half Sum Element/Program.cs | Shtereva/Fundamentals-with-CSharp | 0 | 7069596 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Half_Sum_Element
{
class Program
{
static void Main(string[] args)
{
int input = int.Parse(Console.ReadLine());
int biggestNumber = int.MinValue... |
Assets/Scripts/ProGen.cs | Baks-design/ProcGenP---Buildings | 0 | 7069597 | <filename>Assets/Scripts/ProGen.cs
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Random = UnityEngine.Random;
using Baks.Core.Components;
using Baks.Core.Theme;
namespace Baks.Core
{
public class ProGen : MonoBehaviour
{
[SerializeField]
private ProGenThemeSO m_p... |
tests/Kros.Generators.Flattening.IntegrationTests/Helpers.cs | Kros-sk/Kros.Generators.Flattening | 12 | 7069598 | <reponame>Kros-sk/Kros.Generators.Flattening
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Linq;
using System.Reflection;
namespace Kros.Generators.Flattening.IntegrationTests
{
public static class Helpers
{
public class AssertionHe... |
src/PublicApi/V1/DTOs/Accounts/LoginRequestDto.cs | mublog/mublog-server | 0 | 7069599 | using System.ComponentModel.DataAnnotations;
namespace Mublog.Server.PublicApi.V1.DTOs.Accounts
{
public class LoginRequestDto
{
[Required]
public string Username { get; set; }
[Required]
public string Password { get; set; }
}
} |
ConoHaNet.portable-net45/OpenStack/Services/Identity/V2/IIdentityService.cs | crowdy/OpenStack-ConoHa | 4 | 7069600 | <reponame>crowdy/OpenStack-ConoHa
namespace OpenStack.Services.Identity.V2
{
using System;
using System.Threading;
using System.Threading.Tasks;
using OpenStack.Net;
/// <summary>
/// This interface extends the base Identity Service with HTTP API calls for performing client authentication with... |
C# OOP Advanced/Exams/Exam Prep - 16 August 2017/Hell-Skeleton/Hell/Entities/Items/AbstractItem.cs | BlueDress/School | 0 | 7069601 | namespace Hell.Entities.Items
{
public class AbstractItem
{
private string name;
private long strengthBonus;
private long agilityBonus;
private long intelligenceBonus;
private long hitPointsBonus;
private long damageBonus;
public AbstractItem(string name... |
ERDashboard-angular/Models/DTO/MedTestItem.cs | IgniteUI/ERDashboard-Angular2 | 3 | 7069602 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ERDashboard.Models.ViewModels
{
public class MedTestItem
{
public int ID { get; set; }
public int? TestTypeID { get; set; }
public string TestTypeName { get; set; }
public int? Admit... |
RogueEssence.Editor.WinForms/DataList.cs | Parakoopa/RogueEssence | 0 | 7069603 | <reponame>Parakoopa/RogueEssence
using System;
using System.Windows.Forms;
namespace RogueEssence.Dev
{
public partial class DataList : Form
{
public int ChosenEntry;
public delegate void ItemSelectedEvent();
public ItemSelectedEvent SelectedOKEvent;
public ItemSelectedEvent S... |
Assets/uTouchInjection/Samples/02. uDesktopDuplication + VR/Scripts/TouchDispatcher.cs | hecomi/uTouchInjection | 33 | 7069604 | using UnityEngine;
using UnityEngine.XR;
namespace uTouchInjection
{
public class TouchDispatcher : MonoBehaviour
{
private static int currentId = 0;
Pointer pointer_;
bool isFirstTouch_ = true;
[SerializeField] bool isLeft = true;
[SerializeField, Range(0f, 1f)] float filter = 0.... |
src/SyncTrayzor/Syncthing/EventWatcher/ItemFinishedEventArgs.cs | slgray/SyncTrayzor | 3,886 | 7069605 | <reponame>slgray/SyncTrayzor<filename>src/SyncTrayzor/Syncthing/EventWatcher/ItemFinishedEventArgs.cs<gh_stars>1000+
using SyncTrayzor.Syncthing.ApiClient;
namespace SyncTrayzor.Syncthing.EventWatcher
{
public class ItemFinishedEventArgs : ItemStateChangedEventArgs
{
public ItemChangedActionType... |
Views/Parts.Proxy_SummaryAdmin.cshtml | dalenewman/Proxy | 2 | 7069606 | @using Proxy.Models
@{
var part = (ProxyPart) Model.Part;
var url = string.Empty;
var service = string.Empty;
if (part != null) {
var trailingSlash = part.ServiceUrl.EndsWith("/") ? "/" : "";
url = Url.Content(string.Format("~/Proxy/{0}{1}", part.Id, trailingSlash));
service = pa... |
Assets/Scripts/LifeM/LifeProperty/Status/SkillStatus/StatusM.cs | 741645596/batgame | 0 | 7069607 | #if UNITY_EDITOR || UNITY_STANDALONE_WIN
#define UNITY_EDITOR_LOG
#endif
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// 状态叠加管理
/// </summary>
/// <author>zhulin</author>
public enum LifeAction
{
Attack = 0, //攻击行为
Hit = 1,//受击
WalkToEnd = 2,//走到尽头
AngerEmet... |
Programming Basics/Programming Basics Exam - 18 December 2016/ChangeTiles.cs | Ivelin153/SoftUni | 0 | 7069608 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChangeTiles
{
class Program
{
static void Main(string[] args)
{
var savedMoney = double.Parse(Console.ReadLine());
var floorWidth = double.Parse... |
SpatialInfluence/SpatialAccess/Models/RasterPositionValue.cs | gaufung/Accessibility | 2 | 7069609 | using System;
namespace SpatialAccess.Models
{
internal sealed class RasterPositionValue : Postion, IComparable<RasterPositionValue>
{
public float RasterValue { get; set; }
public Boolean Visited { get; set; }
public Boolean HasValue { get; set; }
public int CompareTo... |
tests/Smdn/Smdn.IO.Streams.Extending/ExtendStream.cs | smdn/Smdn.Fundamentals | 0 | 7069610 | <reponame>smdn/Smdn.Fundamentals
// SPDX-FileCopyrightText: 2010 smdn <<EMAIL>>
// SPDX-License-Identifier: MIT
using System;
using System.IO;
using System.Threading.Tasks;
using NUnit.Framework;
#if SYSTEM_ARRAY_EMPTY
using _Array = System.Array; // System.Array.Empty
#else
using _Array = Smdn.ArrayShim; // Smdn.Arra... |
Assets/Scripts/SpawnMovement.cs | Sunno/ggj-perros-hermanos | 0 | 7069611 | <reponame>Sunno/ggj-perros-hermanos<filename>Assets/Scripts/SpawnMovement.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnMovement : MonoBehaviour
{
public float speed = 1f;
private Rigidbody rigidbody;
void Start()
{
ri... |
Toml/ParserException.cs | LBreedlove/Toml.net | 9 | 7069612 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Toml
{
/// <summary>
/// Represents a Parser Exception.
/// </summary>
public class ParserException : ApplicationException
{
/// <summary>
/// Initializes a... |
src/GapLib/GapLib/Converters/ReceivedMessageConverter.cs | saiedkia/GapBotApi | 0 | 7069613 | using GapLib.Model;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Reflection;
namespace GapLib.Converters
{
public class ReceivedMessageConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return objectType == typeof(Receive... |
Stimulsoft.Base/Context/Chart/Geoms/StiGeom.cs | stimulsoft/Stimulsoft.Controls.Net | 13 | 7069614 | #region Copyright (C) 2003-2016 Stimulsoft
/*
{*******************************************************************}
{ }
{ Stimulsoft Reports }
{ }
{ Copyright (C) 2003-2016 Stimulsoft }
{ ALL RIGHTS RESERVED }
{ }
{ The entire contents of... |
07/Classwork07/04_SEARCH/Program.cs | SerBritov/nordic-it-netcore | 0 | 7069615 | <reponame>SerBritov/nordic-it-netcore<gh_stars>0
using System;
namespace _04_SEARCH
{
class Program
{
static void Main(string[] args)
{
/*
* Contains -- содержит ли
* StartsWith -- начинается ли с
* EndsWith -- заканчивается ли на
... |
DotNetAppSqlDb/Models/itemsForSale.cs | kevlar22/NewFurnitureShell | 0 | 7069616 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace DotNetAppSqlDb.Models
{
public class itemsForSale
{
[Key]
public int itemID { get; set; }
public int userID { get; set; }
publ... |
Keyczar/Keyczar/KeySet/Metadata/OfficialKeyMetadata.cs | jbtule/keyczar-dotnet | 41 | 7069617 | <filename>Keyczar/Keyczar/KeySet/Metadata/OfficialKeyMetadata.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Keyczar
{
internal class OfficialKeyMetadata
{
internal const string MetaDataFormat = "0";
//... |
src/Clients/Windows/RequiredTextBox.cs | ermau/Gablarski | 2 | 7069619 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
namespace Gablarski.Clients.Windows
{
public class RequiredTextBox
: TextBox
{
protected override void OnTextChanged (EventArgs e)
... |
LineScale/CalibrationValues.cs | matusm/DIN2268 | 0 | 7069620 | //=============================================================
//
// DIN 2268 Längenmaße mit Teilung
//
// class CalibrationValues
// realisiert alle nullpunktbezogenen Teilungsfehler
// eines Längenmaßes
//
// Name: Bezeichnung des Längenmaßes
//
// ScaleMarks: Feld aller nullpunktbezogenen T... |
tests/WebApiDoodle.Test/xUnit/GCForce.cs | tugberkugurlu/WebAPIDoodle | 11 | 7069621 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Xunit;
namespace WebApiDoodle.Web.Test {
public class GCForce : BeforeAfterTestAttribute {
public override void After(MethodInfo methodUnderTest) {
GC.Collect(99);
... |
Assets/Scripts/Building/WeaponBuilding.cs | VaJau2/CrossroadsOfWar | 0 | 7069622 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class WeaponBuilding : Building
{
[Header("Bows making")]
public float maxTime;
public int bowsCount;
public int needWoodForBow;
int newBow;
float bowTimer;
[HideInInspector]
pu... |
GapSharp/DtoModel/ResponseTypes/FormResponse.cs | mahdiit/gapsharp | 0 | 7069623 | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using Newtonsoft.Json;
namespace GapSharp.DtoModel.ResponseTypes
{
/// <summary>
/// دریافت پاسخ از سرور
/// </summary>
public cla... |
Source/Outlook/DispatchInterfaces/_FormRegion.cs | igoreksiz/NetOffice | 0 | 7069624 | using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.OutlookApi
{
/// <summary>
/// DispatchInterface _FormRegion
/// SupportByVersion Outlook, 12,14,15,16
/// </summary>
[SupportByVersion("Outlook", 12,14,15,16)]
[EntityType(EntityType.IsD... |
RebootTechBot/OAuthSignInForm.Designer.cs | Teravus/RebootTechChatBot | 1 | 7069626 | namespace RebootTechBot
{
partial class OAuthSignInForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
AssemblyWoodenBed/Assets/Scripts/Plank.cs | ZhiquanW/CGT526-GroupAssignment02 | 0 | 7069627 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Plank : MonoBehaviour {
private GameObject offset;
private Rigidbody rigidbody;
// Use this for initialization
void Start () {
rigidbody = GetComponent<Rigidbody>();
}
// Update is called on... |
SharpEssentials.Tests.Unit/SharpEssentials.Controls/Converters/ReverseConverterTests.cs | mthamil/SharpEssentials.Controls | 0 | 7069628 | <reponame>mthamil/SharpEssentials.Controls
using System.Globalization;
using System.Windows.Data;
using Moq;
using SharpEssentials.Controls.Converters;
using Xunit;
namespace SharpEssentials.Tests.Unit.SharpEssentials.Controls.Converters
{
public class ReverseConverterTests
{
[Fact]
public void Test_Convert()
... |
FinanceApi/Routes/Authenticated/PointOfSale/GetUnsentTransactions.cs | primordial-software-llc/bank-data-access | 1 | 7069629 | using System.Linq;
using Amazon.DynamoDBv2;
using Amazon.Lambda.APIGatewayEvents;
using AwsDataAccess;
using FinanceApi.DatabaseModel;
using Newtonsoft.Json;
using PrivateAccounting;
using PropertyRentalManagement.DatabaseModel;
using PropertyRentalManagement.QuickBooksOnline;
using JournalEntry = PropertyRentalManage... |
src/MyProject.ConsoleApp/DummyAccountRepository.cs | milannankov/DomainModelsWithAnAttitude | 1 | 7069630 | <reponame>milannankov/DomainModelsWithAnAttitude
using MyProject.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyProject.ConsoleApp
{
public class DummyAccountRepository : IAccountRepository
{
private BankAccount a... |
ORM Cookbook/Recipes.LLBLGenPro/Recipes/Views/ViewsScenario.cs | diev/DotNet-ORM-Cookbook | 247 | 7069631 | <reponame>diev/DotNet-ORM-Cookbook<filename>ORM Cookbook/Recipes.LLBLGenPro/Recipes/Views/ViewsScenario.cs<gh_stars>100-1000
using LLBLGenPro.OrmCookbook.DatabaseSpecific;
using LLBLGenPro.OrmCookbook.EntityClasses;
using LLBLGenPro.OrmCookbook.Linq;
using Recipes.Views;
using System;
using System.Collections.Generic;... |
UrlRedirect/Program.cs | thluiz/urlredirect | 0 | 7069632 | <filename>UrlRedirect/Program.cs
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System.Threading.Tasks;
namespace UrlRedirect {
class Program {
static async Task Main(string[] args) {
var hostBuilder = new HostBuilder()
.ConfigureSer... |
Common.Redis/RedisErrorEventArgs.cs | Ax0ne/Csharp.Common | 0 | 7069633 | namespace Common.Redis.Args
{
public class RedisErrorEventArgs
{
public RedisErrorEventArgs(string endPoint, string message)
{
EndPoint = endPoint;
Message = message;
}
/// <summary>
/// The origin of the message
/// </summary>
... |
QrCodeGenerator/ViewModels/PayloadViewModels/SkypeCallPayloadViewModel.cs | mikefoxnobel/QrCodeGenerator | 1 | 7069635 | <filename>QrCodeGenerator/ViewModels/PayloadViewModels/SkypeCallPayloadViewModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Prism.Mvvm;
using QRCoder;
namespace QrCodeGenerator.ViewModels.PayloadViewModels
{
public class SkypeCallPa... |
GGJ2015/Assets/Scripts/Cen01/Cen01_script.cs | thamenato/ggj2015-usp-project | 0 | 7069636 | <filename>GGJ2015/Assets/Scripts/Cen01/Cen01_script.cs
using UnityEngine;
using System.Collections;
public class Cen01_script : MonoBehaviour {
public GameObject player;
GameController gameController;
Animator animator;
// Use this for initialization
void Start () {
var find_gameController = GameObje... |
Jade.Model/Models.Context.cs | colin08/Jade.Net | 66 | 7069637 | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成。
//
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
namespace Jade.Model
{
using ... |
TravelBlog/Views/Experiences/Details.cshtml | ReconScout77/potential-couscous | 0 | 7069638 | <reponame>ReconScout77/potential-couscous<gh_stars>0
@model TravelBlog.Models.Experience
@{
ViewData["Title"] = "Details";
}
<div class="card mb-3">
<div class="card-header">
<h2>@Html.DisplayFor(model => model.Title)</h2>
<h3>@Html.DisplayFor(model => model.Location.City), @Html.DisplayFor(mode... |
docker/integration_tests/XCProjects/HelloWorldV5/CreateInstancesReactiveApi/CreateInstances/Program.cs | xcomponent/ReactiveXComponent.Net | 5 | 7069639 | <gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using System.Threading;
using XComponent.HelloWorld.UserObject;
using ReactiveXComponent;
using ReactiveXComponent.Common;
using ReactiveXComponent.Connection;
using System.React... |
source/TUtils.Messages.Core/Serializer/MessageSerializer.cs | Tommmi/TUtils.Messages | 0 | 7069640 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using TUtils.Common.Extensions;
using TUtils.Common.Reflection;
using TUtils.Messages.Common.Net;
using TUtils.Messages.Common.Queue;
namespace TUtils.Messages.Core.Serialize... |
Domain/Models/Alternative.cs | Lizelaser0310/Descubre-Backend | 1 | 7069641 | using System;
using System.Collections.Generic;
namespace Domain.Models
{
public partial class Alternative
{
public Alternative()
{
Response = new HashSet<Response>();
}
public int Id { get; set; }
public int ModalityId { get; set; }
public string D... |
src/SFA.DAS.FAT.Domain/Courses/Course.cs | uk-gov-mirror/SkillsFundingAgency.das-findapprenticeshiptraining | 0 | 7069642 | <reponame>uk-gov-mirror/SkillsFundingAgency.das-findapprenticeshiptraining<filename>src/SFA.DAS.FAT.Domain/Courses/Course.cs
using System.Collections.Generic;
namespace SFA.DAS.FAT.Domain.Courses
{
public class Course
{
public int Id { get; set; }
public string Title { get; set; }
publ... |
ToxWinApp/Conversation.cs | mohamedkomalo/ToxWinApp | 1 | 7069643 | <reponame>mohamedkomalo/ToxWinApp
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ToxWinApp
{
public class ConversationsList : ObservableCollection<Conversation> { }
public class FriendssList :... |
F1Telemetry.Core/Data/WeatherType.cs | ferdinh/F1-Telemetry | 0 | 7069644 | using System.ComponentModel.DataAnnotations;
namespace F1Telemetry.Core.Data
{
public enum WeatherType : byte
{
Clear,
[Display(Name = "Light Cloud")]
LightCloud,
Overcast,
[Display(Name = "Light Rain")]
LightRain,
[Display(Name = "Heavy Rain")]
... |
a20201226/Decompile/Confused_01/Elsa20200001/ApplyRedundantBergelmirClipboard.cs | soleil-taruto/Hatena | 0 | 7069645 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace Charlotte
{
// Token: 0x0200013A RID: 314
public class ApplyRedundantBergelmirClipboard : CloneUnnecessaryArgonState
{
// Token: 0x0600166B RID: 5739 RVA: 0x00037BB1 File Offset: 0x00035DB1
protected override IEnumerable<bool> ModifyEqualPro... |
DSAnimStudio/HavokRecorder.cs | solbarda/DSAnimStudio-1 | 127 | 7069646 | using Microsoft.Xna.Framework;
using SoulsAssetPipeline.Animation;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace DSAnimStudio
{
public class HavokRecorder
{
public class HavokFrame
... |
Exam - 17 December 2017/06. Multiply Table/Program.cs | theoners/Programing-Basics-Exams | 1 | 7069647 | using System;
namespace _06._Multiply_Table
{
class Program
{
static void Main(string[] args)
{
int number = int.Parse(Console.ReadLine());
int firstDigit = number / 100;
int secondDigit = (number / 10) % 10;
int thirdDigit = number % 10;
... |
CAF.Core/Helper/SortHelper.cs | Gillibald/CompositeApplicationFramework | 0 | 7069648 | #region Usings
using System;
using System.Collections.Generic;
using System.Diagnostics;
using CompositeApplicationFramework.Extensions;
#endregion
#if CONTRACTS_FULL
using System.Diagnostics.Contracts;
#else
#endif
namespace CompositeApplicationFramework.Helper
{
public static class SortHelper
{
... |
RealmServer/PacketReader/CMSG_OPEN_ITEM.cs | drolean/Servidor-WOW | 7 | 7069649 | <reponame>drolean/Servidor-WOW
using Common.Helpers;
namespace RealmServer.PacketReader
{
/// <summary>
/// Open an Item
/// </summary>
public sealed class CMSG_OPEN_ITEM : Common.Network.PacketReader
{
public byte Bag;
public byte Slot;
public CMSG_OPEN_ITEM(byte[] da... |
EPPlus.WebSampleMvc.NetCore/Models/HtmlExport/ExportRange5Model.cs | EPPlusSoftware/EPPlus.WebSamples | 0 | 7069650 | using OfficeOpenXml;
using OfficeOpenXml.Export.HtmlExport;
using System;
using System.Globalization;
using System.IO;
namespace EPPlus.WebSampleMvc.NetCore.Models.HtmlExport
{
public class ExportRange5Model
{
public void SetupSampleData()
{
var file = Path.Combine(AppDomain.Curren... |
HoardeGame/Gameplay/Themes/ThemeManager.cs | Huskitch/Horde | 0 | 7069651 | <reponame>Huskitch/Horde<filename>HoardeGame/Gameplay/Themes/ThemeManager.cs<gh_stars>0
// <copyright file="ThemeManager.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Xml.... |
src/NServiceBus.Core/Unicast/Routing/StaticMessageRouter.cs | ianbattersby/NServiceBus | 0 | 7069652 | namespace NServiceBus.Unicast.Routing
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using Logging;
/// <summary>
/// The default message router
/// </summary>
public class StaticMessageRouter : IRouteMessages
{
/// <summa... |
Project/Assets/DACore/Scripts/Core/Event/EventDispatcher.cs | cofdream/Null | 1 | 7069653 | using System;
using System.Collections.Generic;
namespace DA.Event
{
public delegate void EventHandler(short type);
public delegate void EventHandler<T>(short type, T msg);
public class EventDispatcher : IDispatcher
{
private readonly Dictionary<short, List<Delegate>> events = null;
pr... |
src/SocialQ.Resources/Strings.Designer.cs | housebesuch/SocialQ | 0 | 7069654 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... |
src/Model/Field/AddressFieldsModel.cs | mintyfusion/berbix-dotnet-sdk | 0 | 7069655 | namespace Tutkoo.mintyfusion.Berbix.Client.Model.Field
{
public class AddressStreetModel : FieldBaseModel { }
public class AddressCityModel : FieldBaseModel { }
public class AddressSubdivisionModel : FieldBaseModel { }
public class AddressUnitModel : FieldBaseModel { }
public class AddressPosta... |
tests/Laraue.EfCoreTriggers.MySqlTests/ContextFactory.cs | Adam-Langley/Laraue.EfCoreTriggers | 0 | 7069656 | using Laraue.EfCoreTriggers.Extensions;
using Laraue.EfCoreTriggers.Tests;
using Microsoft.EntityFrameworkCore;
using System;
namespace Laraue.EfCoreTriggers.MySqlTests
{
public class ContextFactory : BaseContextFactory<NativeDbContext>
{
public override NativeDbContext CreateDbContext()
{
... |
src/NDBadge/Metric.cs | swharden/NDepend-Badges | 1 | 7069657 | <filename>src/NDBadge/Metric.cs
using System;
namespace NDBadge
{
public record Metric
{
public DateTime DateTime { get; init; }
public string Name { get; init; }
public string Unit { get; init; }
public string Value { get; init; }
}
}
|
src/TarikGuney.ManagerAutomation.FunctionApp/AutoFacModules/CurrentIterationModule.cs | tarikguney/manager-automation-v2 | 40 | 7069658 | using Autofac;
using TarikGuney.ManagerAutomation.Actors;
using TarikGuney.ManagerAutomation.IterationWorkItemRetrievers;
using TarikGuney.ManagerAutomation.Managers;
using TarikGuney.ManagerAutomation.MessageSenders;
namespace TarikGuney.ManagerAutomation.AutoFacModules
{
public class CurrentIterationModule : Module... |
StoreApp/StoreApp.DataAccess/Repos/CustomerRepository.cs | 2006-jun15-net/noah-project1 | 0 | 7069660 | <filename>StoreApp/StoreApp.DataAccess/Repos/CustomerRepository.cs
using System.Collections.Generic;
using System.Linq;
using StoreApp.DataAccess.Model;
using StoreApp.Library.Interfaces;
using StoreApp.Library.Model;
namespace StoreApp.DataAccess.Repos
{
public class CustomerRepository : ICustomerRepository
... |
src/Swastika.Identity/Identity/Extensions/EmailSenderExtensions.cs | fossabot/Swastika-IO-Identity | 0 | 7069661 | // Licensed to the Swastika I/O Foundation under one or more agreements.
// The Swastika I/O Foundation licenses this file to you under the GNU General Public License v3.0 license.
// See the LICENSE file in the project root for more information.
using System.Text.Encodings.Web;
using System.Threading.Tasks;
namespac... |
src/Functions/GetAllUsersActivity.cs | varianter/now-playing | 0 | 7069662 | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Collections.Generic;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using Functions.Common;
using Functions.Models.Orchestrator;
using Microsoft.WindowsAzure.Storage.Table;
using Functions.Repositories;
using Functions.Model... |
OnActivated.cs | hermesxgjini/Windows-10 | 4 | 7069663 | <filename>OnActivated.cs<gh_stars>1-10
protected override void OnActivated(IActivatedEventArgs args)
{
switch (args.Kind)
{
case ActivationKind.CachedFileUpdater:
//Do something here
break;
case ActivationKind.CameraSettings:
//Do... |
DataStructures/Trees/TreesUnitTests/UnitTest1.cs | jimmychang94/Data-Structures-And-Algorithms | 0 | 7069665 | using System;
using Xunit;
using Trees.Classes;
namespace TreesUnitTests
{
public class UnitTest1
{
[Fact]
public void CanAddNodeToBinarySearchTreeTest()
{
// Arrange
Node n1 = new Node(10);
Node n2 = new Node(5);
BinarySearchTree binarySe... |
src/concurrency/Controllers/ProcessTasksAsTheyComplete/ProcessTasksAsTheyCompleteController.cs | LuigiAndrea/concurrency-net | 0 | 7069666 | <reponame>LuigiAndrea/concurrency-net<filename>src/concurrency/Controllers/ProcessTasksAsTheyComplete/ProcessTasksAsTheyCompleteController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Concurrency.Servic... |
src/AzureDesignStudio.Core/Models/AzureGroupBase.cs | xuhongl/AzureDesignStudio | 2 | 7069667 | <gh_stars>1-10
using AntDesign;
using AutoMapper;
using AzureDesignStudio.Core.DTO;
using Blazor.Diagrams.Core.Geometry;
using Blazor.Diagrams.Core.Models;
namespace AzureDesignStudio.Core.Models
{
public class GroupStyle
{
public int OutlineWidth { get; set; } = -1;
public string? OutlineStyl... |
DF.Finder/SymbolVisitors/NamedTypeSymbolVisitor.cs | EwoutIO/DF | 0 | 7069668 | using DF.Models.Configuration;
using DF.Models.Results;
using Microsoft.CodeAnalysis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DF.Finder.SymbolVisitors
{
/// <summary>
/// Class responsible for visitingn the members of the namespace,... |
Assets/SlotPerfectKit/Scripts/SceneLobby.cs | Windsword101/SlotGame | 1 | 7069669 | <reponame>Windsword101/SlotGame
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
///-----------------------------------------------------------------------------------------
/// Namespace: BE
/// Class: SceneLobby
/// Description: process user input & display result
/// Usag... |
aspnet/web-api/overview/older-versions/self-host-a-web-api/samples/sample4.cs | SeanKilleen/Docs | 159 | 7069670 | <gh_stars>100-1000
var config = new HttpSelfHostConfiguration("http://localhost:8080");
config.Routes.MapHttpRoute(
"API Default", "api/{controller}/{id}",
new { id = RouteParameter.Optional });
using (HttpSelfHostServer server = new HttpSelfHostServer(config))
{
server.OpenAsync().Wait();
Console.Wr... |
Assets/Code/BDFramework/Editor/Menu/EditorMenu.cs | xun-yxkf/BDFramework.Core | 1 | 7069671 | using UnityEngine;
using UnityEditor;
using System.IO;
using BDFramework.Editor.Asset;
using BDFramework.Editor.BuildPackage;
using BDFramework.Helper;
using BDFramework.Editor.UI;
using BDFramework.Editor.TableData;
namespace BDFramework.Editor
{
public enum BDEditorMenuEnum
{
BDSettin... |
Enigma/Store/Memory/MemoryStorageFactoryService.cs | jaygumji/EnigmaDb | 1 | 7069672 | using Enigma.Modelling;
using Enigma.Store.Indexes;
namespace Enigma.Store.Memory
{
public class MemoryStorageFactoryService : IStorageFactoryService
{
private static Model _model;
public MemoryStorageFactoryService()
{
}
public Model Model { get { return _model; } }
... |
QuartelBombeiros/FichaBombeiro.Designer.cs | ynotplay/QuartelBombeiros | 0 | 7069674 | <filename>QuartelBombeiros/FichaBombeiro.Designer.cs
namespace QuartelBombeiros
{
partial class FichaBombeiro
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up an... |
src/EA.Iws.Domain/Reports/Shipment.cs | DEFRA/prsd-iws | 1 | 7069675 | namespace EA.Iws.Domain.Reports
{
using System;
using Core.Shared;
public class Shipment
{
public string NotificationNumber { get; protected set; }
public string ImportOrExport { get; protected set; }
public string Exporter { get; protected set; }
public string Import... |
CoreSharp.NHibernate/Generators/DateTimeAddGenerator.cs | cime/CoreSharp | 7 | 7069676 | using System;
using System.Collections.ObjectModel;
using System.Linq.Expressions;
using System.Reflection;
using NHibernate.Hql.Ast;
using NHibernate.Linq.Functions;
using NHibernate.Linq.Visitors;
using NHibernate.Util;
namespace CoreSharp.NHibernate.Generators
{
public class DateTimeAddGenerator : BaseHqlGener... |
Source/DevSetup/DevSetup/MainWindow.xaml.cs | SCBionicle/MDK-SE | 797 | 7069677 | <gh_stars>100-1000
using System.Windows;
namespace Malware.DevSetup
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
public MainWindow(Main... |
source/codes/CombatCodes/PointsCounter.cs | ForMyFreedom/UEM-Danmaku | 1 | 7069678 | <reponame>ForMyFreedom/UEM-Danmaku
using Godot;
using System;
public class PointsCounter : AbstractCounter
{
private int maxPoints;
private int points;
public override void StartUp(Game game)
{
game.Connect("enemy_died", this, "_OnEnemyKilled");
}
public override void _Ready()
{
... |
src/lime/src/TcpConnection.cs | neFormal/lime | 0 | 7069679 | <filename>src/lime/src/TcpConnection.cs
using System;
using System.Collections.Generic;
using System.IO;
using Akka;
using Akka.Actor;
using Akka.Event;
using Akka.IO;
using Akka.Util.Internal;
using Google.Protobuf;
using protobuf.user;
using ByteString = Akka.IO.ByteString;
namespace lime.user
{
using lime.user.... |
ALinq/SqlClient/SqlBinder.cs | maishumaishu/ALinq | 38 | 7069680 | using System;
using System.Collections.Generic;
using ALinq;
using ALinq.Mapping;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace ALinq.SqlClient
{
internal class SqlBinder
{
// Fields
... |
NET/API/Treehopper.Libraries/Utilities/Color.cs | ehailey1/treehopper-sdk | 3 | 7069681 | <filename>NET/API/Treehopper.Libraries/Utilities/Color.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Treehopper.Libraries.Utilities
{
public class Color
{
[Flags]
internal enum ColorType : short
{
Empty = 0,
Known = 1,
... |
Assets/Scripts/GUI/Utils.cs | astennent/graphite | 0 | 7069682 | <filename>Assets/Scripts/GUI/Utils.cs
using UnityEngine;
class Utils : MonoBehaviour
{
public static Rect GetScreenRect(RectTransform rectTransform)
{
Vector3[] corners = new Vector3[4];
rectTransform.GetWorldCorners(corners);
float xMin = float.PositiveInfinity;
float xM... |
SocialMedia.Data/Migrations/20200112135533_mig4_likedislikeupdated.cs | tgyka/aspnetmvccore-socialmedia-website | 1 | 7069683 | <filename>SocialMedia.Data/Migrations/20200112135533_mig4_likedislikeupdated.cs<gh_stars>1-10
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace SocialMedia.Data.Migrations
{
public partial class mig4_likedislikeupdated : Migration
{
protected overr... |
Assets/Scripts/UX/HudManager.cs | wxq127/gamebuilder | 242 | 7069684 | /*
* Copyright 2019 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
Templates/Website/$safeprojectname$/Program.cs | Kaliumhexacyanoferrat/GenHTTP.Templates | 0 | 7069685 | using GenHTTP.Engine;
using GenHTTP.Modules.IO;
using GenHTTP.Modules.Practices;
using GenHTTP.Modules.Websites;
using GenHTTP.Themes.Lorahost;
using $safeprojectname$;
var project = Project.Create();
var theme = Theme.Create()
.Title("$safeprojectname$")
.Subtitle(... |
ArtGallery/ArtGallery/Views/Shared/_Layout.cshtml | StasiS-web/ArtGallery | 0 | 7069686 | @using Microsoft.AspNetCore.Identity
@inject SignInManager<ApplicationUser> SignInManager
@{
var routeData = ViewContext.RouteData.Values;
routeData["culture"] = "{0}";
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-sc... |
LaboraiApp01/Student.cs | Tadiaush/csharp-app | 0 | 7069687 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LaboraiApp01
{
public class Student
{
int id { get; set; }
string studFName { get; set; }
string studLName { get; set; }
List<int> studND = new List<int... |
CsharpBasicProblems/BeverageLabels/BeverageLabels.cs | pirocorp/ProgrammingBasics | 0 | 7069688 | <filename>CsharpBasicProblems/BeverageLabels/BeverageLabels.cs
using System;
namespace BeverageLabels
{
class BeverageLabels
{
static void Main(string[] args)
{
var name = Console.ReadLine();
var volume = int.Parse(Console.ReadLine());
var energyContentPer10... |
TwitchLib/TwitchLib.Client/TwitchLib.Client.Models/SubscriberBase.cs | Teravus/RebootTechChatBot | 1 | 7069689 | <reponame>Teravus/RebootTechChatBot
using System;
using System.Collections.Generic;
using System.Drawing;
using TwitchLib.Client.Enums;
using TwitchLib.Client.Models.Extensions.NetCore;
using TwitchLib.Client.Models.Internal;
namespace TwitchLib.Client.Models
{
/// <summary>Class representing a resubscriber.</su... |
src/AskTheCode.ControlFlowGraphs/Operations/OperationVisitor.cs | roberthusak/AskTheCode | 15 | 7069690 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AskTheCode.ControlFlowGraphs.Operations
{
/// <summary>
/// Enables to process instances of <see cref="Operation"/> with no return value.
/// </summary>
public abstract class O... |
src/Web/WHMS.Web/Views/Reports/SalesComparasion.cshtml | jivkopiskov/WHMS | 0 | 7069691 | <gh_stars>0
@model IEnumerable<IGrouping<Channel, QtySoldByChannelViewModel>>
<div>
<figure class="highcharts-figure">
<div id="container"></div>
<p class="highcharts-description">
</p>
</figure>
<figure class="highcharts-figure">
<div id="container1"></div>
<p clas... |
Fluqi/Widget/jSelectMenu/Options/Options-Core.cs | toepoke/Fluqi | 3 | 7069692 | <reponame>toepoke/Fluqi<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Fluqi.Extension;
using Fluqi.Extension.Helpers;
using Microsoft.VisualBasic;
namespace Fluqi.Widget.jSelectMenu
{
/// <... |
source/poetts/GUI.Designer.cs | miled/Poetts | 1 | 7069693 | <filename>source/poetts/GUI.Designer.cs
namespace poetts
{
partial class GUI
{
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Nettoyage des ressources utilisées.
... |
Poing2/Blocks/StrongBlock.cs | BCProgramming/BASeBlock | 2 | 7069694 | <filename>Poing2/Blocks/StrongBlock.cs
using System;
using System.Drawing;
using System.Runtime.Serialization;
using System.Xml.Linq;
using BASeCamp.BASeBlock.Particles;
using BASeCamp.Elementizer;
namespace BASeCamp.BASeBlock.Blocks
{
/// <summary>
/// Creates a "Strong" block. this block resists several hits... |
Part-II-C#-Basics/05. Objects and Classes/Tasks/07.Sales-Report/Sales-Report.cs | SoftUni-marks/Programming-Basics-Jan-2016 | 0 | 7069695 | using System;
using System.Collections.Generic;
using System.Linq;
public class Sale
{
public string Town { get; set; }
public string Product { get; set; }
public decimal Price { get; set; }
public decimal Quantity { get; set; }
public decimal TotalPrice
{
get
{
... |
client/framework/UnityCsReference-master/Runtime/Export/Logging/UnityLogWriter.bindings.cs | HelloWindows/AccountBook- | 1 | 7069696 | <reponame>HelloWindows/AccountBook-
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.IO;
using System.Text;
u... |
src/BusybodyTests/Helpers/TestDirectory.cs | awithy/Busybody | 1 | 7069697 | <reponame>awithy/Busybody<gh_stars>1-10
using System;
using System.Diagnostics;
using System.IO;
using Busybody;
namespace BusybodyTests.Helpers
{
public class TestDirectory : IDisposable
{
public string RootPath { get; private set; }
public TestDirectory()
{
R... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.