max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
Assets/Plugins/Ink/Editor/Ink Library/InkLibraryRebuilder.cs | SandGardeners/Between-Stations | 1 | 7063588 | using UnityEngine;
using UnityEditor;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Diagnostics;
using UnityEditorInternal;
using UnityEngine.Serialization;
using Debug = UnityEngine.Debug;
using Ink.Runtime;
/// <summary>
/// Rebuilds the ink meta library when... |
Backend/Tests/Controller/UserControllerTests.cs | kamlesh-microsoft/CloudCure | 0 | 7063589 | <filename>Backend/Tests/Controller/UserControllerTests.cs
using System;
using System.Collections.Generic;
using Data;
using Moq;
using Xunit;
using Models;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using WebAPI.Controllers;
using Microsoft.EntityFrameworkCore;
namespace Tests
{
public class UserControllerTest... |
CropsAnytimeAnywhere/Framework/ModSeasonsConfig.cs | spacechase0/StardewMods | 378 | 7063590 | <reponame>spacechase0/StardewMods<filename>CropsAnytimeAnywhere/Framework/ModSeasonsConfig.cs
using System.Collections.Generic;
namespace Pathoschild.Stardew.CropsAnytimeAnywhere.Framework
{
/// <summary>The mod configuration for enabled seasons.</summary>
public class ModSeasonsConfig
{
/*********... |
source/SudokuSolver/SudokuSolver.ConsoleApp/Program.cs | jfuerlinger/sudoku-solver | 0 | 7063591 | <filename>source/SudokuSolver/SudokuSolver.ConsoleApp/Program.cs<gh_stars>0
using Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using System.Linq;
using SudokuSolver.Core;
namespace SudokuSolver.ConsoleApp
{
static class P... |
Scripts/Mobiles/Vendors/SBInfo/SBButcher.cs | greeduomacro/vivre-uo | 0 | 7063592 | using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBButcher : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBButcher()
{
}
public override ... |
src/Form3.cs | filipemf/geradorDeDadosComRelatorio | 0 | 7063593 | 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;
using System.Data.Sql;
using System.Data.SqlClient;
namespace GeradorComRelatorio
{
public partial c... |
dotnet/Vernacular/Persistence/I/1.n/1.0/trunk/I/Dao/NHibernate/UriUserType.cs | jandppw/ppwcode | 0 | 7063594 | /*
* Copyright 2004 - $Date: 2008-11-15 23:58:07 +0100 (za, 15 nov 2008) $ by PeopleWare n.v..
*
* 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/license... |
Archon.SwissArmyLib/Events/BuiltinEventIds.cs | lazyevil/SwissArmyLib | 181 | 7063595 | namespace Archon.SwissArmyLib.Events
{
/// <summary>
/// Contains the event ids used by SwissArmyLib.
/// </summary>
public static class BuiltinEventIds
{
/// <summary>
/// ManagedUpdate
/// </summary>
public const int
Update = -1000,
... |
Assets/SnakatPermission/Script/Setting/ISettingRequest.cs | khanhbui/snakat-permissions | 0 | 7063596 | <filename>Assets/SnakatPermission/Script/Setting/ISettingRequest.cs<gh_stars>0
using System;
namespace Snakat
{
public interface ISettingRequest
{
ISettingRequest OnClosed (Action closed);
void Start ();
}
internal interface ISettingRequestInvoke
{
void InvokeOnClosed ();
... |
ConsoleApp1/ConsoleApp1/Slovak.cs | rajzik/PAP2018 | 0 | 7063597 | <filename>ConsoleApp1/ConsoleApp1/Slovak.cs
namespace ConsoleApp1
{
class Slovak : Student
{
public float Prumer { get; set; }
private const int maxStipendium = 5500;
private const int minStipendium = 0;
public override int GetStipendium { get
{
if... |
src/KidsToyHive.Core/Exceptions/PaymentException.cs | QuinntyneBrown/KidsToyHive | 3 | 7063598 | using KidsToyHive.Core.Enums;
using System.Net;
namespace KidsToyHive.Core.Exceptions
{
public class PaymentException: HttpStatusCodeException
{
public PaymentException(string detail)
: base((int)HttpStatusCode.BadRequest, $"{ExceptionType.Payment}", "Payment Issue", detail)
{
... |
src/core/Replikit.Abstractions/src/Adapters/AdapterContext.cs | replikit/replikit | 1 | 7063599 | using Replikit.Abstractions.Attachments.Features;
using Replikit.Abstractions.Events;
namespace Replikit.Abstractions.Adapters;
public class AdapterContext
{
public AdapterContext(IAdapterEventHandler? eventHandler = null, IAttachmentCache? attachmentCache = null)
{
EventHandler = eventHandler;
... |
PngToJpg/PngToJpg/JpegFile.cs | picobox-org/png-to-jpg | 0 | 7063600 | using System;
using System.Drawing;
using System.Drawing.Imaging;
namespace PngToJpg
{
/// <summary>
/// JPEGファイル操作クラス
/// </summary>
public class JpegFile
{
/// <summary>
/// 指定した品質でJPEGファイルを作成する
/// </summary>
/// <param name="filePath">ファイルパス</param>
/// ... |
NtApiDotNet/Win32/Debugger/FunctionTypeInformation.cs | MCMrARM/sandbox-attacksurface-analysis-tools | 1,024 | 7063601 | // Copyright 2020 Google Inc. 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... |
skills/csharp/experimental/musicskill/Models/ControlActions.cs | ryanlengel/botframework-components | 53 | 7063602 | <filename>skills/csharp/experimental/musicskill/Models/ControlActions.cs<gh_stars>10-100
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace MusicSkill.Models
{
public static class ControlActions
{
public const string Exclude = "Exclude";
p... |
backend/src/Common/Common.DataAccess.EntityFramework/Repositories/UserPhotoRepository.cs | infokomes/ngx-admin-dotnet-starter | 177 | 7063603 | <gh_stars>100-1000
/*
* Copyright (c) Akveo 2019. All Rights Reserved.
* Licensed under the Single Application / Multi Application License.
* See LICENSE_SINGLE_APP / LICENSE_MULTI_APP in the �docs� folder for license information on type of purchased license.
*/
using Common.Entities;
using Common.Services.Infrastruc... |
generated/api/Models/DeleteUserGroups.cs | Commvault/CVPowershellSDKV2 | 0 | 7063604 | // 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.Runtime.Extensions;
public partial class Delete... |
Modules/DataAccess.Orm.PostgreSql/Model/DatabaseColumnViewQueryProvider.cs | warning-explosive/Core | 3 | 7063605 | namespace SpaceEngineers.Core.DataAccess.Orm.PostgreSql.Model
{
using System;
using System.Diagnostics.CodeAnalysis;
using AutoRegistration.Api.Attributes;
using AutoRegistration.Api.Enumerations;
using Sql.Model;
using Sql.Views;
[Component(EnLifestyle.Singleton)]
internal class Databa... |
NetFabric.Hyperlinq.UnitTests/Projection/Select/Select.ReadOnlyList.Tests.cs | manofstick/NetFabric.Hyperlinq | 0 | 7063606 | <reponame>manofstick/NetFabric.Hyperlinq
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using NetFabric.Assertive;
using Xunit;
namespace NetFabric.Hyperlinq.UnitTests.Projection.Select
{
public class ReadOnlyListTests
{
[Fact]
public void Select... |
src/providers/MassTransit/Weave.Messaging.MassTransit/Consumers/QueryHandlerConsumerAdapter.cs | adenisov/Weave | 2 | 7063607 | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Weave.Messaging.Core.Queries;
using Weave.Messaging.MassTransit.Consumers.Behaviors;
namespace Weave.Messaging.MassTransit.Consumers
{
public sealed class QueryHandlerConsumerAdapter<THandler, TRequest, TResponse> : Consu... |
Calabonga.Chat.API/Calabonga.Chat.API/Calabonga.Chat.API.Web/AppStart/ConfigureServices/ConfigureServicesSignalR.cs | Calabonga/SignalRChat | 2 | 7063608 | <gh_stars>1-10
using Microsoft.Extensions.DependencyInjection;
namespace Calabonga.Chat.API.Web.AppStart.ConfigureServices
{
/// <summary>
/// ASP.NET Core services registration and configurations
/// </summary>
public static class ConfigureServicesSignalR
{
/// <summary>
/// Confi... |
Form1.Designer.cs | Dakyodream/ComSeries | 0 | 7063609 | <filename>Form1.Designer.cs
namespace ComSeries {
partial class Form1 {
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Nettoyage des ressources utilisées.
/// ... |
src/Crowdin.Api/SourceFiles/BuildReviewedSourceFilesRequest.cs | crowdin/crowdin-dotnet-client | 6 | 7063611 | <filename>src/Crowdin.Api/SourceFiles/BuildReviewedSourceFilesRequest.cs
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace Crowdin.Api.SourceFiles
{
[PublicAPI]
public class BuildReviewedSourceFilesRequest
{
[JsonProperty("branchId")]
public int? BranchId { get; set; }
}
} |
src/Web/Bloggable.Web.Config/ServicePackages/TempDataProviderPackage.cs | vladislav-karamfilov/Bloggable | 26 | 7063612 | namespace Bloggable.Web.Config.ServicePackages
{
using System.Configuration;
using System.Web.Mvc;
using BrockAllen.CookieTempData;
using Harbour.RedisTempData;
using SimpleInjector;
using SimpleInjector.Packaging;
using StackExchange.Redis;
public class TempDataProviderPackage : I... |
com/netfx/src/framework/xsp/system/web/httpcookiecollection.cs | npocmaka/Windows-Server-2003 | 17 | 7063613 | <reponame>npocmaka/Windows-Server-2003
//------------------------------------------------------------------------------
// <copyright file="HttpCookieCollection.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright> ... |
sdk/dotnet/src/Microsoft.AspNetCore.Datasync/Tables/ProtocolVersion.cs | mjfusa/azure-mobile-apps | 81 | 7063614 | <reponame>mjfusa/azure-mobile-apps
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the MIT License.
using Microsoft.AspNetCore.Http;
using System.Text.RegularExpressions;
namespace Microsoft.AspNetCore.Datasync.Tables
{
/// <summary>
/// List of known versions that are valid in... |
TaskManagement/Repositories/TaskDependencyData/TaskDependencyRepository.cs | Abhijit-MSFT/TaskManagement | 0 | 7063615 | using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TaskManagement.Repositories.TaskDependencyData
{
public class TaskDependencyRepository : BaseRepository<TaskDependencyEntity>
{
/// <summary>
///... |
Assets/Scripts/Core/Qin9Y2sdhmQEYokdrzMyLxNWy9Ld7YvWKIltdg.cs | dreamsilver/HotUpdateSolution | 30 | 7063616 | <gh_stars>10-100
class Qin9Y2sdhmQEYokdrzMyLxNWy9Ld7YvWKIltdg
{
double D1dRGF0wcWxQbI1oBOrRX0llH6D9PxR5CSASB = 0.0;
bool N3pdq3O3tW5XrnOiyHZurEi1hJs4 = false;
private double OoiVFHluOc5Rnlcjt2ATWQNhykbo0 = 0.0;
string bcjn0fZeoyWkBU0SRBnsM8eseTHPpME6v = null;
string HEtXpXJ1upI3FDBz2SfZS1CKKvtb... |
Noob.D2CMSApi/OAuth/AuthContext/AuthContextService.cs | noobwu/DncZeus | 0 | 7063617 | // ***********************************************************************
// Assembly : Noob.D2CMSApi
// Author : Administrator
// Created : 2020-04-06
//
// Last Modified By : Administrator
// Last Modified On : 2020-04-06
// ****************************************************************... |
Source/PrepareModerately/PawnFilter/PawnFilterParts/HasAnyPermanentMedicalCondition.cs | T3rrabyte/RimWorld-Prepare-Thoughtlessly | 2 | 7063619 | using PrepareModerately.UI;
using System.Linq;
using Verse;
namespace PrepareModerately.PawnFilter.PawnFilterParts {
public class HasAnyPermanentMedicalCondition : PawnFilterPart {
public override bool Matches(Pawn pawn) => pawn.health.hediffSet.hediffs.Any((hediff) => hediff.IsPermanent() || hediff.def.chronic);
... |
tests/OpenEventSourcing.Azure.ServiceBus.Tests/ServiceBusSpecification.cs | danielcirket/OpenEventSourcing | 3 | 7063620 | <reponame>danielcirket/OpenEventSourcing<filename>tests/OpenEventSourcing.Azure.ServiceBus.Tests/ServiceBusSpecification.cs
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace OpenEventSourc... |
NDG.ViewModels/NavigationViewModel.cs | nokiadatagathering/WP7-Official | 2 | 7063621 | <filename>NDG.ViewModels/NavigationViewModel.cs
using System;
using GalaSoft.MvvmLight.Command;
using NDG.Common;
using NDG.ViewModels.Helpers;
namespace NDG.ViewModels
{
public class NavigationViewModel : ViewModel
{
public NavigationViewModel()
{
this.NavigateToSurveyD... |
SDK_Tester/AuthRequestTester.cs | vmanthena/gigya-dotnet-sdk | 0 | 7063622 | <gh_stars>0
using System.Diagnostics;
using Gigya.Socialize.SDK;
namespace SDK_Tester
{
public class AuthRequestTester
{
/*
_____ _ __ ____ _ _ _ __ __
|_ _| | | /_ | / __ \ | \ | | | | \ \ / /
| | | | | | | | | ... |
src/Uno.UITest.Puppeteer/SeleniumDevice.cs | jeromelaban/Uno.UITest | 8 | 7063623 | using System;
namespace Uno.UITest.Selenium
{
internal class SeleniumDevice : IDevice
{
private SeleniumApp puppeteerApp;
public SeleniumDevice(SeleniumApp puppeteerApp) => this.puppeteerApp = puppeteerApp;
Uri IDevice.DeviceUri => throw new NotImplementedException();
string IDevice.DeviceIdentifier => t... |
Engage/A/EngSpec.cs | spzme/engage | 1 | 7063624 | <reponame>spzme/engage<filename>Engage/A/EngSpec.cs
using System;
using System.Collections.Generic;
namespace Engage.A
{
public class EngSpec
{
internal string NS;
internal List<TypeDecl> Types = new List<TypeDecl>();
internal List<TokenDecl> Tokens = new List<TokenDecl>();
int... |
SeriousGameToolbox/tests/SeriousGameToolbox.Tests/Controllers/Game/Game.Tests.cs | Groutcho/SeriousGameToolbox | 0 | 7063625 | <filename>SeriousGameToolbox/tests/SeriousGameToolbox.Tests/Controllers/Game/Game.Tests.cs
using NUnit.Framework;
using SeriousGameToolbox.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SeriousGameToolbox.Tests.Controllers.Game_Test
{
[TestFixture]
... |
src/Typewriter/TemplateEditor/Lexing/IBraceStack.cs | avilv/TypewriterX | 3 | 7063626 | <filename>src/Typewriter/TemplateEditor/Lexing/IBraceStack.cs
namespace Typewriter.TemplateEditor.Lexing
{
public interface IBraceStack
{
bool IsBalanced(char brace);
Token Pop(char brace);
void Push(Token token, char brace);
}
} |
Sixeyed.Caching/Configuration/Elements/EncryptionElement.cs | YinfengWang/caching | 37 | 7063627 | using System.Configuration;
namespace Sixeyed.Caching.Configuration
{
public class EncryptionElement : ConfigurationElement
{
[ConfigurationProperty(SettingName.Enabled, DefaultValue=false)]
public bool Enabled
{
get { return (bool)this[SettingName.Enabled]; }
... |
CTP.Redis/Factory/AreaBase/ExaminationBase.cs | MrChenJH/CTP.API | 0 | 7063629 | using System;
using System.Collections.Generic;
using System.Text;
namespace CTP.Redis.Factory.AreaBase
{
public class ExaminationBase : ABaseFactory
{
public override string GetKey()
{
string key = string.Empty;
Type t = this.GetType();
switch (t.Name)
... |
Back-end/Fixbi/Fixbi/ViewModels/LoginViewModel.cs | danielroncaglia/FixBi | 0 | 7063630 | using System.ComponentModel.DataAnnotations;
namespace Fixbi.ViewModels
{
public class LoginViewModel
{
[Required(ErrorMessage = "Infome seu e-mail")]
public string Email { get; set; }
[Required(ErrorMessage = "Infome seu senha")]
[StringLength(10, MinimumLength = 3, ErrorMessa... |
Src/Models/Translation/LanguageDirectionality.cs | DotNetToscana/BingTranslation | 6 | 7063631 | <filename>Src/Models/Translation/LanguageDirectionality.cs
using System.Runtime.Serialization;
namespace TranslatorService.Models.Translation
{
/// <summary>
/// Language directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.
/// </summary>
public enum LanguageDir... |
UMI3D-OpenVR-Browser/Assets/Project/UI/Menu/Scripts/Displayers/Circular/BindingMenuItemCircularDisplayer.cs | UMI3D/UMI3D-OpenVR-Browser | 1 | 7063632 | <reponame>UMI3D/UMI3D-OpenVR-Browser<gh_stars>1-10
/*
Copyright 2019 - 2021 Inetum
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 required by a... |
Core/Core/Transports/Utilities.cs | gjedlicska/speckle-sharp | 0 | 7063633 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Speckle.Core.Logging;
using Speckle.Core.Models;
namespace Speckle.Core.Transports
{
public static class Utilities
{
/// <summary>
/// Waits until the provided function returns true.
/// </summary>
/// <param name... |
FileSyncLib/SourceCode/VolumeSnapshot/VolumeSnapshotComparatorStatistics.cs | peteward44/auto-usb-backup | 2 | 7063634 | using System;
using System.Collections.Generic;
using System.Text;
namespace PWLib.FileSyncLib
{
public class VolumeSnapshotComparatorStatistics
{
public delegate void FileDelegate( VolumeSnapshotFile oldFile, VolumeSnapshotFile newFile );
public delegate void DirectoryDelegate( VolumeSnapshotDirector... |
src/YS.Knife.Core/Utilities/LocalCache.cs | DongLei-tw/ys.knife | 0 | 7063635 | using System;
using System.Collections.Generic;
namespace YS.Knife
{
public class LocalCache<TKey, TValue>
{
readonly Dictionary<TKey, TValue> cachedData = new Dictionary<TKey, TValue>();
public TValue Get(TKey key, Func<TKey, TValue> createFunc)
{
lock (cachedData)
... |
LEXS Search Retrieve Service Implementation/LexsSearchRetrieveCommon/NonValidatingObjectReferenceType.cs | gtri-iead/LEXS-NET-Sample-Implementation-4.0 | 0 | 7063636 | namespace Lexs4SearchRetrieveWebService
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[Syste... |
Demo/SuccessfulCER.cs | adamsitnik/ExceptionalExceptions | 4 | 7063637 | #if !CORE
using System;
using System.Runtime.CompilerServices;
using System.Runtime.ConstrainedExecution;
namespace Demo
{
public class SuccessfulCER : IDemoable
{
public void Demo()
{
RuntimeHelpers.PrepareConstrainedRegions();
try
{
Console... |
cmg-hosting-api/Program.cs | LykkeCity/coinmarketgene-api | 0 | 7063638 | <filename>cmg-hosting-api/Program.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace cmg_... |
Plugins/PluginManifest.cs | majkello12/Macro-Deck | 82 | 7063639 | using System;
using System.Collections.Generic;
using System.Text;
namespace SuchByte.MacroDeck.Plugins
{
public class PluginManifest
{
public string Author = ""; // Author of the plugin
public string Repository = ""; // Repository of the plugin
public string MainFile = ""; // Main fi... |
parking-house/Varus.Parking.UnitTests/Aggregates/ParkingHouseTests.cs | discosultan/test-assignments | 3 | 7063640 | using System;
using NUnit.Framework;
using Varus.Core;
using Varus.Parking.Domain;
using Varus.Parking.Domain.Aggregates;
using Varus.Parking.Domain.Commands;
using Varus.Parking.Domain.Events;
using Varus.Parking.Domain.Exceptions;
namespace Varus.Parking.UnitTests.Aggregates
{
/// <summary>
/// Defines a se... |
DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentOverview.cshtml | TechnologyEnhancedLearning/DLSV2 | 2 | 7063641 | @using DigitalLearningSolutions.Web.ViewModels.LearningPortal
@using DigitalLearningSolutions.Web.ViewModels.LearningPortal.SelfAssessments
@model SelfAssessmentOverviewViewModel
@{
Layout = "SelfAssessments/_Layout";
ViewData["Title"] = "Self Assessment";
ViewData["SelfAssessmentTitle"] = @Model.SelfAssessment... |
Assets/MiddleVR/Scripts/Networking/VRNetworkAddOptionsToMenu.cs | MHaselmaier/VR-Visualization | 1 | 7063642 | using UnityEngine;
using System.Collections;
using MiddleVR_Unity3D;
using UnityEngine.Networking;
[RequireComponent(typeof(NetworkManager))]
public class VRNetworkAddOptionsToMenu : MonoBehaviour
{
private vrWidgetButton m_StartHostButton;
private vrWidgetButton m_ConnectToLocalServerButton;
private vrWi... |
ListCompare.Tests/HomogenousComparerTests.cs | kinetiq/Ether.ListCompare | 9 | 7063643 | using System;
using System.Collections.Generic;
using ListCompare.Tests.Models;
using Xunit;
namespace ListCompare.Tests
{
public class HomogeneousComparerTests
{
[Fact]
public void Basic_Comparison_Works()
{
var fred = new Monkey() { Name = "Fred", MonkeyId = 1 };
... |
Assets/Scripts/Master scripts/Food_Master.cs | colruytXD/LIA | 0 | 7063644 | <filename>Assets/Scripts/Master scripts/Food_Master.cs
using UnityEngine;
using System.Collections;
public class Food_Master : MonoBehaviour {
public float foodAmount;
public bool eatAble;
public delegate void EatEventHandler();
public event EatEventHandler EventEatFood;
public event EatEventHa... |
Migrations/20201013141001_InitialCreate.cs | rodrigochapeta/Web2Hotel | 0 | 7063645 | using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Web2Hotel.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable... |
aspnet-core/services/src/Lion.AbpPro.Application/ElasticSearchs/LionAbpProLogAppService.cs | sanmen359/abp-vnext-pro | 1 | 7063646 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Lion.AbpPro.ElasticSearchs.Dto;
using Lion.AbpPro.ElasticSearchs.Providers;
using Lion.AbpPro.Extension.Customs.Dtos;
using Lion.AbpPro.Permissions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions... |
ECode.Data/DbCommon/DbSession.cs | gz-chenzd/ECode | 10 | 7063647 | using System;
using System.Data;
using System.Diagnostics;
using ECode.Core;
using ECode.Utility;
namespace ECode.Data
{
public abstract class DbSession : ISession
{
private string m_DbShardNo = null;
private bool m_WritableConn = false;
... |
Teams.Services.API/Helpers/VersioningHelper.cs | andtkach/teams-api | 1 | 7063648 | <reponame>andtkach/teams-api
namespace Teams.Services.API.Helpers
{
using System.IO;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.AspNetCore.Mvc.Versioning;
using Microsoft.Extensions.DependencyInjection;
usin... |
Project/Assets/UVNF/Scripts/Core/Story/Elements/Character/MoveToCharacterElement.cs | Velorexe/UDSF | 10 | 7063649 | using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UVNF.Core.UI;
using UVNF.Extensions;
namespace UVNF.Core.Story.Character
{
public class MoveToCharacterElement : StoryElement
{
public override string ElementName => "Move To Character";
pu... |
src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Mapping/ResponseMappers/GetChangeOfPartyRequestsResponseMapperTests.cs | uk-gov-mirror/SkillsFundingAgency.das-commitments | 6 | 7063650 | <reponame>uk-gov-mirror/SkillsFundingAgency.das-commitments
using System.Threading.Tasks;
using AutoFixture;
using KellermanSoftware.CompareNetObjects;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.CommitmentsV2.Application.Queries.GetChangeOfPartyRequests;
using SFA.DAS.Commitm... |
src/Kunc.RiotGames.Lol.DataDragon/ChampionBase.cs | AoshiW/Kunc.RiotGames | 0 | 7063651 | <filename>src/Kunc.RiotGames.Lol.DataDragon/ChampionBase.cs
using System.Text.Json.Serialization;
namespace Kunc.RiotGames.Lol.DataDragon;
public record ChampionBase : BaseDto
{
[JsonPropertyName("version")]
public string? Version { get; init; }
[JsonPropertyName("id")]
public string Id { get; init;... |
application/Modules/Clipboard/Producers/ClipboardPasteEventProducer.cs | insightmind/MORR | 5 | 7063652 | using System;
using MORR.Modules.Clipboard.Events;
using MORR.Modules.Clipboard.Native;
using MORR.Shared.Events.Queue;
using MORR.Shared.Hook;
namespace MORR.Modules.Clipboard.Producers
{
/// <summary>
/// Provides a single-writer-multiple-reader queue for ClipboardPasteEvent
/// </summary>
publi... |
Assets/Assets/Scripts/HelpScript.cs | mbhanuprsd/Daadi2D | 0 | 7063653 | using UnityEngine;
using System.Collections;
public class HelpScript : MonoBehaviour {
public GUIStyle mystyle;
public Texture2D backTexture;
public Vector2 scrollPosition;
private string longString = "ELEVEN MEN'S MORRIS\n\n";
void Start(){
mystyle.fontSize = Screen.height/30;
longString += " 1. The boar... |
source/sp-gda/gdaexpericence7/ContosoAir/src/ContosoAir.Clients.UWP/Effects/UnderlineEffect.cs | lalaithan/developer-immersion-data | 82 | 7063654 | <reponame>lalaithan/developer-immersion-data<gh_stars>10-100
using ContosoAir.Clients.UWP.Effects;
using System;
using System.Diagnostics;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Documents;
using Xamarin.Forms;
using Xamarin.Forms.Platform.UWP;
[assembly: ExportEffect(typeof(UnderlineEffect), "Underline... |
Assets/Weapon-Ciano-ExpandGun/Stabalization.cs | benthroop/Frankenweapon | 0 | 7063655 | <reponame>benthroop/Frankenweapon
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using DG.Tweening;
public class Stabalization : MonoBehaviour {
public Rigidbody ObjectRB;
public bool Unstable;
public GameObject UnstableEffect;
public float UnstableTime =... |
Game Engines Examples 2020/Assets/Spawner.cs | RyanByrne0/GE1-2020-2021 | 4 | 7063656 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Spawner : MonoBehaviour
{
public float radius = 10;
public int spawnRate = 5;
public int max = 10;
void Spawn()
{
GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube);... |
Library/DispatchObject.cs | MicrosoftArchive/opengax | 11 | 7063657 | //===================================================================================
// Microsoft patterns & practices
// Guidance Automation Extensions
//===================================================================================
// Copyright (c) Microsoft Corporation. All rights reserved.
// THIS CODE ... |
DataAcces/IDataAccess.cs | manelperez/WepAPI_MVC_Sample | 0 | 7063658 | using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
namespace WebApiMvc.DataAcces
{
/// <summary>
/// Interfaz <c>IDataAccess</c>. Accede y manipula los datos en la base de datos.
/// </summary>
interface IDataAccess
{
/// ... |
src/Lykke.Job.ChainalysisHistoryExporter/Withdrawals/WithdrawalsHistoryProviders/BilCashoutWithdrawalsHistoryProvider.cs | LykkeCity/Lykke.Tools.ChainalysisHistoryExporter | 0 | 7063659 | using System;
using System.Linq;
using System.Threading.Tasks;
using Lykke.Job.ChainalysisHistoryExporter.Common;
using Lykke.Job.ChainalysisHistoryExporter.Reporting;
using Lykke.Job.ChainalysisHistoryExporter.Settings;
using Microsoft.Azure.Cosmos.Table;
using Newtonsoft.Json;
namespace Lykke.Job.ChainalysisHistory... |
src/IdentityServer4.Admin/IdentityServer4.Admin.Api/Infrastructure/FluentValidation/FluentValidationException.cs | hubo0831/IdentityServer4.AdminUI | 5 | 7063660 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace IdentityServer4.Admin.Api.Infrastructure.FluentValidation
{
public class FluentValidationException : Exception
{
public FluentValidationException()
{
}
public FluentValidationException(... |
dotnet/TextAnalytics/program.cs | daronyondem/cognitive-services-quickstart-code | 0 | 7063661 | <gh_stars>0
using System;
using System.Globalization;
using Azure.AI.TextAnalytics;
namespace quickstart
{
class Program
{
private static readonly TextAnalyticsApiKeyCredential credentials = new TextAnalyticsApiKeyCredential("<replace-with-your-text-analytics-key-here>");
private static readonl... |
OOP/EXAMS/OOP Retake Exam - 15 Aug 2019/Repositories/PlanetRepository.cs | tonkatawe/SoftUni-Advanced | 0 | 7063662 | <filename>OOP/EXAMS/OOP Retake Exam - 15 Aug 2019/Repositories/PlanetRepository.cs
namespace SpaceStation.Repositories
{
using System.Linq;
using System.Collections.Generic;
using SpaceStation.Models.Planets;
using SpaceStation.Repositories.Contracts;
public class PlanetRepository : IRepository<I... |
CP77.CR2W/Types/cp77/inkGameSettingsResource.cs | MasterScott/CP77Tools | 1 | 7063663 | <gh_stars>1-10
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class inkGameSettingsResource : CResource
{
[Ordinal(0)] [RED("compositionResource")] public rRef<inkFullscreenCompositionResource> CompositionR... |
src/ResourceManagement/BatchAI/Domain/InterfaceImpl/BatchAIWorkspacesImpl.cs | avantida/azure-libraries-for-net | 365 | 7063664 | <filename>src/ResourceManagement/BatchAI/Domain/InterfaceImpl/BatchAIWorkspacesImpl.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.BatchAI.Fluent
{
using Microsoft.A... |
src/csmacnz.Monocle/IGeometry.cs | csMACnz/Monocle | 0 | 7063665 | <reponame>csMACnz/Monocle
using System.Windows.Media.Media3D;
namespace csmacnz.Monocle
{
public interface IGeometry
{
Vector3D NormalAt(Vector3D intersectionPoint);
double? Test(Vector3D renderPoint, Vector3D direction);
Material Material { get; set; }
}
} |
PointNet.Test/DDLSchemaTools.cs | kostyrin/PointNet | 3 | 7063669 | <filename>PointNet.Test/DDLSchemaTools.cs
using PointNet.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Specialized;
using System.Collections.Generic;
using Autofac;
using PointNet.CommandProcessor.Dispatcher;
using PointNet.Data.Repositories;
using PointNet.D... |
PasswordManager/View/ListView.xaml.cs | bduj1/PasswordManager | 0 | 7063670 | <reponame>bduj1/PasswordManager
using System.Windows.Controls;
namespace PasswordManager.View
{
public partial class ListView : UserControl
{
public ListView()
{
InitializeComponent();
}
}
} |
Assets/Plugins/RPG_Maker_Tiles_Importer/script/A5_Tile.cs | ephemeral9794/Escape-Horror-Prototype | 0 | 7063671 | using System.Collections;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using UnityEngine.Tilemaps;
public class A5_Tile : Auto_Tile_Base
{
}
#if UNITY_EDITOR
[CustomEditor(typeof(A5_Tile))]
public class A5_Editor : Editor
{
private A5_Tile tile { get { return (... |
palacepetz/obj/Release/Package/PackageTmp/Views/Employee/EditCustommers.cshtml | Kauavitorio/PalacePetz_Mvc | 0 | 7063672 | <gh_stars>0
@model palacepetz.Models.User.DtoUser
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Editar Funcionário - PalacePe... |
AppCrl/crl/crlUSValidationReduction.cs | Natolotra/App | 0 | 7063673 | <reponame>Natolotra/App<filename>AppCrl/crl/crlUSValidationReduction.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace arch.crl
{
/// <summary>
/// Description résumée de crlUSValidationReduction
/// </summary>
public class crlUSValidationReduction
{... |
SportUp/Areas/Identity/Pages/Account/Manage/Index.cshtml | wethegreenpeople/SportUp | 0 | 7063674 | @page
@model IndexModel
@{
ViewData["Title"] = "Profile";
ViewData["ActivePage"] = ManageNavPages.Index;
}
<h4>@ViewData["Title"]</h4>
<partial name="_StatusMessage" model="Model.StatusMessage" />
<div class="row">
<div class="col-md-6">
<form id="profile-form" method="post">
<div asp-... |
NetworkHandler.PocketEdition.cs | MineLibOrg/MineLib.Network | 11 | 7063675 | using System;
using System.Net.Sockets;
using MineLib.Network.IO;
using MineLib.Network.PocketEdition.Packets;
namespace MineLib.Network
{
// -- Don't even analyze this.
public sealed partial class NetworkHandler
{
private void ConnectedPocketEdition(IAsyncResult asyncResult)
{
... |
CP/Games/FluxxCP/ViewModels/ActionDirectionViewModel.cs | musictopia2/GamingPackXV3 | 0 | 7063676 | namespace FluxxCP.ViewModels;
[InstanceGame]
public partial class ActionDirectionViewModel : BasicActionScreen
{
public ActionDirectionViewModel(FluxxGameContainer gameContainer,
ActionContainer actionContainer,
KeeperContainer keeperContainer,
FluxxDelegates delegates,
IFluxxEvent ... |
PpRBuilder/Builder/Controls/create_stub_BlackList.cs | Adrianvdh/Prepril-Remote | 0 | 7063677 | using System;
using System.Drawing;
using System.Windows.Forms;
using Configuration;
namespace PpRBuilder.Controls
{
public class create_stub_BlackList : OptionsBaseControl
//public partial class create_stub_BlackList : UserControl
{
public create_stub_BlackList(string configName) : base... |
ALinq/LinqToSqlShared/Mapping/ColumnMapping.cs | maishumaishu/ALinq | 38 | 7063678 | using System;
using LinqToSqlShared.Mapping;
using ALinq.Mapping;
namespace LinqToSqlShared.Mapping
{
#region MyRegion
//internal sealed class ColumnMapping : MemberMapping
//{
// private const string TypeName = "LinqToSqlShared.Mapping.ColumnMapping";
// public static System.Type SourceType ... |
ClientService/Areas/Admin/Models/UserUpdateDto.cs | ilovepilav/MovieDB-MultiAPI-CMS | 1 | 7063679 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ClientService.Enums;
namespace ClientService.Areas.Admin.Models
{
public class UserUpdateDto
{
public int Id { get; set; }
public string UserName { get; set; }
public s... |
src/Destiny.Core.Flow.CodeGenerator/Templates/Entity.cshtml | BaseCoreVueProject/Destiny.Core.Flow | 16 | 7063680 | <gh_stars>10-100
@using System;
@using Destiny.Core.Flow.CodeGenerator;
@{
ProjectMetadata metadata = Model;
var userKeyType = metadata.EntityMetadata.AuditedUserKeyType;
string auditedOrSoft = string.Empty;
if (metadata.EntityMetadata.IsFullAudited())
{
auditedOrSoft = $"{auditedOrSoft}, ... |
src/Main/Mapillary/wpexiflib/MemoryBinStream.cs | kant/mapillary_windows_phone | 0 | 7063681 | <reponame>kant/mapillary_windows_phone<gh_stars>0
using System.IO;
namespace ExifLibrary.Phone
{
public class MemoryBinStream : MemoryStream
{
private readonly AsciiEncoding _encoding = new AsciiEncoding();
internal void Write(Bin bin)
{
var b = _encoding.GetBytes(bin.ToSt... |
src/ProSuite.DomainServices.AO/QA/Exceptions/ExceptionDataset.cs | ProSuite/ProSuite | 5 | 7063682 | <reponame>ProSuite/ProSuite
using ESRI.ArcGIS.Geodatabase;
using ProSuite.Commons.Essentials.Assertions;
using ProSuite.Commons.Essentials.CodeAnnotations;
using ProSuite.DomainServices.AO.QA.Issues;
namespace ProSuite.DomainServices.AO.QA.Exceptions
{
public abstract class ExceptionDataset : IExceptionDataset
{
p... |
XsltStudy/Program.cs | alireza1111/XmlSchemaClassGenerator | 0 | 7063683 | <reponame>alireza1111/XmlSchemaClassGenerator<gh_stars>0
using System;
using System.IO;
using System.Reflection;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Xsl;
namespace XsltStudy
{
class Program
{
static void Main(string[] args)
{
var trans = new XslCompiledTransfo... |
MPT/Excel/MPT.Excel/ExcelInteropService.cs | MarkPThomas/MPT.Net | 0 | 7063684 | // ***********************************************************************
// Assembly : MPT.Excel
// Author : Mark
// Created : 12-16-2016
//
// Last Modified By : Mark
// Last Modified On : 01-24-2017
// ***********************************************************************
// <copyright ... |
Management/Models/Schedule.cs | mikmat/DisplayMonkey | 0 | 7063685 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... |
LinkedLanguages.BL/UserProfileDto.cs | Duzij/LinkedLanguages | 0 | 7063686 |
using System;
using System.Collections.Generic;
namespace LinkedLanguages.BL
{
public class UserProfileDto
{
public Guid UserId { get; set; }
public List<LanguageDto> KnownLanguages { get; set; }
public List<LanguageDto> UnknownLanguages { get; set; }
}
}
|
Assets/BulletPro/Core/Editor/PropertyDrawers/DynamicValueDrawer.cs | Asledorf/Software-Projects-Bullet-Hell | 0 | 7063687 | <reponame>Asledorf/Software-Projects-Bullet-Hell
using System.Reflection;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
// This script is part of the BulletPro package for Unity.
// Author : <NAME> <<EMAIL>>
namespace BulletPro.EditorScripts
{
// Base class for... |
src/Snow.Tests/Extensions/RazorExtensionsTests.cs | Pxtl/Sandra.Snow | 114 | 7063688 | <filename>src/Snow.Tests/Extensions/RazorExtensionsTests.cs
namespace Snow.Tests.Extensions
{
using System;
using System.Collections.Generic;
using FakeItEasy;
using Models;
using Nancy.ViewEngines.Razor;
using Snow.Extensions;
using ViewModels;
using Xunit;
public class... |
SS14.Admin/Startup.cs | juliangiebel/SS14.Admin | 0 | 7063689 | <reponame>juliangiebel/SS14.Admin<gh_stars>0
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Net;
using Content.Server.Database;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extens... |
Finalaplication/Models/Marca.cs | FleischmanKrisztian/Finalapplication | 2 | 7063690 | <reponame>FleischmanKrisztian/Finalapplication
namespace VolCommon
{
public class Marca
{
public string marca { get; set; }
public string IdAplication { get; set; }
public string IdInvestigation { get; set; }
public string IdContract { get; set; }
}
} |
assembler/Assembler.Tests/Binary/AssemblyInstructionVisitor.cs | pavlosmcg/octo-computing-machine | 0 | 7063691 | <gh_stars>0
using System;
using Assembler.Binary;
using Assembler.Instructions;
using NSubstitute;
using NUnit.Framework;
namespace Assembler.Tests.Binary
{
[TestFixture]
public class HackInstructionParserTests
{
[Test]
public void VisitUnknownInstruction_Always_Returns_Error_Text()
... |
src/IQFeed.CSharpApiClient/Utils/ListedMarketLookupTable.cs | mrut2pac/IQFeed.CSharpApiClient | 0 | 7063692 | <filename>src/IQFeed.CSharpApiClient/Utils/ListedMarketLookupTable.cs
using System.Collections.Generic;
using System.Linq;
using IQFeed.CSharpApiClient.Lookup;
using IQFeed.CSharpApiClient.Lookup.Symbol.Messages;
namespace IQFeed.CSharpApiClient.Utils
{
public class ListedMarketLookupTable
{
// since ... |
app/Agri.CalculatorService.Tests/CalculateManureGenerationTests.cs | plasticviking/agri-nmp | 6 | 7063693 | using Agri.Data;
using Agri.Tests.Shared;
using Shouldly;
using System;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
namespace Agri.CalculateService.Tests
{
public class CalculateManureGenerationTests : TestBase
{
private readonly ICalculateManureGeneration calculator;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.