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 |
|---|---|---|---|---|
Xamarin.Essentials/MainThread/MainThread.shared.cs | dotMorten/Essentials | 1 | 7043298 | using System;
using System.Threading.Tasks;
namespace Xamarin.Essentials
{
public static partial class MainThread
{
public static bool IsMainThread =>
PlatformIsMainThread;
public static void BeginInvokeOnMainThread(Action action) =>
PlatformBeginInvokeOnMainThread(act... |
Project/Model classes/Record.cs | farshad-barahimi/nosimpleraccounting | 1 | 7043299 | //Copyright © 2010-2012 , <NAME> . All rights reserved
//This software is licensed under the Apache License, Version 2.0
using System;
using System.Collections.Generic;
using System.Text;
using Project.ModelClasses;
namespace Project.ModelClasses
{
public class Record
{
private bool isInc... |
Code/ImageProcessor/Filters/AnchorLocation.cs | TrevorDArcyEvans/EllieWare | 4 | 7043300 |
namespace Simplicode.Imaging.Filters
{
/// <summary>
/// Describes the location of an anchor
/// </summary>
public enum AnchorLocation
{
#pragma warning disable 1591
TopLeft = 0,
TopMiddle = 1,
TopRight = 2,
MiddleLeft = 3,
Middle = 4,
MiddleRight = 5,
BottomLeft = 6,
BottomMiddle = 7,
Botto... |
Sample/SampleApp/Views/CheckForms.xaml.cs | MasterEmit/Global.InputForms | 36 | 7043301 | <reponame>MasterEmit/Global.InputForms
using System.Collections.Generic;
using Global.InputForms;
using SampleApp.ViewModels;
using Xamarin.Forms;
namespace SampleApp.Views
{
public partial class CheckForms : ContentPage
{
private SimpleFormsViewModel _viewModel;
public CheckForms()
{... |
src/Service.MarketProduct.Client/MarketProductClientFactory.cs | MyJetEducation/Service.MarketProduct | 0 | 7043302 | <filename>src/Service.MarketProduct.Client/MarketProductClientFactory.cs
using JetBrains.Annotations;
using Microsoft.Extensions.Logging;
using Service.MarketProduct.Grpc;
using Service.Grpc;
namespace Service.MarketProduct.Client
{
[UsedImplicitly]
public class MarketProductClientFactory : GrpcClientFactory
... |
Code/ROSys.WebClient/DBFacadeFactory.cs | amersaw/COMU-OOAD-Restaurant-Ordering-System | 1 | 7043303 | <gh_stars>1-10
using ROSys.Contracts;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ROSys.WebClient
{
public class DBFacadeFactory
{
#region Singleton Stu... |
src/SearchAcceleratorFramework/Collectors/Database/IConsolidatedSqlStatementProvider.cs | halfbakedbits/SearchAcceleratorFramework | 0 | 7043304 | <reponame>halfbakedbits/SearchAcceleratorFramework
using SearchAcceleratorFramework.Strategies.Database;
namespace SearchAcceleratorFramework.Collectors.Database
{
/// <summary>
/// Consolidates multiple SQL strategies into singular statement
/// </summary>
public interface IConsolidatedSqlStatementProvider... |
Source/DotSpatial.Controls/MapFunctionSelect.cs | eapbokma/DotSpatial | 0 | 7043305 | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Windows.Forms;
using Do... |
uScript_Dev/Assets/uScript/uScriptRuntime/Nodes/Actions/Math/uScriptAct_ClampColor.cs | detoxstudios/uscript | 5 | 7043306 | // uScript Action Node
// (C) 2010 Detox Studios LLC
using UnityEngine;
using System.Collections;
[NodePath("Actions/Math/Color")]
[NodeCopyright("Copyright 2011 by Detox Studios LLC")]
[NodeToolTip("Clamps a Color variable between a min and a max value for the desired components and returns the resulting C... |
OOPA/WebbshopProjekt/Andrei/Webshop/Webshop/Models/User.cs | marcusjobb/NET20D | 1 | 7043307 | using System;
using System.ComponentModel.DataAnnotations;
namespace WebbShopApi.Models
{
/// <summary>
/// Defines the <see cref="User" />.
/// </summary>
public class User
{
/// <summary>
/// Gets or sets the UserId.
/// </summary>
[Key]
public int UserId ... |
Samples/GDS/Client/Controls/RegisterApplicationControl.cs | mrsuciu/UA-.NETStandard-Samples | 118 | 7043308 | <filename>Samples/GDS/Client/Controls/RegisterApplicationControl.cs
/* ========================================================================
* Copyright (c) 2005-2019 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any perso... |
Assets/Scripts/GameScripts/TestTimer.cs | kuruchin/SlovaRossii | 0 | 7043309 | <filename>Assets/Scripts/GameScripts/TestTimer.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CountdownTimer.cs" company="Exit Games GmbH">
// Part of: Photon Unity Utilities,
// </copyright>
// <summary>
// This is a bas... |
src/Libraries/Shinobytes.Ravenfall.DataModels/NPC.cs | zerratar/Ravenfall-Server | 5 | 7043310 | <gh_stars>1-10
using Shinobytes.Ravenfall.Data.Entities;
namespace Shinobytes.Ravenfall.RavenNet.Models
{
public class Npc : Entity<Npc>
{
public int NpcId { get; set; }
public int TransformId { get; set; }
public int AttributesId { get; set; }
public int Level { get; set; }
... |
Telerik Academy/DSA/HW/Linear DS/LinearDSHW/List/ADT_SinglyLinkedList.cs | Infra1515/TelerikAcademyProblems | 0 | 7043311 | <reponame>Infra1515/TelerikAcademyProblems
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace List
{
public class ADT_SinglyLinkedList<T>
{
public ADT_SinglyLinkedList()
{
}
}
public class Node<T>
... |
test/NUITestSample/CommonUI_Samples/Samples/ContactCard/MaskedImage.cs | yoowonyoung/TizenFX | 149 | 7043312 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tizen.NUI.BaseComponents;
using Tizen.NUI.UIComponents;
using Tizen.NUI;
namespace NuiCommonUiSamples
{
public class MaskedImage
{
private static readonly string IMAGE_MASK = Commo... |
Assets/3rdParty/UX_Demo/UX/Scripts/ARUXReasonsManager.cs | UBC-Cognitive-Systems-Society/ARUnityWorkshop2020 | 0 | 7043313 | <reponame>UBC-Cognitive-Systems-Society/ARUnityWorkshop2020<filename>Assets/3rdParty/UX_Demo/UX/Scripts/ARUXReasonsManager.cs
using System;
using System.Collections;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.ARSubsystems;
public class ARUXReasonsMana... |
Scorpio-CSharp-2.0/ScorpioUnityTest/Assets/Scorpio/Instruction/Opcode.cs | qq576067421/Scorpio-CSharpForCSHotfix | 0 | 7043314 | <filename>Scorpio-CSharp-2.0/ScorpioUnityTest/Assets/Scorpio/Instruction/Opcode.cs
namespace Scorpio.Instruction {
//指令集大类型
public enum OpcodeType : byte {
None, //无效类型
Load, //压栈
New, //new
Store, //取栈
Compute, //运算
Compare, //比较
... |
SerializerDotNet/ISerializer.cs | rushfrisby/ISerializer | 0 | 7043315 | <filename>SerializerDotNet/ISerializer.cs
using System;
using System.IO;
using System.Threading.Tasks;
namespace SerializerDotNet
{
public interface ISerializer
{
string DefaultContentType { get; }
void Serialize<T>(T instance, Stream destination);
byte[] Serialize<T>(T instance);
... |
GitTrends.Functions/Functions/GetGitHubClientId.cs | PureWeen/GitTrends | 4 | 7043316 | using System;
using GitTrends.Shared;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
namespace GitTrends.Functions
{
public static class GetGitHubClientId
{
readonly stat... |
RefactorDataAccess/RepositoryPattern/WidgetRepository.cs | personal-website-code-samples/refactoring-data-access-code | 0 | 7043317 | namespace RefactorDataAccess.RepositoryPattern
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Domain;
using Infrastructure;
using Microsoft.EntityFrameworkCore;
public class WidgetRepository : IWidgetRepository
{
pri... |
src/ZPLForge/Label.cs | chrishanzlik/ZPLForge | 9 | 7043318 | using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZPLForge.Commands;
using ZPLForge.Contracts;
using ZPLForge.Configuration;
using ZPLForge.Common;
namespace ZPLForge
{
/// <summary>
/// The <see cref="Label"/> class represents a printable ZPL label. Calling
/// <see cref="ToSt... |
Assets/Scripts/CityUpgrade/UpgradeTile.cs | Benxidosz/temalabUnity | 0 | 7043319 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UpgradeTile : MonoBehaviour {
[SerializeField] private UpgradeSO backend;
public UpgradeSO Backend => backend;
private Image _image;
public bool IsDone { get; pr... |
src/infra/Borg.MVC/Services/Editors/EnumDropDown.cs | mitsbits/NoBorg | 1 | 7043320 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Borg.Infra.DTO;
using Borg.Infra.Services;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
namespace Borg.MVC.Services.Editors
{
public class EnumDropDown... |
Feature/Articles/SitecoreDev.Feature.Articles/Models/Article.cs | sitecoredevbook/SitecoreDev | 10 | 7043321 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SitecoreDev.Feature.Articles.Models
{
public class Article : IArticle
{
public Guid Id { get; set; }
public string Title { get; set; }
public string Body { get; set; }
}
} |
JSonQueryRunTime_UnitTests/Performance_UnitTests.cs | fredericaltorres/JSonQueryRunTime | 0 | 7043322 | <reponame>fredericaltorres/JSonQueryRunTime
using HiSystems.Interpreter;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Diagnostics;
using JsonQueryRunTimeNS;
namespace JSonQueryRunTime_UnitTests
{
[TestClass]
public class Performance_Unit... |
GMap.Net/GMap.NET.Core/GMap.NET.Internals/Stuff.cs | Hogan2/myGMap.Net | 0 | 7043323 | <gh_stars>0
namespace GMap.NET.Internals
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Security.Cryptography;
using System.Text;
/// <summary>
/// etc functions...
/// </summary>
intern... |
tests/Microsoft.Bot.Builder.Dialogs.Adaptive.Tests/MultiLanguageRecognizerTests.cs | h-hellemons-timmerweren/botbuilder-dotnet | 1 | 7043324 | <filename>tests/Microsoft.Bot.Builder.Dialogs.Adaptive.Tests/MultiLanguageRecognizerTests.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Dialogs.Adaptive.Tests;
using Xunit;
namespace Microsoft.Bot.Builder.D... |
Agent/src/Runic.Agent.Core/Actors/Consumer.cs | joshuagenders/Runic | 0 | 7043325 | <gh_stars>0
using Akka.Actor;
using Akka.Event;
using Runic.Agent.Core.Harness;
using Runic.Agent.Core.Models;
using Runic.Agent.Core.Services;
namespace Runic.Agent.Core.Actors
{
public class Consumer : ReceiveActor
{
public ILoggingAdapter Log { get; } = Context.GetLogger();
private readonly... |
TGC.Group/Model/GameModel.cs | Lucasresa/2020_1C_3051_5DIGOS | 0 | 7043326 | <gh_stars>0
using Microsoft.DirectX.DirectInput;
using System.Drawing;
using System.Windows.Forms;
using TGC.Core.Example;
using TGC.Core.Mathematica;
using TGC.Group.Model.Status;
using TGC.Group.Utils;
using Font = System.Drawing.Font;
namespace TGC.Group.Model
{
public class GameModel : TGCExample
{
... |
FrostyControls/FrostyDockableWindow.cs | Dangercato/FrostyToolsuite | 0 | 7043327 | using System.Windows;
namespace Frosty.Controls
{
public class FrostyDockableWindow : FrostyWindow
{
public DependencyObject WindowParent { get; set; }
static FrostyDockableWindow()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(FrostyDockableWindow), new FrameworkPrope... |
JMW.Templates/Tags/Include.cs | walljm/JMW.Extensions | 0 | 7043328 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
namespace JMW.Template.Tags
{
public static class Include
{
public static string TAG { get; } = "include";
public const string ATTR_PATH = "path";
public const string ATTR_NAME = "name";
pub... |
Source/ETV.Target.cs | T-13/EmptierThanVoid | 1 | 7043329 | <filename>Source/ETV.Target.cs
// Copyright (C) Team13. All rights reserved.
using UnrealBuildTool;
using System.Collections.Generic;
public class ETVTarget : TargetRules
{
public ETVTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
ExtraModuleNames.AddRange( new string[] { "ETV" } );
}
}
|
SgAlpha2/FormUI.Tests/Controllers/Coc/CocPaymentDetailsTests.cs | sg-deu/social-security-alpha-2 | 0 | 7043330 | <reponame>sg-deu/social-security-alpha-2<gh_stars>0
using System.Net;
using System.Web.Mvc;
using FluentAssertions;
using FormUI.Controllers.Coc;
using FormUI.Domain.ChangeOfCircsForm;
using FormUI.Domain.ChangeOfCircsForm.Commands;
using FormUI.Domain.ChangeOfCircsForm.Dto;
using FormUI.Domain.ChangeOfCircsForm.Queri... |
src/Calliope.FluentValidation/Extensions.cs | JTOne123/Calliope | 1 | 7043331 | <filename>src/Calliope.FluentValidation/Extensions.cs
using FluentValidation;
namespace Calliope.FluentValidation
{
public static class Extensions
{
public static IRuleBuilderOptions<T, TProperty> ValidFor<T, TProperty>
(this IRuleBuilder<T, TProperty> ruleBuilder, Calliope.Validation.IVali... |
src/ISDAOC_Domain/Entities/Data/DCAppDateTimeDataDefinition.cs | valstekt/opensource-low-code-application-design | 0 | 7043332 | <reponame>valstekt/opensource-low-code-application-design
using System;
namespace Domain.Entities.Data
{
public class DCAppDateTimeDataDefinition : DCAppDataDefinitionBase
{
public DCAppDateTimeDataDefinition(Guid id) : base(id)
{
Format = "DD/MMM/YY";
}
public str... |
src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/BlittableMarshaller.cs | berkansasmaz/runtime | 8 | 7043333 | <filename>src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/BlittableMarshaller.cs<gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections... |
Kesco.Web.Mvc.UI.Controls/Grid/GroupField.cs | Kesco-m/Kesco.App.Web.MVC.Persons | 0 | 7043334 | <gh_stars>0
namespace Kesco.Web.Mvc.UI.Grid
{
using System;
using System.Runtime.CompilerServices;
public class GroupField
{
public GroupField()
{
this.DataField = "";
this.HeaderText = "<b>{0}</b>";
this.ShowGroupColumn = true;
this.Grou... |
HaloTAS/MCCTASGUI/Interop/TasInteropTypes.cs | s3anyboy/HaloTAS | 0 | 7043335 | using System;
using System.Runtime.InteropServices;
namespace MCCTASGUI.Interop
{
public enum InteropRequestType
{
Invalid = -1,
Ping = 0,
GetDLLInformation = 1,
SetCameraDetails = 2,
ExecuteCommand = 3,
GetGameInformation = 4,
Halo1SetCheatEnabled = 5,
... |
MYOB.API.SDK/SDK.NET45/Services/Version2/Banking/SpendMoneyAttachmentService.cs | MYOB-Technology/AccountRight_Live_API_.Net_SDK | 14 | 7043336 | <gh_stars>10-100
using System;
using MYOB.AccountRight.SDK.Communication;
using MYOB.AccountRight.SDK.Contracts;
using System.Collections.Generic;
using System.Threading;
using MYOB.AccountRight.SDK.Contracts.Version2;
using System.Net;
#if ASYNC
using System.Threading.Tasks;
#endif
using MYOB.AccountRight.SDK.Contrac... |
Query/Keyword.cs | maishumaishu/ALinq | 38 | 7043337 | <gh_stars>10-100
namespace ALinq.Dynamic
{
enum Keyword
{
And,
As,
Asc,
By,
Between,
Case,
Desc,
Else,
End,
Exists,
Except,
From,
Group,
GroupPartition,
Having,
In,
Inner,
... |
clients/csharp-uwp/UWPVoiceAssistantSample/Logging/ILogProvider.cs | Emma-ms/Cognitive-Services-Voice-Assistant | 49 | 7043338 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace UWPVoiceAssistantSample
{
using System;
using System.Collections.Generic;
/// <summary>
/// Abstracted information levels to log, used for individual providers to filter their output
/// targets based on severity... |
02. C# Part 2/04. Numeral-Systems/01.DecimalToBinary/DecimalToBinary.cs | DimitarGaydardzhiev/TelerikAcademy | 0 | 7043341 | /*
Problem 1. Decimal to binary
Write a program to convert decimal numbers to their binary representation.
*/
using System;
using System.Collections.Generic;
class Program
{
static List<int> convertNumber(int decimalNumber)
{
List<int> binaryNumber = new List<int>();
do
{
if... |
src/Assets/Scripts/FurnitureHandler.cs | jvirico/augmented-reality-poc-unity | 1 | 7043342 | <filename>src/Assets/Scripts/FurnitureHandler.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class FurnitureHandler : MonoBehaviour
{
public Transform placementIndicator;
private ... |
src/Core/libnginz.Common/Interfaces/IPointTo.cs | splitandthechro/nginz | 1 | 7043343 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace nginz.Common {
public interface IPointTo<T> {
void PointTo (T where);
void PointTo (T where, T offset);
void PointTo (T where, params T[] other);
}
}
|
CommonLib/Extensions/ObjectExtensions.cs | wawa0210/TaskManager | 1 | 7043344 | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace CommonLib.Extensions
{
public static class ObjectExtensions
{
/// <summary>
/// Object 转换成 Json 字符串
/// </summary>
/// <param name="obj"></param>
/// <param name="camelCase">驼峰命名</param>... |
Assets/Playground/Scripts/Runtime/Content/Stage/Logic/Cheats/StageLogicCheats.cs | Guillemsc/Playground | 0 | 7043345 | using Playground.Content.Stage.Logic.Cheats.UseCases.ImmortailitySetActiveCheat;
using Playground.Content.Stage.Logic.Cheats.UseCases.IsImmortalityActiveCheat;
using System.ComponentModel;
namespace Playground.Cheats
{
public class StageLogicCheats
{
private readonly IImmortailitySetActiveCheatUseCase... |
Machine learning/Reinforcement Learning/sueca-master/sueca-solver-master/unity-emulator/UnityEmulator.cs | vascobailao/Python | 0 | 7043346 | using System;
using Thalamus;
using System.Threading;
using SuecaTypes;
using SuecaSolver;
using System.Collections.Generic;
using SuecaMessages;
namespace unity_emulator
{
public interface IStartPublisher : IThalamusPublisher,
SuecaMessages.ISuecaPerceptions
{}
public class UnityEmulator : Thalamu... |
Chapter13/src/Marketplace.PaidServices.Domain/ClassifiedAds/ClassifiedAdState.cs | ChrisDev3110/Hands-On-Domain-Driven-Design-with-.NET-Core | 425 | 7043347 | <reponame>ChrisDev3110/Hands-On-Domain-Driven-Design-with-.NET-Core
using System;
using System.Collections.Generic;
using Marketplace.EventSourcing;
using Marketplace.PaidServices.Domain.Orders;
using Marketplace.PaidServices.Messages.Ads;
namespace Marketplace.PaidServices.Domain.ClassifiedAds
{
public class Clas... |
src/Formats/Parsers/ItemNameLoader.cs | Metibor/ualbion | 1 | 7043348 | using System;
using SerdesNet;
using UAlbion.Api;
using UAlbion.Config;
using UAlbion.Formats.Assets;
namespace UAlbion.Formats.Parsers
{
public class ItemNameLoader : IAssetLoader<MultiLanguageStringDictionary>
{
const int StringSize = 20;
public object Serdes(object existing, AssetInfo info,... |
DirectN/DirectN/Generated/IPrintDocumentPackageTargetFactory.cs | Steph55/DirectN | 124 | 7043349 | <reponame>Steph55/DirectN<filename>DirectN/DirectN/Generated/IPrintDocumentPackageTargetFactory.cs
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\documenttarget.h(432,5)
using System;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace DirectN
{
... |
sources/CloudDrive.Connector.OneDrive/CloudDrive/Service.Drive.DTOs.cs | LeversonCarlos/Xamarin.OneDrive.Connector | 11 | 7043350 | using System.Runtime.Serialization;
using System.Text.Json.Serialization;
namespace Xamarin.CloudDrive.Connector
{
namespace DTOs
{
internal class SharedDriveSearch
{
public SharedDrive[] value { get; set; }
[JsonPropertyName("@odata.nextLink")]
public string nextLink { g... |
Controllers/HqlPlaygroundAdminController.cs | bleroy/OrchardHqlPlayground | 4 | 7043351 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Microsoft.Win32;
using NHibernate;
using NHibernate.Exceptions;
using NHibernate.Util;
using Orchard;
using Orchard.ContentManagement;
using Orchard.Data;
using Orchard.DisplayManagement;
using Orchard.Localization;
using Or... |
src/WebApi/Sword.Nine.XUnitTest/UnitDataSource.cs | MapleWithoutWords/sword_nine | 1 | 7043352 | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Moq;
using NoRain.Common;
using Sword.Nine.Api.Controllers;
using Sword.Nine.Dao;
using Sword.Nine.Domain;
using Sword.Nine.Service;
using System;
using System.Threading.Tasks;
using Xunit;
namespace Sword.Nine.XUnitTest
{
public class UnitD... |
src/NClient/NClient.Core/Helpers/TypeExtensions.cs | nclient/nclient | 48 | 7043353 | <filename>src/NClient/NClient.Core/Helpers/TypeExtensions.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using NClient.Core.Helpers.EqualityComparers;
namespace NClient.Core.Helpers
{
internal static class TypeExtensions
{
private static ... |
SpecFlow.VisualStudio/ImplicitUsings.cs | tlecomte/SpecFlow.VS | 0 | 7043354 | global using Microsoft.CodeAnalysis.CSharp.Syntax;
global using Microsoft.CodeAnalysis.CSharp;
global using Microsoft.CodeAnalysis.Text;
global using Microsoft.CodeAnalysis;
global using Microsoft.VisualStudio.ApplicationInsights.Channel;
global using Microsoft.VisualStudio.ApplicationInsights.DataContracts;
global us... |
TFZRAutosalon/Controllers/ManufacturersController.cs | milosmartinov/TFZR-RSOK-Autosalon | 0 | 7043355 | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TFZRAutosalon.Models;
using TFZRAutosalon.Services.IServices;
using TFZRAutosalon.Viewmodels;
namespace TFZRAutosalon.Controllers
{
public class ManufacturersController : BaseCont... |
MedicalExaminer.API/Authorization/ExaminationContext/ExaminationContextExtensions.cs | neiltait/medex_api_pub | 0 | 7043357 | using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ModelBinding.Binders;
using Microsoft.Extensions.DependencyInjection;
namespace MedicalExaminer.API.Authorization.ExaminationContext
{
/// <summary>
/// Examination Context Extensions.
/// </summary>
public static class ... |
Bazurtas/Model/GamePage.cs | lisandropodesta/basurtas | 0 | 7043358 | using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using System;
using System.Threading.Tasks;
namespace Bazurtas.Model
{
public class GamePage : ComponentBase, IDisposable
{
protected const string CookieUserNickName = "UserNickName";
[Inject]
IJSRuntime jsRuntime { get... |
TeamType.cs | askeladdk/aiedit | 10 | 7043359 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.IO;
using System.Linq;
using System.Windows.Forms;
namespace AIEdit
{
public abstract class TeamTypeOption
{
protected string tag, name;
public string Tag { get { retur... |
src/BCrypt/BCrypt+DSAFIPSVERSION_ENUM.cs | yyjdelete/pinvoke | 863 | 7043360 | <reponame>yyjdelete/pinvoke<gh_stars>100-1000
// Copyright © .NET Foundation and Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace PInvoke
{
/// <content>
/// Contains the <see cref="DSAFIPSVERSION_ENUM"/> nested ... |
Assets/ZMD/[Core]/Lerp/Transform/LerpTransformMono.cs | Will9371/Playcraft | 3 | 7043361 | <filename>Assets/ZMD/[Core]/Lerp/Transform/LerpTransformMono.cs
using UnityEngine;
namespace ZMD
{
public class LerpTransformMono : MonoBehaviour
{
[SerializeField] LerpTransform location;
public void SetStart(Transform value) { location.SetStart(value); }
public void SetEnd(Tr... |
ISAAR.MSolve.Analyzers/MonteCarloSolverPCGDirectMatrixCalculator.cs | GoatOfRafin/MSolve | 2 | 7043362 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ISAAR.MSolve.Solvers.Interfaces;
using ISAAR.MSolve.Solvers.PCGSkyline;
using ISAAR.MSolve.Numerical.LinearAlgebra;
using ISAAR.MSolve.Numerical.LinearAlgebra.Interfaces;
namespace ISAAR.MSolve.Analyzers
{
p... |
Runtime/Variable.cs | popcron/scene-staging | 2 | 7043363 | using System;
using System.Runtime.CompilerServices;
using UnityEngine;
namespace Popcron.SceneStaging
{
[Serializable]
public struct Variable : IEquatable<Variable>
{
[SerializeField]
private string name;
[SerializeField]
private string value;
public string Value... |
SomeToolsForWork/Function/ConvertFloatToHex/ConvertFloatToHexViewModel.cs | ZhukovWang/SomeToolsForWork | 0 | 7043364 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SomeTools.Function.ConvertFloatToHex
{
internal class ConvertFloatToHexViewModel
{
public DelegateCommand Convent32BitsCommand { get; set; }
public DelegateCommand Conv... |
Assets/Scripts/DarciScripts/unused/ObstacleController.cs | bdudley2/DeadColors | 0 | 7043365 | <reponame>bdudley2/DeadColors
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObstacleController : MonoBehaviour
{
public float speed = 1.0f;
public Vector3 pointA;
public Vector3 pointB;
// Start
void Start()
{
pointA = this.transform.posit... |
src/Cofoundry.Samples.SPASite.Domain/Domain/Members/Definition/MemberRole.cs | cofoundry-cms/Cofoundry.Samples.SPASite | 38 | 7043366 | using Cofoundry.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Samples.SPASite.Domain
{
/// <summary>
/// Roles can be defined in code as well as in the admin panel. Defining
/// a role in code means that it g... |
Calm.Test/Lib/GetTests.cs | 2002-feb24-net/CALM-API | 0 | 7043367 | <filename>Calm.Test/Lib/GetTests.cs
using Xunit;
using System;
using System.Collections.Generic;
using Calm.Dtb;
using Moq;
using System.Linq.Expressions;
using Calm.Dtb.Models;
using System.Linq;
namespace Calm.Lib.Tests
{
public class GetTests
{
private Mock<IOutput> MOutput;
private Get Ctr... |
06. Advanced Relations/Exercises/UsersData/UsersData.Data/ModelsConfig/AlbumUserConfig.cs | pirocorp/Databases-Advanced---Entity-Framework | 0 | 7043368 | <gh_stars>0
namespace UsersData.Data.ModelsConfig
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Models;
public class AlbumUserConfig : IEntityTypeConfiguration<AlbumUser>
{
public void Configure(EntityTypeBuilder<AlbumUser> builder)
... |
Common/Cache/RedisCacheService.cs | Soho-Rab/PoolProject | 0 | 7043369 | <reponame>Soho-Rab/PoolProject
/***************************************************************************
*
* Copyright (c) 2018 苏州云链信息咨询有限公司 All Rights Reserved.
* 机器名称: DESKTOP-DF8B3JQ
* 公司名称: 苏州云链信息咨询有限公司
* 命名空间: Pool.Common.Cache
* 文件名: Class1
* 唯一标识: 5f945698-db0c-46f7-9413-6c5... |
TPresenterBase/Primitives/PrimitivesRender.cs | WounderedT/TTank2.0 | 0 | 7043370 | using SharpDX;
using SharpDX.Direct3D;
using SharpDX.Direct3D11;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TPresenter.Filesystem;
using TPresenter.Render.Resources;
using Buffer = SharpDX.Direct3D11.Buffer;
namespace TPresenter.Render
{
... |
Services/SnapshotService.cs | ray1997/ValheimSaveSnapshot | 0 | 7043371 | <reponame>ray1997/ValheimSaveSnapshot
using GalaSoft.MvvmLight.Messaging;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using System.Windows;
using ValheimSaveSnapshot.Helper;
using Valheim... |
src/SuperGlue.Monitoring/MonitoringEnvironmentExtensions.cs | forki/SuperGlue | 0 | 7043372 | using System.Collections.Generic;
namespace SuperGlue.Monitoring
{
public static class MonitoringEnvironmentExtensions
{
public static class MonitoringConstants
{
public const string MonitorHeartBeats = "superglue.MonitorHeartBeats";
}
public static IMonitorHeartBea... |
DapperDino.Web/Areas/HappyToHelp/Models/ResourceLinkViewModel.cs | DapperCoding/DapperDino-Website | 3 | 7043373 | using DapperDino.Models;
namespace DapperDino.Areas.HappyToHelp.Models
{
internal class ResourceLinkViewModel : DapperDino.Models.ResourceLinkViewModel
{
public string Link { get; set; }
public string DisplayName { get; set; }
public int? Id { get; set; }
}
} |
MSR.LST/UserControls/Toolbar/InkToolBar/ErasingAttributes.cs | weihog/ConferenceXP | 1 | 7043374 | using System;
using Microsoft.Ink;
namespace MSR.LST.Controls.InkToolBarControls
{
/// <summary>
/// Represents eraser drawing attributes.
/// </summary>
public class ErasingAttributes
{
private int m_eraserSize;
private InkOverlayEraserMode m_eraserMode;
/... |
MicrosoftGraph/Model/GroupMemberResponse.cs | gled4er/meeting-scheduler | 2 | 7043375 | using System.Collections.Generic;
using Microsoft.Graph;
namespace MicrosoftGraph.Model
{
/// <summary>
/// Group Member Response
/// </summary>
public class GroupMemberResponse
{
/// <summary>
/// List of users
/// </summary>
public List<User> Value { get; set; }
... |
Annual.cs | yyx97-1730241/JetLag | 0 | 7043376 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace jetlag
{
public class Annual
{
public int? Value { get; set; }
public Annual(int? value)
{
Value = value;
}
publi... |
src/Lykke.Service.MarketInstruments.DomainServices/AutofacModule.cs | SC-Poc/Lykke.Service.MarketInstruments | 0 | 7043377 | <gh_stars>0
using Autofac;
using JetBrains.Annotations;
using Lykke.Service.MarketInstruments.Domain.Services;
namespace Lykke.Service.MarketInstruments.DomainServices
{
[UsedImplicitly]
public class AutofacModule : Module
{
protected override void Load(ContainerBuilder builder)
{
... |
Plugin/CollectionUtil.cs | nariichi3322/poderosa | 174 | 7043379 | // Copyright 2004-2017 The Poderosa Project.
//
// 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 ... |
Services/Export/Dialog/ActionRendering/ConfigObject/LearnForgetSkillActionData.cs | steffendx/GoNorth | 419 | 7043380 | <filename>Services/Export/Dialog/ActionRendering/ConfigObject/LearnForgetSkillActionData.cs
namespace GoNorth.Services.Export.Dialog.ActionRendering.ConfigObject
{
/// <summary>
/// Learn forget action data
/// </summary>
public class LearnForgetSkillActionData
{
/// <summary>
... |
src/ChilliSource.Cloud.Web.MVC/Attributes/DateYearRangeAttribute.cs | BlueChilli/ChilliSource.Cloud.Web.MVC | 1 | 7043382 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;
namespace ChilliSource.Cloud.Web.MVC
{
/// <summary>
/// Limits a DateTime field to a particular date Range based on the current date + offset.
... |
Geckofx-Core/WebIDL/Generated/VTTCue.cs | GerHobbelt/GeckoFX-60-clone | 3 | 7043383 | namespace Gecko.WebIDL
{
using System;
public class VTTCue : WebIDLBase
{
public VTTCue(mozIDOMWindowProxy globalWindow, nsISupports thisObject) :
base(globalWindow, thisObject)
{
}
public nsISupports Region
{... |
NtApiDotNet/Win32/Security/Authentication/Kerberos/KerberosAPReplyAuthenticationToken.cs | monoxgas/sandbox-attacksurface-analysis-tools | 0 | 7043384 | <reponame>monoxgas/sandbox-attacksurface-analysis-tools
// Copyright 2020 Google Inc. All Rights Reserved.
//
// 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.or... |
src/ESFA.DC.Web.Ui/Constants/ErrorMessageKeys.cs | SkillsFundingAgency/DC-WebUI | 0 | 7043385 | <reponame>SkillsFundingAgency/DC-WebUI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DC.Web.Ui.Constants
{
public static class ErrorMessageKeys
{
public const string ErrorSummaryKey = "Summary";
public const string SubmissionOptions_... |
BigCommerceSharp/Model/WebhookBase2.cs | PrimePenguin/BigCommerceSharp | 6 | 7043386 | using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace BigCommerceSharp.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class WebhookBase2 {
/// <summary>
/// Event you subscribe to
/// </summary>
/// <value>Event you subscribe to</value>
... |
package/Runtime/Collections/OrderedSet/OrderedSetRangeComparer.cs | kempnymaciej/alchemy-navigation | 1 | 7043387 | using System;
namespace AlchemyBow.Navigation.Collections
{
/// <summary>
/// Describes a comparer that allows you to enumerate nodes of the <c>OrderedSet</c> within a specified range.
/// </summary>
/// <typeparam name="T">The type of the node value.</typeparam>
public abstract class OrderedSetRa... |
src/IEManageSystem.CMS/DomainModel/PageComponents/PageLeafSetting.cs | keyzf/IEManageSystem | 0 | 7043388 | using Abp.Domain.Values;
using System;
using System.Collections.Generic;
using System.Text;
namespace IEManageSystem.CMS.DomainModel.PageComponents
{
public class PageLeafSetting : ValueObject
{
public string PageName { get; set; }
public int PageSize { get; set; }
public int Top { g... |
src/Amazon.CloudWatch.EMF/Environment/DefaultEnvironment.cs | chrisoverzero/aws-embedded-metrics-dotnet | 12 | 7043389 | using Amazon.CloudWatch.EMF.Config;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
namespace Amazon.CloudWatch.EMF.Environment
{
public class DefaultEnvironment : AgentBasedEnvironment
{
public DefaultEnvironment(IConfiguration configuration)
: base(configu... |
Zero/CommandLine/Arguments.cs | DeyiXu/ZeroFramework | 0 | 7043390 | <reponame>DeyiXu/ZeroFramework
using System;
using System.Collections.Generic;
using System.Text;
namespace Zero.CommandLine
{
public class Arguments
{
private Dictionary<string, string> Parameters = new Dictionary<string, string>();
public Arguments()
{
}
... |
NativeiOSMasterDetail/MasterDetailDemo/CrazyCircleView.cs | fredatgithub/build2017-future-of-mobile | 18 | 7043392 | using System;
using Foundation;
using UIKit;
using CoreGraphics;
namespace MasterDetailDemo
{
public class CrazyCircleView : UIView
{
CGPoint location = new CGPoint(100, 200);
CGSize size = new CGSize(75, 75);
UIColor background = UIColor.Purple;
public CrazyCircleView()
... |
Connect4/Connect4/Player.cs | PValgento/Connect-4 | 0 | 7043393 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Connect4
{
/// <summary>
/// Simple container for a player's information.
/// </summary>
struct Player
{
/// <summary>
/// The player's name.
/// </summary>
public... |
GGJ2017/Assets/ARToolKit5-Unity/Examples/Fisticuffs/Scripts/FisticuffsController.cs | paulsmithkc/GGJ2017 | 0 | 7043394 | <filename>GGJ2017/Assets/ARToolKit5-Unity/Examples/Fisticuffs/Scripts/FisticuffsController.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class FisticuffsController : MonoBehaviour {
public static FisticuffsController Instance { get; private set; }
public int maxNumberOfCar... |
ClientForFront/AgedPoseDatabse/Migrations/20201130072702_CameraInfoAddSafeRegion.cs | cangyue080180/AiForAgedHome | 0 | 7043395 | <gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
namespace AgedPoseDatabse.Migrations
{
public partial class CameraInfoAddSafeRegion : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsU... |
EngFinder/Domain/Common/StringClasses.cs | ENGworks-DEV/Finder | 0 | 7043396 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EngFinder.Utils
{
public static class StringClasses
{
public static List<string> lstNames()
{
List<string> result = new List<string>();
result.... |
src/CoherentSolutions.Extensions.Configuration.AnyWhere.Tests/src/AnyWhereConfigurationDataPathEnumeratorTests.cs | coherentsolutionsinc/anywhere-configuration | 0 | 7043397 | <reponame>coherentsolutionsinc/anywhere-configuration<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using Xunit;
using Xunit.Abstractions;
namespace CoherentSolutions.Extensions.Configuration.AnyWhere.Tests
{
public class AnyWhereConfigurationDataPathEnumeratorTests
{
pu... |
SynologyDotNet.AudioStation/Model/Folder.cs | geloczigeri/synologydotnet-audiostation | 1 | 7043398 | using Newtonsoft.Json;
namespace SynologyDotNet.AudioStation.Model
{
public class Folder
{
[JsonProperty("id")]
public string ID { get; set; }
[JsonProperty("is_personal")]
public bool IsPersonal { get; set; }
[JsonProperty("path")]
public string Path { get; set... |
KameProgressParser/IndexField.cs | FabricioCasali/kame_progress_parser | 0 | 7043399 | namespace KameProgressParser
{
public class IndexField : Index
{
public IndexFieldSort Sort { get; set; }
public override string ToString()
{
return $"IndexField {base.ToString()} {Sort.ToString()}";
}
}
} |
GraphView/GremlinTranslation/variables/table/tvf/withoutSubquery/GremlinConstantVariable.cs | georgeycliu/k-core | 0 | 7043400 | <filename>GraphView/GremlinTranslation/variables/table/tvf/withoutSubquery/GremlinConstantVariable.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GraphView
{
internal class Greml... |
WPFCore/WPFCore/DependencyObjectExtensions.cs | nzain/WPFCore | 0 | 7043401 | <reponame>nzain/WPFCore
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Media;
namespace WPFCore
{
/// <summary>Extension methods for DependencyObject.</summary>
public static class DependencyObjectExtensions
{
/// <summary>Enumerates all visual chil... |
VrmacVideo/EncodedQueue.cs | Const-me/Vrmac | 91 | 7043402 | using System;
using System.IO;
using VrmacVideo.IO;
using VrmacVideo.Linux;
namespace VrmacVideo
{
/// <summary>V4L2 queue with encoded video frames</summary>
sealed class EncodedQueue: QueueBase<EncodedBuffer>, IDisposable
{
public readonly int bufferCapacity;
/// <summary>Round up max.sample length for pote... |
MaterialCMS/Services/EventContext.cs | DucThanhNguyen/MaterialCMS | 12 | 7043403 | <reponame>DucThanhNguyen/MaterialCMS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using MaterialCMS.Events;
using MaterialCMS.Helpers;
using MaterialCMS.Website;
using StackExchange.Profiling;
namespace MaterialCMS.Services
{
public class EventContext : IEventContext... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.