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 |
|---|---|---|---|---|
DeconTools.Backend/FileIO/IMassTagImporter.cs | PNNL-Comp-Mass-Spec/DeconTools | 10 | 7045922 | <reponame>PNNL-Comp-Mass-Spec/DeconTools
using DeconTools.Backend.Core;
using DeconTools.Backend.Data;
namespace DeconTools.Backend.FileIO
{
public abstract class IMassTagImporter : Importer<TargetCollection>
{
#region Constructors
#endregion
#region Properties
#end... |
Assets/_Scripts/AnimalGenome.cs | lforner/DarwinsDream | 1 | 7045923 | <filename>Assets/_Scripts/AnimalGenome.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class AnimalGenome {
[Tooltip("Speed, from 1 to 3")]
public RangedValue Speed = new RangedValue(1, 3);
[Tooltip("Fertility, from 0.25 to 0.5")]
public R... |
ChessBoard.cs | LiJiaLin0/Xiangqi | 0 | 7045924 | <reponame>LiJiaLin0/Xiangqi<gh_stars>0
using System;
namespace XiangQi{
class ChessBoard{
public ChessBoard(){
}
//先输入二维数组
public string[,] Initialization(){
string[,] map=new string[10,9];
for(int i=0;i<10;i++){
... |
src/Redux.Base/ReduxLocator.cs | PieroCastillo/Redux | 2 | 7045925 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Redux
{
public class ReduxLocator : IReduxResolver
{
static ReduxLocator()
{
Current = new ReduxLocator();
}
private ReduxLocator()
{
}
private... |
tests/ByteDev.Strings.UnitTests/StringCommands/RemovePositionCommandTests.cs | ByteDev/ByteDev.Strings | 1 | 7045926 | <reponame>ByteDev/ByteDev.Strings
using ByteDev.Strings.StringCommands;
using NUnit.Framework;
namespace ByteDev.Strings.UnitTests.StringCommands
{
[TestFixture]
public class RemovePositionCommandTests
{
private const string Value = "<NAME>";
[TestCase(null)]
[TestCase("")]
... |
Scripts/Game/Body/Enemy/CautionAnimationBehaviour.cs | RegalStranger/shootingGame | 0 | 7045927 | using UnityEngine;
using System.Collections;
public class CautionAnimationBehaviour : StateMachineBehaviour {
// OnStateExit is called when a transition ends and the state machine finishes evaluating this state
override public void OnStateExit(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) {
... |
Message.Utility/EntLib/Interceptor/PerformanceInterceptor.cs | megadotnet/MQAdapter | 2 | 7045928 | <filename>Message.Utility/EntLib/Interceptor/PerformanceInterceptor.cs
using Messag.Logger;
using Microsoft.Practices.Unity.InterceptionExtension;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Utility.EntLib.Inte... |
src/HallOfBeorn/Models/LotR/Products/Community/TrialUponTheMarchesProduct.cs | danpoage/hall-of-beorn | 5 | 7045929 | <filename>src/HallOfBeorn/Models/LotR/Products/Community/TrialUponTheMarchesProduct.cs
using System;
namespace HallOfBeorn.Models.LotR.Products.Community
{
public class TrialUponTheMarchesProduct : Product
{
public TrialUponTheMarchesProduct()
: base("Trial Upon the Marches", "FA02", Image... |
core/Utils/JsonValueConverter.Tests/NewtonsoftJsonValueConverterTests.cs | gioragutt/tweek | 322 | 7045930 | <gh_stars>100-1000
using System;
using System.Threading;
using FSharpUtils.Newtonsoft;
using Newtonsoft.Json;
using Xunit;
using Tweek.Utils;
namespace Tweek.Utils.Tests
{
public class NewtonsoftJsonValueConverterTests
{
class Test
{
public JsonValue numberValue;
public... |
Web.Host/Startup.cs | openindustryorg/aspnet-core-3-enterprise-boilerplate | 0 | 7045931 | using AutoMapper;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using Web.Host.Middleware;
using Web.Application.Services;
using Web.EntityFramework;
us... |
NGUInjector/Managers/LoadoutManager.cs | tomerpeleg-pub/NGUInjector | 4 | 7045932 | <reponame>tomerpeleg-pub/NGUInjector
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using static NGUInjector.Main;
namespace NGUInjector.Managers
{
internal enum LockType
{
Titan,
Yggdrasil,
MoneyPit,
Gold,
Quest,
Coo... |
tests/Threading/Tasks/TaskCompletionSourceTests.cs | atifaziz/Mannex | 4 | 7045933 | <filename>tests/Threading/Tasks/TaskCompletionSourceTests.cs<gh_stars>1-10
#region License, Terms and Author(s)
//
// Mannex - Extension methods for .NET
// Copyright (c) 2009 <NAME>. All rights reserved.
//
// Author(s):
//
// <NAME>, http://www.raboof.com
//
// Licensed under the Apache License, Version 2.0 (th... |
Vivet.AspNetCore.RequestTimeZone/RequestTimeZone.cs | vivet/Vivet.AspNetCore | 5 | 7045934 | <filename>Vivet.AspNetCore.RequestTimeZone/RequestTimeZone.cs<gh_stars>1-10
using System;
using Microsoft.AspNetCore.Http;
namespace Vivet.AspNetCore.RequestTimeZone
{
/// <summary>
/// Details about the timezone for an <see cref="HttpRequest"/>.
/// </summary>
public class RequestTimeZone
{
... |
LibrarySystem/LibrarySystem.Commands/Functional/ClientReturnBookCommand.cs | TeamYAGNI/LibrarySystem | 0 | 7045935 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LibrarySystem.Commands.Abstractions;
using LibrarySystem.Commands.Contracts;
using LibrarySystem.Framework.Providers;
using LibrarySystem.Repositories.Contracts.Data;
using LibrarySystem.Repositories.Contracts.Data.UnitOfWork;
... |
Envision.DirectShow.NET/MediaTypes/MediaType.cs | stevejamesconner/envision-directshow | 2 | 7045936 | <filename>Envision.DirectShow.NET/MediaTypes/MediaType.cs
using System;
using System.Runtime.InteropServices;
namespace Envision.DirectShow.MediaType
{
/// <summary>
/// Major Media Types for DirectShow.
/// GUIDS taken from the uuids.h and ksuuids.h files (Windows 10 SDK)
/// https://docs.microsoft.... |
Libraries/CacheSQLDevice/Source/Device.CacheSQL/CacheSQLTypes.cs | johanduf/Dataphor | 57 | 7045937 | /*
Alphora Dataphor
© Copyright 2000-2016 Alphora
This file is licensed under a modified BSD-license which can be found here: http://dataphor.org/dataphor_license.txt
*/
using System;
using System.Globalization;
using Alphora.Dataphor.DAE.Connection;
using Alphora.Dataphor.DAE.Device.SQL;
using Alphora.Dataphor.DA... |
src/Application/Repairs/Queries/GetRepairsForVehicleWithPagination/GetRepairsForVehicleWithPaginationQuery.cs | pkanev/CarsManager | 1 | 7045938 | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using CarsManager.Application.Common.Constants;
using CarsManager.Application.Common.Interfaces;
using CarsManager.Application.Common.Mappings;
using CarsManager.Application.Common.Models;
u... |
PersonMatterManager.Web/Views/Leave/LeaveInto.cshtml | Asylumrots/PersonMatterManager | 5 | 7045939 | <!DOCTYPE html>
<html>
<head>
<title>申请请假</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="~/wwwroot/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/wwwroot/css/bootstrap-responsive.min.css" />
<link ... |
src/EventSourced.Net.Web/Web/Register/ValidateUsername/Controller.cs | danludwig/eventsourced.net | 8 | 7045940 | using System;
using System.Linq;
using System.Threading.Tasks;
using EventSourced.Net.ReadModel.Users;
using Microsoft.AspNet.Mvc;
namespace EventSourced.Net.Web.Register.ValidateUsername
{
public class Controller : Microsoft.AspNet.Mvc.Controller
{
private IExecuteQuery Query { get; }
public Controller(... |
cx.rain.cq.coolrepeater.Code/CoolRepeater.cs | AmemiyaSigure/CoolRepeater | 2 | 7045941 | using Native.Sdk.Cqp;
using Native.Sdk.Cqp.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cx.rain.cq.coolrepeater.Code
{
public class CoolRepeater
{
public static CQApi Api = null;
public static readonly Dic... |
src/Ila.NLayer.ProjectTemplates.BusinessLayer/Services/Base/IServiceBase.cs | alialdemir/Ila.NLayer.ProjectTemplates | 4 | 7045942 | <filename>src/Ila.NLayer.ProjectTemplates.BusinessLayer/Services/Base/IServiceBase.cs
using Ila.NLayer.ProjectTemplates.Core.Abctract.Database.Entities.Base.EntityBase;
using Ila.NLayer.ProjectTemplates.Core.Abctract.Database.Repositories.Base;
namespace Ila.NLayer.ProjectTemplates.BusinessLayer.Services.Base
{
p... |
ReactiveScheduler.Test/LiveBitTest.cs | mallibone/TestingReactiveScheduler | 2 | 7045943 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
using Xunit;
namespace ReactiveScheduler.Test
{
public class LiveBitTest
{
[Fact]
public async Task LiveBit_WhenCreated_TheSendMethodWillBeInvokedAfter1Second()
{
// Arrange: Given a mo... |
src/EChartsBlazor/Components/SimpleParameter/GraphicStyle.cs | draculakkk/EChartsBlazor | 4 | 7045944 | <reponame>draculakkk/EChartsBlazor
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TagEChartsBlazor.Components
{
public readonly struct GraphicStyle
{
public GraphicStyle(string? fill = null, string? stroke = null, int? line... |
Centaurus.Domain/Extensions/ExtensionConfig.cs | PinkDiamond1/centaurus | 28 | 7045945 | using System;
using System.Collections.Generic;
using System.Text;
namespace Centaurus.Domain
{
public class ExtensionConfig
{
public List<ExtensionConfigItem> Extensions { get; set; }
}
}
|
posts/ssr_with_react_and_graphql/example/lorem_headless/Features/Render/TransformModelWithJavaScript.cs | loremipsumdonec/optimizely-cms-models | 0 | 7045946 | <filename>posts/ssr_with_react_and_graphql/example/lorem_headless/Features/Render/TransformModelWithJavaScript.cs<gh_stars>0
using System.Web.Mvc;
namespace lorem_headless.Features.Render.Filters
{
public class TransformModelWithJavaScript
: IActionFilter
{
private bool CanTransform(ActionExec... |
src/CSharpDiscriminatedUnion.Generator/StructDiscriminatedUnionGenerator.cs | Galad/CSharpDiscriminatedUnion | 16 | 7045947 | <reponame>Galad/CSharpDiscriminatedUnion<filename>src/CSharpDiscriminatedUnion.Generator/StructDiscriminatedUnionGenerator.cs
using CSharpDiscriminatedUnion.Generator.Generators;
using CSharpDiscriminatedUnion.Generator.Generators.Struct;
namespace CSharpDiscriminatedUnion.Generator
{
internal sealed class Struct... |
Cairo Desktop/CairoDesktop.Common/HotKeyModifier.cs | anderlli0053/cairoshell | 1,743 | 7045948 | <reponame>anderlli0053/cairoshell
using System;
namespace CairoDesktop.Common
{
[Flags]
public enum HotKeyModifier
{
None = 0x0000,
Alt = 0x0001,
Ctrl = 0x0002,
NoRepeat = 0x4000,
Shift = 0x0004,
Win = 0x0008
}
} |
src/CaseManagement.CMMN/Persistence/InMemory/InMemoryCasePlanQueryRepository.cs | lulzzz/CaseManagement | 21 | 7045949 | using CaseManagement.CMMN.CasePlan.Results;
using CaseManagement.CMMN.Domains;
using CaseManagement.CMMN.Persistence.Parameters;
using CaseManagement.Common.Results;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Ta... |
src/netstandard/Tests/WampSharp.Tests/MockListener.cs | Wuschli/WampSharp | 361 | 7045950 | using System;
using System.Reactive.Subjects;
using WampSharp.Core.Listener;
namespace WampSharp.Tests
{
class MockListener<TMessage> : IWampConnectionListener<TMessage>, ISubject<IWampConnection<TMessage>>
{
private readonly Subject<IWampConnection<TMessage>> mSubject = new Subject<IWampConnection<TM... |
demo/Library/PackageCache/com.unity.properties@0.4.0-preview/Unity.Properties/IPropertyBag.cs | Thanalan/GameBookClient | 71 | 7045951 | #if (NET_4_6 || NET_STANDARD_2_0)
using System.Collections.Generic;
namespace Unity.Properties
{
/// <summary>
/// Represents a collection of <see cref="IProperty"/> objects.
/// </summary>
public interface IPropertyBag
{
/// <summary>
/// Number of properties in the bag.
... |
ObjectPatch/Tests/PatchRequestBaseTests.cs | daffers/objectpatch | 0 | 7045952 | namespace Tests
{
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class PatchRequestBaseTests
{
[Test]
public void UpdatesToCollectionTest()
{
var original = new Data();
original.Custom = new List<string>() { "hello" };
... |
Solution/DirectoriesComparator/PathUtils/Terms/Drive.cs | scumware/DirectoriesComparator | 2 | 7045953 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DirectoriesComparator.PathUtils.Terms
{
static class Drive
{
public const int Length = 2;
/// <summary>
/// Проверяет строку на наличие имени диска, например "d:".
/// В случае удачи возвраща... |
AsyncWcfFacade/App_Start/UnityConfig.cs | avarnon/AsyncWcfFacade | 0 | 7045954 | using System;
using System.Net.Http;
using System.Web.Http;
using AsyncWcfFacade.Services;
using Unity;
using Unity.Lifetime;
using Unity.WebApi;
namespace AsyncWcfFacade
{
public static class UnityConfig
{
#region Unity Container
private static Lazy<IUnityContainer> container =
new L... |
gherkin/dotnet/Gherkin/Stream/Converter/AstEventConverter.cs | codemrkay/cucumber | 1 | 7045956 | <reponame>codemrkay/cucumber
using System;
using System.Collections.Generic;
using System.Linq;
using Gherkin.Ast;
using Gherkin.Events.Args.Ast;
using Comment = Gherkin.Events.Args.Ast.Comment;
using Examples = Gherkin.Events.Args.Ast.Examples;
using Feature = Gherkin.Events.Args.Ast.Feature;
using Location = Gherkin... |
ClaimsTransformation.Engine/ClaimFactory.cs | Lokulus/ClaimsTransformation | 1 | 7045957 | <reponame>Lokulus/ClaimsTransformation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace ClaimsTransformation.Engine
{
public class ClaimFactory : IClaimFactory
{
public virtual Claim Create(IEnumerable<ClaimProperty> properties)
... |
Test Set Op To Top Stock.cs | xx4g/c-sharp-scripting-tests-mastercam | 0 | 7045958 | #r"C:\Program Files\Mastercam 2022\Mastercam\NEThook3_0.dll"
var List = Mastercam.Support.SearchManager.GetOperations();
var data = Mastercam.Support.MillStock.GetStockData();
Mastercam.Support.MillStock.SetStockData(data);
foreach (var operation in List)
{
if (operation.Selected)
{
bool regen = false;
i... |
source/org.ohdsi.cdm.framework.desktop/Savers/PostgreSaver.cs | SoftwareCountry/ETL-CDMBuilder | 0 | 7045959 | <filename>source/org.ohdsi.cdm.framework.desktop/Savers/PostgreSaver.cs
using Npgsql;
using NpgsqlTypes;
using org.ohdsi.cdm.framework.common.Enums;
using org.ohdsi.cdm.framework.desktop.Enums;
using org.ohdsi.cdm.framework.desktop.Helpers;
using System;
using System.Data.Odbc;
namespace org.ohdsi.cdm.framework.deskt... |
Itec.Metas/Tests/ORMTest.cs | yanyitec/Itec | 0 | 7045960 | <reponame>yanyitec/Itec
using Itec.ORMs;
using System;
using System.Collections.Generic;
using System.Text;
namespace Itec.Tests
{
public class ORMTest
{
public ORMTest()
{
this.DbSettings = new DbSettings()
{
TablePrefix = "test_",
Conne... |
Views/ClassroomAvailabilitySinglePage.xaml.cs | Tostifrosti/AvansApp | 3 | 7045961 | using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using AvansApp.ViewModels;
using AvansApp.ViewModels.Pages;
namespace AvansApp.Views
{
public sealed partial class ClassroomAvailabilitySinglePage : Page
{
private ClassroomAvailabilityPageDetailViewModel ViewModel
{
... |
Wearable/Xamarin.Forms/Geocoding/src/Geocoding/Geocoding.Tizen.Wearable/Services/GeocodingUserConsentArgs.cs | aferin/Tizen-CSharp-Samples | 217 | 7045962 | /*
* Copyright (c) 2019 Samsung Electronics Co., Ltd. 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.org/licenses/LICENSE-2.0
*
* Unless r... |
LiteDB.Realtime/Subscriptions/SubscriptionBuilderBase.cs | FuturistiCoder/LiteDB.Realtime | 32 | 7045963 | using LiteDB.Realtime.Notifications;
using System;
namespace LiteDB.Realtime.Subscriptions
{
internal class SubscriptionBuilderBase<T> : ISubscriptionBuilderBase where T : class
{
protected readonly NotificationService _notificationService;
protected SubscriptionBase<T> _subscriptionBase;
... |
src/Jeebs/LazyAsync.cs | bencgreen/jeebs | 3 | 7045964 | // Jeebs Rapid Application Development
// Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013
using System;
using System.Threading.Tasks;
namespace Jeebs
{
/// <summary>
/// Supports asynchronous <see cref="Lazy{T}"/> values
/// </summary>
/// <typeparam name="T">Return value</typeparam>
public se... |
Daenet.Common.Logging.Sql/ISqlServerLoggerSettings.cs | daenetCorporation/Daenet.Common.Logging.Sql | 3 | 7045965 | <gh_stars>1-10
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
namespace Daenet.Common.Logging.Sql
{
/// <summary>
/// Defines the configuration of SqlServerLogger.
/// </summary>
public interface ISqlServerLoggerSettings
{
#region General SettingsILogger
//... |
demo/F0.Talks.AsyncAwait.Benchmarks/Continuations/ContinuationBenchmarks.cs | Flash0ver/F0-Talks-AsyncAwait | 2 | 7045966 | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using System.Threading.Tasks;
namespace F0.Talks.AsyncAwait.Benchmarks.Continuations
{
[MemoryDiagnoser]
[Config(typeof(ContinuationConfig))]
public class ContinuationBenchmarks
{
[Benchmark]
... |
Util/Util.Validations.EntLib.Tests/ValidationTest.cs | eugenecc/cc | 0 | 7045968 | using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Util.Validations.EntLib.Tests.Samples;
namespace Util.Validations.EntLib.Tests
{
/// <summary>
/// 验证测试
/// </summary>
[TestClass]
public class ValidationTest
{
/// <summary>
/// 测试
... |
ProtoSDK/MS-CIFS/Client/CifsClient.cs | Grom-Li/WindowsProtocolTestSuites | 332 | 7045969 | <reponame>Grom-Li/WindowsProtocolTestSuites
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Runti... |
PanelTrackerRemake/JournalReader.cs | JCBurnside/PanelTrackerRemake | 0 | 7045970 | <gh_stars>0
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license.
namespace PanelTrackerRemake
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
... |
src/UtahOpenSource.UWP/Helpers/Toaster.cs | umnug/utos-app | 0 | 7045971 | <filename>src/UtahOpenSource.UWP/Helpers/Toaster.cs
using Windows.UI.Popups;
using Xamarin.Forms;
using UtahOpenSource.Clients.Portable;
using UtahOpenSource.UWP;
[assembly: Dependency(typeof(Toaster))]
namespace UtahOpenSource.UWP
{
public class Toaster : IToast
{
public void SendToast(string message... |
tests/Blazor.Diagrams.Core.Tests/Models/Base/BaseLinkModelTests.cs | Xuntar/Blazor.Diagrams | 201 | 7045972 | <gh_stars>100-1000
using Blazor.Diagrams.Core.Models;
using Blazor.Diagrams.Core.Models.Base;
using FluentAssertions;
using Xunit;
namespace Blazor.Diagrams.Core.Tests.Models.Base
{
public class BaseLinkModelTests
{
[Fact]
public void SetSourcePort_ShouldChangePropertiesAndTriggerEvent()
... |
src/AircraftTrajectories/Models/Space3D/ReferencePointRD.cs | HansSchouten/Aircraft-Trajectories | 1 | 7045973 | <gh_stars>1-10
namespace AircraftTrajectories.Models.Space3D
{
public class ReferencePointRD : ReferencePoint
{
public ReferencePointRD() : base(
new GeoPoint3D(5.387206, 52.15517, 0),
new Point3D(155000, 463000, 0, CoordinateUnit.metric)
) { }
}
} |
Assets/Akasha/Scripts/Interfaces/IValidable.cs | BigETI/Akasha | 2 | 7045974 | /// <summary>
/// Akasha namespace
/// </summary>
namespace Akasha
{
/// <summary>
/// Validable interface
/// </summary>
public interface IValidable
{
/// <summary>
/// Is valid
/// </summary>
bool IsValid { get; }
}
}
|
Packages/Core/Runtime/Observables/ObservableEvent.cs | lucasrferreira/unity-atoms | 0 | 7045975 | <reponame>lucasrferreira/unity-atoms<filename>Packages/Core/Runtime/Observables/ObservableEvent.cs
using System;
using System.Collections.Generic;
using UnityEngine;
namespace UnityAtoms
{
internal class ObservableEvent<T> : IObservable<T>
{
private Action<Action<T>> _unregister;
private List<I... |
Octokit.GraphQL/Model/AddPullRequestReviewCommentPayload.cs | PEPE-net/octokit.graphql.net | 1 | 7045976 | <reponame>PEPE-net/octokit.graphql.net<gh_stars>1-10
namespace Octokit.GraphQL.Model
{
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Octokit.GraphQL.Core;
using Octokit.GraphQL.Core.Builders;
/// <summary>
/// Autogenerated return type of AddPullReques... |
Assets/Scripts/FM_BruitDePas.cs | yongaro/SeriousFarm | 0 | 7045977 | <gh_stars>0
using UnityEngine;
using System.Collections;
public class FM_BruitDePas : MonoBehaviour {
FMOD.Studio.EventInstance marche;
PlayerController pc;
void Start()
{
pc = transform.GetComponent<PlayerController>();
marche = FMODUnity.RuntimeManager.CreateInstance("event:/Dep... |
FaceitLib/Models/TournamentDetails.cs | 18swenskiq/FaceitLib | 3 | 7045978 | using FaceitLib.Models.Shared;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace FaceitLib.Models
{
public class TournamentDetails
{
[JsonProperty(PropertyName = "competition_id")]
public string CompetitionID { get; set; }
[JsonProperty(PropertyName = "t... |
EnumStringValueTests/TestEnum.cs | Brondahl/EnumStringValues | 17 | 7045979 | using EnumStringValues;
namespace EnumStringValueTests
{
public enum TestEnum
{
Unlabeled,
[StringValue("1")] SingleDefined,
[StringValue("2", true)] SingleDefinedWithPreferences,
[StringValue("3"), StringValue("Three")] MultiDefined,
[StringValue("4", true), StringValue("Fou... |
net/ODataBreezejsSample/ODataBreezejsSample/Views/Shared/_BowaHeader.cshtml | pascalberger/breeze.js.samples | 65 | 7045980 | @*Header at the top of the BOWA page*@
<header>
<div style="float:left; margin-right: 10px">
<img src="~/app/images/logo.png" alt="Breeze + Web API OData" />
</div>
<h1 style="padding-top:16px">
BOWA
<span style="font-size: 60%; margin-left: .4em; ">
Breeze + OData + We... |
Tests/ViewQualificationTest.cs | ir0n4ikoko/MyBTEC_SeleniumTests | 0 | 7045981 | using Edi.Advance.BTEC.UiTests.Flows;
using NUnit.Framework;
namespace Edi.Advance.BTEC.UiTests.Tests
{
public class ViewQualificationTest : TestBase
{
[Test]
public void CheckViewQualificationAvailableTest()
{
var confirmed = new CreateCourseContext();
Start
... |
Models/EnergyMetadata.cs | aligneddev/aureliaEnergyJSServices | 0 | 7045982 | <reponame>aligneddev/aureliaEnergyJSServices
public class EnergyMetadata
{
public string id { get; set; }
public string uri { get; set; }
public string type { get; set; }
} |
src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenPublicLabelQueryResponse.cs | tuxuan5200/-Core | 6 | 7045983 | <reponame>tuxuan5200/-Core
using Newtonsoft.Json;
using System.Xml.Serialization;
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Domain;
namespace Essensoft.AspNetCore.Payment.Alipay.Response
{
/// <summary>
/// AlipayOpenPublicLabelQueryResponse.
/// </summary>
public clas... |
Kontur.Tests.Results/Extraction/Ensure/Success/TValue/Standard_Exception_Should.cs | skbkontur/result | 10 | 7045984 | using System;
using FluentAssertions;
using Kontur.Results;
using NUnit.Framework;
namespace Kontur.Tests.Results.Extraction.Ensure.Success.TValue
{
[TestFixture(typeof(InvalidOperationException))]
[TestFixture(typeof(ResultFailedException))]
[TestFixture(typeof(ResultFailedException<string>))]
intern... |
Bakery/Views/Treats/_FlavorTreatsPartial.cshtml | aaronminnick/Bakery.Solution | 0 | 7045985 | <gh_stars>0
@using Bakery.Models
@model Bakery.Models.Treat
<h2>@Model.Description's Flavors:</h2>
@if (User.Identity.IsAuthenticated)
{
<p><em>You may modify assigned flavors using the buttons.</em></p>
@foreach (Flavor flavor in ViewData["flavors"] as List<Flavor>)
{
if (Model.FlavorTreats.Where(ft => ft... |
Controllers/PromoController.cs | Snakeman57/CSCI6050-B1 | 2 | 7045986 | <reponame>Snakeman57/CSCI6050-B1<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using CineWeb.Data;
using CineWeb.Models;
namespace Ci... |
src/SpatialFocus.MethodCache.Fody/TypeDefinitionExtension.cs | fossabot/MethodCache.Fody | 0 | 7045987 | // <copyright file="TypeDefinitionExtension.cs" company="Spatial Focus GmbH">
// Copyright (c) Spatial Focus GmbH. All rights reserved.
// </copyright>
namespace SpatialFocus.MethodCache.Fody
{
using System;
using System.Linq;
using Mono.Cecil;
public static class TypeDefinitionExtension
{
public static bool ... |
dvvWeb/Views/Home/Index.cshtml | nickheidke/datavelocityvisualizer | 2 | 7045988 | @{
ViewBag.Title = "Data Velocity Visualizer";
}
@section featured {
<section class="featured">
<div class="content-wrapper">
<hgroup class="title">
<h1>@ViewBag.Title.</h1>
<h2>@ViewBag.Message</h2>
</hgroup>
<p>
... |
Exams/CSharpAdvancedExam - 25June2017/04. Hospital/Program.cs | georgivv7/C-Sharp-Advanced-SoftUni | 0 | 7045989 | <filename>Exams/CSharpAdvancedExam - 25June2017/04. Hospital/Program.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace _04._Hospital
{
class Program
{
static void Main(string[] args)
{
string input = string.Empty;
var departments... |
Controllers/AdminController.cs | narvikmunicipality/WebSakRobotNettside | 0 | 7045990 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace WebSakFilopplaster.Net_AD.Controllers
{
public class AdminController : Controller
{
// her kan man administrere nettsiden
// funksjoner:
... |
Assets/VisualNovelToolkit/Scripts/ViNo/Event/MessageEvent.cs | lapius/MusicalCube | 0 | 7045991 | <reponame>lapius/MusicalCube
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// VisualNovelToolkit /_/_/_/_/_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe. /_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using System.Collections;
public class MessageEvent : ViNoEv... |
src/GdaxApi/GdaxApi/Time/ApiTime.cs | PiezPiedPy/GdaxApi | 5 | 7045992 | namespace GdaxApi.Time
{
using System;
public class ApiTime
{
public DateTimeOffset Timestamp { get; set; }
public double UnixTimestamp { get; set; }
public ApiTime()
{
}
internal ApiTime(dynamic data)
{
this.Timestamp ... |
Tests/LogManagerUnitTests.cs | gasparovicm/LoggerWrapper | 0 | 7045993 | using idev.LoggerWrapper;
using NUnit.Framework;
namespace idevUnitTests.Log
{
[TestFixture]
public class LogManagerUnitTests
{
[SetUp]
public void SetUpAllTests()
{
}
[Test]
public void LogManager_SetLoggerType_Test()
{
//arrange
... |
src/Arcus.Messaging.Tests.Integration/Fixture/ServiceBusNamespace.cs | arcus-azure/arcus.messaging- | 18 | 7045994 | <filename>src/Arcus.Messaging.Tests.Integration/Fixture/ServiceBusNamespace.cs
using GuardNet;
namespace Arcus.Messaging.Tests.Integration.Fixture
{
/// <summary>
/// Represents the configuration values related to an Azure Service Bus instance.
/// </summary>
public class ServiceBusNamespace
{
... |
Server/TCGSampleServer/Service/TCGGameService/TCGGameSrv.InitTcp.cs | line/blockchain-sample-mage-duel | 7 | 7045995 | /*
* Copyright 2020 LINE Corporation
*
* LINE Corporation licenses this file to you 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
src/MySoft.Data/Creator/Query/PageSection.cs | easonjim/MySoft.Data | 5 | 7045996 | <reponame>easonjim/MySoft.Data
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace MySoft.Data
{
/// <summary>
/// 分页器
/// </summary>
public class PageSection : IPageQuery
{
private QuerySection<TempTable> query;
private int? rowCount;
... |
sdk/containerregistry/Azure.Containers.ContainerRegistry/src/Temporary/BasicAuthenticationPolicy.cs | mikaelkolkinn/azure-sdk-for-net | 0 | 7045997 | <reponame>mikaelkolkinn/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;
namespace Azure.Containers.ContainerR... |
Assets/Inconspicuous.Framework/Interfaces/View/IView.cs | inconspicuous-creations/Inconspicuous.Framework.Example | 1 | 7045998 | <filename>Assets/Inconspicuous.Framework/Interfaces/View/IView.cs
using System;
using UnityEngine;
namespace Inconspicuous.Framework {
public interface IView : IDisposable {
GameObject GameObject { get; }
}
}
|
Domain/Models/Treasure.cs | LazZiya/GenericApiSample | 4 | 7045999 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Domain.Models
{
public class Treasure : IHasId<int>, IOrdered
{
public int Id { get; set; }
public string Name { get; set; }
public double Price { get; set; }
public strin... |
AbstractDevelop/controls/visuals/RegisterMachineVisualizer.Designer.cs | Hrombel/AbstractDevelop | 0 | 7046001 | namespace AbstractDevelop.controls.visuals
{
partial class RegisterMachineVisualizer
{
/// <summary>
/// Требуется переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все ис... |
Teodora23/RealStateAgency/RealEstateAgency.Core/Assets/Base/IAsset.cs | Teodora23/tap2020-t01 | 0 | 7046002 | <filename>Teodora23/RealStateAgency/RealEstateAgency.Core/Assets/Base/IAsset.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace RealEstateAgency.Core.Assets.Base
{
public interface IAsset
{
decimal Price { get; set; }
decimal CommissionRate { get; set; }
vo... |
src/MxNet/Gluon/RNN/ConvRNNCell/Conv1DLSTMCell.cs | deepakkumar1984/mxnetlib | 121 | 7046003 | using System;
using System.Collections.Generic;
using System.Text;
namespace MxNet.Gluon.RNN
{
public class Conv1DLSTMCell : _ConvRNNCell
{
public Conv1DLSTMCell(Shape input_shape, int hidden_channels, int i2h_kernel, int h2h_kernel, int i2h_pad = 0,
int i2h_dilate = 1, int h2h_dilate = 1... |
Write-A-Thon/Helpers/RtfToPlainTextHelper.cs | colinkiama/Write-A-Thon | 2 | 7046004 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;
namespace Write_A_Thon.Helpers
{
public class RtfToPlainTextHelper
{
static RichEditBox richEditBox = new RichEditBox();
public static string Conv... |
Wizet Studio/Studio.Wizet.Audio/Dmo/DmoOutputDataBuffer.cs | Iciclelz/wizet-studio | 0 | 7046006 | using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace Studio.Wizet.Audio.Dmo
{
/// <summary>
/// DMO Output Data Buffer
/// </summary>
[StructLayout(LayoutKind.Sequential, Pack=8)]
public struct DmoOutputDataBuffer : IDisposable
{
... |
src/Arquitetura.Domain/Modules/ProductManagement/Interfaces/Repositories/IProductRepository.cs | willyamsann/Architecture---DDD-Net-FrameWork-4.7.2 | 0 | 7046007 | <reponame>willyamsann/Architecture---DDD-Net-FrameWork-4.7.2
using Arquitetura.Domain.Common.Interfaces.Repositories;
using Arquitetura.Domain.Modules.ProductManagement.Models;
using System;
using System.Collections.Generic;
namespace Arquitetura.Domain.Modules.ProductManagement.Interfaces.Repositories
{
public i... |
Forganizer.DomainModel/Entities/EntityUtilities.cs | naspinski/forganizer | 0 | 7046008 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Forganizer.DomainModel.Abstract;
using Forganizer.DomainModel.Extensions;
namespace Forganizer.DomainModel.Entities
{
public static class EntityUtilities
{
public class Categories
... |
src/AddIns/DisplayBindings/XmlEditor/Test/Schema.Includes/AttributeGroupRefSchemaIncludeTestFixture.cs | galich/SharpDevelop | 2 | 7046009 | <reponame>galich/SharpDevelop
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, including without li... |
ImaRunnerImaTrackstar/Assets/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain Engine/Runtime/Scripts/ErosionTool/GErosionInitializer.cs | apurplecaboose/Project-Parkour | 0 | 7046010 | #if GRIFFIN
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
namespace Pinwheel.Griffin.ErosionTool
{
public class GErosionInitializer
{
public GErosionSimulator Simulator { get; private set; }
private Material fetchWorldDataMaterial;
private... |
NoteAppUI/NoteApp/Chord.cs | Kven/NoteApp | 0 | 7046011 | using System;
using System.Collections.Generic;
namespace NoteApp
{
/// <summary>
/// Класс содержащий название аккорда, начальный лад, а так же список точек зажимания струны
/// </summary>
public class Chord
{
private System.Text.RegularExpressions.Regex _regularForName = new System.Text.RegularExpressions.R... |
Assets/Scripts/CanvasMovement.cs | FluffleFox/Bubble | 0 | 7046012 | using UnityEngine;
public class CanvasMovement : MonoBehaviour
{
public Vector3 outscreenPosition;
public GameStateMenager.State[] displayState;
void Update()
{
if (Show())
{
transform.Translate(-transform.localPosition * Time.deltaTime * 5.0f, Space.World);
}
... |
IDP/Config.cs | Roberto-M-H/DotNET_GraphQL | 121 | 7046013 | using System;
using System.Collections.Generic;
using System.Security.Claims;
using IdentityServer4;
using IdentityServer4.Models;
using IdentityServer4.Test;
namespace IDP
{
public static class Config
{
public static IEnumerable<IdentityResource> GetIdentityResources()
{
var resul... |
BetterCms.Demo.Web/Views/Shared/Layouts/Light/_HomeLayout.cshtml | Medi47/A.S.A.C | 0 | 7046014 | <reponame>Medi47/A.S.A.C
@{
Layout = "~/Views/Shared/Layouts/Light/_LightOneColumnLayout_INI.cshtml";
}
@section MainContent {
<section class="home-banner" id="home-slides">
@RenderSection("Slider", false)
</section>
<div class="home-bottom">
<article>
@RenderSection(... |
src/AmplaData/Attributes/AmplaLocationAttribute.cs | Ampla/Ampla-Data | 0 | 7046015 | <reponame>Ampla/Ampla-Data
using System;
using AmplaData.Binding.MetaData;
using AmplaData.Binding.ModelData;
namespace AmplaData.Attributes
{
/// <summary>
/// Attribute used to mark an class as an Ampla Model
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class AmplaLocationA... |
Mina.NET/Core/Service/IoService.cs | antosilva/Mina.NET | 103 | 7046016 | using System;
using System.Collections.Generic;
using Mina.Core.Filterchain;
using Mina.Core.Future;
using Mina.Core.Session;
namespace Mina.Core.Service
{
/// <summary>
/// Base interface for all <see cref="IoAcceptor"/>s and <see cref="IoConnector"/>s
/// that provide I/O service and manage <see cref="I... |
Assets/ViveGrip/Examples/Scripts/ViveGripExample_CapsuleZone.cs | JScott/ViveHands | 173 | 7046018 | using UnityEngine;
using System.Collections;
public class ViveGripExample_CapsuleZone : MonoBehaviour {
public Transform capsule;
private bool entered = false;
void Start() {}
void Update() {
GetComponent<MeshRenderer>().enabled = entered;
}
void OnTriggerStay(Collider other) {
if (CapsuleIs(oth... |
Opeity/Handlers/ContextMenuHandler.cs | Cryptobyte/Opeity-Cef | 3 | 7046019 | using CefSharp;
using CefSharp.Wpf;
using System.Diagnostics;
using System.Windows;
namespace Opeity.Handlers
{
public class ContextMenuHandler : IContextMenuHandler
{
public void OnBeforeContextMenu(IWebBrowser browserControl, IBrowser browser, IFrame frame, IContextMenuParams parameters, IMenuModel ... |
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/MaintenanceWindowTimeRange.cs | gjy5885/azure-sdk-for-net | 1 | 7046020 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Sql.Models
{
/// <summary> Maintenance window time range. </summary>
public partial class MaintenanceWindowTimeRange
{
... |
src/DryIoc.Extensions.Modularity/ModuleInfo.cs | suxrobGM/DryIoc.Extensions.Modularity | 1 | 7046021 | namespace DryIoc.Extensions.Modularity
{
/// <summary>
/// Define information about the module.
/// </summary>
public class ModuleInfo : IModuleInfo
{
public string Name { get; set; }
public string AssemblyName { get; set; }
public bool Enabled { get; set; }
}
} |
Kentico.Kontent.Delivery.Abstractions/ContentTypes/IDeliveryElementResponse.cs | winklertomas/kontent-delivery-sdk-net | 0 | 7046022 | namespace Kentico.Kontent.Delivery.Abstractions
{
/// <summary>
/// Represents a response from Kentico Kontent Delivery API that contains a content type element.
/// </summary>
public interface IDeliveryElementResponse : IResponse
{
/// <summary>
/// Gets the content type element.
... |
Maikelsoft.Reactive/ExtendIObserver.cs | Maikelsoft/maikelsoft_csharp_reactive | 0 | 7046023 | using System;
using Maikelsoft.Monads;
namespace Maikelsoft.Reactive
{
/// <summary>
///
/// </summary>
public static class ExtendIObserver
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="observer"></param>
/// <param name="errorMessage"></param>
/// <para... |
MPT/CSI/API/MPT.CSI.Serialize/Models/Helpers/Results/ModalLoadParticipationResultsIdentifier.cs | MarkPThomas/MPT.Net | 0 | 7046024 | // ***********************************************************************
// Assembly : MPT.CSI.OOAPI
// Author : <NAME>
// Created : 12-01-2018
//
// Last Modified By : <NAME>
// Last Modified On : 12-01-2018
// ***********************************************************************
// <co... |
NavigationUsingRegionsDemo/RegionManagerAwareBehavior.cs | noufionline/NavigationUsingRegionsDemo | 0 | 7046025 | <gh_stars>0
using System;
using System.Collections.Specialized;
using System.Windows;
using NavigationUsingRegionsDemo.ViewModels.Settings;
using Prism.Regions;
namespace NavigationUsingRegionsDemo
{
public class RegionManagerAwareBehavior : RegionBehavior
{
public const string BehaviorKey = "RegionMa... |
Seminarski/Controllers/SmsController.cs | Hatidza97/RS1 | 0 | 7046026 | <filename>Seminarski/Controllers/SmsController.cs<gh_stars>0
using Nexmo.Api;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Seminarski.ViewModels;
using Seminarski.EF;
using Seminarski.Mod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.