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 |
|---|---|---|---|---|
Space Pioneers/Assets/Scripts/Set/ActionSnapshotRS.cs | EltonCN/Space-Pioneers | 2 | 7046027 | <filename>Space Pioneers/Assets/Scripts/Set/ActionSnapshotRS.cs<gh_stars>1-10
using UnityEngine;
[CreateAssetMenu(menuName ="Space Pioneers/Set/Action Snapshot Set")]
public class ActionSnapshotRS : RuntimeSet<ActionSnapshot>
{
float totalCost = 0f;
float lastTotalCost;
[Tooltip("Maximum player actions co... |
src/Sfa.Tl.Find.Provider.Api/Extensions/HttpClientExtensions.cs | SkillsFundingAgency/tl-find-provider-api | 0 | 7046028 | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Polly;
using Polly.Extensions.Http;
namespace Sfa.Tl.Find.Provider.Api.Extensions;
public static class HttpClientBuilderExtensions
{
public static IHttpClientBuilder AddRetryPolicyHandler<T>(this IHttpClientBu... |
week6_dynamic_programming2/3_maximum_value_of_an_arithmetic_expression/Testing.cs | sunsided/algorithmic-toolbox | 2 | 7046029 | <filename>week6_dynamic_programming2/3_maximum_value_of_an_arithmetic_expression/Testing.cs
using System.Collections.Generic;
using System.Diagnostics;
namespace Week6.ArithmeticExpression
{
internal static class Testing
{
[Conditional("TESTING")]
public static void Run()
{
... |
modules/platforms/dotnet/Apache.Ignite.AspNet/IgniteWebUtils.cs | geertjanw/ignite | 4,339 | 7046030 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
iOS/SampleBrowser/Samples/DataGrid/Styles/Dark.cs | Chansardrake/xamarin-demos | 0 | 7046031 | #region Copyright Syncfusion Inc. 2001-2020.
// Copyright Syncfusion Inc. 2001-2020. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... |
Hikari.Integration.Models/IORM.cs | agausachs/Hikari | 0 | 7046032 | <reponame>agausachs/Hikari
using System;
using System.Collections.Generic;
using System.Text;
namespace Hikari.Integration.Models
{
public interface IORM
{
/// <summary>
/// 数据查询
/// </summary>
/// <typeparam name="T">转换实体</typeparam>
/// <param name="sql">Sql</param... |
R6Sharp/Response/Statistic/GamemodeStatistic.cs | rachidoumjahde/R6Sharp | 1 | 7046033 | using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace R6Sharp.Response.Statistic
{
internal class GamemodeStatisticFetch
{
[JsonPropertyName("results")]
public Dictionary<string, GamemodeStatistic> GamemodeStatistics { get; set; }
}
public class GamemodeSta... |
AppData/Local/Temp/SpaceEngineers/478976062.sbm_AirlockRKR/SampleConfig.cs | Blue64/Space_Engineers | 0 | 7046034 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AirlockRKR
{
class SampleConfig
{
const String doors1 = "Tür1";
const String pressurized1 = "true";
const String vents1 = "";
const String s... |
GoogleSchoolProjectManager.Lib/GoogleAPI/Sheets/GSheetsManager.cs | Tatranskymedved/GoogleSchoolProjectManager | 0 | 7046035 | <reponame>Tatranskymedved/GoogleSchoolProjectManager
using Google.Apis.Sheets;
using Google.Apis.Sheets.v4;
using Google.Apis.Sheets.v4.Data;
using GoogleSchoolProjectManager.Lib.GoogleAPI.Sheets;
using GoogleSchoolProjectManager.Lib.GoogleAPI.Sheets.POCOs;
using GoogleSchoolProjectManager.Lib.GoogleAPI.Sheets.Request... |
Org.BouncyCastle.Cms/CmsProcessableFile.cs | smdx24/CPI-Source-Code | 8 | 7046036 | // CmsProcessableFile
using Org.BouncyCastle.Cms;
using Org.BouncyCastle.Utilities;
using Org.BouncyCastle.Utilities.IO;
using System;
using System.IO;
public class CmsProcessableFile : CmsProcessable, CmsReadable
{
private const int DefaultBufSize = 32768;
private readonly FileInfo _file;
private readonly int _b... |
src/AddonCraft.Infrastructure/Persistence/Names/TableName.cs | fedeantuna/addoncraft | 0 | 7046037 | <gh_stars>0
using System;
namespace AddonCraft.Infrastructure.Persistence.Names
{
/// <summary>
/// Provides the name for different tables on the database.
/// </summary>
public static class TableName
{
/// <summary>
/// Table Modules
/// </summary>
public const Stri... |
src/Tests/Xtz.StronglyTyped.BogusAutoFixture.UnitTests/Models/EmployeeIntId.cs | dev-experience/Xtz.StronglyTyped | 1 | 7046038 | <reponame>dev-experience/Xtz.StronglyTyped
using Xtz.StronglyTyped.BuiltinTypes.Ids;
using Xtz.StronglyTyped.SourceGenerator;
// ReSharper disable once CheckNamespace
// HACK: Normal namespace makes file-system path of the generated file too long
namespace UnitTests
{
[StrongType(typeof(int))]
public partial c... |
SMH/Science.cs | Yeyti/Stellaris-Moding-Helper | 0 | 7046039 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Gwen;
using Gwen.Control;
namespace SMH
{
class Science:ControlBase
{
public Science(ControlBase parent,String s) : base(parent){
new ImagePanel(this).ImageNam... |
src/SFA.DAS.EmployerPayments.Application/Commands/CreateAccountReference/CreateAccountReferenceCommandHandler.cs | SkillsFundingAgency/das-employer-payment | 1 | 7046040 | <filename>src/SFA.DAS.EmployerPayments.Application/Commands/CreateAccountReference/CreateAccountReferenceCommandHandler.cs<gh_stars>1-10
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EmployerPayments.Application.Validation;
using SFA.DAS.EmployerPayments.Domain.Data.Repositories;
namespace SFA.DAS.Employ... |
Texxtoor/Solution/Texxtoor.BaseLibrary.HtmlExtensions/Bootstrap/HtmlHeading.cs | joergkrause/texxtoor | 0 | 7046041 | <filename>Texxtoor/Solution/Texxtoor.BaseLibrary.HtmlExtensions/Bootstrap/HtmlHeading.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Texxtoor.Portal.Core.Extensions {
public class HtmlHeading {
public static readonly HtmlHeading H1 = new HtmlHeading("h1");
... |
src/Core/MyVote.Core.Shared/Extensions/ObjectExtensions.cs | danielmartind/MyVote | 0 | 7046042 | <filename>src/Core/MyVote.Core.Shared/Extensions/ObjectExtensions.cs<gh_stars>0
using System;
using System.Linq.Expressions;
using Csla.Reflection;
namespace MyVote.Core.Extensions
{
public static class ObjectExtensions
{
public static string GetPropertyName<T>(this T @this, Expression<Func<T, object>> propertyEx... |
backend/src/GraphQl/Methods/MethodType.cs | johanneshanek/metabase | 0 | 7046043 | <gh_stars>0
using HotChocolate.Resolvers;
using HotChocolate.Types;
namespace Metabase.GraphQl.Methods
{
public sealed class MethodType
: EntityType<Data.Method, MethodByIdDataLoader>
{
protected override void Configure(
IObjectTypeDescriptor<Data.Method> descriptor
)
... |
Nexus.Patches/Events/CreatingPortal106Patch.cs | NexusCommunity/Nexus | 0 | 7046044 | using Nexus.Events;
using Nexus.EventSystem;
using Nexus.Entities;
using HarmonyLib;
using System;
namespace Nexus.Patches.Events
{
//[HarmonyPatch(typeof(Scp106PlayerScript), nameof(Scp106PlayerScript.CreatePortalInCurrentPosition))]
public class CreatingPortal106Patch
{
}
}
|
Models/Project.cs | cerneigabriel/CEEFTaskManagement | 0 | 7046045 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace TaskManagement.Models
{
public class Project
{
[Key]
... |
Assets/Scripts/Core/Door.cs | KuaileY/RogueCsharpUnityTraining | 1 | 7046046 | using RogueSharp;
using UnityEngine;
public class Door : IDrawable
{
public Door()
{
Symbol = '+';
Color = Colors.Door;
BackgroundColor = Colors.DoorBackground;
}
public bool IsOpen { get; set; }
public Color Color { get; set; }
public Color BackgroundColor { get; set;... |
CreateGrid.cs | OutlawGameTools/DCCPuzzleGame | 1 | 7046047 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using DG.Tweening;
public class CreateGrid : MonoBehaviour {
public GameObject createGridParticle;
public GameObject animalPrefab;
public Sprite[] animalSprites;
public float startX = 400f;
public float startY... |
src/Payout/Core.ApplicationServices/ISkatteverket.cs | cykelbud/lrms | 0 | 7046048 | using System.Threading.Tasks;
namespace Payout.Core.ApplicationServices
{
internal interface ISkatteverket
{
Task Pay(string ocr, decimal totalTax);
}
internal class Skatteverket : ISkatteverket
{
public Task Pay(string ocr, decimal totalTax)
{
return Task.Comp... |
src/TomsResumeCore.Data/Interfaces/IWorkHistoryRepo.cs | thutson/TomsResumeCore | 0 | 7046049 | <filename>src/TomsResumeCore.Data/Interfaces/IWorkHistoryRepo.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TomsResumeCore.DomainModels;
namespace TomsResumeCore.Data
{
public interface IWorkHistoryRepo
{
Task<List<JobHeld>> GetWorkHistoryAsy... |
Assets/Scripts/Pool.cs | dnkira/YieldMagic | 0 | 7046050 | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace YieldMagic
{
public class YieldPool
{
private static readonly Dictionary<Type, List<YieldBase>> freeInstruction =
new Dictionary<Type, List<YieldBase>>();
private static readonly Dictionary<... |
SocketAppServer.Extensions.ClientMaker/GeneratorCommand.cs | adrbarros/SocketAppServer | 5 | 7046051 | <reponame>adrbarros/SocketAppServer<filename>SocketAppServer.Extensions.ClientMaker/GeneratorCommand.cs
using SocketAppServer.CoreServices;
using SocketAppServer.CoreServices.CLIHost;
using SocketAppServer.CoreServices.ControllerManagement;
using SocketAppServer.ManagedServices;
using SocketAppServer.ServerObjects;
us... |
SharpDxf/XData.cs | wjs6200/JustForTest | 2 | 7046052 | <filename>SharpDxf/XData.cs<gh_stars>1-10
#region SharpDxf, Copyright(C) 2012 Lomatus, Licensed under LGPL.
// SharpDxf library( Base on netDxf by <NAME> )
// Copyright (C) 2012 Lomatus (<EMAIL>)
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of... |
TaskAsyncForm.cs | ggwhsd/CSharpStudy | 0 | 7046053 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MarketRiskUI
{
public partial class TaskAsyncForm : Form
{
public TaskAsyncFor... |
src/MsieJavaScriptEngine/JsRt/Edge/EdgeTypeMapper.cs | Taritsyn/MsieJavaScriptEngine | 84 | 7046054 | using System;
#if NETSTANDARD
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#endif
using MsieJavaScriptEngine.Extensions;
using MsieJavaScriptEngine.Helpers;
#if NETSTANDARD
using MsieJavaScriptEngine.JsRt.Emb... |
RoomMateExpress.Core/ViewModels/ForgotPasswordViewModel.cs | Dorianxxxx/RoomMateExpress | 0 | 7046055 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using MvvmCross.Core.Navigation;
using MvvmCross.Core.ViewModels;
using MvvmValidation;
using RoomMateExpress.Core.Extensions;
using RoomMateExpress.Core.Helpers;
using RoomMateExpress.Core.Helpers.Collections;
using RoomM... |
src/A5Soft.DAL.Core/MicroOrm/IdentityMapParentInt32.cs | Apskaita5/DAL | 0 | 7046056 | using A5Soft.DAL.Core.MicroOrm.Core;
using System;
namespace A5Soft.DAL.Core.MicroOrm
{
public sealed class IdentityMapParentInt32<T> : OrmIdentityMapBase<T> where T : class
{
public IdentityMapParentInt32(string tableName, string primaryKeyFieldName,
string primaryKeyPropName, Func<T> fa... |
Assets/UrbanAirship/PluginInfo.cs | deltaDNA/tutorial-urban-airship-unity | 0 | 7046057 | <filename>Assets/UrbanAirship/PluginInfo.cs
/*
Copyright 2017 Urban Airship and Contributors
*/
namespace UrbanAirship
{
/// <summary>
/// Urban Airship Unity plugin info.
/// </summary>
public class PluginInfo
{
/// <summary>
/// The Urban Airship Unity plugin version
/// <... |
tests/GenericSearch.UnitTests/Internal/Configuration/Factories/PageConfigurationFactoryTests.cs | Grinderofl/GenericSearch | 1 | 7046058 | using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using GenericSearch.Exceptions;
using GenericSearch.Internal.Configuration.Factories;
using GenericSearch.Internal.Definition.Expressions;
using Xunit;
namespace GenericSearch.UnitTests.Internal.Configuration.Factories
{
[... |
ExampleAPI/Program.cs | fikus88/Rook.Framework.Api | 0 | 7046059 | using System.Threading;
using Rook.Framework.Api;
using Rook.Framework.Core.StructureMap;
namespace Rook.Example.ExampleAPI
{
internal static class Program
{
private static void Main()
{
// ---------------------------------
// STRUCTURE MAP CONFIG // If you're using St... |
src/epb/EPBLab/ViewModel/ToolbarCommands/ParameterIntVector.cs | ApanLoon/EmpyrionStuff | 4 | 7046060 | <filename>src/epb/EPBLab/ViewModel/ToolbarCommands/ParameterIntVector.cs
namespace EPBLab.ViewModel.ToolbarCommands
{
public class ParameterIntVector : Parameter
{
public int X { get; set; }
public int Y { get; set; }
public int Z { get; set; }
}
}
|
Biz.Morsink.Rest/RestCapability.cs | joost-morsink/Rest | 0 | 7046061 | using System;
using System.Collections.Generic;
using System.Text;
namespace Biz.Morsink.Rest
{
/// <summary>
/// Struct containing a rest capability with its descriptor.
/// </summary>
/// <typeparam name="T">The resource type for the capability.</typeparam>
public struct RestCapability<T>
{
... |
AOC/Day03.cs | Rollerss/AOC_2020 | 1 | 7046062 | using System;
using System.IO;
using System.Linq;
namespace AOC
{
public static class Day03
{
public static void AOCDay03()
{
var fileName = @".\InputData\AOCDay03.txt";
using var stream = new FileStream(fileName, FileMode.Open, FileAccess.Read);
using var s... |
Microsoft.Teams.Shifts.Integration/Microsoft.Teams.App.KronosWfc.BusinessLogic/Logon/LogonActivity.cs | sirius90/Kronos-shift-integration | 0 | 7046063 | // <copyright file="LogonActivity.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
namespace Microsoft.Teams.App.KronosWfc.BusinessLogic.Logon
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threadi... |
Tests/Editor/Functions/Comparison/compareto.cs | MrUnbelievable92/MaxMath | 47 | 7046064 | using NUnit.Framework;
using Unity.Mathematics;
namespace MaxMath.Tests
{
unsafe public static class compareto
{
[Test]
public static void Int()
{
bool result = true;
for (int i = 0; i < Tests.__int8.NUM_TESTS; i++)
{
for (int j = 0;... |
POGOLib.Official/Net/RpcClient.cs | AeonLucid/pogolib | 128 | 7046065 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using GeoCoordinatePortable;
using Google.Protobuf;
using Newtonsoft.Json;
using POGOLib.Official.Lo... |
BoxingStore/Models/ProductSizeQuantity/ProductSizeQuantityQueryModel.cs | Svetlin17/BoxingStore-React | 0 | 7046066 | namespace BoxingStore.Models
{
using BoxingStore.Data.Models;
using BoxingStore.Data.Models.Enums;
using System.Collections.Generic;
public class ProductSizeQuantityQueryModel
{
public int Id { get; set; }
public int ProductId { get; set; }
public ProductSize Size { get; ... |
Samples/HotspotAuthentication/cs/HotspotAuthenticationTask/ConfigStore.cs | dujianxin/Windows-universal-samples | 2,504 | 7046067 | <reponame>dujianxin/Windows-universal-samples
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING... |
TeamCity.CSharpInteractive/MessageIndicesReader.cs | NikolayPianikov/teamcity-csharp-interactive | 11 | 7046068 | // ReSharper disable ClassNeverInstantiated.Global
namespace TeamCity.CSharpInteractive
{
using System;
using System.Buffers;
using System.Collections.Generic;
internal class MessageIndicesReader : IMessageIndicesReader
{
private readonly ILog<MessageIndicesReader> _log;
private rea... |
GoG.Shared/Engine/GoScore.cs | GSMgeeth/gameofgo | 13 | 7046069 | <gh_stars>10-100
using System.Diagnostics;
namespace GoG.Shared.Engine
{
/// <summary>
/// Final score of a Go game, in relative terms.
/// TODO: Probably need to change this to just store White and Black scores.
/// </summary>
public class GoScore
{
public GoScore(GoColor winner, dec... |
src/SFA.Apprenticeships.Web.Candidate/Mappers/Resolvers/VacancyDetailViewModelResolvers.cs | BugsUK/FindApprenticeship | 2 | 7046070 | <filename>src/SFA.Apprenticeships.Web.Candidate/Mappers/Resolvers/VacancyDetailViewModelResolvers.cs
namespace SFA.Apprenticeships.Web.Candidate.Mappers.Resolvers
{
using System;
using AutoMapper;
using Constants.ViewModels;
using Domain.Entities.Vacancies;
public class VacancyDetailViewModelResol... |
Assets/CorgiEngine/Demos/RetroAdventure/Scripts/RetroStar.cs | CrayonScript/CrayonScriptPluginUnityProject | 0 | 7046071 | using UnityEngine;
using System.Collections;
using MoreMountains.Tools;
using UnityEngine.SceneManagement;
namespace MoreMountains.CorgiEngine
{
/// <summary>
/// A pickable star, that triggers an event if picked, and disables itself if it's been previously collected
/// </summary>
[AddComponentMenu("Corgi Engine... |
ViewModels/CommentAddViewModel.cs | Nikolayski/Multi-media-project | 0 | 7046072 | <reponame>Nikolayski/Multi-media-project<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ViewModels
{
public class CommentAddViewModel
{
public string Description { get; set; }
public string UserId { get; s... |
MoonBlob/Assets/Scripts/EnemyIcon.cs | NicholasMaselli/MoonBlob | 1 | 7046074 | using UnityEngine;
using UnityEngine.UI;
public class EnemyIcon : MonoBehaviour
{
[HideInInspector] public Enemy enemy;
public Image enemyImage;
public Image moonImage;
[HideInInspector] public Color moonColor;
public void Set(Enemy enemy, Color moonColor)
{
SetEnemy(StateManager.inst... |
Chessboard Control/FenValidator/FEN.cs | DCourtel/ChessboardControl | 0 | 7046075 | <gh_stars>0
using System;
using System.Text.RegularExpressions;
namespace ChessboardControl
{
public class FEN
{
/// <summary>
/// Creates an instance of a FEN position.
/// </summary>
/// <param name="fen"></param>
/// <exception cref="ArgumentException">Thrown when <p... |
Walle.Components.Authentication/WalleAuthenticationExtension.cs | walle-work/Walle.Components.Authentication | 0 | 7046076 | <reponame>walle-work/Walle.Components.Authentication
using Microsoft.Extensions.DependencyInjection;
using System.Reflection;
namespace Walle.Components.Authentication
{
public static class WalleAuthenticationExtension
{
public static void AddWalleAuthentication(this IServiceCollection services )
... |
ChronoKeep/UI/Timing/Import/ImportLogPage2.xaml.cs | grecaun/chronokeep-windows | 0 | 7046077 | using Chronokeep.IO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.W... |
Unity/vr_arm_ctrl/Library/PackageCache/com.unity.xr.interaction.toolkit@2.0.2/Runtime/AR/Interactables/ARPlacementInteractable.cs | BigMeatBaoZi/SDM5002 | 1 | 7046078 | <filename>Unity/vr_arm_ctrl/Library/PackageCache/com.unity.xr.interaction.toolkit@2.0.2/Runtime/AR/Interactables/ARPlacementInteractable.cs
//-----------------------------------------------------------------------
// <copyright originalFile="AndyPlacementManipulator.cs" company="Google">
// <renamed file="ARPlacementIn... |
Enigma/Binary/BinaryZPacker.cs | jaygumji/EnigmaDb | 1 | 7046079 | using System;
using System.IO;
using System.Runtime.CompilerServices;
namespace Enigma.Binary
{
public static class BinarySVNPacker
{
public static void Pack(Stream stream, Int32? value)
{
}
}
public static class BinarySVPacker
{
public static void Pack(Stream st... |
AMaaS.Core.Sdk.Assets/Models/Link.cs | amaas-fintech/amaas-core-sdk-dotnet | 0 | 7046080 | using AMaaS.Core.Sdk.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AMaaS.Core.Sdk.Assets.Models
{
public class Link : AMaaSModel
{
#region Properties
public string LinkedAssetId { get; set; }
... |
Mond/VirtualMachine/Frame.cs | Wuschli/Mond | 1 | 7046081 | <reponame>Wuschli/Mond<gh_stars>1-10
using System;
using System.Collections.Generic;
namespace Mond.VirtualMachine
{
class Frame
{
public readonly int Depth;
public readonly Frame Previous;
public MondValue[] Values;
public Frame StoredFrame;
public List<MondValue> Sto... |
Mobile/Mobile.core/Repositories/RaceRepository.cs | Georgekibet/VoteTalyingSystem | 0 | 7046083 | <reponame>Georgekibet/VoteTalyingSystem
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mobile.core.SQLiteDatabase;
using vts.Shared.Entities.Master;
using vts.Shared.Repository;
using vts.Shared.Services;
using vts.Shared.Utility;
namespace Mo... |
Diskordia.UndoManager/UndoManager.SingletonCreator.cs | lehmamic/undo-manager | 2 | 7046084 | /*****************************************************************************
* UndoManager. An easy to use undo API.
* Copyright (C) 2009 <NAME>
******************************************************************************
* This file is part of UndoManager.
*
* UndoManager is free software: you can redistri... |
src/Bootstrap.AspNetCore.Mvc.TagHelpers/Modal.cs | Bwolfing/Bootstrap.AspNetCore.Mvc.TagHelpers | 0 | 7046085 | <filename>src/Bootstrap.AspNetCore.Mvc.TagHelpers/Modal.cs
/*
* Copyright (c) 2016 <NAME>
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/Bwolfing/Bootstrap.AspNetCore.Mvc.TagHelpers
*
*/
using Microsoft.AspNetCo... |
ArchElab/HexToAll.cs | ghiboz/ArchElab | 0 | 7046086 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArchElab
{
public class HexToAll : IOperation
{
public HexToAll()
{
menuTitle = "Esadecimale => *";
welcomeMessage = @"
.Inserire il valore da c... |
Models/Autoria.cs | AleCouto/ConsoleAppLivraria | 1 | 7046087 | <filename>Models/Autoria.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Livraria
{
public class Autoria
{
public int autoriaId { get; set; }
[ForeignKey("Livro")]
public int livroId { g... |
csharpsrc/Tests/LeetCodeCases/No4.MedianOfTwoSortedArrays/Constraints.cs | OceanSJY/data-structures-and-algorithms-training | 0 | 7046088 | <filename>csharpsrc/Tests/LeetCodeCases/No4.MedianOfTwoSortedArrays/Constraints.cs
// <copyright file="Constraints.cs" company="Ocean">
// Copyright (c) Ocean. All rights reserved.
// </copyright>
namespace Tests.LeetCodeCases.No4.MedianOfTwoSortedArrays
{
/// <summary>
/// The constraints of LeetCode No.4 qu... |
Beam/Server/Mappers/RayMapper.cs | victorwealth/blazor-beam-project | 0 | 7046089 | <reponame>victorwealth/blazor-beam-project
using System.Linq;
namespace Beam.Server.Mappers
{
public static class RayMapper
{
public static Shared.Ray ToShared(this Data.Ray r)
{
return new Shared.Ray()
{
RayId = r.RayId,
Text = r.Text,
... |
Source/CSharp/Expressive/Expressive/Operators/Grouping/ParenthesisCloseOperator.cs | denispakizh/expressive | 0 | 7046090 | <filename>Source/CSharp/Expressive/Expressive/Operators/Grouping/ParenthesisCloseOperator.cs<gh_stars>0
using Expressive.Expressions;
namespace Expressive.Operators.Grouping
{
internal class ParenthesisCloseOperator : OperatorBase
{
#region OperatorBase Members
public override string[] Tags =... |
src/SFA.DAS.Assessor.Functions.ExternalApis/DataCollection/Types/DataCollectionPagingInfo.cs | SkillsFundingAgency/das-assessor-functions | 1 | 7046091 | using System;
using System.Collections.Generic;
using System.Text;
namespace SFA.DAS.Assessor.Functions.ExternalApis.DataCollection.Types
{
public class DataCollectionPagingInfo
{
public int TotalItems {get; set;}
public int PageNumber {get; set;}
public int PageSize { get; set; }
... |
ZombieShooter/Assets/Editor/WeaponManagerWindow.cs | st3veV/ZombieShooterVR | 2 | 7046092 | <filename>ZombieShooter/Assets/Editor/WeaponManagerWindow.cs<gh_stars>1-10
using System;
using UnityEditor;
using UnityEngine;
public class WeaponManagerWindow : EditorWindow {
public WeaponDatabase Database { get; set; }
[MenuItem("ZombieShooter/Weapons")]
public static void Init()
{
Weapon... |
01.Short Fundamentals/10.DATA TYPES AND VARIABLES/09. Refactor Special Numb/Program.cs | Tuscann/Programming-Fundamentals-1 | 20 | 7046093 | <reponame>Tuscann/Programming-Fundamentals-1
using System;
class Program
{
static void Main()
{
int digitGiven = int.Parse(Console.ReadLine());
int total = 0;
int cycleCopier = 0;
bool dividedOrNot = false;
for (int cycle = 1; cycle <= digitGiven; cycle++)
{
... |
src/framework/Composable.CQRS/Testing/Threading/TestingTaskRunner.cs | mlidbom/Composable | 10 | 7046094 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Composable.Contracts;
using Composable.SystemCE.LinqCE;
using Composable.SystemCE.ThreadingCE;
using Composable.SystemCE.ThreadingCE.TasksCE;
namespace Composable.Testing.Threading
{
///<summary>
/// Runs an... |
Assets/Third Party/AlmostEngine/UltimateScreenshotCreator/Assets/Scripts/Utils/TextureExporter.cs | assemyasser200/the_clothing_shop | 0 | 7046095 | using UnityEngine;
using System.IO;
using System.Collections;
using System.Collections.Generic;
namespace AlmostEngine.Screenshot
{
public class TextureExporter
{
#region Saving
public enum ImageFileFormat
{
PNG,
JPG
}
;
/// <summary>
... |
Dnn.AdminExperience/Tests/Dnn.PersonaBar.ConfigConsole.Tests/ConfigConsoleControllerTests.cs | thienvc/Dnn.Platform | 941 | 7046096 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace Dnn.PersonaBar.ConfigConsole.Tests
{
using System;
using System.Collections.Generic;
using Sys... |
PFM.Api/PFM.Api/Configuration/DefaultModule.cs | JM89/personalfinancemanager | 2 | 7046097 | using Autofac;
using PFM.DataAccessLayer.Repositories.Implementations;
using PFM.DataAccessLayer.Repositories.Interfaces;
using PFM.Services;
using PFM.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace PFM.Api.Confi... |
LTTC/Assets/Scripts/Camera/CameraSwitcher.cs | jenzy/Little-Tank-That-Could-2-Try-Harder | 0 | 7046099 | using UnityEngine;
using System.Collections;
public class CameraSwitcher : MonoBehaviour {
public GameObject[] m_Cameras;
public int m_IndexMainCamera;
public int m_IndexAimCamera;
public bool m_ToggleAimCamera = true;
private int m_IndexActiveCamera;
private bool m_Ignore = false;
public GameObject ActiveCa... |
Services/Interfaces/IClientService.cs | TheRevival/Revival.Taxi-API | 1 | 7046100 | <reponame>TheRevival/Revival.Taxi-API<filename>Services/Interfaces/IClientService.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using Data.Models;
using Microsoft.AspNetCore.Mvc;
namespace Services.Interfaces
{
public interface IClientService
{
... |
tests/Medidata.ZipkinTracer.Core.Test/TraceProviderTests.cs | mdsol/Medidata.ZipkinTracerModule | 59 | 7046101 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using Microsoft.Owin;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ploeh.AutoFixture;
using Rhino.Mocks;
using System.Text.RegularExpressions;
namespace Medidata.ZipkinTracer.Core.Test
{
[TestClass]
public class TraceProviderTests
... |
src/shared/Extensions/JSON/JsonExtension.cs | tevosouza/test | 1 | 7046102 | // Copyright (c) 2020 <NAME> - <<EMAIL>>
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
namespace WeCraft.Shared.Extensions.Json
{
using System;
using Newtonsoft.Json;
/// <summary>
/// Extension methods for some object types including JSON support.
... |
source/Hackster/WifiWeatherClock/Models/DateTimeModel.cs | pulpago/Meadow_Project_Samples | 0 | 7046103 | <filename>source/Hackster/WifiWeatherClock/Models/DateTimeModel.cs<gh_stars>0
using System;
using System.Text.Json.Serialization;
namespace WifiWeatherClock.Models
{
public class DateTimeModel
{
[JsonPropertyName("abbreviation")]
public string Abbreviation { get; set; }
[JsonPropertyN... |
AutoPrintr/AutoPrintr.Core/Models/BaseModel.cs | RepairShopr/AutoPrintr-wpf | 7 | 7046104 | <gh_stars>1-10
using System;
namespace AutoPrintr.Core.Models
{
[Serializable]
public abstract class BaseModel : ICloneable
{
public virtual object Clone()
{
return MemberwiseClone();
}
}
} |
libutils.tests/NiceIO/Parent.cs | scottbilas/advent-of-code | 3 | 7046105 | using System;
using System.Linq;
using NUnit.Framework;
using Unity.Coding.Utils;
namespace NiceIO.Tests
{
[TestFixture]
public class Parent
{
[Test]
public void ParentFromFileInDirectory()
{
var path = new NPath("mydir/myotherdir/myfile.exe").Parent;
Assert.... |
Keynote/blazor/BlazorSample/Pages/Counter.cshtml | lbugnion/sample-2018-globalxamarin18 | 0 | 7046106 | <reponame>lbugnion/sample-2018-globalxamarin18
@page "/counter"
<h1>Counter</h1>
<p>Current count (Blazor): @currentCount</p>
<p>Current count (JS): <span id="counter-js">0</span></p>
<button class="btn btn-primary"
onclick="@IncrementCount">
Click me (Blazor)
</button>
<br /><br />
<button class="bt... |
sources/Leak.Metaget/MetamineStrategyContext.cs | sora-jp/leak | 76 | 7046107 | <reponame>sora-jp/leak<filename>sources/Leak.Metaget/MetamineStrategyContext.cs
using Leak.Common;
namespace Leak.Meta.Get
{
public class MetamineStrategyContext
{
/// <summary>
/// The peer the strategy should find blocks for.
/// </summary>
public PeerHash Peer { get; set; }
... |
test/Infrastructure/Selenium.SystemTest/Fixtures/Interfaces/IDatabase.cs | optivem/optivem-commons-cs | 6 | 7046108 | <gh_stars>1-10
using Atomiv.Infrastructure.Selenium.SystemTest.Fixtures.Interfaces.Records;
using System.Collections.Generic;
namespace Atomiv.Infrastructure.Selenium.SystemTest.Fixtures.Data
{
public interface IDatabase
{
List<IProductRecord> ReadProductsSortedByNameAsc();
List<IProductRecor... |
Source/Examples/DataGrid/DataGridDemo/Examples/WrapItems/ArrayOfObjectExample.xaml.cs | fossabot/PropertyTools | 523 | 7046109 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ArrayOfObjectExample.xaml.cs" company="PropertyTools">
// Copyright (c) 2014 PropertyTools contributors
// </copyright>
// <summary>
// Interaction logic for ArrayOfObjectExam... |
src/RIDGID.Common.Api.Core/Objects/Response.cs | RIDGIDSoftwareSolutions/RIDGID.Common.Api | 2 | 7046110 | namespace RIDGID.Common.Api.Core.Objects
{
public class Response<T>
{
public Response(T data)
{
Data = data;
}
public T Data { get; set; }
}
}
|
LeetCode/remote/construct_inorder_preorder.cs | drone001/interviews | 1 | 7046111 | <filename>LeetCode/remote/construct_inorder_preorder.cs
// https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
//
// Given preorder and inorder traversal of a tree, construct the binary tree.
using System;
using System.Collections.Generic;
using System.Linq;
public class TreeNo... |
source/DMCommon/DataWrapper.cs | jhworkshop/rapid-data-migration | 3 | 7046112 | <reponame>jhworkshop/rapid-data-migration
using System;
using System.Collections.Generic;
using System.Data;
namespace JHWork.DataMigration.Common
{
/// <summary>
/// IDataWrapper 的 IDataReader 实现
/// </summary>
public class IDataReaderWrapper : IDataWrapper
{
private readonly I... |
01.DefiningClasses/OtherHomeworks/01.DefineClasses/01.Persons/Person.cs | ivayloivanof/OOP-CSharp | 0 | 7046113 | using System;
using System.Configuration;
using System.Data;
using System.Text;
using System.Text.RegularExpressions;
class Person
{
private int age;
private string name;
private string email;
public string Name
{
get { return this.name; }
set
{
if (value == nu... |
src/NeoModules.NEP6/Models/ScryptParameters.cs | Switcheo/NeoModules | 17 | 7046114 | using Newtonsoft.Json;
namespace NeoModules.NEP6.Models
{
public class ScryptParameters
{
/// <summary>
/// A parameter that defines the CPU/memory cost. Must be a value 2^N.
/// </summary>
[JsonProperty("n")]
public int N { get; }
/// <summary>
/// A ... |
Source/Wrappers/mscorlib/System.MissingMethodException.cs | RixianOpenTech/RxWrappers | 0 | 7046115 | <reponame>RixianOpenTech/RxWrappers
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System
{
public static class __MissingMethodException
{
public static IObservable<System.String> get_Message(
this ... |
Assets/Photon/Simple/Utilities/GhostWorld/GhostComponent.cs | KacperKenjiLesniak/crowded-dinosaur | 22 | 7046116 | <filename>Assets/Photon/Simple/Utilities/GhostWorld/GhostComponent.cs
// ---------------------------------------------------------------------------------------------
// <copyright>PhotonNetwork Framework for Unity - Copyright (C) 2020 Exit Games GmbH</copyright>
// <author><EMAIL></author>
// ------------------------... |
src/libraries/Microsoft.PowerFx.Core/Public/Types/OptionSetValueType.cs | jorisdg/Power-Fx | 0 | 7046117 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System.Collections.Generic;
using Microsoft.PowerFx.Core.Entities;
using Microsoft.PowerFx.Core.Types;
using Microsoft.PowerFx.Core.Utils;
namespace Microsoft.PowerFx.Types
{
/// <summary>
/// Power Fx type for an enum-like thin... |
ImportExportVbaLib/VisioVBA.cs | nbelyh/VisioImportExportVba | 3 | 7046118 | <filename>ImportExportVbaLib/VisioVBA.cs
using System;
using System.IO;
using System.Linq;
using Visio = Microsoft.Office.Interop.Visio;
namespace ImportExportVbaLib
{
public static class VisioVBA
{
static Visio.Window FindDocumentWindow(Visio.Application app, int docId)
{
return a... |
MSMS/Areas/AdminLogin/Views/AdminLogin/MAIndex.cshtml | shashank-007/MSMS | 0 | 7046119 | @{
ViewBag.Title = "MAIndex";
Layout = "~/Areas/AdminLogin/Views/Shared/_Layout.cshtml";
}
<h2>MAIndex</h2>
<script src="~/Scripts/jquery-1.12.4.js"></script>
<script type="text/javascript">
$(document).ready(function () {
if (window.sessionStorage.getItem("AdminID") == null) {
window... |
src/dialogs/TableEdit_Dialog.cs | MertcanDavulcu/MochaDBStudio | 4 | 7046120 | <filename>src/dialogs/TableEdit_Dialog.cs
using System;
using System.Diagnostics;
using System.Drawing;
using System.Threading.Tasks;
using System.Windows.Forms;
using MochaDB;
using MochaDB.Mhql;
using MochaDB.Querying;
using MochaDBStudio.gui;
namespace MochaDBStudio.dialogs {
/// <summary>
/// Table edit dia... |
src/UkooLabs.SVGSharpie.ImageSharp/SvgImageRenderer.cs | jakedacatman/SVGSharpie | 9 | 7046121 | <reponame>jakedacatman/SVGSharpie
using System;
using UkooLabs.SVGSharpie.ImageSharp.Dom;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
namespace UkooLabs.SVGSharpie.ImageSharp
{
/// <summary>
/// SVG image renderer
/// </summary>
public sta... |
DomainFramework.Tests/Legacy/NestedAggregates/DepartmentManager/DepartmentManagerTests.cs | jgonte/DomainFramework | 0 | 7046122 | using DataAccess;
using DomainFramework.DataAccess;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace DomainFramework.Tests
{
[TestClass]
public class DepartmentManagerTests
{
static readonly string connectionName = "SqlServerTest.DomainFrameworkNestedAggr... |
csharp/ql/test/resources/stubs/Microsoft.AspNetCore.Authentication.Cookies.cs | madhurimamandal/codeql | 4,036 | 7046123 | <filename>csharp/ql/test/resources/stubs/Microsoft.AspNetCore.Authentication.Cookies.cs
using Microsoft.AspNetCore.Http;
using System;
using System.Runtime.CompilerServices;
using Microsoft.AspNetCore.Authentication;
namespace Microsoft.AspNetCore.Authentication.Cookies
{
public class CookieAuthenticationOptions :... |
src/Septem.Notifications.Core/Entities/NotificationMessageEntity.cs | rasimismatulin/Septem.Utils | 0 | 7046124 | <filename>src/Septem.Notifications.Core/Entities/NotificationMessageEntity.cs
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Septem.Notifications.Abstractions;
namespace Septem.Notifications.Core.Entities;
internal class NotificationMessageEntity
... |
src/CodeCube.Core.Extensions.Drawing/ImageFunctions.cs | roblohmann/CodeCube.Core.Extensions.Drawing | 0 | 7046125 | using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
namespace CodeCube.Core.Extensions.Drawing
{
internal static class ImageFunctions
{
internal static Size GenerateImageDimensions(int currW, int currH, int destW, int destH)
{
// some sanity
... |
YuYan.API/YuYan.Domain/DTO/dtoSurveyClient.cs | sitedisks/YuYan | 2 | 7046126 |
using System;
using System.Collections.Generic;
namespace YuYan.Domain.DTO
{
public class dtoSurveyClient
{
public long ClientId { get; set; }
public string Email { get; set; }
public string IPAddress { get; set; }
public int SurveyId { get; set; }
public Nullable<int> ... |
src/Assets/Plugins/BindingsRx/Bindings/TextExtensions.cs | grofit/bindingrx | 102 | 7046127 | using System;
using BindingsRx.Converters;
using BindingsRx.Filters;
using UniRx;
using UnityEngine;
using UnityEngine.UI;
namespace BindingsRx.Bindings
{
public static class TextExtensions
{
public static IDisposable BindTextTo(this Text input, IReadOnlyReactiveProperty<string> property, params IFilt... |
Sources/Steepshot/Steepshot.iOS/Helpers/CommentsTextViewDelegate.cs | KorzunAV/steepshot-mobile | 0 | 7046128 | using Foundation;
using UIKit;
namespace Steepshot.iOS.Helpers
{
class CommentsTextViewDelegate : BaseTextViewDelegate
{
public override bool ShouldChangeText(UITextView textView, NSRange range, string text)
{
if (text == "\n")
{
textView.ResignFirstResp... |
Packages/MonoHooks/Runtime/Hooks/OnTriggerHook.cs | sampaiodias/unity-atoms | 0 | 7046129 | <reponame>sampaiodias/unity-atoms<gh_stars>0
using UnityEngine;
namespace UnityAtoms.MonoHooks
{
/// <summary>
/// Mono Hook for [`OnTriggerEnter`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerEnter.html), [`OnTriggerExit`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerExit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.