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 |
|---|---|---|---|---|
cofetarie/RComenziClienti.Designer.cs | pir0galol/Sweetshop-v.1 | 0 | 7067996 | <gh_stars>0
namespace cofetarie
{
partial class RComenziClienti
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... |
src/SoapCore.Tests/Wsdl/Services/IStreamService.cs | therealslouchy/SoapCore | 812 | 7067997 | using System;
using System.Collections.Generic;
using System.IO;
using System.ServiceModel;
using System.Text;
namespace SoapCore.Tests.Wsdl.Services
{
[ServiceContract]
public interface IStreamService
{
[OperationContract]
Stream GetStream();
}
public class StreamService : IStreamService
{
public Stream ... |
Work/Source/Sparrow.Chart.Build/Sparrow.Chart.Installer/View/LicenseDialog.xaml.cs | jcw-/sparrowtoolkit | 5 | 7067998 | 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... |
src/ExpectedObjects/AbsolutePathMemberComparison.cs | derekgreer/expectedObjects | 67 | 7067999 | <reponame>derekgreer/expectedObjects<filename>src/ExpectedObjects/AbsolutePathMemberComparison.cs
using System;
namespace ExpectedObjects
{
class AbsolutePathMemberComparison : IMemberComparison
{
readonly Type _rootType;
readonly string _memberPath;
public AbsolutePathMemberCompariso... |
tests/GraphQL.Client.Tests.Common/FluentAssertions.Reactive/RollingReplaySubject.cs | caseymarquis/graphql-client | 0 | 7068000 | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace GraphQL.Client.Tests.Common.FluentAssertions.Reactive
{
/// <summary>
/// Clearable <see cref="ReplaySubject{T}"/> taken from James World: https://stackoverflow.com/a/28945444/4340541
/// <... |
AWSR/Models/LandBaseData.cs | YSRKEN/AWSR | 1 | 7068001 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AWSR.Models
{
class LandBaseData
{
/// <summary>
/// 入力された文字列を大艦隊クラスに変換する
/// </summary>
/// <param name="inputAirBaseText">文字列</param>
/// <returns>大艦隊クラス</returns>
public stati... |
Tests/Unit/LoRaWanTests/HexadecimalTests.cs | Mandur/iotedge-lorawan-starterk | 0 | 7068002 | <filename>Tests/Unit/LoRaWanTests/HexadecimalTests.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace LoRaWan.Tests.Unit.LoRaWanTests
{
using System;
using LoRaWan;
using Xunit;
public clas... |
src-ddd/Sample.Infrastructure/Util/HttpOperator.cs | zhaobingwang/sample | 3 | 7068003 | <reponame>zhaobingwang/sample
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Sample.Infrastructure.Util
{
public class HttpOperator
{
public string url;
public HttpOperator(string url)
{
if (... |
SwtorOptimizer.Database/Database/SwtorOptimizerDatabaseService.cs | Lowxorx/SwtorOptimizer | 1 | 7068004 | using SwtorOptimizer.Business.Database;
using SwtorOptimizer.Business.Entities;
using SwtorOptimizer.Database.Repositories;
namespace SwtorOptimizer.Database.Database
{
public class SwtorOptimizerDatabaseService : ISwtorOptimizerDatabaseService
{
public SwtorOptimizerDatabaseService(string connectionS... |
framework/src/FluentSocket/Impl/DefaultSocketSessionBuilder.cs | cocosip/FluentSocket | 2 | 7068005 | <filename>framework/src/FluentSocket/Impl/DefaultSocketSessionBuilder.cs<gh_stars>1-10
using System;
using System.Net;
namespace FluentSocket
{
public class DefaultSocketSessionBuilder : ISocketSessionBuilder
{
public ISocketSession BuildSession(string sessionId, EndPoint remoteEndPoint, EndPoint loca... |
Json/JSchemaEnumGeneratorEventArgs.cs | BryanApellanes/Bam.Net.Data.Dynamic | 0 | 7068007 | <gh_stars>0
using System;
namespace Bam.Net.Schema.Json
{
public class JSchemaEnumGeneratorEventArgs : EventArgs
{
public JSchemaEnumGeneratorEventArgs(JSchemaEnumGenerator generator)
{
this.Generator = generator;
}
public Exception Exception { get; set; }
pu... |
Core/SubterfugeCore/Core/Entities/Specialists/Effects/EffectDelta.cs | ilost7489/Remake-Core | 27 | 7068008 | using System.Collections;
using SubterfugeCore.Core.Entities.Specialists.Effects.Enums;
using SubterfugeCore.Core.Interfaces;
namespace SubterfugeCore.Core.Entities.Specialists.Effects
{
/// <summary>
/// An effect delta. This is a single addition or subtraction to apply.
/// </summary>
public class E... |
Construktion.Tests/FixieDiscovery.cs | micheleissa/Construktion | 8 | 7068010 | namespace Construktion.Tests
{
using System;
using Fixie;
public class FixieDiscovery : Discovery
{
public FixieDiscovery()
{
Classes
.Where(x => x.Name.EndsWith("Tests") || isBugTest(x));
Methods
.Where(method => method.IsPublic... |
solution/mindi-tests/MinIOC/ContextChainingTests.cs | pleasenophp/mindi | 0 | 7068011 | using System;
using System.Collections.Generic;
using System.Threading;
using NUnit.Framework;
using UnityEngine;
using minioc;
using MinDI.Binders;
namespace MinDI.Tests.MinIOC
{
[TestFixture]
internal class ContextChainingTests
{
interface IContainer {
IAdapter adapter {get;}
}
interface IAdapter ... |
ObjectProcessTool/UI/IDForm.cs | zffp/ObjectProcessTool | 2 | 7068012 | 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 ObjectProcessTool.UI
{
public partial class IDForm : Form
{
public IDForm()
... |
Assets/Scripts/MadCreep/PlayerManager.cs | sgillespie/madcreep | 0 | 7068013 | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using MadCreep.Enemies;
using MadCreep.Player;
namespace MadCreep {
[RequireComponent(typeof(CharacterController))]
public class PlayerManager : MonoBehaviour {
public new Transform camera;
publi... |
RayWrapper/Vars/Circle.cs | SWCreeperKing/RayWrapper | 4 | 7068014 | using System.Numerics;
using Raylib_CsLo;
namespace RayWrapper.Vars;
public struct Circle
{
public static readonly Circle Zero = new(Vector2.Zero, 0);
public Vector2 position;
public float radius;
public Circle(Vector2 position, float radius)
{
this.position = position;
this.rad... |
jni/MonoJavaBridge/android/generated/java/net/URI.cs | beachmiles/androidmono | 40 | 7068015 | <gh_stars>10-100
namespace java.net
{
[global::MonoJavaBridge.JavaClass()]
public sealed partial class URI : java.lang.Object, java.lang.Comparable, java.io.Serializable
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
static URI()
{
InitJNI();
}
internal URI(global::MonoJavaBri... |
Tabula/PageArea.cs | Pepsi1x1/tabula-sharp | 44 | 7068016 | <filename>Tabula/PageArea.cs
using System;
using System.Collections.Generic;
using System.Linq;
using UglyToad.PdfPig;
using UglyToad.PdfPig.Content;
using UglyToad.PdfPig.Core;
namespace Tabula
{
// ported from tabula-java/blob/master/src/main/java/technology/tabula/Page.java
/// <summary>
/// A tabula p... |
SRC/LuaTables.cs | BackupTheBerlios/dotlua-svn | 0 | 7068017 | using System;
using System.Collections.Generic;
using System.Text;
namespace dotLua
{
/// <summary>
/// Contains a container for all tables in a given state.
/// </summary>
public sealed class LuaTables
{
private LuaState state = null;
private LuaTable registry = null;... |
Alexa.NET.APL/JsonConverter/APLGestureListConverter.cs | stoiveyp/Alexa.NET.APL | 7 | 7068019 | <filename>Alexa.NET.APL/JsonConverter/APLGestureListConverter.cs
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Alexa.NET.APL.JsonConverter
{
public class APLGestureListConverter : SingleOrListConverter<APLGesture>
{
public APLGestureListConverter() : this(false) { }
publi... |
Module 2/Chapter 4/Windows/s02/xamformsdependencyservice/xamformsdependencyservice/XamFormsDependencyService.iOS/PlatformiOS.cs | amedhpohad/Xamarin-Cross-Platform-Mobile-Application-Development | 7 | 7068020 | [assembly: Xamarin.Forms.Dependency(typeof(XamFormsDependencyService.iOS.PlatformiOS))]
namespace XamFormsDependencyService.iOS
{
public class PlatformiOS : IPlatform
{
public string GetPlatformDescription()
{
return "iOS";
}
}
}
|
DotNet/DotNet/UE4/Generated/Engine/Native/LevelScriptActor.cs | UE4DotNet/Plugin | 2 | 7068021 | <filename>DotNet/DotNet/UE4/Generated/Engine/Native/LevelScriptActor.cs
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Nati... |
src/UnitTests/UnitTestSportTypeLogic.cs | bartosz-wozniak/ExtremeSports | 0 | 7068022 | using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Threading.Tasks;
using BuisnessLogic;
using DataAccess;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Shared.DtoObjects;
namespace UnitTests
{
[TestClass]
... |
CooQ/Interfaces/INumericCondition.cs | gunivan/cooq | 0 | 7068023 | using CooQ.Types;
using System.ComponentModel;
namespace CooQ.Interfaces
{
public interface INumericCondition
{
[EditorBrowsable(EditorBrowsableState.Never)]
object Left { get; }
[EditorBrowsable(EditorBrowsableState.Never)]
NumericOperator Operator { get; }
[EditorBrowsable(EditorBrowsableS... |
SiriusQuality-WheatLAI/Strategies/LeafExpansionDroughtFactor.cs | SiriusQuality/SiriusQuality-BioMa-WheatPotentialLAI-Component | 1 | 7068024 |
//Author:<NAME> <EMAIL>
//Institution:INRA
//Author of revision:
//Date first release:7/26/2018
//Date of revision:
using System;
using System.Collections.Generic;
using System.Xml;
using System.Linq;
using CRA.ModelLayer.MetadataTypes;
using CRA.ModelLayer.Core;
using CRA.ModelLayer.Strategy;
using System.Ref... |
pluralsight/testingnetcodewithxunitnetgettingstarted/GameEngine/EnemyFactory.cs | flaviogf/Cursos | 2 | 7068025 | using System;
namespace GameEngine
{
public class EnemyFactory
{
public Enemy Create(string name, bool isBoss = false)
{
if (string.IsNullOrWhiteSpace(name))
{
throw new ArgumentNullException(nameof(name));
}
if (!isBoss)
... |
Assets/_scripts/Scoring/VignetteScore.cs | takemurakimio/missing-part-1 | 1 | 7068026 | <filename>Assets/_scripts/Scoring/VignetteScore.cs<gh_stars>1-10
using UnityEngine;
using System.Collections;
[System.Serializable]
public class VignetteScore
{
public bool PassedAlphaThreshold = false;
public float ConfirmingBiasScore;
public float DisconfirmingBiasScore;
public float AmbigiousBiasScore;
public ... |
src/Assistant/Howatworks.Assistant.Core/AssistantMessageHub.cs | johnnysaucepn/SubEtha.Apps | 0 | 7068027 | <filename>src/Assistant/Howatworks.Assistant.Core/AssistantMessageHub.cs
using System;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using Howatworks.Assistant.Core.Messages;
using Howatworks.Assistant.WebSockets;
using Howatworks.SubEtha.Bindings;
using log4net;
... |
src/Genesis/GenesisObjectAttribute.cs | tmcFoxen/genesis | 20 | 7068028 | using System;
using System.Collections.Generic;
using System.Text;
namespace Genesis
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)]
public sealed class GenesisObjectAttribute : Attribute
{
public GenesisObjectAttribute()
{
... |
Scripts/Editor/UI/PropertyDrawers/ColorDrawer.cs | Matodor/mFramework | 0 | 7068029 | //using System;
//using mFramework.UI;
//using UnityEngine;
//using UnityEditor;
//using UnityEngine.Accessibility;
//namespace mFramework.Editor.UI
//{
// [CustomPropertyDrawer(typeof(UIColor))]
// internal class ColorPicker : PropertyDrawer
// {
// private static int s_Slider2Dhash = "Slider2D".GetH... |
RNG/Assets/Scripts/GameController.cs | njager/G390_JagerMeadows_RNG | 0 | 7068030 | <filename>RNG/Assets/Scripts/GameController.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameController : MonoBehaviour
{
//private variables
Rigidbody2D rB;
WaitForSeconds delay = new Wait... |
src/Lykke.Service.PayInternal.Services/WalletManager.cs | NovichikhinAlexey/Lykke.Service.PayInternal | 0 | 7068031 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Common;
using Common.Log;
using JetBrains.Annotations;
using Lykke.Common.Log;
using Lykke.Service.PayInternal.Core;
using Lykke.Service.PayInternal.Core.Domain.Transaction;
using Lykke.Service.PayInternal.Core.Domai... |
Game/Classes/Objects/Structure/Storage/storage.cs | GerardSchornagel/DST | 0 | 7068032 | using System;
/// <summary>
/// DataType representing any number of Section's as a Storage().
/// </summary>
public class storage
{
public section[] arraySection;
public int intStorage;
int intSection;
/// <summary>
/// Get/Adjust the path of the Storage without Initialize() and Load().
//... |
src/lib/iTin.Utilities/iTin.Utilities.Xlsx/iTin.Utilities.Xlsx.Design/Shape/XlsxShape.cs | iAJTin/iXlsxWriter | 1 | 7068033 |
namespace iTin.Utilities.Xlsx.Design.Shape
{
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
using Newtonsoft.Json;
using iTin.Core.Helpers;
using iTin.Core.Models.Design;
using iTin.Core.Models.Design.Enums;
using Shared;
... |
OwaspDemo/Views/SensitiveDataExposureBefore/Index.cshtml | johnkuefler/OwaspDemo | 0 | 7068034 |
@{
ViewData["Title"] = "Register";
}
<div class="alert alert-danger" role="alert">
<h4>Data Exposure</h4>
<ul>
<li>
Sensitive data is exposed during this registration process!
</li>
<li>Check the backend logging and network transfer.</li>
</ul>
</div>
<h1>Register<... |
src/Advanced.Algorithms/Geometry/Shared/DoubleExtensions.cs | SteffenLab/Advanced-Algorithms | 770 | 7068035 | using System;
namespace Advanced.Algorithms.Geometry
{
internal static class DoubleExtensions
{
internal static bool IsLessThan(this double a, double b, double tolerance)
{
return (a - b) < -tolerance;
}
internal static bool IsLessThanOrEqual(this double a, double ... |
trunk/dev/EFC.FileManager/src/EFC.FileManager.Services/Dto/ScheduleInfo.cs | codeno47/efc | 7 | 7068036 | <gh_stars>1-10
using System;
namespace EFC.FileManager.Services.Dto
{
public class ScheduleInfo
{
/// <summary>
/// Gets or sets the unique identifier.
/// </summary>
/// <value>
/// The unique identifier.
/// </value>
public int Id { get; set; }
... |
CMS.Service/ChatMessageService.cs | mehmetakbudak/CMS | 4 | 7068037 | using CMS.Data.Context;
using CMS.Data.Repository;
using CMS.Model.Entity;
using CMS.Model.Enum;
using CMS.Model.Model;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace CMS.Service
{
public interface IChatMessageService
{
... |
Assets/Scripts/DataService.cs | jackld2/Savegame | 0 | 7068038 | using SQLite4Unity3d;
using UnityEngine;
#if !UNITY_EDITOR
using System.Collections;
using System.IO;
#endif
using System.Collections.Generic;
public class DataService
{
private SQLiteConnection _connection;
public DataService(string DatabaseName)
{
#if UNITY_EDITOR
var dbPath ... |
ObjectTransport/Serializer/ISerializer.cs | RhynoVDS/ObjectTransport | 47 | 7068039 | <reponame>RhynoVDS/ObjectTransport
using System;
using System.Collections.Generic;
using System.Text;
namespace OTransport.Serializer
{
public interface ISerializer
{
string Serialize(object obj);
object Deserialize(string objectPayload, Type objectType);
}
}
|
Assets/MackySoft/MackySoft.UniData/External/UniRx/Runtime/GeneralReactiveData.cs | mackysoft/UniData | 1 | 7068040 | <filename>Assets/MackySoft/MackySoft.UniData/External/UniRx/Runtime/GeneralReactiveData.cs
#if UNIDATA_UNIRX_SUPPORT
using System;
using UnityEngine;
namespace MackySoft.UniData.UniRx.Data.General {
internal static class ReactiveGeneralData {
public const string k_Path = "General (Reactive)/";
public const int... |
TMTransportDotNet/RedisChain.cs | cd606/tm_transport | 1 | 7068041 | using System;
using Here;
using StackExchange.Redis;
using PeterO.Cbor;
using Dev.CD606.TM.Basic;
namespace Dev.CD606.TM.Transport
{
public class RedisSharedChainConfiguration
{
public string redisServerAddr {get; set;}
public string headKey {get; set;}
public string chainPrefix {get; ... |
midExamProblems/experienceGaining/Program.cs | drinoff/C-Fundamentals | 1 | 7068042 | using System;
namespace experienceGaining
{
class Program
{
static void Main(string[] args)
{
var experience = double.Parse(Console.ReadLine());
var battles = int.Parse(Console.ReadLine());
var totalXP = 0.0;
for (int i = 1; i <= battles; i++)
... |
Tools/CSBuild/Build/MSBuildLog.cs | git-thinh/CSharpTest.Net-source-v2.12.810.409 | 0 | 7068043 | #region Copyright 2010-2012 by <NAME>, Licensed under the Apache License, Version 2.0
/* 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
* ... |
VideoRentalSystem/VideoRentalSystem/Commands/LoadCommands/LoadFilmGenresFromJSON.cs | TripleBounty/VideoRentalSystem | 3 | 7068044 | <filename>VideoRentalSystem/VideoRentalSystem/Commands/LoadCommands/LoadFilmGenresFromJSON.cs
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.IO;
using VideoRentalSystem.Commands.Contracts;
using VideoRentalSystem.Data.Contracts;
using VideoRentalSystem.Models.Factories;
namespace VideoRent... |
src/Softeq.NetKit.Notifications.Web.Tests/UnitTests/PushNotificationSubscriptionControllerTests.cs | Softeq/NetKit.Notification | 0 | 7068045 | // Developed by Softeq Development Corporation
// http://www.softeq.com
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Moq;
using Softeq.NetKit.Notifications.Domain.Models.PushNotification;
using Softeq.NetKit.Notifications.Service.Abstract;
using Softeq.NetKit... |
src/Tbs.Core/DomainServices/RouteTypeCache.cs | jiangyimin/Tbs | 0 | 7068046 | using Abp;
using Abp.Domain.Repositories;
using Abp.Events.Bus.Entities;
using Abp.Events.Bus.Handlers;
using Abp.Runtime.Caching;
using Abp.Runtime.Session;
using Tbs.DomainModels;
namespace Tbs.DomainServices
{
public class RouteTypeCache : IRouteTypeCache, IEventHandler<EntityChangedEventData<RouteType>>
{
... |
Examples/CSharp/ModifyingAndConvertingImages/CroppingWMFfileWhileConvertingtoPNG.cs | aspose-imaging/Aspose.Imaging-for-.NET | 24 | 7068047 | using Aspose.Imaging;
using Aspose.Imaging.Examples.CSharp;
using Aspose.Imaging.FileFormats.Wmf;
using Aspose.Imaging.ImageOptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharp.ModifyingAndConvertingImages
{
class CroppingWMFFileWhileConverting... |
Replicate/MetaData/Collections/RepSet.cs | alex-sherman/Replicate | 2 | 7068048 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Replicate.MetaData
{
public class RepSet<T> : IEnumerable<KeyValuePair<RepKey, T>> where T : class
{
readonly Dictionary<string, KeyValuePair<RepKey, ... |
src/TaskRunners/Ahk.TaskRunner.Docker/DockerObjectModel/DockerObjectBase.cs | akosdudas/ahk-cli | 0 | 7068049 | <filename>src/TaskRunners/Ahk.TaskRunner.Docker/DockerObjectModel/DockerObjectBase.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Ahk.TaskRunner
{
internal abstract class DockerObjectBase : IAsyncDisposable
{
public const s... |
Framework/GenericUdoDeserializer.cs | laukiet78/SAPB1-C-SHARP | 11 | 7068050 | <reponame>laukiet78/SAPB1-C-SHARP<filename>Framework/GenericUdoDeserializer.cs
// <copyright filename="GenericUdoDeserializer.cs" project="Framework">
// This file is licensed to you under the MIT License.
// Full license in the project root.
// </copyright>
using System;
using System.Collections.Generic;
using Sy... |
src/PFire.Console/Services/PFireServerService.cs | celluj34/PFire | 38 | 7068051 | <reponame>celluj34/PFire<filename>src/PFire.Console/Services/PFireServerService.cs<gh_stars>10-100
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using PFire.Core;
namespace PFire.Console.Services
{
internal class PFireServerService : IHostedService
{
private... |
NngSharp/Sockets/ProtocolType.cs | D0tNet4Fun/NngSharp | 1 | 7068052 | namespace NngSharp.Sockets
{
public enum ProtocolType
{
None,
Pair0 = 16,
Pair1 = 17,
Publish = 32,
Subscribe = 33,
Push = 80,
Pull = 81,
Request = 48,
Reply = 49,
Survey = 98,
Respondent = 99,
Bus = ... |
aspnet-core/src/MonitorV.Application/MonitorVApplicationModule.cs | Bishoymly/MonitorV | 0 | 7068053 | using Abp.AutoMapper;
using Abp.Modules;
using Abp.Reflection.Extensions;
using MonitorV.Authorization;
namespace MonitorV
{
[DependsOn(
typeof(MonitorVCoreModule),
typeof(AbpAutoMapperModule))]
public class MonitorVApplicationModule : AbpModule
{
public override void PreInitializ... |
projects/DirectoryWatcherSample/DirectoryWatcherSample.Core/BatchedEvents.cs | brian-dot-net/writeasync | 7 | 7068054 | <reponame>brian-dot-net/writeasync
// <copyright file="BatchedEvents.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace DirectoryWatcherSample
{
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
public sealed class BatchedEvent... |
Iko/Utils/NettExtensions.cs | shrayasr/Iko | 13 | 7068055 | using Nett;
namespace Iko.Utils
{
public static class NettExtensions
{
public static bool TryGetValue<T>(this TomlTable instance, string key, out T value)
{
if (instance.TryGetValue(key, out TomlObject obj))
{
value = obj.Get<T>();
return... |
CodingSeb.Converters.Tests/ExpressionEvalConverterTests.cs | codingseb/Converters | 0 | 7068056 | using NUnit.Framework;
using Shouldly;
using System;
using System.Collections.Generic;
namespace CodingSeb.Converters.Tests
{
[TestFixture]
public class ExpressionEvalConverterTests
{
[Test]
public void BooleanValuesExpressionEval()
{
ExpressionEvalConverter converter =... |
src/ScSyncr.Console/ConsoleOutputWriter.cs | epignosisx/scsyncr | 0 | 7068058 | <reponame>epignosisx/scsyncr
namespace ScSyncr.Console
{
public class ConsoleOutputWriter : IOutputWriter
{
public void Write(string message, params object[] args)
{
System.Console.Write(message, args);
}
public void Dispose()
{
}
}
} |
PlayerMovement_StarterPack/RoatationController.cs | gurankas/Unity--3D_PlayerMovement_Starter_Pack | 1 | 7068059 | using UnityEngine;
public class RoatationController : MonoBehaviour
{
[SerializeField]
private float _rotationSpeed = 2.25f;
private void Update()
{
var xMouseInput = Input.GetAxis("Mouse X");
Cursor.lockState = CursorLockMode.Locked;
transform.Rotate(0f, xMouseInput * _rotati... |
src/Verify.Blazor/ComponentInfo.cs | VerifyTests/Verify.Blazor | 17 | 7068060 | using Microsoft.AspNetCore.Components;
class ComponentInfo
{
public ComponentBase Instance { get; }
public string Bytes { get; }
public ComponentInfo(ComponentBase instance, string bytes)
{
Instance = instance;
Bytes = bytes;
}
} |
ENet.Managed/ENetHost.cs | Edge360Corp/ENet.Managed | 0 | 7068062 | using System;
using System.Collections.Generic;
using System.Threading;
using System.Runtime.InteropServices;
using System.Net;
using System.IO.Compression;
using ENet.Managed.Platforms;
using Native = ENet.Managed.Structures;
using ByteArrayPool = System.Buffers.ArrayPool<byte>;
namespace ENet.Managed
{
public u... |
UnityWeld_Editor/NavigationPageViewModelEditor.cs | enrico-bottani/Unity-WeldUI-Core | 0 | 7068063 | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using UnityWeld.Binding.Exceptions;
using UnityWeld.Binding.Internal;
using UnityWeld.UI;
using UnityWeld.UI.Messaging.Dispatcher;
using UnityWeld.UI.Paging;
namespace... |
EliteAPI/Event/Models/Other/ModuleInfoEvent.cs | Envisitor/EliteAPI | 83 | 7068064 | using System;
using EliteAPI.Event.Models;
using EliteAPI.Event.Models.Abstractions;
using ProtoBuf;
namespace EliteAPI.Event.Models
{
[ProtoContract(ImplicitFields = ImplicitFields.AllPublic)]
public class ModuleInfoEvent : EventBase<ModuleInfoEvent>
{
internal ModuleInfoEvent() { }
}
}
n... |
MyWasteGame.DAL/DataServices/Database/BaseOfflineDataService.cs | binwell-university/berserks | 0 | 7068065 | <reponame>binwell-university/berserks
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using MyWasteGame.DAL.DataObjects;
namespace MyWasteGame.DAL.DataServices.Database {
public class BaseOff... |
PhotoViewer/Model/ExifParser.cs | Knleon/PhotoExifViewer | 0 | 7068066 | <filename>PhotoViewer/Model/ExifParser.cs
using Microsoft.WindowsAPICodePack.Shell;
namespace PhotoViewer.Model
{
public static class ExifParser
{
/// <summary>
/// ファイルプロパティを取得するメソッド
/// </summary>
public static void SetFileProperty(PictureMediaContent _pictureContent... |
SoftLogic.Core/Win/UI/Form/Support/FormsSupport.cs | okyereadugyamfi/softlogik | 0 | 7068067 | <filename>SoftLogic.Core/Win/UI/Form/Support/FormsSupport.cs<gh_stars>0
using System.Text.RegularExpressions;
using System.Diagnostics;
using System;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
using System.Collections;
using System.Drawing;
using Microsoft.VisualBasic;
using System.Data.SqlClient;
usin... |
SpookyHashTesting/HashTests.cs | XEonAX/SpookilySharpPure | 0 | 7068068 | // Test.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// © 2014–2017 <NAME>
//
// Licensed under the MIT license. See the LICENSE file in the repository root for more details.
// Based on Bob Jenkins’ tests.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using S... |
RMS/DAOInterface/IAllAdministrativeEvents.cs | Andrei15193/ProiectColectiv | 0 | 7068069 | <gh_stars>0
using ResourceManagementSystem.BusinessLogic.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ResourceManagementSystem.DAOInterface
{
public interface IAllAdministrativeActivities
{
IEnumerable<Administ... |
BlizzardApiReader.WorldOfWarcraft/Models/PetAbility.cs | pointed-GG/BlizzardApiReader | 34 | 7068070 | namespace BlizzardApiReader.WorldOfWarcraft.Models {
public class PetAbility
{
public int Id { get; set; }
public string Name { get; set; }
public string Icon { get; set; }
public int Cooldown { get; set; }
public int Rounds { get; set; }
public int PetTypeId { get; set; }
public bool IsPas... |
AppDigitalCv/AppDigitalCv/ViewModels/ProductividadInnovadoraVM.cs | FazurP/DigitalCv | 1 | 7068071 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AppDigitalCv.ViewModels
{
public class ProductividadInnovadoraVM
{
public int id { get; set; }
public int idPais { get; set; }
public int idDocumento { get; set; }
public DocumentosVM... |
Models/CommandInfo.cs | Chianne1025/QQChannelFramework | 71 | 7068072 | using System;
using System.Collections.Generic;
namespace QQChannelFramework.Models
{
/// <summary>
/// 指令信息
/// </summary>
public struct CommandInfo
{
/// <summary>
/// 指令
/// </summary>
public string Key { get; set; }
/// <summary>
/// 指令参数
... |
SlackerNews/NewsFetcher/Program.cs | TheRealJZ/slackernews | 5 | 7068073 | <gh_stars>1-10
using RestSharp;
using System;
using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common;
using NewsFetcher.ApiResponseObjects;
using System.Net;
using NewsFetcher.Apis;
using NewsFetcher.Newsletter;
using MailChimp;
us... |
GISShare.Controls.WinForm/WFNew/DockPanel/DockButtonManager/DockButtonManagerForm.cs | llzzhh/GISShare.Controls.WinForm | 6 | 7068074 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace GISShare.Controls.WinForm.WFNew.DockPanel
{
sealed class DockButtonManagerForm : BaseItemForm, WFNew.IOwner, WFNew.IBaseItem... |
code/Util/ModifiableDamageInfo.cs | eggroll-bot/boxed-rp | 0 | 7068076 | using Sandbox;
namespace ChetoRp
{
/// <summary>
/// A class that holds a DamageInfo struct.
/// </summary>
public class ModifiableDamageInfo
{
/// <summary>
/// The <see cref="DamageInfo"/>.
/// </summary>
public DamageInfo DamageInfo { get; set; }
}
}
|
FilterPolishZ/ModuleWindows/Converters/BrushColorChaosValueConverter.cs | KOSAdm684/FilterPolishZ | 16 | 7068077 | <filename>FilterPolishZ/ModuleWindows/Converters/BrushColorChaosValueConverter.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using System.Windows.Media;
namespace FilterPolishZ.ModuleWindows... |
Sources/MpcNET/Types/MpdBinaryData.cs | ZetaKebab/MpcNET | 3 | 7068078 | <filename>Sources/MpcNET/Types/MpdBinaryData.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace MpcNET.Types
{
/// <summary>
///
/// </summary>
public class MpdBinaryData
{
/// <summary>
/// Initializes a new instance of the <see cref="Mp... |
src2/Abplus.MqMessages.IndexToES/IndexFreq.cs | kaobeixingfu/abplus | 179 | 7068081 | namespace Abp
{
/// <summary>
/// 定义创建索引的频率
/// </summary>
public enum IndexFreq
{
/// <summary>
/// 每天一个索引
/// </summary>
PerDay = 0,
/// <summary>
/// 每月一个索引
/// </summary>
PerMonth = 1,
/// <summary>
/// 每年一个索引
... |
TCC.Core/ViewModels/ClassManagers/ArcherBarManager.cs | sarisia/Tera-custom-cooldowns | 0 | 7068082 | using TCC.Data;
using TCC.Data.Databases;
namespace TCC.ViewModels
{
public class ArcherBarManager : ClassManager
{
private ArcherFocusTracker _focus;
private StanceTracker<ArcherStance> _stance;
private FixedSkillCooldown _thunderbolt;
public ArcherFocusTracker Focus
... |
Sitecore.Computer.Vision.CroppingImageField/Constants.cs | MiguelMinoldo/sitecore.computer.vision | 1 | 7068083 | namespace Sitecore.Computer.Vision.CroppingImageField
{
public struct Constants
{
public struct QueryStringKeys
{
public const string SmartCropping = "smartCropping";
}
public struct Separators
{
public const string AltSeparator = "{#AUTOALT#}";
... |
src/Stact/Channels/InstanceChannel.cs | base31/Stact | 71 | 7068084 | // Copyright 2010 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... |
PureLogic/PureLogic/One.cs | sergey-shandar/purelogic | 2 | 7068085 | using System.Linq;
namespace PureLogic
{
public sealed class One: Reduce<Void>
{
private One() { }
public static readonly One Value = new One();
public override R Accept<R>(IVisitor<R> visitor) => visitor.Visit(this);
}
public static class OneX
{
public static Ba... |
cs/cs_unittest_nofriend/TestSerializer.cs | bclow/vowpal_wabbit | 4,332 | 7068086 | <filename>cs/cs_unittest_nofriend/TestSerializer.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VW.Serializer.Attributes;
using VW;
namespace cs_unittest_nofriend
{
class PrivateClass
{
[Feature]
public int A { get; set; }
}
[TestClass]
public class Tes... |
src/PEFile/Corflags.cs | sandyarmstrong/MetadataTools | 152 | 7068087 | <gh_stars>100-1000
using System.IO;
using System.Reflection.PortableExecutable;
using Mono.Cecil;
namespace PEFile
{
public class Corflags
{
public static void Set32BitPreferred(string filePath, bool prefer32Bit)
{
using (var module = ModuleDefinition.ReadModule(filePath,... |
src/Cms.Monitoring.Agent/Models/BandwidthStatisticsModel.cs | jasonneurohr/Cms.Monitoring | 1 | 7068088 | using System;
using System.Collections.Generic;
using System.Text;
namespace Cms.Monitoring.Agent.Models
{
class BandwidthStatisticsModel
{
public int Id { get; set; }
public string CmsId { get; set; }
public int Timestamp { get; set; }
public int AudioBitRateOutgoing { get; se... |
src/GitHubRelease.Tool/Commands/Releases/ReleaseCommand.cs | KatoStoelen/GitHubRelease | 1 | 7068089 | using System.CommandLine;
using GitHubRelease.Tool.Commands.Releases.Create;
using GitHubRelease.Tool.Commands.Releases.Delete;
using GitHubRelease.Tool.Commands.Releases.Get;
using GitHubRelease.Tool.Commands.Releases.Update;
namespace GitHubRelease.Tool.Commands.Releases
{
internal class ReleaseCommand :... |
src/Services/NotificationService.cs | kira-96/dicom-toolkit | 16 | 7068090 | <reponame>kira-96/dicom-toolkit<gh_stars>10-100
using System;
using System.Threading;
using System.Threading.Tasks;
using Hardcodet.Wpf.TaskbarNotification;
using SimpleDICOMToolkit.Controls;
namespace SimpleDICOMToolkit.Services
{
public class NotificationService : INotificationService
{
public bool ... |
MainWindow.xaml.cs | retifrav/queriesRAMconsumption | 0 | 7068091 | <reponame>retifrav/queriesRAMconsumption
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Wi... |
Billing/OrderPlacedHandler.cs | sergione/SagaCourse | 0 | 7068092 | namespace Billing
{
using System;
using Contracts;
using NServiceBus;
using Sales.Contracts;
public class OrderPlacedHandler : IHandleMessages<OrderPlaced>
{
public IBus Bus { get; set; }
public void Handle(OrderPlaced message)
{
Bus.Publish(new ... |
Balder/Pipes/IGenericPropertyMultiEdge/MultiEdgeEdgesPipe.cs | Vanaheimr/Balder | 10 | 7068093 | /*
* Copyright (c) 2010-2015, Achim 'ahzf' Friedland <<EMAIL>>
* This file is part of Balder <http://www.github.com/Vanaheimr/Balder>
*
* 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
*... |
src/Orchard.Web/Modules/CloudBust.Application/Permissions.cs | doticca/Orchard.CloudBust | 1 | 7068094 | using System.Collections.Generic;
using Orchard.Environment.Extensions.Models;
using Orchard.Security.Permissions;
namespace CloudBust.Application {
public class Permissions : IPermissionProvider {
public static readonly Permission ManageApps = new Permission { Description = "Manage apps for others", Name... |
tests/BooCompiler.Tests/Ast/ReferenceExpressionTestFixture.cs | popcatalin81/boo | 479 | 7068095 | using System;
using NUnit.Framework;
using Boo.Lang.Compiler.Ast;
namespace BooCompiler.Tests.Ast
{
[TestFixture]
public class ReferenceExpressionTestFixture
{
[Test]
public void LiftSimpleNameString()
{
AstAssert.Matches(
new ReferenceExpression("Foo"),
ReferenceExpression.Lift("Foo... |
src/BlazorNumericTextBox/NumericTextBoxDefaults.cs | pablopioli/blazornumerictextbox | 8 | 7068096 | <gh_stars>1-10
using System.Globalization;
namespace BlazorNumericTextBox
{
public class NumericTextBoxDefaults
{
public static bool SelectOnEntry { get; set; }
public static int MaxLength { get; set; } = 12;
public static CultureInfo Culture { get; set; } = new CultureInfo("en-US");
... |
SqExpress/SqQueryBuilderExtensions.cs | 0x1000000/SqExpress | 68 | 7068097 | <filename>SqExpress/SqQueryBuilderExtensions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using SqExpress.QueryBuilders;
using SqExpress.QueryBuilders.Select;
using SqExpress.StatementSyntax;
using SqExpress.Syntax.Boolean;
using SqExpress.Syntax.Boolean.Predicate;
using SqExpress.Syntax.Names... |
src/Cofoundry.Samples.SimpleSite/Views/Shared/NotFound.cshtml | mkelly123/Cofoundry.Samples.SimpleSite | 29 | 7068098 | <gh_stars>10-100
@model INotFoundPageViewModel
@{
var title = "A Custom 404 Page";
ViewBag.Title = title;
}
<div class="container">
<div class="row content-block">
<div class="col-sm-12">
<h1>@title</h1>
</div>
</div>
<div class="row content-block">
<div clas... |
src/ResourceManager/Batch/Commands.Batch.Test/Tasks/GetBatchTaskCommandTests.cs | Nilambari/azure-powershell | 0 | 7068099 | <gh_stars>0
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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
... |
MarketAPI/MarketAPI/Data/CatalogContext.cs | Adik3945/Market | 0 | 7068100 | using System;
using System.Collections.Generic;
using MarketAPI.Models;
using MarketAPI.Models.Furniture;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace MarketAPI.Data
{
/*public class CatalogContext : DbContext
{
public DbSet<Chair> Chairs { get; set; ... |
test/Qwiq.Mocks/MockWorkItemLinkTypeEnd.cs | rjmurillo/Qwiq | 0 | 7068102 | <reponame>rjmurillo/Qwiq
using System;
namespace Qwiq.Mocks
{
public class MockWorkItemLinkTypeEnd : WorkItemLinkTypeEnd, IIdentifiable<int>
{
public MockWorkItemLinkTypeEnd(IWorkItemLinkType linkType, string name, bool isForward, int id = 0)
: base(GetValue(linkType, isForward))
{
... |
src/King.David.Consulting.Travel/Features/States/StatesController.cs | kdcllc/AspNetCore1_Jwt_Angular2_TravelApp | 2 | 7068103 | <filename>src/King.David.Consulting.Travel/Features/States/StatesController.cs
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Mvc;
namespace King.David.Consulting.Travel.Web.Features.States
{
public class StatesController : Controller
{
private IMediator _mediator;
p... |
Assets/Scene/Egg/CharacterManager.cs | DinoSino/dinoandsino | 0 | 7068104 | <reponame>DinoSino/dinoandsino<filename>Assets/Scene/Egg/CharacterManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharacterManager : MonoBehaviour
{
public List<GameObject> SearchSelectionObj()
{
List<GameObject> result = new List<GameO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.