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 |
|---|---|---|---|---|
Twitch/Chat/ChatParser.cs | telmengedar/NightlyCode.Twitch | 0 | 7046339 | using System;
namespace NightlyCode.Twitch.Chat {
public static class ChatParser {
public static UserType ParseUserType(string value) {
switch(value) {
case "empty":
return UserType.Empty;
case "mod":
return UserType.Mod;
... |
Assets/_app/_scripts/Player/PlayerProfileCleaner.cs | vgwb-private/EA4S_Antura_U3D | 20 | 7046340 | <filename>Assets/_app/_scripts/Player/PlayerProfileCleaner.cs
using Antura.Core;
using UnityEngine;
namespace Antura.Profile
{
/// <summary>
/// Handles cleanup of player profiles.
/// </summary>
public class PlayerProfileCleaner : MonoBehaviour
{
public void ResetAllPlayerProfiles()
... |
Crud Asp.net/Controllers/TransactionController.cs | Tenerit/Crud-Asp.net | 0 | 7046341 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Crud_Asp.net.Models;
namespace Crud_Asp.net.Controllers
{
public class TransactionController : Contr... |
wslipconf/wslipconf/Helpers/SystemColorExtension.cs | nmoschkin/wslipconf | 0 | 7046342 | using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Markup;
using System.Windows.Media;
namespace WSLIPConf.Extensions
{
[ContentProperty("AccentColor")]
public class SystemColorExtension : MarkupExte... |
Assets/Scripts/Module/Variants/BonusLikePoker.cs | lingomaniac88/ktaneVideoPoker | 0 | 7046344 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace KtaneVideoPoker
{
namespace Variants
{
public class BonusLikePoker: IVariant
{
private class HandType
{
public static int RoyalFlush = 0;
public stati... |
sdk/applicationinsights/Microsoft.Azure.Management.ApplicationInsights/src/Generated/Models/LinkProperties.cs | gjy5885/azure-sdk-for-net | 3,268 | 7046345 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
UnitTests/Serializer/JSONMergerTest.cs | wouanagaine/UnityGameTools | 36 | 7046346 | using System;
using System.Collections;
namespace SomaSim.Serializer
{
[TestClass]
public class JSONMergerTest
{
[TestMethod]
public void TestMerger () {
object parent = JSON.JsonDecode(@"
{
""Base"": ""base"",
""Name"": "... |
test/Microsoft.SqlTools.ServiceLayer.UnitTests/Utility/TestDbColumn.cs | KevinRansom/sqltoolsservice | 176 | 7046347 | <gh_stars>100-1000
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Data.Common;
using Microsoft.SqlTools.Utility;
namespace Microsoft.SqlTools.ServiceLayer.UnitTests.Utility
{
p... |
FineBot/FineBot.API/FinesApi/FineExportModel.cs | prinzo/Attack-Of-The-Fines-TA15 | 1 | 7046348 | <reponame>prinzo/Attack-Of-The-Fines-TA15
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FineBot.API.FinesApi
{
public class FineExportModel
{
public string Email { get; set; }
public string DisplayName { get; set; ... |
Controllers/CategoryController.cs | toetoev/SSIS | 1 | 7046349 | <filename>Controllers/CategoryController.cs
using System;
using System.Linq;
using System.Security.Claims;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SSIS.IService;
using SSIS.Models;
namespace SSIS.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class ... |
xperdex.core/EditFonts.cs | d3x0r/xperdex | 0 | 7046350 | using xperdex.core.interfaces;
using xperdex.gui;
namespace xperdex.core
{
internal class EditFonts: IReflectorPlugin, IReflectorPersistance
{
public override string ToString()
{
return "Edit Fonts";
}
#region IReflectorPlugin Members
void IReflectorPlugin.Preload()
{
//throw new Ex... |
Program.cs | IlliumIv/Macroscop_LogAnalyzer | 0 | 7046351 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace FindChannels
{
class Program
{
static readonly Regex lineCatch = new Regex(@"[a-z0-9]{8}-.{4}-.{4}-.{4}-.{12}");
static Dict... |
PureMVC_Standard/Assets/Framework/PureMVC/Patterns/Command/SimpleCommand.cs | su9257/FamilyBucket | 1 | 7046352 | <gh_stars>1-10
//
// PureMVC C# Standard
//
// Copyright(c) 2020 <NAME> <<EMAIL>>
// Your reuse is governed by the Creative Commons Attribution 3.0 License
//
using PureMVC.Interfaces;
using PureMVC.Patterns.Observer;
namespace PureMVC.Patterns.Command
{
/// <summary>
/// 单命令类
/// </summary>
publi... |
BlogPost.cs | diego-cc/serialisation | 0 | 7046353 | <reponame>diego-cc/serialisation<filename>BlogPost.cs
using System;
using System.Runtime.Serialization;
namespace SerialisationExercise
{
[Serializable]
class BlogPost : ISerializable
{
public ulong Id { get; set; }
public ulong UserId { get; set; }
public string Title { get; set; ... |
src/TypeScriptDefinitionsGenerator.Common/Models/ServiceStackApiModel.cs | slovely/TypeScriptDefinitionsGenerator | 14 | 7046354 | <reponame>slovely/TypeScriptDefinitionsGenerator
using System.Collections.Generic;
namespace TypeScriptDefinitionsGenerator.Common.Models
{
public class ServiceStackApiModel
{
public ServiceStackApiModel()
{
Requests = new List<ServiceStackRequestModel>();
RequiredImport... |
sdk/testbase/Microsoft.Azure.Management.Testbase/src/Generated/Models/MemoryUtilizationResultSingletonResourceProperties.cs | v-kaifazhang/azure-sdk-for-net | 0 | 7046355 | <reponame>v-kaifazhang/azure-sdk-for-net<filename>sdk/testbase/Microsoft.Azure.Management.Testbase/src/Generated/Models/MemoryUtilizationResultSingletonResourceProperties.cs<gh_stars>0
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in ... |
src/Iodine/Runtime/IodineClass.cs | SplittyDev/Iodine-Library | 0 | 7046356 | /**
* Copyright (c) 2015, GruntTheDivine All rights reserved.
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list
* of c... |
Specifications/Events.Migration/for_EventMigrationHierarchyManager/when_getting_the_logical_type_for_an_event_at_the_root_of_a_migration_hierarchy.cs | joelhoisko/Runtime | 0 | 7046357 | using Dolittle.Runtime.Events.Migration.Specs.Fakes;
using Machine.Specifications;
using System;
namespace Dolittle.Runtime.Events.Migration.Specs.for_EventMigrationHierarchyManager
{
public class when_getting_the_logical_type_for_an_event_at_the_root_of_a_migration_hierarchy : given.an_event_migration_hierarchy_... |
MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Runtime/Scripts/Conditions/HeightAboveFloorCondition.cs | bsides44/MARSGeofencing | 0 | 7046358 | <filename>MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Runtime/Scripts/Conditions/HeightAboveFloorCondition.cs<gh_stars>0
using Unity.MARS.Attributes;
using Unity.MARS.Authoring;
using Unity.MARS.Data;
using Unity.MARS.Query;
using UnityEngine;
using UnityEngine.Scripting.APIUpdating;
namespace Unity.MARS... |
linux-distro/package/nuxleus/Source/Vendor/ALAZ/Demos/Echo/EchoConsoleServer/Program.cs | mdavid/nuxleus | 1 | 7046359 | using System;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Security.Cryptography;
using System.Text;
using EchoSocketService;
using EchoCryptService;
using ALAZ.SystemEx.NetEx.SocketsEx;
namespace Main
{
class MainClass
{
... |
SerrisCodeEditor/SerrisModulesServer/SystemModules/SystemModulesList.cs | stefb965/SerrisCodeEditor | 0 | 7046360 | <gh_stars>0
using SerrisModulesServer.Items;
using SerrisModulesServer.Type;
using System.Collections.Generic;
namespace SerrisModulesServer.SystemModules
{
public static class SystemModulesList
{
public static InfosModule[] Modules =
{
new InfosModule
{
... |
src/Autodash.Core/UpdateEmailCommand.cs | epignosisx/autodash | 1 | 7046361 | using System.Threading.Tasks;
using FluentValidation;
using MongoDB.Bson;
using MongoDB.Driver;
namespace Autodash.Core
{
public class UpdateEmailCommand
{
private readonly IMongoDatabase _db;
private readonly ILoggerWrapper _logger;
public UpdateEmailCommand(IMongoDatabase db, ILogge... |
src/sfuncs/src/ops/algorithms/zip.predicate.cs | 0xCM/z0 | 0 | 7046362 | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root;
... |
sdk/dotnet/CloudFront/Outputs/DistributionConfig.cs | AaronFriel/pulumi-aws-native | 29 | 7046363 | <filename>sdk/dotnet/CloudFront/Outputs/DistributionConfig.cs<gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
us... |
src/FieldWarning/Assets/Ingame/UI/SymbolBehaviour.cs | maximalum/projectFieldWarning | 0 | 7046364 | /**
* Copyright (c) 2017-present, PFW Contributors.
*
* 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 applicable law... |
Unity/Assets/eDriven/Demo/Core/MVC/ObjectCreator3.cs | KonH/edriven | 166 | 7046365 | <gh_stars>100-1000
using eDriven.Core.Events;
using eDriven.Core.Util;
using UnityEngine;
using Event=eDriven.Core.Events.Event;
using Random = System.Random;
public class ObjectCreator3 : MonoBehaviour
{
#region Properties
// ReSharper disable InconsistentNaming
// ReSharper disable UnassignedField.Glob... |
src/MiniMVP/IMainForm.cs | derfsplat/MiniMVP | 19 | 7046366 | using System.Windows.Forms;
namespace MiniMVP
{
/// <summary>
/// Interface to represent main host window. Useful for setting owner on dialogs/message boxes
/// </summary>
public interface IMainForm : IWin32Window
{
}
}
|
UnityProject/Assets/2_EntityViewAndMovement/Scripts/Systems/Input/EmitInputSystem.cs | WarrenMondeville/ECSFrameworkUnityExample | 0 | 7046367 | <filename>UnityProject/Assets/2_EntityViewAndMovement/Scripts/Systems/Input/EmitInputSystem.cs<gh_stars>0
using UnityEngine;
using Entitas;
// 处理Input,需要初始化leftMouseEntity和rightMouseEntity,并且需要每帧执行读取,所以实现下面两个接口
public class EmitInputSystem : IInitializeSystem, IExecuteSystem
{
readonly InputContext _context;
... |
Waratah/WaratahCmd/CommandLineOptions.cs | kuroneko/hidtools | 7 | 7046368 | <filename>Waratah/WaratahCmd/CommandLineOptions.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace WaratahCmd
{
using CommandLine;
using CommandLine.Text;
using System.Collections.Generic;
public class CommandLineOptions
{
[Value(0)]
... |
3-Business/4-Services/ErrorNotifications/lm.ErrorsNotification.Service/Dal/ManagerDatabase.cs | EdutechSRL/Adevico | 0 | 7046369 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using lm.ErrorsNotification.DataContract.Domain;
namespace lm.ErrorsNotification.Service.Dal
{
public class ManagerDatabase : IManagerErrors... |
src/Esprima/Ast/ThisExpression.cs | KurtGokhan/esprima-dotnet | 12 | 7046370 | namespace Esprima.Ast
{
public sealed class ThisExpression : Expression
{
public ThisExpression() : base(Nodes.ThisExpression)
{
}
public override NodeCollection ChildNodes => NodeCollection.Empty;
}
} |
src/MethodBoundaryAspect.Fody/InstructionBlockChain.cs | NilFusion/MethodBoundaryAspect.Fody | 1 | 7046371 | using System.Collections.Generic;
using System.Linq;
using Mono.Cecil.Cil;
namespace MethodBoundaryAspect.Fody
{
public class InstructionBlockChain
{
public List<InstructionBlock> InstructionBlocks { get; }
public Instruction First => InstructionBlocks.First().First;
public Instruction... |
src/MvcRouteLocalizer/RouteDictionaryProviders/RouteDictionaryProviderBase.cs | btihanyi/MvcRouteLocalizer | 0 | 7046372 | using System;
namespace MvcRouteLocalizer
{
/// <summary>
/// Provides the bijection logic between the original route values and their corresponding translations
/// using the dictionary-based <see cref="Localization"/> class.
/// </summary>
public abstract partial class RouteDictionaryProviderBas... |
src/CG.Linq.CosmoDb/Repositories/CosmoDbWrapper.cs | CodeGator/CG.Linq.CosmoDb | 0 | 7046373 | <filename>src/CG.Linq.CosmoDb/Repositories/CosmoDbWrapper.cs
using CG.Business.Models;
using System;
namespace CG.Linq.CosmoDb.Repositories
{
/// <summary>
/// This class is used to internally wrap models with, since CosmoDb
/// requires any row, in a collection, to have a public 'id' property, with
... |
Assets/7_Cubo2D/scripts/sensorMuertePorCaida.cs | skca91/cubo2dhub | 1 | 7046375 | <reponame>skca91/cubo2dhub
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class sensorMuertePorCaida : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnTriggerEnter(Collider Other){
... |
smshosting-api-cs-client/model/AliasListResponse.cs | smshosting/smshosting-api-c--client | 3 | 7046376 | <reponame>smshosting/smshosting-api-c--client<filename>smshosting-api-cs-client/model/AliasListResponse.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using smshosting.api.cs.client.entities;
namespace smshosting.api.cs.client.model
{
public class AliasListResponse : GenericResponse
{
... |
src/Microsoft.ComponentDetection.Detectors/maven/MavenParsingUtilities.cs | dfederm/component-detection | 0 | 7046377 | <reponame>dfederm/component-detection
using System;
using Microsoft.ComponentDetection.Contracts;
using Microsoft.ComponentDetection.Contracts.TypedComponent;
namespace Microsoft.ComponentDetection.Detectors.Maven
{
public static class MavenParsingUtilities
{
public static (DetectedComponent Component... |
src/L4-application/XNSE_Solver/XNSE_SolverMain.cs | leyel/BoSSS | 1 | 7046378 | /* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... |
src/ServiceStack/Testing/MockRestGateway.cs | TheDuQe/ServiceStack | 2,977 | 7046379 | // Copyright (c) ServiceStack, Inc. All Rights Reserved.
// License: https://raw.github.com/ServiceStack/ServiceStack/master/license.txt
using System;
namespace ServiceStack.Testing
{
public delegate object RestGatewayDelegate(string httpVerb, Type responseType, object requestDto);
public class Moc... |
Src/SocketIoClientDotNet.Tests.netcore45.UnitTestLibrary/ClientTests/UrlTest.cs | martinzwirner/SocketIoClientDotNet | 14 | 7046380 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using Quobject.SocketIoClientDotNet.Client;
namespace SocketIoClientDotNet.Tests.netcore45.UnitTestLibrary.ClientTests
{
[TestClass]
... |
Sample/UpdateTest/MainWindow.xaml.cs | mayuxian/AutoUpdater | 1 | 7046381 | <reponame>mayuxian/AutoUpdater<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
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.Window... |
Tests/MondoCore.Azure.Configuration.FunctionalTests/AzureConfiguration.cs | jim-lightfoot/MondoCore-Azure | 2 | 7046382 | <reponame>jim-lightfoot/MondoCore-Azure
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MondoCore.Common;
using MondoCore.Azure.Configuration;
using MondoCore.Azure.TestHelpers;
namespace MondoCore.Azure.Configuration.FunctionalTests
{
[TestClass]
public class AzureConfigurationTests
{
[... |
src/Audit.NET.AzureCosmos/Providers/AzureCosmosDataProvider.DocumentDb.cs | garora/Audit.NET | 1,775 | 7046383 | #if IS_DOCDB
using System;
using Audit.Core;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.IO;
using System.Text;
using Audit.AzureCosmos.ConfigurationApi;
namespace Audit.AzureCosmos.Providers
{... |
91.Code/LightXun.Metering.API/Controllers/Identities/AuthenticateController.cs | lightxun/LXDP | 0 | 7046384 | <gh_stars>0
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LightXun.Metering.API.Controllers.Identities
{
[ApiController]
[Route("auth")]
public class AuthenticateController: ControllerBase
{
}
}
|
Big Roguelike/Assets/_Complete-Game/Scripts/CameraController.cs | MaAnShanGuider/unity_example_of_surparallel | 8 | 7046385 | <reponame>MaAnShanGuider/unity_example_of_surparallel<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace RPGM.Gameplay
{
/// <summary>
/// A simple camera follower class. It saves the offset from the
/// focus position when started, and preserves that ... |
src/eyazisma.online.api.standard/Api/V2X/CT_Reference.cs | devhuseyinkartal/eyazisma.online.api | 0 | 7046386 | <reponame>devhuseyinkartal/eyazisma.online.api
using System;
using System.Xml.Serialization;
namespace eyazisma.online.api.Api.V2X
{
[Serializable]
[XmlType(Namespace = "urn:dpt:eyazisma:schema:xsd:PaketOzeti-2")]
[XmlRoot("Reference", Namespace = "urn:dpt:eyazisma:schema:xsd:PaketOzeti-2", IsNullable = f... |
Assets/Scripts/EnemyScripts/BossFXDamage.cs | PlotArmorStudios/Awesome-Knight | 0 | 7046387 | <filename>Assets/Scripts/EnemyScripts/BossFXDamage.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BossFXDamage : MonoBehaviour
{
public LayerMask playerLayer;
public float radius = 0.3f;
public float damageCount = 10f;
PlayerHealth playerHealth;
bool... |
Editor/VEF/VEF.Core.Shared/Util/KeyGesture.cs | devxkh/FrankE | 11 | 7046388 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using VEF.Interfaces.Base;
namespace VEF.Core.WPF.Util
{
public class KeyGestureWPF : IKeyGesture
{
public KeyGesture Gesture { get; set; }
}
}
|
src/SFA.DAS.AssessorService.Application.UnitTests/Handlers/Certificates/CertificatesPrintStatusUpdateHandlerTests/When_called_and_status_not_print_status.cs | uk-gov-mirror/SkillsFundingAgency.das-assessor-service | 0 | 7046389 | <filename>src/SFA.DAS.AssessorService.Application.UnitTests/Handlers/Certificates/CertificatesPrintStatusUpdateHandlerTests/When_called_and_status_not_print_status.cs
using FluentAssertions;
using Moq;
using NUnit.Framework;
using SFA.DAS.AssessorService.Api.Types.Models.Certificates;
using SFA.DAS.AssessorService.Api... |
bbt.gateway.messaging/Middlewares/TransactionMiddleware.cs | hub-burgan-com-tr/bbt.gateway.messaging | 0 | 7046390 | using bbt.gateway.common.Models;
using bbt.gateway.messaging.Exceptions;
using bbt.gateway.messaging.Workers;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.IO;
using System.Linq;
using System.Text;
... |
CoreFrame.Util/WebApp/HttpContextCore.cs | cityjoy/NetCoreFrame.Admin | 2 | 7046391 | using Microsoft.AspNetCore.Http;
namespace CoreFrame.Util
{
public static class HttpContextCore
{
public static HttpContext Current { get => AutofacHelper.GetService<IHttpContextAccessor>().HttpContext; }
}
}
|
sources/Interop/Windows/DirectX/um/d2d1/D2D1_DEBUG_LEVEL.cs | reflectronic/terrafx.interop.windows | 0 | 7046392 | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d2d1.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.DirectX;
/// <include ... |
src/RepositoryWithEFCore/Sample.Service/Implements/BlogService.cs | raychiutw/repository-pattern | 7 | 7046393 | using System.Collections.Generic;
using System.Threading.Tasks;
using AutoMapper;
using Sample.Repository.Enities;
using Sample.Repository.Interfaces;
using Sample.Service.Dtos;
using Sample.Service.Interfaces;
namespace Sample.Service.Implements
{
/// <summary>
/// BlogService
/// </summary>
public c... |
Generator.Tests.Integration/SingleDatabaseTestBase.cs | janissimsons/EntityFramework-Reverse-POCO-Code-First-Generator | 0 | 7046394 | namespace Generator.Tests.Integration
{
using System;
using System.Diagnostics;
using System.IO;
using Efrpg;
using Efrpg.FileManagement;
using Efrpg.Filtering;
using Efrpg.Generators;
using Efrpg.Pluralization;
using Efrpg.Templates;
using NUnit.Framework;
public abstract ... |
HavanaEditor/Common/ViewModelBase.cs | ZackShrout/HavanaEngine | 0 | 7046395 | <filename>HavanaEditor/Common/ViewModelBase.cs<gh_stars>0
using System.ComponentModel;
using System.Runtime.Serialization;
namespace HavanaEditor
{
/// <summary>
/// Base class for all view models in this project, that implements INotifyPropertyChanged
/// for each view model
/// </summary>
[DataC... |
Net/ResubBuffer.cs | hirous/test | 10 | 7046396 | <reponame>hirous/test
using System;
using System.Collections.Generic;
namespace ICSimulator
{
public class ResubBuffer
{
List<Flit> buffer;
int maxSize;
public delegate int CompareFlits(Flit f1, Flit f2);
public ResubBuffer()
{
buffer = new List<Flit>(Config... |
executions/WindowExecution.cs | pierrehub2b/windowsdriver | 2 | 7046397 | <gh_stars>1-10
/*
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 ma... |
src/Microsoft.ColumnEncryption/StreamingColumnEncryptor.cs | marknic/column-encryption | 0 | 7046398 | using Microsoft.ColumnEncryption.Common;
using Microsoft.ColumnEncryption.Config;
using Microsoft.ColumnEncryption.Data;
using Microsoft.ColumnEncryption.Encoders;
using Microsoft.ColumnEncryption.EncryptionProviders;
using Microsoft.ColumnEncryption.Metadata;
using System;
using System.Collections.Generic;
using Syst... |
src/ZoDream.Shared/Interfaces/IRuleValue.cs | zx648383079/ZoDream.Spider | 3 | 7046399 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZoDream.Shared.Interfaces
{
public interface IRuleValue: IEnumerable
{
public string ToString();
public IRuleValue Clone();
public ... |
src/TypeCreator/Creation/DefaultLifeSpan.cs | tomlazelle/TypeCreator | 0 | 7046400 | <reponame>tomlazelle/TypeCreator<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using TypeCreator.AddStrategy;
namespace TypeCreator.Creation
{
public class DefaultLifeSpan : ILifeSpan
{
public virtual object Instance(TypeContextFactory factory, ... |
Assets/Scripts/Systems/Tutorial/PopUp/TouchPopupPanel.cs | Parksejoon/holding-ball | 2 | 7046401 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class TouchPopupPanel : MonoBehaviour, IPointerDownHandler
{
// 터치
public void OnPointerDown(PointerEventData pointerEventData)
{
if (TutorialManager.instance.canTouch)
{
GameManager.insta... |
ScriptConverter/Parser/Parselets/Expressions/IndexerParselet.cs | Rohansi/SWG-ScriptConverter | 2 | 7046402 | <reponame>Rohansi/SWG-ScriptConverter<filename>ScriptConverter/Parser/Parselets/Expressions/IndexerParselet.cs
using ScriptConverter.Ast.Expressions;
namespace ScriptConverter.Parser.Parselets.Expressions
{
class IndexerParselet : IInfixParselet
{
public int Precedence { get { return (int)PrecedenceVa... |
EngineTest/Apps/ComponentBuilder/UIElements/CreateMVFunctionWindow.xaml.cs | bph-tuwien/SIMULTAN_Stand_29_09_2017 | 0 | 7046403 | <reponame>bph-tuwien/SIMULTAN_Stand_29_09_2017
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.Win... |
src/Discord.Net.Modules/ModuleService.cs | jarveson/Discord.Net | 1 | 7046404 | using System;
using System.Collections.Generic;
namespace Discord.Modules
{
public class ModuleService : IService
{
public DiscordClient Client { get; private set; }
public IEnumerable<ModuleManager> Modules => _modules.Values;
private readonly Dictionary<IModule, ModuleManager> _modules;
public M... |
NetStandard/Cocon90.Db.XUnitTest/Model/CountryLanguageModel.cs | Cocon90/Cocon90.Db | 5 | 7046405 | using Cocon90.Db.Common.Attribute;
using System;
using System.Collections.Generic;
using System.Text;
namespace Cocon90.Db.XUnitTest.Model
{
[Table(TableName = "CountryLanguage")]
public class CountryLanguageTab
{
[Column(PrimaryKey = true, ColumnName = "CountryCode")]
public int? Code { g... |
samples/apps/toggl-aka-mobileapp/mobileapp/Toggl.iOS/Views/Tag/CreateTagViewCell.cs | moljac/Samples.AndroidX | 0 | 7046406 | <reponame>moljac/Samples.AndroidX<gh_stars>0
using Foundation;
using System;
using Toggl.Core.UI.ViewModels;
using Toggl.iOS.Cells;
using Toggl.iOS.Extensions;
using Toggl.Shared;
using UIKit;
namespace Toggl.iOS.Views.Tag
{
public partial class CreateTagViewCell : BaseTableViewCell<SelectableTagBaseViewModel>
... |
src/Hyperledger.Aries/Features/PresentProof/Models/AttributeFilterConverter.cs | AYCH-Inc/aych.hyperdnet | 0 | 7046407 | <gh_stars>0
using System.Collections.Generic;
using Newtonsoft.Json;
using System;
using Newtonsoft.Json.Linq;
using System.Text.RegularExpressions;
namespace Hyperledger.Aries.Features.PresentProof
{
public class AttributeFilterConverter : JsonConverter<AttributeFilter>
{
/// <summary>
/// Re... |
ProjetWeb/Views/Account/Login.cshtml | Minestro/DUTS3-Albums_Store_WebSite | 0 | 7046408 | @model ProjetWeb.ViewModels.LoginViewModel
@{
ViewBag.Title = "Connexion";
}
<h2>Connexion</h2>
@using (Html.BeginForm())
{
<div>
@Html.LabelFor(m => m.LoginOuEmail)
@Html.TextBoxFor(m => m.LoginOuEmail)
@Html.ValidationMessageFor(m => m.LoginOuEmail)
</div>
<div>
... |
TuSharePro/Models/Response/TradeCalendarResponse.cs | lornshrimp/TuSharePro | 0 | 7046410 | <reponame>lornshrimp/TuSharePro<gh_stars>0
using Security.DataModels;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Text;
namespace TuSharePro.Models.Response
{
public class TradeCalendarResponse:_BaseResponse
{
private const string exchangeName = "exchange";
... |
InvoiceClient/Agent/AllowanceContentToPDFWatcher.cs | uxb2bralph/IFS-EIVO03 | 0 | 7046411 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using InvoiceClient.Properties;
using System.Xml;
using Utility;
using InvoiceClient.Helper;
using Model.Schema.EIVO;
using System.Threading;
using Model.Schema.TXN;
using System.Diagnostics;
using System... |
src/SanityDotNet/Models/FieldTypes/BlockFragment.cs | MattisOlsson/SanityDotNet | 0 | 7046413 | <filename>src/SanityDotNet/Models/FieldTypes/BlockFragment.cs<gh_stars>0
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.Encodings.Web;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;
using Newtonsoft.Json;
namespace SanityDotNet.Models.FieldTypes
{
... |
Game/Assets/script/PlayCanvas/Characters/Character/Klee.cs | xwv-omegax/tivat | 10 | 7046414 | <reponame>xwv-omegax/tivat
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Klee : Character
{
public override void Initial()
{
Initial("可莉", 3, 2);
sprites = GameObject.Find("Sprites");
appearance = sprites.GetComponent<AllSprites>().characte... |
CMS/CMSModules/App.Boilerplate/FormControls/IconSelector.ascx.designer.cs | yuriys-kentico/create-kentico-app | 0 | 7046415 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
BartexAccess/BartexAccess/islem.cs | Dogruyer/dogruyer-enterprise | 0 | 7046416 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Xml;
namespace BartexAccess
{
public class islem
{
public static void LogEkle(DataTable table)
{
XmlDocument document = new XmlDocument();
document.Load(... |
Source/TagLib.Sharp/TagLib/Dsf/StreamHeader.cs | Lolle2000la/Aurora.Music | 0 | 7046417 | //
// StreamHeader.cs: Provides tagging and properties support for the DSD
// (Direct Stream Digital) DSF properties.
//
// Author:
// <NAME>
//
// Copyright (C) 2014 <NAME>
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License ve... |
TestApp/Form1.Designer.cs | mjtaruo/testRepo | 0 | 7046418 | <filename>TestApp/Form1.Designer.cs<gh_stars>0
namespace TestApp
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.... |
ModSorter.cs | diehard3303/ModManagerUlt | 0 | 7046419 | //
// Author:
// DieHard <EMAIL>
//
// Copyright (c) 2016, 2007
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abo... |
BxlSharp/Types/InstPoly.cs | issus/BxlSharp | 0 | 7046420 | using System.Collections.Generic;
namespace BxlSharp.Types
{
public class InstPoly : InstItem
{
public double Width { get; set; }
public List<Point> Points { get; } = new List<Point>();
#region Deserialization helpers
internal List<Point> PPoint => Points;
#endregion
... |
Logshark.Tests/LogParser/YamlConfigLogReaderTests.cs | tableau/Logshark | 98 | 7046421 | <reponame>tableau/Logshark<gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using LogShark.Shared.LogReading.Containers;
using LogShark.Shared.LogReading.Readers;
using Xunit;
namespace LogShark.Tests.LogParser
{
[Collection("ILogReader File-based Tests")]
public cla... |
Clouseau.Tests/Classes/TestStation.cs | jblindberg/Clouseau | 0 | 7046422 | <gh_stars>0
using System.Collections.Generic;
using System.Diagnostics;
namespace Clouseau.Tests
{
public class TestStation : AbstractStation {
private static int itemNumber; // for generating test data
/**
* initialization using data in ConfigData object.
* This should be called... |
Survivalistic/Framework/Bars/BarsDatabase.cs | Ophaneom/Survivalistic | 0 | 7046423 | namespace Survivalistic.Framework.Bars
{
public class BarsDatabase
{
public static float hunger_velocity = 2f;
public static float thirst_velocity = 3f;
public static bool render_numerical_hunger = false;
public static bool render_numerical_thirst = false;
public stati... |
src/LinqToTwitter6/LinqToTwitter/User/TwitterContextUserCommands.cs | ZavierHenry/LinqToTwitter | 486 | 7046424 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace LinqToTwitter
{
public partial class TwitterContext
{
/// <summary>
/// Lets logged-in user report spam.
///... |
ikutku.DB/statistic.cs | seanlinmt/ikutku | 1 | 7046425 | //------------------------------------------------------------------------------
// <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.
//... |
CodeHubX/ViewModels/AppViewmodel.cs | sicsbd/CodeHubX | 1 | 7046426 | <gh_stars>1-10
using CodeHubX.Helpers;
using CodeHubX.Services;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Ioc;
using Octokit;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace CodeHubX.ViewModels
{
public class ... |
src/IntoItIf.MongoDb.Configuration/MongoDbConfigurationProvider.cs | swtanggara/InToItIf | 11 | 7046427 | <filename>src/IntoItIf.MongoDb.Configuration/MongoDbConfigurationProvider.cs
namespace IntoItIf.MongoDb.AspNetCore
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Primitives;
using Mon... |
src/Protocol/RegistrationOptionsKeyAttribute.cs | jairbubbles/csharp-language-server-protocol | 322 | 7046428 | using System;
using System.Linq;
namespace OmniSharp.Extensions.LanguageServer.Protocol
{
/// <summary>
/// Defines a converter that is used for converting from dynamic to static
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class RegistrationOptionsKeyAttribute : Attribute
{
... |
Database/UserSettings.cs | jbeezy24/KarteikartenDesktop | 0 | 7046429 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KarteikartenDesktop
{
public class UserSettings
{
public int SettingsID { get; set; }
public string Benutzername { get; set; }
public string Passwort { get; set... |
src/HtmlBuilder/Html.cs | Holoon/HtmlBuilder | 1 | 7046430 | <reponame>Holoon/HtmlBuilder<filename>src/HtmlBuilder/Html.cs
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
namespace HtmlBuilder
{
public partial class Html
{
internal Html(TagBuilder buil... |
Updater/Program.cs | Leayal/PSO2-Launcher-CSharp | 1 | 7046431 | <reponame>Leayal/PSO2-Launcher-CSharp
using Leayal.PSO2Launcher.Classes;
using Leayal.PSO2Launcher.Helper;
using Leayal.PSO2Launcher.Interfaces;
using Leayal.SharedInterfaces.Communication;
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
namespace ... |
TAPChecker.cs | sweetlilmre/TapChecker | 1 | 7046432 | <filename>TAPChecker.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
namespace TAPChecker
{
public class ReportLine
{
public ReportLine(string message, ReportLineStatus status)
{
Message = message;
Status = status;
}
public ... |
YahooKeyKey-Source-1.1.2528/Loaders/Windows-IMM/BaseIMEUI/BIAboutForm.Designer.cs | linpc/yKeyKey | 31 | 7046433 | // [AUTO_HEADER]
namespace BaseIMEUI
{
partial class BIAboutForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
Assets/Games/BasketBall/Scripts/ShootBall.cs | PlayArShop/mobile-application | 0 | 7046434 | <gh_stars>0
using UnityEngine;
using System.Collections;
public class ShootBall : MonoBehaviour {
public GameObject ballSource;
public GameObject camera;
private int speed = 2000;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
... |
Dict.Tests/QueryTest.cs | Frederick-S/Dictionary | 0 | 7046435 | <reponame>Frederick-S/Dictionary
using Xunit;
namespace Dict.Tests
{
public class QueryTest
{
[Fact]
public void ShouldFindWordWithExplanations()
{
var word = new Dict().Query("name");
Assert.True(word.Pronunciations.Count > 0);
Assert.True(word.Expl... |
EmptyBox/Devices/INetworkAdapter.cs | DjArt/EmptyBox.IO | 0 | 7046436 | <gh_stars>0
using EmptyBox.Network;
namespace EmptyBox.Devices
{
public interface INetworkAdapter<out TAccessPoint> : IDevice<TAccessPoint>
where TAccessPoint : class, IAccessPoint
{
IANAInterfaceType IANAInterfaceType { get; }
}
}
|
MOBRJ_XamarinForms/MOBRJ_XamarinForms.Android/AndroidInitializer.cs | WillBrigida/MOBRJ-XamarinForms | 0 | 7046437 | using Prism;
using Prism.Ioc;
namespace MOBRJ_XamarinForms.Droid
{
public class AndroidInitializer : IPlatformInitializer
{
public void RegisterTypes(IContainerRegistry containerRegistry)
{
}
}
} |
client/Lykke.Service.PayAPI.Client/AutofacExtension.cs | LykkeCity/LykkePayAPI | 0 | 7046438 | using System;
using Autofac;
using Common.Log;
namespace Lykke.Service.PayAPI.Client
{
public static class AutofacExtension
{
public static void RegisterPayAPIClient(this ContainerBuilder builder, string serviceUrl)
{
if (builder == null) throw new ArgumentNullException(nameof(buil... |
Html2Amp/Sanitization/Implementation/AudioSanitizer.cs | mustakimali/Html2Amp | 8 | 7046439 | <filename>Html2Amp/Sanitization/Implementation/AudioSanitizer.cs
using AngleSharp.Dom;
using AngleSharp.Dom.Html;
using ComboRox.Core.Utilities.SimpleGuard;
namespace Html2Amp.Sanitization.Implementation
{
public class AudioSanitizer : MediaSanitizer
{
public override bool CanSanitize(IElement element)
{
ret... |
Exercise/String.cs | Jimasd/GD | 0 | 7046440 | <filename>Exercise/String.cs
/*2. Write a program in C# Sharp to find the length of a string without using library function. Go to the editor
Test Data :
Input the string : w3resource.com
Expected Output :
Length of the string is : 15 */
public class ExerciseString2
{
public static void Main( )
{
strin... |
Project/Assets/UPool/Demo/Scripts/DemoObj.cs | jonHuffman/UPool | 2 | 7046441 | using UnityEngine;
namespace UPool.Demo
{
[RequireComponent(typeof(PoolableObject))]
[RequireComponent(typeof(Renderer))]
[RequireComponent(typeof(Collider))]
public class DemoObj : MonoBehaviour
{
public enum AllocationState
{
None,
Allocated,
D... |
Source/UIHudXPUpdate.cs | coolymike/FWR-QoL-Mod | 1 | 7046442 | <reponame>coolymike/FWR-QoL-Mod
using System;
using UnityEngine;
using UnityEngine.UI;
// Token: <KEY> RID: 182
public class UIHudXPUpdate : MonoBehaviour
{
// Token: 0x060003A3 RID: 931 RVA: 0x000051A7 File Offset: 0x000033A7
private void Awake()
{
this.canvasGroup.alpha = 0f;
}
// Token: 0x0600... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.