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 |
|---|---|---|---|---|
backend/TripBooker.TransportService/Repositories/EventTimestampRepository.cs | TPiechocki/TripBooker | 0 | 7036558 | <reponame>TPiechocki/TripBooker
using MongoDB.Driver;
using TripBooker.Common;
namespace TripBooker.TransportService.Repositories;
internal interface IEventTimestampRepository
{
Task CreateOne(string id, DateTime timestamp, CancellationToken cancellationToken);
Task<EventTimestamp?> QueryOne(string id, Canc... |
Tests/Schema/DummyCompletionSource.cs | KirillOsenkov/MonoDevelop.Xml | 5 | 7036559 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion;
using Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data;
using Microsoft.VisualStudio.Text;
usin... |
src/CMS/CMSAdminControls/Debug/QueryLog.ascx.cs | Kentico/xperience-module-intercom | 1 | 7036560 | <filename>src/CMS/CMSAdminControls/Debug/QueryLog.ascx.cs
using System;
using CMS.Base.Web.UI;
using CMS.Helpers;
using CMS.UIControls;
public partial class CMSAdminControls_Debug_QueryLog : QueryLog
{
protected override void OnPreRender(EventArgs e)
{
base.OnPreRender(e);
Visi... |
src/CacheMeIfYouCan/Configuration/IIncrementalCachedObjectConfigurationManager.cs | ncomben/CacheMeIfYouCan | 6 | 7036561 | using System;
using CacheMeIfYouCan.Events.CachedObject;
namespace CacheMeIfYouCan.Configuration
{
public interface IIncrementalCachedObjectConfigurationManager<T, TUpdates>
{
IIncrementalCachedObjectConfigurationManager_WithRefreshInterval<T, TUpdates> WithRefreshInterval(TimeSpan refreshInterval);
... |
KB.Dapper/DapperUnitOfWork.cs | comm100architects/KB | 0 | 7036562 | using Comm100.Domain.Uow;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;
using System.Transactions;
namespace KB.Dapper
{
public class DapperUnitOfWork : IUnitOfWork
{
private TransactionScope _transactionScope;
private IDbConnec... |
tests/LinkIt.Tests/Core/SubLinkedSourcesTests.cs | fynnen/LinkIt | 0 | 7036563 | <reponame>fynnen/LinkIt
// Copyright (c) CBC/Radio-Canada. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LinkIt.ConfigBuilders;
using LinkIt.PublicApi;
using Li... |
Source/Tools/HistorianPlaybackUtility/CreateOutputStream/Model/OutputStream.cs | SRM256/gsf | 131 | 7036564 | //******************************************************************************************************
// OutputStream.cs - Gbtc
//
// Copyright © 2017, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// th... |
src/DSharp.Compiler/Errors/CompilerError.cs | isc30/dsharp | 0 | 7036565 | using System;
namespace DSharp.Compiler.Errors
{
public struct CompilerError : IEquatable<CompilerError>
{
public CompilerError(ushort errorCode, string description)
: this(errorCode, description, string.Empty)
{
}
public CompilerError(ushort errorCode, string desc... |
tcpTrigger/Classes/PacketHeader.cs | R-Smith/tcpTrigger | 105 | 7036566 | <reponame>R-Smith/tcpTrigger<filename>tcpTrigger/Classes/PacketHeader.cs
using System;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Text;
namespace tcpTrigger
{
public enum Protocol
{
ICMP = 1,
TCP = 6,
UDP = 17,
Unknown = -1
}
... |
BlockMountain.TradingView/ITradingViewProvider.cs | bmresearch/TradingView | 1 | 7036567 | <reponame>bmresearch/TradingView<gh_stars>1-10
using BlockMountain.TradingView.Models;
using System;
using System.Threading.Tasks;
using TradingView.Models;
namespace BlockMountain.TradingView
{
/// <summary>
/// Specifies functionality for a TradingView data provider.
/// </summary>
public interface ... |
Symbioz.Protocol/Types/Types/game/data/items/effects/ObjectEffectDate.cs | CarlCochet/Symbioz | 2 | 7036568 |
// Generated on 06/04/2015 18:45:33
using System;
using System.Collections.Generic;
using System.Linq;
using Symbioz.Utils;
namespace Symbioz.DofusProtocol.Types
{
public class ObjectEffectDate : ObjectEffect
{
public const short Id = 72;
public override short TypeId
{
get { return Id; }
}
pu... |
src/SDL.SignalR.Backplane.Common/HubLoader.cs | isabella232/SignalR-SignalRMessageBus | 3 | 7036569 | <filename>src/SDL.SignalR.Backplane.Common/HubLoader.cs
using System;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
using Microsoft.... |
Examples/WPF/Ex03_Ultimate/ShoppingData.cs | abnaki/windows | 0 | 7036570 | namespace Ex03_Ultimate
{
public partial class ShoppingData
{
public partial class ItemRow
{
public override string ToString()
{
return base.ToString() + " " + Name;
}
}
}
}
|
src/Websites/Websites.Autorest/generated/api/Models/Api20201201/StaticSiteBuildProperties.json.cs | Aviv-Yaniv/azure-powershell | 1 | 7036571 | <filename>src/Websites/Websites.Autorest/generated/api/Models/Api20201201/StaticSiteBuildProperties.json.cs<gh_stars>1-10
// 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) Auto... |
CSharp programing part 1/2. Primitive Data Types and Variables/InitializeCharVariable/InitializeCharVariable.cs | razsilev/TelerikAcademy_Homework | 0 | 7036572 | using System;
class InitializeCharVariable
{
static void Main()
{
// Declare a character variable and assign it
// with the symbol that has Unicode code 72.
char unicode72 = (char)72;
//char c = '\u0048';
//Console.WriteLine(c);
... |
Assets/FollowThePath.cs | DanarHikmah/GameSKS | 2 | 7036573 | using UnityEngine;
public class FollowThePath : MonoBehaviour {
public Transform[] waypoints;
[SerializeField]
private float moveSpeed = 1f;
[HideInInspector]
public int waypointIndex = 0;
public bool moveAllowed = false;
// Use this for initialization
private void Start () {
tr... |
BrotliLib/Brotli/Dictionary/Source/OpenFileSource.cs | chylex/Brotli-Builder | 4 | 7036574 | <reponame>chylex/Brotli-Builder<gh_stars>1-10
using System.IO;
namespace BrotliLib.Brotli.Dictionary.Source{
/// <summary>
/// Reads dictionary words from a file, which will stay open and block write access until disposed.
/// </summary>
public sealed class OpenFileSource : StreamSource{
publi... |
generator/AWSPSGeneratorLib/Utils/ResourceHelper.cs | ajsing/aws-tools-for-powershell | 181 | 7036575 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;
namespace AWSPowerShellGenerator.Utils
{
internal static class ResourceHelper
{
public static Stream GetResourceStream(string resourceName)
{
Assembly ass... |
Source/EasyCNTK/SequentialMultiOutput.cs | StanislavGrigoriev/EasyCNTK | 19 | 7036576 | //
// Copyright (c) <NAME>. All rights reserved.
// <EMAIL>
// https://github.com/StanislavGrigoriev/EasyCNTK
//
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//
using CNTK;
using EasyCNTK.Layers;
using Sy... |
Solutions/Corvus.DotLiquidAsync/DotLiquid/Util/WeakTable.cs | corvus-dotnet/dotliquidasync | 1 | 7036577 | <filename>Solutions/Corvus.DotLiquidAsync/DotLiquid/Util/WeakTable.cs
// <copyright file="WeakTable.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
// Derived from code under the Apache 2 License from https://github.com/dotliquid/dotliquid
namespace DotLiquid.Util
{
... |
src/Binaron.Serializer.Tests/InvalidNonConcreteTests.cs | JTOne123/Binaron.Serializer | 0 | 7036578 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Binaron.Serializer.Tests.Extensions;
using NUnit.Framework;
namespace Binaron.Serializer.Tests
{
public class InvalidNonConcreteTests
{
[TestCaseSource(nameof(TestCases))]
public void C... |
PlantaPiloto/PlantaPiloto/Enums/EnumVarType.cs | SamirAlonsoUBU/TFG | 0 | 7036579 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PlantaPiloto.Enums
{
public enum EnumVarType
{
Integer,
Float,
String
}
}
|
MMSB_variational/Source/Distributions/Discrete.cs | dtrckd/Mixed-Membership-Stochastic-Blockmodel | 18 | 7036580 | // (C) Copyright 2008 Microsoft Research Cambridge
using System;
using System.Collections.Generic;
using System.Text;
using MicrosoftResearch.Infer.Maths;
using MicrosoftResearch.Infer.Utils;
using MicrosoftResearch.Infer.Factors;
using System.Xml.Serialization;
namespace MicrosoftResearch.Infer.Distributions... |
root_VS2012_TemplateBase/programs/C#/Frameworks/Infrastructure/CustomControl/RichClient/PropertyGrid/EditPadding.cs | ishisaka/OpenTouryo | 1 | 7036581 | //**********************************************************************************
//* Copyright (C) 2007,2014 Hitachi Solutions,Ltd.
//**********************************************************************************
#region Apache License
//
// Licensed to the Apache Software Foundation (ASF) under one or more
... |
TheMVCRequestLifeCycle/TheMVCRequestLifeCycle/Controllers/CustomController.cs | HosseinTraining/TheMVCRequestLifeCycle | 0 | 7036582 | using System.Web.Mvc;
using System.Web.Routing;
using TheMVCRequestLifeCycle.Models;
namespace TheMVCRequestLifeCycle.Controllers
{
public class CustomController : IController
{
private ILogger _logger;
public CustomController(ILogger logger)
{
_logger = logger;
}
... |
Assets/Sisus/Power Inspector/Code/Editor/Drawers/Property/PropertyDrawerDrawer.cs | rafaeldolfe/MasterServerChess | 0 | 7036583 | #define PI_ENABLE_UI_SUPPORT
#define DEBUG_ENABLED
//#define ENABLE_INDENT_FIX_HACK
#define ALWAYS_USE_WIDEMODE
//#define DRAW_LABEL_RESIZE_CONTROL
#define SAFE_MODE
using System;
using UnityEngine;
using System.Reflection;
using JetBrains.Annotations;
using UnityEditor;
using Object = UnityEngine.Object;
#if UNITY... |
Seed.Infrastructure/AuthZero/AuthZeroToken.cs | mravinale/net-core-api | 1 | 7036584 | <reponame>mravinale/net-core-api<filename>Seed.Infrastructure/AuthZero/AuthZeroToken.cs<gh_stars>1-10
using System;
namespace Seed.Infrastructure.AuthZero
{
/// <summary>
/// Token provided by Auth0 Authentication API (POST https://{yourdomain}.auth0.com/oauth/token)
/// </summary>
public class AuthZe... |
hackerrank/c#/3DSurfaceArea.cs | viacheslave/algo | 0 | 7036585 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HackerRank
{
internal class _3DSurfaceArea
{
class Result
{
/*
* Complete the 'surfaceArea' function below.
*
* The functi... |
src/NGenerics.Tests/DataStructures/General/GraphTests/BreadthFirstTraversal.cs | ngenerics/ngenerics | 93 | 7036586 | /*
Copyright 2007-2017 The NGenerics Team
(https://github.com/ngenerics/ngenerics/wiki/Team)
This program is licensed under the MIT License. You should
have received a copy of the license along with the source code. If not, an online copy
of the license can be found at https://opensource.org/licenses/MIT.
*... |
MMDB.Azure.Management/IAzureClient.cs | mmooney/MMDB.Azure | 1 | 7036587 | <gh_stars>1-10
using MMDB.Azure.Management.AzureDto.AzureAffinityGroup;
using MMDB.Azure.Management.AzureDto.AzureCloudService;
using MMDB.Azure.Management.AzureDto.AzureLocation;
using MMDB.Azure.Management.AzureDto.AzureStorage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
n... |
Core/Kernel/Abilities/CharacterAbilityFlags.cs | korreckj328/OpenVIII-monogame | 208 | 7036588 | using System;
using System.Diagnostics.CodeAnalysis;
namespace OpenVIII
{
namespace Kernel
{
[SuppressMessage("ReSharper", "UnusedMember.Global")]
[Flags]
public enum CharacterAbilityFlags : uint
{
None = 0x0,
Mug = 0x1,
MedData = 0x2,
... |
Restaurant/Views/SignInView.xaml.cs | TFphoenix/wpf-restaurant | 0 | 7036589 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
src/BullOak.Repositories.NEventStore.Test.Integration/StepDefinitions/RawStreamSpecs.cs | skleanthous/BullOak.Repositories.NEventStore | 0 | 7036590 | <reponame>skleanthous/BullOak.Repositories.NEventStore<gh_stars>0
namespace BullOak.Repositories.NEventStore.Test.Integration.StepDefinitions
{
using System;
using System.Linq;
using BullOak.Repositories.NEventStore.Test.Integration.Contexts;
using FluentAssertions;
using global::NEventStore;
u... |
Todo.Web/GraphQL/Books/BookType.cs | chneau/example-todo-aspnet-react | 0 | 7036591 | <reponame>chneau/example-todo-aspnet-react<filename>Todo.Web/GraphQL/Books/BookType.cs
using HotChocolate.Resolvers;
using HotChocolate.Types;
using Todo.Web.Data;
namespace Todo.Web.GraphQL.Books
{
public class BookType : ObjectType<Book>
{
protected override void Configure(IObjectTypeDescriptor<Book>... |
Programming Fundamenals January 2018/04. MethodsDebugging/MethodsDebugging Lab/04. Draw a Filled Square/DrawAFilledSquare.cs | delian1986/C-SoftUni-repo | 3 | 7036592 | <reponame>delian1986/C-SoftUni-repo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04.Draw_a_Filled_Square
{
class DrawAFilledSquare
{
static void Main(string[] args)
{
int sizeOfFigure = int.Parse(Cons... |
LazyFanComixMod/Heroes/HeroPromoCardControllers/HakaVigorCharacterCardController.cs | Ruduen/SotMLazyFanComix | 2 | 7036593 | using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using LazyFanComix.HeroPromos;
using System.Collections;
using System.Collections.Generic;
namespace LazyFanComix.Haka
{
public class HakaVigorCharacterCardController : PromoDefaultCharacterCardController
{
public H... |
Assets/Scripts/SlopeController.cs | Ramter77/SkiVR | 1 | 7036594 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SlopeController : Singleton<SlopeController>
{
public Transform slope;
[Header ("Angle")]
public float slopeAngle = 15;
public float slopeAngleMultiplier = 1;
[Header ("Speed")]
public f... |
MainForm.Designer.cs | master131/Black-Ops-II-Sound-Studio | 14 | 7036595 | namespace BlackOps2SoundStudio
{
sealed partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
MovingPlatforms/Source/SplinePlatform.cs | elix22/Urho.Net-Samples | 7 | 7036596 | <gh_stars>1-10
// Copyright (c) 2020-2021 <NAME> (a.k.a elix22)
// Copyright (c) 2008-2021 the Urho3D project.
//
// 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, incl... |
src/CQSplit/CQSplit.Messaging.Tests/TestCommand.cs | ronanmoriarty/cqrs-nu-tutorial | 0 | 7036597 | using System;
using System.Diagnostics.CodeAnalysis;
namespace CQSplit.Messaging.Tests
{
[ExcludeFromCodeCoverage]
public class TestCommand : ICommand
{
public Guid Id { get; set; }
public Guid AggregateId { get; set; }
}
} |
src/Scim/SimpleIdServer.Scim/DTOs/ProvisioningConfigurationResult.cs | gabrielemilan/SimpleIdServer | 0 | 7036598 | // Copyright (c) SimpleIdServer. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using SimpleIdServer.Scim.Domain;
using SimpleIdServer.Scim.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
namespace SimpleIdSe... |
sbid/Checker.cs | LauZyHou/sbid-ava | 11 | 7036599 | <reponame>LauZyHou/sbid-ava
using sbid._M;
using sbid._VM;
using System.Collections;
namespace sbid
{
public class Checker
{
#region 通用
// 检查参数表中是否包含给定的名字
public static bool ParamList_Contain_Name(IEnumerable paramlist, string name)
{
foreach (Attribute attribute i... |
Assets/Scripts/Ui/MakeTextDisappearAfterTime.cs | theGusPassos/Broken-Delivery-Service | 0 | 7036600 | using TMPro;
using UnityEngine;
namespace Assets.Scripts.Ui
{
public class MakeTextDisappearAfterTime : MonoBehaviour
{
private TextMeshProUGUI mesh;
private float timeToDisappear;
private float speedToDisappear;
private float currentTime;
private void Start()
... |
src/Dotnet5.GraphQL3.Repositories.Abstractions/Pages/PageInfo.cs | vKarter/Dotnet5.GraphQL3.WebApplication | 0 | 7036601 | namespace Dotnet5.GraphQL3.Repositories.Abstractions.Pages
{
public class PageInfo
{
public int Current { get; set; }
public int Size { get; set; }
public bool HasPrevious { get; set; }
public bool HasNext { get; set; }
}
} |
MCPE.AlphaServer/Packets/UnconnectedPongPacket.cs | atipls/MCPE.AlphaServer | 7 | 7036602 | <reponame>atipls/MCPE.AlphaServer
using System;
using System.Collections.Generic;
using System.Text;
using MCPE.AlphaServer.Utils;
namespace MCPE.AlphaServer.Packets {
public class UnconnectedPongPacket : Packet {
public RakTimestamp TimeSinceStart;
public ulong Guid;
public string Data;
... |
src/Couchbase/Utils/IIpEndPointService.cs | csmarvz/couchbase-net-client | 211 | 7036603 | <gh_stars>100-1000
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Couchbase.Core.Configuration.Server;
#nullable enable
namespace Couchbase.Utils
{
/// <summary>
/// Provides helpers for resolving IP endpoints.
/// </summary>
internal interface IIpEndPointService
{
... |
Common/Webi.Wechat.Web.Core/Models/EFModels/MiddlewareDB/CommonCityWeather.cs | amwitx/Amw.Core | 0 | 7036604 | using System;
using System.Collections.Generic;
namespace Webi.Wechat.Web.Core.Models.EFModels.MiddlewareDB
{
public partial class CommonCityWeather
{
public int Id { get; set; }
public string CityCode { get; set; }
public string CityName { get; set; }
public int? Wendu { get; ... |
GraphicalEngine/Components/Meshes/Triangle.cs | PjuralSzymon/GraphicalEngine | 0 | 7036605 | <filename>GraphicalEngine/Components/Meshes/Triangle.cs
using System;
using System.Collections.Generic;
using System.Numerics;
namespace GraphicalEngine.Components.Meshes
{
public class Triangle
{
public Vector4 A;
public Vector4 B;
public Vector4 C;
private Line[] lines = ne... |
_Helper Plugins/POSTagCategoryCounts/POSTagCategoryCounts.cs | BUTTER-Tools/CoreNLP.NET.POS.Tagger | 1 | 7036606 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using PluginContracts;
using TaggerOutputObjectLibrary;
using OutputHelperLib;
namespace POSTagCategoryCounts
{
public class POSTagCategoryCounts : Plugin
{
public string[] InputType { ge... |
Microsoft.DotNet.Arsub/Options/ConfigurableCommandLineOptions.cs | rokonec-microsoft/arsub | 0 | 7036608 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using CommandLine;
using Microsoft.DotNet.Arsub.Operations;
using System;
namespace Microsoft.DotNet.Arsub.Options... |
Src/Lsj.Util.Win32/Enums/WLAN_INTF_OPCODE.cs | sdzxwxlsj/lsjutil | 3 | 7036609 | <filename>Src/Lsj.Util.Win32/Enums/WLAN_INTF_OPCODE.cs
namespace Lsj.Util.Win32.Enums
{
/// <summary>
/// <para>
/// The <see cref="WLAN_INTF_OPCODE"/> enumerated type defines various opcodes used to set and query parameters on a wireless interface.
/// </para>
/// <para>
/// From: <see href="h... |
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SqlClientEventSource.NetCoreApp.cs | watfordgnf/SqlClient | 0 | 7036610 | <reponame>watfordgnf/SqlClient
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics.Tracing;
using System.Threading;
namespace M... |
WlToolsLib/DataShell/DataShell.cs | wlfsky/WLToolsLib | 0 | 7036611 | <reponame>wlfsky/WLToolsLib<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WlToolsLib.Expand;
namespace WlToolsLib.DataShell
{
#region --包装返回类型--
/// <summary>
/// 实验功能
/// 泛型返回数据,用于包装返回数据
/// 内设置Success是否成功,时间... |
Master/Nucleus.Gaming.Coop.Api/ApiConnection.cs | lucasassislar/splitplaypc | 807 | 7036612 | <reponame>lucasassislar/splitplaypc
////using RestSharp;
//using Newtonsoft.Json;
//using System;
//using System.Collections.Generic;
//using System.IO;
//using System.Linq;
//using System.Net;
//using System.Net.Http;
//using System.Net.Http.Headers;
//using System.Text;
//using System.Threading.Tasks;
//namespace N... |
RemoteWindowsAgent/Returns/ReturnValues.cs | seanmccay/active-directory-webservice | 0 | 7036613 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Linq;
using System.Text.RegularExpressions;
namespace RemoteWindowsAgent
{
//remaining strings are internal use only - no I18n needed
[Serializable]
... |
src/System.Xml.ReaderWriter/tests/XmlReader/ReadContentAs/ReadAsDateTimeOffsetElementContentTests.cs | Realtao/corefx | 3 | 7036614 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Xml.Tests
{
public class DateTimeOffsetElementContentTests
{
[Fact]
public static void ReadElementContentAsDateTi... |
MDump/MDump/frmAbout.Designer.cs | mrkline/MDump | 0 | 7036615 | <filename>MDump/MDump/frmAbout.Designer.cs
namespace MDump
{
partial class frmAbout
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
MapsDownloader/carto/Wms.cs | RaiaSoftwareInc/tacview.add-ons.cs | 0 | 7036616 |
namespace M2000D.carto
{
using Maps_Downloader.carto;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using ... |
WzComparerR2/CharaSimControl/ItemTooltipRender2.cs | Elem8100/WzComparerR2-Plus | 18 | 7036617 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
using Resource = CharaSimResource.Resource;
using WzComparerR2.PluginBase;
using WzComparerR2.WzLib;
using WzComp... |
SqueegeeLM-ASP.NET/SqueegeeLM.Services/Contracts/IAddressService.cs | MirelaMileva/ASP.NET-Core-Project-SqueegeeLM | 0 | 7036618 | <reponame>MirelaMileva/ASP.NET-Core-Project-SqueegeeLM<filename>SqueegeeLM-ASP.NET/SqueegeeLM.Services/Contracts/IAddressService.cs
namespace SqueegeeLM.Services.Contracts
{
using SqueegeeLM.Data.Models;
public interface IAddressService
{
Address CreateAddress(string country, string street, string... |
Lib.SpotifyAPI.Web/Enums/TimeRangeType.cs | SimonG96/WindowsHelper | 1 | 7036619 | using System;
namespace Lib.SpotifyAPI.Web.Enums
{
/// <summary>
/// Only one value allowed
/// </summary>
[Flags]
public enum TimeRangeType
{
[String("long_term")]
LongTerm = 1,
[String("medium_term")]
MediumTerm = 2,
[String("short_term")]
... |
src/Sample/Simple/Infrastruction/Repository/SqlSugar/UserRepository.cs | 861191244/miniDDD | 4 | 7036620 | <reponame>861191244/miniDDD
using System;
using System.Linq;
using DDD.Simple.Domain.Events;
using DDD.Simple.Model;
using EasyUnitOfWork;
using MiniDDD;
using SqlSugar;
using User = DDD.Simple.Domain.User;
namespace DDD.Simple.Repository.SqlSugar
{
public class UserRepository :
Repository<User, Guid>
... |
DicomGrep/Services/ConfigurationService.cs | celeron533/DicomGrep | 4 | 7036622 | <reponame>celeron533/DicomGrep
using DicomGrep.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.Json;
namespace DicomGrep.Services
{
public class ConfigurationService
{
private static Configuration CurrentConfi... |
src/BizTalk.Pipeline.Components/MicroComponent/ContextPropertyExtractor.cs | icraftsoftware/BizTalk.Factory | 4 | 7036623 | #region Copyright & License
// Copyright © 2012 - 2019 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... |
src/Ethereum.Blazor.Metamask/Extensions/ServiceCollectableExtension.cs | kostyamospan/Nethereum.Blazor.Metamask | 2 | 7036624 | using Ethereum.Blazor.Metamask.Abstractions;
using Microsoft.Extensions.DependencyInjection;
namespace Ethereum.Blazor.Metamask.Extensions
{
public static class ServiceCollectableExtension
{
public static void AddBlazorMetamask(this IServiceCollection services)
{
services.AddSingle... |
MdlpApiClient/DataContracts/MemberOptions.cs | cm4ker/MdlpClient | 12 | 7036625 | <gh_stars>10-100
namespace MdlpApiClient.DataContracts
{
using System.Runtime.Serialization;
/// <summary>
/// 8.9.2. Метод для изменения данных организации, в которой зарегистрирован текущий
/// Для изменения доступна часть полей объекта <see cref="Member"/>.
/// </summary>
[DataContr... |
data/test/csharp/1cb6efb4b339b44f132546a1ea1cacdefe02a8d4OtherOptions.cs | aliostad/deep-learning-lang-detection | 84 | 7036626 | <reponame>aliostad/deep-learning-lang-detection<gh_stars>10-100
// Type: OpenQuant.Shared.Data.Import.CSV.OtherOptions
// Assembly: OpenQuant.Shared, Version=1.0.5037.20293, Culture=neutral, PublicKeyToken=null
// MVID: A690BAEF-D039-46EF-A391-4A4F5A74669E
// Assembly location: E:\OpenQuant\Bin\OpenQuant.Shared.dll
u... |
src/VisualStudio/NuGet.Packaging.VisualStudio.15/Templates/Projects/PortableClassLibrary/class1.cs | iskiselev/NuGet.Build.Packaging | 77 | 7036627 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace $safeprojectname$
{
public $if$ ('$outputtypewinmdobj$' == 'true')sealed $endif$class Class1
{
}
}
|
Simple.BotUtils/Startup/Arguments.cs | RafaelEstevamReis/Simple.BotUtils | 0 | 7036628 | using System.Collections.Generic;
using System.Collections.Specialized;
namespace Simple.BotUtils.Startup
{
public class Arguments : Dictionary<string, string>
{
public bool Has(string key) => ContainsKey(key);
public string Get(string key)
{
if (TryGetValue(key, out strin... |
Stratum.Tests/Helpers/ReadOnlyListTests.cs | H3VR-Modding/Stratum | 4 | 7036629 | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Moq;
using Xunit;
namespace Stratum.Tests.Helpers
{
public class ReadOnlyListTests
{
[Fact]
public void Count()
{
Mock<IList<object>> mut = new(MockBehavior.Strict);
IReadOnlyList<object> read = new ReadOnlyList<object>(... |
Accounting/Accounting/Infrastructure/Persistence/Seed.cs | robertsundstrom/accounting-app | 3 | 7036630 | <reponame>robertsundstrom/accounting-app
using Accounting.Domain.Entities;
using Accounting.Domain.Enums;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace Accounting.Infrastructure.Persistence;
public static class Seed
{
public static bool Run { get; set; ... |
Models/Segments/Patient/Financial/Billing/FinancialTransactionSegment.cs | amenkes/HL7Parser | 0 | 7036631 | using HL7Data.Contracts.Segments.Patient.Financial.Billing;
using HL7Data.Models.Base;
using HL7Data.Models.Types;
namespace HL7Data.Models.Segments.Patient.Financial.Billing
{
public class FinancialTransactionSegment : BaseSegment, IFinancialTransactionSegment
{
public override SegmentTypes SegmentTyp... |
Source/nHydrate.Generator.Common/Util/EmbeddedResourceName.cs | aTiKhan/nHydrate | 77 | 7036632 | <reponame>aTiKhan/nHydrate<gh_stars>10-100
namespace nHydrate.Generator.Common.Util
{
public class EmbeddedResourceName
{
public EmbeddedResourceName()
{
}
public EmbeddedResourceName(string resourceName)
{
var splitResourceName = resourceName.Split... |
RayTracing/RayTracingLib/Utility/RenderContext.cs | soyemi/Raytracing | 0 | 7036633 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RayTracing.Camera;
using RayTracing.Geom;
using RayTracing.Tracers;
using RayTracing.Material;
using RayTracing.Light;
using RayTracing.Sampler;
namespace RayTracing.Utility
{
public class RenderContext
{
publi... |
Assets/Scripts/Unity/Web/WebJSON.cs | Adsolution/Ray1Map | 29 | 7036634 | <filename>Assets/Scripts/Unity/Web/WebJSON.cs
using R1Engine;
using UnityEngine;
public class WebJSON {
public class Message {
// Mandatory
public MessageType Type { get; set; }
// Optional
public Settings Settings { get; set; }
public Hierarchy Hierarchy { get; set; }
public Localization Localization {... |
content/Areas/Portal/Controllers/API/PartnersController.cs | tmoodley/crispans | 0 | 7036635 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using HelpingHands.Data;
using HelpingHands.Models;
using Microsoft.AspNetCore.Authorization;
namespace Vue2Spa.Areas.Po... |
src/Maple/Logging/DefaultLogger.cs | fengqinhua/Maple-OLD | 1 | 7036636 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Maple.Logging
{
public sealed class DefaultLogger : ILogger
{
public DefaultLogger()
{
}
#region ILogger
public bool IsEnabl... |
ChaynsBackendApiHelper/Api/Controller/DeviceController.cs | TobitSoftware/ChaynsBackendApiHelper | 3 | 7036637 | <filename>ChaynsBackendApiHelper/Api/Controller/DeviceController.cs
using System.Net.Http;
using System.Threading.Tasks;
using Chayns.Backend.Api.Credentials.Base;
using Chayns.Backend.Api.Models.Data;
using Chayns.Backend.Api.Models.Result;
namespace Chayns.Backend.Api.Controller
{
/// <summary>
/// Object t... |
components/services/dotnet/src/Message/MessageDataType.cs | appcelerator-archive/entourage | 1 | 7036638 | <reponame>appcelerator-archive/entourage<filename>components/services/dotnet/src/Message/MessageDataType.cs
/*
* Author <NAME>
* Contact: <EMAIL>
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Appcelerator
{
/// <summary>
/// The data type of the message payload
/// </su... |
src/Nedrech.GorzdravClient/Entities/Enums/DistrictName.cs | nedrech/gorzdravspb-client-net | 0 | 7036640 | namespace Nedrech.GorzdravClient.Entities.Enums;
/// <summary>
/// Перечисляемый тип со всеми районами города.
/// </summary>
public enum DistrictName : byte
{
Адмиралтейский = 1,
Василеостровский,
Выборгский,
Калининский,
Кировский,
Колпинский,
Красногвардейский,
Красносельский,
... |
Saladpuk.PromptPay/Saladpuk.EMVCo/Models/QrDataObject.cs | auchaphon/PromptPay | 36 | 7036641 | <gh_stars>10-100
using Saladpuk.EMVCo.Contracts;
using System;
using System.Linq;
using emv = Saladpuk.EMVCo.Contracts.EMVCoCodeConventions;
namespace Saladpuk.EMVCo.Models
{
/// <summary>
/// ตัวเก็บข้อมูล QR Data Object
/// </summary>
public class QrDataObject : IQrDataObject
{
#region P... |
src/MvvmScarletToolkit.Abstractions/AbstractBuilder.cs | Insire/MvvmScarletToolk | 25 | 7036642 | namespace MvvmScarletToolkit
{
public abstract class AbstractBuilder<TElement> : IBuilder<TElement>
{
public static implicit operator TElement(AbstractBuilder<TElement> @this)
{
return @this.Build();
}
public abstract TElement Build();
}
}
|
src/EFCore.Abstractions/UnicodeAttribute.cs | leniency/efcore | 4,158 | 7036643 | <filename>src/EFCore.Abstractions/UnicodeAttribute.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.EntityFrameworkCore;
/// <summary>
/// Configures the property as capable of persisting unicode charac... |
Common/Config/IEmailConfig.cs | RMXdotEXE/Platform-Racing-3-Backend | 0 | 7036644 | using System;
using System.Collections.Generic;
using System.Text;
namespace Platform_Racing_3_Common.Config
{
public interface IEmailConfig
{
string SmtpHost { get; set; }
ushort SmtpPort { get; set; }
string SmtpUser { get; set; }
string SmtpPass { get; set; }
}
}
|
src/SmugMug.NET/Types/Enums/BaseColorEnum.cs | sahaine/SmugMug.NET | 7 | 7036645 | <reponame>sahaine/SmugMug.NET
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace SmugMug.v2.Types
{
public enum BaseColorEnum
{
Black,
White,
DarkTheme,
LightTheme
}
... |
NPOI/main/HSSF/Record/MulRKRecord.cs | cschen1205/myob-accounting-plugin | 0 | 7036646 | <reponame>cschen1205/myob-accounting-plugin
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) Under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ... |
mantis-tests/mantis-tests/appmanager/UrlNavigationHelper.cs | DanMikhalev/csharp_training | 0 | 7036647 | <filename>mantis-tests/mantis-tests/appmanager/UrlNavigationHelper.cs<gh_stars>0
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace mantis_tests
{
public class UrlNavigationHelper : HelperBase
{
public Ur... |
source/LoyaltyMemberManagement/Infrastructure/MachineDateTime.cs | emrealper/loyalty-management | 0 | 7036648 | <filename>source/LoyaltyMemberManagement/Infrastructure/MachineDateTime.cs
using Application.Interfaces.Common;
using System;
using System.Collections.Generic;
using System.Text;
namespace Infrastructure
{
public class MachineDateTime : IDateTime
{
public DateTime Now => DateTime.Now;
... |
modules/collect/src/test/java/com/opengamma/strata/collect/MapStreamTest.cs | ckarcz/Strata.ConvertedToCSharp | 0 | 7036649 | <filename>modules/collect/src/test/java/com/opengamma/strata/collect/MapStreamTest.cs
using System;
using System.Collections.Generic;
/*
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.collect
{
//JAVA... |
src/HootsuiteClientAddin/HootsuiteClientAddin/viewModel/AddinViewModel.cs | InteractiveIntelligence/HootsuiteIntegration | 0 | 7036650 | <gh_stars>0
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows.Forms;
using ININ.InteractionClient.AddIn;
namespace ININ.Alliances.HootsuiteClientAddin.viewModel
{
public class AddinViewModel :ViewModelBase
{
#region Private Members
private ObservableC... |
Sombra.Messaging/Response.cs | markslingerland/Sombra | 2 | 7036651 | <reponame>markslingerland/Sombra<filename>Sombra.Messaging/Response.cs
using AutoMapper;
namespace Sombra.Messaging
{
public abstract class Response : Message, IResponse
{
[IgnoreMap]
public bool IsRequestSuccessful { get; set; } = true;
public IResponse RequestFailed()
{
... |
src/Microsoft.SqlTools.ResourceProvider.Core/Contracts/TokenReliantResponse.cs | Thomas-S-B/sqltoolsservice | 128 | 7036652 | <filename>src/Microsoft.SqlTools.ResourceProvider.Core/Contracts/TokenReliantResponse.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.Collections.Generic;
using Microsoft.SqlTools.Hosting.Protoc... |
variable/Charastatus.cs | masapo0315/2018TokyoGameShow | 0 | 7036653 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Charastatus : MonoBehaviour {
//キャラクターの変数に関するスクリプト
[System.Serializable] //inspectorに表示
//キャラクターのステータスをstructで管理
public struct CharaStatus{
public string Name; //名前
public int ... |
MpvIpcController/Models/RtspTransportMode.cs | mysteryx93/MpvIpcController | 1 | 7036654 | using System;
using System.Text.Json.Serialization;
namespace HanumanInstitute.MpvIpcController
{
/// <summary>
/// Select RTSP transport method (default: tcp). This selects the underlying network transport when playing rtsp://... URLs. The value lavf leaves the decision to libavformat.
/// </summary>
... |
src/SqlFu/Extensions/IQuerySql.cs | sapiens/SqlFu | 169 | 7036655 | <reponame>sapiens/SqlFu
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SqlFu
{
public interface IQuerySql<T>
{
Task<T> GetValueAsync();
Task<T> GetFirstRowAsync();
T GetValue();
T GetFirstRow();
List<T> GetRows();
Task<List<T>> GetRowsA... |
src/DotVVM.Samples.Tests/Control/ValidationSummaryTests.cs | adamjez/dotvvm | 0 | 7036656 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotVVM.Testing.Abstractions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DotVVM.Samples.Tests.Control
{
[TestClass]
public class ValidationSummaryTests : App... |
src/SimpleFactory.Application/Program.cs | raychiutw/simple-factory-pattern-sample | 0 | 7036657 | using System;
using SimpleFactory.Common;
namespace SimpleFactory.Application
{
internal class Program
{
private static void Main(string[] args)
{
var eagle = BirdFactory.GetBird("Eagle");
var swan = BirdFactory.GetBird("Swan");
Console.WriteLine($"Bird Nam... |
WePay.NET/Checkout/Structure/RefundResponse.cs | leosdibella/WePay.NET | 2 | 7036658 | namespace WePay.Checkout.Structure
{
/// <summary>
/// The refund object contains information about the amount refunded and reason for the refund.
/// </summary>
public class RefundResponse
{
/// <summary>
/// If this checkout has been fully or partially refunded, this has the amoun... |
Sokan.Yastah.Business.Test/Authorization/UnauthenticatedUserErrorTests.cs | JakenVeina/Sokan.Yastah | 0 | 7036659 | <filename>Sokan.Yastah.Business.Test/Authorization/UnauthenticatedUserErrorTests.cs
using NUnit.Framework;
using Sokan.Yastah.Business.Authorization;
namespace Sokan.Yastah.Business.Test.Authorization
{
[TestFixture]
public class UnauthenticatedUserErrorTests
{
#region Constructor() Tests
... |
SistemaUniversidad.BackEnd/SistemaUniversidad.BackEnd.BD/SistemaUniversidad.BackEnd.API/RepositorySqlServer/AulasRepository.cs | JosueRuiz3/SistemaUniversidad.BackEnd | 0 | 7036660 | <gh_stars>0
using SistemaUniversidad.BackEnd.API.Models;
using SistemaUniversidad.BackEnd.API.Repository.Interfaces;
using SistemaUniversidad.BackEnd.API.RepositorySqlServer;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.