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 |
|---|---|---|---|---|
Script/LAUIHub.cs | Anarchy-Massacre-Studio/LimitedAvoidProject | 0 | 7026784 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
using UnityEngine.EventSystems;
/*
所有的ui都写在这里。
*/
namespace LA.UI
{
/// <summary>
/// 加载页面。
/// </summary>
public class UILoadingView
{
/// <summa... |
Assets/Scripts/ExternalWindowManager.cs | davidwengier/3DPinballAI | 8 | 7026785 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Text;
using System.IO;
using System.Linq;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Drawing;
using Graphics = System.Drawing.Graphics;
using System.Drawing.Imaging... |
src/Stump.DofusProtocol.Types/Types/Game/Context/Roleplay/Party/DungeonPartyFinderPlayer.cs | Hydrofluoric0/Stump | 2 | 7026786 | namespace Stump.DofusProtocol.Types
{
using System;
using System.Linq;
using System.Text;
using Stump.DofusProtocol.Types;
using Stump.DofusProtocol.Enums;
using Stump.Core.IO;
[Serializable]
public class DungeonPartyFinderPlayer
{
public const short Id = 373;
publ... |
Xamarin.Essentials/Geolocation/GeolocationRequest.uwp.cs | domagojmedo/Essentials | 5 | 7026787 | using System;
using System.Collections.Generic;
using System.Text;
namespace Xamarin.Essentials
{
public partial class GeolocationRequest
{
internal uint PlatformDesiredAccuracy
{
get
{
switch (DesiredAccuracy)
{
case ... |
Source/Managed/Tests/BlueprintsExtensibility.cs | ValleeCC/UnrealCLR | 1,986 | 7026788 | <reponame>ValleeCC/UnrealCLR<filename>Source/Managed/Tests/BlueprintsExtensibility.cs<gh_stars>1000+
using System;
using System.Drawing;
using System.Numerics;
using UnrealEngine.Framework;
namespace UnrealEngine.Tests {
public class BlueprintsExtensibility : ISystem {
private Blueprint blueprintActor;
pr... |
src/ViewModels/ViewModels.Uwp/Base/SelectableViewModelBase{T}.cs | View12138/Bili.Uwp | 4,168 | 7026789 | <reponame>View12138/Bili.Uwp
// Copyright (c) Richasy. All rights reserved.
using System.Collections.Generic;
using ReactiveUI.Fody.Helpers;
namespace Richasy.Bili.ViewModels.Uwp
{
/// <summary>
/// 可选择的视图模型.
/// </summary>
/// <typeparam name="T">数据类型.</typeparam>
public class SelectableViewMode... |
plugin/PixivApi.Plugin.UgoiraConverter.Ffmpeg/GlobalSuppressions.cs | pCYSl5EDgo/PixivApi | 2 | 7026790 | <filename>plugin/PixivApi.Plugin.UgoiraConverter.Ffmpeg/GlobalSuppressions.cs
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, membe... |
GuitarFootprint.Service/Dxos/TokenDxo.cs | zuyuz/GuitarFootprint | 0 | 7026792 | <reponame>zuyuz/GuitarFootprint<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using AutoMapper;
using GuitarFootprint.Data.Entities;
using GuitarFootprint.Domain.Commands;
using GuitarFootprint.Domain.Dtos;
using GuitarFootprint.Service.Abstraction.Dxos;
using LanguageExt;
using static ... |
Web/API/Controllers/CategoryController.cs | Coding-Yu/SHS.CMS | 0 | 7026793 | <filename>Web/API/Controllers/CategoryController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using API.Model.AuthenticationModel;
using API.Model.Category;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SHS.Application.CategoryApp... |
PtaSheet/Forms/Info/Ability.cs | formlesstree4/PokeSheet | 0 | 7026794 | 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 PtaSheet.Forms.Info
{
public partial class Ability : Form
{
public Ability()
{
Initializ... |
ZhaiFanhuaBlog.Framework/ZhaiFanhuaBlog.IRepositories/Users/IUserCollectCategoryRepository.cs | zhaifanhua/ZhaiFanhuaBlog | 1 | 7026795 | <gh_stars>1-10
// ----------------------------------------------------------------
// Copyright ©2022 ZhaiFanhua All Rights Reserved.
// FileName:IUserCollectCategoryRepository
// Guid:95d3ea7c-7c29-41a5-97ad-ad02b2c6bb1a
// Author:zhaifanhua
// Email:<EMAIL>
// CreateTime:2022-05-08 下午 09:27:55
// -------------------... |
Assets/Engine/Utilities/TooltipManager.cs | CPULL/Retro-Game-Engine | 6 | 7026796 | <filename>Assets/Engine/Utilities/TooltipManager.cs
using System.Collections;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class TooltipManager : MonoBehaviour {
static TooltipManager inst;
public GameObject Container;
public RectTransform RT;
public TextMeshProUGUI Msg;
string text = null;
... |
ASU2019_NetworkedGameWorkshop/model/character/StatusEffect.cs | Strykar1/ASU2019_NetworkedGameWorkshop | 0 | 7026797 | namespace ASU2019_NetworkedGameWorkshop.model.character
{
public struct StatusEffect
{
public enum StatusEffectType { Adder, Multiplier }
public StatusType StatusType { get; private set; }
public float Value { get; private set; }
public long RemoveEffectTimeStamp { get;... |
ModernFlyouts/Classes/StartupHelper.cs | lucasskluser/ModernFlyouts | 1 | 7026798 | <filename>ModernFlyouts/Classes/StartupHelper.cs
using System;
using System.Threading.Tasks;
using Windows.ApplicationModel;
namespace ModernFlyouts
{
internal class StartupHelper
{
private const string StartupId = "ModernFlyoutsStartupId";
public static async Task<bool> GetRunAtStartupEnable... |
commercetools.Sdk/commercetools.Sdk.Domain/TaxCategories/UpdateActions/ReplaceTaxRateUpdateAction.cs | onepiecefreak3/commercetools-dotnet-core-sdk | 12 | 7026799 | <filename>commercetools.Sdk/commercetools.Sdk.Domain/TaxCategories/UpdateActions/ReplaceTaxRateUpdateAction.cs
using System.ComponentModel.DataAnnotations;
namespace commercetools.Sdk.Domain.TaxCategories.UpdateActions
{
public class ReplaceTaxRateUpdateAction : UpdateAction<TaxCategory>
{
public stri... |
Ryujinx.Cpu/Tracking/CpuSmartMultiRegionHandle.cs | emirunlu/Ryujinx | 1 | 7026800 | using Ryujinx.Memory.Tracking;
using System;
namespace Ryujinx.Cpu.Tracking
{
public class CpuSmartMultiRegionHandle : IMultiRegionHandle
{
private readonly SmartMultiRegionHandle _impl;
public bool Dirty => _impl.Dirty;
internal CpuSmartMultiRegionHandle(SmartMultiRegionHandle impl)... |
src/Altinn.Notifications.Functions/Integrations/NotificationsClient.cs | colin-mueller-sonarsource/altinn-notifications | 0 | 7026801 | <filename>src/Altinn.Notifications.Functions/Integrations/NotificationsClient.cs
using Altinn.Notifications.Functions.Configurations;
using Altinn.Notifications.Functions.Extensions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.N... |
source/VehicleCostsMonitor.Web/Pages/Home/About.cshtml | msotiroff/Asp.Net-Core-Projects | 2 | 7026802 | @page
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2 class="text-center">About us</h2>
<div class="container">
<div class="col-md-1"></div>
<div class="col-md-10">
<div class="well">
<p>
JustMonitor.com calculates your car's gas mileage and helps to manage the vehi... |
CB2.0/Assets/Scripts/ScriptableObjects/Events/Vector3GameEvent.cs | xmliszt/CB2.0 | 3 | 7026803 | <reponame>xmliszt/CB2.0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[
CreateAssetMenu(
fileName = "BasicGameEvent",
menuName = "ScriptableObjects/GameEvents/Vector3GameEvent",
order = 0)
]
public class Vector3GameEvent : ScriptableObject
{
private read... |
Quickstart/01-Login/Controllers/HomeController.cs | TeoSlayer/auth0-aspnetcore-mvc-samples | 1 | 7026804 | <reponame>TeoSlayer/auth0-aspnetcore-mvc-samples<filename>Quickstart/01-Login/Controllers/HomeController.cs<gh_stars>1-10
using System;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
namespace SampleMvcApp.Controllers
{
public cl... |
MSAccessReportGenerator/ReportGenerator.cs | llxp/MSAccessReportGenerator | 0 | 7026805 | <filename>MSAccessReportGenerator/ReportGenerator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.EnterpriseServices;
using CLExcel_EPPlus;
using System.Text.RegularExpr... |
MvcMusicStore.Domain/Services/OrderService.cs | mjaininfo/MvcMusicStoreDDD | 386 | 7026806 | using MvcMusicStore.Domain.Entities;
using MvcMusicStore.Domain.Interfaces.Repository;
using MvcMusicStore.Domain.Interfaces.Repository.ReadOnly;
using MvcMusicStore.Domain.Interfaces.Service;
using MvcMusicStore.Domain.Services.Common;
namespace MvcMusicStore.Domain.Services
{
public class OrderService : Service... |
RtspModules/RTSP/UdpPortsWatcherSingleton.cs | zebemce/VideoGate | 3 | 7026807 | using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Text;
namespace RTSP
{
public class UdpPortsWatcherSingleton
{
private readonly HashSet<int> portsHashSet = new HashSet<int>();
private readonly o... |
src/TestFiles/Example Unity Project/Assets/Standard Assets/Example Package/Core/Scripts/Food.cs | andtechstudios/gooball | 3 | 7026808 | using UnityEngine;
namespace ExamplePackage {
public class Food : MonoBehaviour {
public float Tastiness {
get => tastiness;
set => tastiness = value;
}
[SerializeField]
private float tastiness;
}
}
|
Blog-OptionalPackages/MyEmployees-OptionalPackages/MyEmployees/Config.cs | asklar/Windows-AppConsult-Samples-DesktopBridge | 13 | 7026809 | using System;
using Newtonsoft.Json;
namespace ExportDataLibrary
{
public partial class Config
{
[JsonProperty("isCheckForUpdatesEnabled")]
public bool IsCheckForUpdatesEnabled { get; set; }
[JsonProperty("about")]
public About About { get; set; }
}
public partial cl... |
webReqTest/Program.cs | rainmakerho/webrequesttlstest | 0 | 7026810 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace webReqTest
{
class Program
{
static void Main(string[] args)
{
var url = "https://gisptest.nat.gov.tw";
Secur... |
WebApiClient.Test/Internal/AttributeExtendTest.cs | stonysong/WebApiClient | 1 | 7026811 | <reponame>stonysong/WebApiClient<filename>WebApiClient.Test/Internal/AttributeExtendTest.cs
using System;
using System.Linq;
using WebApiClient;
using Xunit;
namespace WebApiClient.Test.Internal
{
public class AttributeExtendTest
{
interface IAttribute
{
}
class MyAttribute : ... |
Source/Sundew.Base.Threading/AsyncLazy.cs | sundews/Sundew.Base | 0 | 7026812 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AsyncLazy.cs" company="Hukano">
// Copyright (c) Hukano. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.... |
sdk/dotnet/RecoveryServices/V20160601/Inputs/WeeklyRetentionFormatArgs.cs | pulumi-bot/pulumi-azure-native | 0 | 7026814 | <reponame>pulumi-bot/pulumi-azure-native
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pul... |
BoutiqueDTO/Infrastructure/Interfaces/Converters/Identity/IAuthorizeTransferConverter.cs | rubilnik4/VeraBoutique | 0 | 7026815 | using BoutiqueCommon.Models.Domain.Interfaces.Identities;
using BoutiqueDTO.Infrastructure.Interfaces.Converters.Base;
using BoutiqueDTO.Models.Implementations.Identities;
namespace BoutiqueDTO.Infrastructure.Interfaces.Converters.Identity
{
/// <summary>
/// Конвертер логина и пароля в трансферную модель
... |
GUI/Netfox.Detective/ViewModelsDataEntity/ConversationsCollections/ConversationsGroupVm.cs | mvondracek/NetfoxDetective | 35 | 7026816 | <filename>GUI/Netfox.Detective/ViewModelsDataEntity/ConversationsCollections/ConversationsGroupVm.cs
// Copyright (c) 2017 <NAME>, <NAME>, <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 Licens... |
IndustryLP/UI/Panels/UIBuildPanel.cs | NEKERAFA/TFM-UDC | 4 | 7026817 | using ColossalFramework.UI;
using IndustryLP.UI.Buttons;
using IndustryLP.Utils;
using IndustryLP.Utils.Constants;
using UnityEngine;
namespace IndustryLP.UI.Panels
{
/// <summary>
/// Defines the panel with the generator information
/// </summary>
internal class UIBuildPanel : UIPanel
{
#... |
SharpFightingEngine.Fighters.Test/Algorithms/Pathfinders/DefaultPathFinderTest.cs | Alexxtheonly/SharpFightingEngine | 0 | 7026819 | using Moq;
using SharpFightingEngine.Battlefields;
using SharpFightingEngine.Battlefields.Bounds;
using SharpFightingEngine.Fighters.Algorithms.PathFinders;
using SharpFightingEngine.Fighters.Test.Data.Algorithms.Pathfinders;
using Xunit;
namespace SharpFightingEngine.Fighters.Test.Algorithms.Pathfinders
{
public c... |
Generify.Services/Playlists/PlaylistOverviewService.cs | Nilsio63/Generify | 0 | 7026820 | using Generify.Models.Management;
using Generify.Models.Playlists;
using Generify.Repositories.Abstractions.Management;
using Generify.Repositories.Abstractions.Playlists;
using Generify.Services.Abstractions.Playlists;
using Generify.Services.Internal.Interfaces;
using SpotifyAPI.Web;
using System.Collections.Generic... |
BTDB/IOC/KeyAndType.cs | zbartos/BTDB | 0 | 7026821 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace BTDB.IOC
{
public struct KeyAndType : IEquatable<KeyAndType>
{
static readonly IEqualityComparer<object> KeyComparer = EqualityComparer<object>.Default;
public KeyAndType(object? key, Type type)
{
Key = k... |
VisualStudio/Sources/UnitTests/DomainModels/LapTests/SpeedSumTests/When_InvalidLapIsAddedDueNoFuel.cs | Heinzman/DigiRcMan | 0 | 7026822 | <reponame>Heinzman/DigiRcMan
using System;
using System.Collections.Generic;
using Elreg.HelperClasses;
using Elreg.UnitTests.TestHelper;
using NUnit.Framework;
namespace Elreg.UnitTests.DomainModels.LapTests.SpeedSumTests
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class When... |
tweetz/tweetz5/Commands/SearchCommand.cs | mike-ward/tweetz-desktop | 72 | 7026823 | using System.Windows;
using System.Windows.Input;
using tweetz5.Model;
namespace tweetz5.Commands
{
internal static class SearchCommand
{
public static readonly RoutedCommand Command = new RoutedUICommand();
public static void CommandHandler(object sender, ExecutedRoutedEventArgs ea... |
Assets/Package/Tuntenfisch/Commons/Scripts/Editor/GroupedPropertiesShaderGUI.cs | Tuntenfisch/Tuntenfisch-Commons-Package | 0 | 7026824 | <gh_stars>0
using System.Collections.Generic;
using UnityEditor;
namespace Tuntenfisch.Commons.Editor
{
public class GroupedPropertiesShaderGUI : ShaderGUI
{
#region Private Fields
private Dictionary<string, MaterialPropertyGroup> m_materialPropertyGroups;
#endregion
#region Un... |
src/EIRA.Application/EIRAAppServiceBase.cs | gladiatormaximusty/Questionnaire-Backend | 0 | 7026825 | <filename>src/EIRA.Application/EIRAAppServiceBase.cs
using System;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.IdentityFramework;
using Abp.Runtime.Session;
using EIRA.Authorization.Users;
using EIRA.MultiTenancy;
using EIRA.Users;
using Microsoft.AspNet.Identity;
namespace EIRA
{
/// ... |
Bhasha.Web/Controllers/ProfileController.cs | Bhalo-Bhasha/Bhasha | 0 | 7026826 | using System;
using System.Linq;
using System.Threading.Tasks;
using Bhasha.Common;
using Bhasha.Common.Database;
using Bhasha.Web.Exceptions;
using Bhasha.Web.Services;
using Microsoft.AspNetCore.Mvc;
namespace Bhasha.Web.Controllers
{
[ApiController]
[Route("api/profile")]
public class ProfileContro... |
XPaint/FormMain.cs | surfsky/PaintX | 0 | 7026827 | using System;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using App.Core;
using XPaint.Components;
namespace XPaint
{
public partial class FormMain : Form
{
private XCanvas _canvas;
private PropertyCollector _properties;
private bool comingBackFromShape;... |
test/Telegram.Bot.Tests.Integ/Getting Updates/WebhookTests.cs | HirbodBehnam/Telegram.Bot | 2 | 7026828 | using System.IO;
using System.Threading.Tasks;
using Telegram.Bot.Tests.Integ.Framework;
using Telegram.Bot.Types;
using Telegram.Bot.Types.Enums;
using Xunit;
using File = System.IO.File;
namespace Telegram.Bot.Tests.Integ.Getting_Updates
{
/// <remarks>
/// Webhooks should be immediately disabled because tes... |
ViewModels/ViewModelBase.cs | Whiletru3/pocbindingdmo | 0 | 7026829 | using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Text;
using DynamicData.Binding;
namespace pocbindingdmo.ViewModels
{
public class ViewModelBase : AbstractNotifyPropertyChanged
{
private readonly ViewModelBase _vm;
public ViewModelBase() : base()
{
... |
Assets/DogController.cs | d17123220/GE2-Test-2021-Starter | 0 | 7026830 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DogController : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
GetComponent<StateMachine>().ChangeState(new SeekPlayerState());
}
// Update is called once per frame
... |
src/Orchard.Web/Modules/Orchard.MediaPicker/Views/EditorTemplates/Fields/MediaPicker.Edit.cshtml | yangbingqi155/Nagrace | 2,670 | 7026831 | @model Orchard.MediaPicker.Fields.MediaPickerField
@using Orchard.MediaPicker.Settings
@{
Script.Require("jQuery").AtFoot();
var settings = Model.PartFieldDefinition.Settings.GetModel<MediaPickerFieldSettings>();
}
<fieldset>
<label for="@Html.FieldIdFor(m => m.Url)" @if(settings.Required) { <text>class=... |
TransplantingJsonConverter.Tests/ImmutableContainer.cs | bartpio/TransplantingJsonConverter | 0 | 7026832 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace TransplantingJsonConverter.Tests
{
[JsonTransplantContainer]
[JsonConverter(typeof(JsonTransplantConverter))]
public class ImmutableContainer
{
[JsonConstructor]
public ImmutableContaine... |
LegacyWrapper.Common/Wrapper/WrapperHelper.cs | jabastien/LegacyWrapper | 1 | 7026833 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.ExceptionServices;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Runt... |
Tools/1 - Common/MoCore/Window/Api/ETreeView.cs | favedit/MoCross | 3 | 7026834 | <reponame>favedit/MoCross
using System;
using System.Collections.Generic;
using System.Text;
namespace MO.Core.Window.Api {
public enum ETreeView {
TV_FIRST = 0x1100,
TVM_SETIMAGELIST = (TV_FIRST + 9),
TVSIL_NORMAL = 0
}
}
|
WatchsterSolution/Watchster.Application/Features/Commands/CreateUserCommand.cs | iulianPeiu6/WatchsterApp | 0 | 7026835 | <reponame>iulianPeiu6/WatchsterApp
using MediatR;
using Watchster.Application.Models;
namespace Watchster.Application.Features.Commands
{
public class CreateUserCommand : IRequest<UserRegistrationResult>
{
public string Email { get; set; }
public string Password { get; set; }
public ... |
EF-Adapter/CasbinDbAdapter.cs | AaqibAhamed/EF-Adapter | 4 | 7026836 | using NetCasbin.Persist;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System;
using System.Data.Entity;
using System.Threading.Tasks;
using Casbin.NET.Adapter.EF.Model;
namespace Casbin.NET.Adapter.EF
{
public class CasbinDbAdapter : IAdapter
{
private readonly CasbinD... |
Engines/FlatRedBallXNA/FlatRedBall/Input/I1DInput.cs | patridge/FlatRedBall | 0 | 7026837 | using System;
using System.Collections.Generic;
namespace FlatRedBall.Input
{
public interface I1DInput
{
float Value { get; }
float Velocity { get; }
}
public class DelegateBased1DInput : I1DInput
{
Func<float> value;
Func<float> velocity;
public DelegateBased1DInput(Func<floa... |
Assets/Scripts/Images/InstaImageSet.cs | pdyxs/QuantumInstaStories-Unity | 7 | 7026839 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu]
public class InstaImageSet : ScriptableObject
{
public Sprite baseImage;
public InstaImageState[] states;
}
|
HouseholdManager/HouseholdManager.Logic/Services/HouseholdService.cs | GalinStoychev/household-manager | 3 | 7026840 | <reponame>GalinStoychev/household-manager<filename>HouseholdManager/HouseholdManager.Logic/Services/HouseholdService.cs
using System;
using HouseholdManager.Logic.Contracts;
using HouseholdManager.Data.Contracts;
using HouseholdManager.Common.Constants;
using HouseholdManager.Models;
using HouseholdManager.Logic.Contr... |
test/ExceptionAssert.cs | richardschneider/net-money-works | 2 | 7026841 | <reponame>richardschneider/net-money-works
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MoneyWorks
{
/// <summary>
/// Asserting an <see cref="Exception"/>.
/// </summary>
public static class ExceptionAssert
{
public static T Throws<T>(A... |
MsTestToXunitConverter.xUnit/Resources/AssertInvocations/TestAreEqualMessage.cs | jschneidereit/MsTestToXunitConverter | 1 | 7026842 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MsTestToXunitConverter.xUnit
{
class TestClass
{
public void TestAreEqualMessage()
{
Assert.AreEqual(1, 2,... |
src/ClientsMetricsMiddleware.cs | Soluto/airbag | 20 | 7026843 | using System;
using System.Linq;
using App.Metrics;
using App.Metrics.Counter;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace Airbag
{
public static class ClientsMetricsMiddleware
{
public static void AddClientIdMetric(this IApplicationBuilder app)
... |
src/Exceptionless.Insulation/HealthChecks/ElasticsearchHealthCheck.cs | MatthewEskolin/Exceptionless | 1 | 7026844 | <filename>src/Exceptionless.Insulation/HealthChecks/ElasticsearchHealthCheck.cs
using System.Diagnostics;
using Elasticsearch.Net;
using Exceptionless.Core.Repositories.Configuration;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Microsoft.Extensions.Logging;
using Nest;
namespace Exceptionless.Insulation... |
Challenges/LinkedLists/LinkedLists/LinkedList.cs | thejamilah/Data-Structures-and-Algorithms | 1 | 7026845 | using System;
using System.Collections.Generic;
using System.Text;
namespace LinkedLists
{
class LinkedList
{
/// <summary>
/// Head always points to the first node in the linked list
/// </summary>
public Node Head { get; set; }
/// <summary>
/// ... |
Runtime/String/StringVariable.cs | tobiasbruch/variable-objects | 0 | 7026846 | <reponame>tobiasbruch/variable-objects
using UnityEngine;
namespace TobiasBruch.VariableObjects
{
[CreateAssetMenu(fileName = "String", menuName = "Variables/String", order = 100)]
public class StringVariable : Variable<string> { }
} |
sdk/dynatrace/Azure.ResourceManager.DynaTrace/src/Generated/Models/PlanData.Serialization.cs | sampa-msft/azure-sdk-for-net | 0 | 7026847 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.DynaTrace.Models
{
public partial class PlanData : IUtf8JsonSerializable
{
vo... |
Assets/Sickscore Games/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationCanvasEditor.cs | MassiveAkib/collab-AM | 0 | 7026848 | using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Serialization;
#if UNITY_EDITOR
using UnityEditor;
#endif
using SickscoreGames.HUDNavigationSystem;
[CustomEditor(typeof(HUDNavigationCanvas))]
public class HUDNavigationCanvasEdit... |
RtfConverter_v1.7.0/Interpreter/IRtfVisualVisitor.cs | mahongquan/ipy_rtf | 0 | 7026849 | <gh_stars>0
// -- FILE ------------------------------------------------------------------
// name : IRtfVisualVisitor.cs
// project : RTF Framelet
// created : <NAME> - 2008.05.26
// language : c#
// environment: .NET 2.0
// copyright : (c) 2004-2013 by <NAME>, Switzerland
// ---------------------------... |
mcs/class/Microsoft.Build/Test/Microsoft.Build.Execution/BuildRequestDataTest.cs | lefb766/mono | 469 | 7026850 | <reponame>lefb766/mono
//
// BuildParametersTest.cs
//
// Author:
// <NAME> (<EMAIL>)
//
// Copyright (C) 2013 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal i... |
src/Windowing/EGL/Silk.NET.EGL/EGLLibraryNameContainer.cs | martinhorcicka/Silk.NET | 1 | 7026851 | // This file is part of Silk.NET.
//
// You may modify and distribute Silk.NET under the terms
// of the MIT license. See the LICENSE file for details.
using Silk.NET.Core.Loader;
namespace Silk.NET.EGL
{
/// <summary>
/// Contains the library name of EGL.
/// </summary>
internal class EGLLibraryName... |
src/MSBuildLocator/DiscoveryType.cs | jeffkl/MSBuildLocator | 0 | 7026852 | <gh_stars>0
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.Build.Locator
{
/// <summary>
/// Enum to indicate type of Visual Studio discovery.
/// </summary>
[... |
Assets/Scripts/Enemy/EchoEffect.cs | Exoduz85/SelloutDefence | 0 | 7026853 | using UnityEngine;
public class EchoEffect : MonoBehaviour{
public float startTime;
private float timeBetweenSpawns;
private float rotation;
public GameObject echo;
private GameObject instance;
void Update(){
rotation += 5;
if(instance != null) instance.transform.localRotation = ... |
src/SeniorBlockchain/Utilities/RetryStrategy.cs | seniorblockchain/blockchain | 7 | 7026854 | <gh_stars>1-10
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace SeniorBlockchain.Utilities
{
public static class RetryStrategy
{
/// <summary>
/// Execute logic that should be retried if failure defined by <c>TException</c> occurs.
... |
src/AdventureWorksTesting/AdventureWorksUnitTesting/Framework/LocalTransactionSqlTest.cs | SimpleSqlUnitTesting/SimpleSqlUnitTesting | 4 | 7026856 | <gh_stars>1-10
using Microsoft.Data.Tools.Schema.Sql.UnitTesting;
namespace Frontiers.Impact.ImpactDB.Tests.Framework
{
public abstract class LocalTransactionSqlTest : SqlTest
{
protected override void OnBeforeInitializeTest()
{
if (TestInitializeAction == null)
{
... |
Stars/Stars/Stars/Game1.cs | hetkpatel/Video-Game-Design | 0 | 7026857 | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fram... |
src/managed/OpenLiveWriter.Interop/Com/IInternetProtocol.cs | mavstuff/OpenLiveWriter | 2,766 | 7026858 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Runtime.InteropServices;
using OpenLiveWriter.Interop.Windows;
namespace OpenLiveWriter.Interop.Com
{
/// <summary>
/// This interface provide... |
Test/UnitTests/Sce.Atf/Dom/TestAttributeType.cs | StirfireStudios/ATF | 0 | 7026859 | <reponame>StirfireStudios/ATF
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Globalization;
using NUnit.Framework;
using Sce.Atf.Dom;
namespace UnitTests.Atf.Dom
{
[TestFixture]
public class TestAttributeType : DomTest
{
[Te... |
Codigo/CatalogarPatrimonio/Core/Service/IRoleService.cs | marcosdosea/CatalogarPatrimonio | 4 | 7026860 | <filename>Codigo/CatalogarPatrimonio/Core/Service/IRoleService.cs
using System;
using System.Collections.Generic;
using System.Text;
using Core.DTO;
namespace Core.Service
{
public interface IRoleService
{
public string Editar(Aspnetroles aspnetroles);
public void Inserir(Aspnetroles aspnetrole... |
Controller/Commands/Atomic/PIM/acmdShiftPIMAttribute.cs | mff-uk/exolutio | 1 | 7026861 | <reponame>mff-uk/exolutio
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Exolutio.Controller.Commands;
using Exolutio.Model;
using Exolutio.Model.PIM;
namespace Exolutio.Controller.Commands.Atomic.PIM
{
internal class acmdShiftPIMAttribute : AtomicCommand
... |
CalcIR.Service/Validacao/ValidacaoCustodia.cs | gleitoncesar/calc-ir | 0 | 7026862 | <gh_stars>0
using CalcIR.Domain;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Text;
namespace CalcIR.Service.Validacao
{
public class ValidacaoCustodia : AbstractValidator<Custodia>
{
}
}
|
SQLCheck/SQLCheck/TLSInfo.cs | microsoft/CSS_SQL_Networking_Tools | 28 | 7026863 | <reponame>microsoft/CSS_SQL_Networking_Tools
using System;
using System.Data;
namespace SQLCheck
{
class TLSInfo
{
public string SSL20 = "";
public string SSL30 = "";
public string TLS10 = "";
public string TLS11 = "";
public string TLS12 = "";
public string TLS... |
GrobExp.Compiler.Tests/TestLabels.cs | skbkontur/GrobExp.Compiler | 17 | 7026864 | <reponame>skbkontur/GrobExp.Compiler
using System;
using System.Linq.Expressions;
using NUnit.Framework;
namespace GrobExp.Compiler.Tests
{
[TestFixture]
public class TestLabels
{
[Test]
public void Test1()
{
var target = Expression.Label(typeof(int));
Expr... |
Sources/TextMining/Core/TextMining.Core/Common/DataContracts/InputParamsBase.cs | elzin/SentimentAnalysisService | 2 | 7026865 | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace TextMining.Core
{
/// <summary>
///
/// </summary>
[DataContract]
[Serializable]
public abstract class InputParamsBase
{
public InputParamsBase( string inputText, InputTextFormat inputTex... |
src/DocaLabs.Http.Client/Binding/Serialization/RequestSerializationAttribute.cs | alexey-kadyrov/DocaLabs.Http.Client | 0 | 7026866 | <gh_stars>0
using System;
using System.Net;
using System.Threading.Tasks;
using DocaLabs.Http.Client.Utils;
namespace DocaLabs.Http.Client.Binding.Serialization
{
/// <summary>
/// Defines base class for attributes that are used to serialize objects into a web request stream.
/// </summary>
[Attribute... |
CottonDBMS/CottonDBMS.GinApp/Dialogs/BusyDialog.cs | bohntech/RFIDGinDataManagement | 2 | 7026867 | //Licensed under MIT License see LICENSE.TXT in project root folder
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 CottonDBMS.GinApp.Dialogs
... |
src/Comformation/Generated/GuardDuty/Filter/Condition.cs | stanb/Comformation | 17 | 7026868 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.GuardDuty.Filter
{
/// <summary>
/// AWS::GuardDuty::Filter Condition
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-guardduty-filter-condi... |
tests/Conventions/Naming.cs | blairconrad/SelfInitializingFakes | 8 | 7026869 | <reponame>blairconrad/SelfInitializingFakes
namespace SelfInitializingFakes.Tests.Conventions
{
using System;
using System.Linq;
using System.Reflection;
using FluentAssertions;
using Xunit;
public class Naming
{
[Fact]
public void All_exception_names_should_end_... |
src/Millarow.Win32/WinForms/GlobalHotkey.cs | mcculic/millarowframework | 0 | 7026870 | using Millarow.Win32.User32;
using System;
using System.Windows.Forms;
using static Millarow.Win32.User32.User32Const;
namespace Millarow.Win32.WinForms
{
public class GlobalHotkey
{
public GlobalHotkey(Form form, short globalAtomId)
{
form.AssertNotNull(nameof(form));... |
addressbook_tests_white/addressbook_tests_white/Tests/GroupRemovalTest.cs | tpichurina/c-_training | 0 | 7026871 | using NUnit.Framework;
using System.Collections.Generic;
namespace addressbook_tests_white
{
[TestFixture]
public class GroupRemovalTests : TestBase
{
[Test]
public void TestGroupRemoval()
{
if (!app.Groups.IsMoreThenOne())
{
GroupData newG... |
Programming EF 2nd Edition/2e Chapter 27 ASP.NET Apps/Repositories/CustomerRepository.cs | julielerman/ProgrammingEntityFrameworkBook | 3 | 7026874 | using System.Collections.Generic;
using System.Linq;
using BAGA.Repository.Interfaces;
namespace BAGA.Repository.Repositories
{
public class CustomerRepository: IEntityRepository<Customer>
{
private readonly IContext _context;
public CustomerRepository(IContext context)
{
_co... |
OpenSky.Client/Tools/AssemblyVersionExtension.cs | opensky-to/client | 0 | 7026875 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyVersionExtension.cs" company="OpenSky">
// OpenSky project 2021-2022
// </copyright>
// -----------------------------------------------------------------------------------... |
SmartLife.Applications/SmartLife.Client.Merchant/frmWorkOrderProcessed.cs | rhuber1279/SmartLifeForDotNet | 3 | 7026876 | <filename>SmartLife.Applications/SmartLife.Client.Merchant/frmWorkOrderProcessed.cs
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;
using win.core.controls;
using win.core.utils;
usi... |
FormsTestProject/FormsTestProject.Android/MainActivity.cs | Lelelo1/NativeObject | 0 | 7026877 | using System;
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Xamarin.Forms;
using Namespace;
namespace FormsTestProject.Droid
{
[Activity(Label = "FormsTestProject", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLaunc... |
test/Microsoft.Health.Dicom.Tests.Integration/Persistence/IndexDataStoreTests.ExtendedQueryTag.cs | wbalbo/dicom-server | 205 | 7026878 | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
NFL/FantasyData.NFL/Properties/AssemblyInfo.cs | pzadafiya/FantasyDataAPI | 0 | 7026880 | <reponame>pzadafiya/FantasyDataAPI
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("FantasyData.NFL")]
[assembly: AssemblyDescription(".NET client wrapper for the FantasyData NFL API")]
[assembly: AssemblyConfiguration("")]
[assembly: Asse... |
RailgunNet/Logic/RailCommand.cs | araex/RailgunNet | 1 | 7026881 | <filename>RailgunNet/Logic/RailCommand.cs
/*
* RailgunNet - A Client/Server Network State-Synchronization Layer for Games
* Copyright (c) 2016-2018 - <NAME> - http://ashoulson.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for ... |
test/EFCore.Relational.Tests/TestUtilities/FakeProvider/FakeRelationalTypeMapper.cs | pmiddleton/EntityFramework | 1 | 7026882 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Data;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Sto... |
NeverBounceApi/Requests/JobsEndpoint.cs | wieslawo/NeverBounceApi-DotNet | 0 | 7026883 | <filename>NeverBounceApi/Requests/JobsEndpoint.cs
// Author: <NAME> <<EMAIL>>
//
// Copyright (c) 2017 NeverBounce
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, ... |
src/Implementations/Android/SharpReact.Android.8_1/Props/TextView.cs | MihaMarkic/SharpReact | 2 | 7026884 | <reponame>MihaMarkic/SharpReact
using SharpReact.Core;
using SharpReact.Core.Properties;
using System.Collections.Generic;
namespace SharpReact.Android.Props
{
public partial class TextView: View
{
public ReactParam<global::Android.Text.Util.MatchOptions>? AutoLinkMask { get; set; }
public ReactParam<global::And... |
src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.cs | Aviv-Yaniv/azure-powershell | 3,336 | 7026886 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... |
Assembly-CSharp/FlyingTextIdComparer.cs | FreyaFreed/mordheim | 4 | 7026887 | using System;
using System.Collections.Generic;
public class FlyingTextIdComparer : global::System.Collections.Generic.IEqualityComparer<global::FlyingTextId>
{
public bool Equals(global::FlyingTextId x, global::FlyingTextId y)
{
return x == y;
}
public int GetHashCode(global::FlyingTextId obj)
{
return (in... |
Assets/DeLightingTool/Editor/Internal/DelightingUI.cs | jk6699/kkkkkkkkkkkk | 0 | 7026888 | <filename>Assets/DeLightingTool/Editor/Internal/DelightingUI.cs
using System;
namespace UnityEditor.DelightingInternal
{
internal static class DelightingUI
{
[Flags]
internal enum Display
{
Normal = 0,
SectionInput = 1 << 0,
SectionDelighting = 1 << 1... |
VoteCounter/MainForm.Designer.cs | RoyAwesome/VoteCounter | 0 | 7026889 |
namespace VoteCounter
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <pa... |
src/Msfx.DITests/AttributeBasedDIContext_CurrentNamespace_IntgTests.cs | adansari/Msfx.DI | 1 | 7026890 | using FakeTypes.For.DITests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics.CodeAnalysis;
namespace Msfx.DI.Tests
{
[ExcludeFromCodeCoverage]
[TestClass]
public class AttributeBasedDIContext_CurrentNamespace_IntgTests
{
DIContext diCtx;
[TestInitialize]
... |
XamMef/XamMef.Shared/AppExportResolver.cs | matthewrdev/xamarin.forms-mef | 1 | 7026891 | <reponame>matthewrdev/xamarin.forms-mef
using System;
using System.Collections.Generic;
using System.Reflection;
using Acr.UserDialogs;
using MFractor.IOC;
using XamMef.Shared;
[assembly: DeclareExportResolver(typeof(AppExportResolver))]
namespace XamMef.Shared
{
public class AppExportResolver : AssemblyComposit... |
SizingServers.IPC.TestSender/Program.cs | sizingservers/sizingservers.ipc | 0 | 7026892 | /*
Original author: <NAME>, dev at Sizing Servers Lab (https://www.sizingservers.be) @ University College of West-Flanders, Department GKG
Written in 2015
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.