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 |
|---|---|---|---|---|
Source/PhotoContest.Common/PictureUtills.cs | tockata/300mm | 4 | 7060519 | <filename>Source/PhotoContest.Common/PictureUtills.cs
namespace PhotoContest.Common
{
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.AspNet.Identity;
using PhotoContest.Models;
public class Pic... |
System.Speech/System.Speech.Recognition.SrgsGrammar/SrgsText.cs | aaasoft/Unoffical.System.Speech | 1 | 7060520 | using System.Diagnostics;
using System.Speech.Internal;
using System.Speech.Internal.SrgsParser;
using System.Xml;
namespace System.Speech.Recognition.SrgsGrammar
{
[Serializable]
[DebuggerDisplay("{DebuggerDisplayString ()}")]
public class SrgsText : SrgsElement, IElementText, IElement
{
private string _text = ... |
MapSuiteGisEditor/GisEditorPluginCore/LayerPlugins/TobinBasFeatureLayerPugin/Helper/BasEntityToFeatureEntityConverter.cs | hoangduit/MapSuiteGisEditor | 2 | 7060521 | /*
* 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 no... |
DirectN/DirectN/Generated/SpatialAudioObjectRenderStreamActivationParams.cs | riQQ/DirectN | 1 | 7060523 | <reponame>riQQ/DirectN
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\spatialaudioclient.h(137,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public partial struct SpatialAudioObjectRenderStreamActivationParams
... |
sources/Waves.UI.WPF/Base/MiscellaneousColorSet.cs | waves-framework/waves.ui.wpf | 12 | 7060524 | <gh_stars>10-100
using System;
using System.Windows;
namespace Waves.UI.WPF.Base
{
/// <summary>
/// Miscellaneous color set.
/// </summary>
public class MiscellaneousColorSet : UI.Services.MiscellaneousColorSet
{
/// <summary>
/// Creates new instance of <see cref="MiscellaneousCo... |
Runtime/Tag.cs | IntoTheDev/MultiTag-System-for-Unity | 113 | 7060525 | <filename>Runtime/Tag.cs
#if ODIN_INSPECTOR
using Sirenix.OdinInspector;
#endif
using System.Collections.Generic;
using UnityEngine;
namespace ToolBox.Tags
{
[CreateAssetMenu(menuName = "ToolBox/Tags/Tag")]
#if ODIN_INSPECTOR
[AssetSelector, Required]
#endif
public sealed class Tag : ScriptableObject
{
private r... |
Azylee.Utils/Azylee.Core/DbUtils/DbSqls/DbSqlTool.cs | a5550452/Fork | 492 | 7060526 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Azylee.Core.DbUtils.DbSqls
{
public class DbSqlTool
{
// 目前预制的SQL语句都在 AppConfigDBItem 类中
}
}
|
Otel Otomasyon Projesi-YZM3101/Otel Otomasyon Projesi-YZM3101/T/frmOnOdemeliRezervasyonBilgileriDegistirme.cs | tugrulcan/Otel-Otomasyon-Sistemi | 0 | 7060527 | 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 Otel_Otomasyon_Projesi_YZM3101
{
public partial class frmOnOdemeliRezervasyonBilgileriDegis... |
src/WinAppDriver/IApplication.cs | PeterDaveHello/winappdriver | 138 | 7060528 | namespace WinAppDriver
{
internal interface IApplication
{
string DriverAppID { get; }
Capabilities Capabilities { get; }
string StatesDir { get; }
IPackageInstaller Installer { get; }
bool IsInstalled();
void Activate();
void Termin... |
Parser/ITextSharpParser.cs | leoparddne/PDFParser | 0 | 7060529 | <reponame>leoparddne/PDFParser
using iTextSharp.text.pdf;
using iTextSharp.text.pdf.parser;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Parser
{
public static class ITextSharpParser
{
public static PdfRe... |
Mystique/Views/Converters/Particular/CountOverToTrueConverter.cs | ktoku89/Mystique | 1 | 7060530 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Data;
namespace Mystique.Views.Converters.Particular
{
public class CountOverToTrueConverter : OneWayConverter<int, bool>
{
public override bool ToTarget(int input, object parameter)
{
... |
King.Service.ServiceBus/Enums.cs | jefking/King.Service.ServiceBus | 9 | 7060531 | <reponame>jefking/King.Service.ServiceBus
namespace King.Service.ServiceBus
{
/// <summary>
/// Encoding
/// </summary>
public enum Encoding : byte
{
Binary = 0,
Json = 1,
}
} |
src/Warden/IWardenIteration.cs | pawlos/Warden | 531 | 7060532 | using System;
using System.Collections.Generic;
using System.Linq;
using Warden.Core;
namespace Warden
{
/// <summary>
/// IWardenIteration has the number (ordinal) of the executed iteration (e.g. 1,2,3 ... N) and the collection of the IWardenCheckResult.
/// For example, let's say you have added 3 watch... |
Loops/PrintDeckOf52Cards/PrintDeckOf52Cards.cs | Gecata-/CSharp--Part1-Telerik | 0 | 7060533 | <filename>Loops/PrintDeckOf52Cards/PrintDeckOf52Cards.cs
//Problem 4. Print a Deck of 52 Cards
//Write a program that generates and prints all possible cards from a standard deck of 52 cards (without the jokers).
//The cards should be printed using the classical notation (like 5 of spades, A of hearts, 9 of clubs; an... |
04_Region/04_Region/ViewModels/MainWindowViewModel.cs | hanjejo/PrismSeminar | 0 | 7060534 | <gh_stars>0
using _04_Region.Views;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04_Region.ViewModels
{
public class MainWindowViewModel
{
public MainWindowViewModel(IRegionManager regionManager)
... |
Iyzipay.Samples/DisapproveSample.cs | erhmutlu/iyzipay-dotnet | 121 | 7060536 | <filename>Iyzipay.Samples/DisapproveSample.cs
using Iyzipay.Request;
using Iyzipay.Model;
using NUnit.Framework;
namespace Iyzipay.Samples
{
public class DisapproveSample : Sample
{
[Test]
public void Should_Disapprove_Payment_Item()
{
CreateApprovalRequest request = new Cr... |
Team_01_protogame_2.0/Assets/Justins Stuff/Dialouge.cs | jzraiti/Team_1_protogame_2.0 | 0 | 7060537 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Dialouge : MonoBehaviour
{
// Start is called before the first frame update
public float timeLeft;
public int enemiesLeft;
public Text DialougeText;
public int drunkness;
p... |
ReqIFSharp/ReqIFContent.cs | RHEAGROUP/reqifsharp | 15 | 7060538 | // -------------------------------------------------------------------------------------------------
// <copyright file="ReqIFContent.cs" company="RHEA System S.A.">
//
// Copyright 2017 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in ... |
Source/Web/SciHub.Web/Areas/TvShow/Controllers/HomeController.cs | Vyara/SciHub | 0 | 7060539 | namespace SciHub.Web.Areas.TvShow.Controllers
{
using System.Web.Mvc;
using Web.Controllers;
using System.Linq;
using SciHub.Common.Constants;
using SciHub.Web.Infrastructure.Mapping;
using SciHub.Services.Data.Contracts.Comment;
using SciHub.Web.Areas.TvShow.ViewModels.TvShows;
public... |
Form1.Designer.cs | binhnguyen86/XDebug | 0 | 7060540 | <filename>Form1.Designer.cs
namespace XDebug
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </su... |
AgroAppWeb/AgroAppWeb/obj/Debug/netcoreapp2.1/Razor/Views/Private/PhaseForm.g.cshtml.cs | neilvla/ProjectMVC | 0 | 7060541 | #pragma checksum "F:\Tesis\AgroApp-Tesis\AgroAppWebSite\AgroAppWeb\AgroAppWeb\Views\Private\PhaseForm.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8b8435a3313cb83d47a3a97127abb3fef7c1ff90"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttri... |
src/Plato/Threading/BaseThread.cs | reflectsoftware/Plato.NET | 11 | 7060542 | <filename>src/Plato/Threading/BaseThread.cs
// Plato.NET
// Copyright (c) 2017 ReflectSoftware Inc.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Plato.Core.Logging;
using Plato.Core.Logging.Enums;
using Plato.Core.Logging.Interfaces;
using Plat... |
templates/Watch/Features/Location/Resources/AppResources.Designer_postaction.cs | Samsung/TizenTemplateStudio | 6 | 7060543 | <filename>templates/Watch/Features/Location/Resources/AppResources.Designer_postaction.cs
public class AppResources {
//^^
//{[{
/// <summary>
/// Looks up a localized string similar to Updating is already started.
/// </summary>
public static string ExceptionLocationServiceAlreadyStarted {
... |
src/platform/toolkit/messaging/IMessenger.cs | nohros/nohros-must | 0 | 7060544 | <reponame>nohros/nohros-must
using System;
using System.Collections.Generic;
using System.Text;
namespace Nohros.Toolkit.Messaging
{
/// <summary>
/// Represents a special-purpose class whose primary function is to
/// delivery messages to foreign messaging systems, and also, to translate
/// the <see... |
Nesix_ChatServer_V1.nn/NesixChatServerV1/ServerFrm.cs | LightDiodeDesignsUK/NesixNetServers | 0 | 7060545 | 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 NesixChatServerV1
{
public partial class ServerFrm : Form
{
publ... |
tests/GEmojiSharp.Tests/TagHelpers/EmojiAttributeTagHelperTests.cs | timheuer/GEmojiSharp | 12 | 7060546 | <gh_stars>10-100
using System.Threading.Tasks;
using FluentAssertions;
using GEmojiSharp.TagHelpers;
using Microsoft.AspNetCore.Razor.TagHelpers;
using NUnit.Framework;
namespace GEmojiSharp.Tests.TagHelpers
{
public class EmojiAttributeTagHelperTests
{
[Test]
public void ProcessAsync()
... |
OpenTibia/Assets/Scripts/UI/Legacy/WorldMapWidget.cs | nekiro/OpenTibia-Unity2 | 4 | 7060547 | using System.IO;
using OpenTibiaUnity.Core.Appearances;
using OpenTibiaUnity.Core.Components;
using OpenTibiaUnity.Core.Creatures;
using OpenTibiaUnity.Core.Game;
using OpenTibiaUnity.Core.Input.GameAction;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityUI = UnityEngine.UI;
us... |
EIDSS v5/vb/EIDSS/EIDSS.RAM_DB/Common/CommandProcessing/Commands/Layout/QueryCommand.cs | EIDSS/EIDSS-Legacy | 2 | 7060548 | namespace EIDSS.RAM_DB.Common.CommandProcessing.Commands.Layout
{
public class QueryCommand : Command
{
private readonly QueryOperation m_Operation;
public QueryCommand(object sender, QueryOperation operation) : base(sender)
{
m_Operation = operation;
}
... |
samples/HttpClient.iOS/DotNet.cs | PawOrmstrupMadsen/ModernHttpClient | 503 | 7060549 | //
// This file contains the sample code to use System.Net.WebRequest
// on the iPhone to communicate with HTTP and HTTPS servers
//
// Author:
// <NAME>
//
using System;
using System.Net;
using Foundation;
using System.Security.Cryptography.X509Certificates;
using System.Diagnostics;
namespace HttpClient
{
public... |
DefaultPlugins/GlobalcachingApplication.Plugins.ExportGarminPOI/GarminPOIExport.cs | GlobalcachingEU/GAPP | 2 | 7060550 | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Windows.Forms;
using System.Diagnostics;
using Microsoft.Win32;
using System.Threading.Tasks;//for POI Loader Registry Access (set Directory)
namespace GlobalcachingA... |
DesignPatterns-CreationalPatterns/FactoryMethod/VehiclesCreator/Vehicles/Peugeot308.cs | elipopovadev/High-Quality-Code- | 2 | 7060551 | <filename>DesignPatterns-CreationalPatterns/FactoryMethod/VehiclesCreator/Vehicles/Peugeot308.cs
namespace VehiclesCreator.Vehicles
{
public class Peugeot308 : Vehicle
{
public Peugeot308()
{
base.FuelQuantity = 60d;
base.FuelConsumption = 5;
}
}
}
|
Samples/NopeCommerce/Presentation/Nop.Web/Areas/Admin/Controllers/ShoppingCartController.cs | PeterPann23/FireWall | 4 | 7060552 | <reponame>PeterPann23/FireWall
using System;
using Microsoft.AspNetCore.Mvc;
using Nop.Services.Customers;
using Nop.Services.Orders;
using Nop.Services.Security;
using Nop.Web.Areas.Admin.Factories;
using Nop.Web.Areas.Admin.Models.ShoppingCart;
using Nop.Web.Framework.Mvc;
namespace Nop.Web.Areas.Admin.Controllers
... |
src/modules/BodeAbp.Activity/Activities/ModelConfigs/ClassifyConfiguration.cs | liuxx001/BodeAbp | 70 | 7060554 | <filename>src/modules/BodeAbp.Activity/Activities/ModelConfigs/ClassifyConfiguration.cs<gh_stars>10-100
using Abp.EntityFramework;
using BodeAbp.Activity.Activities.Domain;
namespace BodeAbp.Activity.Activities.ModelConfigs
{
public class ClassifyConfiguration : EntityConfigurationBase<Classify, int>
{
pub... |
src/GoldSource.Registry/IRegistry.cs | UAVXP/SharpLife-Wrapper | 2 | 7060555 | /***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* This source code contains proprietary and confidential information of
* Valve ... |
src/Fhir.Anonymizer.Core/Validation/ResourceNotValidException.cs | sowu880/FHIR-Tools-for-Anonymization | 0 | 7060556 | <reponame>sowu880/FHIR-Tools-for-Anonymization
using System;
namespace Fhir.Anonymizer.Core.Validation
{
public class ResourceNotValidException : Exception
{
public ResourceNotValidException(string message) : base(message)
{
}
}
}
|
Services.Packages/DAL/Services.Packages.Security.PurchaseAccessControlList.cs | phaetto/services-update | 0 | 7060557 | <reponame>phaetto/services-update<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using Platform.Runtime;
using System.Data.Common;
using System.Runtime.InteropServices;
using System.ServiceModel;
using System.Runtime.Serialization;
using System.Web.Services;
using System.Web.UI;
/*
* Hi... |
NewHome/Assets/Scripts/GameScripts/FuzzyLogicLibrary/FuzzyRule.cs | ACME-Space-Exploration/new-home | 0 | 7060558 | /*
*
* fuzzynet: Fuzzy Logic Library for Microsoft .NET
* Copyright (C) 2008 <NAME> (<EMAIL>)
*
* */
using System;
using System.Collections.Generic;
namespace AI.Fuzzy.Library
{
// Alias for a fuzzy conclusion for Mamdani systems
using FuzzyConclusion = SingleCondition<FuzzyVariable, FuzzyTerm>;
... |
src/stream-net-tests/SigningTest.cs | MichaelMcClenaghan/stream-net | 2 | 7060560 | using System;
using NUnit.Framework;
using Stream;
namespace stream_net_tests
{
[Parallelizable(ParallelScope.Self)]
[TestFixture]
public class SigningTest
{
[Test]
public void TokenIsValid()
{
var client = new StreamClient("key", "<KEY>");
... |
C# Web Development Basics/WebServer-AllExercises/MyWebServer/GameStoreApplication/Controllers/BaseController.cs | Rusev12/Software-University-SoftUni | 0 | 7060561 | namespace MyWebServer.GameStoreApplication.Controllers
{
using GameStoreApplication.Services.Contracts;
using GameStoreApplication.Common;
using GameStoreApplication.Services;
using MyWebServer.Infrastructure;
using Server.Http;
using Server.Http.Contracts;
public abstract class BaseContro... |
Entity Framework/CSharp Auto Mapping Objects/BookShop/StartUp.cs | tonchevaAleksandra/Microsoft-SQL-SoftUni-Problems | 8 | 7060562 | <filename>Entity Framework/CSharp Auto Mapping Objects/BookShop/StartUp.cs
namespace BookShop
{
using BookShop.Data.ViewModels;
using BookShop.Models;
using BookShop.Models.Enums;
using Data;
using Initializer;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.... |
Dorsavi.Xamarin/Dorsavi.Xamarin.Forms/Dorsavi.Xamarin.Forms/Helpers/DeviceApiHelpers.cs | TheArchitect123/Dorsavi.Xamarin.Forms.Prism | 0 | 7060563 | namespace Dorsavi.Xamarin.Forms.Helpers
{
using global::Xamarin.Forms;
internal static class DeviceApiHelpers
{
public static bool isUWP() => Device.RuntimePlatform == Device.UWP;
public static bool isDroid() => Device.RuntimePlatform == Device.Android;
public static bool isiOS() =... |
src/TimeCalc/Services/LocalStorage.cs | michaelrp/TimeCalc | 0 | 7060564 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.JSInterop;
using TimeCalc.Models;
namespace TimeCalc.Services
{
public class LocalStorage : ILocalStorage
{
private readonly IJSRuntime jsRuntime;
public Loc... |
2D_Physics_Engine_NEA/2D_Physics_Engine_NEA/Physics/PhysicsBody.cs | ScottRWood/2D-Physics-Engine | 0 | 7060565 | using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using NEA_Physics_Engine.Physics.Properties;
using NEA_Physics_Engine.Rendering;
using NEA_Physics_Engine.Interfaces;
using NEA_Physics_Engine.Input;
using NEA_Physics_Engine.Utilities;
namespace NEA_Physics_Engine.Physics
{
//Keep... |
WWAudioFilterCore/AudioDataPerChannel.cs | yamamoto2002/bitspersampleconv2 | 0 | 7060567 | // 日本語。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PcmDataLib;
namespace WWAudioFilterCore {
public struct AudioDataPerChannel {
public WWUtil.LargeArray<byte> mData;
public long mOffsBytes;
/// <summary>
/// これは、サンプル数。1bitデータのとき、mD... |
src/Utf8Json/Internal/BinaryUtil.cs | Spreads/Utf8Json | 14 | 7060568 | using System;
using System.Diagnostics;
#if NETSTANDARD
using System.Runtime.CompilerServices;
#endif
namespace Spreads.Serialization.Utf8Json.Internal
{
public static class BinaryUtil
{
private const int ArrayMaxSize = 0x7FFFFFC7; // https://msdn.microsoft.com/en-us/library/system.array
#if NETST... |
Selenium.Automation.Framework/Browser.cs | vitalishcharbin/Selenium.Automation.Framework | 4 | 7060569 | <reponame>vitalishcharbin/Selenium.Automation.Framework
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Drawing.Imaging;
using System.IO;
using FluentAssertions;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.I... |
src/Compilers/Compilers.Common/StringBuilderReader.cs | DavidWang88/VBF | 408 | 7060570 | // Copyright 2012 <NAME>
//
// This file is part of the VBF project.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... |
Microsoft.Extensions.Caching.ServiceFabric/ServiceFabricCache.cs | sergeprivan/sf-sessionstateprovider | 2 | 7060571 | using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Caching.ServiceFabric.UserSession.Interfaces;
using Microsoft.Extensions.Options;
namespace Microsoft.Extensions.Caching.ServiceFabric
{
public class Se... |
BaristaBuddyApi/Repositories/IOrderItemRepository.cs | BaristaBuddy/BaristaBuddyAPIMaster | 0 | 7060572 | using BaristaBuddyApi.Models.DTO;
using BaristaBuddyApi.Models.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BaristaBuddyApi.Repositories
{
public interface IOrderItemRepository
{
Task<OrderItemDTO> CreateNewOrderItem(OrderItem ord... |
OnlineCinema/OC.Domain/Models/UserRestore.cs | Yaroslav08/OnlineCinema | 0 | 7060573 | <reponame>Yaroslav08/OnlineCinema
using System.ComponentModel.DataAnnotations;
namespace OC.Domain.Models
{
public class UserRestore : BaseModel<int>
{
[Required, MinLength(8), MaxLength(8)]
public string Code { get; set; }
public int UserId { get; set; }
public User User { get;... |
MARS geofencing/Library/PackageCache/com.unity.mars-companion-core@0.3.11-preview/Runtime/Scripts/CompanionSceneUtils.cs | bsides44/MARSGeofencing | 0 | 7060574 | <filename>MARS geofencing/Library/PackageCache/com.unity.mars-companion-core@0.3.11-preview/Runtime/Scripts/CompanionSceneUtils.cs
// #define MARS_COMPANION_DATA_LOG
using System;
using System.Collections.Generic;
using System.IO;
using Unity.MARS.Companion.Analytics;
using Unity.MARS.Companion.CloudStorage;
using Un... |
MyBase/Logging/TraceLogger.cs | kawasawa/MyBase | 0 | 7060575 | using System;
using System.Diagnostics;
namespace MyBase.Logging
{
/// <summary>
/// トレースリスナーにメッセージを出力するためのロガーを表します。
/// </summary>
public class TraceLogger : ILoggerFacade
{
/// <summary>
/// ログが出力されるときに発生します。
/// </summary>
public event EventHandler<LogEventArgs> ... |
NotBook.Api/Models/Note/validator/NoteRateRequestValidator.cs | dorukBen/notbook-server | 3 | 7060576 | <filename>NotBook.Api/Models/Note/validator/NoteRateRequestValidator.cs<gh_stars>1-10
using FluentValidation;
using NotBook.Api.Models.Note.Request;
namespace NotBook.Api.Models.Note.validator
{
public class NoteRateRequestValidator : AbstractValidator<NoteRateRequest>
{
public NoteRateRequestValidator... |
Source/PrimerLibrary/Tweening/Lerpers/Vector3Lerper.cs | Shkyrockett/Primer | 0 | 7060577 | // <copyright file="Vector3Lerper.cs" company="Shkyrockett" >
// Copyright © 2013 - 2018 <NAME>. All rights reserved.
// </copyright>
// <author id="jacobalbano"><NAME></author>
// <license>
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </license>
// <... |
CSharp/ULearn/Rectangles/Program.cs | VsIG-official/Study-Projects | 2 | 7060578 | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using TestingRoom;
namespace Rectangles
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
private static void Main()
... |
src/Rest/Responses/StatusResponse.cs | blocksentinel/carbon-dotnet-sdk | 2 | 7060580 | using System.Text.Json.Serialization;
namespace CarbonSDK.Rest.Responses
{
public class StatusResponse
{
public string JsonRpc { get; set; }
public int Id { get; set; }
public ResultItem Result { get; set; }
public class ResultItem
{
[JsonPropertyName("node... |
ChsuStudent/ScheduleClasses/Exam.cs | ChipsetSV/CHSUStudent | 0 | 7060581 | using System;
using System.Linq.Expressions;
using ChsuStudent.Enums;
namespace ChsuStudent.ScheduleClasses
{
/// <summary>
/// Класс экзамена
/// </summary>
public class Exam: IComparable
{
public DateTime DateExam { get; set; }
public DayOfWeek DayOfWeek { get; set; }
pub... |
src/test/Application/Neurons/Commands/CreateNeuronFixture.cs | Neurul/Brain | 2 | 7060582 | <filename>src/test/Application/Neurons/Commands/CreateNeuronFixture.cs
using neurUL.Common.Test;
using neurUL.Cortex.Application.Neurons;
using neurUL.Cortex.Application.Neurons.Commands;
using System;
using Xunit;
namespace neurUL.Cortex.Application.Test.Neurons.Commands.CreateNeuronFixture.given
{
public abstra... |
MsgQueue/MqInitial.cs | 180579045/CSharpLearn | 20 | 7060583 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MsgQueue
{
public class MqInitial
{
public static void Init()
{
PubSubServer.GetInstance().InitServer(CommonPort.PubServerPort, CommonPort.SubServerPort);
Subscrib... |
Programming Essentials/Assets/Scripts/Solutions/CoroutineTypewriter.cs | kadeadams/studio-advanced-tutorials-f21 | 0 | 7060584 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Text; // Used for StringBuilder
using TMPro; // Used for TextMeshPro
public class CoroutineTypewriter : MonoBehaviour
{
[SerializeField] private float delay = 0.05f; // How long to wait between characters
... |
src/MySqlRestApi/Controllers/MySqlDataController.cs | mrityunjaya-kumar/mysql-to-rest | 0 | 7060585 | using MySql.Data.MySqlClient;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Web... |
ApplicationGUI/ViewModels/CommandViewModel.cs | AUsfy/command-pad-wpf | 0 | 7060586 | <gh_stars>0
using System;
using System.Windows.Input;
using Models;
namespace CmdProject.ViewModels
{
public class CommandViewModel : BaseViewModel
{
private CommandModel _cmd;
private Action<BaseViewModel> _updateViewModel;
private Action<CommandModel> _addCommandsToList;
pu... |
Assets/Application/Scripts/Test1/AppAstralActionNpcCogitation.cs | fullmoonhalf/until | 0 | 7060587 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.AI;
using until.modules.astral;
using until.utils;
namespace until.test
{
public class AppAstralActionNpcCogitation : AppAstralActionCogitation
... |
SimControls.NetworkCommon/NetworkVariableBinders/NetworkVariableEntry.cs | DrJohnMelville/SimControls | 0 | 7060588 | <reponame>DrJohnMelville/SimControls<gh_stars>0
using System;
using Melville.INPC;
using Melville.P2P.Raw.BinaryObjectPipes;
using SimControls.Model;
using SimControls.NetworkCommon.DataClasses;
namespace SimControls.NetworkCommon.NetworkVariableBinders
{
public abstract class NetworkVariableEntry
{
p... |
Tests/Objects/КлассСМножествомТипов.cs | Flexberry/NewPlatform.Flexberry.ORM.ODataService | 1 | 7060589 | //------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </... |
Web/Views/Account/ForgotPassword.cshtml | nathnael/cats | 1 | 7060591 | <reponame>nathnael/cats
@{
ViewBag.Title = "Forgot Password";
}
<h2>Forgot Password</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<fieldset>
<legend>Forgot Password Form</legend>
<ol>
<li>
@Html.Label("User Name", new { @for = "UserName" })
... |
Assets/SubmarineMirageFrameworkForUnity/Scripts/System/Audio/Manager/IAudioManager.cs | FromSeabedOfReverie/SubmarineMirageFrameworkForUnity | 30 | 7060592 | //---------------------------------------------------------------------------------------------------------
// ▽ Submarine Mirage Framework for Unity
// Copyright (c) 2020 夢想海の水底より(from Seabed of Reverie)
// Released under the MIT License :
// https://github.com/FromSeabedOfReverie/SubmarineMirageFrameworkForUnity/... |
Src/Feature/FOS.Website.Feature/Feature/ContentBlocks/Models/LinkBlockModel.cs | friskisosvettis/from-valtech | 0 | 7060593 | <gh_stars>0
using FOS.Website.Feature.ContentBlocks.Data;
using FOS.Website.Feature.ContentBlocks.Helpers;
using Sitecore.Mvc.Presentation;
using Synthesis;
namespace FOS.Website.Feature.ContentBlocks.Models
{
public class LinkBlockModel : ContentBlockModelBase
{
public I_LinkItem LinkBlock { get; set... |
src/EasySqlParser/Internals/Dialect/Transformer/StandardPagingTransformer.cs | stroheim/EasySqlParser | 5 | 7060594 | <reponame>stroheim/EasySqlParser<filename>src/EasySqlParser/Internals/Dialect/Transformer/StandardPagingTransformer.cs
using EasySqlParser.Exceptions;
using EasySqlParser.Internals.Node;
namespace EasySqlParser.Internals.Dialect.Transformer
{
// Porting from DOMA
// package org.seasar.doma.internal... |
source/CroquetAustralia.Domain/App/ApplicationCommandHandlers.cs | croquet-australia/croquet-australia-domain | 0 | 7060595 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CroquetAustralia.CQRS;
using CroquetAustralia.Domain.Users;
namespace CroquetAustralia.Domain.App
{
internal class ApplicationCommandHandlers : IHandleCommand<RunSetup>
{
private readonly ICommandBus... |
OfficeAutomation.Sample/Console/ClassTypes/Write/Program.cs | kimhyesuu/Cscharp-wpf-Office-Automation-Complete | 1 | 7060596 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Write
{
class Program
{
static void Main(string[] args)
{
if (File.Exists("d:\\kim.txt") is false)
{
File.Create("d:\\kim.txt");
}
}
//public static as... |
Assembly-CSharp/BucketPourScript.cs | JaydenB14/YandereSimulatorDecompiled | 1 | 7060597 | <reponame>JaydenB14/YandereSimulatorDecompiled
// Decompiled with JetBrains decompiler
// Type: BucketPourScript
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 5F8D6662-C74B-4D30-A4EA-D74F7A9A95B9
// Assembly location: C:\YandereSimulator\YandereSimulator_Data\Managed\Asse... |
AI/AIBrain.cs | Rtimee/My-Templates | 0 | 7060598 | using UnityEngine;
public class AIBrain : MonoBehaviour
{
#region Variables
// AI'ın zorluk derecesi
[SerializeField] [Range(1, 100)] private int _AIHardness;
// Örnek olarak seçilmiş iki nokta.
private Transform _truePoint;
private Transform _wrongPoint;
#endregion
#region Other ... |
Eshava.Core.Linq/Models/OrderByCondition.cs | MichaelPruefer/core | 1 | 7060599 | using System.Linq.Expressions;
using Eshava.Core.Linq.Enums;
namespace Eshava.Core.Linq.Models
{
public class OrderByCondition
{
public SortOrder SortOrder { get; set; }
public MemberExpression Member { get; set; }
public ParameterExpression Parameter { get; set; }
}
} |
api/src/Domain/Models/WorkItems/BulkEditWorkItem.cs | FoundatioFx/Foundatio.Skeleton | 6 | 7060600 | <gh_stars>1-10
using System;
using Newtonsoft.Json.Linq;
namespace Foundatio.Skeleton.Domain.Models.WorkItems {
public class BulkEditWorkItem : FilterWorkItem {
public string OrganizationId { get; set; }
public string UserId { get; set; }
public string[] Ids { get; set; }
public... |
site/UcServicesMenu.ascx.cs | theill/iquomi | 1 | 7060601 | #region Using directives
using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
#endregion
namespace Commanigy.Iquomi.Web {
/// <summary>
///
/// </summary>
public partial class UcServicesMenu : System.Web.UI.Use... |
Shop/Data/ObjectState.cs | arsabyaneh/ShopApplication | 0 | 7060602 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shop.Data
{
public enum ObjectState
{
Original,
New,
Modified,
Removed
}
}
|
LinkaWPF/Settings.cs | isabella232/LINKa.look-windows | 3 | 7060603 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Tobii.Interaction;
namespace LinkaWPF
{
public class Settings : INotifyPropertyChanged, ICloneable
{
private boo... |
netcore/Movie.Backend/Mov.Controllers/Privilege/PrivilegeController.cs | GryMrc/Web-Development-with-Grpc | 0 | 7060604 | using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Mov.Controller;
using Mov.Core.ServiceResponse;
using Mov.ServicesContrats.Privilege;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Mov.Controllers.Privilege... |
aks-services/AppStack.cs | Gutek/pulumi-aks-hacking | 0 | 7060605 | using Pulumi;
using Pulumi.Kubernetes;
using Pulumi.Kubernetes.Types.Inputs.Core.V1;
class AppStack : Stack
{
public AppStack()
{
var config = new Pulumi.Config();
var redisPort = 6379;
// getting refererence from AKS Stack
var cluster = new StackReference($"gutek/aks-infra/{De... |
src/NPascalCoin/Crypto/EC/CryptoException.cs | Sphere10/NPascalCoin | 13 | 7060606 | using System;
namespace NPascalCoin.Crypto
{
internal class CryptoException : ApplicationException
{
internal CryptoException(string error) : base(error)
{
}
}
} |
ViewModels/DefaultSlidesProviderViewModel.cs | IDeliverable/IDeliverable.Slides | 1 | 7060607 | <gh_stars>1-10
using System.Collections.Generic;
using IDeliverable.Slides.Elements;
using IDeliverable.Slides.Models;
namespace IDeliverable.Slides.ViewModels
{
public class DefaultSlidesProviderViewModel
{
public DefaultSlidesProviderViewModel()
{
Slides = new List<dynamic>();
... |
MyTeam.UnitTests/UseCase/SetUserPassword/SetUserPasswordUserCaseTest.cs | real-zebrai17/MyTeam | 0 | 7060608 | <filename>MyTeam.UnitTests/UseCase/SetUserPassword/SetUserPasswordUserCaseTest.cs
using MyTeam.Entities;
using MyTeam.TestUtilities;
using MyTeam.UseCases;
using MyTeam.UseCases.SetUserPassword;
using NUnit.Framework;
namespace MyTeam.UnitTests.UseCase.SetUserPassword
{
[TestFixture]
public class SetUserPassw... |
Samples/NopeCommerce/Presentation/Nop.Web/Areas/Admin/Factories/QueuedEmailModelFactory.cs | PeterPann23/FireWall | 4 | 7060609 | using System;
using System.Linq;
using Nop.Core.Domain.Messages;
using Nop.Services.Helpers;
using Nop.Services.Localization;
using Nop.Services.Messages;
using Nop.Web.Areas.Admin.Infrastructure.Mapper.Extensions;
using Nop.Web.Areas.Admin.Models.Messages;
using Nop.Web.Framework.Models.Extensions;
namespace Nop.Web... |
DofusProtocol/D2Parser/Protocol/Data/spells/SpellConversion.cs | ImNotARobot742/DofusProtocol | 0 | 7060610 |
// Generated on 03/23/2022 09:51:51
using System;
using System.Collections.Generic;
using AmaknaProxy.API.GameData.D2O;
namespace AmaknaProxy.API.Protocol.Data
{
[D2oClass("SpellConversions")]
public class SpellConversion : IDataObject
{
public const String MODULE = "SpellConversions";
pu... |
FarmCord/Services/DailyService.cs | DV54321/FarmCord | 7 | 7060611 | <filename>FarmCord/Services/DailyService.cs
using System;
namespace FarmCord.Services.DailyService
{
public class DailyService
{
public DateTime DailyDate
{
get; set;
}
public int Amount
{
get; set;
}
public ulong UserID
... |
PilotJournal/Events/Powerplay/PowerplaySalary.cs | JefferiesTube/LibElite | 0 | 7060613 | using LibElite.PilotJournal.Converter;
namespace LibElite.PilotJournal.Events.Powerplay
{
[EventType("PowerplaySalary")]
public class PowerplaySalary : EventBase
{
public string Power { get; set; }
public int Amount { get; set; }
}
} |
src/Multi.Data/EntityRegistration/EntityModelRegistrationNotFoundException.cs | biliktamas79/Multi | 0 | 7060614 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace Multi.Data.EntityRegistration
{
[Serializable]
public class EntityModelRegistrationNotFoundException : EntityModelRegistrationException//, ISerializable
{
public stat... |
Source/Common/Libraries/MATLAB/Construction/Code/Examples.cs | MinexAutomation/Public | 0 | 7060615 | <reponame>MinexAutomation/Public
namespace Public.Common.MATLAB.Construction
{
public static class Examples
{
public static void SubMain()
{
Examples.FigureXYPlotGetImageData();
}
public static void FigureXYPlotGetImageData()
{
usi... |
Anviz.SDK/Responses/Statistic.cs | jtobia/Anviz | 20 | 7060616 | using Anviz.SDK.Utils;
namespace Anviz.SDK.Responses
{
public class Statistic
{
public ulong UserAmount { get; }
public ulong FingerPrintAmount { get; }
public ulong PasswordAmount { get; }
public ulong CardAmount { get; }
public ulong AllRecordAmount { get; }
p... |
src/Bender/Nodes/FormUrlEncoded/FormNode.cs | mikeobrien/Bender | 29 | 7060617 | <filename>src/Bender/Nodes/FormUrlEncoded/FormNode.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using Bender.Collections;
using Bender.Extensions;
using Flexo;
namespace Bender.Nodes.FormUrlEncoded
{
public class FormNode :... |
Assets/_app/_scripts/ReservedArea/ReservedAreaDialog.cs | vgwb-private/EA4S_Antura_U3D | 0 | 7060619 | using Antura.Audio;
using Antura.Core;
using Antura.Database;
using Antura.UI;
using Antura.Helpers;
using System.Collections.Generic;
using UnityEngine;
namespace Antura.ReservedArea
{
/// <summary>
/// Pop-up that allows access to the reserved area with a parental lock.
/// </summary>
public class ... |
examples/CustomConfiguration/ConfigFactory.cs | cythral-ci/lambdajection | 12 | 7060620 | <filename>examples/CustomConfiguration/ConfigFactory.cs
using System.IO;
using Lambdajection.Core;
using Microsoft.Extensions.Configuration;
namespace Lambdajection.Examples.CustomConfiguration
{
public class ConfigFactory : ILambdaConfigFactory
{
public IConfigurationRoot Create()
{
... |
src/core-taggeds-optional/Optional/Optional/Optional.Factory.OrThrow.cs | andreigit/PrimeFuncPack | 5 | 7060621 | namespace System;
partial class Optional
{
public static Optional<T> PresentOrThrow<T>(T? value)
=>
value is not null
? new(value)
: throw InnerCreateExpectedSpecifiedException(nameof(value));
public static Optional<T> PresentOrThrow<T>(T? value)
where T : stru... |
BakeryAuth/Views/Flavors/Index.cshtml | jeffchiudev/BakeryAuth.Solution | 0 | 7060622 | <filename>BakeryAuth/Views/Flavors/Index.cshtml
@{
Layout = "_Layout";
}
@using BakeryAuth.Models;
@model List<BakeryAuth.Models.Flavor>;
<h1>Flavor Profiles</h1>
<hr />
@if (@Model.Count == 0)
{
<h3>No flavor profiles have been added</h3>
}
@foreach (Flavor flavor in Model)
{
<h4>@Html.ActionLink($"{fla... |
EarTrumpet/Extensibility/Hosting/AddonManager.cs | svenclemens/EarTrumpet | 6 | 7060623 | <reponame>svenclemens/EarTrumpet<filename>EarTrumpet/Extensibility/Hosting/AddonManager.cs<gh_stars>1-10
using EarTrumpet.Extensions;
using System.Collections.Generic;
using System.ComponentModel.Composition.Hosting;
using System.Diagnostics;
using System.Linq;
namespace EarTrumpet.Extensibility.Hosting
{
... |
CSharp Advanced/02. Lab Multidimensional Arrays/6. Jagged-Array Modification/Program.cs | rumenand/Softuni_HomeWork_Tasks | 1 | 7060624 | using System;
using System.Linq;
namespace _6._Jagged_Array_Modification
{
class Program
{
static void Main()
{
int rows = int.Parse(Console.ReadLine());
int[][] matrix = new int[rows][];
for (int r = 0; r < rows; r++)
{
int[] col... |
src/Umbraco.Core/Models/Task.cs | moppa/Umbraco-CMS | 1 | 7060625 | <reponame>moppa/Umbraco-CMS
using System;
using System.Reflection;
using System.Runtime.Serialization;
using Umbraco.Core.Models.EntityBase;
namespace Umbraco.Core.Models
{
/// <summary>
/// Represents a Task
/// </summary>
[Serializable]
[DataContract(IsReference = true)]
public c... |
src/SFA.DAS.EmployerIncentives/InnerApi/Responses/Accounts/AccountLegalEntity.cs | uk-gov-mirror/SkillsFundingAgency.das-apim-endpoints | 4 | 7060627 | using System;
using System.Collections.Generic;
using System.Text;
namespace SFA.DAS.EmployerIncentives.InnerApi.Responses.Accounts
{
public class AccountLegalEntity
{
public long AccountId { get; set; }
public long AccountLegalEntityId { get; set; }
public long LegalEntityId { get; se... |
Microsoft.Research/RegressionTest/ClousotTests/Sources/CodeFixes/CodeFixes.cs | uQr/CodeContracts | 0 | 7060628 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.