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/FPSGame/Scripts/HealSphere.cs | Swihoni/fps-game | 1 | 7058927 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealSphere : HurtSphere {
private void OnTriggerEnter(Collider other)
{
Player player;
if (ShouldHealPlayer(other, out player))
StartHealOverTime(player, amount);
}
private void On... |
Exor.Core.Tests.ContentB/CtorTestB.cs | eropple/Exor | 5 | 7058928 | <filename>Exor.Core.Tests.ContentB/CtorTestB.cs
using System;
using Exor.Core.Tests.ContentBase;
namespace Exor.Core.Tests.ContentB
{
[CtorTest("A")]
public class CtorTestB : CtorTestBase
{
public CtorTestB(Int32 value, DateTime time) : base(value, time)
{
}
}
}
|
Str.Wallpaper.Wpf/App.xaml.cs | stricq/STR.Wallpaper | 0 | 7058929 | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition.Hosting;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Windows;
using AutoMapper;
using CefSharp;
using Str.Wallpaper.Domain.Contra... |
DistributedProgramming/ClientServerCommunication/WebSocketAPI/WebSocketConnection.cs | cvalle96/TP | 49 | 7058930 | //___________________________________________________________________________________
//
// Copyright (C) 2020, <NAME>.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/TP
//___________________________________________________________________________________
using System;
using System.Thr... |
Logic/SwitchProcessor.cs | Austin-Lowe/DataLibrary | 0 | 7058931 | <gh_stars>0
using System.Collections.Generic;
using DataLibrary.Models;
using DataLibrary.DataAccess;
namespace DataLibrary.Logic
{
class SwitchProcessor
{
public static List<SwitchModel> LoadSwitches()
{
string sql = @"select HOSTNAME, DEVICE_TYPE, IP, USERNAME, PASSWORD, SECRET
... |
Mobile/ASTRA.EMSG.Localization/Utils/LocalizationHandler.cs | astra-emsg/ASTRA.EMSG | 4 | 7058932 | <filename>Mobile/ASTRA.EMSG.Localization/Utils/LocalizationHandler.cs<gh_stars>1-10
using System;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Resources;
namespace ASTRA.EMSG.Localization.Utils
{
public interface ILocalizationHandler
{
... |
Source/Common/Math/Discrete/SetClosure.cs | mortend/fuse-studio | 324 | 7058933 | <gh_stars>100-1000
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Outracks
{
public static class SetClosure
{
public static IImmutableSet<T> ClosureSetOf<T>(this T seed, Func<T, IEnumerable<T>> operation)
{
var set = Immutable... |
source/RTSCamera/src/Config/RTSCameraMenuView.cs | cnedwin/Bannerlord.RTSCamera | 0 | 7058934 | using MissionLibrary.HotKey;
using MissionSharedLibrary.HotKey.Category;
using MissionSharedLibrary.View;
using TaleWorlds.Core;
namespace RTSCamera.Config
{
public class RTSCameraMenuView : MissionSharedLibrary.View.MissionMenuViewBase
{
public RTSCameraMenuView()
: base(24, nameof(RTSCa... |
MessageBoard/Migrations/20200817212111_NewControllers.cs | Sudolphus/MessageBoardAPI.Solution | 0 | 7058935 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace MessageBoard.Migrations
{
public partial class NewControllers : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "Posts",
... |
Semester-3/Homework-5/FTP-ClientGUI/ViewModel.cs | Timur-Zinnatulin/Homework | 0 | 7058936 | <filename>Semester-3/Homework-5/FTP-ClientGUI/ViewModel.cs
using System.ComponentModel;
using System.Collections.Generic;
using System.Windows.Input;
using System.Threading.Tasks;
using FtpClientGUI.FileExplorer;
namespace FtpClientGUI
{
/// <summary>
/// SimpleFTP MVVM ViewModel
/// </summary>
publi... |
T3/Gui/Graph/Rendering/SrvManager.cs | still-scene/t3 | 23 | 7058937 | <reponame>still-scene/t3
using System;
using System.Collections.Generic;
using SharpDX.Direct3D11;
using T3.Core;
using T3.Core.Logging;
namespace T3.Gui.Graph.Rendering
{
/// <summary>
/// A helper class that manages the creating of srv's for textures
/// </summary>
public static class SrvManager
... |
src/Merchello.Web/CheckoutExtensions.cs | ryanology/Merchello | 0 | 7058938 | namespace Merchello.Web
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Core;
using Core.Configuration;
using Core.Models;
using Core.Strategies.Packaging;
using Merchello.Core.Checkout;
using Merchello.Core.Logg... |
Vhc.CoreUi/Samples/ConsoleHostSample/Program.cs | churivibhav/CoreUi | 0 | 7058940 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vhc.CoreUi;
using Microsoft.Extensions.DependencyInjection;
using Vhc.CoreUi.Abstractions;
namespace ConsoleHostSample
{
class Program
{
static void SimpleMain(string[] args) =>
... |
V1.0/Main/DinerwareSystem/frmApplyGiftCardSummary.cs | bLoyal-Integration/dinerware | 0 | 7058941 | <filename>V1.0/Main/DinerwareSystem/frmApplyGiftCardSummary.cs
using System;
using System.Drawing;
using System.Windows.Forms;
namespace DinerwareSystem
{
public partial class frmApplyGiftCardSummary : Form
{
public decimal _netAmount { get; set; }
public string _giftCardNumber { get; set; }
... |
src/Disqord.Core/Entities/Local/Message/Components/Button/LocalButtonComponent.cs | moriyahiroaki/Disqord | 1 | 7058942 | using System;
namespace Disqord
{
public class LocalButtonComponent : LocalButtonComponentBase, ILocalInteractiveComponent
{
/// <summary>
/// Gets or sets the style of this button.
/// </summary>
public LocalButtonComponentStyle Style { get; set; } = LocalButtonCo... |
Mister/MisterStreamStringSerializer.cs | carbon/mister | 3 | 7058943 | using System.IO;
using System.Text;
namespace Marius.Mister
{
public class MisterStreamStringSerializer : IMisterStreamSerializer<string>
{
public string Deserialize(Stream stream)
{
using (var reader = new StreamReader(stream, Encoding.UTF8, false, 128, true))
retu... |
src/main/landingPage/Options/DaemonPermissionOptions.cs | 1iveowl/identity-cross-tenant-daemon-1 | 5 | 7058944 | namespace Options
{
public record DaemonPermissionOptions
{
public const string DaemonPermissions = nameof(DaemonPermissions);
public string? Scopes { get; init; }
}
}
|
Purkki.MediatorCacheExample.Database/ExampleContext.cs | crnd/mediatr-cache-example | 0 | 7058945 | using Microsoft.EntityFrameworkCore;
using Purkki.MediatorCacheExample.Database.Entities;
namespace Purkki.MediatorCacheExample.Database
{
public class ExampleContext : DbContext
{
public ExampleContext(DbContextOptions<ExampleContext> options) : base(options) { }
public DbSet<Car> Cars { get; set; }
... |
src/Core.Composition/LightInjectExtensions/AttributeTypeExtractor.cs | git-custom-code/LightInject-AttributeConventions | 1 | 7058946 | <gh_stars>1-10
namespace CustomCode.Core.Composition.LightInjectExtensions
{
using LightInject;
using System;
using System.Linq;
using System.Reflection;
/// <summary>
/// A LightInject <see cref="ITypeExtractor"/> that extracts all types decorated with an <see cref="ExportAttribute"/>
///... |
Assets/LetterAlt.cs | VFlyer/ktane-doubleExpert | 0 | 7058947 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KModkit;
using rnd = UnityEngine.Random;
class LetterAlt
{
int rule;
char letter;
string text;
bool compactList = rnd.value < .5;
private KMBombInfo bomb;
public Le... |
src/Dibix.Testing/Configuration/ConfigurationProxyLookup.cs | Serviceware/Dibix | 11 | 7058948 | <reponame>Serviceware/Dibix
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Reflection;
namespace Dibix.Testing
{
internal sealed class ConfigurationProxyLookup
{
public ICollection<PropertyInfo> PrimitiveProperties { get; }
public IDictionary<PropertyInfo,... |
Panelak.Framework/Panelak.Sql.Parsing/Expressions/PropertyIsLike.cs | czmirek/Panelak.Framework | 0 | 7058949 | namespace Panelak.Sql.Parsing
{
/// <summary>
/// SQL operator LIKE
/// </summary>
public class PropertyIsLike : ColumnComparisonExpression
{
/// <summary>
/// Initializes a new instance of the <see cref="PropertyIsLike"/> class.
/// </summary>
/// <param name="colum... |
Console App/LoaiVatLieu/Cat.cs | BVU-Lap-trinh-huong-doi-tuong/QuanLyCuaHangVatLieuXayDung | 0 | 7058950 | using System.Collections;
using QuanLyCuaHangVatLieuXayDung.LoaiVatLieu;
namespace QuanLyCuaHangVatLieuXayDung.LoaiVatLieu
{
class Cat : VatLieu
{
public Cat()
{
setTen(" ");
setSoLuong(0);
setGia(0);
setLoaiVatLieu(1);
}
public C... |
Awful.Core/Entities/Bans/BanItem.cs | AlanGraham/Awful.NET | 3 | 7058951 | // <copyright file="BanItem.cs" company="Drastic Actions">
// Copyright (c) Drastic Actions. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Text;
namespace Awful.Core.Entities.Bans
{
/// <summary>
/// Banned User Item.
/// </summary>
public class Ban... |
Core/Meta/Literal.cs | GerHobbelt/bebop | 0 | 7058953 | <reponame>GerHobbelt/bebop
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using Core.Lexer.Tokenization.Models;
using Core.Meta.Attributes;
using Core.Meta.Interfaces;
using Core.Meta;
namespace Core.Meta
{
public abstract record Literal(TypeBase Type, Span S... |
src/Views/binding/ComponentState.cshtml | extnet/Ext.NET.Examples.Mobile.MVC | 0 | 7058954 | <reponame>extnet/Ext.NET.Examples.Mobile.MVC<gh_stars>0
@{
var X = Html.X();
}
@(
X.FormPanel()
.ViewModel(true)
.Items(
X.FieldSet()
.Instructions(@<text>The admin key field is disabled when the admin checkbox is not checked. The high priority field is hidden when ... |
src/Viki.Pipeline.Core/Pipes/PipeMultiplexer.cs | Vycka/Viki.Pipeline | 0 | 7058955 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Viki.Pipeline.Core.Interfaces;
namespace Viki.Pipeline.Core.Pipes
{
public class PipeMultiplexer<T> : IProducer<T>, IEnumerable<IConsumer<T>>
{
private readonly Func<T, int> _partitionSelector;
p... |
src/BookingApi.Core/Serialization/BookShipmentResponseSerializer.cs | Mihil2021/BookingApi-Sdk-CSharp | 1 | 7058956 | <reponame>Mihil2021/BookingApi-Sdk-CSharp
using System;
using System.Collections.Generic;
using System.Linq;
using BookingApi.Abstractions.Api.Endpoints;
using BookingApi.Abstractions.Models.ShipmentBooking;
using BookingApi.Core.Api.Endpoints;
using BookingApi.Core.Models.ShipmentBooking;
using Newtonsoft.Json;
names... |
Assets/NKGSlate/Sample/Actions/ST_LogAction.cs | wqaetly/SkillEditorBasedOnSlate | 33 | 7058957 | <filename>Assets/NKGSlate/Sample/Actions/ST_LogAction.cs
//------------------------------------------------------------
// Author: 烟雨迷离半世殇
// Mail: <EMAIL>
// Data: 2021年8月12日 21:33:22
//------------------------------------------------------------
using UnityEngine;
namespace NKGSlate.Runtime
{
public class ST_L... |
Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Json/JsonTokenInfo.cs | SnehaGunda/azure-cosmos-dotnet-v3 | 0 | 7058958 | <filename>Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Json/JsonTokenInfo.cs
//-----------------------------------------------------------------------
// <copyright file="JsonTokenInfo.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//... |
Source/GenerateSharp/SoupView/ViewModel/OperationDetailsViewModel.cs | cppsoup/soup | 40 | 7058959 | // <copyright file="OperationDetailsViewModel.cs" company="Soup">
// Copyright (c) Soup. All rights reserved.
// </copyright>
using Soup.Build.Runtime;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace SoupView.ViewModel
{
internal class OperationDetailsViewModel : Observable
{
pr... |
Assets/InfinityEngine/Gen/Scripts/R.cs | mciissee/IntoTheHole | 5 | 7058960 | <reponame>mciissee/IntoTheHole
#pragma warning disable IDE1006 // Naming Styles
using UnityEngine;
using System.Xml;
namespace InfinityEngine.ResourceManagement {
/// <summary>This class is generated automaticaly by InfinityEngine, it contains constants used by many scripts. DO NOT EDIT IT !</summary>
public static ... |
Sprint 3/ClientServerDemo/Doctor/Session.cs | Object-Pascal/RemoteHealthcare | 0 | 7058961 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Doctor
{
public class Session
{
private List<String> heartrate { get; set; }
private List<String> distance { get; set; }
private List<String> speed ... |
ShopApp.DataAccess/Identity/ApplicationRole.cs | cihatsolak/ShopApp | 2 | 7058962 | <filename>ShopApp.DataAccess/Identity/ApplicationRole.cs
using Microsoft.AspNetCore.Identity;
namespace ShopApp.DataAccess.Identity
{
public class ApplicationRole : IdentityRole
{
public ApplicationRole(string name) : base(name) { Name = name; }
}
}
|
src/Extensions/Comparable/If/ThenPromise.cs | MaestriaNet/Extensions | 3 | 7058963 | using System;
namespace Maestria.Extensions
{
public interface IThenPromiseNullable<TValue> where TValue : struct
{
TValue? Then(TValue? newValue);
TValue? Then(Func<TValue?> newValue);
}
public interface IThenPromise<TValue> : IThenPromiseNullable<TValue>
where TValue : struct... |
ICA-SVP/ICA-SVP.Misc/Utils/Utils.cs | danielgg88/ICAPR-RSVP | 1 | 7058964 | using System;
namespace ICA_SVP.Misc.Utils
{
public static class Utils
{
public const double PX_MM = 3.779528;
public static long MilliTimestamp()
{
DateTime d1 = new DateTime(1970,1,1);
DateTime d2 = DateTime.UtcNow;
TimeSpan ts = new TimeSpan(d2.T... |
src/FFT.TimeStamps/TimeStamp.Operators.cs | FastFinTech/FFT.TimeStamps | 2 | 7058965 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace FFT.TimeStamps
{
using System;
using System.Runtime.CompilerServices;
public partial struct TimeStamp
{
#pragma warning disable CS1591 // Missing XML c... |
Mafia.NET/Players/Roles/Abilities/Actions/Attack.cs | war-man/Mafia.NET | 3 | 7058966 | <filename>Mafia.NET/Players/Roles/Abilities/Actions/Attack.cs
using Mafia.NET.Players.Deaths;
using Mafia.NET.Players.Roles.Abilities.Bases;
using Mafia.NET.Players.Roles.Perks;
namespace Mafia.NET.Players.Roles.Abilities.Actions
{
public class Attack : Ability
{
public Attack(
AttackStren... |
Crypto/Systems/SimpleSubstitutionCipher.cs | TolikPylypchuk/Crypto | 0 | 7058967 | using System;
using System.Linq;
using SimpleSubstitutionKey = Crypto.Key<(string From, string To)>;
namespace Crypto.Systems
{
/// <summary>
/// Represents a simple substitution cipher.
/// </summary>
public class SimpleSubstitutionCipher
: ICryptosystem<(string From, string To)>
{
/// <summary>
/// Init... |
Our.Umbraco.ContentList/Web/ContentListController.cs | lars-erik/Our.Umbraco.ContentList | 3 | 7058968 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Web.Http;
using System.Web.Mvc;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Our.Umbraco.ContentList.DataSources;
using Our.Umbraco.ContentList.DataSources.Listables;
using... |
SSFR_Movies/SSFR_Movies/Helpers/SynchronizationContextRemover.cs | Sergiojoel9877/SSFR_Movies | 2 | 7058969 | using System;
using System.Runtime.CompilerServices;
using System.Threading;
namespace SSFR_Movies.Helpers
{
/// <summary>
/// To avoid the use of ConfigureAwait(false); when a call must not to be awaited in the UI Thread.
/// </summary>
public struct SynchronizationContextRemover : INotifyCompletion
... |
src/Burpless.ReSharper/Tree/GherkinNodeType.cs | burpless/burpless | 0 | 7058970 | using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
namespace Burpless.ReSharper.Tree
{
public static class GherkinNodeType
{
public static readonly CompositeNodeType GherkinFile = new GherkinCompositeNodeType<GherkinFile>("File", 2000);
}
}
|
application/FSS.Omnius.Modules/CORE/Message.cs | simplifate/omnius | 2 | 7058971 | using System;
using System.Collections.Generic;
using System.Linq;
namespace FSS.Omnius.Modules.CORE
{
public class Message
{
private COREobject _core;
private MessageType? _type;
public List<string> Errors { get; set; }
public List<string> Success { get; set; }
public... |
Assets/MagicLeap/Lumin/Bindings/MLMediaPlayerNativeBindings.cs | kedarshashi/UnityTemplate | 0 | 7058975 | <reponame>kedarshashi/UnityTemplate
// %BANNERBEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHTBEGIN%
// <copyright file="MLMediaPlayerNativeBindings.cs" company="Magic Leap">
// Copyright (c) 2018-present, Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed... |
AccelByte.Sdk/Api/Platform/Operation/PaymentConfig/TestXsollaConfig.cs | AccelByte/accelbyte-csharp-sdk | 0 | 7058976 | // Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using System.Net;
using System.IO;
using System.Text.Json;
using AccelByte.Sdk.Api.Platf... |
BubbleShooter/Assets/Client/Source/Gameplay/Mono/BoostIconsHolderMonoLink.cs | VirtualMaestro/BubbleShooter | 2 | 7058977 | <gh_stars>1-10
using Client.Source.Gameplay.Components;
using Leopotam.Ecs;
using StubbUnity.Unity.View;
namespace Client.Source.Gameplay.Mono
{
public class BoostIconsHolderMonoLink : EcsViewLink
{
public override void Initialize()
{
GetEntity().Get<BoostIconsHolderComponent>().Bo... |
Il2Cpp-Modding-Codegen/Data/DllHandling/DllTypeRef.cs | RedBrumbler/Il2Cpp-Modding-Codegen | 18 | 7058978 | using Il2CppModdingCodegen.Serialization;
using Mono.Cecil;
using Mono.Cecil.Rocks;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Il2CppModdingCodegen.Data.DllHandling
{
public class DllTyp... |
Source/MonoGame.Extended/Particles/Profiles/SprayProfile.cs | Measurity/MonoGame.Extended | 1 | 7058980 | using System;
using Microsoft.Xna.Framework;
namespace MonoGame.Extended.Particles.Profiles
{
public class SprayProfile : Profile
{
public Axis Direction { get; set; }
public float Spread { get; set; }
public override void GetOffsetAndHeading(out Vector2 offset, out Axis heading)
... |
History/Website/Anniversary/DAL/Entities/View.cs | mind0n/hive | 5 | 7058981 | <filename>History/Website/Anniversary/DAL/Entities/View.cs
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace DAL.Entities
{
public partial class View : Entity
{
[XmlIgnore]
public List<Category> Categories = new List<Category>();
public void Initialize(Category c = null... |
HLServerMonitor/ServerMonitor.Lib/Network/IWatcher.cs | TuringMac/HLServerMonitor | 0 | 7058982 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ServerMonitor.Lib.Data;
namespace ServerMonitor.Lib.Network
{
public interface IWatcher
{
bool Update(IServer pServer);
}
}
|
main/Boku/TitleScreen/TitleScreen.cs | chrisphillips/KoduGameLab | 11 | 7058983 | <reponame>chrisphillips/KoduGameLab
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;... |
src/Assets/Tower Defense/Scripts/SoundManager.cs | joaokucera/unity-tower-defense | 1 | 7058984 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TowerDefense
{
[AddComponentMenu("TOWER DEFENSE/Sound Manager")]
public class SoundManager : Singleton<SoundManager>
{
private Dictionary<string, AudioClip> m_sfxDictionary;
[Header("Audio Sources")]
[SerializeField] pr... |
Sce.Pss.HighLevel/UI/NinePatchMargin.cs | weimingtom/Sakura | 1 | 7058985 | using System;
namespace Sce.Pss.HighLevel.UI
{
public struct NinePatchMargin
{
public static readonly NinePatchMargin Zero = default(NinePatchMargin);
public int Left;
public int Top;
public int Right;
public int Bottom;
public NinePatchMargin(int left, int top, int right, int bottom)
{
this.Le... |
Source/DigitalRune.Geometry/Partitioning/DelegatePairFilter.cs | Drul1337/DigitalRune | 234 | 7058986 | <filename>Source/DigitalRune.Geometry/Partitioning/DelegatePairFilter.cs
// DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using DigitalRune.Collections;
namespace Digi... |
ViennaAdvantageWeb/ModelLibrary/Model/MAlert.cs | eric-erki/ERP-CMR-DMS | 45 | 7058987 | <reponame>eric-erki/ERP-CMR-DMS<filename>ViennaAdvantageWeb/ModelLibrary/Model/MAlert.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using VAdvantage.DataBase;
using VAdvantage.Logging;
using VAdvantage.Utility;
namespace VAdvantage.Model
{
public class... |
Samples/AdventureWorks/Generated/Nettiers.AdventureWorks.Data/Bases/NetTiersProvider.cs | niemyjski/nettiers | 66 | 7058988 |
#region Using directives
using System;
using System.Collections.Specialized;
using System.Configuration;
using System.Data;
using System.Data.Common;
using System.Configuration.Provider;
using Nettiers.AdventureWorks.Entities;
#endregion
namespace Nettiers.AdventureWorks.Data.Bases
{
///<summary... |
src/WinFormsCommanding/CommandSource.cs | hozuki/WinFormsCommanding | 3 | 7058989 | namespace System.Windows.Forms.Input {
/// <inheritdoc cref="DisposableBase"/>
/// <inheritdoc cref="ICommandSource"/>
/// <summary>
/// Template implementation for <see cref="ICommandSource"/>.
/// </summary>
public abstract class CommandSource : DisposableBase, ICommandSource {
prote... |
ThumbService/ThumbService/lib/MindTouch_Core_10.0.1_Source/src/tools/mindtouch.deki.acconverter/tests/AttachmentTests.cs | ChrisHagan/metl2011 | 1 | 7058990 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.Collections.Specialized;
using System.ComponentModel;
namespace MindTouch.Tools.ConfluenceConverter.tests
{
[TestFixture]
public class AttachmentTests
{
... |
src/web-apis/LetPortal.Versions/Identity/Identity_0_1_0.cs | phucan1108/letportal | 31 | 7058991 | <reponame>phucan1108/letportal<filename>src/web-apis/LetPortal.Versions/Identity/Identity_0_1_0.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using LetPortal.Core.Security;
using LetPortal.Core.Versions;
using LetPortal.Identity;
using LetPortal.Identity.Entities;
using LetPortal.Por... |
src/HiLoSocketTests/SocketApp/TimeoutCheckerTests.cs | SeanLiao7/HiLoSocket | 0 | 7058992 | <gh_stars>0
using System;
using System.Threading;
using HiLoSocket.Logger;
using HiLoSocket.Model;
using HiLoSocket.Model.InternalOnly;
using HiLoSocket.SocketApp;
using NSubstitute;
using NUnit.Framework;
using Ploeh.AutoFixture;
using Shouldly;
namespace HiLoSocketTests.SocketApp
{
[TestFixture]
[Category( ... |
src/UnityEditorExtension/Assets/Plugins/MSPack.Processor/Core/Generator/Formatter/GenericStructImplementorFacade.cs | pCYSl5EDgo/MSPack-Processor | 5 | 7058993 | // Copyright (c) pCYSl5EDgo. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Mono.Cecil;
using MSPack.Processor.Core.Definitions;
using MSPack.Processor.Core.Embed;
using MSPack.Processor.Core.Provider;
namespace MSPack.Processo... |
Server/Types/WeaponInfo.cs | JeffM2501/OmniTanks-Application | 0 | 7058994 | using System;
using System.Collections.Generic;
using System.Text;
using OmniTanks.Components;
namespace Server.Types
{
public class WeaponInfo
{
public int ID = -1;
public virtual string Name { get; } = string.Empty;
public virtual string DisplayName { get; } = string.Empty;
... |
Tannenbaum/Tannenbaum/Form1.cs | RoeHH/blj-oop | 0 | 7058995 | <gh_stars>0
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;
namespace Tannenbaum
{
public partial class Form1 : Form
{
public Form1()
... |
Assets/ThirdParty/StoryVisible/EventCtrl/StoryTweenMoveCtrl.cs | cedar-x/unilua_story | 0 | 7058996 | using UnityEngine;
using System.Collections;
#if UNITY_EDITOR
using UnityEditor;
#endif
using UniLua;
using Hstj;
/// <summary>
/// 设计目的:用于--ITween移动类--事件的调度
/// 设计时间:2015-08-13
/// </summary>
namespace xxstory
{
public class StoryTweenMoveCtrl : StoryBaseCtrl
{
private struct paramInfo
{
... |
src/EifelMono.Blazor.Flow/Flow.For/ForEachContext.cs | EifelMono/EifelMono.Blazor | 1 | 7058997 | namespace EifelMono.Blazor.Flow
{
public class ForEachContext<T>: Base.ComponentContext<ForEach<T>>
{
public ForEachContext(ForEach<T> component, T item, int index): base(component)
{
Item = item;
Index = index;
}
public T Item { get; }
public int... |
ExamPreparation/Numbers/Numbers.cs | yani-valeva/Programming-Fundamentals | 0 | 7058998 | using System;
using System.Collections.Generic;
using System.Linq;
public class Numbers
{
public static void Main()
{
long[] numbers = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
List<long> selectedNumbers = new List<long>();
for (int i = 0; i < numbers.Length; i++)
... |
BVT/Unity.Tests/Unity.Tests/TestDoubles/InjectionConstructorAttribute.cs | drcarver/unity | 1 | 7058999 | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System;
namespace Unity.Tests.TestDoubles
{
[AttributeUsage(AttributeTargets.Constructor)]
public sealed class InjectionConstructorAttribute : Attribute
{
}
}
|
src/SkiaForms.Gtk2/SkiaViewRenderer.cs | siebigteroth/SkiaForms | 3 | 7059000 | using SkiaForms;
using SkiaSharp.Views.Desktop;
using SkiaSharp.Views.Gtk;
using Xamarin.Forms;
using Xamarin.Forms.Platform.GTK;
[assembly: ExportRenderer(typeof(SkiaView), typeof(SkiaForms.Gtk2.SkiaViewRenderer))]
namespace SkiaForms.Gtk2
{
public class SkiaViewRenderer : ViewRenderer<SkiaView, SKWidget>
{... |
BetterUI/GameClasses/CookingStation.cs | FelixReuthlinger/BetterUI | 8 | 7059001 | <filename>BetterUI/GameClasses/CookingStation.cs
using HarmonyLib;
using BetterUI.Patches;
namespace BetterUI.GameClasses
{
[HarmonyPatch]
static class BetterCookingStation
{
[HarmonyPrefix]
[HarmonyPatch(typeof(CookingStation), "GetHoverText")]
private static bool GetHoverText(CookingStation __inst... |
FinancesSharp/Models/FinanceDb.cs | MartinEden/finances-sharp | 0 | 7059002 | using System;
using System.Data.Entity;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Web.Configuration;
using MySql.Data.Entity;
namespace FinancesSharp.Models
{
[DbConfigurationType(typeof(MySqlEFConfiguration))]
public class FinanceDb : DbContext
{
public FinanceDb()... |
Assets/Weapons/Projectile.cs | fezproof/polynova | 0 | 7059003 | <reponame>fezproof/polynova<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Projectile : MonoBehaviour
{
public Color trailColour;
public float damage;
public float damageRadius;
public Rigidbody body;
private float speed = 10;
public float range = 20;
... |
src/prod/test/System.Fabric.Management/unit/FabricDeployer.Validator.Test.cs | gridgentoo/ServiceFabricAzure | 2,542 | 7059004 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Fabric.Fab... |
CSharpPartOne/1. IntroductionProgrammingHomework/05.PrintMyName/PrintMyName.cs | HMNikolova/Telerik_Academy | 0 | 7059005 | <filename>CSharpPartOne/1. IntroductionProgrammingHomework/05.PrintMyName/PrintMyName.cs
/* 5. Print Your Name
* Modify the previous application to print your name.
* Ensure you have named the application well (e.g. “PrintMyName”).
* You should submit a separate project Visual Studio project
* holding the PrintMy... |
DAL/Provider/Interface/IRegisteredAnimalProvider.cs | Vladislav-Lukyanuk/pet-saver-.netCore-backend | 1 | 7059006 | using DAL.Entity;
using System;
using System.Collections.Generic;
namespace DAL.Provider.Interface
{
public interface IRegisteredAnimalProvider
{
IEnumerable<RegisteredAnimal> GetAll(string userId, ushort skip, ushort count);
RegisteredAnimal Get(Guid id);
RegisteredAnimal Add(Registe... |
src/UkooLabs.SVGSharpie/SvgElementVisitor.cs | jakedacatman/SVGSharpie | 9 | 7059007 | namespace UkooLabs.SVGSharpie
{
/// <summary>
/// Represents a visitor that only visits the single <see cref="SvgElement">Node</see> passed into its Visit method.
/// </summary>
public class SvgElementVisitor
{
public virtual void Visit(SvgElement element)
=> element?.Accept(thi... |
FUNDArrayExercises/MagicSum1/Program.cs | tonchevaAleksandra/C-Fundamentals | 2 | 7059008 | using System;
using System.Linq;
namespace MagicSum1
{
class Program
{
static void Main(string[] args)
{
int[] numbers = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToArray();
int magicNum = int.Parse(Console.ReadLine... |
WPF/ColorSelection.xaml.cs | petrsnd/tetrad | 0 | 7059009 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... |
LaraServe/MainForm.Designer.cs | dipu-bd/LaraServe | 1 | 7059011 | namespace LaraServe
{
partial class MainForm : System.Windows.Forms.Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// <... |
CheckEngine/QA/Miscellaneous/QaChecks.cs | US-EPA-CAMD/easey-quartz-scheduler | 0 | 7059012 | <reponame>US-EPA-CAMD/easey-quartz-scheduler<filename>CheckEngine/QA/Miscellaneous/QaChecks.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ECMPS.Checks.CheckEngine;
using ECMPS.Checks.CheckEngine.Definitions;
using ECMPS.Checks.Parameters;
using ECMPS.Checks.TypeUtiliti... |
samples/tokens/src/Contoso.Tokens.Runtime/Composition/Conventions/AggregateConvention.cs | commonsensesoftware/More.Cqrs | 5 | 7059013 | <reponame>commonsensesoftware/More.Cqrs
namespace Contoso.Services.Composition.Conventions
{
using More.ComponentModel;
using More.Domain;
using More.Domain.Events;
using More.Domain.Persistence;
using System;
using System.Diagnostics.Contracts;
using System.Linq;
sealed class Aggregat... |
src/Datadog.Trace.ClrProfiler.Managed/Services/HttpSpanTagsProducer.cs | ksjoberg/dd-trace-dotnet | 0 | 7059014 | using System.Collections.Generic;
using Datadog.Trace.ClrProfiler.Interfaces;
namespace Datadog.Trace.ClrProfiler.Services
{
internal class HttpSpanTagsProducer
{
private HttpSpanTagsProducer()
{
}
public static HttpSpanTagsProducer Instance { get; } = new HttpSpanTagsProducer(... |
titanfall2-rp/updater/WineUpdater.cs | headassbtw/titanfall2-rp | 10 | 7059015 | <gh_stars>1-10
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using AutoUpdaterDotNET;
using log4net;
namespace titanfall2_rp.updater
{
/// ... |
src/WebClient/Program.cs | joaofbantunes/ExploringDistributedTracingWithAspNet | 7 | 7059016 | using OpenTelemetry.Resources;
using OpenTelemetry.Trace;
// not needed, W3C is now default
// System.Diagnostics.Activity.DefaultIdFormat = System.Diagnostics.ActivityIdFormat.W3C;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddLogging(builder => builder.AddSeq());
builder.Services.AddRazorP... |
CertificateManager.Entities/Entities/CertificateModel.cs | corymurphy/CertificateManager | 10 | 7059017 | using CertificateManager.Entities.Enumerations;
using System;
namespace CertificateManager.Entities
{
public class CertificateModel
{
CertificateAuthorityType CertificateAuthorityType { get; set; }
DateTime RequestedOn { get; set; }
DateTime IssuedOn { get; set; }
DateTime Expi... |
DeweyDecimalApp/DataTree.cs | Pensalt/19010230_PROG7312_POE | 1 | 7059018 | <reponame>Pensalt/19010230_PROG7312_POE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeweyDecimalApp
{
public class DataTree<T>
{
public T Data { get; set; }
public DataTree<T> Parent { get; set; }
public ... |
CVGS/Views/Events/Create.cshtml | 4-of-3/cvgs | 1 | 7059019 | @model CVGS.Models.EVENT
@{
ViewBag.Title = "Create Event";
}
<h2>@ViewBag.Title</h2>
<a href="@Url.Action("Index")" class="btn btn-default">
<i class="fa fa-arrow-left"></i>Events
</a>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.DateCreated)
<div class... |
Assets/Scripts/buttonScheneChange.cs | ferko2019/ColorChrasher | 0 | 7059020 | using UnityEngine;
using UnityEngine.SceneManagement;
using System.Collections;
public class buttonScheneChange : MonoBehaviour
{
public void changeScene(int index)
{
SceneManager.LoadScene(index);
}
}
|
src/d60.Cirqus/Testing/Internals/InMemoryEventStore.cs | brettwinters/Cirqus | 0 | 7059021 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using d60.Cirqus.Events;
using d60.Cirqus.Exceptions;
using d60.Cirqus.Extensions;
using d60.Cirqus.Numbers;
namespace d60.Cirqus.Testing.Internals
{
public class InMemoryEventStore : IEventStore, IEnumerable<EventData>
... |
ULogViewer/Converters/MarkColorToBackgroundConverter.cs | carina-studio/ULogViewer | 34 | 7059023 | using Avalonia.Data.Converters;
using Avalonia.Media;
using CarinaStudio.Controls;
using CarinaStudio.ULogViewer.ViewModels;
using System;
using System.Globalization;
namespace CarinaStudio.ULogViewer.Converters
{
/// <summary>
/// Convert from <see cref="MarkColor"/> to <see cref="IBrush"/>.
/// </summar... |
main/Boku/SimWorld/Terra/WaterTile.cs | chrisphillips/KoduGameLab | 11 | 7059024 | <gh_stars>10-100
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#region USING
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Boku.Common;
#endregion USING
namespace... |
Framework/PressPlay.FFWD/GUI/GUILayout.cs | fehaar/FFWD | 20 | 7059025 | <reponame>fehaar/FFWD
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PressPlay.FFWD
{
public class GUILayout
{
private static Rect? currentArea;
public static void BeginArea(Rect rect)
{
if (!currentArea.HasValu... |
settings.cs | rvertwo/AmazonsBestPrice | 2 | 7059026 | using System;
using System.Windows.Forms;
namespace Amazon_s_Best_Prices
{
public partial class settings : Form
{
private bgSetting bgSetting;
public settings()
{
InitializeComponent();
}
private void settings_Load(object sender, EventArgs e)
{
... |
HKX2/Autogen/hkpSimpleMeshShapeTriangle.cs | soulsmods/DSMapStudio | 128 | 7059027 | <filename>HKX2/Autogen/hkpSimpleMeshShapeTriangle.cs<gh_stars>100-1000
using SoulsFormats;
using System.Collections.Generic;
using System.Numerics;
namespace HKX2
{
public partial class hkpSimpleMeshShapeTriangle : IHavokObject
{
public virtual uint Signature { get => 3548854465; }
pub... |
Public/Src/Cache/ContentStore/Interfaces/FileSystem/VolumeInfo.cs | miniksa/BuildXL | 448 | 7059028 | <reponame>miniksa/BuildXL
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Diagnostics.CodeAnalysis;
namespace BuildXL.Cache.ContentStore.Interfaces.FileSystem
{
/// <summary>
/// Information about a storage volume.
/// </summary>
[SuppressMessage("... |
test/Dummy.Api/Startup.cs | pgallik/swagger | 6 | 7059029 | namespace Dummy.Api
{
using System;
using System.Globalization;
using System.Reflection;
using Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Formatters.Json;
using Be.Vlaanderen.Basisregisters.AspNetCore.Swagger;
using Be.Vlaanderen.Basisregisters.AspNetCore.Swagger.ReDoc;
using Microsoft.AspN... |
CMP/CmpServiceLib/Stages/Stage.cs | grazies/Phoenix | 38 | 7059030 | using System;
using System.Diagnostics;
namespace CmpServiceLib.Stages
{
public abstract class Stage
{
public static bool AllQueuesBlocked { get; set; }
public string CmpDbConnectionString { get; set; }
public static bool ContainersSynchronized { get; set; }
public EventLog ... |
src/BGB.InternetBanking.Razor/Pages/Card/Agenda.cshtml | nelson1987/InternetBankingTeste | 0 | 7059031 | @page
@model AgendaModel
@{
ViewData["Title"] = "Relatório de Agendas";
}
<label>@Model.Message</label>
<div class="row">
<div class="col-sm-12" style="">
<ol class="breadcrumb" style="border-bottom: 1px solid #a10017; background-color:white;">
<li class="active page-title">@ViewData["Titl... |
UOCApp/UOCApp/Models/PrivateResult.cs | CrystalP1976/UOCA | 1 | 7059032 | <reponame>CrystalP1976/UOCA
using System;
using System.Collections.Generic;
using System.Text;
using UOCApp.Helpers;
namespace UOCApp.Models
{
public class PrivateResult
{
public PrivateResult(Result input, List<string> missedObstacles)
{
result_id = Convert.ToInt32(input.result_id... |
src/Polly.Contrib.MutableBulkheadPolicy/SemaphoreSlimDynamic.cs | Polly-Contrib/Polly.Contrib.MutableBulkheadPolicy | 4 | 7059033 | // Copyright (c) Microsoft Corporation.
// Licensed under the BSD-3-Clause.
using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
[assembly: InternalsVisibleTo("Polly.Contrib.MutableBulkheadPolicy.Specs")]
namespace Polly.Contrib.MutableBulkheadPolicy
{
/// <s... |
sourceCode/compositewpf/V5/StockTrader RI/Desktop/StockTraderRI.Modules.Position/Orders/OrdersView.xaml.cs | andrewdbond/CompositeWPF | 1 | 7059034 | // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.ComponentModel.Composition;
using System.Windows.Controls;
using StockTraderRI.Modules.Position.Interfaces;
namespace StockTraderRI.Modules.Position.Orders
{
/// <summary>
///... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.