max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/LibreLancer.Base/Text/RichTextEngine.cs | Regenhardt/Librelancer | 270 | 7038866 | <reponame>Regenhardt/Librelancer
// MIT License - Copyright (c) <NAME>
// This file is subject to the terms and conditions defined in
// LICENSE, which is part of this source code package
using System;
using System.Collections.Generic;
namespace LibreLancer
{
public abstract class RichTextEngine : IDisposable
... |
src/Hashgraph/Client.cs | queilawithaQ/Hashgraph | 32 | 7038867 | using Hashgraph.Implementation;
using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
[assembly: InternalsVisibleTo("Hashgraph.Test")]
namespace Hashgraph
{
/// <summary>
/// Hedera Network Client
/// </summary>
/// <remarks>
/// This component facilitates ... |
Controllers/v1/RestaurantListingController.cs | SamLad2015/BmaTest | 0 | 7038868 | using System;
using System.Linq;
using AutoMapper;
using BmaTestApi.Dtos;
using Microsoft.AspNetCore.JsonPatch;
using Microsoft.AspNetCore.Mvc;
using BmaTestApi.Repositories;
using System.Collections.Generic;
using BmaTestApi.Entities;
using BmaTestApi.Models;
using BmaTestApi.Helpers;
using BmaTestApi.Services;
name... |
MiniECS/MiniECS/EntityBuilder.cs | wtu-sos/MiniECS | 0 | 7038869 | using System;
using System.Collections.Generic;
namespace ECS
{
public class EntityBuilder
{
public static EntityBuilder Default = new EntityBuilder();
public EntityBuilder AddComponent<T>(T t) where T: struct
{
return this;
}
public void Build(World world... |
Src/TygaSoft/Model/AutoCode/CustomerInfo.cs | ranran1997/Wms | 1 | 7038870 | <reponame>ranran1997/Wms
using System;
namespace TygaSoft.Model
{
[Serializable]
public partial class CustomerInfo
{
public CustomerInfo() { }
public CustomerInfo(Guid id, Guid userId, string coded, string named, string shortName, string contactMan, string email, string phone, st... |
statisticProject/Treat.cs | BobCitron/BushidoApp | 0 | 7038871 | <reponame>BobCitron/BushidoApp
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace statistics {
public class Treat {
// Name of the treat
public string Name { get; set; }
// If "Has" is set to true, the profile has ... |
Task/TaskAddHost.cs | Luisginan/as-automator | 1 | 7038872 | <gh_stars>1-10
using AS_Utility;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace AS_Automator.Task
{
public class TaskAddHost : AsTask
{
public List<String> ListHost { get; set; }
public over... |
src/SolarEdge.Monitoring.Demo/Extensions/DateTimeExtensions.cs | matjazbravc/matjazbravc-SolarEdge.Monitoring.Demo | 1 | 7038873 | <reponame>matjazbravc/matjazbravc-SolarEdge.Monitoring.Demo<filename>src/SolarEdge.Monitoring.Demo/Extensions/DateTimeExtensions.cs
using System;
using System.Collections.Generic;
using System.Globalization;
namespace SolarEdge.Monitoring.Demo.Extensions
{
public static class DateTimeExtensions
{
public static IE... |
src/SKIT.FlurlHttpClient.Wechat.Api/Models/Wxa/RiskControl/WxaGetUserRiskRankRequest.cs | OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat | 0 | 7038874 | namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxa/getuserriskrank 接口的请求。</para>
/// </summary>
public class WxaGetUserRiskRankRequest : WechatApiRequest, IInferable<WxaGetUserRiskRankRequest, WxaGetUserRiskRankResponse>
{
/// <summary>
/// 获取或... |
Grasews.Infra.Data.EF.SqlServer/Contexts/GrasewsContext.cs | mlcalache/grasews | 0 | 7038875 | <filename>Grasews.Infra.Data.EF.SqlServer/Contexts/GrasewsContext.cs
using Grasews.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Core.EntityClient;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.ModelConfiguration;
using System.Dat... |
Information Center - SDK/[.NET3.5CF]/InformationCenterSDK/IC.SDK/Helpers/Utils.cs | xEvilDevilx/The-Information-Center | 1 | 7038876 | <filename>Information Center - SDK/[.NET3.5CF]/InformationCenterSDK/IC.SDK/Helpers/Utils.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Threading;
using IC.SDK.Bas... |
Source/Core/Physics/Common/Decomposition/Seidel/XNode.cs | ilexp/duality | 1,338 | 7038877 | <reponame>ilexp/duality
namespace FarseerPhysics.Common.Decomposition.Seidel
{
internal class XNode : Node
{
private Point _point;
public XNode(Point point, Node lChild, Node rChild)
: base(lChild, rChild)
{
this._point = point;
}
public override Sink Locate(Edge edge)
{
if (edge.P.X >= this._... |
Assets/Scripts/PlayerNameInputField.cs | WiSeoungHwan/PhotonTest | 0 | 7038878 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Photon.Pun;
using Photon.Realtime;
namespace Com.MyCompany.MyGame
{
/// <summary>
/// Player name input field. Let the user input his name, will appear above the player in the game.null
/// </summa... |
src/Wangkanai.Detection.Crawler/Crawler.cs | Rachit43/Detection | 1 | 7038879 | // Copyright (c) 2018 <NAME>, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
namespace Wangkanai.Detection
{
public class Crawler : ICrawler
{
public string Name { get; set; }
public CrawlerType Type { get; set; }
publ... |
Shop.Web/Models/Home/HomeIndexModel.cs | bugdaryan/ShoppingCart | 53 | 7038880 | using Shop.Web.Models.Food;
using System.Collections.Generic;
namespace Shop.Web.Models.Home
{
public class HomeIndexModel
{
public string SearchQuery { get; set; }
public IEnumerable<FoodListingModel> FoodsList { get; set; }
}
}
|
src/FasTnT.Formatters.Json/QueryStringParameterParser.cs | louisaxel-ambroise/epcis-1 | 0 | 7038881 | <filename>src/FasTnT.Formatters.Json/QueryStringParameterParser.cs
using FasTnT.Model.Queries;
using System.Collections.Generic;
using System.Linq;
namespace FasTnT.Formatters.Json
{
public static class QueryStringParameterParser
{
public static IEnumerable<QueryParameter> ParseQueryString(string quer... |
Warcraft/Map/Noise2D.cs | paulomenezes/warcraft-c- | 4 | 7038882 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Warcraft.Map
{
public static class Noise2D
{
private static Random _random = new Random();
privat... |
tests/Test.ADAL.Common/AuthenticationResultProxy.cs | AArnott/azure-activedirectory-library-for-dotnet | 2 | 7038883 | //----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... |
Assets/Motherships/Scripts/Movement_Rotation/LerpedSideEngine.cs | Laharnar/MothershipBulletHell | 0 | 7038884 |
using UnityEngine;
public class LerpedSideEngine : SideEngine {
public float mobility = 25.0f;//mobility in 360 degrees per mobility seconds
public UpdateQueue linkedUpdate;
public bool restrictRotation { get; set; }
Vector3 targetPosition;
void Start() {
linkedUpdate.updateList[1] = S... |
labs/Lab_28_enums/Program.cs | spartakyro/2019-06-c-sharp-labs | 0 | 7038885 | <gh_stars>0
using System;
namespace Lab_28_enums
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(fruit.banana);
Console.WriteLine(fruit.apple);
Console.WriteLine(fruit.pear);
Console.WriteLine(fruit.notfruit);
... |
MyStarterApp.Services/Services/Base64StringCryptographyService.cs | honouseki/MyStarterApp | 0 | 7038886 | <reponame>honouseki/MyStarterApp
using MyStarterApp.Services.Cryptography;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using System.Web.Security;
namespace MyStarterApp.Services.Services
{
public class Base... |
test/AElf.Kernel.SmartContract.Tests/Infrastructure/SmartContractRunnerContainerTests.cs | zhangyaxing12/AElf | 948 | 7038887 | using System;
using System.Threading.Tasks;
using Moq;
using Org.BouncyCastle.Security;
using Shouldly;
using Xunit;
namespace AElf.Kernel.SmartContract.Infrastructure
{
public class SmartContractRunnerContainerTests : SmartContractRunnerTestBase
{
private readonly SmartContractRunnerContainer _smartCo... |
Code/Websites/DanpheEMR/Services/LIS/LISService.cs | MenkaChaugule/hospital-management-emr | 1 | 7038888 | using DanpheEMR.Core.Configuration;
using DanpheEMR.DalLayer;
using DanpheEMR.Enums;
using DanpheEMR.ServerModel;
using DanpheEMR.Utilities;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
usin... |
OkamiBushi/Assets/Scripts/StatisticsScripts/EnemyStats.cs | rndmized/OkamiBushi | 1 | 7038889 | <reponame>rndmized/OkamiBushi<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyStats : CharacterStats {
// Overriding die method
public override void Die()
{
base.Die();
// Call death animation
Animator anim = GetCompone... |
XForm/XForm/IO/TabularFileReader.cs | mattk09/elfie-arriba | 20 | 7038890 | <filename>XForm/XForm/IO/TabularFileReader.cs
// 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.Collections.Generic;
using System.Threading;
using Microsoft.CodeAnalysis.Elfie.Model.Strings... |
CandyFramework.Core/Concrete/Core/DbLogger.cs | fatihgurdal/CandyFramework | 7 | 7038891 | using CandyFramework.Core.Interface.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CandyFramework.Core.Enum;
using System.Data.SqlClient;
namespace CandyFramework.Core.Concrete.Core
{
public class DbLogger : ILogger
{
pub... |
TVTComment/Model/Utils/SimpleCsvReader.cs | noriokun4649/TVTComment | 22 | 7038892 | <gh_stars>10-100
using System.IO;
namespace TVTComment.Model.Utils
{
static class SimpleCsvReader
{
public delegate bool ReadByLineEventHandler(string[] columns);
public static void ReadByLine(StreamReader reader, ReadByLineEventHandler handler, char[] separator)
{
while (!... |
src/CodeGeneration/ILGeneratorExtensions.cs | phiplatform/metadata | 2 | 7038893 | using System;
using System.Reflection;
using System.Reflection.Emit;
namespace NoRealm.Phi.Metadata.CodeGeneration
{
/// <summary>
/// <see cref="ILGenerator"/> useful extensions
/// </summary>
internal static class ILGeneratorExtensions
{
/// <summary>
/// generate delegate for a ... |
MPT/CSI/API/MPT.CSI.API/Core/Program/ModelBehavior/Definition/Property/TimeDependent/TimeDependentConcrete.cs | MarkPThomas/MPT.Net | 0 | 7038894 | // ***********************************************************************
// Assembly : MPT.CSI.API
// Author : <NAME>
// Created : 07-10-2017
//
// Last Modified By : <NAME>
// Last Modified On : 10-07-2017
// ***********************************************************************
// <copy... |
Crash/Formats/Crash Formats/Demo/DemoEntryLoader.cs | Aedhen/CrashEdit | 60 | 7038895 | <filename>Crash/Formats/Crash Formats/Demo/DemoEntryLoader.cs
namespace Crash
{
[EntryType(19,GameVersion.Crash1BetaMAY11)]
[EntryType(19,GameVersion.Crash1)]
[EntryType(19,GameVersion.Crash2)]
[EntryType(19,GameVersion.Crash3)]
public sealed class DemoEntryLoader : EntryLoader
{
... |
WebGL/javascript/JSObject.cs | jdarc/webgl.net | 1 | 7038896 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace WebGL
{
// ReSharper disable InconsistentNaming
public class JSObject : DynamicObject, IEnumerable
{
private... |
DirectN/DirectN/Generated/DWRITE_PANOSE_SPACING.cs | riQQ/DirectN | 1 | 7038897 | <filename>DirectN/DirectN/Generated/DWRITE_PANOSE_SPACING.cs<gh_stars>1-10
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\dwrite_1.h(258,1)
namespace DirectN
{
/// <summary>
/// Monospace vs proportional. Present for families: 3-script, 5-symbol
/// </summary>
public enum DWRITE_PANO... |
Controllers/Pdf/ImportAndStampController.cs | syncfusion/file-formats-aspnet-core-ej1-demos | 4 | 7038898 | #region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. 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
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... |
Services/VersionManagerService.cs | jgreywolf/windsong | 1 | 7038899 | <gh_stars>1-10
using System.Globalization;
//using MoreLinq;
using Orchard.ContentManagement;
using Orchard.ContentManagement.MetaData;
using Orchard.ContentManagement.MetaData.Builders;
using Orchard.ContentManagement.MetaData.Models;
using Orchard.ContentManagement.Records;
using Orchard.Core.Common.Models;
using Or... |
src/Business/Services/IMatrixTaskService.cs | lionize/TaskManagementService | 0 | 7038900 | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using TIKSN.Lionize.TaskManagementService.Data.Entities;
namespace TIKSN.Lionize.TaskManagementService.Business.Services
{
public interface IMatrixTaskService
{
Task<IEnumerable<MatrixTaskEntity>> Get... |
src/FileSharper/FileSharperCore/Processors/Text/FilterLinesProcessor.cs | adv12/FileSharper | 10 | 7038901 | // Copyright (c) 2018 <NAME>. Published under the MIT license.
// See license.txt in the FileSharper distribution or repository for the
// full text of the license.
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using FileSharperCore.Util;
using Xceed.Wpf.Toolkit.Pr... |
TLIB/Helper/ReflectionHelper.cs | TobiVanHelsinki/TLIB | 0 | 7038902 | <gh_stars>0
//Author: <NAME>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace TLIB
{
/// <summary>
/// Methods providing short access for recurring tasks involving reflection
/// </summary>
public static class ReflectionHelper
{
/// <su... |
samples/Form Flow Sample/TestBot.cs | brazierdavid/botbuilder-community-dotnet | 240 | 7038903 | using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Dialogs;
using Bot.Builder.Community.Dialogs.FormFlow;
using Microsoft.Bot.Schema;
using FormFlow_Sample.Dialogs;
using Microsoft.Bot.Builder;
namespace FormFlow_Sample
{
public class TestBot : IBot
{
private DialogSet _dialogs;
p... |
backend/Instagram.WebApi/Models/Authentication/RegisterModel.cs | kcrnac/ng-instagram | 0 | 7038904 | <filename>backend/Instagram.WebApi/Models/Authentication/RegisterModel.cs
using System.ComponentModel.DataAnnotations;
using Instagram.Business.Model.User;
namespace Instagram.WebApi.Models.Authentication
{
public class RegisterModel
{
[Required]
public string Username { get; set; }
[... |
Philosoft.BehavioralAttributes/ResizesAttribute.cs | Entomy/LibLangly | 18 | 7038905 | namespace System.Diagnostics.CodeAnalysis {
/// <summary>
/// Specifies that the operation resizes an internal buffer.
/// </summary>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
public sealed class ResizesAttribute : Attribute {
/// <inheritdoc/... |
Assets/Scripts/Flocks/FilteredFlockBehavior.cs | SLoh4137/pangu | 0 | 7038906 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace pangu
{
public abstract class FilteredFlockBehavior : FlockBehavior
{
public ContextFilter filter;
}
}
|
src/Micser.App.Infrastructure/ToolBars/ToolBarLabel.cs | loreggia/micser | 4 | 7038907 | <reponame>loreggia/micser
namespace Micser.App.Infrastructure.ToolBars
{
/// <summary>
/// A tool bar text item.
/// </summary>
public class ToolBarLabel : ToolBarItem
{
}
} |
Base/Clients/InteractiveClient.cs | NephosIntegration/Formula.SimpleAuthServer | 0 | 7038908 | <gh_stars>0
using System;
using IdentityServer4.Models;
namespace Formula.SimpleAuthServer
{
public class InteractiveClient : SimpleClientBuilderBase
{
public InteractiveClient(SimpleClientDetails clientDetails) : base(clientDetails)
{
this.AllowedGrantTypes = GrantTypes.Code;
... |
WinRTXamlToolkit.Controls.DataVisualization/Charting/Series/SeriesDefinition.cs | Myfreedom614/WinRTXamlToolkit | 327 | 7038909 | // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using WinRTXamlToolkit.Common;
using System;
using System.Collections;
using System.Collections.Obje... |
src/NDbUnit.SqlClient/SqlDbOperation.cs | savornicesei/NDbUnit2 | 1 | 7038910 | <reponame>savornicesei/NDbUnit2
/*
*
* NDbUnit
* Copyright (C)2005 - 2011
* http://code.google.com/p/ndbunit
*
* 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.... |
stankinsv2/solution/StankinsV2/StankinsObjects/TransformerOneToMulti.cs | Zeroshi/stankins | 17 | 7038911 | <gh_stars>10-100
using StankinsCommon;
using Stankins.Interfaces;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StankinsObjects
{
public class TransformerOneTableToMulti<T> : BaseObject, ITransformer
where T... |
2021/BLDTalk/Dapr/HealthMarket/HealthMarketWebClient/Data/Order.cs | royarin/Demos | 0 | 7038912 | <reponame>royarin/Demos<gh_stars>0
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace HealthMarketWebClient.Data
{
public class Order
{
public string OrderNumber { get; set; }
[Required]
public string DeliveryName { get; set; }
[Required]
... |
WorkingWithCollections/Collections.Core/App.cs | tuke307/MvvmCross-Samples | 347 | 7038913 | using Collections.Core.ViewModels;
using MvvmCross.Core.ViewModels;
namespace Collections.Core
{
public class App
: MvxApplication
{
public override void Initialize()
{
RegisterAppStart<MainMenuViewModel>();
}
}
} |
oldJudger/src/Judger/ProcessorAffinityUsage.cs | sdnuacmicpc/sdnuoj | 27 | 7038914 | <filename>oldJudger/src/Judger/ProcessorAffinityUsage.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JudgeClient.Judger
{
internal class ProcessorAffinityUsage : IDisposable
{
internal protected IntPtr Affinity;
internal protected ProcessorA... |
src/Interaction/TapAllTeammatesAction.cs | greenstack/spite-framework | 5 | 7038915 | namespace Spite.Interaction
{
/// <summary>
/// An action that taps all teammates.
/// </summary>
public class TapAllTeammatesAction : ISpiteAction
{
/// <inheritdoc/>
public ITeammate User => null;
readonly ITeamOfTappables teamToTap;
/// <summary>
/// Constructs a basic TapAllTeammatesAction.
/// ... |
RentEasy.Shared/Entities/Entity.cs | Llimaa/RentEasy | 0 | 7038916 | using System;
namespace RentEasy.Shared.Entities
{
public class Entity : IEquatable<Entity>
{
public Guid Id { get; private set; }
public Entity()
{
Id = Guid.NewGuid();
}
public bool Equals(Entity other)
{
return Id == other.Id;
... |
EmptyKeys.UserInterface.Xenko/Shaders/SDFFontShader.cs | EmptyKeys/UI_Engines | 58 | 7038917 | <filename>EmptyKeys.UserInterface.Xenko/Shaders/SDFFontShader.cs
// <auto-generated>
// Do not edit this file yourself!
//
// This code was generated by Xenko Shader Mixin Code Generator.
// To generate it yourself, please install SiliconStudio.Xenko.VisualStudio.Package .vsix
// and re-save the associated .xkfx.... |
XPF.Samples/Xpf.Samples.S04BasketballScoreboard/Xpf.Samples.S04BasketballScoreboard/BasketballGame.cs | Halofreak1990/XPF | 0 | 7038918 | <filename>XPF.Samples/Xpf.Samples.S04BasketballScoreboard/Xpf.Samples.S04BasketballScoreboard/BasketballGame.cs<gh_stars>0
#region License
/* The MIT License
*
* Copyright (c) 2011 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docume... |
GraphicsAndAnimation/MainActivity.cs | darcythomas/monodroid-samples | 1,862 | 7038919 | namespace com.xamarin.evolve2013.animationsdemo
{
using System;
using System.Collections.Generic;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Views;
using Android.Widget;
[Activity(Label = "@string/app_name",
MainLauncher = true,
Theme = ... |
src/StarterApp.Core/Areas/Products/Commands/CreateProductCommand.cs | mSamirTT/Simple_Inventory_Public | 0 | 7038920 | using MediatR;
using StarterApp.Core.Areas.Products.Entities;
using StarterApp.Core.Common.Mappings;
using StarterApp.Core.Common.Models;
using System.Threading;
using System.Threading.Tasks;
namespace StarterApp.Core.Areas.Products.Commands
{
public class CreateProductCommand : IRequest<long>, IMapTo<Product>
... |
SteganoSynth.Core/Enums/ColorComponent.cs | CMorooney/GlitchyImages | 1 | 7038921 | <gh_stars>1-10
namespace SteganoSynth.Core
{
public enum ColorComponent
{
[FriendlyName("Red Component")]
[Color (255, 0, 0)]
Red,
[FriendlyName("Green Component")]
[Color (63, 122, 77)]
Green,
[FriendlyName("Blue Component")]
[Color (0, 0, 255)... |
src/Actors/LambdaTransition.cs | mi-tettamanti/akka-net-bpm | 0 | 7038922 | #region Copyright
/*
Copyright 2015 Cluster Reply s.r.l.
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 agreed... |
tests/dotnet/AppWithGenericLibraryReference/Library/AppDelegate.cs | SotoiGhost/xamarin-macios | 0 | 7038923 | <reponame>SotoiGhost/xamarin-macios
using System;
using System.Runtime.InteropServices;
namespace MySimpleApp
{
public class Program
{
public static int SomeFunction ()
{
return 42;
}
}
}
|
sendFrontol-SenderUsersOnFrontol/src/SenderUsersOnFrontol/frmSendData.cs | nonenane/KassPo | 0 | 7038924 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SenderUsersOnFrontol
{
public partial class frmSendData : Form
{
public bool GetDelUsers()
{
... |
labs/Lab_58_Interfaces/Program.cs | spartakyro/2019-06-c-sharp-labs | 0 | 7038925 | <reponame>spartakyro/2019-06-c-sharp-labs<filename>labs/Lab_58_Interfaces/Program.cs
using System;
namespace Lab_58_Interfaces
{
class Program
{
static void Main(string[] args)
{
var c = new Child();
c.Name = "<NAME>";
c.property01 = 100;
c.UseTo... |
sources/Imaging/LocalThreshold.cs | UMapx/UMapx | 6 | 7038926 | <filename>sources/Imaging/LocalThreshold.cs
using System;
using UMapx.Core;
namespace UMapx.Imaging
{
/// <summary>
/// Defines the Bradley local threshold filter.
/// <remarks>
/// More information can be found on the website:
/// http://www.scs.carleton.ca/~roth/iit-publications-iti/docs/gerh-50... |
DbFacadeShared/DataLayer/CommandConfig/IDbCommandConfig.cs | JSystemsTech/DBFacade.Net | 0 | 7038927 | <filename>DbFacadeShared/DataLayer/CommandConfig/IDbCommandConfig.cs
using DbFacade.DataLayer.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DbFacade.DataLayer.CommandConfig
{
/// <summary>
///
/// </summary>
/// <typeparam name="TDbParams">The type of... |
Windows10.HotCorners/Business/Bootstrapper.cs | RobertSmits/HotCorners | 2 | 7038928 | <reponame>RobertSmits/HotCorners<gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.IO;
using System.Linq;
using Unity;
using Unity.RegistrationByConvention;
using Windows10.HotCorners.Business.Actions;
using Windows10.HotCorners.Models;
namespace Windows10.HotCorners.Business
{
internal static class... |
Assets/Scripts/Character/CharacterVisuals.cs | marcuskaraker/JRPG_Fighting | 0 | 7038929 | <reponame>marcuskaraker/JRPG_Fighting
using UnityEngine;
public class CharacterVisuals : MonoBehaviour
{
[SerializeField] Renderer clothesRenderer;
public void SetShirtColor(Color color)
{
clothesRenderer.material.color = color;
}
}
|
AIM.Services/Service.Administrative/AIM.Service.Administrative/Views/Home/Index.cshtml | ChaseMarcum/N-Tiered-ASP.NET-MVC--ASP.NET-Web-API--and-Entity-Framework-application | 9 | 7038930 | <reponame>ChaseMarcum/N-Tiered-ASP.NET-MVC--ASP.NET-Web-API--and-Entity-Framework-application<filename>AIM.Services/Service.Administrative/AIM.Service.Administrative/Views/Home/Index.cshtml
<div class="jumbotron">
<div class="row">
<div style="text-align: center;" >
<img src="../../Image/AIMTit... |
src/WireMock.Net/RequestBuilders/IClientIPRequestBuilder.cs | evanlwj/WireMock.Net | 0 | 7038931 | <reponame>evanlwj/WireMock.Net<gh_stars>0
using System;
using JetBrains.Annotations;
using WireMock.Matchers;
namespace WireMock.RequestBuilders
{
/// <summary>
/// The IClientIPRequestBuilder interface.
/// </summary>
public interface IClientIPRequestBuilder : IUrlAndPathRequestBuilder
{
... |
Structural Patterns/Composite/Program.cs | BetterYan/DesignPatternPractice | 0 | 7038932 | <reponame>BetterYan/DesignPatternPractice
using System;
namespace Composite
{
internal class Program
{
private static void Main(string[] args)
{
//Composite pattern is about
//We try to give single object which groups of other objects as an identical interface
... |
Unidad4/Votacion/Votacion/Sujeto.cs | Yah-veh/ProgramacionIIIMLYL | 0 | 7038933 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Votacion
{
class Sujeto
{
int a;
int b;
int c;
public Sujeto(int a, int b, int c)
{
this.a = a;
this.b = b;
... |
green-garden-server/Managers/EventManager.cs | seanbarlow/green-garden | 1 | 7038934 | <filename>green-garden-server/Managers/EventManager.cs<gh_stars>1-10
using green_garden_server.Data;
using green_garden_server.Managers.Interfaces;
using green_garden_server.Models;
using green_garden_server.Repositories.Interfaces;
using green_garden_server.Views;
using System;
using System.Collections.Generic;
using... |
BookFast.Facility.Data/Repositories/FacilityRepository.cs | dzimchuk/book-fast-service-fabric | 88 | 7038935 | using BookFast.Facility.CommandStack.Repositories;
using BookFast.Facility.Data.Mappers;
using BookFast.ReliableEvents;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BookFast.Facility.Data.Repositories
{
internal class FacilityRepo... |
src/Plainion.RI/Dialogs/SelectFolderDialogView.xaml.cs | ronin4net/Plainion.Windows | 2 | 7038937 | <reponame>ronin4net/Plainion.Windows<filename>src/Plainion.RI/Dialogs/SelectFolderDialogView.xaml.cs
using System.Windows.Controls;
namespace Plainion.RI.Dialogs
{
public partial class SelectFolderDialogView : UserControl
{
internal SelectFolderDialogView( )
{
InitializeC... |
Assets/Scripts/MapEditor/PlayerUnits/PlayerUnitsMapElement.cs | dcasadevall/tabletop-combat-helper | 1 | 7038939 | <gh_stars>1-10
using Map.MapData;
using MapEditor.MapElement;
using Math;
namespace MapEditor.PlayerUnits {
public class PlayerUnitsMapElement : IMapElement {
private readonly IMutableMapSectionData _mapSectionData;
public PlayerUnitsMapElement(IMutableMapSectionData mapSectionData) {
... |
Code/DataBinding/Leafs/DataBindingGenericTemplatedLeaf.cs | kennux/UnityEssentials | 15 | 7038940 | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace UnityTK.DataBinding
{
/// <summary>
/// Generic templated data binding leaf.
/// This leaf will bind any arbitrary field from parent bindings to a <see cref="DataBindingGenericTemplate"/> field on a specific ta... |
Assets/Editor/UniqueIdEditor.cs | roden1978/Alpha2 | 0 | 7038941 | <reponame>roden1978/Alpha2<filename>Assets/Editor/UniqueIdEditor.cs
using System;
using System.Linq;
using GameObjectsScripts;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
namespace Editor
{
[CustomEditor(typeof(UniqueId))]
public class UniqueIdEditor : UnityEditor.Editor
{
... |
MacroHotkey/FormNotification.cs | arikankainen/macrohotkey-windows | 1 | 7038942 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MacroHotkey
{
public partial... |
TopDownShmooter/Assets/Scripts/ScoreManager.cs | apetersell/GPP_AndrewPetersell | 0 | 7038943 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using EventSystemAJP;
public class ScoreManager : MonoBehaviour {
public int score;
public Text scoreDisplay;
void Start ()
{
EventManager.instance.Register<EnemyDeath> (scoreUp);
}
// Update is called o... |
MonoKle/Logging/Log.cs | Vectovox/MonoKle | 2 | 7038944 | <filename>MonoKle/Logging/Log.cs
using System;
using System.Text;
namespace MonoKle.Logging
{
/// <summary>
/// An immutable class containing a log message and relevant accompanying information.
/// </summary>
public sealed class Log
{
/// <summary>
/// Creates a new ins... |
src/Persistence/BasicModel/MasterSkillDefinition.Generated.cs | ADMTec/OpenMU | 1 | 7038945 | // <copyright file="MasterSkillDefinition.Generated.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
//------------------------------------------------------------------------------
// <auto-generated>
// This source code w... |
Apocalypse.Any.Infrastructure.Server.Services.Mechanics/Bridge/IUnionStateCommand.cs | inidibininging/apocalypse_netcore | 0 | 7038946 | <reponame>inidibininging/apocalypse_netcore
using Apocalypse.Any.Core;
using States.Core.Infrastructure.Services;
namespace Apocalypse.Any.Infrastructure.Server.Services.Mechanics.Bridge
{
/// <summary>
/// Implements the state and command pattern
/// </summary>
/// <typeparam name="TIdentifier"></type... |
Nuclear.Channels.Messaging/ChannelMessage.cs | Mycenaean/Nuclear-Framework | 3 | 7038947 | <filename>Nuclear.Channels.Messaging/ChannelMessage.cs
// Copyright © <NAME>
// Licensed under the MIT License (MIT).
// See License.md in the repository root for more information.
namespace Nuclear.Channels.Messaging
{
/// <summary>
/// Base return type of HttpListenerResponse
/// </summary>
public ... |
src/modules/fancyzones/editor/FancyZonesEditor/Models/Settings.cs | Itchibon777/PowerToys | 1 | 7038948 | <reponame>Itchibon777/PowerToys
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Collections;
using System.Collections.ObjectModel;
using System.Globalization;
using FancyZonesEditor.Models;
using Sys... |
25 April 2018 Exam/01. Rage Expenses/Program.cs | StackSmack007/Programing-Fundamentals-September-2018 | 0 | 7038949 | <gh_stars>0
using System;
//10:10
class Program
{
static void Main()
{
ushort lostGames = ushort.Parse(Console.ReadLine());//7
decimal headsetPrice = decimal.Parse(Console.ReadLine());
decimal mousePrice = decimal.Parse(Console.ReadLine());
decimal keyboardPrice = decimal.Parse(... |
NoCode/FBDCore/FBDNetworkControl.cs | BorisJineman/NoCode | 0 | 7038950 | <gh_stars>0
using NoCode.FBDCore;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace NoCode.FBDCore
{
public class FBDNetworkControl : UserControl
{
private const int LabelAreaHeight = 25;
private... |
BusinessLayer/Concrete/NewsLatterManager.cs | murat1347/DotNet-Core-Blog | 0 | 7038951 | <reponame>murat1347/DotNet-Core-Blog<filename>BusinessLayer/Concrete/NewsLatterManager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BusinessLayer.Abstract;
using DataAccessLayer.Abstract;
using EntityLayer.Concrete;
namespace BusinessLaye... |
Arduino-Serial-Host-CS/Form1.Designer.cs | Nuclear001/LedController | 0 | 7038953 | <filename>Arduino-Serial-Host-CS/Form1.Designer.cs
namespace Arduino_Serial_Host_CS
{
partial class Form1
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete ... |
FrbaOfertas2/FrbaOfertas2/Clases/Usuario.cs | brianlider/s_QUERY-TP-GDD | 0 | 7038954 | <reponame>brianlider/s_QUERY-TP-GDD<filename>FrbaOfertas2/FrbaOfertas2/Clases/Usuario.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FrbaOfertas2.Clases
{
public class Usuario
{
public String password { get; set; }
... |
VisualUiaVerify/Configuration/UiaVerifyConfiguration.cs | dbremner/UIAVerify | 26 | 7038955 | <reponame>dbremner/UIAVerify
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Linq;
namespace VisualUIAVerify.Configuration
{
public class UiaVerifyConfiguration
{
private const string ConfigSectionName = "uiaVerify";
... |
src/Orchard.Web/Modules/SoftIT.HouseParty/Drivers/PartyPartDriver.cs | OrganicAdapter/HouseParty | 0 | 7038956 | using Orchard;
using Orchard.ContentManagement.Drivers;
using Orchard.Core.Common.Models;
using Orchard.Localization;
using SoftIT.ExtendedUsers.Models;
using SoftIT.HouseParty.Constants;
using SoftIT.HouseParty.Models;
using SoftIT.HouseParty.Services;
using System;
using System.Collections.Generic;
using System.Linq... |
Assets/Scripts/Jhinxz/Zoe/Fantasy/FantasyPoints.cs | Scub3d/Jhinx | 2 | 7038957 | // ReSharper disable All
namespace Jhinxz.Zoe.Fantasy {
public class FantasyPoints {
public static int KILL_POINTS = 2;
public static float DEATH_POINTS = -.5f;
public static float ASSIST_POINTS = 1.5f;
public static float CS_POINTS = .01f;
public static int TRIPLE_KILL_POINTS = 2;
public static int QUADRA... |
Editor/Utils/EditorUtils.cs | vertxxyz/Vertx.Utilities | 10 | 7038958 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using UnityEngine.SceneManagement;
using Object = UnityEngine.Object;
namespace Vertx.Utilities.Editor
{
publ... |
src/Matey.Domain/Models/Utilities/Utility.cs | BillChirico/Matey | 1 | 7038959 | <filename>src/Matey.Domain/Models/Utilities/Utility.cs
using System.Collections.Generic;
using Matey.Domain.Models.Common;
using Matey.Domain.Models.Premises;
namespace Matey.Domain.Models.Utilities
{
public class Utility : Entity
{
public string Name { get; set; }
public int Premis... |
Tutorial 017 - GDI Rasterize Line/Client/Seed.cs | rciworks/RCi.Tutorials.Gfx | 14 | 7038960 | <filename>Tutorial 017 - GDI Rasterize Line/Client/Seed.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using MathNet.Spatial.Euclidean;
using RCi.Tutorials.Gfx.Materials;
using RCi.Tutorials.Gfx.Mathematics;
using RCi.Tutorials.Gfx.Mathematics.Extensions;
... |
SOSCSRPG.Services/Factories/MonsterFactory.cs | SOSCSRPG/SOSCSRPG | 21 | 7038961 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using SOSCSRPG.Models;
using SOSCSRPG.Services;
using SOSCSRPG.Models.Shared;
using SOSCSRPG.Core;
namespace SOSCSRPG.Services.Factories
{
public static class MonsterFactory
{
private const string GAM... |
Assets/Scripts/ballLine.cs | wimberlyw/Rogue-golf- | 0 | 7038962 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(LineRenderer))]
public class ballLine : MonoBehaviour
{
public LineRenderer lr;
// Start is called before the first frame update
void Awake()
{
lr = GetComponent<LineRenderer>();
}
... |
Server/Models/Website.cs | QuinntyneBrown/future | 0 | 7038963 | using Chloe.Server.Models.Components;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Chloe.Server.Models
{
public class Website: BaseEntity
{
public Website()
{
}
[ForeignKey("AppComponent")]
p... |
examples/Amazon.CloudWatch.EMF.Examples.Lambda/Function.cs | jaredcnance/aws-embedded-metrics-dotnet | 12 | 7038964 | <filename>examples/Amazon.CloudWatch.EMF.Examples.Lambda/Function.cs
using System.Collections.Generic;
using Amazon.CloudWatch.EMF.Config;
using Amazon.CloudWatch.EMF.Environment;
using Amazon.CloudWatch.EMF.Logger;
using Amazon.CloudWatch.EMF.Model;
using Amazon.Lambda.Core;
// Assembly attribute to enable the Lambda... |
ButorRevolutionWebAPI/src/backend/factory/IFPS.Factory.Application/Interfaces/ICameraAppService.cs | encosoftware/ifps | 0 | 7038965 | <gh_stars>0
using ENCO.DDD.Application.Dto;
using IFPS.Factory.Application.Dto;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace IFPS.Factory.Application.Interfaces
{
public interface ICameraAppService
{
Task<int> CreateCameraAsync(CameraCreateDto cameraCreateDto);
Tas... |
tests/NetDeepL.Tests/IntegrationTests/DeepApiTests.cs | penCsharpener/NetDeepL | 1 | 7038966 | using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using NetDeepL.Abstractions;
using NetDeepL.Models;
using NUnit.Framework;
namespace NetDeepL.Tests.IntegrationTests
{
[TestFixture]
public class DeepApiTests
{
private INetDeepL _netDeepL;
public Dee... |
src/Merchello.FastTrack/Controllers/Payment/CashPaymentController.cs | vwa-software/Merchello | 0 | 7038967 | namespace Merchello.FastTrack.Controllers.Payment
{
using System.Linq;
using System.Web.Mvc;
using Merchello.FastTrack.Factories;
using Merchello.FastTrack.Models;
using Merchello.FastTrack.Models.Payment;
using Merchello.Web.Factories;
using Merchello.Web.Store.Controllers.Payment;
using Merchello.Core.... |
QCloudCSharpSDK/COSXML/Utils/StringUtils.cs | brischan/qcloud-sdk-dotnet | 33 | 7038968 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
using COSXML.CosException;
using COSXML.Common;
namespace COSXML.Utils
{
public sealed class StringUtils
{
public static int Compare(string strA, string strB, bool ignoreCase)
{
if (strA == null || ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.