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 |
|---|---|---|---|---|
Managed/main/WaterPurifierConfig.cs | undancer/oni-data | 1 | 7029831 | <gh_stars>1-10
using TUNING;
using UnityEngine;
public class WaterPurifierConfig : IBuildingConfig
{
public const string ID = "WaterPurifier";
private const float FILTER_INPUT_RATE = 1f;
private const float DIRTY_WATER_INPUT_RATE = 5f;
private const float FILTER_CAPACITY = 1200f;
private const float USED_FILT... |
src/Orchard.Web/Modules/Orchard.Roles/Activities/IsInRoleActivity.cs | ArsenShnurkov/OrchardCMS-1.7.3-for-mono | 4 | 7029832 | <filename>src/Orchard.Web/Modules/Orchard.Roles/Activities/IsInRoleActivity.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Orchard.Environment.Extensions;
using Orchard.Localization;
using Orchard.Security;
using Orchard.Workflows.Models;
using Orchard.Workflows.Services;
namespace Orchar... |
WebApiRepository/WebApiRepository.Domain/Widget.cs | lreading/WebApiRepository | 0 | 7029833 | using System;
namespace WebApiRepository.Domain
{
/// <summary>
/// Describes the entirely made-up widget
/// </summary>
public class Widget : IEntity
{
/// <summary>
/// The unique identifier
/// </summary>
public int Id { get; set; }
/// <summary>
... |
src/FlubuCore/Context/Attributes/BuildProperties/ProductIdAttribute.cs | jenzy-forks/flubu.core | 606 | 7029834 | <reponame>jenzy-forks/flubu.core
using System;
using System.Collections.Generic;
using System.Text;
namespace FlubuCore.Context.Attributes.BuildProperties
{
/// <summary>
/// Get or sets product id from build properties session.
/// </summary>
public class ProductIdAttribute : BuildPropertyAttribute
... |
The Source/Utility/PersistData.cs | John1900/G-Cam | 2 | 7029835 | <filename>The Source/Utility/PersistData.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
namespace G_Cam.Utility
{
public class PersistData
{
public void save()
{
Data.sName = "aa";
Data.dBaseRadius = 2;
Data.dNoseRadius = .5;
... |
Sources/Extensions/ThreatsManager.Extensions/ResidualRiskEstimators/BugBarResidualRiskEstimator.cs | simonec73/threatsmanager | 39 | 7029836 | <gh_stars>10-100
using PostSharp.Patterns.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using ThreatsManager.Interfaces;
using ThreatsManager.Interfaces.Extensions;
using ThreatsManager.Interfaces.ObjectModel;
using ThreatsManager.Interfaces.ObjectM... |
Runtime/Scripts/Interfaces/IMessageAsync.cs | snarlynarwhal/MessageSystem | 0 | 7029837 | using System;
using System.Threading.Tasks;
namespace HHG.Messages
{
public interface IMessageAsync
{
#region Action Publishing
Task PublishAsync(object id);
Task PublishAsync<T>();
Task PublishAsync<T>(object id);
Task PublishAsync<T>(T message);
Task PublishA... |
YellowJacket/src/YellowJacket.Core/Hook/HookProcessor.cs | domtheluck/yellowjacket | 0 | 7029838 | <reponame>domtheluck/yellowjacket<gh_stars>0
// ***********************************************************************
// Copyright (c) 2017 <NAME>
//
// 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 ... |
Transformations/Internals/Helpers.cs | bojko108/Transformations.NET | 1 | 7029839 | using System;
using System.Linq;
using System.Collections.Generic;
namespace BojkoSoft.Transformations
{
/// <summary>
/// Some usefull functions
/// </summary>
public static class Helpers
{
/// <summary>
/// transforms value to radians
/// </summary>
/// <param nam... |
Polymorphism/WildFarm/Models/Animal/Mouse.cs | mitkokazakov/C-OOP | 0 | 7029840 | using System;
using System.Collections.Generic;
using System.Text;
using WildFarm.Models.Food;
namespace WildFarm.Models.Animal
{
public class Mouse : Mammal
{
public const double MOUSE_MULT = 0.1;
public Mouse(string name, double weight, string livingRegion) : base(name, weight, livingRegion)... |
src/ArcGISSilverlightSDK/Editing/AttributeOnlyEditing.xaml.cs | Esri/arcgis-samples-silverlight | 7 | 7029841 | <gh_stars>1-10
using System;
using System.Windows;
using System.Windows.Controls;
using ESRI.ArcGIS.Client;
using System.Collections.Generic;
namespace ArcGISSilverlightSDK
{
public partial class AttributeOnlyEditing : UserControl
{
public AttributeOnlyEditing()
{
InitializeCompone... |
src/Phoenix.Infrastructure/InputGestureCollectionToStringConverter.cs | m-sadegh-sh/Phoenix | 0 | 7029842 | <reponame>m-sadegh-sh/Phoenix
namespace Phoenix.Infrastructure {
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Input;
[ValueConversion(typeof (KeyGesture), typeof (String))]
public sealed class InputGestureCollectionToStringConverter : IValueConverte... |
MapboxExample/iOS/ViewController/Annotations/AnnotationViewsViewController.cs | mkoehne/MapboxExample | 3 | 7029843 | using Foundation;
using System;
using UIKit;
using Mapbox;
using CoreLocation;
using System.Collections.Generic;
using CoreGraphics;
namespace MapboxExample.iOS
{
public partial class AnnotationViewsViewController : UIViewController, IMGLMapViewDelegate
{
MGLMapView mapView;
public AnnotationViewsViewContro... |
test/CSharp/CodeCracker.Test/Style/ConvertToExpressionBodiedMemberTests.cs | sqdavid/code-cracker | 0 | 7029844 | using CodeCracker.Style;
using Microsoft.CodeAnalysis;
using System.Threading.Tasks;
using TestHelper;
using Xunit;
namespace CodeCracker.Test.Style
{
public class ConvertToExpressionBodiedMemberTests : CodeFixTest<ConvertToExpressionBodiedMemberAnalyzer, ConvertToExpressionBodiedMemberCodeFixProvider>
{
... |
src/PharmaceuticalChain.API/Models/Ethereum/CreateDrugTransactionResult.cs | pharmaceutical-blockverify/Server | 3 | 7029845 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PharmaceuticalChain.API.Models.Ethereum
{
public class CreateDrugTransactionResult : TransactionResult
{
public int TransactionId { get; set; }
}
}
|
OSnack.Web.Api/Controllers/StoreController.cs | MJ300/OSnackFYP | 1 | 7029846 | <gh_stars>1-10
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using OSnack.Web.Api.AppSettings;
using OSnack.Web.Api.Database.Context;
using OSnack.Web.Api.Database.Models;
using System;
using System.Collections.Generic;
u... |
DynamicForms.Web/Infrastructure/ApplicationFormCogs/Mapping/FieldMappers/EmailAddressFieldMapper.cs | fabiomilheiro/DynamicForms | 1 | 7029847 | <reponame>fabiomilheiro/DynamicForms<filename>DynamicForms.Web/Infrastructure/ApplicationFormCogs/Mapping/FieldMappers/EmailAddressFieldMapper.cs
using System.Collections.Generic;
using DynamicForms.Common.Models.ConfigurationModels.Fields;
namespace DynamicForms.Web.Infrastructure.ApplicationFormCogs.Mapping.FieldMa... |
sources/Interop/Windows/um/wingdi/EMRPOLYLINE.cs | john-h-k/terrafx.interop.windows | 0 | 7029848 | <reponame>john-h-k/terrafx.interop.windows<filename>sources/Interop/Windows/um/wingdi/EMRPOLYLINE.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/wingdi.h in the Windows SDK for Windows 10.0.19041.0
// Original s... |
CoCAPI/Responses/League.cs | circa94/CoCAPI | 5 | 7029849 | namespace CoCAPI.Responses
{
public class League
{
public int Id { get; set; }
public string Name { get; set; }
public IconUrls IconUrls { get; set; }
}
} |
htmlui/Custom Controls/Controls creation/CS/Form1.cs | aTiKhan/winforms-demos | 0 | 7029850 | <filename>htmlui/Custom Controls/Controls creation/CS/Form1.cs
#region Copyright Syncfusion Inc. 2001 - 2019
//
// Copyright Syncfusion Inc. 2001 - 2019. All rights reserved.
//
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <... |
Assets/Monobit Unity Networking/Plugins/MonobitNetwork/MonobitAnimatorView.cs | MakotoUwaya/es-unidra | 0 | 7029851 | <reponame>MakotoUwaya/es-unidra
using System;
using UnityEngine;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor.Animations;
#endif // UNITY_EDITOR
namespace MonobitEngine
{
/// <summary>
/// アニメーション同期制御クラス
/// </summary>
[RequireComponent(typeof(Animator))]
[RequireComponent(... |
Fault/FaultEngine/Collision/BoundingBox.cs | YourWishes/FaultEnginev3 | 0 | 7029852 | <filename>Fault/FaultEngine/Collision/BoundingBox.cs
using System;
namespace Fault {
public class BoundingBox : Bounding {
public static BoundingBox calculateBox(Entity e) {
return calculateBox(e.getModel());
}
public static BoundingBox calculateBox(Model m) {
Location[] locations = m.getAbsoluteMinMax... |
src/DevEssentials/Extensions/StreamLogger.cs | davethieben/devessentials | 0 | 7029853 | <reponame>davethieben/devessentials<filename>src/DevEssentials/Extensions/StreamLogger.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Extensions.Logging;
namespace Essentials.Logging
{
public class StreamLogger : ILogger, IDisposable
{
private readonly s... |
FitnessSite/FitnessSite/Areas/Admin/Controllers/ProductsController.cs | Pavel2202/ASPNETCoreProject | 1 | 7029854 | namespace FitnessSite.Areas.Admin.Controllers
{
using FitnessSite.Models.Products;
using FitnessSite.Services.Products;
using Microsoft.AspNetCore.Mvc;
public class ProductsController : AdminController
{
private readonly IProductsService service;
public ProductsController(IProduct... |
core/client/game/src/shine/utils/BytesUtils.cs | hw233/home3 | 8 | 7029855 | <filename>core/client/game/src/shine/utils/BytesUtils.cs
using System;
using System.IO;
using System.Text;
using UnityEngine;
using zlib;
namespace ShineEngine
{
/// <summary>
/// 字节方法
/// </summary>
public static class BytesUtils
{
/// <summary>
/// 空字节
/// </summary>
public static readonly byte[] Empty... |
samples/snippets/csharp/VS_Snippets_CFX/syndicationitem/cs/program.cs | broken240/dotnet-api-docs | 1 | 7029856 | <gh_stars>1-10
using System;
using System.Xml;
using System.Collections.ObjectModel;
using System.ServiceModel;
using System.ServiceModel.Syndication;
using System.IO;
using System.Runtime.Serialization;
using System.Xml.Serialization;
namespace SyndicationItemSnippets
{
class Program
{
p... |
VismaACLabs-master/CloudStorage/src/Core/Entities/User.cs | SeOcSa/CloudStorage | 0 | 7029857 | using System;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace Core.Entities
{
public class User : IdentityUser
{
public Guid CompanyId { get; set; }
}
} |
VNN/VNN/Form1.Designer.cs | Futupas/VisualNeuralNetwork | 0 | 7029858 | <reponame>Futupas/VisualNeuralNetwork<filename>VNN/VNN/Form1.Designer.cs<gh_stars>0
namespace VNN
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// C... |
src/compiler/StarkPlatform.Compiler.Features/AddPackage/InstallPackageDirectlyCodeAction.cs | encrypt0r/stark | 218 | 7029860 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using StarkPlatform.Compiler.CodeActions;
using StarkPlatform.Compile... |
Maps/MapTemplateLoader.cs | bzz445/RogueGame | 0 | 7029861 | <filename>Maps/MapTemplateLoader.cs<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
namespace RogueGame.Maps
{
public class MapTemplateLoader: IMapTemplateLoader
{
private const string MapTemplateXml = "Content\\MapTemplates.xml";
public Dictiona... |
src/Unfactored/Roslyn/Core/Reliability/DoNotCreateTasksWithoutTaskSchedulerAnalyzer.cs | mattwar/roslyn-analyzers | 8 | 7029862 | <gh_stars>1-10
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
... |
src/Middleware/HeaderPropagation/src/DependencyInjection/HeaderPropagationHttpClientBuilderExtensions.cs | belav/aspnetcore | 0 | 7029863 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.HeaderPropagation;
using Microsoft.Extensions.Options;
namespace Microsoft.Extensions.DependencyInjection
{
... |
src/Walthamstow.MassTransit.Platform/SagaConfig/SagaDbConfigs.cs | csalat/Walthamstow-MassTransit-Platform | 0 | 7029864 | <reponame>csalat/Walthamstow-MassTransit-Platform<gh_stars>0
using System.Collections.Generic;
namespace Walthamstow.MassTransit.Platform.SagaConfig
{
public class SagaDbConfigs
{
public List<MongoDbConfigOptions> SagaMongoDbOptions { get; set; }
public List<SqlServerDbConfigOptions> SagaSqlSe... |
samples/TelerikUwpSdkSample/Pages/BusyIndicator/ConfigurationsPage.cs | woweh/legerity | 25 | 7029865 | namespace TelerikUwpSdkSample.Pages.BusyIndicator
{
using Legerity.Pages;
using Legerity.Windows.Elements.Core;
using Legerity.Windows.Elements.Telerik;
using Legerity.Windows.Extensions;
using OpenQA.Selenium;
using Shouldly;
public class ConfigurationsPage : BasePage
{
public ... |
JitPad/Behaviors/MainWindowBehavior.cs | YoshihiroIto/JitPad | 129 | 7029866 | using System.Windows;
using System.Windows.Input;
using ICSharpCode.AvalonEdit;
using Microsoft.Xaml.Behaviors;
namespace JitPad.Behaviors
{
public sealed class MainWindowBehavior : Behavior<MainWindow>
{
#region CodeEditor
public TextEditor? CodeEditor
{
get => _CodeEditor... |
Ams.Utils/Document/Excel/NPOI/SS/UserModel/SheetConditionalFormatting.cs | SkyGrass/hippos_api_vm | 0 | 7029868 | /*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for Additional information regarding copyright ownership.
* The ASF license... |
GeomLib/GeomLib/Operations/Distance.cs | tejasCodes/geometry | 0 | 7029869 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GeomLib.Operations
{
class Distance
{
/// <summary>
/// computes the distance between 2 points
/// </summary>
/// <param name="ptA">point 1</param>
... |
Source/ColorData.cs | Dango998/zombieland | 0 | 7029870 | <filename>Source/ColorData.cs
using System;
using System.Linq;
using UnityEngine;
namespace ZombieLand
{
public class ColorData
{
static readonly int saveMargin = 5;
public int width;
public int height;
public Color[] pixels;
public Rect rect;
public ColorData(int width, int height, Color[] pixels)
... |
KitchenPC/Core/Recipes/Filters/TasteFilter.cs | Derneuca/KitchenPCTeamwork | 0 | 7029871 | namespace KitchenPC.Recipes.Filters
{
using KitchenPC.Recipes.Enums;
public class TasteFilter
{
private static readonly byte[] SpicyOffsets = { 0, 2, 0, 3, 10 };
private static readonly byte[] SweetOffsets = { 3, 10, 0, 20, 30 };
public SpicinessLevel MildToSpicy { get; set; }
... |
NinjaTools/NinjaTools.Connectivity/Connections/PipeStreamSubsystem.cs | ninjasync/NinjaTasks | 0 | 7029872 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using NinjaTools.Connectivity.Discover;
using NinjaTools.Connectivity.Streams;
using NinjaTools.Logging;
namespace NinjaTools.Connectivity.Connections
{
/... |
modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/AddArgCacheEntryProcessor.cs | kotari4u/ignite | 6 | 7029873 | <gh_stars>1-10
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "Lice... |
Common/Cdy.Tag/Interface/IRealData.cs | cdy816/mars | 17 | 7029874 | <filename>Common/Cdy.Tag/Interface/IRealData.cs
//==============================================================
// Copyright (C) 2019 Inc. All rights reserved.
//
//==============================================================
// Create by 种道洋 at 2019/12/27 18:45:02.
// Version 1.0
// 种道洋
//====================... |
src/Modules/Gicco.Module.ShippingPrices/Services/GetShippingPriceRequest.cs | dvbtham/gicco | 3 | 7029875 | using System.Collections.Generic;
using Gicco.Module.Core.Models;
using Gicco.Module.Shipping.Models;
namespace Gicco.Module.ShippingPrices.Services
{
public class GetShippingPriceRequest
{
public Address ShippingAddress { get; set; }
public Address WarehouseAddress { get; set; }
pub... |
src/core/iTextSharp/text/pdf/PdfSmartCopy.cs | danielgindi/itextsharp5-netstandard | 0 | 7029876 | <filename>src/core/iTextSharp/text/pdf/PdfSmartCopy.cs
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License vers... |
FiveM-Workbench/MainModule.cs | steveski/FiveM-Workbench | 0 | 7029877 | <reponame>steveski/FiveM-Workbench<filename>FiveM-Workbench/MainModule.cs
using FiveM_Workbench.ClothingOrganiser.ViewModels;
using Gemini.Framework;
using Gemini.Framework.Services;
using Gemini.Framework.ToolBars;
using Gemini.Modules.Output;
using Gemini.Modules.StatusBar;
using Gemini.Modules.Toolbox;
using... |
test/ItemsRepeaterTestApp/Common/CollectionChangeEventArgsConverters.cs | WertherHu/ModernWpf | 0 | 7029878 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace ItemsRepeaterTestApp.Common
{
public static class CollectionChan... |
src/Common/LoggingConstants.cs | kichalla/oryx | 0 | 7029879 | // --------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
// --------------------------------------------------------------------------------------------
using System;
namespac... |
Pql/IntegrationStubs/ServiceInstallerBase.cs | romanpolunin/PQL | 1 | 7029880 | using System;
using System.Configuration;
using System.Configuration.Install;
using System.Reflection;
namespace Pql.IntegrationStubs
{
public partial class ServiceInstallerBase : Installer
{
public ServiceInstallerBase()
{
InitializeComponent();
}
pr... |
Mendz.Library/Extensions/StringExtensions.cs | etmendz/Mendz.Library | 0 | 7029881 | <filename>Mendz.Library/Extensions/StringExtensions.cs
using System.Text.RegularExpressions;
namespace Mendz.Library.Extensions
{
/// <summary>
/// Provides string extensions.
/// </summary>
public static class StringExtensions
{
/// <summary>
/// Determines if a string matches a r... |
Src/Presentation/Studio.User.WebApp/Areas/Administrator/Views/Admin/Countries.cshtml | VeselinBPavlov/studioto.bg | 0 | 7029882 | <gh_stars>0
@{
ViewData["Title"] = "Държави";
}
<span id="countryspan"></span>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Държави
</h1>
<ol class="breadcrumb"></ol>
</section>
<!-- Main content -->
... |
CSharpInnoSetup/Script/Constructs/Code/Library/TModalResult.cs | wimpleshapers/CSharpInnoSetup | 2 | 7029883 |
namespace CodingMuscles.CSharpInnoSetup.Script.Constructs.Code.Library
{
/// <summary>
/// Pascal TModalResult type
/// </summary>
[BuiltInSymbol]
[GlobalNamespace]
public sealed class TModalResult
{
/// <summary>
/// Inno <a href="https://github.com/KngStr/Inno-All-in-One-... |
Assets/Scripts/ButtonEvents.cs | darke333/- | 0 | 7029884 | using UnityEngine;
using UnityEngine.UI;
using VRTK.Controllables;
public class ButtonEvents : MonoBehaviour
{
public VRTK_BaseControllable controllable;
public Transform car;
public Transform MaxUpPoint;
public Transform MaxDownPoint;
public Transform Holder;
void Update()
{
if ... |
Azeroth.WCH.Model/DTO/MenuInfo.cs | eeroom/Azeroth.Zlgw | 0 | 7029885 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Azeroth.WCH.Model.DTO
{
public class MenuInfo
{
public MenuInfo()
{
this.Chirldren = new List<MenuInfo>();
}
public Guid Id { get; set; }
public string DisplayName... |
Charlistener/Charlistener/Service1.cs | capradenas/CharListener | 0 | 7029886 | <reponame>capradenas/CharListener
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Timers;
using System.Data.SqlClient;... |
Tarabica.DataServices/Tasks/TaskSummaryResult.cs | bojan-misic/tarabica-wp75 | 0 | 7029887 | <reponame>bojan-misic/tarabica-wp75
//===============================================================================
// Microsoft patterns & practices
// Windows Phone 7 Developer Guide
//===============================================================================
// Copyright © Microsoft Corporation. All rights ... |
ProgrammingBasics/Exams/14.04.2014Evening/StudentCables/Program.cs | yangra/SoftUni | 0 | 7029888 | <reponame>yangra/SoftUni
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StudentCables
{
class Program
{
static int wholeLength = 0;
static int joinsCount = 0;
static void Main(string[] args)
{
... |
TrueCraft.Launcher/Views/OptionView.cs | manio143/TrueCraft | 0 | 7029889 | using System;
using System.IO;
using System.Diagnostics;
using System.Collections.Generic;
using TrueCraft.Core;
using Xwt;
using Xwt.Drawing;
using System.Threading.Tasks;
using System.Net;
using Ionic.Zip;
using System.Linq;
namespace TrueCraft.Launcher.Views
{
public class OptionView : VBox
{
publi... |
pismeni-ispiti/zadaci/januar2019_resenje/MasterTeme/Migrations/20181231224442_Initial.Designer.cs | ZaduzeniZaKursMatfRS2/RS2 | 0 | 7029890 | <reponame>ZaduzeniZaKursMatfRS2/RS2<filename>pismeni-ispiti/zadaci/januar2019_resenje/MasterTeme/Migrations/20181231224442_Initial.Designer.cs<gh_stars>0
// <auto-generated />
using System;
using MasterTeme.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft... |
LiveVideoSDK/VIMS.LiveVideoSDK/VIMS.LiveVideoSDK.Bll/Entity/tbCaseMission.cs | zengfanmao/mpds | 0 | 7029891 | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成。
//
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
namespace VIMS.LiveVideoSDK.Bll.En... |
Toxon.Swim/Networking/TransportPingEvent.cs | will14smith/Toxon.Swim | 0 | 7029892 | <reponame>will14smith/Toxon.Swim<filename>Toxon.Swim/Networking/TransportPingEvent.cs
using Toxon.Swim.Messages;
using Toxon.Swim.Models;
namespace Toxon.Swim.Networking
{
public delegate void TransportPingEvent(object sender, TransportPingEventArgs args);
public class TransportPingEventArgs
{
pu... |
src/AudioAnalysisTools/Indices/SummaryIndexValues.cs | stewartmacdonald/audio-analysis | 0 | 7029893 | <gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SummaryIndexValues.cs" company="QutEcoacoustics">
// All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Grou... |
NewsFeed.Web/Controllers/AccountController.cs | AlissonRS/NewsFeed | 0 | 7029894 | <filename>NewsFeed.Web/Controllers/AccountController.cs
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using NewsFeed.Web.ViewModels.Account;
using System.Linq;
using System.Threading.Tasks;
namespace NewsFeed.Web.Controllers
{
[AllowAnonymous]
p... |
Form1.cs | Johnnymc2001/League-Of-Legends-Language-Copier | 0 | 7029895 | <filename>Form1.cs
namespace LolCopyGUI
{
public partial class Form1 : Form
{
string rootFolder = "";
public Form1()
{
InitializeComponent();
}
private void btnSelect_Click(object sender, EventArgs e)
{
FolderBrowserDialog folderDialog = ... |
Assets/Scripts/BodyPartControllerFemale.cs | QihangFan/FanService | 0 | 7029896 | <reponame>QihangFan/FanService
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BodyPartControllerFemale : MonoBehaviour
{
GameObject bodyShape;
SkinnedMeshRenderer skinnedMeshRenderer;
public float changeSpeed = 1f;
float changeVa... |
Apollo/Binary/Decoder.cs | Brendonovich/apollo-studio | 0 | 7029897 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Apollo.Components;
using Apollo.Core;
using Apollo.Devices;
using Apollo.Elements;
using Apollo.Enums;
using Apollo.Helpers;
using Apollo.Interfaces;
using Apollo.Structures;
using Apollo.Windows;
n... |
src/xunit.analyzers/InlineDataMustMatchTheoryParameters.cs | FabianNitsche/xunit.analyzers | 0 | 7029898 | <filename>src/xunit.analyzers/InlineDataMustMatchTheoryParameters.cs
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnos... |
Source/SharpDX.DirectSound/ParametricEqualizer.cs | shoelzer/SharpDX | 0 | 7029899 | <gh_stars>0
// Copyright (c) 2010-2013 SharpDX - <NAME>
//
// 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, cop... |
HybridApp1.UWP/Src/HybridWebViewRenderer.cs | arumugaperumals/HybridWebApp | 0 | 7029900 | <reponame>arumugaperumals/HybridWebApp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using Xamarin.Forms.Platform.UWP;
using HybridApp1;
using Windows.UI.Xaml.Controls;
using HybridApp1.UWP;
[assembly: ExportRenderer(typeo... |
OO/Pizztsuka/usuario.cs | fabioferro54815/Aulas-C- | 0 | 7029901 | <filename>OO/Pizztsuka/usuario.cs
using System;
namespace pizztsuka
{
public class usuario
{
public int id = 1;
public string nome{get;set;}
public string email{get;set;}
public string senha;
public DateTime data;
}
} |
Twinkle.Framework/SignalR/SignalRRealTimeNotifier.cs | fengylm/Twinkle.Framework | 0 | 7029902 | <reponame>fengylm/Twinkle.Framework<filename>Twinkle.Framework/SignalR/SignalRRealTimeNotifier.cs
using Microsoft.AspNetCore.SignalR;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Twinkle.Framework.Extensions;
namespace Twinkle.Framework.SignalR
{
public clas... |
src/Wally.Application.Tests/Accounts/Get/HandlerTest.cs | akmetainfo/WallyBackend | 1 | 7029903 | <reponame>akmetainfo/WallyBackend<filename>src/Wally.Application.Tests/Accounts/Get/HandlerTest.cs
using System.Threading.Tasks;
using NUnit.Framework;
namespace Usol.Wally.Application.Accounts.Get
{
/// <summary>
/// Tests for <see cref="Handler"/>
/// </summary>
public class HandlerTest : AccountsTe... |
CapybaraVS/Controls/BaseControls/UIParam.xaml.cs | katsumiar/CapyCSS | 11 | 7029904 | <gh_stars>10-100
#define SHOW_LINK_ARRAY // リスト型を接続したときにリストの要素をコピーして表示する
using CapybaraVS.Script;
using CapybaraVS.Script.Lib;
using CapyCSS.Script;
using CbVS.Script;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Windows;
using System.Windows.Controls;
us... |
Assets/UnityTools/SceneManagement/Editor/SceneManagerInspector.cs | Nicolas-Constanty/UnityTools | 4 | 7029905 | <reponame>Nicolas-Constanty/UnityTools<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEngine;
using UnityTools.Inspector;
using UnityTools.SceneManagement.Model;
// ReSharper disable once CheckNamespace
namespace UnityTools.Scene... |
Src/iFramework/Infrastructure/JsonHelper.cs | JTOne123/IFramework | 0 | 7029906 | using System;
using System.Collections.Generic;
using IFramework.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace IFramework.Infrastructure
{
public static class JsonHelper
{
private static IJsonConvert JsonConvert => ObjectProviderFactory.GetService<IJsonConvert>();
private ... |
src/DownKyi/Models/DownloadBase.cs | light-come/downkyiX | 0 | 7029907 | <gh_stars>0
using DownKyi.Core.BiliApi.BiliUtils;
using System;
using System.Collections.Generic;
namespace DownKyi.Models
{
[Serializable]
public class DownloadBase
{
public DownloadBase()
{
// 唯一id
Uuid = Guid.NewGuid().ToString("N");
// 初始化需要下载的内容
... |
Packages/com.popo.bdframework/Editor/Framework/EditorBuiltinStyle.cs | spadd/BDFramework.Core | 3 | 7029908 | namespace BDFramework.Editor
{
using UnityEditor;
using UnityEngine;
public sealed class GUIStyleExampleWindow : EditorWindow
{
private static readonly string[] mList =
{
"AboutWIndowLicenseLabel" ,
"AC LeftArrow" ,
... |
src/DataModelGenerator/DefinitionModel/UnknownPropertiesList.cs | davidaramant/sector-director | 1 | 7029909 | // Copyright (c) 2019, <NAME>
// Distributed under the 3-clause BSD license. For full terms see the file LICENSE.
namespace SectorDirector.DataModelGenerator.DefinitionModel
{
public sealed class UnknownPropertiesList : BlockList
{
public UnknownPropertiesList() : base("unknownProperties", singularN... |
VisualStudio/Sources/WpfEvalApp/UserControls/LaneLineView.xaml.cs | Heinzman/DigiRcMan | 0 | 7029910 | <filename>VisualStudio/Sources/WpfEvalApp/UserControls/LaneLineView.xaml.cs<gh_stars>0
using System.Windows.Controls;
namespace Elreg.WpfEvalApp.UserControls
{
/// <summary>
/// Interaction logic for LaneLineView.xaml
/// </summary>
public partial class LaneLineView : UserControl
{
... |
Source/ImageProcessing/Imaging.Algorithms/DenseHistogram/DenseHistogram.Arithmetics.cs | ProfTHC/accord-net-extensions | 356 | 7029911 | #region Licence and Terms
// Accord.NET Extensions Framework
// https://github.com/dajuric/accord-net-extensions
//
// Copyright © <NAME>, 2014-2015
// <EMAIL>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as publis... |
Assets/Scripts/ProgressSystem/TaskFactory.cs | MikkoHimanka/farmasia-vr | 0 | 7029912 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using System;
public static class TaskFactory {
/// <summary>Get a task by type and call subscribe on it, effectively activating it
/// </summary>
public static Task GetTask(TaskType type) {
if (tasks... |
OpenTracker.UnitTests/Models/Dungeons/KeyLayouts/Factories/PoDKeyLayoutFactoryTests.cs | Baertierchen/OpenTracker | 37 | 7029913 | using System.Collections.Generic;
using ExpectedObjects;
using NSubstitute;
using OpenTracker.Models.Dungeons;
using OpenTracker.Models.Dungeons.Items;
using OpenTracker.Models.Dungeons.KeyLayouts;
using OpenTracker.Models.Dungeons.KeyLayouts.Factories;
using OpenTracker.Models.Requirements;
using OpenTracker.Models.Re... |
Source/Classic/Libs/UnsafeIrbis/AM/IO/ExtraStruct.cs | amironov73/ManagedClient.45 | 0 | 7029914 | <reponame>amironov73/ManagedClient.45
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* ExtraStruct.cs --
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------... |
Tools/MonoGame.Content.Builder.Editor.Launcher/Program.cs | bytinggames/MonoGame | 54 | 7029915 | <filename>Tools/MonoGame.Content.Builder.Editor.Launcher/Program.cs
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System.Diagnostics;
using System.Reflection;
using System.Runtime.Inte... |
src/activities/Elsa.Activities.File/Activities/WatchDirectory/WatchDirectory.cs | VahidNaderi/elsa-core | 3,147 | 7029916 | <reponame>VahidNaderi/elsa-core
using Elsa.Activities.File.Models;
using Elsa.ActivityResults;
using Elsa.Attributes;
using Elsa.Design;
using Elsa.Services;
using Elsa.Services.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Text;
using... |
src/Stripe.net/Entities/CreditNote.cs | Mimeo/stripe-dotnet | 0 | 7029917 | namespace Stripe
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class CreditNote : StripeEntity, IHasId, IHasMetadata, IHasObject
{
/// <summary>
/// Unique identifier for the object.
/// </summary>
[J... |
src/Sidekick.Presentation.Blazor.Electron/Tray/TrayProvider.cs | pobiega/Sidekick | 440 | 7029918 | using System;
using System.Collections.Generic;
using ElectronNET.API.Entities;
using MediatR;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Sidekick.Domain.Game.Items.Commands;
using Sidekick.Domain.Game.Trade.Commands;
using Sidekick.Domain.Platforms... |
src/Orchard.Web/Modules/Orchard.Workflows/Controllers/AdminController.cs | jdages/AndrewsHouse | 2 | 7029919 | using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using Newtonsoft.Json.Linq;
using Orchard.ContentManagement;
using Orchard.Data;
using Orchard.Displ... |
SolrNet/Impl/SolrDIHStatusParser.cs | bharathyr/SolrNet | 362 | 7029920 | using System;
using System.Xml.Linq;
using System.Xml.XPath;
namespace SolrNet.Impl {
/// <summary>
/// Parses a Solr DIH Status xml document into a strongly typed
/// <see cref="SolrDIHStatus"/> object.
/// </summary>
public class SolrDIHStatusParser : ISolrDIHStatusParser {
/// <summary>... |
src/desktop/opieandanthonylive/Markup/ValueConverters/PathToImageSourceConverter.cs | vreniose95/opieandanthonylive | 0 | 7029921 | <reponame>vreniose95/opieandanthonylive
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace opieandanthonylive.Markup.ValueConverters
{
public class PathToImageSourceConverter
: IValueConverter
{
private static readonly ImageSourceConverter _converter
= ... |
Harddrive-Library/Scanning/Monitoring/EventMessageBase.cs | zainta/Harddrive-Library | 0 | 7029922 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License, (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at https://mit-license.org/
namespace HDDL.Scanning.Monitoring
{
/// <summary>
/// Base class for all eve... |
Configuration/PluginConfiguration.cs | nexus511/BeatTogether | 0 | 7029923 | <filename>Configuration/PluginConfiguration.cs<gh_stars>0
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using BeatTogether.Models;
using IPA.Config.Stores;
using IPA.Config.Stores.Attributes;
using IPA.Config.Stores.Converters;
[assembly: InternalsVisibleTo(GeneratedStore.AssemblyVisibility... |
src/WInterop.Desktop/Communications/Native/Imports.cs | willibrandon/WInterop | 49 | 7029924 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
using WInterop.Synchronization;
using WInterop.Windows;
namespace WInterop.Communications.Native... |
samples/identitySample/Infrastructure/Identity.Infrastructure/EntityConfigurations/TenantConfigurations/TenantEntityTypeConfiguration.cs | eyazici90/Galaxy | 15 | 7029925 | <reponame>eyazici90/Galaxy
using Galaxy.EntityFrameworkCore.EntityConfigurations;
using Identity.Domain.AggregatesModel.TenantAggregate;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace Identity.Inf... |
unity/NetworkModel.cs | Tobl4/UnityNetworkModel | 0 | 7029926 | <filename>unity/NetworkModel.cs
/**
* Network Model Script
*
* Attach this script to a gameobject in Unity
* and all children gameobjects will be
* synchronized to the specified server
*
* @file NetworkModel.cs
* @author <NAME>
* @version 2018-12-07
**/
using System;
using System.Collections.Generic;
using S... |
src/Ycs/lib0/Encoding/StringEncoder.cs | yjs/ycs | 37 | 7029927 | // ------------------------------------------------------------------------------
// <copyright company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// ------------------------------------------------------------------------------
using System;
using Sy... |
BShelf.Infra/Repositories/AuthorRepository.cs | pedro-octavio/BShelf | 0 | 7029928 | <filename>BShelf.Infra/Repositories/AuthorRepository.cs<gh_stars>0
using BShelf.Domain.Entities;
using BShelf.Domain.Repositories;
namespace BShelf.Infra.Repositories
{
/// <summary>
/// implementation of AuthorRepository
/// </summary>
public class AuthorRepository : GenericRepository<Author>, IAutho... |
Views/Admins/GetAll.cshtml | CarlosIvanCardenas/TaxiUnicoWebClient | 1 | 7029929 | <reponame>CarlosIvanCardenas/TaxiUnicoWebClient<gh_stars>1-10
@model List<TaxiUnicoWebClient.Models.Classes.Administrador>
@{
ViewData["Title"] = "GetAllAdmins";
}
<div class="container">
<div class="page-header clearfix detailHeading">
<h2>@ViewData["Title"]</h2>
</div>
</div>
<div class="containe... |
mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap/LdapModifyRequest.cs | lefb766/mono | 469 | 7029930 | <filename>mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap/LdapModifyRequest.cs<gh_stars>100-1000
/******************************************************************************
* The MIT License
* Copyright (c) 2003 Novell Inc. www.novell.com
*
* Permission is hereby granted, free of charge, to any person obtai... |
MiniSlots/Assets/Scripts/Patterns/Grid.cs | JoanStinson/MiniSlots | 0 | 7029931 | using System.Collections.Generic;
using Debug = UnityEngine.Debug;
namespace JGM.Game.Patterns
{
public class Grid : IGrid
{
public int[,] Array2D { get; private set; }
public uint NumberOfRows => _numberOfRows;
public uint NumberOfColumns => _numberOfColumns;
private readonly... |
src/Servers/Kestrel/Core/test/DiagnosticMemoryPoolTests.cs | legistek/AspNetCore | 16 | 7029932 | // 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.Buffers;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.Extensions.Internal.Test
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.