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 |
|---|---|---|---|---|
src/Cofoundry.Domain/Domain/AuthorizedTasks/ContentRepository/IAdvancedContentRepositoryAuthorizedTasksRepository.cs | BearerPipelineTest/cofoundry | 0 | 7049919 | <reponame>BearerPipelineTest/cofoundry
using System;
using System.Threading.Tasks;
namespace Cofoundry.Domain
{
/// <summary>
/// IAdvancedContentRespository extension root for authorized tasks.
/// </summary>
public interface IAdvancedContentRepositoryAuthorizedTaskRepository : IContentRepositoryPart... |
src/Thalus.Forma/Fluent/CharFluent.cs | ThalusUlysses/Forma | 0 | 7049920 | using System.Collections.Generic;
using System.Linq;
namespace Thalus.Forma.Fluent
{
/// <summary>
/// Implements the <see cref="CharFluent"/> functionality to hanlde <see cref="CharParam"/>
/// such like <see cref="Append"/>
/// </summary>
public class CharFluent
{
private string _id;... |
src/Loader/Core/Services/StateLoader.cs | Don328/StatStore | 0 | 7049921 | using StatStore.Loader.Core.Data.Fixtures.Scheduler.Interfaces;
using StatStore.Loader.Core.Data.Loaders.DataLoaders.Interfaces;
using StatStore.Loader.Core.Data.Loaders.ScheduleLoaders.Interfaces;
using StatStore.Loader.Core.Interfaces;
using StatStore.Loader.Core.Models;
using StatStore.Loader.Core.Services.Interfac... |
src/open-hackathon-server/Kaiyuanshe.OpenHackathon.Server/Biz/AwardManagement.cs | think-in-universe/open-hackathon | 0 | 7049922 | <filename>src/open-hackathon-server/Kaiyuanshe.OpenHackathon.Server/Biz/AwardManagement.cs
using Kaiyuanshe.OpenHackathon.Server.Models;
using Kaiyuanshe.OpenHackathon.Server.Storage.Entities;
using Microsoft.Extensions.Logging;
using Microsoft.WindowsAzure.Storage.Table;
using System;
using System.Collections.Ge... |
Assets/scripts/rota.cs | otreblan/Random-icc | 0 | 7049923 | <filename>Assets/scripts/rota.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class rota : MonoBehaviour {
public float rotVel;
public bool invertido;
RectTransform rotador;
float pulsos;//esto podría haber sido público y modíficado con una animación para ev... |
framework/wcf/Extensibility/Instancing/Durable/CS/extensions/DurableInstanceContextChannelListener.cs | joseocampo/samples | 2,197 | 7049924 | #region using
using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Channels;
#endregion
namespace Microsoft.ServiceModel.Samples
{
class DurableInstanceChannelListener<TChannel> :
ChannelListenerBase<TChannel>
where TChannel : cl... |
Programar em C#/30-Mais-sobre-as-Variaveis.cs | DevJoseWeb/TUDO-JAVA-GO-PYTHON-C | 0 | 7049925 | // Programar em C# #30 - Mais sobre as Variáveis
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Base {
class MaisSobreAsVariaveis {
public void Run() {
/* byte _byte = 255;
sbyte _sbyte = 127;
... |
src/AppSetup/AppResourcesFlashSetup.cs | javierdpt/csharp-helpers | 0 | 7049926 | <filename>src/AppSetup/AppResourcesFlashSetup.cs<gh_stars>0
using RentersInsurance.Api.Infrastructure.Constants;
using RentersInsurance.Api.Services.AppResources;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using System;
using System.Net;
using AppEndpointsConst = .RentersInsurance.Api.Infrast... |
Assets/Sources/Game/UI/HealthWarning.cs | MiruSona/MarsSurvival | 0 | 7049927 | using UnityEngine;
using System.Collections;
public class HealthWarning : MonoBehaviour {
//참조
private SystemDAO.FileManager file_manager;
//켜지면 멈춤 + 초기화
void OnEnable () {
Time.timeScale = 0;
file_manager = SystemDAO.instance.file_manager;
}
//일시정지 풀기
public void Resume()
... |
Assets/Scripts/CameraManager2.cs | DeKoServidoni/SuperSpartyBros-II | 0 | 7049928 | <filename>Assets/Scripts/CameraManager2.cs
using UnityEngine;
using System.Collections;
public class CameraManager2 : MonoBehaviour {
private AudioSource audioSource = null;
private void Awake() {
audioSource = GetComponent<AudioSource>();
if(!audioSource)
Debug.LogError("Missin... |
Programming/CSharp/OOP/ExtensionMethodsDelegatesLambdaLINQ/StudentsNames/StudentsNames.cs | d-georgiev-91/TelerikAcademy | 2 | 7049929 | using System;
using System.Linq;
namespace StudentsNames
{
class StudentsNames
{
static void Main()
{
Student[] students = {
new Student("Pesho", "Ivanov", 23),
new Student("Ivan", "Popov", 25),
new Student("Stoqn", "Petrov", 34),
... |
package/com.unity.formats.usd/Dependencies/USD.NET/generated/pxr/usd/usdUtils/UsdUtilsSparseValueWriter.cs | mwikenma/usd-unity-sdk | 233 | 7049930 | <filename>package/com.unity.formats.usd/Dependencies/USD.NET/generated/pxr/usd/usdUtils/UsdUtilsSparseValueWriter.cs
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// D... |
src/Nest/Search/Search/PointInTime/Close/ClosePointInTimeRequest.cs | schmitch/elasticsearch-net | 2,851 | 7049931 | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Runtime.Serialization;
namespace Nest
{
[MapsApi("close_point_in_time.json")]
public partial inter... |
API/ACRS/Data/ApplicationDbContext.cs | tommyyeh0505/4900PracticumProject | 1 | 7049932 | <reponame>tommyyeh0505/4900PracticumProject<filename>API/ACRS/Data/ApplicationDbContext.cs<gh_stars>1-10
using ACRS.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq... |
Assets/Scripts/ACO/AStar_ACO_complete.cs | Cryincat/-AI50- | 0 | 7049933 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class AStar_ACO_complete : MonoBehaviour
{
private Graph graph;
public List<fourmis> list_agent;
public ColonyMulti colonyM;
public LoadGraph co_graph;
public List<Node> chemin_ree... |
Assets/FPSController.cs | AyushBhargav/Opencraft-VR | 2 | 7049934 | <filename>Assets/FPSController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FPSController : MonoBehaviour {
public float ForwardSpeed = 8.0f; // Speed when walking forward
public float BackwardSpeed = 4.0f; // Speed when walking backwards
public float JumpForce ... |
DotNetCliCodeSnippets/Verify/CancelVerificationRequest.cs | Vonage/vonage-dotnet-code-snippets | 5 | 7049936 | using Vonage;
using Vonage.Request;
using Vonage.Verify;
using System;
using System.Collections.Generic;
using System.Text;
namespace DotnetCliCodeSnippets.Verify
{
public class CancelVerificationRequest : ICodeSnippet
{
public void Execute()
{
var VONAGE_API_KEY = Environment.GetE... |
UltimaOnline.Data/Mobiles/Vendors/SBInfo/Weapons/SBKnifeWeapon.cs | netcode-gamer/game.ultimaonline.io | 0 | 7049937 | using System;
using System.Collections.Generic;
using UltimaOnline.Items;
namespace UltimaOnline.Mobiles
{
public class SBKnifeWeapon : SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public ... |
Msg/GenMsgs/automotive_platform_msgs/SteerMode.cs | autocore-ai/Roslin | 0 | 7049938 | namespace Roslin.Msg.automotive_platform_msgs
{
[MsgInfo("automotive_platform_msgs/SteerMode", "33a61f06ffb4d9f43cbb08ac344d667b", @"# Steering Control Message with Mode
# Contains steering commands and desired autonomy active mode flag
std_msgs/Header header
uint16 mode # Is 1 if autonomy mode should be active
... |
Juego.cs | icc3101-201910/Laboratorio-2 | 0 | 7049939 | using System;
namespace Laboratorio2
{
public class Juego
{
public string nombre;
public string plataforma;
public int precio;
public int stock;
public Juego(string nombre, string plataforma, int precio, int stock)
{
this.nombre = nombre;
... |
src/StockportContentApi/Repositories/ContactUsIdRepository.cs | smbc-digital/iag-contentapi | 2 | 7049940 | <reponame>smbc-digital/iag-contentapi
using StockportContentApi.ContentfulFactories;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Contentful.Core.Search;
using StockportContentApi.Client;
using StockportContentApi.Config;
using StockportContentApi.ContentfulModels;
using StockportContentApi... |
UC/ucRoom.Designer.cs | darouyc/HotelManag | 0 | 7049941 | <filename>UC/ucRoom.Designer.cs<gh_stars>0
namespace HotelManag.UC
{
partial class ucRoom
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being ... |
Assets/RNKit/Inspector/Editor/Inspector_ScriptButtons.cs | REDNIGHT/space-war | 26 | 7049942 | <reponame>REDNIGHT/space-war<filename>Assets/RNKit/Inspector/Editor/Inspector_ScriptButtons.cs
using UnityEngine;
using System.Collections;
using UnityEditor;
namespace RN._Editor
{
//
partial class Inspector
{
//
protected void scriptButton()
{
if (GUILayout.Button("sc... |
Common.Controllers/StoriesController.cs | forki/Labs | 1 | 7049944 | using System;
using System.IO;
using System.Web.Http;
namespace Common.Controllers
{
[RoutePrefix("api/stories")]
public class StoriesController: ApiController
{
[Route(""), HttpGet]
public string GetStories()
{
return "[" + GetStoryContent() + "]";
}
[... |
LookuplistUpdater/Properties/Settings.Designer.cs | opentext/ScriptingUtilities | 8 | 7049945 | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-... |
TnT.Scheduler/Job.cs | t11omas/Tnt.Scheduler | 0 | 7049946 | using System.Threading.Tasks;
namespace TnT.Scheduler
{
public abstract class Job : IJob
{
public virtual Task RunAsync(JobContext context)
{
this.Run(context);
return Task.FromResult(0);
}
protected abstract void Run(JobContext context);
}
} |
Runtime/Conditions/Global/IfGlobalFloatIsGreaterThan.cs | irohachiyo/unity-finite-state-machine | 0 | 7049947 | <filename>Runtime/Conditions/Global/IfGlobalFloatIsGreaterThan.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using static UnityEngine.Mathf;
namespace IrohaChiyo.FiniteStateMachine
{
public class IfGlobalFloatIsGreaterThan : NamedCondition
{
public Global... |
Hubs/devices/command/Command.cs | jhuang101/eDocumentReader | 3 | 7049948 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace eDocumentReader.Hubs.devices.command
{
/// <summary>
/// The system use Command to control the io devices.
/// </summary>
public class Command
{
private List<Object> payload = new List<Object>();... |
src/Castle.Core.Tests/DynamicProxy.Tests/ClassProxyWithTargetTestCase.cs | castleproject-deprecated/Castle.Core-READONLY | 1 | 7049949 | // Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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/Lists/Ejyle.DevAccelerate.Lists/Culture/IDaSystemLanguage.cs | devaccelerate/DevAccelerateNet | 2 | 7049950 | // ----------------------------------------------------------------------------------------------------------------------
// Author: <NAME> (@tanveery)
// ----------------------------------------------------------------------------------------------------------------------
// Copyright © Ejyle Technologies (P) Ltd. Al... |
Shokofin/Utils/OrderingUtil.cs | revam/dotnet-shoko.shokofin | 0 | 7049951 | <filename>Shokofin/Utils/OrderingUtil.cs
using Shokofin.API.Info;
using Shokofin.API.Models;
namespace Shokofin.Utils
{
public class Ordering
{
public enum GroupFilterType {
Default = 0,
Movies = 1,
Others = 2,
}
/// <summary>
/// Group serie... |
Project/Les2/Assets/Example/Example1/MainForm.cs | mshandle/GStar | 1 | 7049952 | <filename>Project/Les2/Assets/Example/Example1/MainForm.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Test {
public class MouseEvent
{
public int touchX;
public int touchY;
}
public class Graphic
{
public void DrawLine(Point S... |
Project Cubes/Assets/Scripts/InventorySlot.cs | SyncCheck/Project_Cubes | 0 | 7049953 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using UnityEngine.Events;
public class InventorySlot : MonoBehaviour, IPointerClickHandler {
public Image icon;
public Text countText;
public WeaponItem item;
... |
src/SwedbankPay.Sdk.Infrastructure/Consumers/ShippingDetailsDto.cs | zunkas/swedbank-pay-sdk-dotnet | 9 | 7049954 | namespace SwedbankPay.Sdk.Consumers
{
internal class ShippingDetailsDto
{
public string Email { get; set; }
public string Msisdn { get; set; }
public Address ShippingAddress { get; set; }
internal ShippingDetails Map()
{
var email = new EmailAd... |
Desarrollo/SimuRails/Views/Components/RenglonDeTramo.cs | LeonardoManzella/simu-rails | 3 | 7049955 | <reponame>LeonardoManzella/simu-rails<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SimuRails.Models;
namespace SimuRails.Views.Co... |
C# DB Fundamentals/Databases Advanced - Entity Framework/XML Processing/CarDealer - Skeleton/CarDealer/Dtos/Export/ExportSaleDiscountDto.cs | DanielBankov/SoftUni | 0 | 7049957 | using System.Xml.Serialization;
namespace CarDealer.Dtos.Export
{
[XmlType("sale")]
public class ExportSaleDiscountDto
{
[XmlElement("car")]
public CarDto Car { get; set; }
[XmlElement("discount")]
public decimal Discount { get; set; }
[XmlElement("customer-name")... |
WWCP_OCHPv1.4/Messages/CPO2CH/AddCDRsRequest.cs | OpenChargingCloud/WWCP_OCHP | 1 | 7049958 | <reponame>OpenChargingCloud/WWCP_OCHP
/*
* Copyright (c) 2014-2021 GraphDefined GmbH
* This file is part of WWCP OCHP <https://github.com/OpenChargingCloud/WWCP_OCHP>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... |
Homework/C#Fundamentals/C# OOP Basics/5. Interfaces and Abstraction/Exercises/04.Telephony/StartUp.cs | GitHarr/SoftUni | 0 | 7049959 | using System;
namespace _04.Telephony
{
public class StartUp
{
public static void Main()
{
string[] phoneNums = Console.ReadLine().Split();
string[] urls = Console.ReadLine().Split();
ICallable numbersToCall = new Smartphone();
foreach (var pho... |
Solutions/Y2021/Day16/Solution.cs | z93blom/aoc2021 | 0 | 7049960 | using AdventOfCode.Utilities;
namespace AdventOfCode.Y2021.Day16;
class Solution : ISolver
{
public int Year => 2021;
public int Day => 16;
public string GetName() => "Packet Decoder";
public IEnumerable<object> Solve(string input)
{
yield return PartOne(input.Lines().First());
... |
CGALDotNetGeometry/Nurbs/NurbsCurve2d.cs | Scrawk/CGALDotNetGeometry | 10 | 7049961 | using System;
using System.Collections.Generic;
using System.Linq;
using CGALDotNetGeometry.Numerics;
namespace CGALDotNetGeometry.Nurbs
{
/// <summary>
/// Param struct to create curve.
/// </summary>
public struct NurbsCurveParams2d
{
public int degree;
public List<double> knots;
public List<HPoint2d> ... |
aspnet-core/src/Snow.Template.Core/Notifications/IAppNotifier.cs | snowchenlei/AbpCustomerAuth | 0 | 7049962 | <filename>aspnet-core/src/Snow.Template.Core/Notifications/IAppNotifier.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Abp;
using Abp.Localization;
using Abp.Notifications;
using Snow.Template.Authorization.Users;
using Snow.Template.Authorization.M... |
IntegrationTests/NdoUnitTests/Rel1to1Bidirectional.cs | mirkomaty/NDO | 0 | 7049963 | <filename>IntegrationTests/NdoUnitTests/Rel1to1Bidirectional.cs
//
// Copyright (c) 2002-2016 <NAME>
// (www.netdataobjects.de)
//
// Author: <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to de... |
SageCRM/SageCRM/TopContentPropEditor.cs | crmtogether/Titan-ASP.Net-for-Sage-CRM | 6 | 7049964 | <reponame>crmtogether/Titan-ASP.Net-for-Sage-CRM
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using SageCRM.AspNet;
namespace SageCRM
{
public partial class TopContentPropEditor : Form... |
commercetools.Sdk/commercetools.Sdk.Domain/Zones/Zone.cs | onepiecefreak3/commercetools-dotnet-core-sdk | 12 | 7049965 | <filename>commercetools.Sdk/commercetools.Sdk.Domain/Zones/Zone.cs
using System;
using System.Collections.Generic;
using System.Text;
using commercetools.Sdk.Domain.Common;
namespace commercetools.Sdk.Domain.Zones
{
[Endpoint("zones")]
[ResourceType(ReferenceTypeId.Zone)]
public class Zone : Resource<Zone... |
tests/Auth0.Core.UnitTests/ApiErrorDeserializationTests.cs | mfolker/auth0.net | 250 | 7049966 | <filename>tests/Auth0.Core.UnitTests/ApiErrorDeserializationTests.cs
using System.Collections;
using FluentAssertions;
using Newtonsoft.Json;
using Xunit;
using System.Collections.Generic;
using Auth0.Core.Exceptions;
namespace Auth0.Core.UnitTests
{
public class ApiErrorDeserializationTests
{
[Fact]
... |
src/MAVN.Service.CustomerAPI/Services/PartnersPaymentsResponseFormatter.cs | HannaAndreevna/MAVN.Service.CustomerAPI | 0 | 7049967 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Common.Log;
using Lykke.Common.Log;
using MAVN.Service.CustomerAPI.Core;
using MAVN.Service.CustomerAPI.Core.Services;
using MAVN.Service.CustomerAPI.Extensions;
using MAVN.Service.CustomerAPI.Models.Extensions;
usin... |
Assets/Mines/Scripts/Ranker.cs | Geatnium/Connect_Crystals | 0 | 7049968 | <reponame>Geatnium/Connect_Crystals
using UnityEngine;
using UnityEngine.UI;
// ランキングに掲載するランカーの設定をするクラス
public class Ranker : MonoBehaviour
{
[SerializeField] private Text rank_text, name_text, time_text;
public void SetRanker(int rank, string name, float time)
{
rank_text.text = rank.ToString();... |
StarWars.Data/EntityFramework/Repositories/EpisodeRepository.cs | penleychan/graphiql.net | 1 | 7049969 | <reponame>penleychan/graphiql.net
using StarWars.Core.Data;
using StarWars.Core.Models;
namespace StarWars.Data.EntityFramework.Repositories
{
public class EpisodeRepository : BaseRepository<Episode, int>, IEpisodeRepository
{
public EpisodeRepository()
{
}
public EpisodeRepos... |
DataDefinitions/LaunchBay.cs | Juggernaut93/EDDI | 1 | 7049970 | using System.Collections.Generic;
namespace EddiDataDefinitions
{
///<summary>A launchbay is an internal slot within a ship housing SRV or fighter vehicles</summary>
public class LaunchBay
{
// The name of the launchbay
public string name { get; set; }
/// <summary>The size of the ... |
Demo/ViewModels/RadialPresenterViewModel.cs | JoergNeumann/TouchControls | 5 | 7049971 | <reponame>JoergNeumann/TouchControls
using Demo.Models;
using Neumann.TouchControls;
using System;
using System.Windows.Input;
using Windows.UI.Popups;
namespace Demo.ViewModels
{
public class RadialPresenterViewModel : ModelBase
{
private TopicCollection _topicHierarchy;
private ICommand _sel... |
tests/Lykke.Job.BlockchainBalancesReport.Tests/NemProviderTests.cs | LykkeCity/Lykke.Tools.BlockchainBalancesReport | 0 | 7049972 | <filename>tests/Lykke.Job.BlockchainBalancesReport.Tests/NemProviderTests.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Lykke.Job.BlockchainBalancesReport.Blockchains;
using Lykke.Job.BlockchainBalancesReport.Blockchains.Nem;
using Xunit;
namespace Lykke.Job.BlockchainBalances... |
Routine.Api/Migrations/20200507071843_InitialMigration.cs | hc-hub/Routine | 1 | 7049973 | <filename>Routine.Api/Migrations/20200507071843_InitialMigration.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Routine.Api.Migrations
{
public partial class InitialMigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
m... |
ModooPlayDemo_Unity/Assets/TGCenter/Scripts/Common/DummyPrivacyPolicyHelperClient.cs | webeyemob/ModooPlayDemo_Unity | 0 | 7049974 | <reponame>webeyemob/ModooPlayDemo_Unity
using TGCenterSdk.Api;
namespace TGCenterSdk.Common
{
public class DummyPrivacyPolicyHelperClient : IPrivacyPolicyHelperClient {
public void Init(string appId) { }
public void SetAgreeListener(PrivacyPolicyHelper.AgreeListener listener) { }
p... |
src/unity/Assets/Scripts/Helpers/RandomMotion.cs | communityus/crest | 0 | 7049975 | // This file is subject to the MIT License as seen in the root of this folder structure (LICENSE)
using UnityEngine;
namespace Crest
{
public class RandomMotion : MonoBehaviour
{
public Vector3 _axis = Vector3.up;
[Range( 0, 5 )]
public float _amplitude = 1f;
[Range... |
src/07.test/01-Alabo.Test/Reports/AutoReportService-Ltest.cs | tongxin3267/alabo | 0 | 7049976 | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using ZKCloud.App.Core.Reports.Domain.Dtos;
using ZKCloud.App.Core.Reports.Domain.Services;
using ZKCloud.Domains.Dtos;
using ZKCloud.Extensions;
using ZKCloud.Helpers;
using ZKCloud.Test.Base.Core.Model;
namespace ZKCloud.Test.Reports
{
... |
CAS.Windows.Forms/TreeViewSearcher.cs | mpostol/WindowsForms | 0 | 7049977 | //___________________________________________________________________________________
//
// Copyright (C) 2020, <NAME>.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI
//___________________________________________________________________________________
using System;
... |
UI/Main.cs | dlbeer/saraswati | 8 | 7049978 | // Saraswati -- command-line EPUB reader
// Copyright (C) 2012 <NAME> <<EMAIL>>
//
// Permission to use, copy, modify, and/or distribute this software for
// any purpose with or without fee is hereby granted, provided that the
// above copyright notice and this permission notice appear in all
// copies.
//
// THE SOFTW... |
Interfaces/IPointy.cs | luigiberrettini/c-sharp-basics | 1 | 7049979 | <reponame>luigiberrettini/c-sharp-basics
namespace Examples.Interfaces
{
// This interface defines the behavior of "having points"
public interface IPointy
{
// A read-write property in an interface
// retType PropName { get; set; }
// A write-only property in an interface
... |
Engine/Huddle.Engine/Util/PresenceTemplateSelector.cs | raedle/huddle-polar-engine | 0 | 7049980 | using System.Windows;
using System.Windows.Controls;
using Huddle.Engine.Data;
namespace Huddle.Engine.Util
{
public class PresenceTemplateSelector : DataTemplateSelector
{
public DataTemplate DeviceTemplate { get; set; }
public override DataTemplate SelectTemplate(object item, DependencyObje... |
lib/FluentLayout/Codegen/TemplatedPageExtensions.codegen.cs | AndreiMisiukevich/FluentLayout | 3 | 7049981 | // This file is generated by FluentCodegen
// It does not make sense to change something here
// No stress :)
using System;
namespace Xamarin.Forms.Fluent
{
public static partial class TemplatedPageExtensions
{
public static TBindable WithTemplatedPageLayoutChangedEvent<TBindable>(this TBindable self,... |
ViennaNET.Messaging/Resources/Impl/IResourcesProvider.cs | tralivali1234/ViennaNET | 203 | 7049982 | <reponame>tralivali1234/ViennaNET
using System.Collections.Generic;
using System.IO;
namespace ViennaNET.Messaging.Resources.Impl
{
/// <summary>
/// Интерфейс поставщика путей ресурсов для сериализуемых сообщений
/// </summary>
public interface IResourcesProvider
{
/// <summary>
/// Получает строку... |
Kodluyoruz_Project_4/Assets/Scripts/Data/HighScore.cs | FurkanMarmara/Kodluyoruz_Adds_And_IAP_Example | 0 | 7049983 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class HighScore
{
public static void HighScoreControl(float score)
{
if (PlayerPrefs.GetFloat("Score")>0)
{
if (PlayerPrefs.GetFloat("Score") > score) //time olduğu için küçükse yaptık... |
is4/IdentityServer/Legacy/Factories/CertificateFactory.cs | jugstalt/identityserver-legacy | 1 | 7049984 | <reponame>jugstalt/identityserver-legacy<filename>is4/IdentityServer/Legacy/Factories/CertificateFactory.cs
using IdentityServer.Legacy.Services.Cryptography;
using IdentityServer.Legacy.Services.SigningCredential;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
... |
DefaultSettings/DefaultFasmRunnerSettings.cs | pengwin/DotNetOS | 2 | 7049985 | using ToolsRunner.Interfaces;
namespace DefaultSettings
{
public class DefaultFasmRunnerSettings : IFasmRunnerSettings
{
public string FasmExecutablePath => @"C:\Coding\osdev\fasm\fasm.exe";
public int TimeoutS => 1;
}
}
|
Programming/Data Structures and Algorithms/01. Algo/05. RemoveNegativeNumbers/Program.cs | niki-funky/Telerik_Academy | 1 | 7049986 |
namespace RemoveNegativeNumbers
{
using System;
using System.Collections.Generic;
using System.Linq;
// 05. Write a program that removes from given sequence all negative numbers.
class RemoveNegativeNumbers
{
private static List<int> sequence =
new List<int> { 1, 0, -2, -... |
Andreal/UI/Model/RectangleModel.cs | Awbugl/Andreal | 8 | 7049987 | using System.Drawing;
namespace Andreal.UI.Model;
#pragma warning disable CA1416
internal class RectangleModel : IGraphicsModel
{
private readonly System.Drawing.Color _color;
private readonly Rectangle _rect;
internal RectangleModel(System.Drawing.Color color, Rectangle rect)
{
_color = co... |
Octokit.GraphQL/Model/CreateIpAllowListEntryInput.cs | tedvanderveen/octokit.graphql.net | 113 | 7049988 | <filename>Octokit.GraphQL/Model/CreateIpAllowListEntryInput.cs
namespace Octokit.GraphQL.Model
{
using System;
using System.Collections.Generic;
/// <summary>
/// Autogenerated input type of CreateIpAllowListEntry
/// </summary>
public class CreateIpAllowListEntryInput
{
/// <summar... |
src/Chatbot/Core/Contracts/IOperationResult.cs | OliverCorsino/chatbot | 0 | 7049989 | namespace Core.Contracts
{
/// <summary>
/// Represents a generic operation result.
/// </summary>
/// <typeparam name="T">Represents an entity that could be use for this Operation Result.</typeparam>
public interface IOperationResult<T>
{
/// <summary>
/// Represents any messag... |
04 Lists/EXE_Lists/StuckZipper/StuckZipper.cs | stStoyanov93/SoftUni-TechModule-ProgrammingFundamentals-2017 | 0 | 7049990 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StuckZipper
{
class StuckZipper
{
static void Main(string[] args)
{
List<int> firstList = Console.ReadLine().Split(' ').Select(int.Parse).ToList... |
src/EventStore/EventStore.ClientAPI/ClientOperations/ReadEventOperation.cs | t3hnar/EventStore | 0 | 7049991 | <reponame>t3hnar/EventStore<filename>src/EventStore/EventStore.ClientAPI/ClientOperations/ReadEventOperation.cs
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions ... |
src/Wikiled.News.Monitoring.Tests/Acceptance/TrackedRetrievalTests.cs | AndMu/Wikiled.News.Monitoring | 1 | 7049992 | using NUnit.Framework;
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Wikiled.News.Monitoring.Retriever;
namespace Wikiled.News.Monitoring.Tests.Acceptance
{
[TestFixture]
public class TrackedRetrievalTests
{
... |
src/Infrastructure/Windows/Interop/Credui.cs | hanaseleb/Bravo | 67 | 7049993 | <gh_stars>10-100
namespace Sqlbi.Bravo.Infrastructure.Windows.Interop
{
using System;
using System.Runtime.InteropServices;
using System.Text;
internal static class Credui
{
public const int CREDUI_MAX_MESSAGE_LENGTH = 32767;
public const int CREDUI_MAX_CAPTION_LENGTH = 128;
... |
WorldData/Views/Country/Index.cshtml | putman10/world-data | 0 | 7049994 | @{
Layout = "_Layout";
}
<div class='container'>
<div class = "row" id="header">
<div class="col-md-8">
<p>Click on header to sort alphabetically by column (Asc, Desc):</p>
</div>
<div class="col-md-4">
<a href="/">Back to HOME</a>
</div>
</div>
<div id="countrie... |
SaleSystemCore/Models/StockAdjustmentDetailsTemp.cs | MarshalOfficial/SaleSystem | 7 | 7049995 | <reponame>MarshalOfficial/SaleSystem<filename>SaleSystemCore/Models/StockAdjustmentDetailsTemp.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace SaleSystemCore.Models
{
[Table("StockAdjustmentDetailsTemp")]
public class StockAdj... |
MO.Commons/MO.Model/Entitys/GameUser.cs | mmogdeveloper/MO.Framework | 49 | 7049997 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace MO.Model.Entitys
{
public class GameUser : BaseEntity
{
public long UserId { get; set; }
[MaxLength(50)]
public string Ni... |
blog/admin/admincategory.aspx.cs | whongxiao/Refactor-Bruce-Blog | 0 | 7049998 | <gh_stars>0
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using BLL;
using Model;
using System.Collections.Generic;
public ... |
TK.CustomMap/TK.CustomMap/Overlays/TKPolygon.cs | tuyen-vuduc/TK.CustomMap | 0 | 7050000 | <gh_stars>0
using System.Collections.Generic;
using Xamarin.Forms;
using Xamarin.Forms.Maps;
namespace TK.CustomMap.Overlays
{
/// <summary>
/// A polygon to display on the map
/// </summary>
public class TKPolygon : TKOverlay
{
public const string CoordinatesPropertyName = "Coordinates";
... |
src/CPS.Core/Dict/Dtos/FieldInputRuleOutputDto.generated.cs | jiangyimin/CPS | 0 | 7050001 | <reponame>jiangyimin/CPS
// -----------------------------------------------------------------------
// <auto-generated>
// 此代码由代码生成器生成。
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,对此文件的任何修改都会丢失。
// 如果需要扩展此类:可遵守如下规则进行扩展:
// 1.横向扩展:如需添加额外的属性,可新建文件“FieldInputRuleOutputDto.cs”的分部类“public partial class FieldInpu... |
FitnessTracker.Persistance/ApplicationDbContext.cs | kolev9605/FitnessTracker | 0 | 7050002 | <reponame>kolev9605/FitnessTracker<gh_stars>0
using FitnessTracker.Application.Interfaces;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace FitnessTracker.Persistance
{
public class ApplicationDbContext : IdentityDbContext, IApplicationDbContext
{
... |
Src/Lsj.Util.Win32/Structs/TTPOLYCURVE.cs | sdzxwxlsj/lsjutil | 3 | 7050003 | <gh_stars>1-10
using Lsj.Util.Win32.BaseTypes;
using Lsj.Util.Win32.Enums;
using System.Runtime.InteropServices;
using static Lsj.Util.Win32.Enums.TTPOLYCURVETypes;
using static Lsj.Util.Win32.Gdi32;
namespace Lsj.Util.Win32.Structs
{
/// <summary>
/// <para>
/// The <see cref="TTPOLYCURVE"/> structure co... |
src/Modules/Laser.Orchard.AdvancedSearch/AdvancedSearchPermissions.cs | INVA-Spa/Laser.Orchard.Platform | 8 | 7050004 | <filename>src/Modules/Laser.Orchard.AdvancedSearch/AdvancedSearchPermissions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.Environment.Extensions.Models;
using Orchard.Security.Permissions;
namespace Laser.Orchard.AdvancedSearch {
public class AdvancedSearch... |
Scripts/Runtime/Content/AbstractUnityContent.cs | decline-cookies/anvil-unity-core | 0 | 7050005 | <filename>Scripts/Runtime/Content/AbstractUnityContent.cs<gh_stars>0
using Anvil.CSharp.Content;
using Anvil.Unity.Core;
namespace Anvil.Unity.Content
{
/// <summary>
/// Convenience class to allow <see cref="AbstractUnityContentController"/> corresponding to <see cref="AbstractUnityContent"/> to be specific
... |
src/Wally.CleanArchitecture.MicroService.PipelineBehaviours/DomainEventHandlerBehavior.cs | bwalocha/Wally.CleanArchitecture | 1 | 7050006 | <filename>src/Wally.CleanArchitecture.MicroService.PipelineBehaviours/DomainEventHandlerBehavior.cs<gh_stars>1-10
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Wally.Lib... |
source/MikhailKhalizev.Max/source/Program/Auto/z-100b-3ed0.cs | mikhail-khalizev/max | 3 | 7050007 | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x100b_3ed0-b689313a")]
public void Method_100b_3ed0()
{
ii(0x100b_3ed0, 5); push(0x60); ... |
API/CMGScripturesAPI/CMGScripturesAPI.Repos/System/CmgJsonConverter.cs | ptgullas/CMGScriptures | 0 | 7050008 | using CMGScripturesAPI.Repos.DTOs;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CMGScripturesAPI.Repos.System {
public static class CmgJsonConverter {
public static IEnumerable<CmgImageDto> ExtractImageObjectsFromResponse(string res... |
Code/CSharp/Code/UnitTestProject/ConvertingForToLinq/ConvertForToLinqTest.cs | MrKloan/CodeQualityAndReadability | 44 | 7050009 | <reponame>MrKloan/CodeQualityAndReadability<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Code.ConvertingForToLinq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject.ConvertingForToLinq
{
[Tes... |
Dews/Controllers/NewsController.cs | muratakkas/developernews | 0 | 7050010 | <filename>Dews/Controllers/NewsController.cs<gh_stars>0
using System;
using Microsoft.AspNetCore.Mvc;
using Dews.News.Interfaces;
using Dews.Api.Results.News;
using Dews.Api.Requests.News;
using Dews.Api.Results.Base;
using Microsoft.AspNetCore.Authorization;
using System.Security.Claims;
using Dews.News.DTOs;
us... |
src/executable/BEditor.Avalonia/ViewModels/ManagePlugins/SignupViewModel.cs | tomo0611/BEditor | 0 | 7050011 |
using System;
using BEditor.Models;
using BEditor.Packaging;
using BEditor.Properties;
using Microsoft.Extensions.DependencyInjection;
using Reactive.Bindings;
namespace BEditor.ViewModels.ManagePlugins
{
public class SignupViewModel
{
private readonly IAuthenticationProvider _provider;
p... |
primeiro bimestre/semana-4/intoPOO/Retangulo.cs | AlexsandroCampos/LP3 | 1 | 7050012 | <gh_stars>1-10
public class Retangulo{
public double Base { get; set; }
public double Altura { get; set; }
public double Area { get => Base * Altura; }
public double Perimetro { get => 2 * Base + 2 * Altura; }
public Retangulo(double _base, double altura)
{
Base = _base;
Altura ... |
src/DocumentFormat.OpenXml/Validation/Schema/Restrictions/RestrictionField.cs | lifeng1983/Open-XML-SDK | 2 | 7050013 | // 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.Runtime.Serialization;
namespace DocumentFormat.OpenXml.Validation.Schema.Restrictions
{
/// <summary>
/// Schema simple type restr... |
Assets/Scripts/SquirrelMovement.cs | TreeSloths/IdleClickerGroup | 1 | 7050015 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SquirrelMovement : MonoBehaviour
{
public float speed;
private bool movingRight = true;
private bool collided;
public bool isTransfering;
public bool isWaiting;
public Animator animator;
... |
dotnet-patcher/Patches/k2c.cs | ctxnop/dotnet-patcher | 0 | 7050017 | <gh_stars>0
#region References
using Mono.Cecil;
using Mono.Cecil.Cil;
using DP.Compiling;
#endregion
// This patches files is provided as an example of what it is possible.
namespace DP.Patches
{
/// <summary>
/// Patch the game "Raft".
/// </summary>
public class K2c
: IPatch
{
#region Properties
/// <su... |
src/EasyAbp.FileManagement.Domain.Shared/EasyAbp/FileManagement/Containers/PublicFileContainerConfiguration.cs | Frunck8206/FileManagement | 61 | 7050018 | <filename>src/EasyAbp.FileManagement.Domain.Shared/EasyAbp/FileManagement/Containers/PublicFileContainerConfiguration.cs<gh_stars>10-100
using System.Collections.Generic;
namespace EasyAbp.FileManagement.Containers
{
public class PublicFileContainerConfiguration
{
public FileContainerType FileContaine... |
MobileApp/MobileApp/Views/ProfilPage.xaml.cs | tarikcosovic/pokloni | 2 | 7050019 | using MobileApp.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace MobileApp.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ProfilPage : Conten... |
google_test/gtest2html/dev/dev/gtest2html/TestSuiteHtmlTemplate_part.cs | CountrySideEngineer/TestSupportTools | 0 | 7050020 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace gtest2html
{
partial class TestSuiteHtmlTemplate
{
public TestSuites TestSuites { get; set; }
public TestSuiteHtmlTemplate(TestSuites testSuites)
{
this.T... |
SteamWebApiLib/CountryCodeConverter.cs | fossabot/SteamWebApiLib | 2 | 7050021 | <reponame>fossabot/SteamWebApiLib<filename>SteamWebApiLib/CountryCodeConverter.cs
using System;
using System.Collections.Generic;
namespace SteamWebApiLib
{
internal static class CountryCodeConverter
{
private static readonly Dictionary<CountryCode, string> _countryCodes =
new Dictionary<C... |
ConnectionLogger/ConnectionLogger.WinPhone/MainPage.xaml.cs | A9T9/Speed-Test-Loggger-for-Mobile | 4 | 7050023 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Xamarin.Forms;
using ConnectionLogger.Settings;
using Syncfusion.SfChart.XForms.W... |
GEOBOX.OSC.IM.DataCheckerTool/WpfExtensions/ObservableExtensions.Sort.cs | geoboxag/GEOBOX.OSC.IM.DataCheckerTool | 0 | 7050024 | <reponame>geoboxag/GEOBOX.OSC.IM.DataCheckerTool
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace GEOBOX.OSC.IM.DataCheckerTool.WpfExtensions
{
public static class ObservableExtensions
{
public static void Sort<TSource, TKey>(this ObservableCollection<TSo... |
TeasmCompanion/TeamsTokenRetrieval/LevelDbLogFileDecoder.cs | heinrich-ulbricht/teasm-companion | 2 | 7050025 | using Serilog;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
#nullable enable
namespace TeasmCompanion.TeamsTokenRetrieval
{
public class LevelDbLogFileDecoder
{
private readonly ILogger logger;
... |
DoomModLoader2C/Forms/SavePresetForm.Designer.cs | Premo36/DML2.X | 7 | 7050026 | <reponame>Premo36/DML2.X
namespace DoomModLoader2.Forms
{
partial class SavePresetForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.