max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
Assets/Scripts/Tale/TaleMaster.cs | deprimus/SanityBreakerNOVA | 1 | 7069913 | <reponame>deprimus/SanityBreakerNOVA
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
using UnityEngine.SceneManagement;
using UnityEngine.Rendering.PostProcessing;
public class TaleMaster : MonoBehaviour
{
// TODO: Add brackets to all switch cases in the proj... |
src/Test_SysX/OperatorTests.cs | kevinarthurackerman/SysX | 1 | 7069914 | namespace Test_SysX;
using Assert = Xunit.Assert;
public class OperatorTests
{
[Fact]
public void Should_Throw_InvalidOperationException_When_Unary_Operation_Does_Not_Exist()
{
Assert.Throws<InvalidOperationException>(() => Operator<float>.And(1, 1));
}
[Fact]
public void Should_Throw... |
FallDave.EhSync/MuxProducer.cs | dvmcfall/EhSync | 0 | 7069915 | /*
* FallDave.EhSync - Dubious async tools for C#
*
* Written in 2015 by <NAME> <<EMAIL>>
*
* To the extent possible under law, the author(s) have dedicated all
* copyright and related and neighboring rights to this software to the
* public domain worldwide. This software is distributed without any
* warrant... |
Editor/Pipelines/SimpleMacBuildPipeline.cs | tbg10101/UnityBuildScripting | 2 | 7069916 | using UnityEditor;
using UnityEngine;
namespace Software10101.BuildScripting.Editor {
public class SimpleMacBuildPipeline : AbstractSimpleBuildPipeline {
private const BuildTarget Target = BuildTarget.StandaloneOSX;
private bool _createXcodeProjectBackup;
private bool _useMacAppStoreValida... |
Flepper.QueryBuilder/QueryBuilder.cs | nicolastakashi/flepper | 32 | 7069917 | <reponame>nicolastakashi/flepper
using System.Collections.Generic;
using System.Text;
using Flepper.QueryBuilder.Utils;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Flepper.QueryBuilder.DapperExtensions")]
namespace Flepper.QueryBuilder
{
internal partial class QueryBuilder : IQueryComman... |
flier268.Win32API.GDI32/GDI32.cs | flier268/Win32API | 2 | 7069919 | <reponame>flier268/Win32API<filename>flier268.Win32API.GDI32/GDI32.cs
using System;
using System.Runtime.InteropServices;
namespace flier268.Win32API
{
public abstract class GDI32
{
#region const
public const int ABSOLUTE = 1;
public const int AD_CLOCKWISE = 2;
public const i... |
src/DesignPattern.AbstractFactory/Shapes/Rectangle.cs | hippieZhou/DesignPatterns | 40 | 7069920 | <gh_stars>10-100
using System;
using DesignPattern.AbstractFactory.interfaces;
namespace DesignPattern.AbstractFactory.Shapes
{
public class Rectangle:IShape
{
public void Draw()
{
Console.WriteLine("I am a Rectangle");
}
}
}
|
c-sharp-OOP/Exams/C#_OOP_Retake_Exam-19_April_2019/PlayersAndMonsters/Common/Validator.cs | emilianpetrov/c-sharp-repository | 0 | 7069921 | namespace PlayersAndMonsters.Common
{
using System;
public static class Validator
{
public static void ThrowIfStringIsNullOrEmpty(string str, string message = null)
{
if (string.IsNullOrEmpty(str))
{
throw new ArgumentException(message);
... |
Src/iFramework.Plugins/IFramework.EventStore.Redis/EventStore.cs | IvanZheng/IFramework | 57 | 7069922 | using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using IFramework.Command;
using IFramework.Event;
using IFramework.Exceptions;
using IFramework.Infrastructure;
using IFramework.Infrastructure.EventSourcing.Domain;
using IFram... |
services/webapi/tests/Utility/UseSqliteMemoryDb.cs | TrentMonacell/JEARproject | 17 | 7069923 | <gh_stars>10-100
using AutoFixture;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
using System;
using System.Data.Common;
namespace webapi.tests.Utility
{
/// <summary>
/// Customization for AutoDataNSubstituteAttribute class to use in memory SQLite database
/// </summary>
/// <t... |
src/Users/NPost.Modules.Users/Handlers/GetTokenHandler.cs | spetz/NPost | 3 | 7069924 | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using NPost.Modules.Users.Core.Repositories;
using NPost.Modules.Users.Services;
using NPost.Modules.Users.Shared.DTO;
using NPost.Modules.Users.Shared.Queries;
using NPost.Shared.Queries;
namespace NPost.Modules.Users.Handlers
{
internal class GetTokenHan... |
SpaceGame/UI/GameUI.cs | demonixis/SpaceGame-XNA | 0 | 7069925 | <gh_stars>0
using System;
using Microsoft.Xna.Framework;
using Yna.Engine;
using Yna.Engine.Graphics;
using SpaceGame.Player;
using SpaceGame.UI.Player;
using SpaceGame.Data.Description;
namespace SpaceGame.UI
{
public class GameUI : YnGroup
{
private YnGroup _guiGroup;
private YnText _scoreTe... |
DataLayer.cs | cbaja/SYSGER | 1 | 7069926 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Objects;
namespace SYSGER.Model
{
public class DataLayer
{
private SYSGEREntities entities = new SYSGEREntities();
public Model.recrutement GetRecrutmentByID(long id)
{
... |
LionFrame.Model/RequestParam/RoleParams/ModifyUserRoleParam.cs | levy-w-wang/LionFrame | 13 | 7069928 | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace LionFrame.Model.RequestParam.RoleParams
{
/// <summary>
/// 修改角色能访问的页面权限
/// </summary>
public class ModifyUserRoleParam
{
[Required(ErrorMessage = "角色缺失")]
public long RoleId { get;... |
Programatica.Saft.Models/MasterFiles.cs | ruialexrib/Programatica.Saft.Models | 0 | 7069929 | <filename>Programatica.Saft.Models/MasterFiles.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
namespace Programatica.Saft.Models
{
[XmlRoot(ElementName = "MasterFiles", Namespace = "urn:OECD:StandardAuditFile-Tax:PT_1.04_01")]
public class MasterFiles : I... |
PesquisaComAjax/PesquisaComAjax.Domain/Services/ProdutoService.cs | EliPedro/ExemploPesquisaAjax | 0 | 7069930 | <reponame>EliPedro/ExemploPesquisaAjax
using System;
using System.Collections.Generic;
using PesquisaComAjax.Domain.Entities;
using PesquisaComAjax.Domain.Interfaces.Repositories;
using PesquisaComAjax.Domain.Interfaces.Services;
namespace PesquisaComAjax.Domain.Services
{
public class ProdutoService : ServiceBas... |
VNDS/VNDS/CharReaderExtenstions.cs | QuantumBoogaloo/VNDSReader | 0 | 7069931 | <reponame>QuantumBoogaloo/VNDSReader<filename>VNDS/VNDS/CharReaderExtenstions.cs
using System.Collections.Generic;
using System.Text;
//
// Copyright (C) 2019 Pharap (@Pharap)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lic... |
Spfx.Tests/TimeoutAttribute.cs | fbrosseau/SimpleProcessFramework | 0 | 7069932 | <reponame>fbrosseau/SimpleProcessFramework<filename>Spfx.Tests/TimeoutAttribute.cs
#if NETCOREAPP
using System;
namespace Spfx.Tests
{
/// <summary>
/// https://github.com/nunit/nunit/issues/3282
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class TimeoutAttribute : Att... |
Utility/TargetTracker.cs | zrisher/SEModHelpers | 1 | 7069933 | /*
using System;
using System.Collections.Generic;
using Sandbox.ModAPI;
using VRage.ModAPI;
using VRageMath;
namespace Rynchodon
{
/// <summary>
/// Performs ray-casts for obstructions, assess obstructions, determines Vector required to hit target.
/// </summary>
public class TargetTracker
{
/// <summary>
/... |
Siege.Futures/Siege.Eventing.Web/ModelBinding.cs | lokalan/Siege | 0 | 7069934 | using System;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Siege.Eventing.Messages;
namespace Siege.Eventing.Web
{
public class ModelBinding
{
private readonly Type type;
private HttpContextBase httpContext;
private IModelBinder modelBinder;
... |
Assets/Code/Controllers/ClickerMinigame/IGPost.cs | RokKos/a-lot-of-notifications | 0 | 7069935 | using System;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
[ExecuteInEditMode]
public class IGPost : MonoBehaviour
{
public const int HEIGHT = 700;
public string Username;
public int Likes;
public string Text;
public Sprite Image;
public Sprite Avatar;
public int Score;
... |
qnote/qnote/User.cs | maxcriser/CourseWork | 0 | 7069936 | <reponame>maxcriser/CourseWork<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace qnote
{
class User
{
public String username;
public String password;
public User(String username, String password)
... |
BookCave/Migrations/20180508130839_cartTable_added.cs | halldors17/VerklegtNamskeid2 | 0 | 7069937 | using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace BookCave.Migrations
{
public partial class cartTable_added : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
src/AppRopio.Models.Feedback/Requests/ApplicationRequest.cs | AppRopio/AppRopio.Models | 2 | 7069938 | <reponame>AppRopio/AppRopio.Models
using System;
namespace AppRopio.Models.Feedback.Requests
{
public class ApplicationRequest
{
public string ReviewId { get; set; }
public string ProductId { get; set; }
public string ProductGroupId { get; set; }
}
}
|
03CSharpOOP/11TestDrivenDevelopment/Chainblock/Chainblock/Chainblock.cs | mart0vn/SoftUni-Training | 0 | 7069939 | <reponame>mart0vn/SoftUni-Training
namespace Chainblock
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Contracts;
public class Chainblock : IChainblock
{
private readonly Dictionary<int, ITransaction> transactionsById;
... |
Assets/Devdog/QuestSystemPro/Scripts/Dialogue/EdgeConditions/SimpleEdgeCondition.cs | Casey-Hofland/Quest-System-Pro | 552 | 7069940 | namespace Devdog.QuestSystemPro.Dialogue
{
public abstract class SimpleEdgeCondition : IEdgeCondition
{
public bool canViewEndNode = false;
public virtual bool CanViewEndNode(Dialogue dialogue)
{
return CanUse(dialogue) || canViewEndNode;
}
public virtual V... |
FoxSsh/Common/Messages/Authentication/AuthenticationFailureMessage.cs | Jaegermeiste/FoxSsh | 6 | 7069941 | <filename>FoxSsh/Common/Messages/Authentication/AuthenticationFailureMessage.cs<gh_stars>1-10
// !! // FoxSsh - https://github.com/FoxCouncil/FoxSsh
// *.-". // MIT License
// | | // Copyright 2021 The Fox Council
using FoxSsh.Common.Services;
using System;
using System.Collections.Generic;
namespace FoxSsh.Com... |
test/Olbrasoft.AskMe.Data.EntityFrameworkCore.Unit.Tests/QueryHandlers/ExistQuestionQueryHandlerTest.cs | Olbrasoft/AskMe | 0 | 7069943 | <reponame>Olbrasoft/AskMe<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using Altairis.AskMe.Data.Base.Objects;
using Altairis.AskMe.Data.Queries;
using Microsoft.EntityFrameworkCore;
using Moq;
using NUnit.Framework;
using Olbrasoft.AskMe.Data.EntityFrameworkCore.QueryHandlers;
using Olbrasoft.Query... |
PetSanctuary.Test/Controllers/ClinicsControllerTest.cs | aleksanderstoyanov/PetSanctuary | 3 | 7069944 | namespace PetSanctuary.Test.Controllers
{
using PetSanctuary.Web.Controllers;
using MyTested.AspNetCore.Mvc;
using Xunit;
using PetSanctuary.Web.ViewModels.Clinics;
using PetSanctuary.Services.Data.Clinics;
using System.Collections.Generic;
using PetSanctuary.Test.Data;
public class Cl... |
Assets/SpaceCombatKit/Scripts/AllVehicles/Radar/Trackable.cs | RisulKarimWG/GameX | 1 | 7069945 | <reponame>RisulKarimWG/GameX
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace VSX.UniversalVehicleCombat.Radar
{
/// <summary>
/// Unity event for running functions when a trackable is selected
/// </summary>
[System.Serializable]
... |
stellar-dotnet-sdk/requests/OffersRequestBuilder.cs | mootz12/dotnet-stellar-sdk | 100 | 7069946 | <gh_stars>10-100
using stellar_dotnet_sdk.responses;
using stellar_dotnet_sdk.responses.page;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace stellar_dotnet_sdk.requests
{
/// <inheritdoc />
public class OffersRequestBuilder : RequestBuilderExecutePageable<OffersRequestBuilder, Of... |
src/completed/Trainer/Program.cs | BelRarr/Workshop-MLNet | 15 | 7069947 | using System;
using System.IO;
using GithubIssueClassifier.Model;
using Microsoft.ML;
namespace Trainer
{
class Program
{
static void Main(string[] args)
{
var mlContext = new MLContext();
var dataView = mlContext.Data.LoadFromTextFile<GithubIssue>(
"..... |
JXIPS/JX.Core/IRepositoriesADO/IPointLogRepositoryADO.cs | lixiong24/IPS2.1 | 0 | 7069948 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JX.Core;
using JX.Core.Entity;
namespace JX.Core
{
/// <summary>
/// 数据库表:PointLog 的仓储接口.
/// </summary>
public partial interface IPointLogRepositoryADO : IRepositoryADO<PointLog>
{
/// <summary>
/// 通过主键删除... |
src/Domain/UserCrud.Domain/AuthenticationDomain.cs | dpalat/UserCrudWithAspNetWebApi2 | 0 | 7069949 | using System.Linq;
using UserCrud.Domain.Cryptography;
using UserCrud.Entity;
using UsersCrud.Repository;
namespace UserCrud.Domain
{
public class AuthenticationDomain : IAuthenticationDomain
{
private readonly IRepository<User> _userRepository;
private readonly IHasher _hasher;
publi... |
Controls/InstallerItemControl.cs | Azure/Azure-Websites-Migration-Tool | 31 | 7069950 | using System.Windows.Forms;
namespace CompatCheckAndMigrate.Controls
{
public partial class InstallerItemControl : UserControl
{
private readonly string _productName;
private bool _isComplete;
public InstallerItemControl(string productName)
{
InitializeComponent();
... |
Soccer/FantasyData.Soccer.Entities/Membership.cs | pzadafiya/FantasyDataAPI | 0 | 7069952 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FantasyData.Soccer.Entities
{
public class Memberships : List<Membership>
{ }
public class Membership
{
public int MembershipId { get; set; }
public... |
Samples/Controls.Net4/Subscriptions/MonitoredItemEditDlg.Designer.cs | mrsuciu/UA-.NETStandard-Samples | 118 | 7069953 | /* ========================================================================
* Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
... |
SourceCode/Source/Core.Development/Event/Events/LoadDataToWindow/UserControlEventEditorPanel_LoadDataToForm_General.cs | ckalvin-hub/Sheng.Winform.IDE | 227 | 7069954 | /*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using... |
GenesisBlockTools/BlockchainCommon/Script.cs | EnricoBotassa/zalgocoin | 1 | 7069955 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace GenesisBlockInfoGen
{
public class Script : IByteSerializeable
{
public List<byte> Buffer { get; set; }
public static ... |
Romanization/Languages/Greek/Ancient/AlaLc.cs | zedseven/Romanization.NET | 3 | 7069956 | using Romanization.Internal;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Globalization;
// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable StringLiteralTypo
// ReSharper disable InconsistentNaming
namesp... |
unity/path finding/Assets/Code/MoveTank.cs | Sorsly/esp | 0 | 7069957 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class MoveTank : MonoBehaviour {
[SerializeField]
Transform _destination;
NavMeshAgent _navMeshAgent;
// Use this for initialization
void Start () {
_navMeshAgent = this.GetComponent<NavMesh... |
FelipeShopping/FelipeShopping.Web/Services/CarrinhoService.cs | felipealves/microservices-dotnet6 | 0 | 7069958 | <filename>FelipeShopping/FelipeShopping.Web/Services/CarrinhoService.cs
using FelipeShopping.Web.Models;
using FelipeShopping.Web.Services.IServices;
using FelipeShopping.Web.Utils;
using System.Net.Http.Headers;
namespace FelipeShopping.Web.Services
{
public class CarrinhoService : ICarrinhoService
{
... |
C# Web/Web Basics/Exams/Exam Preparation 02.2020/Andreys/Andreys/Controllers/HomeController.cs | deedeedextor/Software-University | 0 | 7069959 | <reponame>deedeedextor/Software-University<filename>C# Web/Web Basics/Exams/Exam Preparation 02.2020/Andreys/Andreys/Controllers/HomeController.cs
namespace Andreys.App.Controllers
{
using Andreys.Services;
using Andreys.ViewModels.Products;
using SIS.HTTP;
using SIS.MvcFramework;
using System;
... |
Data/Scripts/WeaponCore/Session/SessionNetworkSupport.cs | keleios/WeaponCore | 0 | 7069960 | using Sandbox.Game.Entities;
using Sandbox.ModAPI;
using VRage.Game.Entity;
using VRage.Game.ModAPI;
using VRageMath;
using WeaponCore.Platform;
using WeaponCore.Support;
using static WeaponCore.Support.WeaponComponent;
namespace WeaponCore
{
public partial class Session
{
#region Packet Creation Met... |
Leaf.Vs/Tags/Solution/ProjectConfigurationPlatforms.cs | aaverteramo/leaf | 0 | 7069961 | using Leaf;
namespace Leaf.Vs.Tags.Solution
{
//GlobalSection(ProjectConfigurationPlatforms) = postSolution
//EndGlobalSection
public class ProjectConfigurationPlatforms : Tag<Nodes.Solution.ProjectConfigurationPlatforms>
{
public ProjectConfigurationPlatforms()
: base("ProjectConf... |
MyRealEstateApp/RealEstate.Models/Feature.cs | Nik0layIvan0v/RealEstateWebApp | 1 | 7069962 | using System.Collections.Generic;
namespace RealEstate.Models
{
using System.ComponentModel.DataAnnotations;
using static Common.GlobalConstants;
public class Feature : BaseEntity
{
public Feature()
{
this.Estates = new HashSet<EstateFeature>();
}
[Require... |
Codoxide.Outcome.Extensions.Zip/src/ForkJoin.extensions.cs | sameera/Codoxide.Outcome | 0 | 7069963 | using System;
using System.Runtime.Intrinsics.X86;
using System.Threading.Tasks;
using Codoxide.Outcomes;
using static Codoxide.FixedOutcomes;
namespace Codoxide
{
public static partial class OutcomeZipAsyncExtensions
{
public static async Task<Outcome<(T1, T2)>> ForkJoin<T1, T2>(this Task<Outcome<T1>... |
src/tests/ExistsForAll.Metrics.Tests/ReportingStateTests.cs | existall/ExistsForAll.Metrics | 0 | 7069964 | using System;
using ExistsForAll.Metrics;
using Xunit;
namespace ExistsForAll.Metrics.Tests
{
public class ReportingStateTests
{
[Fact]
public void IsEnabled_WhenNewingupNewSpace_ShouldReturnTrue()
{
var sut = new MetricSpace("ss");
var result = sut.IsEnabled()... |
03 - CSharp-Advanced/08 - Generics - Lab & Exercise/GenericBoxOfString/Program.cs | shllshckd/SoftUni-Programming-Basics-March-2020 | 0 | 7069965 | <gh_stars>0
using System;
namespace GenericBoxOfStringAndInt
{
public class Program
{
static void Main(string[] args)
{
//StringBox();
IntegerBox();
}
private static void StringBox()
{
int counter = int.Parse(Console.ReadLine());
... |
Sopra.Labs.ConsoleApp2/Program.cs | borjacabeza/labs | 0 | 7069966 | using System;
using System.Linq;
namespace Sopra.Labs.ConsoleApp2
{
internal class Program
{
/// <summary>
/// Inicio del programa
/// </summary>
/// <param name="args"></param>
static void Main(string[] args)
{
Ejercicios();
}
/// <... |
BluetoothLEExplorer/BluetoothLEExplorer.iOS/UI/Screens/Scanner/DeviceDetails/DeviceDetailsScreen.cs | forcemax/mobile-samples | 1,222 | 7069968 | using System;
using System.Collections.Generic;
using CoreBluetooth;
using Foundation;
using UIKit;
namespace BluetoothLEExplorer.iOS
{
[Register ("DeviceDetailsScreen")]
public partial class DeviceDetailsScreen : UIViewController
{
readonly List<CBService> services = new List<CBService> ();
ServiceDetailsScree... |
test/Routine.Test/Interception/Stubs/AroundInterceptorBuilders/SyncOverAsync.cs | multinetinventiv/routine | 3 | 7069969 | using Routine.Interception;
using Routine.Interception.Configuration;
using System;
namespace Routine.Test.Interception.Stubs.AroundInterceptorBuilders
{
public class SyncOverAsync : IBuilder
{
private static InterceptorBuilder<Context> Builder => BuildRoutine.Interceptor<Context>();
public I... |
Presentation/CRM/Views/Dashboard/index.cshtml | shpsyte/CRMFx | 1 | 7069970 | @model Dashboard
@{
/**/
/**/
/**/
Layout = null;
ViewBag.PageId = "extr-page";
ViewBag.PageClass = "animated fadeInDown";
}
<script src="~/Scripts/axios.js"></script>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="~/Content/css/d... |
EspionSpotify/Exceptions/SourceFileNotFoundException.cs | Ever4engel/spy-spotify | 0 | 7069972 | using System;
namespace EspionSpotify.Exceptions
{
public class SourceFileNotFoundException : Exception
{
public SourceFileNotFoundException()
{
}
public SourceFileNotFoundException(string message)
: base(message)
{
}
public SourceFileNotFo... |
src/MonkeyButler.Abstractions/Data/Api/Models/XivApi/Character/GrandCompany.cs | Foshkey/MonkeyButler | 2 | 7069973 | <gh_stars>1-10
using MonkeyButler.Abstractions.Data.Api.Models.XivApi.Enumerations;
namespace MonkeyButler.Abstractions.Data.Api.Models.XivApi.Character;
/// <summary>
/// Model representing a grand company.
/// </summary>
public record GrandCompany
{
/// <summary>
/// Id of the Grand Company.
/// </summ... |
Source/Minesweeper.Core/Routing/Events/RouterNavigationEventArgs.cs | roknr/minesweeper | 1 | 7069975 | using System;
namespace Minesweeper.Core.Routing.Events
{
/// <summary>
/// Represents the base router event arguments.
/// </summary>
public class RouterNavigationEventArgs : EventArgs
{
/// <summary>
/// The <see cref="Route"/> that is the destination of the navigation.
//... |
PaunPacker.Core/Packing/Sorting/IImageSorter.cs | pdokoupil/PaunPacker | 0 | 7069976 | using System.Collections.Generic;
using PaunPacker.Core.Types;
namespace PaunPacker.Core.Packing.Sorting
{
/// <summary>
/// Represents an image sorter
/// </summary>
public interface IImageSorter //Rename to rectangle sorter ?
{
/// <summary>
/// Sorts the images accord... |
AssemblyClient/Model/YearGroup.cs | andrewdavey/assembly-client-dotnet | 0 | 7069977 | <gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace AssemblyClient
{
public class YearGroup
{
internal YearGroupsResource Resource { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("code... |
src/SimpleSoft.IniParser/NormalizerExtensions.cs | simplesoft-pt/SimpleSoft.IniParser | 3 | 7069978 | #region License
// The MIT License (MIT)
//
// Copyright (c) 2017 <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
... |
Esso.Web/Controllers/OsosController.cs | ismailllefe/ESOFT | 0 | 7069979 | <reponame>ismailllefe/ESOFT<gh_stars>0
using Esso.Data;
using System;
using System.Linq.Dynamic;
using System.Linq;
using System.Web.Mvc;
using System.Web.UI.WebControls;
using Z.EntityFramework.Plus;
using System.Drawing;
using OfficeOpenXml;
using System.IO;
using System.Threading;
using System.Globalization;
names... |
Assets/src/Engine/Logic/Map/Character/MapHuman.cs | vpcoder/7d1n | 0 | 7069980 | <filename>Assets/src/Engine/Logic/Map/Character/MapHuman.cs
using UnityEngine;
using Engine.Data;
using Mapbox.Unity.Location;
using Mapbox.Unity.Utilities;
using Mapbox.Unity.Map;
namespace Engine.Map
{
/// <summary>
/// Окружность-ходьбы вокруг человека
/// </summary>
public class MapHuman : MonoBeha... |
src/Isotope/Isotope/Areas/Admin/Dto/MediaVM.cs | impworks/isotope | 3 | 7069981 | <gh_stars>1-10
using System;
using System.Linq;
using Isotope.Code.Utils;
using Isotope.Code.Utils.Helpers;
using Isotope.Data.Models;
using Mapster;
namespace Isotope.Areas.Admin.Dto
{
/// <summary>
/// Media details.
/// </summary>
public class MediaVM: IMapped
{
public string ThumbnailPa... |
WmcSoft.Core/Data/Common/DbDataReaderExtensions.cs | vjacquet/WmcSoft | 3 | 7069982 | #region Licence
/****************************************************************************
Copyright 1999-2015 <NAME>. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it and redistribute it, subject
to the follow... |
resources/.gen/aws/aws/Wafv2RuleGroupRuleStatementOrStatementStatementOrStatementStatementSqliMatchStatementFieldToMatchMethod.cs | scottenriquez/cdktf-alpha-csharp-testing | 0 | 7069983 | <reponame>scottenriquez/cdktf-alpha-csharp-testing
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2RuleGroupRuleStatementOrStatementStatementOrStatementStatementSqliMatchStatementFieldToMatchMethod")]
public class Wafv2RuleGroupRuleSta... |
src/ConductorDotnetClient.Demo/Program.cs | jokecamp/conductor-dotnet-client | 10 | 7069984 | using ConductorDotnetClient.Interfaces;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
using ConductorDotnetClient.Extensions;
using System;
namespace ConductorDotnetClient.Demo
{
class Program
{
static async Task Main(string[] args)
... |
csharp/Types/FixedPtSpace.cs | jwnichls/puc | 1 | 7069985 | <filename>csharp/Types/FixedPtSpace.cs
using System;
namespace PUC.Types
{
/// <summary>
/// A ValueSpace that stores fixed point values that may be ranged or
/// incremented.
/// </summary>
public class FixedPtSpace : NumberSpace
{
/*
* Member Variables
*/
/// <summary>
/// The fixed... |
Estoque/FormConsulta.Designer.cs | luizbp/Estoque_VS_2018 | 0 | 7069986 | namespace Estoque
{
partial class FormConsulta
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... |
IsTo/To/TryFrom/TryFromEnum.cs | Kuick/IsTo | 0 | 7069987 | // Copyright (c) kuicker.org. All rights reserved.
// Modified By YYYY-MM-DD
// kevinjong 2016-02-11 - Creation
using System;
namespace IsTo
{
public static partial class ToExtender
{
private static bool TryFromEnum(
object value,
XInfo from,
XInfo to,
out object result,
... |
QuizBowlDiscordScoreTracker/Scoresheet/TJSheetsGenerator.cs | alopezlago/QuizBowlDiscordScoreTracker | 6 | 7069988 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Google.Apis.Sheets.v4.Data;
namespace QuizBowlDiscordScoreTracker.Scoresheet
{
public class TJSheetsGenerator : BaseGoogleSheetsGenerator
{
internal const int RostersFirstPlayerRow = 2;
intern... |
Assets/Kai/Scripts/Title/Presentation/Controller/TitleSequencer.cs | kitatas/unity1week_kai | 0 | 7069989 | <reponame>kitatas/unity1week_kai
using Kai.Common.Application;
using Kai.Common.Domain.UseCase.Interface;
using Kai.Common.Extension;
using UnityEngine;
using Zenject;
namespace Kai.Title.Presentation.Controller
{
public sealed class TitleSequencer : MonoBehaviour
{
[Inject]
private void Constr... |
EDXLSHARP/MEXLTEPLib/ITEPComposableObject.cs | 1stResponder/em-serializers | 1 | 7069990 | // ———————————————————————–
// <copyright file="ITEPComposableObject.cs" company="EDXLSharp">
// 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/L... |
backend/.net core-be/Pygma/tests/uat/Pygma.UatTests/Tests/Api/SwaggerTests.cs | CodeExcavator/project-pygma | 0 | 7069991 | <filename>backend/.net core-be/Pygma/tests/uat/Pygma.UatTests/Tests/Api/SwaggerTests.cs
using System.Threading.Tasks;
using Pygma.UatTests.Base;
using Pygma.UatTests.Infrastructure;
using Xunit;
namespace Pygma.UatTests.Tests.Api
{
public class SwaggerTests: UatBase
{
private readonly HttpTestClient _... |
Assets/Scripts/GroundController.cs | marcoprado17/destructible-terrain-demo | 17 | 7069992 | <gh_stars>10-100
using UnityEngine;
using System.Collections;
public class GroundController : MonoBehaviour {
private SpriteRenderer sr;
private float widthWorld, heightWorld;
private int widthPixel, heightPixel;
private Color transp;
// Start() de GroundController
void Start(){
sr = GetComponent<SpriteRen... |
wslipconf/wslipconf/ViewModels/ObservableBase.cs | nmoschkin/wslipconf | 0 | 7069993 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace WSLIPConf.ViewModels
{
/// <summary>
/// Base class for observable classes.
/// </summary>
publi... |
src/HostBuilder/ApplicationPart/ViewsAssemblyPart.cs | namofun/uik | 2 | 7069994 | <reponame>namofun/uik
using Microsoft.AspNetCore.Razor.Hosting;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Microsoft.AspNetCore.Mvc.ApplicationParts
{
/// <summary>
/// The <see cref="CompiledRazorAssemblyPart"/> with razor file probe.
/// </summary>
public clas... |
ZohoPeopleTimeLogger/Services/JobService.cs | drussilla/ZohoPeopleTimeLogger | 4 | 7069995 | using System;
using System.Linq;
using System.Threading.Tasks;
using ZohoPeopleClient;
using ZohoPeopleTimeLogger.Exceptions;
namespace ZohoPeopleTimeLogger.Services
{
public class JobService : IJobService
{
private readonly IZohoClient zohoClient;
private readonly IAuthenticationStorage authe... |
OpenDMS.Networking/Protocols/Http/Message/Expect100ContinueHeader.cs | xingh/opendms-dot-net | 0 | 7069996 | <reponame>xingh/opendms-dot-net
using System;
namespace OpenDMS.Networking.Protocols.Http.Message
{
public class Expect100ContinueHeader : Header
{
public static new string NAME { get { return "Expect"; } }
public Expect100ContinueHeader()
: base(new Token(NAME), "100-con... |
ParOuImpar/ParOuImpar/Program.cs | madeoliveira/CSHARP | 0 | 7069997 | using System;
namespace ParOuImpar
{
class Program
{
static void Main(string[] args)
{
int n = 0, r = 0;
Console.WriteLine("Verificar se o número informado é par ou impar");
Console.Write("Informe um número: ");
n = Convert.ToInt32(Console.ReadLi... |
JulioStore.Api/Startup.cs | juliosoft/JulioStore | 0 | 7069998 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JulioStore.Domain.StoreContext.Handlers;
using JulioStore.Domain.StoreContext.Repositories;
using JulioStore.Domain.StoreContext.Services;
using JulioStore.Infra.Repositories;
using JulioStore.Infra.Services;
using J... |
Assets/Scripts/Diablerie/Engine/Datasheets/SuperUnique.cs | PLUG13/Diablerie | 568 | 7069999 | <filename>Assets/Scripts/Diablerie/Engine/Datasheets/SuperUnique.cs
using System.Collections.Generic;
using Diablerie.Engine.IO.D2Formats;
using Diablerie.Engine.LibraryExtensions;
namespace Diablerie.Engine.Datasheets
{
[System.Serializable]
[Datasheet.Record]
public class SuperUnique
{
publi... |
tl/binary_library/elf/ElfRelocations.cs | jncronin/jca | 6 | 7070000 | <reponame>jncronin/jca
/* Copyright (C) 2013-2015 by <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,... |
src/EnterpriseContactDomain/Dtos/SearchEmployeeInput.cs | appsonsf/FabricEAP | 11 | 7070001 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EnterpriseContact
{
/// <summary>
/// 搜索选项
/// </summary>
[Serializable]
public class SearchEmployeeInput
{
public SearchEmployeeInput()
{
t... |
JerkyCentral/JCDB/DBRepo.cs | 201019-UiPath/BachkabakianMichael-P0 | 0 | 7070002 | <gh_stars>0
using System.Collections.Generic;
using JCDB.Models;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using System;
using System.Security.Cryptography.X509Certificates;
namespace JCDB
{
public class DBRepo : IBrandRepo, ICategoryRepo, IInventoryRepo, ILocationRepo, IOrderLineRepo, IOrderRepo, IP... |
QTecApp/Presentation/QTec.Hrms.Web/Views/Home/Index.cshtml | zalaps/QTecApp | 0 | 7070003 | <!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/>
<title>QTec Employees</title>
<link href="~/Content/bootstrap.css" rel="stylesheet" />
<link href="~/Content/bootstrap-responsive.min.css" rel="stylesheet" />
<link href="~/Content/styles.css" rel="styleshe... |
CyberCAT.Core/Classes/DumpedClasses/AIHumanComponent.cs | RakhithJK/CyberCAT | 127 | 7070004 | using CyberCAT.Core.Classes.Mapping;
namespace CyberCAT.Core.Classes.DumpedClasses
{
[RealName("AIHumanComponent")]
public class AIHumanComponent : AICAgent
{
[RealName("shootingBlackboard")]
public Handle<GameIBlackboard> ShootingBlackboard { get; set; }
[RealName("gadgetB... |
Movement Components/Movement Base/Editor/ScalarVelocityEditor.cs | Koopa1018/CURGLAFF-BasePackages | 0 | 7070005 | using UnityEditor;
namespace Clouds.MovementBase {
[CustomEditor(typeof(ScalarVelocity), true)]
public class RisingFallingVelocityEditor : Editor {
SerializedProperty showDebugInfo;
public override void OnInspectorGUI () {
//Run main editor.
base.OnInspectorGUI();
//Separate main from debu... |
CrimsonlandTrainer/WeaponTypeConverter.cs | ZimM-LostPolygon/CrimsonlandTrainer | 0 | 7070006 | <reponame>ZimM-LostPolygon/CrimsonlandTrainer<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CrimsonlandTrainer.Game;
namespace CrimsonlandTrainer
{
class WeaponTypeConver... |
node/src/openshift-dotnet/Uhuru.Openshift.Utilities/FileUtil.cs | kapilt1988/openshift.net | 14 | 7070007 | <reponame>kapilt1988/openshift.net<filename>node/src/openshift-dotnet/Uhuru.Openshift.Utilities/FileUtil.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Uhuru.Openshift.Utilities
{
public class FileUtil
{
public static string GetSymlinkTargetLocation(... |
Crossmarc.Media.AWS.S3/Constants.cs | crossmarc/Crossmarc.Media.AWS.S3 | 3 | 7070008 | namespace Crossmarc.Media.AWS.S3
{
/// <summary>
/// Defines constants for the AWS S3 Media Storage module.
/// </summary>
public class Constants
{
/// <summary>
/// The display name for the AWS S3 Media Storage module.
/// </summary>
public const string ModuleDisplay... |
src/Raven.Server/ServerWide/Commands/UpdateValueCommand.cs | ryanheath/ravendb | 1 | 7070010 | using Sparrow.Json;
using Sparrow.Json.Parsing;
namespace Raven.Server.ServerWide.Commands
{
public abstract class UpdateValueCommand<T> : CommandBase
{
public string Name;
public T Value;
public override DynamicJsonValue ToJson(JsonOperationContext context)
{
... |
GeoJSON.NetCore/Geometry/GeometryCollection.cs | joar28/GeoJSON.NetCore | 6 | 7070011 | <gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="GeometryCollection.cs" company="<NAME>">
// Copyright © <NAME> 2014
// </copyright>
// <summary>
// Defines the <see cref="http://geojson.org/geojson-spec.html#... |
QoiSharp/qoiconv.cs | scwmake/qoisharp | 4 | 7070012 | using StbImageWriteSharp;
namespace QoiSharp
{
public class Program
{
public static void Main(string[] args)
{
Qoi.Qoi qoi = new Qoi.Qoi();
for (int i = 0; i < args.Length; i++)
{
if (args[i] == "-help")
{
... |
Assets/Scripts/MeshToObj.cs | Master-Xue/UnityEditorTools | 3 | 7070013 | <filename>Assets/Scripts/MeshToObj.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using UnityEditor;
using UnityEngine;
public class MeshToObj
{
public static void ToObj(MeshFilter mf)
{
Mesh meshGo = mf.mesh;
string datPath = ... |
MonopolyPreUnity/Components/SystemRequest/PlayerInput/Property/StartAuction.cs | BardiTheWeird/MonopolyPreUnity | 1 | 7070016 | <reponame>BardiTheWeird/MonopolyPreUnity<filename>MonopolyPreUnity/Components/SystemRequest/PlayerInput/Property/StartAuction.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace MonopolyPreUnity.Components.SystemRequest.PlayerInput.Property
{
class StartAuction : IEntityComponent
{... |
tests/Tests.Jeebs/Functions/UriF/IsHttps_Tests.cs | bencgreen/jeebs | 3 | 7070017 | <filename>tests/Tests.Jeebs/Functions/UriF/IsHttps_Tests.cs<gh_stars>1-10
// Jeebs Unit Tests
// Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013
using Xunit;
namespace F.UriF_Tests
{
public class IsHttps_Tests
{
[Theory]
[InlineData(null, true)]
[InlineData(null, false)]
[InlineData("", t... |
CSharp/Core/IConnection.cs | jazd/Business | 6 | 7070019 | <reponame>jazd/Business
using System;
namespace Business.Core
{
public interface IConnection : IDisposable
{
void Open();
void Close();
IDisposable BeginTransaction(System.Data.IsolationLevel isolation);
void Commit();
void Rollback();
}
}
|
DRV3/GenericTextFormat.cs | Liquid-S/DRV3-STX-TOOL | 1 | 7070020 | <filename>DRV3/GenericTextFormat.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace DRV3
{
public class GenericTextFormat
{
/// <summary>
/// Translated sentences.
/// </summary>
protected List<string> sentences;
protected L... |
UltimaOnline/Targeting/TargetFlags.cs | netcode-gamer/game.ultimaonline.io | 0 | 7070021 | using System;
namespace UltimaOnline.Targeting
{
public enum TargetFlags : byte
{
None = 0x00,
Harmful = 0x01,
Beneficial = 0x02,
}
} |
Bcss.Reference.Data/IWeatherForecastWriter.cs | BlacKCaT27/DotNetCoreReference | 1 | 7070022 | <reponame>BlacKCaT27/DotNetCoreReference
using System.Threading.Tasks;
namespace Bcss.Reference.Data
{
public interface IWeatherForecastWriter
{
Task<WeatherForecastData> CreateWeatherForecast(LocationData location, string date, string summary,
decimal temperatureC);
Task<WeatherF... |
_no_namespace/PartyBase.cs | SinsofSloth/RF5-global-metadata | 1 | 7070023 | public abstract class PartyBase // TypeDefIndex: 6318
{
// Fields
[CompilerGeneratedAttribute] // RVA: 0x15C120 Offset: 0x15C221 VA: 0x15C120
private PartyData <Data>k__BackingField; // 0x10
// Properties
public PartyData Data { get; set; }
public int PartyNo { get; }
public ActorID ActorId { get; set; }
publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.