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 |
|---|---|---|---|---|
DockPanelSuite/DockSample/Extender/Override/DockPaneStripOverride.cs | cliftonm/intertexti | 0 | 7039922 | using System;
using WeifenLuo.WinFormsUI;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace DockSample
{
public class DockPaneStripOverride : DockPaneStripVS2003
{
protected internal DockPaneStripOverride(DockPane pane) : base(pane)
{
BackColor = SystemColors.ControlLight;
}
}
}
|
Source/Extensions/Blazorise.Charts/Options/ChartInteractions.cs | WolfgangKluge/Blazorise | 423 | 7039923 | <reponame>WolfgangKluge/Blazorise<gh_stars>100-1000
#region Using directives
using System.Text.Json.Serialization;
#endregion
namespace Blazorise.Charts
{
/// <summary>
/// To configure which events trigger chart interactions.
/// </summary>
public class ChartInteractions
{
/// <summary>
... |
MU5/Assets/Scripts/CullingGroups/Editor/CullingGroupBehavior_Editor.cs | DomCristaldi/MU5 | 1 | 7039924 | <reponame>DomCristaldi/MU5<filename>MU5/Assets/Scripts/CullingGroups/Editor/CullingGroupBehavior_Editor.cs<gh_stars>1-10
using UnityEngine;
using UnityEditor;
using System.Collections;
[CustomEditor(typeof(CullingGroupBehavior), true)]
[CanEditMultipleObjects]
public class CullingGroupBehavior_Editor : Editor {
... |
Perfx.Core/Models/Settings.cs | vamsitp/perfx | 4 | 7039925 | namespace Perfx
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
public class Settings
{
private const string OnMicrosoft = ".onmicrosoft.com";
private static... |
WFw.GeTui/Models/Auth/IAuth.cs | litesz/WFw | 0 | 7039926 | <gh_stars>0
namespace WFw.GeTui.Models.Auth
{
/// <summary>
///
/// </summary>
public interface IAuth
{
/// <summary>
///
/// </summary>
string AppKey { get; set; }
/// <summary>
///
/// </summary>
string MasterSecret { get; set; }
... |
Example/WinForm/Editor/ZYTextDocumentLib/ZYTextDocumentLib/frmDBFileList.cs | hdefucom/HDF | 1 | 7039927 | <filename>Example/WinForm/Editor/ZYTextDocumentLib/ZYTextDocumentLib/frmDBFileList.cs
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using ZYCommon;
namespace ZYTextDocumentLib
{
public class frmDBFileList : Form
{
private ColumnHeader columnH... |
ELearning.Persistence/Configurations/UserConfiguration.cs | MKafar/ELearning | 6 | 7039928 | using ELearning.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace ELearning.Persistence.Configurations
{
public class UserConfiguration : IEntityTypeConfiguration<User>
{
public void Configure(EntityTypeBuilder<User> builder)
... |
src/Baseline.Filesystem/Responses/File/GetFileResponse.cs | lsymonds/Storio | 1 | 7039929 | <filename>src/Baseline.Filesystem/Responses/File/GetFileResponse.cs
namespace Baseline.Filesystem
{
/// <summary>
/// Response returned from the FileManager.GetFile method.
/// </summary>
public class GetFileResponse
{
/// <summary>
/// Gets or sets the file representation that was r... |
Assets/Scripts and Prefabs/Multiplayer Setup/NetCodeBootstrap.cs | NTC/Unity-DOTS-Multiplayer-XR-Sample | 15 | 7039930 | <gh_stars>10-100
using Unity.Entities;
using Unity.NetCode;
using UnityEngine;
#if UNITY_EDITOR
using Unity.NetCode.Editor;
#endif
public class NetCodeBootstrap : ClientServerBootstrap
{
public override bool Initialize(string defaultWorldName)
{
var world = new World(defaultWorldName);
World.... |
src/Apocryph.Dao.Bot/Streams/DiscordInputStream.cs | iovigi/apocryph-dao-bot | 2 | 7039931 | using Apocryph.Dao.Bot.Message;
using System.Collections.Generic;
using System.Threading.Channels;
namespace Apocryph.Dao.Bot.Streams
{
public class DiscordInputStream
{
private readonly Channel<IInboundMessage> _channel;
public DiscordInputStream(Channel<IInboundMessage> channel)
{
... |
Survivor/Assets/Scripts/SpawnManager.cs | slashpot/Survivor | 0 | 7039932 | <filename>Survivor/Assets/Scripts/SpawnManager.cs
using UnityEngine;
using System.Collections;
public class SpawnManager : MonoBehaviour {
public GameObject enemy;
public Transform[] spawnPoints;
// Use this for initialization
void Start () {
InvokeRepeating ("Spawn", 3f, 1f);
}
void Spawn (){
// Find a... |
NetBenchmarkLab/ListServers.cs | devizer/KernelManagementLab | 4 | 7039933 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using KernelManagementJam;
using KernelManagementJam.DebugUtils;
using NetBenchmarkLab.NetBenchmarkModel;
using SpeedTest;
using SpeedTest.Models;
namespace NetBenchmarkLab
{
public class ... |
C#/Audio/AudioManagment.cs | the-Nem/Fujion | 0 | 7039935 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioManagment : MonoBehaviour
{
public static AudioManagment instance;
private void Awake()
{
if (instance == null) { instance = this; }
}
public AudioSource ContantLounge; // //... |
Fasterflect/Fasterflect/Emitter/MapEmitter.cs | buunguyen/fasterflect | 234 | 7039936 | <filename>Fasterflect/Fasterflect/Emitter/MapEmitter.cs
#region License
// Copyright 2010 <NAME>, <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apac... |
Data/CustomerDemographics.cs | harryho/dotnet-core-ef | 0 | 7039937 | using System;
using System.Collections.Generic;
namespace dotnet_ef_demo.Data
{
public partial class CustomerDemographics
{
public CustomerDemographics()
{
CustCustDemographics = new HashSet<CustCustDemographics>();
}
public string CustomerTypeId { get; set; }
... |
Assets/Resources/Script/Model/TrapModel.cs | abotkugyu/hod | 0 | 7039938 | <filename>Assets/Resources/Script/Model/TrapModel.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
//item情報
public class TrapModel
{
//1:罠 type
public int type = 0;
//効果値
public int value = 0;
//座標
public Vector3 position = new Vector3(0, 0... |
C# Advanced September 2019/C# OOP/exercises/Interfaces and Abstraction - Exercise/FoodShortage/Factory/Contracts/ICitizenFactory.cs | amartinn/SoftUni | 3 | 7039939 | <reponame>amartinn/SoftUni
namespace FoodShortage.Factory.Contracts
{
using Core;
public interface ICitizenFactory
{
Person Create(string name, int age, string id, string birthdate);
}
}
|
src/VM/Parsing/AST/PrettyPrinter.StringBuilderDecorator.cs | dragonquest/stack-based-vm-csharp | 6 | 7039940 | using System;
using System.Text;
namespace VM.Parsing.AST
{
public partial class PrettyPrinter : Visitor, IVisitor
{
// StringBuilderDecorater does some accounting
// of characters written in order to align the
// comments (after an instruction) properly.
private class StringBui... |
Garland.Data/Output/UpdatePackage.cs | Haman-Karn/GarlandTools | 0 | 7039941 | <reponame>Haman-Karn/GarlandTools
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Garland.Data.Output
{
public class UpdatePac... |
src/Orc.ProjectManagement/Services/Interfaces/IProjectManagementConfigurationService.cs | Orcomp/Orc.ProjectManagement | 14 | 7039942 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IProjectConfigurationService.cs" company="WildGums">
// Copyright (c) 2008 - 2015 WildGums. All rights reserved.
// </copyright>
// ---------------------------------------------... |
Runtime/Tiya Basic Library/Skills/WeaponProjectileSkill/Projectile_CollisionEffectExtension.cs | KurokiYukari/UniTiya | 1 | 7039943 | <gh_stars>1-10
using UnityEngine;
using Sarachan.UniTiya.Utility;
using Sarachan.UniTiya.TiyaPropertyAttributes;
namespace Sarachan.UniTiya.Skill
{
[AddComponentMenu("")]
[RequireComponent(typeof(TiyaProjectile))]
public class Projectile_CollisionEffectExtension : MonoBehaviour
{
public TiyaPr... |
PizzaBox.Api/Controllers/CustomerController.cs | 210329-UTA-SH-UiPath/P1_AnthonyAHernandez | 0 | 7039944 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using PizzaBox.Domain.Entities;
namespace PizzaBox.Api.Controllers
{
[ApiController]
[Route("[controller]")]... |
AcFunVideoDanmuLottery/Models/Lottery.cs | megatontech/AcFunDanmaku | 74 | 7039945 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text.Json;
using System.Text.RegularExpressions;
using System.Threading.Tasks;... |
api/src/AppManager.Infrastructure.Data/Repositories/SpecieRepository.cs | carloscfcortez/app-manager | 0 | 7039946 | <filename>api/src/AppManager.Infrastructure.Data/Repositories/SpecieRepository.cs
using System.Threading.Tasks;
using AppManager.Domain.Entities;
using AppManager.Domain.Interfaces;
using AppManager.Infrastructure.Data.Context;
using System.Linq;
namespace AppManager.Infrastructure.Data.Repositories
{
public clas... |
CronExpression/TQL.CronExpression.Preprocessor/ReplaceNonStandardDefinitions.cs | Puchaczov/TQL.Cron | 12 | 7039948 | <gh_stars>10-100
using TQL.Common.Filters.Pipeline;
namespace TQL.CronExpression.Preprocessor
{
public class ReplaceNonStandardDefinitions : FilterBase<string>
{
protected override string Process(string input)
{
switch (input)
{
case "@YEARLY":
... |
sdk/storage/Azure.ResourceManager.Storage/tests/Tests/BlobContainerTests.cs | changlong-liu/azure-sdk-for-net | 1 | 7039949 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading.Tasks;
using NUnit.Framework;
using Azure.ResourceManager.Resources;
using Azure.Core.TestFramework;
using Azure.ResourceManager.Storage.Models;
using Azure.ResourceM... |
src/Captura.Core/Services/ServiceName.cs | pgourlain/Captura | 0 | 7039950 | <gh_stars>0
namespace Captura
{
public enum ServiceName
{
/// <summary>
/// ScreenShot (Action).
/// </summary>
ScreenShot,
/// <summary>
/// Start/Stop Recording (Action).
/// </summary>
Recording,
/// <summary>
/... |
mybatis-generate-win/Program.cs | icefrog-su/mybatis-generator-win | 3 | 7039951 | /* Copyright 2019 <EMAIL>
*
* 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 or agreed to ... |
src/MivaAccess/Models/Requests/GetModifiedOrdersRequest.cs | skuvault-integrations/mivaAccess | 0 | 7039953 | <filename>src/MivaAccess/Models/Requests/GetModifiedOrdersRequest.cs
using CuttingEdge.Conditions;
using MivaAccess.Configuration;
using MivaAccess.Models.Infrastructure;
using Newtonsoft.Json;
namespace MivaAccess.Models.Requests
{
public class GetOrdersFromQueueRequest : MivaModuleQuery
{
[ JsonPropert... |
RigConServer/RigModel/Radios/RadioControlBase.cs | wa1gon/RigControlHWS | 1 | 7039954 | #region -- Copyright
/*
Copyright {2014} {<NAME> DE WA1GON}
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 app... |
Source/Engine.Tests/Syntax/SyntaxParserSyntaxErrorsTests.cs | dermeister/nevod | 0 | 7039955 | <gh_stars>0
//--------------------------------------------------------------------------------------------------
// Copyright © Nezaboodka™ Software LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0.
//-------------------------------------------------------------------------------------------... |
Assets/Scripts/PropertyAttributes/Editor/ReadOnlyPropertyDrawer.cs | vadercat/TapTap-Game-Template-Project | 9 | 7039956 | <filename>Assets/Scripts/PropertyAttributes/Editor/ReadOnlyPropertyDrawer.cs
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace TapTap.Editor
{
[CustomPropertyDrawer(typeof(ReadOnlyAttribute))]
public class ReadOnlyPropertyDrawer : PropertyDrawer
{
... |
Tests/TestsBase/Stubs/ClassificationTypeRegistryServiceStub.cs | khan007/VSOutputEnhancer | 0 | 7039957 | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Microsoft.VisualStudio.Text.Classification;
namespace Balakin.VSOutputEnhancer.Tests.Stubs
{
[ExcludeFromCodeCoverage]
public class ClassificationTypeRegistryServiceStub : IClassificationTypeRegistr... |
Smarti/Smarti.UnitTests/StatisticsControllerUnitTests.cs | Planche95/Smarti | 0 | 7039958 | <reponame>Planche95/Smarti
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Smarti.Controllers;
using Smarti.Services;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Smarti.UnitTests
{
class StatisticsControllerUnitTests
{
private readonly IRoomReposi... |
src/Domain/Common/AuditableEntity.cs | PoolPirate/WeShare | 0 | 7039959 | namespace WeShare.Domain.Common;
public abstract class AuditableEntity
{
/// <summary>
/// The time at which this entity was added to the database.
/// </summary>
public DateTimeOffset CreatedAt { get; set; }
}
|
BZFlag.Map/Elements/Shapes/Box.cs | JeffM2501/LibBZFlag | 2 | 7039961 | <reponame>JeffM2501/LibBZFlag
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BZFlag.Map.Elements.Shapes
{
public class Box : PhaseableObject
{
public Box()
{
ObjectType = "Box";
}
}
}
|
applications/MvcWeb/Views/Cms/NewsPage.cshtml | MrAnh3011/AbondWeb | 0 | 7039962 | <gh_stars>0
@model MvcWeb.Models.NewsPage
@{
ViewBag.Title = Model.Title;
Func<string> BlogLink = () =>
{
return Model.Permalink
+ (Model.Archive.Category != null ? $"/category/{Model.Archive.Category.Slug}" : "")
+ (Model.Archive.Year.HasValue ? $"/{Model.Archive.Year}" : ... |
src/Mobile/eShopOnContainers/eShopOnContainers.UnitTests/ViewModels/MockViewModelTests.cs | SimoneDev70/eShopOnContainers | 4 | 7039963 | using Xunit;
using eShopOnContainers.Core.ViewModels.Base;
namespace eShopOnContainers.UnitTests
{
public class MockViewModelTests
{
public MockViewModelTests()
{
ViewModelLocator.RegisterDependencies(true);
}
[Fact]
public void CheckValidationFailsWhenPropertiesAreEmptyTest()
{
var mockViewModel... |
01. Exercises - Defining Classes/13. Family Tree/Child.cs | d1ma1/CSharp-OOP | 1 | 7039964 | using System;
using System.Collections.Generic;
using System.Text;
namespace FamilyTree
{
public class Child
{
public string ChildName { get; set; }
public string ChildBirthday { get; set; }
public Child(string childName, string childBirthday)
{
ChildName = childNa... |
src/CloudQueueBus/CloudQueueMessageEnvelopeObserver.cs | BitTacklr/CloudQueueBus | 1 | 7039965 | <filename>src/CloudQueueBus/CloudQueueMessageEnvelopeObserver.cs
using System;
using System.IO;
using Newtonsoft.Json;
namespace CloudQueueBus
{
public class CloudQueueMessageEnvelopeObserver : IObserver<ICloudQueueMessageEnvelope>
{
private readonly IMessageContentTypeResolver _resolver;
priv... |
Models/tbl_appointment.cs | Sherlock67/AppointmentSchedule | 0 | 7039966 | <filename>Models/tbl_appointment.cs
//------------------------------------------------------------------------------
// <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 ove... |
src/SwaggerWcf/Attributes/SwaggerWcfTagAttribute.cs | AndrewWinDev/swaggerwcf | 0 | 7039967 | <reponame>AndrewWinDev/swaggerwcf
using System;
namespace SwaggerWcf.Attributes
{
/// <summary>
/// Attribute to inject a tag into a class, method, parameter or property.
/// Tags can be used to categorize in Swagger UI and to hide elements using configuration
/// </summary>
[AttributeUsag... |
BladeEngine.Core/Utils/Logging/FileLogger.cs | ironcodev/BladeEngine | 0 | 7039968 | <reponame>ironcodev/BladeEngine
using System;
using System.IO;
using static BladeEngine.Core.Utils.LanguageConstructs;
namespace BladeEngine.Core.Utils.Logging
{
public class FileLogger : ILogger
{
public string FileName { get; set; }
public string Separator { get; set; }
public FileLo... |
src/klr.hosting.shared/LoaderEngine.cs | Alxandr/KRuntime | 1 | 7039969 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if ASPNET50
using System.IO;
using System.Reflection;
namespace klr.hosting
{
public class LoaderEngine
{
public Asse... |
Back end Prototype/RateIt.Repositories/Repositories/SystemValuesRepository.cs | morality-admin/morality.network | 2 | 7039970 | <reponame>morality-admin/morality.network<filename>Back end Prototype/RateIt.Repositories/Repositories/SystemValuesRepository.cs
using RateIt.Model;
using RateIt.Repositories.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RateI... |
DotNetForce/Models/Photo.cs | steven-chong-tec/DotNetForce | 0 | 7039971 | <filename>DotNetForce/Models/Photo.cs
using Newtonsoft.Json;
namespace DotNetForce.Chatter.Models
{
public class Photo
{
[JsonProperty(PropertyName = "fullEmailPhotoUrl")]
public string FullEmailPhotoUrl { get; set; }
[JsonProperty(PropertyName = "largePhotoUrl")]
public string... |
Modules/Devon4Net.Application.WebAPI.Configuration/src/Configuration/AnsibleTowerConfiguration.cs | dario-rodriguez/devon4net-1 | 0 | 7039972 | using System.Collections.Generic;
using System.Linq;
using Devon4Net.Infrastructure.AnsibleTower.Common;
using Devon4Net.Infrastructure.AnsibleTower.Dto;
using Devon4Net.Infrastructure.AnsibleTower.Handler;
using Devon4Net.Infrastructure.CircuitBreaker.Handler;
using Devon4Net.Infrastructure.Common.Options.AnsibleTowe... |
GitPVP/RiotObjects/Platform/Account/AccountSummary.cs | t2hv33/LegendaryClient | 1 | 7039973 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PVPNetConnect.RiotObjects.Platform.Account
{
public class AccountSummary : RiotGamesObject
{
public override string TypeName
{
get
{
return this.type;
}
}
private string type = "com.riotgames.platform.account.AccountSumma... |
NewtonVgo/Runtime/Serialization/VgoBsonSerializer.cs | izayoijiichan/VGO2 | 3 | 7039974 | <reponame>izayoijiichan/VGO2
// ----------------------------------------------------------------------
// @Namespace : NewtonVgo.Serialization
// @Class : VgoBsonSerializer
// ----------------------------------------------------------------------
#pragma warning disable 618
namespace NewtonVgo.Serialization
... |
ACT.TTSYukkuri/KanjiTranslator.cs | xtuaok/ACT.TTSYukkuri | 0 | 7039975 | namespace ACT.TTSYukkuri
{
using System;
using System.Runtime.InteropServices;
using Advanced_Combat_Tracker;
/// <summary>
/// 漢字翻訳
/// </summary>
public class KanjiTranslator : IDisposable
{
/// <summary>
/// ロックオブジェクト
/// </summary>
private static ob... |
Pilot.Web/Model/Search/Tokens/DateTokens.cs | Rubius/Pilot.Web | 4 | 7039976 | using System;
using System.Collections.Generic;
using System.Globalization;
using Ascon.Pilot.Common;
namespace Pilot.Web.Model.Search.Tokens
{
#region Created and Changed tokens
abstract class DateKeywordBaseToken : KeywordToken
{
protected override List<Type> ValidNextTypes => new List<Type>
... |
Assets/Scripts/Enemy/EnemyMovement.cs | dubu-0/Tile_Vania | 0 | 7039977 | using UnityEngine;
namespace Enemy
{
[RequireComponent(typeof(Rigidbody2D))]
[RequireComponent(typeof(PolygonCollider2D))]
public class EnemyMovement : MonoBehaviour
{
[SerializeField] private float speed;
private Rigidbody2D _rigidbody2D;
private void Start()
... |
src/AngleSharp/Foundation/Pool.cs | forprog/AngleSharp | 0 | 7039978 | <reponame>forprog/AngleSharp<gh_stars>0
namespace AngleSharp
{
using AngleSharp.Dom.Css;
using AngleSharp.Parser.Css;
using AngleSharp.Services;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
/// <summary>
/// Provides a pool of used / recycled resources.
... |
src/Platformus.Forms.Backend/Areas/Backend/ViewModels/Shared/Field/FieldViewModelFactory.cs | uQr/Platformus | 0 | 7039979 | <filename>src/Platformus.Forms.Backend/Areas/Backend/ViewModels/Shared/Field/FieldViewModelFactory.cs
// Copyright © 2015 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Platformus.Barebone;
using Pla... |
PromptPlus.Tests/Objects/ResultBrowserTest.cs | FRACerqueira/PromptPlus | 5 | 7039981 | using System.IO;
using PPlus.Objects;
using Xunit;
namespace PPlus.Tests.Objects
{
public class ResultBrowserTest
{
[Fact]
public void Should_have_folder_value()
{
// Given
var rb = new ResultBrowser("folder", "file", false);
// Then
A... |
projects/configuration/src/Program.cs | aydey/dotnetcore2 | 4 | 7039982 | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
namespace Configuration
{
public class Startup
{
IConfigurationRoot _co... |
TankLib/STU/Types/STU_34F6B4CF.cs | ekin1106/OWLib | 1 | 7039983 | // Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x34F6B4CF)]
public class STU_34F6B4CF : STUInstance {
[STUFieldAttribute(0x123179A6)]
public teStructuredDataAssetRef<ulong> m_123179A6;
[STUFieldAttribute(0xC6A... |
SCM.Web/Views/Users/Login.cshtml | hardsree123/SCM | 0 | 7039984 | @model SCM.Business.DbModel.Users
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width" />
<meta name="description" content="iSeeker Admin template">
<meta name="author" content="GeeksLabs">
<meta name="keyword"... |
Boleto2.Net.AppTesteCore/Views/Home/Index.cshtml | openline-sistemas/boleto2net | 0 | 7039985 | <gh_stars>0
@using Boleto2.Net.AppTesteCore.Models
@model GeraBoletoViewModel
@{
ViewData["Title"] = "Home Page";
}
<style>
.linha {
display: flex;
flex-direction: row;
max-width: 1400px;
justify-content: flex-start;
gap: 10px;
}
.content {
display: fl... |
TechTalk.SpecFlow/Assist/ValueRetrievers/NullableDecimalValueRetriever.cs | dannyBies/SpecFlow | 1 | 7039986 | using System;
namespace TechTalk.SpecFlow.Assist.ValueRetrievers
{
public class NullableDecimalValueRetriever : NullableValueRetriever<decimal?>
{
private readonly Func<string, decimal> decimalValueRetriever;
public NullableDecimalValueRetriever()
: this(v => new DecimalV... |
DeveloperToolsForUPnP/Global/UPnP/Utils.cs | Erikhht/DeveloperToolsForUPnP-Tools | 5 | 7039987 | using System;
using System.Net;
using System.Text;
using System.Collections.Generic;
namespace OpenSource.UPnP
{
public class Utils
{
public static IPAddress UpnpMulticastV4Addr = IPAddress.Parse("172.16.31.10");
public static IPAddress UpnpMulticastV6Addr1 = IPAddress.Parse("fd00:c2b6:b24b:be... |
src/InterrogatorLib.M3OrangeUHFGun/M3ReaderGunLowLevel.cs | rfid-applied/InterrogatorLib | 1 | 7039988 | <reponame>rfid-applied/InterrogatorLib
//#define CHATTY_READER // define if you want to receive debug output in the file CHATTY_OUTPUT_FILE
//#define NATIVE // define to call native functions instead of the provided .NET wrapper
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
usi... |
Scripts/AutoIntensity.cs | PetePrattis/medieval-village-rpg-in-unity-3d | 2 | 7039989 | <filename>Scripts/AutoIntensity.cs
using UnityEngine;
using System.Collections;
public class AutoIntensity : MonoBehaviour
{
public Gradient nightDayColor;
public float maxIntensity = 3f;
public float minIntensity = 0f;
public float minPoint = -0.2f;
public float maxAmbient = 1f;
... |
src/Be.Stateless.BizTalk.Deployment.Cmdlets/Deployment/Cmdlet/Sso/GetAffiliateApplication.cs | icraftsoftware/Be.Stateless.PowerShell.Module.BizTalk.Deploymen | 1 | 7039990 | #region Copyright & License
// Copyright © 2012 - 2021 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... |
core/Controllers/BaseController.cs | toby2nice/puck-core | 1 | 7039991 | <filename>core/Controllers/BaseController.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Web;
using Lucene.Net.Index;
using Lucene.Net.Search;
using Newtonsoft.Json;
using puck.core.Base;
using puck.core.Constants;
using puck.core.... |
DotNetCore.DataLayer.Dapper/Handlers/DateTimeHandler.cs | peerlancers/dapper-netcore-seed | 0 | 7039992 | <reponame>peerlancers/dapper-netcore-seed
using Dapper;
using System;
using System.Data;
namespace DotNetCore.DataLayer.Dapper.Handlers
{
public class DateTimeHandler : SqlMapper.TypeHandler<DateTime>
{
public override DateTime Parse(object value)
{
return DateTime.SpecifyKind((Dat... |
BattleCards/BattleCards/Data/DataConstants.cs | TsonevD/CSharpWebBasics | 0 | 7039993 | namespace BattleCards.Data
{
public class DataConstants
{
public const int UserDefaultMaxLength = 20;
public const int UserMinLength = 5;
public const int PasswordMinLength = 6;
public const string UserEmailRegularExpression = @"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,... |
test/Itinero.Optimization.Tests/Models/ModelValidationTests.cs | itinero/optimization | 43 | 7039994 | /*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... |
Annotator/Workspace.cs | tuandnvn/ecat | 0 | 7039995 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Windows.Forms;
namespace Annotator
{
//Workspace class
class Workspace
{
private List<Project> projects;
private Dictionary<string, ... |
RandomCubesUnity/Assets/Scripts/RandomCubes.cs | Doggitoz/RandomCubes | 0 | 7039996 | /****
* Created by: <NAME>
* Date Create: Jan 24, 2022
*
* Last Edited by: N/A
* Last Edited: Jan 26, 2022
*
* Description: Spawns multiple cubes prefabs into scene
****/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RandomCubes : MonoBehaviour
{
[SerializeF... |
src/NQuery/Optimization/CommonTableExpressionInstantiator.cs | dallmair/nquery-vnext | 63 | 7039997 | <reponame>dallmair/nquery-vnext
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using NQuery.Binding;
using NQuery.Symbols;
namespace NQuery.Optimization
{
internal sealed class CommonTableExpressionInstantiator : BoundTreeRewriter
... |
Assets/Scripts/Utility/Utils.cs | thuyiya/water-drop | 1 | 7039998 | <filename>Assets/Scripts/Utility/Utils.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_5_0 || UNITY_5_1 || UNITY_5_2
#else
using UnityEngine.SceneManagement;
#endif
public static class Utils{
public static void ReloadScene()
{
#if UNITY_5_0 || UNITY_5_1 || UNITY_5_2
... |
A-Star/Library/PackageCache/com.unity.inputsystem@1.0.0/InputSystem/Utilities/StringHelpers.cs | wail0152/IPASS | 8 | 7039999 | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace UnityEngine.InputSystem.Utilities
{
internal static class StringHelpers
{
/// <summary>
/// For every character in <paramref name="str"/> that is contained in <paramref name="chars... |
src/Platformus.ECommerce.Backend/Areas/Backend/Controllers/OrdersController.cs | Platformus/Platformus | 510 | 7040000 | // Copyright © 2020 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using ExtCore.Events;
using Magicalizer.Data.Repositories.Abstractions;
using Microsoft.AspNetCore.Authorization;
using Microso... |
DAL/Entities/Director.cs | MKamil99/CoPoleci | 0 | 7040001 | <gh_stars>0
using MySql.Data.MySqlClient;
using System.Windows.Media.Imaging;
using System;
namespace CoPoleci.DAL
{
public class Director
{
public ushort Id { get; private set; }
public string Name { get; private set; }
public string Born { get; private set; }
public string Di... |
src/Bali/IO/StreamExtensions.cs | miscme/Bali | 1 | 7040002 | <reponame>miscme/Bali
using System;
using System.IO;
namespace Bali.IO
{
internal static unsafe class StreamExtensions
{
internal static byte ReadU1(this Stream stream)
{
int value = stream.ReadByte();
if (value == -1)
throw new Exception("Unexpected end ... |
Vostok.ClusterClient.Core/Model/ClusterResult.cs | minya/clusterclient.core | 10 | 7040003 | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Vostok.Clusterclient.Core.Model
{
/// <summary>
/// Represent the final result of sending request to a cluster of replicas.
/// </summary>
// ReSharper disable once InheritdocConsiderUsage
[Pu... |
Fuel calculator/Xml/Objects/Settings.cs | ngoetje/Fuel-App-ACC | 5 | 7040004 | using System;
using System.Collections.Generic;
using System.Windows.Documents;
using System.Xml.Serialization;
namespace Fuel_calculator.Xml
{
[XmlRoot("Settings")]
public class Settings
{
[XmlElement("CarTrack")] public List<CarTrackCombo> CarTrackCombo;
}
public class CarTrackCombo
... |
UtilityWpf/Converter/ColorConverter.cs | dtaylor-530/UtilityWpfCore | 2 | 7040005 | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
namespace UtilityWpf.Converter
{
[ValueConversion(typeof(System.Drawing.Color), typeof(Color))]
public class ColorConverter : IValueConverter
{
public object Convert(object value... |
Starfield.Core/Block/Blocks/BlockObserver.cs | dskprt/nylium | 10 | 7040006 | <reponame>dskprt/nylium
// FILE AUTOGENERATED. DO NOT MODIFY
using System;
namespace Starfield.Core.Block.Blocks {
[Block("minecraft:observer", 508, 9264, 9275, 9269)]
public class BlockObserver : BlockBase {
public override ushort State {
get {
if(Facing == "nor... |
Common/Project/Models/JsonResults/RegisterBaseJsonResult.cs | Sitecore/sccs-demo | 8 | 7040007 | <reponame>Sitecore/sccs-demo<filename>Common/Project/Models/JsonResults/RegisterBaseJsonResult.cs
//-----------------------------------------------------------------------
// <copyright file="RegisterBaseJsonResult.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2015
// </copyright>
... |
Cloud Enter/Epi.Compatibility/Epi.Core/Data/DbColumnType.cs | 82ndAirborneDiv/Epi-Info-Cloud-Contact-Tracing | 1 | 7040008 | namespace Epi.Data
{
/// <summary>
/// Common DbColumn types used across all drivers
/// </summary>
public class DbColumnType
{
}
}
|
src/mono/mono/tests/generic-sizeof.2.cs | belav/runtime | 0 | 7040009 | public class ClassA { }
public struct GenStruct<T>
{
int field1;
long field2;
T field3;
}
public struct Struct
{
int field1;
long field2;
byte field3;
}
public class Gen<T>
{
public unsafe int sizeofGenStructT()
{
return sizeof(Struct);
}
}
public class main
{
public ... |
DataTypesAndVariablesExercises/problem1PracticeIntegerNumbers/problem1PracticeIntegerNumbers.cs | YankoGrancharov/ProgFundamentals | 0 | 7040010 | using System;
namespace problem1PracticeIntegerNumbers
{
class Problem1PracticeIntegerNumbers
{
static void Main()
{
sbyte aa = -100;
byte bb = 128;
short cc = -3540;
ushort dd = 64876;
uint ee = 2147483648;
int ff = -11415... |
Condominium_Manager/Condominium_Manager/DataModels/Database Objects/QuotaView.cs | diogodanielsoaresferreira/Condominium | 0 | 7040011 | using Condominium_Manager.DataModels;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Condominium_Manager
{
public class QuotaView
{
public string Nome { get; set; }
public int Piso { get... |
Assets/Scripts/Installer/NumberRendererInstaller.cs | upm-packages/CAFU.DigitRenderer | 0 | 7040012 | <filename>Assets/Scripts/Installer/NumberRendererInstaller.cs
using System;
using System.Collections.Generic;
using System.Linq;
using CAFU.NumberRenderer.Controller;
using CAFU.NumberRenderer.Entity;
using CAFU.NumberRenderer.Presenter;
using CAFU.NumberRenderer.UseCase;
using CAFU.NumberRenderer.View;
using JetBrains... |
MLHades/Assets/MLHades/Scripts/Attacks/LaserAttack.cs | bornacvitanic/MLHades | 0 | 7040013 | <gh_stars>0
using UnityEngine;
public class LaserAttack : Attack
{
private float timeSinceEnable;
private bool gracePeriod = false;
private float tickInterval = 0.11f;
private float timeUntilNextTick = 0f;
private LineRenderer lineRenderer;
private void Awake()
{
lineRenderer = Get... |
test/Shared/UnitTests/Infrastructure/DependencyResolution/DbConfigurationLoaderTests.cs | mariloutb/EntityFramework-Classic | 1,209 | 7040014 | <reponame>mariloutb/EntityFramework-Classic<filename>test/Shared/UnitTests/Infrastructure/DependencyResolution/DbConfigurationLoaderTests.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Infrastructure.D... |
src/Common/Zip/ZipFileInfo.cs | slolam/xecme | 0 | 7040015 | <reponame>slolam/xecme
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Collections;
namespace Axp.Fx.Common.Zip
{
internal sealed class ZipFileInfo
{
// Fields
private ZipIOLocalFileBlock _fileBlock;
private ZipArchive... |
DirectMapper.Test/NoRulesTests.cs | FarzanHajian/DirectMapper | 0 | 7040016 | using DirectMapper.Test.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
namespace DirectMapper.Test
{
[TestClass]
public class NoRulesTests : TestBase
{
[TestMethod]
public void Clone()
{
var srcObject = customers[0];
... |
src/CoreWCF.NetTcp/src/CoreWCF/Channels/Framing/FramingConnection.cs | petarpetrovt/CoreWCF | 0 | 7040017 | <filename>src/CoreWCF.NetTcp/src/CoreWCF/Channels/Framing/FramingConnection.cs<gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Diagnostics;
using System.IO;
using System.IO.Pipelines;
using S... |
Skydeo.ViewModels/BaseViewModel.cs | marc68128/Skydeo | 0 | 7040018 | using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Skydeo.ViewModels.Modals;
using Skydeo.ViewModels.Properties;
namespace Skydeo.ViewModels
{
public class BaseViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
pu... |
Connascence/Connascence/ConnascenceOfTiming.cs | PavelHudau/BlogCodeExamples | 2 | 7040019 | using System.Threading.Tasks;
namespace ConnascenceOfTiming
{
public class User
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string PhoneNumber { get; set; }
}
public abstract class UserRepository
{
... |
src/Test/Common/Code/Microsoft/Test/Graphics/ReferenceRender/SSLProjectedGeometry.cs | kant2002/wpf-test | 25 | 7040020 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Windows;
using System.Windows... |
Note.cs | TominoCZ/TabPlayer | 2 | 7040021 | <filename>Note.cs
using System;
namespace TabPlayer
{
public struct Note
{
public static Note operator +(Note n, int offset)
{
var newVal = n.Value + offset;
var octaves = newVal / 12;
var value = newVal < 12 ? newVal : newVal % 12;
var octave = n.Octave + octaves;
var note = Notes[value];
n... |
Web/Controllers/HomeController.cs | Damyan04/T-ShirtShop | 0 | 7040022 | <filename>Web/Controllers/HomeController.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using TShirtShop.Services;
using TShirtShop.Models;
namespace TShirtShop... |
test/FrameworkCoreTest/Api/OAuthAccessTokenTest.cs | JamesYing/JCWX | 162 | 7040023 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WX.Model.ApiRequests;
using WX.Model.ApiResponses;
using Xunit;
namespace FrameworkCoreTest
{
public class OAuthAccessTokenTest : MockPostApiBaseTest<SnsOAuthAccessTokenRequest, SnsOAuthAccess... |
Sociatis/Code/Json/Battle/JsonFightModel.cs | blendiahmetaj1/eSupremacy | 0 | 7040024 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Sociatis.Code.Json.Battle
{
public class JsonFightModel :JsonSuccessModel
{
public double Damage { get; set; }
public double HP { get; set; }
public JsonFightModel(double damage, ... |
SStats/Resources/NSSServices/RegressionResult.cs | USGS-WiM/StreamStatsServices | 1 | 7040025 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;
using WiM.Resources;
using Newtonsoft.Json;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
namespace NSSService.Resources
{
public class RegressionResult
{
publi... |
src/MLNet.AutoPipeline/API/SweepableOptions/LightGbmMulticlassTrainerSweepableOptions.cs | mlnethub/machinelearning-auto-pipeline | 3 | 7040026 | // <copyright file="LightGbmMulticlassTrainerSweepableOptions.cs" company="BigMiao">
// Copyright (c) BigMiao. All rights reserved.
// </copyright>
using Microsoft.ML.Trainers.LightGbm;
using System;
using System.Collections.Generic;
using System.Text;
namespace MLNet.AutoPipeline
{
/// <summary>
/// Sweepab... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.