max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/GfPolynoms/IrreduciblePolynomialsFinder/IIrreduciblePolynomialsFinder.cs | FeodorFitsner/GfPolynoms | 0 | 7052578 | <reponame>FeodorFitsner/GfPolynoms<filename>src/GfPolynoms/IrreduciblePolynomialsFinder/IIrreduciblePolynomialsFinder.cs<gh_stars>0
namespace AppliedAlgebra.GfPolynoms.IrreduciblePolynomialsFinder
{
/// <summary>
/// Contract for finder of irreducible polynomial with specified properties
/// </summary>
... |
Sparta_Online_Shop/Sparta_Online_Shop/Views/StockOrders/Index.cshtml | RuoyiJ/Sparta-Online-Shop | 0 | 7052580 | @model IEnumerable<Sparta_Online_Shop.Product>
@{
ViewBag.Title = "Stock Management";
}
<div style="width:80%; margin:60px auto;">
<!--Admin Nav Links-->
<div class="row wow fadeIn" style="text-align:center; justify-content:space-evenly">
<div class="col-3 col-sm-3 col-md-3 mb-2">... |
GameDevAssistPack/Common/DGraphics.cs | daramkun/GameDevAssistPack | 0 | 7052581 | <filename>GameDevAssistPack/Common/DGraphics.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;
namespace GameDevAssistPack.Common
{
public class DGraphics
{
List<DLayer> layers = new List<DLayer>();
int focusedLayer = 0;
Color color = Co... |
KDMHelper2/Assets/Scripts/Common/IO/FileHelpers/FileLoadSpecializations/XMLLoadHandle.cs | JuliusNarvilas/KingdomDeathHelper | 1 | 7052582 | using Common.IO.FileHelpers.CSV;
using Common.IO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
namespace Common.IO.FileHelpers.FileLoadSpecializations
{
public class XMLLoadHandleT<T> : XMLLoadHandle where T : class
{
public X... |
labs/Homework_WPF/MainWindow.xaml.cs | Soutar92/2019-06-c-sharp-labs | 0 | 7052583 | <gh_stars>0
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.Windows.Me... |
VisualStudio/ProjectBase/Wix/XFileNode.cs | orangesocks/XSharpPublic | 73 | 7052584 | <filename>VisualStudio/ProjectBase/Wix/XFileNode.cs
//
// Copyright (c) <NAME>.V. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
// See License.txt in the project root for license information.
//
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using ... |
problems/cs/470.cs | tarunbatta/leetcodeScraper | 1 | 7052585 | <filename>problems/cs/470.cs
// Url:https://leetcode.com/problems/implement-rand10-using-rand7
/*
470. Implement Rand10() Using Rand7()
Medium
Given a function rand7 which generates a uniform random integer in the range 1 to 7, write a function rand10 which generates a uniform random integer in the range 1 to 10... |
src/ChilliSource.Cloud.Ninject/Extensions/NinjectExtensions.cs | BlueChilli/ChilliSource.Cloud.Ninject | 0 | 7052586 | <gh_stars>0
using Ninject.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChilliSource.Cloud.Ninject
{
/// <summary>
/// Extension methods for Ninject.
/// </summary>
public static class NinjectExtensions... |
SurtlingCoreOverclocking/OverclockEfficiencyCorePrefabConfig.cs | DiskImage/ValheimMods | 0 | 7052587 |
using Jotunn.Configs;
using Jotunn.Entities;
using Jotunn.Utils;
using UnityEngine;
namespace SurtlingCoreOverclocking
{
public partial class SurtlingCoreOverclockingMod
{
class OverclockEfficiencyCorePrefabConfig : CustomItem
{
private readonly Sprite sprite;
private ... |
Saleslogix.SData.Client/SDataResource.cs | Saleslogix/DotNetSDataClient | 11 | 7052588 | // Copyright (c) 1997-2014, SalesLogix NA, LLC. All rights reserved.
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Net;
using Saleslogix.SData.Client.Framework;
#if !NET_2_0 && !NET_3_5
using System.Dynamic;
using Saleslogix.SDa... |
NeuralNetworkOnPaper/BrainModel/Axon.cs | jakubgoralski/nope | 0 | 7052589 | <gh_stars>0
namespace NeuralNetworkOnPaper.BrainModel
{
public class Axon
{
/*
*
* PROPERTIES
*
*/
// Represents value of summing module output
public double signal { get; set; }
// Represents output value of final function
public ... |
src/Platinum.Core/ObjectDumper.cs | filipetoscano/Platinum | 0 | 7052590 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Xml.Serialization;
namespace Platinum
{
/// <summary />
public class ObjectDumper
{
private int _level;
private ... |
Direct Response/UsersDb/OperationUser.cs | dushan95/Direct_Response | 0 | 7052591 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Direct_Response.UsersDb
{
public class UserDb : DbItem
{
#region Property's
private int user_Id;
private string username;
private string password;
... |
LocationInfomationNoticeBoard/Assets/LocationInformationNoticeBoard/Map/Scripts/MapSceneData.cs | jphacks/TK_1812 | 0 | 7052592 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Runtime.Serialization.Json;
namespace Map
{
public class MapSceneData
{
public List<Result> spotList = new List<Result>();
public double beforeLat;
public double beforeLng;
... |
docs/vs-2015/snippets/csharp/VS_Snippets_VSSDK/vssdksupportforsettingscategories/cs/guids.cs | mavasani/visualstudio-docs | 834 | 7052593 | <reponame>mavasani/visualstudio-docs<filename>docs/vs-2015/snippets/csharp/VS_Snippets_VSSDK/vssdksupportforsettingscategories/cs/guids.cs
// Guids.cs
// MUST match guids.h
using System;
namespace Microsoft.VSSDKSupportForSettingsCategories
{
static class GuidList
{
public const string guidVSSDKSuppor... |
Ch34/StackedBarChart/MainWindow.xaml.cs | Macrotitech/WPF-3d-source | 15 | 7052594 | 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.Windows.Media.Imaging;
... |
Meerkat/Library/Exceptions/UnknownWordException.cs | d0rj/Meerkat | 0 | 7052595 | <gh_stars>0
using System;
namespace Meerkat.Library.Exceptions
{
public sealed class UnknownWordException : Exception
{
public string Word { get; private set; }
public UnknownWordException(string word)
: base($"Unknown word '{word}' given.")
{
Word = word;
}
}
}
|
Screens/InGame/BattleScreen.cs | PokeD/PokeD.Client | 0 | 7052596 | /*
using Microsoft.Xna.Framework;
using PokeD.CPGL.Data;
using PokeD.CPGL.Screens.PokeGUI.Overworld;
using PokeD.CPGL.Screens.PokeGUI.Monsters;
namespace PokeD.CPGL.Screens.InGame
{
public sealed class BattleScreen : Screens.GameScreen
{
private IBattleInfo BattleInfo { get; }
publi... |
src/SettingsProvider.cs | viper3400/QuickSFTP | 0 | 7052597 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IniParser;
using IniParser.Model;
namespace Jaxx.QuickSFTP
{
internal class SettingsProvider
{
IniData _settings;
internal SettingsProvider(string SettingsFile... |
src/Moon.OData/ODataRawValues.cs | vilinski/Moon.OData | 20 | 7052599 | <filename>src/Moon.OData/ODataRawValues.cs<gh_stars>10-100
using System.Collections.Generic;
namespace Moon.OData
{
/// <summary>
/// Represents a dictionary of raw OData query option values.
/// </summary>
public sealed class ODataRawValues
{
private static readonly HashSet<string> suppor... |
src/lib/net/iTin.Core/iTin.Core.Interop/iTin.Core.Interop.Windows/iTin.Core.Interop.Windows/Development/Graphics/Legacy/Gdi/MultipleDisplayMonitors/Structures/MONITORINFOEX.cs | iAJTin/iEEDID | 7 | 7052600 |
namespace iTin.Core.Interop.Shared.Windows.Development.Graphics.Legacy.Gdi.MultipleDisplayMonitors
{
using System;
using System.Runtime.InteropServices;
using Rectangles;
/// <summary>
/// The <strongs>MONITORINFOEX</strongs> structure contains information about a monitor.
/// The <strongs>M... |
src/PersonalWebsite/Helpers/ConditionalCssClassHelper.cs | nettsundere/PersonalWebsite | 5 | 7052601 | using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Linq;
namespace PersonalWebsite.Helpers
{
[HtmlTargetElement("li", Attributes = ListToRun)]
public class ConditionalCssClassHelper : TagHelper
{
private const string ListToRun = "asp-contro... |
src/IdentityServer.Admin.Services/Client/IClientPropertyService.cs | Olek-HZQ/IdentityServerManagement | 9 | 7052602 | using System.Threading.Tasks;
using IdentityServer.Admin.Core.Constants;
using IdentityServer.Admin.Core.Dtos.Client;
using IdentityServer.Admin.Core.Entities.Clients;
namespace IdentityServer.Admin.Services.Client
{
public interface IClientPropertyService
{
Task<PagedClientPropertyDto> GetPagedAsync(... |
AsteroidMiners/Assets/Scripts/Waypoint.cs | mikkohu/asteroidminers | 0 | 7052603 | <filename>AsteroidMiners/Assets/Scripts/Waypoint.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
public class Waypoint : MonoBehaviour {
private PlayerShipMove.collide collisionFunc;
public GameObject nextWayPoint;
public SequenceTrigger se... |
Assets/VRFlickInput/Scripts/VRFI_Operater.cs | donafudo/VRFlickInput | 0 | 7052604 | <reponame>donafudo/VRFlickInput<filename>Assets/VRFlickInput/Scripts/VRFI_Operater.cs
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
namespace VRFI
{
[RequireComponent(typeof(Rigidbody))]
public class VRFI_Operater : MonoBehaviour
{
public VRFI_ControllerInput.Controllers C... |
libwasm/Optimize/Peephole/UnreachableCodeOptimization.cs | jonathanvdc/cs-wasm | 30 | 7052605 | <reponame>jonathanvdc/cs-wasm
using System.Collections.Generic;
using Wasm.Instructions;
namespace Wasm.Optimize
{
/// <summary>
/// An optimization that removes unreachable code.
/// </summary>
public sealed class UnreachableCodeOptimization : PeepholeOptimization
{
private UnreachableCode... |
Code/ClintVolumeControl.cs | Schn1ek3/StardewValleyExpanded | 1 | 7052606 | using Microsoft.Xna.Framework.Audio;
using StardewModdingAPI;
using StardewValley;
using StardewValley.BellsAndWhistles;
using StardewValley.Locations;
using System;
namespace StardewValleyExpanded
{
/// <summary>Adjusts the volume of the ambient furnace noise outside Clint's blacksmith shop.</summary>
public... |
cake/process.cake | Kymeric/DockerProxy | 24 | 7052607 | <reponame>Kymeric/DockerProxy<filename>cake/process.cake
int ProcessExecute(string command, string args, DirectoryPath workingDirectory = null)
{
var settings = new ProcessSettings {
Arguments = args,
WorkingDirectory = workingDirectory
};
Information($"Executing:\t{command} {args}\r\n");
... |
CheckersWPF/Converters/PlayerToWinNotationConverter.cs | Hosch250/CheckersWPF | 0 | 7052608 | using System;
using System.Globalization;
using System.Windows.Data;
using CheckersWPF.Facade;
namespace CheckersWPF.Converters
{
public class PlayerToWinNotationConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... |
src/NUnitFramework/tests/TestUtilities/CallbackWatcher.cs | lsolano/nunit | 2,306 | 7052609 | <filename>src/NUnitFramework/tests/TestUtilities/CallbackWatcher.cs
// Copyright (c) <NAME>, <NAME> and Contributors. MIT License - see LICENSE.txt
using System;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace NUnit.TestUtilities
{
/// <summary>
/// Provides idiomatic callback-based assertion... |
backend-app/Application/Resources/LogInResource.cs | betoSolares/chat-system | 1 | 7052610 | using System.ComponentModel.DataAnnotations;
namespace backend_app.Application.Resources
{
public class LogInResource
{
[Required]
[MaxLength(20)]
public string Username { get; set; }
[Required]
public string Password { get; set; }
}
} |
LaunchpadEnhanced/Properties/Settings.cs | pieckenst/LaunchPadEnchancedDecompile | 0 | 7052611 | <reponame>pieckenst/LaunchPadEnchancedDecompile
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Configuration;
using System.Runtime.CompilerServices;
namespace LaunchpadEnhanced.Properties
{
[GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "... |
Assets/Moe Baker/Moe Tools/Standalone/Utility/Processing/Platform Specific/PlatformSpecificModifier.cs | EZKATKAGAMES/OnePunchMang | 38 | 7052612 | using System;
using System.IO;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityEngine.AI;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditorInternal;
#endif
using Object = UnityEngine.Object;
usi... |
Try_UIWidghts/Assets/UI/Test/Utility/Builders/BasicWidgets/Text/TextFieldBuilder.cs | ZerlenZhang/LearnUIWidget | 0 | 7052613 | using Unity.UIWidgets.foundation;
using Unity.UIWidgets.material;
using Unity.UIWidgets.widgets;
namespace UI.Test.Utility
{
public partial class Q
{
public static TextFieldBuilder TextField=>new TextFieldBuilder();
}
public class TextFieldBuilder:EditableBuilder<TextFieldBuilder>
{
... |
MyNeuralNet/ImageRecognizer.cs | Taybenberg/HandwrittenImagesRecognizer | 0 | 7052614 | <gh_stars>0
using System;
using System.IO;
using System.Text;
using System.Text.Json;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
namespace HandwrittenNumbersRecognition.MyNeuralNet
{
class ImageRecognizer
{
NeuralNet neuralNet;
string modelPath;
... |
src/compiler/StarkPlatform.Compiler.Stark/Syntax/ConstructorDeclarationSyntax.cs | encrypt0r/stark | 218 | 7052615 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using StarkPlatform.Compiler.Stark.Symbols;
using StarkPlatform.Compiler.Stark.Syntax;
using StarkPlatform.Compiler.Text;
namespace StarkPlatform.Compiler.S... |
MPT/CSI/API/MPT.CSI.API/Core/Helpers/AngleLocalAxes.cs | MarkPThomas/MPT.Net | 0 | 7052616 | <filename>MPT/CSI/API/MPT.CSI.API/Core/Helpers/AngleLocalAxes.cs
// ***********************************************************************
// Assembly : MPT.CSI.API
// Author : <NAME>
// Created : 06-12-2017
//
// Last Modified By : <NAME>
// Last Modified On : 06-13-2017
// ***************... |
Runtime/Script/Common/Base/Manager/IManager.cs | BlackFire-Studio/BlackFire.Unity | 1 | 7052617 | /*
--------------------------------------------------
| Copyright © 2008 Mr-Alan. All rights reserved. |
| Website: www.0x69h.com |
| Mail: <EMAIL> |
| QQ: 835988221 |
--------------------------------------------------
*/
namespace BlackFire.Un... |
NodeGraph/Controls/DefaultNode.cs | Jinten/NodeGraph | 29 | 7052618 | <reponame>Jinten/NodeGraph
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.... |
MazeRotator/Assets/Scripts/MazeMovement.cs | BonnieToGamer/unity-games | 0 | 7052619 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MazeMovement : MonoBehaviour
{
public KeyCode RightKey = KeyCode.RightArrow;
public KeyCode LeftKey = KeyCode.LeftArrow;
public int RotateSpeed = 75;
private bool Right;
private bool Left;
// Update i... |
Scripts/MMOGame/Networking/Messages/MMOMessageTypes.cs | 103022129/UnityMultiplayerARPG_MMO | 2 | 7052620 | namespace MultiplayerARPG.MMO
{
public class MMOMessageTypes
{
public const ushort RequestAppServerRegister = 0;
public const ushort ResponseAppServerRegister = 1;
public const ushort RequestAppServerAddress = 2;
public const ushort ResponseAppServerAddress = 3;
public c... |
Messages/AppMetricsPrometheus.cs | Aragas/Aragas.QServer.NetworkBus | 0 | 7052621 | namespace Aragas.QServer.NetworkBus.Messages
{
public sealed class AppMetricsPrometheusRequestMessage : JsonMessage
{
public override string Name => "services.metrics.prometheus.request";
}
public sealed class AppMetricsPrometheusResponseMessage : JsonMessage
{
public override strin... |
Src/Aktores.Core.Tests/LambdaActor.cs | ajlopez/Aktores | 3 | 7052622 | namespace Aktores.Core.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class LambdaActor : Actor
{
private Action<object> fn;
public LambdaActor(Action<object> fn)
{
this.fn = fn;
}
... |
WatchDog/PollingWatcher.cs | ralphy15/WatchDog | 6 | 7052623 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Timers;
using WatchDog.Changes;
namespace WatchDog
{
public class PollingWatcher : AbstractWatcher, IPollable
{
public Timer Timer { get; private set; }
public double PollInterval { get; private ... |
sdk/dotnet/Database/Outputs/DbSystemDbHomeDatabase.cs | EladGabay/pulumi-oci | 5 | 7052624 | <reponame>EladGabay/pulumi-oci
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
usi... |
SendNotice/Data/SendNoticeContext.cs | kibe1/productivityAPI-master | 0 | 7052625 | using Microsoft.EntityFrameworkCore;
using SendNotice.Models;
namespace SendNotice.Data
{
public class SendNoticeContext : DbContext
{
public SendNoticeContext(DbContextOptions<SendNoticeContext> opt) : base(opt)
{
}
public DbSet<Notice> Notices { get; set; }
... |
src/Microsoft.VisualStudio.Project.IntegrationTests/TestProject.cs | jjzhang166/androidplus | 3 | 7052626 | /********************************************************************************************
Copyright (c) Microsoft Corporation
All rights reserved.
Microsoft Public License:
This license governs use of the accompanying software. If you use the software, you
accept this license. If you do not accept the licens... |
Tools/MessageReceiver.cs | mousebyte/MouseNet | 0 | 7052627 | using System;
using System.IO;
using System.IO.Pipes;
using System.Threading;
using System.Threading.Tasks;
namespace MouseNet.Tools
{
/// <summary>
/// Contains information about a <see cref="MessageReceiver"/> event.
/// </summary>
public class MessageStringEventArgs : EventArgs {
/// <summ... |
StartRazorPages/Pages/Shared/_Layout1.cshtml | WaltChen/StartRazorPages | 3 | 7052628 | <filename>StartRazorPages/Pages/Shared/_Layout1.cshtml
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>@ViewData["Title"] - StartRa... |
src/Deeply.Tests/SqlBulkRepositoryFacts.cs | jsnape/deeply | 17 | 7052629 | #region Copyright (c) 2013 <NAME>
// <copyright file="SqlBulkRepositoryFacts.cs" company="<NAME>">
// Copyright 2013 <NAME>
//
// 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
//
// h... |
GPS_Distance/Models/DistanceResult.cs | gemzon/GPSDistanceMeasure | 0 | 7052630 | <reponame>gemzon/GPSDistanceMeasure
namespace GPS_Distance.Models
{
using DistanceCalculator.Helpers;
using DistanceCalculator.Models;
public class DistanceResult : Route
{
public DistanceResult(Location start, Location end, Unit selectedUnit) : base(start, end)
{
ChangeUni... |
JSONAPI.EntityFramework.Tests/Models/Backlink.cs | csantero/JSONAPI.NET | 0 | 7052632 | <filename>JSONAPI.EntityFramework.Tests/Models/Backlink.cs<gh_stars>0
using JSONAPI.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JSONAPI.EntityFramework.Tests.Models
{
public class Backlink
{
[UseAsId]
[System.ComponentModel.DataAn... |
sources/set.web/Views/Home/Contact.cshtml | cihancoskun/set-web | 1 | 7052633 | <filename>sources/set.web/Views/Home/Contact.cshtml
@model ContactMessageModel
@{
ViewBag.Title = Html.LocalizationString("contact_view_title");
}
<div class="row">
<h3>@ViewBag.Title</h3>
<hr />
</div>
@Html.Partial("_Msg")
<div class="row">
<div class="col-md-6">
@if (!Model.IsO... |
Brick Breaker/Assets/Scripts/ScreenTouch.cs | oguzhan2142/Brick-Breaker-3D | 2 | 7052634 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.Linq;
public class ScreenTouch : MonoBehaviour
{
private float maxDeltaY = Screen.height / 3;
[SerializeField] private Plank plank = null;
private float speed = 15f;
[SerializeField]... |
ItemGenerator/MasterData/ItemDrop.cs | elky84/ItemGenerator | 1 | 7052635 | using System;
using System.Collections.Generic;
using System.Drawing;
using Newtonsoft.Json;
using EnumExtend;
using ItemGenerator.Types;
namespace ItemGenerator.MasterData
{
public partial class ItemDrop
{
public string? Id { get; set; }
[JsonConverter(typeof(JsonEnumConverter<ItemType>))]
... |
Core.SqlScripting/Common/Syntax/CreateTable/TableConstraints/IndexedColumn.cs | capjan/SqlScripting | 0 | 7052636 | using Core.SqlScripting.SQLite.Syntax.Enums;
namespace Core.SqlScripting.Common.Syntax.CreateTable.TableConstraints
{
public class IndexedColumn
{
public string ColumnName { get; set; }
public SortOrder Order { get; set; }
public IndexedColumn(string name, SortOrder order = So... |
RexT/Converters/CollectionToVisibilityConverter.cs | lerwine/RexT | 0 | 7052637 | using System;
using System.Collections;
using System.Windows;
using System.Windows.Data;
namespace Erwine.Leonard.T.RexT.Converters
{
public class CollectionToVisibilityConverter : DependencyObject, IValueConverter
{
#region EmptyValue Property Members
public const string PropertyName_EmptyVa... |
src/Runtime/Blend/Interactions/ExceptionStringTable.Designer.cs | dvs99/OpenSilver | 0 | 7052638 | <filename>src/Runtime/Blend/Interactions/ExceptionStringTable.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and... |
src/Services/FoodBank.Services.ViewModels/MarketViewModel.cs | MihailNMihaylov/FoodBanks | 0 | 7052639 | <gh_stars>0
using FoodBank.Data.Models;
using FoodBank.Services.Mapping;
using System;
using System.Collections.Generic;
using System.Text;
namespace FoodBank.Services.ViewModels
{
public class MarketViewModel : IMapFrom<Market>
{
public int Id { get; set; }
public string Location { get; set;... |
MicroSiteMaker.Services/SiteBuilderService.cs | ScottLilly/MicroSiteMaker | 2 | 7052640 | <filename>MicroSiteMaker.Services/SiteBuilderService.cs
using System.Text.RegularExpressions;
using Markdig;
using MicroSiteMaker.Core;
using MicroSiteMaker.Models;
namespace MicroSiteMaker.Services;
public static class SiteBuilderService
{
private static bool s_follow = true;
private static bool s_index = t... |
ggj-2019/Assets/ArtBar/TruckDatabase.cs | PsichiX/ggj-2019 | 1 | 7052641 | <filename>ggj-2019/Assets/ArtBar/TruckDatabase.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GaryMoveOut
{
[CreateAssetMenu(menuName = "ScriptableObjects/Truck Database")]
public class TruckDatabase : ScriptableObject
{
public List<GameObject> truckPre... |
FacebookMyFriends/Form1.Designer.cs | NeoTRAN001/FacebookMyFriends | 1 | 7052642 | namespace FacebookMyFriends
{
partial class Form1
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
... |
LoopTasks/LoopTask4_3/LoopTask4_3/Program.cs | Ketomaa/programming-basics-2019 | 0 | 7052643 | using System;
namespace LoopTask4_3
{
class Program
{
static void Main(string[] args)
{
int n = 0;
int num1;
int num2;
int num3;
int num4;
int num5;
Random rnd = new Random();
Console.WriteLine("Vas... |
Solution/FastHashes.Benchmarks/Clock.cs | TommasoBelluzzo/FastHashes | 23 | 7052644 | using System;
using System.Diagnostics;
using System.Threading;
namespace FastHashes.Benchmarks
{
public sealed class Clock : IDisposable
{
#region Constants
private const Int64 TICKS_MULTIPLIER = 1000 * TimeSpan.TicksPerMillisecond;
#endregion
#region Members
privat... |
src/Nager.Country.Translation/LanguageTranslations/FrenchLanguageTranslation.cs | Tri125/Nager.Country | 40 | 7052645 | namespace Nager.Country.Translation.LanguageTranslations
{
public class FrenchLanguageTranslation : ILanguageTranslation
{
///<inheritdoc/>
public string CommonName => "French";
///<inheritdoc/>
public string OfficialName => "français, langue française";
///<inheritdoc/>... |
dotnet/src/Carbonfrost.Commons.Web.Dom/DomAttributeEvent.cs | Carbonfrost/f-web-dom | 0 | 7052646 | //
// Copyright 2020 Carbonfrost Systems, Inc. (https://carbonfrost.com)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless... |
The Swarm/Assets/Scripts/Managers/GameManager.cs | Kaynn-Cahya/The-Swarm | 0 | 7052647 | using Entities;
using MyBox;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace Managers {
public class GameManager : MonoSingleton<GameManager> {
#region GameInterface
[System.Serializable]
private class GameInterface {
... |
src/Orchard.Web/Modules/Orchard.MediaProcessing/Shapes/MediaShapes.cs | jdages/AndrewsHouse | 3 | 7052648 | <filename>src/Orchard.Web/Modules/Orchard.MediaProcessing/Shapes/MediaShapes.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using Orchard.ContentManagement;
using Orchard.DisplayManagement;
using Orchard.Environment;
using Orchard.Forms.Services;
using Orchard.L... |
CliTranslate/TranslateUtility.cs | B-head/Dreit-prototype | 0 | 7052649 | <filename>CliTranslate/TranslateUtility.cs<gh_stars>0
using AbstractSyntax;
using AbstractSyntax.Symbol;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
namespace CliTranslate
{
static class ... |
Editor/TagPostProcessor.cs | darktable/TagPostProcessor | 0 | 7052650 | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using UnityEditor;
using UnityEditorInternal;
using UnityEngine;
using UnityEngine.AI;
namespace com.darktable.utility {
public class TagPostProcessor : UnityEditor.AssetModificationProcessor {... |
sdk/src/Services/Kendra/Generated/Model/GetSnapshotsResponse.cs | dariolingotti/aws-sdk-net | 1,705 | 7052651 | <reponame>dariolingotti/aws-sdk-net
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apa... |
05 Simple Loops/Odd-Even-Positions.cs | nikolaydechev/Programming-Basics | 0 | 7052652 | <reponame>nikolaydechev/Programming-Basics
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Odd_Even_Positions
{
class Program
{
static void Main(string[] args)
{
var n = double.Parse(Console.ReadLine());
... |
Source/Haven.Resources.Formats.Ini/Utils/ImageUtils.cs | k-t/haven-dotnet | 2 | 7052653 | <reponame>k-t/haven-dotnet
using System.Drawing;
using System.IO;
namespace Haven.Resources.Formats.Ini.Utils
{
internal static class ImageUtils
{
public static string GetImageFileExtension(byte[] imageData)
{
using (var image = Image.FromStream(new MemoryStream(imageData)))
{
var formatName = new Ima... |
Assets/GameMain/Scripts/Correction/TrackC.cs | luty4ng/NO-GAME-NO-LIFE | 4 | 7052654 | <reponame>luty4ng/NO-GAME-NO-LIFE<filename>Assets/GameMain/Scripts/Correction/TrackC.cs
using UnityEngine;
using System.Collections.Generic;
using SonicBloom.Koreo;
using GameKit;
using UnityEngine.UI;
public class TrackC : MonoBehaviour
{
public List<string> matchedPayloads = new List<string>();
public RectTr... |
SolidCP/Sources/ACMESharp/ACMESharp/ACMESharp/Messages/ChallengeAnswerRequest.cs | NAGeorge/SolidCP-fork | 2 | 7052655 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ACMESharp.ACME;
namespace ACMESharp.Messages
{
public class ChallengeAnswerRequest : RequestMessage, IReadOnlyDictionary<string, object>
{
private readonl... |
Components/Transform.cs | Goreeeo/OverdriveEngine | 0 | 7052656 | namespace OverdriveEngine
{
/// <summary>
/// Contains the location of an object.
/// </summary>
public class Transform : Component
{
/// <summary>
/// The position of the object.
/// </summary>
public Vector2 Position;
/// <summary>
/// The scale of ... |
Philcosa.Application/Features/CoverValues/Queries/GetAll/GetAllCoverValuesResponse.cs | HenkVanMilligen/Philcosa | 0 | 7052657 | <reponame>HenkVanMilligen/Philcosa
using Philcosa.Domain.Entities;
using System.Collections.Generic;
namespace Philcosa.Application.Features.CoverValues.Queries.GetAll
{
public class GetAllCoverValuesResponse
{
public int Id { get; set; }
public string Code { get; set; }
public decimal... |
Dexter/Events/Proposals.cs | Frostrix/Dexter | 1 | 7052658 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Dexter.Abstractions;
using Dexter.Configurations;
using Dexter.Databases.AdminConfirmations;
using Dexter.Databases.EventTimers;
using Dexter.Databases.Proposals;
using Dexter.Databases.UserRestriction... |
arpg_prg/nativeclient_prg/Assets/Code/Client/GameNet/Model/Protocol.cs | rusmass/wealthland_client | 0 | 7052659 | <gh_stars>0
using System;
/// <summary>
/// Protocol. 后台类型分类 登录,
/// </summary>
public class Protocol
{
/// <summary>
/// The WOSHO. 0 请求登录的握手响应
/// </summary>
public const int WOSHOU=0;
/// <summary>
/// 被踢除出服务器
/// </summary>
public const int TickedOutLine = 1;
/// <summary>
... |
generated/api/Models/ServerGroup.cs | Commvault/CVPowershellSDKV2 | 0 | 7052660 | <filename>generated/api/Models/ServerGroup.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator})
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Commvault.Powershell.Models
{
using static Commvault.Powershell.Runtim... |
test/FasTnT.UnitTest/FormattersTests/XmlFormatter/WhenParsingAnInvalidEventRequest.cs | louisaxel-ambroise/epcis-1 | 0 | 7052661 | <reponame>louisaxel-ambroise/epcis-1<gh_stars>0
using FasTnT.Formatters;
using FasTnT.Model;
using FasTnT.UnitTest.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
namespace FasTnT.UnitTest.XmlFormatter
{
[TestClass]
public class WhenParsingAnInvalidEventRequest : Bas... |
Assets/Scripts/ChangeCameraBackground.cs | Treyboyland/GGJ2022 | 0 | 7052662 | <reponame>Treyboyland/GGJ2022
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class ChangeCameraBackground : MonoBehaviour
{
[SerializeField]
Camera gameCamera;
[SerializeField]
TMP_Text text;
[SerializeField]
Color blackWins;
[Serialize... |
Official Windows Platform Sample/Windows7IntegrationLibrary_Sensor_and_Location/Windows7.SensorAndLocation/Location/EventHandlerDelegates.cs | zzgchina888/msdn-code-gallery-microsoft | 2 | 7052663 | <reponame>zzgchina888/msdn-code-gallery-microsoft
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
namespace Windows7.Location
{
/// <summary>
/// Handler for location change events.
/// </summary>
/// <param name="locationProvider">Location provider for which this event app... |
src/Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk/src/BuildTask.Desktop.cs | ulisesh/arcade | 1 | 7052664 | // 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 Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk
{
public abstract partial class BuildTask
{
... |
test/NJsonApiCore.Test/Serialization/IncludedResourcesTests.cs | brainwipe/NJsonApi-Core | 25 | 7052665 | <gh_stars>10-100
using NJsonApi;
using NJsonApi.Serialization;
using NJsonApi.Serialization.Representations.Resources;
using NJsonApi.Test.Builders;
using NJsonApi.Test.Fakes;
using NJsonApi.Test.TestModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
n... |
VS2013/Chapter_9/StreamWriterMagnets/StreamWriterMagnets/Program.cs | nickchobotar/HeadFirstC | 147 | 7052667 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StreamWriterMagnets
{
using System.IO;
class Program
{
static void Main(string[] args)
{
Flobbo f = new Flobbo("blue y... |
Scripts/BuildPipeline/Editor/WindowsPlayerSettings.cs | PenseCre/PacotePenseCre | 1 | 7052668 | using UnityEngine;
using UnityEditor;
namespace PacotePenseCre.Editor.BuildPipeline
{
public abstract class WindowsPlayerSettings
{
public abstract void ApplySettings(string applicationName, string companyName);
protected void SetCommonSettings(string applicationName, string company... |
ETLBoxTest/src/DataFlow/TestDataFlowTransformation.cs | teodimache/etlbox | 1 | 7052669 | <reponame>teodimache/etlbox
using ALE.ETLBox;
using ALE.ETLBox.ConnectionManager;
using ALE.ETLBox.ControlFlow;
using ALE.ETLBox.DataFlow;
using ALE.ETLBox.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace ALE.ETLBoxTest {
[TestClass]
public class TestDat... |
Library/PackageCache/com.unity.render-pipelines.lightweight@4.6.0-preview/Runtime/Passes/RenderTransparentForwardPass.cs | vabyz971/Tower-Defense | 26 | 7052670 | <filename>Library/PackageCache/com.unity.render-pipelines.lightweight@4.6.0-preview/Runtime/Passes/RenderTransparentForwardPass.cs
using System;
using UnityEngine.Rendering;
namespace UnityEngine.Experimental.Rendering.LightweightPipeline
{
/// <summary>
/// Render all transparent forward objects into the give... |
13.ListExercises/StuckZipper/StuckZipper.cs | vsaraminev/ProgrammingFundamentalsExtendedMay2017 | 0 | 7052671 | using System;
using System.Collections.Generic;
using System.Linq;
namespace StuckZipper
{
public class StuckZipper
{
public static void Main()
{
var firstList = Console.ReadLine()
.Split(' ')
.Select(int.Parse)
.ToList();
... |
Services/IContactService.cs | JPedroSilveira/csharp-webapi | 0 | 7052672 | using System.Collections.Generic;
using csharp_webapi.Entities;
namespace csharp_webapi.Services
{
public interface IContactService
{
/// <summary>
/// Find all contacts
/// </summary>
/// <returns>
/// IEnumerable with all contacts
/// </returns>
IEnume... |
tests/WebAuth.Tests/Managers/UserManagerTests.cs | LykkeCity/OAuth | 1 | 7052673 | <reponame>LykkeCity/OAuth
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using AspNet.Security.OpenIdConnect.Extensions;
using AspNet.Security.OpenIdConnect.Primitives;
using Common.Log;
using Core.Extensions;
using Lykke.Logs;
using Lykke... |
XNA_Products_Library/ShipGame/Ship.cs | sunyikang/xna | 0 | 7052674 | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace ShipGame
{
public delegate void FireDelega... |
Tests/CSharpCore/Unit/Objects/SysORDescrTestFixture.cs | gbutler69/sharpsnmplib | 1 | 7052675 | <filename>Tests/CSharpCore/Unit/Objects/SysORDescrTestFixture.cs
using Lextm.SharpSnmpLib.Objects;
using Lextm.SharpSnmpLib.Pipeline;
using Xunit;
namespace Lextm.SharpSnmpLib.Unit.Objects
{
public class SysORDescrTestFixture
{
[Fact]
public void Test()
{
var sys = new SysO... |
ScreenToGif/Model/ExportPresets/Video/Codecs/X265.cs | airen3339/ScreenToGif | 17,707 | 7052676 | using System.Collections.Generic;
using ScreenToGif.Util;
namespace ScreenToGif.Model.ExportPresets.Video.Codecs
{
public class X265 : VideoCodec
{
public X265()
{
Type = VideoCodecs.X265;
Name = "x265";
Command = "libx265";
CanSetCrf = true;
... |
ExemploDapper/ExemploDapper/Program.cs | carloscds/AspNetCoreOracle | 0 | 7052678 | <filename>ExemploDapper/ExemploDapper/Program.cs<gh_stars>0
using Oracle.ManagedDataAccess.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dapper;
using Dapper.Contrib.Extensions;
using ExemploEF.Models;
namespace ExemploDapper
{
cl... |
ARMC/ISSAutomaton.cs | matejchalk/ARMC | 0 | 7052679 | <filename>ARMC/ISSAutomaton.cs
/*
* Copyright (c) 2018 <NAME> <<EMAIL>>. All rights reserved.
* Licensed under the MIT License. See LICENSE.txt file in the project root for full license information.
*/
using System;
using System.Collections.Generic;
using Microsoft.Automata;
namespace ARMC
{
public enum Automato... |
lib/Secucard.Connect/SecucardConnect.cs | insperedia/secucard-connect-net-sdk | 0 | 7052680 | <reponame>insperedia/secucard-connect-net-sdk<gh_stars>0
using Secucard.Connect.Client.Config;
namespace Secucard.Connect
{
using System;
using System.Collections.Generic;
using System.IO;
using Secucard.Connect.Auth;
using Secucard.Connect.Client;
using Secucard.Connect.Net;
using Secucar... |
test/Banzai.Test/WhenRunningGroupNode.cs | eswann/Banzai | 49 | 7052681 | using System.Threading.Tasks;
using Xunit;
using FluentAssertions;
namespace Banzai.Test
{
public class WhenRunningGroupNode
{
[Fact]
public async Task Successful_Group_Run_Status_Is_Succeeded()
{
var groupNode = new GroupNode<TestObjectA>();
groupNode.Add... |
src/Assertive.Test/IsPatternTests.cs | new-black/Assertive | 3 | 7052682 | using Xunit;
namespace Assertive.Test
{
public class IsPatternTests : AssertionTestBase
{
[Fact]
public void IsPattern_works()
{
object o = "foo";
ShouldFail(() => o is int, "Expected o to be of type int but its actual type was string.");
ShouldFail(() => !(o is string), "Expec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.