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 |
|---|---|---|---|---|
Robot/Geometry/Vector.cs | MartonBot/toy-robot-challenge | 0 | 7048116 | using System;
namespace Robot.Geometry
{
public class Vector
{
public static readonly Vector NORTH = new Vector(0, 1);
public static readonly Vector SOUTH = new Vector(0, -1);
public static readonly Vector EAST = new Vector(1, 0);
public static readonly Vector WEST = new Vector... |
ReportObjects/ConfigurationAPM/CustomExitRule.cs | afterthislevel/AppDynamics.DEXTER | 76 | 7048117 | using System;
namespace AppDynamics.Dexter.ReportObjects
{
public class CustomExitRule : ConfigurationEntityBase
{
public string AgentType { get; set; }
public string ExitType { get; set; }
public string RuleName { get; set; }
[FieldComparison(FieldComparisonType.ValueCompariso... |
OneEchan.UWP/View/MainPage.xaml.cs | Tlaster/OneEchan | 51 | 7048118 | <filename>OneEchan.UWP/View/MainPage.xaml.cs
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using OneEchan.ViewModel;
using OneEchan.View;
using OneEchan.Core.Models;
//“空白页”项模板在 http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 上有介绍
namespa... |
SOM.BDD/Features/UsoEReporte/Cue-Sheet/5.2.17 - Reabrir cue-sheet.feature.cs | RodrigoINM/SOM | 0 | 7048119 | <reponame>RodrigoINM/SOM
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:2.4.0.0
// SpecFlow Generator Version:2.4.0.0
//
// Changes to this file may ... |
Portfolio-UI/Data/Data.Model/Data.Model/DividendeModels/DividendeModel.cs | Maersmann/Portfolio-UI | 0 | 7048120 | using Aktien.Data.Types.DividendenTypes;
using Aktien.Data.Types.WertpapierTypes;
using System;
using System.Collections.Generic;
using System.Text;
namespace Data.Model.DividendeModels
{
public class DividendeModel
{
public int ID { get; set; }
public int WertpapierID { get; set; }
pu... |
Source/Publisher/DispatchInterfaces/TextStyles.cs | igoreksiz/NetOffice | 0 | 7048121 | <filename>Source/Publisher/DispatchInterfaces/TextStyles.cs
using System.Collections;
using System.Collections.Generic;
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.CollectionsGeneric;
namespace NetOffice.PublisherApi
{
/// <summary>
/// Dis... |
Content.Server/AI/Operators/Nutrition/UseDrinkInInventoryOperator.cs | arcadia-station/space-station-14 | 21 | 7048122 | <reponame>arcadia-station/space-station-14
using Content.Server.Hands.Components;
using Content.Server.Nutrition.Components;
using Content.Server.Nutrition.EntitySystems;
using Content.Shared.Hands.EntitySystems;
using Robust.Shared.Random;
namespace Content.Server.AI.Operators.Nutrition
{
public sealed class UseD... |
GTD/ViewModels/TreinoSemanaViewModel.cs | er-jpg/Guaxinim-Treinos-e-Dietas | 0 | 7048123 | using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace GTD.ViewModels
{
public class TreinoSemanaViewModel
{
[Required(ErrorMessage = "É obrigatório a seleção de u... |
DexterityDictionary/Dictionary.cs | OpenDexterity/DictionaryApi-CS | 1 | 7048124 | <filename>DexterityDictionary/Dictionary.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace OpenDexterity.DictionaryApi {
public class Dictionary {
#region Dictionary Components
/// <summary>
/// Dictionary file's signature; the ... |
Source/KyGunCo.Counterpoint.Sdk/Entities/RsRegistration.cs | kygunco/KyGunCo.Counterpoint | 0 | 7048125 | <reponame>kygunco/KyGunCo.Counterpoint
// <auto-generated>
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace KyGunCo.Counterpoint.Sdk.Entities
{
// RS_REGISTRATION
public class RsRegistration
{
public int RegistrationId { get; set; } //... |
Monkey.Parser/Precedences.cs | bpiec/monkeylang_csharp | 1 | 7048126 | namespace Monkey.Parser
{
public enum Precedences
{
_ = 0,
LOWEST,
EQUALS, // ==
LESSGREATER, // > or <
SUM, // +
PRODUCT, // *
PREFIX, // -X or !X
CALL, // myFunction(X)
INDEX // array[index]
}
} |
src/HuaweiCloud.API.SDK/Table/Models/OcrTableResponse.cs | kinglionsoft/HuaweiCloud.API.SDK | 0 | 7048127 | <gh_stars>0
#pragma warning disable 8618
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace HuaweiCloud.API.SDK.Models
{
public class OcrTableResponse
{
[JsonPropertyName("words_region_count")]
public int WordsRegionCount { get; set; }
[JsonPropertyName... |
LeetCode/915-PartitionArrayIntoDisjointIntervals/Solution.cs | kodoftw/LeetCode | 0 | 7048128 | using System;
namespace _915_PartitionArrayIntoDisjointIntervals
{
internal class Solution
{
public int PartitionDisjoint(int[] A)
{
int index = 0;
int leftMax = A[0];
int max = A[0];
for (int i = 1; i < A.Length; i++)
{
... |
SaveSaviours/Controllers/VolunteerController.cs | save-saviours-org/save-saviours | 2 | 7048129 | <reponame>save-saviours-org/save-saviours<filename>SaveSaviours/Controllers/VolunteerController.cs
namespace SaveSaviours.Controllers {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Data;
using Entities;
using Microsoft.AspNetCore.Aut... |
Data/DbAccess/IDBManager.cs | FoundationIO/Framework | 1 | 7048131 | <reponame>FoundationIO/Framework
/**
Copyright (c) 2016 Foundation.IO (https://github.com/foundationio). All rights reserved.
This work is licensed under the terms of the BSD license.
For a copy, see <https://opensource.org/licenses/BSD-3-Clause>.
**/
using System;
using System.Collections.Generic;
using System.Linq;... |
EntityFrameworkCore.BootKit/DbContexts/DbContext4MongoDb.cs | Haiping-Chen/EntityFrameworkCore.BootKit | 0 | 7048132 | using Microsoft.EntityFrameworkCore;
using MongoDB.Bson.Serialization.Conventions;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace EntityFrameworkCore.BootKit
{
public class DbContext4MongoDb : DataContext
... |
DSharpPlus.SlashCommands/DiscordSlashConfiguration.cs | Kaharonus/DSharpPlus.SlashCommands | 14 | 7048133 | <filename>DSharpPlus.SlashCommands/DiscordSlashConfiguration.cs
using System;
using DSharpPlus.SlashCommands.Entities;
using DSharpPlus.SlashCommands.Entities.Builders;
using DSharpPlus.SlashCommands.Enums;
using Microsoft.Extensions.Logging;
namespace DSharpPlus.SlashCommands
{
public class DiscordSlashConfigur... |
source/AdventureWorks.Bikes/src/AdventureWorks.Bikes.API/ViewModels/StoreListViewModel.cs | pxgamer/ms-developer-immersion-data | 82 | 7048134 | <reponame>pxgamer/ms-developer-immersion-data
using AdventureWorks.Bikes.Infrastructure.CosmosDB.Model;
namespace AdventureWorks.Bikes.API.ViewModels
{
public class StoreListViewModel
{
public StoreListViewModel(DBStore store)
{
if (store != null)
{
Stor... |
NSoup.ConsoleApp/Program.cs | azrng/NSoup | 0 | 7048135 | <gh_stars>0
using System;
using System.IO;
namespace NSoup.ConsoleApp
{
internal class Program
{
private static void Main(string[] args)
{
var str = File.ReadAllText(@"D:\Test\ConsoleApp3\ConsoleApp3\index.html");
var nsoup = NSoupClient.Parse(str);
var html... |
Interfaces/eCacheLevels.cs | GeorgeTsaplin/DalCore | 0 | 7048136 | using System;
namespace Itb.DalCore {
/// <summary> Cache levels
/// </summary>
[Flags]
public enum CacheLevels : byte {
/// <summary> without cache
/// </summary>
None=0,
/// <summary> ORM cache кэш уровня ORM
/// </summary>
ORM=1,
/// <summary> business logic cache
/// </summary>
BusinessLayer... |
snippets/csharp/VS_Snippets_Wpf/NSGetNavigationServiceSnippets/CSharp/ContentUserControl.xaml.cs | cston/dotnet-api-docs | 2 | 7048137 | <filename>snippets/csharp/VS_Snippets_Wpf/NSGetNavigationServiceSnippets/CSharp/ContentUserControl.xaml.cs
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
namespace CSharp
{
/// <summary>
/// Interaction logic for ContentUserControl.xaml
/// </summary>
... |
CoinBazaar.Infrastructure/EventBus/IEventStoreDbClient.cs | cgunaydin/CoinBazaar-1 | 3 | 7048138 | namespace CoinBazaar.Infrastructure.EventBus
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IEventStoreDbClient
{
Task<(long Version, IEnumerable<IEvent> Events)> ReadEventsAsync(string streamName, Guid aggregateId);
Task AppendEve... |
Modix.Services/Images/ColorQuantization/OctreeNode.cs | spixy/MODiX | 124 | 7048139 | <filename>Modix.Services/Images/ColorQuantization/OctreeNode.cs
namespace Modix.Services.Images.ColorQuantization
{
public sealed class OctreeNode
{
public int ReferenceCount { get; set; }
public int RCount { get; set; }
public int GCount { get; set; }
public int BCount { get... |
Assets/UGRuntime/Res/ResManager_HotUpdate.cs | Lu-Kye/UGFramework | 16 | 7048140 | <reponame>Lu-Kye/UGFramework
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UGFramework.Utility;
using UGFramework.Log;
namespace UGFramework.Res
{
public partial class ResManager
{
public bool EnableHotUpdate = true;
void In... |
Thundire.MVVM.WPF/PagesNavigator/Navigator.cs | Thundire/ProjectMVVM | 0 | 7048141 | using System.Collections.Generic;
using System.Windows.Navigation;
using Thundire.MVVM.WPF.Abstractions.PagesNavigator;
namespace Thundire.MVVM.WPF.PagesNavigator
{
public class Navigator : INavigator, INavigationHandler
{
private readonly IPagesContainer _container;
private NavigationService?... |
Assets/script/Dialogos/DialogueManager.cs | Bytobbyla/VIDEOJUEGOS | 0 | 7048142 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DialogueManager : MonoBehaviour
{
public Text nameText;
public Text dialogueText;
[SerializeField] public Image dialogueImage;
public Animator animator;
public Queu... |
ViewModel/AlternativeComparisonReport/Results/EADSummaryRowItem.cs | HydrologicEngineeringCenter/HEC-FDA | 2 | 7048143 | namespace ViewModel.AlternativeComparisonReport.Results
{
public class EADSummaryRowItem
{
public double WithoutProjAlternative { get; set; }
public double WithoutProjEAD { get; set; }
public double WithProjAlternative { get; set; }
public double WithProjEAD { get; set; }
... |
WWW/Views/Home/Index.cshtml | chunfz/AiursoftOnContainers | 1 | 7048144 | <filename>WWW/Views/Home/Index.cshtml
@{
ViewData["Title"] = "Home";
}
<header class="masthead text-white text-center">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-xl-9 mx-auto">
<h1 class="mb-5">Build a landing page for your ... |
Projects/LeakBlocker.AdminView.Desktop/Controls/Common/ToolWindow.cs | imanushin/leak-blocker | 0 | 7048145 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using LeakBlocker.Libraries.Common;
using LeakBlocker.Libraries.Common.Resources;
namespace LeakBlocker.AdminView.Desktop.Controls.Common
{
internal enum Siz... |
CSharpJExcel/CSharpJExcel/CSharpJExcel/Jxl/Biff/Drawing/BlipType.cs | Tatetaylor/kbplumbapp | 0 | 7048146 | <filename>CSharpJExcel/CSharpJExcel/CSharpJExcel/Jxl/Biff/Drawing/BlipType.cs
/*********************************************************************
*
* Copyright (C) 2003 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License... |
Nager.AmazonEc2.UnitTest/PasswordCheckTest.cs | tinohager/Nager.AmazonEc2 | 0 | 7048147 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nager.AmazonEc2.InstallScript;
namespace Nager.AmazonEc2.UnitTest
{
[TestClass]
public class PasswordCheckTest
{
[TestMethod]
public void CheckPassword()
{
var installScript = new WindowsInstallScript();
... |
src/CheckoutSdk/Instruments/InstrumentCustomerRequest.cs | oferns/checkout-sdk-net | 13 | 7048148 | using Checkout.Common;
namespace Checkout.Instruments
{
public class InstrumentCustomerRequest : CustomerRequest
{
public bool Default { get; set; }
public Phone Phone { get; set; }
}
} |
src/LionFire.Execution.Context/Execution/Transports/IExecutionTransport.cs | jaredthirsk/LionFire.Core | 0 | 7048149 | <reponame>jaredthirsk/LionFire.Core<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LionFire.Execution.Transports
{
// Use LionRpc?? (and web api / netmq / reliable udp / ssh / dropbox )
public interface IExecutionTransport
{
}
}
|
Trie.Tests/Trie/Base.cs | mainframebot/csharp-datastructures-trie | 0 | 7048150 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Trie.Tests.Trie
{
[TestFixture]
public class Base
{
[Test]
public void Testing()
{
var trie = new Trie<int... |
src/os/Kernel.cs | ancientproject/OS | 0 | 7048151 | namespace IotHub
{
using System;
using Cosmos.System.FileSystem;
using static System.Console;
public class Kernel : Cosmos.System.Kernel
{
private State state;
private Bus bus;
protected override void BeforeRun()
{
bus = new Bus(this);
state... |
src/WebServer/Attributes/FromContentAttribute.cs | bbSkygazer/IotWebServer | 136 | 7048152 | using System;
namespace Restup.Webserver.Attributes
{
/// <summary>
/// This class is only used as a marker
/// </summary>
[System.AttributeUsage(AttributeTargets.Parameter, Inherited = false, AllowMultiple = false)]
public sealed class FromContentAttribute : Attribute
{
}
}
|
Assets/Scripts/handmenu.cs | katsuwo/HoloAirSpaceVisualizer | 0 | 7048153 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class handmenu : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void EraseCube() {... |
02. Simple Calculations/08. Triangle Area/StartUp.cs | thelad43/Programming-Basics-SoftUni | 0 | 7048154 | namespace _08.Triangle_Area
{
using System;
public class StartUp
{
public static void Main()
{
var side = double.Parse(Console.ReadLine());
var height = double.Parse(Console.ReadLine());
Console.WriteLine("{0:F2}", side * height / 2);
}
}
}
|
Scriptable Framework/Assets/Scriptable Framework/API/RuntimeObjects/Runtime Lists/RuntimeList.cs | armanayraHOU/Scriptable-Framework | 62 | 7048155 | <reponame>armanayraHOU/Scriptable-Framework
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ScriptableFramework
{
/// <summary>
/// An abstract generic RuntimeObject which encapsulates the List class.
/// Inherit from this class to create your own Run... |
Presentation/Panes/Viewer/IViewerPaneViewModel.cs | dataexplorer/dataexplorer | 29 | 7048156 | <filename>Presentation/Panes/Viewer/IViewerPaneViewModel.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Presentation.Views.ScatterPlots;
namespace DataExplorer.Presentation.Panes.Viewer
{
public interface IV... |
test/Utility/TestServiceWithLogger.cs | kenswan/BlazorFocused | 1 | 7048157 | using Microsoft.Extensions.Logging;
namespace BlazorFocused.Utility
{
public class TestServiceWithLogger
{
private readonly ILogger<TestServiceWithLogger> logger;
public TestServiceWithLogger(ILogger<TestServiceWithLogger> logger)
{
this.logger = logger;
}
... |
Src/Core/Mackiloha/Milo/Types/Mat.cs | ihatecompvir/Mackiloha | 7 | 7048158 | <filename>Src/Core/Mackiloha/Milo/Types/Mat.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Mackiloha.Milo
{
public class Mat : AbstractEntry
{
public Mat(string name, bool bigEndian = true) : base(name, ... |
App/SysExtensions/Threading/BlockExtensions.cs | pendulumfn/Recfluence | 77 | 7048159 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Dataflow;
using Humanizer;
using SysExtensions.Collections;
using SysExtensions.Text;
u... |
CSharpMath.Utils/TypographyTest/_Statics.cs | truthiswill/CSharpMath | 1 | 7048160 | <gh_stars>1-10
using System.Linq;
namespace CSharpMath.DevUtils.TypographyTest {
static class _Statics {
public static Typography.TextLayout.GlyphLayout GlyphLayout => new Typography.TextLayout.GlyphLayout() {
Typeface = new Typography.OpenFont.OpenFontReader().Read(new System.IO.FileStream(System.IO.Direc... |
src/JT905.Protocol/Interfaces/IJT905_0x8103_Factory.cs | SmallChi/JT905 | 3 | 7048161 | using JT905.Protocol.MessageBody;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
namespace JT905.Protocol.Interfaces
{
/// <summary>
/// 设置终端参数消息工厂
/// </summary>
public interface IJT905_0x8103_Factory: IJT905ExternalRegister
{
/// <... |
Program.cs | Orchestrate-Cloud-Storage/Agile-Csharp-Lib | 1 | 7048162 | <reponame>Orchestrate-Cloud-Storage/Agile-Csharp-Lib
#region Imports
using System;
using System.Collections;
using System.Net;
using Jayrock;
using AgileAPI;
using Jayrock.Json;
#endregion
/*
* This program is a demo tool to show how to use the API
* It should not be used for production.
*
*/
in... |
Source/Lighting/Dynamic/DynamicLightPlayerMonitor.cs | harroo/Qublock | 0 | 7048164 |
using UnityEngine;
using Qublock.Core;
using Qublock.Data.Blocks;
using Qublock.Data.Storage.Structures;
using Qublock.FloatingOrigin;
public class DynamicLightPlayerMonitor : MonoBehaviour {
private static DynamicLightPlayerMonitor instance;
private void Awake () { instance = this; }
public float scan... |
Assets/Sc/PickUp.cs | Lukasy14/2D-Roguelike-game | 0 | 7048165 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PickUp : MonoBehaviour
{
public Rigidbody2D rb;
public GameObject weapon;
public Transform father;
private Collider2D coll;
public bool enter = false;
private void Start()
{
rb = GetComp... |
unity-projects/exp-launcher/Assets/Scripts/Managers/TimeManager.cs | FlorianLance/exvr | 0 | 7048166 | <gh_stars>0
/***********************************************************************************
** exvr-exp **
** MIT License **
** Copyright (c) [2018] [<NAME>][EPFL-LNCO] ... |
GameDatabase.Data/Repositories/UserApiRepository.cs | KonstantinKostenski/GamesDatabase | 0 | 7048168 | using GamesDatabaseBusinessLogic.Interfaces;
using GamesDatabaseBusinessLogic.Models;
using Microsoft.EntityFrameworkCore;
using System.Threading.Tasks;
namespace GameDatabase.Data.Repositories
{
public class UserApiRepository : EfRepository<UserApi>, IUserApiRepository
{
public UserApiRepository(Game... |
src/OrchardCore.Modules/OrchardCore.Deployment/ViewModels/CustomFileDeploymentStepViewModel.cs | Kavli-Kaffel/OrchardCore | 0 | 7048169 | namespace OrchardCore.Deployment.ViewModels
{
public class CustomFileDeploymentStepViewModel
{
public string FileName { get; set; }
public string FileContent { get; set; }
public string RecipeName { get; set; }
public string DisplayName { get; set; }
public string Descrip... |
src/Keeg.SharpCollectionsLib/Collections/Trees/Common/KeyedBinaryNode.cs | namralkeeg/SharpCollectionsLib | 0 | 7048170 | namespace Keeg.SharpCollectionsLib.Collections.Trees.Common
{
/// <summary>
/// An abstract binary node class with a key.
/// </summary>
/// <typeparam name="TClass">
/// The class type of the class deriving from this abstract base class to support circular
/// generic references.
/// </typ... |
Source/Wrappers/mscorlib/System.Threading.ParameterizedThreadStart.cs | RixianOpenTech/RxWrappers | 0 | 7048171 | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Threading
{
public static class __ParameterizedThreadStart
{
public static IObservable<System.Reactive.Unit> Invoke(
this IObservable<System.Thr... |
Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/PrimitiveExtensions.cs | dwango/UniVRM | 318 | 7048172 | <reponame>dwango/UniVRM<gh_stars>100-1000
using System;
using Unity.Collections;
using UnityEngine;
namespace UniGLTF
{
internal static class PrimitiveExtensions
{
public static bool HasNormal(this glTFPrimitives primitives) => primitives.attributes.NORMAL != -1;
public static bool HasTexCoord0... |
careeracademyapp/Objective/sheet_designer.Designer.cs | manharsharma007/OMR | 9 | 7048173 | namespace omrapplication
{
partial class sheet_designer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
Celeste.Mod.mm/Patches/OuiFileNaming.cs | EuniverseCat/Everest | 1 | 7048174 | #pragma warning disable CS0626 // Method, operator, or accessor is marked external and has no attributes on it
using Celeste.Mod;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Monocle;
using MonoMod;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Lin... |
Assets/Scripts/UI/Manager/LoginManager.cs | NoScopeProductions/Gravi-Cube | 1 | 7048175 | using System.Collections;
using JetBrains.Annotations;
using UnityEngine;
using UnityEngine.UI;
using Parse;
namespace UI.Manager
{
[UsedImplicitly]
public class LoginManager : MonoBehaviour
{
[SerializeField, UsedImplicitly]
private InputField _email;
[SerializeField, UsedImplic... |
Rinjani/ConfigRoot.cs | bitrinjani/rinjani | 59 | 7048176 | <filename>Rinjani/ConfigRoot.cs
using System.Collections.Generic;
namespace Rinjani
{
public class ConfigRoot
{
public bool DemoMode { get; set; }
public int PriceMergeSize { get; set; } = 10;
public decimal MaxSize { get; set; }
public decimal MinSize { get; set; }
pub... |
Pilot.Web/Model/Search/QueryBuilder/Fields/FieldBase.cs | Rubius/Pilot.Web | 4 | 7048177 | using System;
using System.Text.RegularExpressions;
namespace Pilot.Web.Model.Search.QueryBuilder.Fields
{
public abstract class FieldBase : MarshalByRefObject
{
protected readonly string _fieldName;
internal FieldBase(string fieldName)
{
_fieldName = EscapeFieldName(field... |
KTPack23/Config.skip.cs | kingtomato/tribes.scripts | 3 | 7048178 | <reponame>kingtomato/tribes.scripts
// ----------------------------------------------------------------------------
// KingTomato Script
// ----------------------------------------------------------------------------
$Script::Creator = "KingTomato";
$Script::Version = "0.01";
$Script::Description = "My attempt at maki... |
AuthorizationServer/Models/UserResponse.cs | andriusv/authServer | 0 | 7048179 | using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AuthorizationServer.Models
{
public class UserResponse
{
public bool Succeeded { get; set; }
public IdentityResult Result { get; set; }
public... |
Concord/MessageQueue.cs | markfrancisonly/concord2mqtt | 2 | 7048180 | namespace Automation.Concord
{
internal class MessageQueue : BlockingDeque<OutboundMessageRequest>
{
public MessageQueue(int exponent)
: base(exponent, false)
{ }
public bool Contains(Message message)
{
lock (syncRoot)
{
strin... |
OpaqueMail/Attachment.cs | bertjohnson/OpaqueMail | 76 | 7048181 | <reponame>bertjohnson/OpaqueMail
/*
* OpaqueMail (https://opaquemail.org/).
*
* Licensed according to the MIT License (http://mit-license.org/).
*
* Copyright © <NAME> (https://bertjohnson.com/) of Allcloud Inc. (https://allcloud.com/).
*
* Permission is hereby granted, free of charge, to any person obtainin... |
src/MockSchoolManagement/ViewModels/RoleCreateViewModel.cs | guilinhd/52Abp | 0 | 7048182 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace MockSchoolManagement.ViewModels
{
public class RoleCreateViewModel
{
[Required]
[Display(Name = "角色名称")]
public string Nam... |
C#FundamentalsModule/5.Lists/Lists-Lab/ListManipulationBasics/Program.cs | IvanIvTodorov/SoftUniEducation | 0 | 7048183 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace ListManipulationBasics
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
List<int> myList = input
.Split()
.Sel... |
Assets/Rokoko/Studio/Scripts/SmartsuitSyncWithHMD.cs | RokokoElectronics/rokoko-studio-unity-vp-sample-project | 6 | 7048184 | <filename>Assets/Rokoko/Studio/Scripts/SmartsuitSyncWithHMD.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Rokoko.Smartsuit;
/// <summary>
/// This component is making it easier to combine a Smartsuit with a HMD.
/// </summary>
public class SmartsuitSyncWithHMD : MonoB... |
learn-c-sharp/learn-crawl/Utils/Request.cs | SoSmoothy/learn-c-sharp | 0 | 7048185 | using System;
using System.Net.Http;
using System.Threading.Tasks;
using learn_crawl.Model;
using Newtonsoft.Json;
namespace learn_crawl.Utils
{
public class Request
{
public static async Task<Covid> GetInfoCovid()
{
string baseUrl = "https://static.pipezero.com/covid/data.json";
... |
src/Satrabel.OpenApp.Application/Localizations/Dto/LanguageDto.cs | robsiera/OpenApp | 5 | 7048186 | <filename>src/Satrabel.OpenApp.Application/Localizations/Dto/LanguageDto.cs
using Abp.AutoMapper;
using Abp.Localization;
namespace Satrabel.OpenApp.Localizations.Dto
{
[AutoMapFrom(typeof(ApplicationLanguage))]
public class LanguageDto
{
public string Name { get; set; }
public string Disp... |
PersistenceTester/CSF.PersistenceTester.Core/Builder/PersistenceTestBuilder.cs | csf-dev/CSF.ORM | 0 | 7048187 | <gh_stars>0
using System;
using CSF.ORM;
namespace CSF.PersistenceTester.Builder
{
/// <summary>
/// A builder which sets up the early stages of the test, up util the point at
/// which the entity to save is chosen.
/// </summary>
public class PersistenceTestBuilder : IChoosesEntityWithOptionalSet... |
Plugin.Sensors/Platforms/Uwp/MotionActivityImpl.cs | aritchie/sensors | 44 | 7048188 | <reponame>aritchie/sensors
//using System;
//using System.Reactive.Linq;
//namespace Plugin.Sensors
//{
// public class MotionActivityImpl : IMotionActivity
// {
// public bool IsSupported => false;
// public IObservable<MotionActivityEvent> WhenActivityChanged()
// => Observable.Empty... |
Demo1/Sources/Demo1/Views/User/Index.cshtml | thomasbruggink/isks | 0 | 7048189 | <reponame>thomasbruggink/isks
<div class="row">
<div class="col-md-6 bg-1 profile-box">
<h3>Login</h3>
<form class="form-inline" action="/User/Login" method="post">
<div class="row input-field">
<label class="col-md-offset-4 col-md-2 form-label">Username</label>
... |
Compo-Request-Server/Network/Events/Team/ETeam.cs | Shark-vil/Compo-Request | 0 | 7048190 | using Compo_Request_Server.Network.Database;
using Compo_Request_Server.Network.Models;
using Compo_Request_Server.Network.Server;
using Compo_Request_Server.Network.Utilities;
using Compo_Shared_Data.Debugging;
using Compo_Shared_Data.Network;
using Compo_Shared_Data.Network.Models;
using Microsoft.EntityFrameworkCor... |
Assets/Source/Generated/SoundComponentGeneratedExtension.cs | kicholen/GamePrototype | 0 | 7048192 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGenerator.ComponentsGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------... |
hilleman-core/src/domain/VAFacilityTable.cs | joel-bitscopic/hilleman-core | 0 | 7048193 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace com.bitscopic.hilleman.core.domain
{
[Serializable]
public class VAFacilityTable : FacilityTable
{
public VAFacilityTable() : base() { }
public new List<VAFacility> facilities;
... |
WoWDatabaseEditor.Common/WDE.TrinityMySqlDatabase/Models/TrinityDatabase.cs | subsix-wow/WoWDatabaseEditor | 1 | 7048194 | <gh_stars>1-10
using LinqToDB;
using LinqToDB.Data;
using WDE.Common.Database;
using WDE.MySqlDatabaseCommon.CommonModels;
namespace WDE.TrinityMySqlDatabase.Models
{
public class TrinityDatabase : DataConnection
{
private readonly bool alternateNames;
public TrinityDatabase(bool alternateNam... |
DXInfo.Web.Mvc.4/Trirand.Web.Mvc/NumberFormatter.cs | zhenghua75/DXInfo | 1 | 7048197 | <filename>DXInfo.Web.Mvc.4/Trirand.Web.Mvc/NumberFormatter.cs
using System;
namespace Trirand.Web.Mvc
{
public class NumberFormatter : JQGridColumnFormatter
{
public string ThousandsSeparator
{
get;
set;
}
public string DefaultValue
{
get;
set;
}
public string DecimalSeparator
{
get;
... |
Assets/DeltaDNA/Editor/EventsManager/EventsManagerEnvironmentProvider.cs | deltaDNA/tutorial-image-messages | 46 | 7048198 | <gh_stars>10-100
using System;
using System.Diagnostics;
using UnityEditor;
namespace DeltaDNA
{
[Serializable]
public class Environment
{
public int id;
public string game;
public string name;
}
[Serializable]
public class EnvironmentWrapper
{
public Enviro... |
PicEditor/MainWindow.xaml.cs | DissOnAnswerDissonans/AeonWEB | 0 | 7048199 | <reponame>DissOnAnswerDissonans/AeonWEB<gh_stars>0
using System;
using System.Text;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Shapes;
namespace PicEditor
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindo... |
src/Nuxleus.Mvc.WebApp/App_Start/AppHost.cs | mdavid/nuxleus | 1 | 7048200 | using System;
using System.Collections.Generic;
using System.Web.Mvc;
using ServiceStack.CacheAccess;
using ServiceStack.CacheAccess.Providers;
using ServiceStack.Common.Web;
using ServiceStack.Configuration;
using ServiceStack.FluentValidation;
using ServiceStack.MiniProfiler;
using ServiceStack.MiniProfiler.... |
Spotify.NetStandard/Spotify.NetStandard/Client/Exceptions/AuthTokenRequiredException.cs | RoguePlanetoid/Spotify-NetStandard | 20 | 7048201 | namespace Spotify.NetStandard.Client.Exceptions
{
/// <summary>
/// Auth Token Expired or Required Error
/// </summary>
public class AuthTokenRequiredException : AuthException { }
/// <summary>
/// Auth User Token Expired or Required Error
/// </summary>
public class AuthUserTokenRequi... |
OY.Solution/OY.TopSdk/Response/TradeFullinfoGetResponse.cs | objectyan/MyTools | 0 | 7048202 | <gh_stars>0
using System;
using System.Xml.Serialization;
using Top.Api.Domain;
namespace Top.Api.Response
{
/// <summary>
/// TradeFullinfoGetResponse.
/// </summary>
public class TradeFullinfoGetResponse : TopResponse
{
/// <summary>
/// 搜索到的交易信息列表,返回的Trade和Order中包含的具体信息为入参fields请... |
DragonSpark.Testing.Objects/CountingDisposable.cs | DragonSpark/Framework | 10 | 7048203 | using DragonSpark.Compose;
using DragonSpark.Model.Results;
using DragonSpark.Runtime;
using DragonSpark.Runtime.Execution;
namespace DragonSpark.Testing.Objects;
public sealed class CountingDisposable : Disposable, IResult<int>
{
readonly ICounter _counter;
public CountingDisposable() : this(new Counter()) {}
... |
app/SimpleParser/iSukces.Parsers.Tests/StringNoSpaceTokenizerTest.cs | isukces/SimpleParsert | 0 | 7048204 | using iSukces.Parsers.TokenParsers;
using Xunit;
using Xunit.Abstractions;
namespace SimpleParser.Tests
{
public class StringNoSpaceTokenizerTest
{
public StringNoSpaceTokenizerTest(ITestOutputHelper testOutputHelper)
{
_testOutputHelper = testOutputHelper;
}
[Theo... |
CSHotFix_ILRuntimeSimpleFramework/Assets/CSHotFixLibaray/Editor/Injector/MonoCecil/Mono.Cecil/ISecurityDeclarationProvider.cs | ErQing/cshotfix | 540 | 7048205 | <filename>CSHotFix_ILRuntimeSimpleFramework/Assets/CSHotFixLibaray/Editor/Injector/MonoCecil/Mono.Cecil/ISecurityDeclarationProvider.cs
using Editor_Mono.Collections.Generic;
using System;
namespace Editor_Mono.Cecil
{
public interface ISecurityDeclarationProvider : IMetadataTokenProvider
{
bool HasSecurityDeclarat... |
Blank/Assets/Scripts/PUZZLES/ResolvePuzzles.cs | MuriloChayel/ProjetoBlank | 1 | 7048206 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Experimental.Rendering.Universal;
public class ResolvePuzzles : MonoBehaviour
{
public static ResolvePuzzles Instance { get; private set; }
[Header("Level Properties")]
public FuncBoxArea ... |
BlazorWASMHosted_CRUD_B2C.Client/Services/API.cs | dahln/BlazorWASMHosted_CRUD_B2C | 0 | 7048207 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
using Microsoft.AspNetCore.Components;
using BlazorWASMHosted_CRUD_B2C.Common;
using Blazor... |
VectorBasedDrawing/VectorBasedDrawing/src/ApplicationCore/Entities/Shape.cs | kdbalabanov/csharp-oo-exercise-console-application | 0 | 7048208 | <gh_stars>0
using System;
using System.Linq;
using System.Reflection;
namespace VectorBasedDrawing.src.ApplicationCore.Entities
{
public abstract class Shape : Widget
{
private int _x;
private int _y;
public Shape(int x, int y)
{
X = x;
Y = y;
}... |
src/core-taggeds-union/TaggedUnion/TaggedUnion.T/Inner/TaggedUnion.T.InnerOn.Unit.cs | andreigit/PrimeFuncPack | 5 | 7048209 | using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace System;
partial struct TaggedUnion<TFirst, TSecond>
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private TaggedUnion<TFirst, TSecond> InnerOn(
Func<TFirst, Unit> onFirst,
Func<TSecond, Unit> onSecond)
{... |
Pour.Client.Library/LogManager.cs | mertemin/pour-dotnet | 1 | 7048210 | using System;
using System.Collections.Concurrent;
using System.IO;
using System.Net;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Pour.Client.Library
{
/// <summary>
/// Manages log operations.
/// </summary>
public static class LogManager
{
... |
Saz2Har/SazToHarConverter.cs | paulomorgado/SAZ2HAR | 0 | 7048211 | using Ionic.Zip;
using System;
using System.Buffers;
using System.Buffers.Text;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Reflection;
using System.Runtime.ExceptionServices;
using System.Text;
us... |
test/Virtlink.Utilib.Tests/Collections/StacksTests.PeekOrDefaultTests.cs | Virtlink/utilib | 0 | 7048212 | using System;
using System.Collections.Generic;
using Xunit;
namespace Virtlink.Utilib.Collections
{
partial class StacksTests
{
/// <summary>
/// Tests the <see cref="Stacks.PeekOrDefault"/> method.
/// </summary>
public sealed class PeekOrDefaultTests
{
[F... |
src/AquaCalc5000/Parsers/VerticalObservation.cs | DougSchmidt-AI/aquacalc-5000-field-data-plugin | 0 | 7048214 | using System;
using System.Collections.Generic;
using System.Linq;
namespace AquaCalc5000.Parsers
{
public class VerticalObservation
{
public List<ObservationPoint> ObservationPoints { get; set; } = new List<ObservationPoint>();
//Same distance on all points:
public double Distance =>... |
ProductCatalog.Api/Controllers/BrandCatalogController.cs | jst4upiyush/restful-api | 1 | 7048215 | <reponame>jst4upiyush/restful-api
using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using ProductCatalog.Api.Infrastructure.Data;
using ProductCatalog.Api.Models;
using ProductCatalog.Api.Repositories;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ProductCat... |
src/SFA.DAS.AdminService.Web/Validators/RegisterEditOrganisationStandardViewModelValidator.cs | uk-gov-mirror/SkillsFundingAgency.das-admin-service | 0 | 7048216 | using System;
using System.Collections.Generic;
using FluentValidation;
using FluentValidation.Validators;
using SFA.DAS.AssessorService.Application.Api.Client.Clients;
using SFA.DAS.AdminService.Web.Helpers;
using SFA.DAS.AdminService.Web.ViewModels.Register;
using SFA.DAS.AdminService.Common.Validation;
namespace S... |
Assets/Scripts/DisableLoser.cs | kidneyweakx/MR-hackathon | 2 | 7048217 | <reponame>kidneyweakx/MR-hackathon
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DisableLoser : MonoBehaviour
{
public GameObject loser;
// Start is called before the first frame update
void Start()
{
Destroy(loser, 8);
}
}
|
.NETCore/ASP.NETCore/v5.0/AutoLot50/AutoLot.Services/Utilities/StringExtensions.cs | djoshi001Personal/presentations | 349 | 7048218 | // Copyright Information
// ==================================
// AutoLot - AutoLot.Services - StringExtensions.cs
// All samples copyright <NAME>
// http://www.skimedic.com 2020/12/13
// ==================================
using System;
namespace AutoLot.Services.Utilities
{
public static class StringExtensions
... |
Ensurity.IdentityProvider/Data/ApplicationDbContext.cs | EnsurityTechnologies/Ensurity.IdentityProvider | 0 | 7048219 | <reponame>EnsurityTechnologies/Ensurity.IdentityProvider
using Ensurity.MultiTenancyServer;
using Ensurity.MultiTenancyServer.EntityFramework;
using Ensurity.MultiTenancyServer.Options;
using IdentityServer4.EntityFramework.DbContexts;
using IdentityServer4.EntityFramework.Entities;
using IdentityServer4.EntityFramewo... |
Rafy/WPF/Rafy.WPF/Shell/WorkspaceWindow.cs | zgynhqf/trunk | 0 | 7048220 | <gh_stars>0
/*******************************************************
*
* 作者:胡庆访
* 创建时间:20121029 10:56
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 胡庆访 20121029 10:56
*
*******************************************************/
using System;
using System.Collections.G... |
Stockholm_Syndrome_Web/Pages/EveGuides/Delete.cshtml | DukaSoft/Stockholm_Syndrome | 0 | 7048221 | <reponame>DukaSoft/Stockholm_Syndrome
@page
@model Stockholm_Syndrome_Web.Pages.EveGuides.DeleteModel
<h2 class="text-center m-4">Are you sure you want to delete this?</h2>
<div class="container">
<div class="row mx-md-5 justify-content-md-center">
<div class="col-5 p-4 border-fancy">
<div class="form-group">
... |
MyFirstApp/myFirstApp/myFirstApp/ViewModels/LoginViewModel.cs | Fenglerboix/knowingWorld | 0 | 7048222 | <reponame>Fenglerboix/knowingWorld
namespace myFirstApp.ViewModels
{
using GalaSoft.MvvmLight.Command;
using System;
using System.ComponentModel;
using System.Windows.Input;
using Views;
using Xamarin.Forms;
public class LoginViewModel: BaseViewModel
{
#region Attributes
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.