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/Scripts/Shoot Em Up/Background.cs | joelaphoto/BigBadBoatyBoy | 0 | 7041919 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Background : MonoBehaviour {
public Transform Background1;
public Transform Background2;
private bool whichOne = true;
public Transform cam;
private float currentHeight = 20;
// Update is called once... |
samples/Quickstarts/9_Combined_AspId_and_EFStorage/IdentityServer4Client/CurrentPrincipalAccessor.cs | IvanZheng/IdentityServer4 | 0 | 7041920 | <reponame>IvanZheng/IdentityServer4
using System;
using System.Security.Claims;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace IdentityServer4Client
{
public class CurrentPrincipalAccessor: ICurrentPrincipalAccessor
{
private readonly IServiceProvider _servi... |
GroupHorror Cats/Assets/Scripts/Radar2.cs | ahad-khan/HorrorGamePrototype | 1 | 7041921 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Radar2 : MonoBehaviour
{
[SerializeField]
private float rotationSpeed = 100f;
[SerializeField]
private float radarDistance = 50f;
[SerializeField]
private Transform ping;
[SerializeFi... |
src/Examples/JsonApiDotNetCoreExample/Controllers/TagsController.cs | sarahentzel/JsonApiDotNetCore | 0 | 7041922 | using JsonApiDotNetCore.Controllers;
using JsonApiDotNetCore.Services;
using JsonApiDotNetCoreExample.Models;
namespace JsonApiDotNetCoreExample.Controllers
{
public class TagsController : JsonApiController<Tag>
{
public TagsController(
IJsonApiContext jsonApiContext,
IResourceS... |
sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/EndpointResourceState.cs | gjy5885/azure-sdk-for-net | 3,268 | 7041923 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ComponentModel;
namespace Azure.ResourceManager.Cdn.Models
{
/// <summary> Resource status of the endpoint. </summary>
public readonly partial str... |
BroadworksConnector/Extensions/OCISchemaServiceChargeNumberExtensions.cs | Rogn/broadworks-connector-net | 0 | 7041924 | <gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks;
using BroadWorksConnector.Ocip.Models;
using BroadWorksConnector.Ocip.Models.C;
namespace BroadWorksConnector
{
public static class OCISchemaServiceChargeNumberExtensions
{
/// <summary>
/// Request the user level ... |
Assets/Scripts/_Sources/Card/Deck/_System/StartDeckCardDrawingSystem.cs | Arpple/projectend | 0 | 7041925 | <reponame>Arpple/projectend
using System.Collections.Generic;
using System.Linq;
using Entitas;
using UnityEngine.Assertions;
public class StartDeckCardDrawingSystem : GameReactiveSystem
{
private readonly GameContext _gameContext;
private readonly CardContext _cardContext;
private readonly DeckSetting _setting;
... |
Shared/Cauldron.XAML/Interactivity/Actions/ActionBase.cs | armohamm/Cauldron | 78 | 7041926 | #if WINDOWS_UWP
using Windows.UI.Xaml;
#else
using System.Windows;
#endif
namespace Cauldron.XAML.Interactivity.Actions
{
/// <summary>
/// Represents a base class for action behaviours
/// </summary>
public abstract class ActionBase : Behaviour<FrameworkElement>
{
/// <summary>
... |
CSharp-DB/Databases-Advanced/Homeworks/01AdoNetIntroduction/08IncreaseMinionAge/StartUp.cs | kalintsenkov/SoftUni-Software-Engineering | 8 | 7041927 | namespace _08IncreaseMinionAge
{
using System;
using System.Data.SqlClient;
using System.Linq;
using _01InitialSetup;
public class StartUp
{
public static void Main()
{
var minionIds = Console.ReadLine()
.Split(" ", StringSplitOptions.RemoveEmptyEnt... |
Sunfish/Middleware/ZipDownload.cs | XWolfOverride/Sunfish | 1 | 7041928 | <reponame>XWolfOverride/Sunfish
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sunfish.Middleware
{
public class ZipDownload : IDisposable
{
private HttpCall call;
priva... |
Assets/TextureWang/Scripts/Nodes/PerlinNode.cs | ArieLeo/TextureWangBeta | 78 | 7041929 | <filename>Assets/TextureWang/Scripts/Nodes/PerlinNode.cs
#if UNUSED_OLD_CPU_CODE
using UnityEngine;
using NodeEditorFramework;
using NodeEditorFramework.Utilities;
[Node (false, "Standard/Example/PerlinNode")]
public class PerlinNode : TextureNode
{
public const string ID = "PerlinNode";
public override string GetI... |
!Docs/EditorBoss.cs | DavidAzouz29/Food-Fight-2016-Prototype-Unity | 2 | 7041930 | using UnityEngine;
using UnityEditor;
using System.Collections;
[CustomEditor(typeof(BossBlobs))]
public class EditorBoss : Editor {
public override void OnInspectorGUI()
{
serializedObject.Update();
EditorList.Show(serializedObject.FindProperty("m_Thresholds"), true, true);
EditorLis... |
SCCM/Models/OS.cs | ehubba78/SCCM | 0 | 7041931 | <gh_stars>0
using System.Collections.Generic;
namespace SCCM.Models
{
public class OS
{
public string Name { get; set; }
public string ID { get; set; }
public bool isBeta { get; set; }
public List<CollectionBucket> CollectionofPC { get; set; }
}
}
|
BitEx.IGrains/Entity/Account/CurrencyAsset.cs | jangocheng/BitEx | 0 | 7041932 | namespace BitEx.IGrain.Entity
{
public class CurrencyAsset
{
public string CurrencyId { get; set; }
public decimal Amount { get; set; }
}
}
|
Assets/AnyRPG/Engine/Core/System/Scripts/UI/CloseableWindows/CharacterPreviewPanelController.cs | unitycoder/AnyRPGCore | 1 | 7041933 | using AnyRPG;
using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
namespace AnyRPG {
public class CharacterPreviewPanelController : WindowContentController {
public event Action OnTargetReady = delegate { };
public override event Action<IClos... |
TechZone.Web/App_Start/NinjectWebCommon.cs | alexander-stoqnov/TechZone-ASP.NET_MVC_Project | 2 | 7041934 | using TechZone.Services;
using TechZone.Services.Contracts;
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(TechZone.Web.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(TechZone.Web.App_Start.NinjectWebCommon), "Stop")]
namespace TechZone.Web... |
src/ApplicationCore/Services/SecretClientService.cs | kardelw1409/AzureTraining | 0 | 7041935 | using System;
using System.Net;
using System.Threading.Tasks;
using Azure;
using Azure.Security.KeyVault.Secrets;
using Microsoft.eShopWeb.ApplicationCore.Interfaces;
using Microsoft.Extensions.Logging;
namespace Microsoft.eShopWeb.ApplicationCore.Services
{
public class SecretClientService : ISecretClientService... |
Schemas/Objects/SpecValue.cs | issus/Octopart.Net | 0 | 7041936 | using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
using System;
namespace Octopart.Net.Schemas.Objects
{
public class SpecValue
{
/// <summary>
/// The value of the product property
/// </summary>
[JsonProperty("value")]
public List<string> Val... |
BulletSharpPerfTest/ProcessorSupport.cs | AndresTraks/BulletSharpPerfTest | 0 | 7041937 | <reponame>AndresTraks/BulletSharpPerfTest
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace BulletSharpPerfTest
{
class ProcessorSupport
{
public enum InfoType : uint
{
HighestFunction = 0,
VersionInformation = 1,
... |
Tests/dynaimcLinqTestObjects/DynamicLinqTestObjects.cs | amir734jj/ExpressionTreeToString | 2 | 7041938 | using ExpressionTreeTestObjects;
using System;
using System.Linq.Expressions;
namespace ExpressionTreeToString.Tests {
[ObjectContainer]
public static partial class DynamicLinqTestObjects {
internal static Expression Expr<T>(Expression<Func<Person, T>> expr) => expr;
internal static Expression... |
source/Zyan.Tests/InvocationDetailsTests.cs | mikel785/Zyan | 85 | 7041939 | <reponame>mikel785/Zyan
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zyan.Communication;
namespace Zyan.Tests
{
#region Unit testing platform abstraction layer
#if NUNIT
using NUnit.Framework;
using TestClass = NUnit.Framework.TestFixtureAttribute;
using ... |
Solutions/Stacker.Cli/Cleaners/ReplaceWpUploadPath.cs | endjin/Endjin.Stacker | 5 | 7041940 | // <copyright file="ReplaceWpUploadPath.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Stacker.Cli.Cleaners
{
using System;
using System.Text.RegularExpressions;
public class ReplaceWpUploadPath : IPostConvertCleaner
{
public stri... |
Assets/Scripts/Core/Spawns/EnemySpawn.cs | MalachiMackie/Platformer | 0 | 7041941 | using Gameplay;
using UnityEngine;
namespace Core.Spawns
{
public class EnemySpawn : MonoBehaviour
{
public Enemy.EnemyType type;
private void OnDrawGizmos()
{
Gizmos.color = Color.white;
Gizmos.DrawIcon(transform.position, "Enemy");
... |
ChameleonForms.AcceptanceTests/ModelBinding/Pages/Fields/IField.cs | zabulus/ChameleonForms | 1 | 7041943 | <filename>ChameleonForms.AcceptanceTests/ModelBinding/Pages/Fields/IField.cs
namespace ChameleonForms.AcceptanceTests.ModelBinding.Pages.Fields
{
internal interface IField
{
void Set(IModelFieldValue value);
object Get(IModelFieldType fieldType);
}
internal class NoField : IFie... |
GParse.Benchmarks/Lexer/Composable/OptimizationAlgorithms/MergeRangesMicrobenchmark.cs | GGG-KILLER/GParse | 1 | 7041944 | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using BenchmarkDotNet.Attributes;
//using BenchmarkDotNet.Jobs;
//namespace GParse.Benchmarks.Lexer.Composable.OptimizationAlgorithms
//{
// using GParse.Lexing.Composable;
// [DisassemblyDiagnoser, MemoryDiagnoser]
// [SimpleJob ( R... |
Sdk/AlipaySdk/Domain/PromoteDetailModel.cs | BJDIIL/components | 2 | 7041945 | <reponame>BJDIIL/components
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// PromoteDetailModel Data Structure.
/// </summary>
[Serializable]
public class PromoteDetailModel : AopObject
{
/// <summary>
/// 广告id
/// </summary>
... |
RentLog.DatabaseLib/DatabaseFinders/CollectionsLocalDir.cs | peterson1/RentLog | 0 | 7041946 | <reponame>peterson1/RentLog
using CommonTools.Lib11.ExceptionTools;
using CommonTools.Lib11.FileSystemTools;
using CommonTools.Lib11.JsonTools;
using CommonTools.Lib11.StringTools;
using CommonTools.Lib45.FileSystemTools;
using CommonTools.Lib45.JsonTools;
using CommonTools.Lib45.LiteDbTools;
using RentLog.DatabaseLib... |
Models/DataSet/AncillaryDataSet.cs | rowetechinc/RTI | 2 | 7041947 | /*
* Copyright 2011, Rowe Technology Inc.
* All rights reserved.
* http://www.rowetechinc.com
* https://github.com/rowetechinc
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions... |
UnlockDem/UnlockDemConsole/UnlockDemManager.cs | ChristopherMillon/Unlock | 0 | 7041948 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using UnlockDemConsole.ParsyBoi;
using UnlockDemConsole.PowerShell;
using UnlockDemConsole.Slack;
namespace UnlockDemConsole
{
publi... |
Assets/Scripts/DragonBones/model/AnimationConfig.cs | MadGriffonGames/BiltyBlop-Farts | 5 | 7041949 | <gh_stars>1-10
using System.Collections.Generic;
namespace DragonBones
{
/**
* @language zh_CN
* @beta
* 动画配置,描述播放一个动画所需要的全部信息。
* @see DragonBones.AnimationState
* @version DragonBones 5.0
*/
public class AnimationConfig : BaseObject
{
/**
* @language zh_CN
... |
Source/TCKernel/Base Classes/Operators/BinaryOperator.cs | lis355/TableCloth | 1 | 7041950 | <gh_stars>1-10
namespace TableClothKernel
{
public abstract class BinaryOperator : Operator
{
public Operand FirstOperand { get { return Operands[0]; } set { Operands[0] = value; } }
public Operand SecondOperand { get { return Operands[1]; } set { Operands[1] = value; } }
protected BinaryOperator( EOperator t... |
src/GRINTSYS.SAPMiddleware.Application/Products/Dto/AddProduct.cs | Grintsys/GRINTSYS.SAPMiddleware | 0 | 7041951 | <reponame>Grintsys/GRINTSYS.SAPMiddleware
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.ComponentModel.DataAnnotations;
namespace GRINTSYS.SAPMiddleware.Products
{
[AutoMap(typeof(M2.Product))]
public class AddProductInput: EntityDto
{
public const int MaxNam... |
TechZone.Models/EntityModels/HardDrive.cs | alexander-stoqnov/TechZone-ASP.NET_MVC_Project | 2 | 7041952 | namespace TechZone.Models.EntityModels
{
using System.ComponentModel.DataAnnotations.Schema;
using Enums;
using System.ComponentModel.DataAnnotations;
[Table("HardDrives")]
public class HardDrive : Product
{
[Range(80, 10000, ErrorMessage = "Hard drive capacity must be between... |
Semestrul6/MPP/L4/P7/Reservations/Model/HallLocation.cs | Andrei15193/Laboratoare-Facultate | 2 | 7041953 | <filename>Semestrul6/MPP/L4/P7/Reservations/Model/HallLocation.cs
using System.ComponentModel;
namespace Reservations.Model
{
public enum HallLocation
{
[Description("Stal")]
Stal,
[Description("Loja 1")]
Lodge1,
[Description("Loja 2")]
Lodge2,
[Description("Loja 3")]
Lodge3,
[Description("Lo... |
src/Conan.Plugin.PropertyChanged.Tests/GeneratedTests.cs | distantcam/Conan.Plugin.PropertyChanged | 2 | 7041954 | <filename>src/Conan.Plugin.PropertyChanged.Tests/GeneratedTests.cs
using Xunit;
namespace Conan.Plugin.PropertyChanged.Tests
{
public class SingleFireTest
{
[Theory]
[InlineData("bool", true, false)]
[InlineData("byte", (byte)1, (byte)2)]
[InlineData("char", 'c', 'd')]
[InlineData("double", 1.0, 1.1)]
[... |
NadekoBot/Classes/JSONModels/Configuration.cs | jjp47/nadeko02 | 0 | 7041955 | <reponame>jjp47/nadeko02
using Discord;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.IO;
namespace NadekoBot.Classes.JSONModels
{
public class Configuration
{
public bool DontJoinServers { get; set; } = false;
public bool ForwardMessages { get; set; } = true;
p... |
Logging/DaoLoggerLogReader.cs | BryanApellanes/bam.net.shared | 0 | 7041956 | <filename>Logging/DaoLoggerLogReader.cs
/*
Copyright © <NAME> 2015
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Bam.Net.Data;
namespace Bam.Net.Logging
{
public class DaoLoggerLogReader: DaoLoggerLogReaderBase
{
public DaoLoggerLogR... |
SampleUnityProject/Assets/AugmentedAugmentedReality/Examples/CameraAugFlash/Scripts/CameraCaptureManager.cs | exii-uw/AARToolkit | 5 | 7041957 | <gh_stars>1-10
using AAR;
using Microsoft.MixedReality.Toolkit.Input;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using UnityEngine;
using UnityEngine.XR.WSA.WebCam;
public class CameraCaptureManager : MonoBehaviour
{
public StaticMaterial CameraFlash = n... |
src/HDWallet.Api/V1/Controllers/TronController.cs | polarbit/hdwallet | 7 | 7041959 | using System;
using HDWallet.Api.V1.Models;
using HDWallet.Core;
using HDWallet.Tron;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace HDWallet.Api.V1.Controllers
{
[ApiController]
[ApiVersion( "1.0" )]
[Route("api/v{version:apiVersion}")]
public class TronCont... |
TaitoTourismMap/TaitoTourismMap/Pages/ListPage.xaml.cs | t-miyake/XamarinForms | 4 | 7041960 | using Xamarin.Forms;
namespace TaitoTourismMap
{
public partial class ListPage : ContentPage
{
public ListPage()
{
InitializeComponent();
BindingContext = new ListPageViewModel();
}
protected override void OnAppearing()
{
base.OnAppe... |
src/Shared/Recruit.Shared.Web/ViewModels/PartOnePageInfoViewModel.cs | bjstone82/das-recruit | 0 | 7041961 | <filename>src/Shared/Recruit.Shared.Web/ViewModels/PartOnePageInfoViewModel.cs
namespace Esfa.Recruit.Shared.Web.ViewModels
{
public class PartOnePageInfoViewModel
{
public bool HasCompletedPartOne { get; set; }
public bool HasStartedPartTwo { get; set; }
public bool IsWizard { get; pri... |
src/JedzenioPlanner.Api.Infrastructure/Persistence/EventStore/EventDatabaseEntity.cs | JedzenioPlanner/JedzenioPlanner.Api | 1 | 7041962 | <reponame>JedzenioPlanner/JedzenioPlanner.Api<gh_stars>1-10
using System;
namespace JedzenioPlanner.Api.Infrastructure.Persistence.EventStore
{
public class EventDatabaseEntity
{
public Guid EntityId { get; set; }
public double EntityVersion { get; set; }
public string EventName { get;... |
ConstellationRuntimeExample/Assets/Constellation/Plugins/ConstellationUnity/Scripts/Nodes/Unity/LoadScene.cs | ConstellationLanguage/RuntimeConstellationLoading | 70 | 7041963 | <reponame>ConstellationLanguage/RuntimeConstellationLoading
namespace Constellation.Unity
{
public class LoadScene : INode, IReceiver
{
public const string NAME = "LoadScene";
private ISender sender;
public void Setup(INodeParameters _node)
{
_node.AddInput(this, true, "Scene... |
Realm/Assets/Asset.cs | Dual-Iron/RwModLoader | 5 | 7041964 | using UnityEngine;
using System.Collections;
namespace Realm.Assets;
// Credit goes to Henpemaz for this great snippet of code!
// https://gist.github.com/Dual-Iron/2481ac0528f3eedfa827ab7cfbef02ec
static class Asset
{
/// <summary>
/// Gets a sprite from this assembly's embedded resources.
/// </summar... |
Plugins/org.secc.SportsAndFitness/org_secc/SportsAndFitness/GroupFitness.ascx.cs | secc/RockPlugins | 15 | 7041965 | // <copyright>
// Copyright Southeast Christian Church
//
// Licensed under the Southeast Christian Church License (the "License");
// you may not use this file except in compliance with the License.
// A copy of the License shoud be included with this file.
//
// Unless required by applicable law or agreed to in wri... |
fi.retorch.com/fi.retorch.com/Data/act_schedules.cs | jcbeck37/fi-retorch | 0 | 7041966 | <gh_stars>0
//------------------------------------------------------------------------------
// <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 ... |
CrystalMapper/Linq/Expressions/DbUnaryExpression.cs | mysteryjeans/CrystalMapper | 0 | 7041967 | <reponame>mysteryjeans/CrystalMapper
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using CrystalMapper.Lang;
namespace CrystalMapper.Linq.Expressions
{
internal class DbUnaryExpression : IndirectExpression
{
public DbExpression Ope... |
Kroeg.Server/Views/Render/Embed/Note.cshtml | cobalto/Kroeg | 1 | 7041968 | <reponame>cobalto/Kroeg<filename>Kroeg.Server/Views/Render/Embed/Note.cshtml
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@using Kroeg.Server.Services
@using Kroeg.Server.Services.EntityStore
@using Kroeg.Server.Tools
@model Kroeg.Server.Models... |
Projects/Demo/Hygou/Hygou.Site/Views/ActivityMobile/Register/index.cshtml | etechi/ServiceFramework | 2 | 7041969 | @{
ViewBag.Title = "新手福利 注册就送红包";
var query = "?"+Request.QueryString;
}
@section header{
}
<div class="content">
<img class="bg" src="~/content/ActivityMobile/Register/Assets/bg1.jpg" />
<a href="/m/sys/signin@(Html.Raw(query))" id="a">
<img class="bg" src="~/content/ActivityMobile/Register/As... |
jyx2/Assets/Scripts/Tools/CRCUtils.cs | ZzzMrJin/jynew | 2 | 7041970 | <gh_stars>1-10
/*
* 金庸群侠传3D重制版
* https://github.com/jynew/jynew
*
* 这是本开源项目文件头,所有代码均使用MIT协议。
* 但游戏内资源和第三方插件、dll等请仔细阅读LICENSE相关授权协议文档。
*
* 金庸老先生千古!
*/
using System;
using System.Security.Cryptography;
using System.Text;
namespace Jyx2
{
/// <summary>
/// 从原来的SaveManager中移过来。GG 2018-0115
/// </summar... |
src/Core/entity/VideoDetail.cs | wheel0ffortune/downkyi | 2,949 | 7041971 | <reponame>wheel0ffortune/downkyi<gh_stars>1000+
namespace Core.entity
{
// https://api.bilibili.com/x/web-interface/view/detail?bvid=BV1TJ411h7E6
public class VideoDetail
{
//public int code { get; set; }
public VideoDetailData data { get; set; }
//public string message { get; set; ... |
FakerConsole/FakerConsole.cs | RedDiamond69/Faker | 0 | 7041972 | using Faker;
using FakerConsole.Serializer;
using FakerConsole.TestClass;
using System;
using TypesGenerators.Custom;
namespace FakerConsole
{
class FakerConsole
{
static void Main(string[] args)
{
FakerConfig config = new FakerConfig();
config.Add<TestClassWithProperti... |
src/Services/Airline.Passenger/src/Passenger/Passengers/Dtos/PassengerResponseDto.cs | xpertdev/Airline-Microservices | 0 | 7041974 | using Passenger.Passengers.Models;
namespace Passenger.Passengers.Dtos;
public record PassengerResponseDto
{
public long Id { get; init; }
public string Name { get; init; }
public string PassportNumber { get; init; }
public PassengerType PassengerType { get; init; }
public int Age { get; init; }
}... |
Assets/GleyPlugins/EasyIAP/Scripts/ScreenWriter.cs | amasnghia/Unity-Boilerplate | 0 | 7041975 | <reponame>amasnghia/Unity-Boilerplate
namespace GleyEasyIAP
{
using UnityEngine;
// writes on screen
public class ScreenWriter : MonoBehaviour
{
private static string logMessage;
private static ScreenWriter instance;
private static int buttonHeight;
public static void ... |
SHFB/Source/SandcastleBuilderWPF/Maml/GlossaryEntry.cs | dpogudin/SHFB | 2,129 | 7041976 | //=============================================================================
// System : Sandcastle Help File Builder WPF Controls
// File : GlossaryEntry.cs
// Author : <NAME> (<EMAIL>)
// Updated : 01/16/2012
// Note : Copyright 2012, <NAME>, All rights reserved
// Compiler: Microsoft Visual C#
//... |
src/Aurochses.AspNetCore.Identity.SendGrid/SendGridOptions.cs | Aurochses/Aurochses.AspNetCore.Identity.SendGrid | 1 | 7041977 | <filename>src/Aurochses.AspNetCore.Identity.SendGrid/SendGridOptions.cs
namespace Aurochses.AspNetCore.Identity.SendGrid
{
/// <summary>
/// Class SendGridOptions.
/// </summary>
public class SendGridOptions
{
/// <summary>
/// Gets or sets from email address.
/// </summary>... |
Src/Repository/Interfaces/IUnitOfWork.cs | dhineshkumarmayilsamy/Repository-Pattern | 0 | 7041978 | using System.Threading.Tasks;
namespace Repository.Interfaces
{
public interface IUnitOfWork
{
public IProductRepository Product { get; }
public int SaveChanges();
public Task<int> SaveChangesAsync();
}
}
|
sources/Interop/Windows/DirectX/um/dwrite_3/IDWriteFontSet3.cs | reflectronic/terrafx.interop.windows | 0 | 7041979 | <gh_stars>0
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/dwrite_3.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtim... |
Lambdy.Tests/Casting/Models/TreeTableJoin.cs | vladimirbelyayev/Lambdy | 0 | 7041980 | <filename>Lambdy.Tests/Casting/Models/TreeTableJoin.cs
using Lambdy.Tests.TestModels.NorthwindTables;
namespace Lambdy.Tests.Casting.Models
{
public class TreeTableJoin : TwoTableJoin
{
public Customer Customer { get; set; }
}
} |
src/MassTransit.Abstractions/NewId/INewIdGenerator.cs | kjrobrien/MassTransit | 329 | 7041981 | <filename>src/MassTransit.Abstractions/NewId/INewIdGenerator.cs<gh_stars>100-1000
namespace MassTransit
{
using System;
public interface INewIdGenerator
{
NewId Next();
ArraySegment<NewId> Next(NewId[] ids, int index, int count);
Guid NextGuid();
Guid NextSequentialGuid();... |
src/Cdn/generated/api/Models/Api20210601/CacheKeyQueryStringActionParameters.cs | jago2136/azure-powershell | 0 | 7041982 | // 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 regenerated.
namespace Mi... |
source/R5T.Dalkeith.Default/Code/Services/Extensions/IServiceCollectionExtensions.cs | SafetyCone/R5T.Dalkeith.Default | 0 | 7041984 | <reponame>SafetyCone/R5T.Dalkeith.Default
using System;
using Microsoft.Extensions.DependencyInjection;
using R5T.Dacia;
namespace R5T.Dalkeith.Default
{
public static class IServiceCollectionExtensions
{
/// <summary>
/// Adds the <see cref="DataDirectoryNameConvention"/> imple... |
YetiVSI/GameLaunch/LaunchUtils.cs | googlestadia/vsi-lldb | 28 | 7041985 | <reponame>googlestadia/vsi-lldb
// Copyright 2020 Google LLC
//
// 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 b... |
Source/Serialization.Protobuf/PropertyDescriptionBuilder.cs | dolittle/DotNET.Fundamentals | 2 | 7041986 | <gh_stars>1-10
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
namespace Dolittle.Serialization.Protobuf
{
/// <summary>
/// Represents an implementation of <see cref="IPropertyDescri... |
Source/spamfilter/spamfilter.Infrastructure/Environment/ConsoleLogger.cs | stho32/CH021-Console-Linux-CSharp | 0 | 7041987 | using spamfilter.Interfaces.Environment;
namespace spamfilter.Infrastructure.Environment;
public class ConsoleLogger : ILogger
{
private readonly string _origin;
public ConsoleLogger(string origin)
{
_origin = origin;
}
public void Log(string message)
{
Console.WriteLine(... |
src/CloneExtensionsEx/ExpressionFactories/DeepShallowExpressionFactoryBase.cs | mccj/CloneExtensionsEx | 1 | 7041988 | <filename>src/CloneExtensionsEx/ExpressionFactories/DeepShallowExpressionFactoryBase.cs
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
namespace CloneExtensionsEx.ExpressionFactories
{
abstract class DeepShallowExpressionFactoryBase<T> : ExpressionFactoryBa... |
Assets/Boner2D/Scripts/ControlPoint.cs | playemgames/Boner2D | 58 | 7041989 | /*
The MIT License (MIT)
Copyright (c) 2014 - 2018 Play-Em
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge... |
src/Consumption/Consumption.Service/ConsumptionService.cs | duanleping/WPF-Xamarin-Blazor-Examples | 0 | 7041990 | <reponame>duanleping/WPF-Xamarin-Blazor-Examples
/*
*
* 文件名 :ConsumptionService
* 程序说明 : Consumption服务分布类
* 更新时间 : 2020-06-27 13:05
* 联系作者 : QQ:779149549
* 开发者群 : QQ群:874752819
* 邮件联系 : <EMAIL>
* 视频教程 : https://space.bilibili.com/32497462
* 博客地址 : https://www.cnblogs.com/z... |
PurGh/Models/Models.cs | vamsitp/PurGh | 0 | 7041991 | <reponame>vamsitp/PurGh<filename>PurGh/Models/Models.cs
namespace PurGh
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
public class Settings
{
public string Owner { get; set; }
public string Name { get; set; }
public string Token { get; set; }
... |
Startup.cs | xXx-Denis-2281337/assignment-w5 | 0 | 7041992 | <filename>Startup.cs
using KmaOoad18.Assignments.Week5.Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Swashbuckle.AspNetCore.Swagger;
namespace Km... |
Mindstorms.Core/Commands/Program/Stop.cs | Mortens4444/LegoMindstromsEV3 | 0 | 7041993 | using Mindstorms.Core.Enums;
namespace Mindstorms.Core.Commands.Program
{
public class Stop : StopBase
{
/// <summary>
/// Stops all running application.
/// </summary>
public Stop() : base(ProgramSlot.User)
{ }
}
}
|
Abraks.Web/Areas/Admin/Views/Events/Add.cshtml | Ceappie/Abraks | 0 | 7041994 | @model EventAddingBindingModel
@{
ViewData["Title"] = "Add Event";
}
<h2>Add Event</h2>
<br/>
<form asp-area="Admin" asp-controller="Events" asp-action="Add" method="post">
<div class="container">
<div class="form-group row">
<label asp-for="Name" class="col-sm-2 col-form-label"></lab... |
CosmosPermissions/PermissionApp.Function/CollectionRead.cs | codemillmatt/cosmospermissionfunction | 3 | 7041995 | using System;
using System.IO;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.WebJobs.Host;
using Newtonsoft.Json;
using Microsoft.Azure.Documents.Client;
using Microsoft.Azure.Documents.Linq;
using Mi... |
NorthWind.Web/Controllers/LogController.cs | eiq21/DemoNetCoreMod2Lec3 | 0 | 7041996 | <filename>NorthWind.Web/Controllers/LogController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using NorthWind.Services;
namespace NorthWind.Web.Controllers
{
public class LogController : Controller
{
private ILogOp... |
modules/basics/src/main/java/com/opengamma/strata/basics/date/TenorAdjustment.cs | ckarcz/Strata.ConvertedToCSharp | 0 | 7041997 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
/*
* Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.basics.date
{
using Bean = org.joda.beans.Bean;
using ImmutableBean ... |
2020.3.15f2_main/Assets/3rd/E3D-EditorTools/EditorTools/E3D-AEM/Script/AEMSetting.cs | congzhiwei1994/_myMain | 0 | 7041998 | <filename>2020.3.15f2_main/Assets/3rd/E3D-EditorTools/EditorTools/E3D-AEM/Script/AEMSetting.cs
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
public class AEMSetting : MonoBehaviour
{
public string DataFile;
public static AEMSetting Instance ... |
src/Konves.ChordPro/Directives/CommentDirective.cs | skonves/Konves.ChordPro | 2 | 7041999 | namespace Konves.ChordPro.Directives
{
public sealed class CommentDirective : Directive
{
public CommentDirective(string text)
{
Text = text;
}
public string Text { get; set; }
}
}
|
src/ComparisonAssistant/Settings.cs | djserega/ComparisonAssistantUWP | 0 | 7042000 | <reponame>djserega/ComparisonAssistantUWP<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.UI.Xaml;
namespace ComparisonAssistant
{
public class Settings : Not... |
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/javax/el/PropertyNotFoundException.cs | luizfbicalho/Camunda.NET | 6 | 7042001 | using System;
/*
* Based on JUEL 2.2.1 code, 2006-2009 Odysseus Software GmbH
*
* 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
*
*... |
src/NLog.Loki.Tests/LokiTargetTests.cs | corentinaltepe/nlog.loki | 3 | 7042002 | <filename>src/NLog.Loki.Tests/LokiTargetTests.cs
using System;
using NLog.Config;
using NLog.Layouts;
using NLog.Targets.Wrappers;
using NUnit.Framework;
namespace NLog.Loki.Tests;
[TestFixture]
public class LokiTargetTests
{
[Test]
public void Write()
{
var configuration = new LoggingConfiguratio... |
AgentNetworkManager.Domain/Models/State.cs | echenim/AgentBanking | 2 | 7042004 | using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AgentNetworkManager.Domain.Models
{
public class State
{
[Key]
[ReadOnly(true)]
public string Id { get; set; }
[ForeignKey(nameof(Region))]
... |
src/Services/Purchasing/IPurchasingService.cs | Monaqo/accountgo | 310 | 7042005 | <reponame>Monaqo/accountgo<gh_stars>100-1000
//-----------------------------------------------------------------------
// <copyright file="IPurchasingService.cs" company="AccountGo">
// Copyright (c) AccountGo. All rights reserved.
// <author><NAME></author>
// <date>1/11/2015 9:48:38 AM</date>
// </copyright>
//------... |
src/Azos/IO/FileSystem/FileSystemStarter.cs | chadfords/azos | 1 | 7042006 |
using Azos.Apps;
using Azos.Conf;
namespace Azos.IO.FileSystem
{
/// <summary>
/// Represents a starter that launches file systems on startup
/// </summary>
public sealed class FileSystemStarter : IApplicationStarter
{
[Config]
public string Name { get; set; }
[Config]
public bool Applicati... |
LibraryManagementSystem/NewStudent.cs | Tripathi-Shivam/c-sharp-library-management-system | 1 | 7042007 | 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.SqlClient;
namespace LibraryManagementSystem
{
public partial class NewStudent : F... |
Rail.Tracks/Tracks/TrackBase.cs | chcg/Rail | 0 | 7042008 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using System.Windows.Media;
using System.Xml.Serialization;
namespace Rail.Tracks
{
public abstract class TrackBase
{
protected TrackType trackType;
public TrackBase()
{
this.... |
source/AcChartsModel/Statistics/DistributionImplementations/MetaDistribution.cs | Khaled-Janada/AC_Charts | 0 | 7042009 | using Meta.Numerics.Statistics.Distributions;
namespace AcCharts.Statistics.DistributionImplementations;
internal class MetaDistribution : IDistribution {
#region Public Properties
public DistributionParameters Parameters { get; init; }
public double Mean { get; }
public double Median { get; }
... |
src/Service.NewsImporter.Domain.Models/ExternalTickerSettings.cs | MyJetWallet/Service.NewsImporter | 0 | 7042010 | <reponame>MyJetWallet/Service.NewsImporter
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Service.NewsImporter.Domain.Models
{
[DataContract]
public class ExternalTickerSettings
{
[DataMember(Order = 1)] public string IntegrationSource { get; set; }
[DataMe... |
test/LightBDD.UnitTests.Helpers/StringExtensions.cs | LightBDD/LightBDD | 240 | 7042011 | namespace LightBDD.UnitTests.Helpers
{
public static class StringExtensions
{
public static string NormalizeNewLine(this string txt)
{
return txt.Replace("\r", "");
}
}
} |
sbid/_M/ProgramGraph/Action/RightHands/ChannelRecv.cs | LauZyHou/sbid-ava | 11 | 7042012 | using System;
using System.Collections.Generic;
using System.Text;
namespace sbid._M
{
// 通道接收操作
public class ChannelRecv : RightHands
{
private Channel c;
private Param p;
public Channel C { get => c; set => c = value; }
public Param P { get => p; set => p = value; }
... |
src/Web/Views/Task/Index.cshtml | artieac/PointChart | 0 | 7042013 | <filename>src/Web/Views/Task/Index.cshtml<gh_stars>0
@model AlwaysMoveForward.PointChart.Web.Models.TaskModel
@using AlwaysMoveForward.PointChart.Common.DomainModel;
@{
ViewBag.Title = "Charts";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section headerPlugins
{
}
<form id="addTaskForm" action="/... |
.Src/Stomp.Net/NMS.Stomp/Transport/ICompositeTransport.cs | tomlane/Stomp.Net | 19 | 7042014 | <filename>.Src/Stomp.Net/NMS.Stomp/Transport/ICompositeTransport.cs
#region Usings
using System;
using JetBrains.Annotations;
#endregion
namespace Stomp.Net.Stomp.Transport
{
public interface ICompositeTransport : ITransport
{
[PublicAPI]
void Add( Uri[] uris );
[Public... |
css.cs | Kaushikmukherjee99/Bengal-assoicate | 0 | 7042015 | <filename>css.cs
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-family: 'Exo 2', sans-serif;
text-transform: capitalize;
-webkit-transition: all .2s linear;
transition: all .2s linear;
}
html {
font-size: 62.5%;
scroll-behavior: smooth;
... |
src/Nest/Domain/Facets/DateRangeFacet.cs | Bloomerang/elasticsearch-net | 2 | 7042016 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
[JsonObject]
public class DateRangeFacet : Facet, IFacet<DateRange>
{
[JsonProperty("ranges")]
public IEnumerable<DateRange> Items { get; internal set; }
}
[JsonObject]
public class DateRange : FacetItem
{
[JsonPrope... |
GipsyKings/Assets/Scripts/MouseVisibility.cs | yrgithb/gipsykings | 1 | 7042017 | <filename>GipsyKings/Assets/Scripts/MouseVisibility.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MouseVisibility : MonoBehaviour {
public bool visible = false;
void Start () {
Cursor.visible = visible;
}
}
|
Assets/Scripts/Items/ItemDrop.cs | estevaosvargas/Project-Evilyn2d | 0 | 7042018 | <filename>Assets/Scripts/Items/ItemDrop.cs
using UnityEngine;
using UnityEngine.UI;
public class ItemDrop : MonoBehaviour
{
public ItemData ThisItem;
public int Qunty = 0;
public AudioClip PickUpSound;
public void SetDrop(ItemData item, int quanty)
{
ThisItem = item;
Qunty = quant... |
src/Extensions/Editors/FSpot.Editors.BW/FSpot.Addins.Editors/BWEditor.cs | f-spot/f-spot | 12 | 7042019 | <filename>src/Extensions/Editors/FSpot.Editors.BW/FSpot.Addins.Editors/BWEditor.cs
//
// BWEditor.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2009 Novell, Inc.
// Copyright (C) 2009 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associate... |
Snippets/csharp/ef-core-with-cosmos-db-sql/ServiceFunctionApp/Startup.cs | garaio/AzureRecipes | 3 | 7042020 | <gh_stars>1-10
using Common.Model;
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using ServiceFunctionApp;
[assembly: FunctionsStartup(typeof(Startup))]
namespace ServiceFunctionApp
{
public class Startup : Func... |
aspnetcore/data/ef-mvc/intro/samples/cu-final/Data/DbInitializer.cs | ALittleTree/Docs | 0 | 7042021 | using ContosoUniversity.Models;
using System;
using System.Linq;
namespace ContosoUniversity.Data
{
public static class DbInitializer
{
public static void Initialize(SchoolContext context)
{
//context.Database.EnsureCreated();
// Look for any students.
if (... |
PushSharp.Web/PushSharp.Web.Domain/Concrete/NotificationPayLoadBase.cs | has-taiar/PushSharp.Web | 17 | 7042022 | <gh_stars>10-100
using PushSharp.Web.Interfaces;
using PushSharp.Web.Interfaces.Settings;
namespace PushSharp.Web.Domain.Concrete
{
public abstract class NotificationPayLoadBase : ApiPayLoadBase, INotificationPayLoad
{
public NotificationPayLoadBase()
{
}
protected NotificationPayLoadBase(string key, st... |
CarsPartsShop/CarPartsShopGui/AddCarForm.Designer.cs | mkpetrov/MyFirstTryWithWindowsForms | 0 | 7042023 | namespace CarPartsShopGui
{
partial class AddCarForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.