content stringlengths 23 1.05M |
|---|
namespace UnbeatableTicTacToe.GameCore.GameMode
{
public interface IPlayableGameMode
{
void Loop();
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;
namespace DataRamp
{
public interface IParameterMapper
{
void AssignParameters(IDbCommand command, params Object[] parameterValues);
}
}
|
using System;
namespace Prometheus.DotNetRuntime.EventListening.Parsers
{
internal static class DelegateExtensions
{
internal static void InvokeManyTimes<T>(this Action<T> d, int count, T payload)
{
for (int i = 0; i < count; i++)
{
d(payload);
... |
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace JsonHCSNet
{
public interface IRequestMiddleware
{
Task<HttpRequestMessage> HandleRequestAsync(JsonHCS jsonHCS, HttpRequestMessage request);
}
} |
using BootstrapTagHelpers.Extensions;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace BootstrapTagHelpers.Navigation {
using BootstrapTagHelpers.Attributes;
[HtmlTargetElement(ParentTag = "breadcrumbs")]
[OutputElementHint("li")]
public class BreadcrumbTagHelper : BootstrapTagHelper
... |
using ContactsSync.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microsoft.Identity.Client;
using Microsoft.Identity.Web;
using Microsoft.Graph;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Text.Json;
using System.Linq;
using Microsoft.En... |
using System;
using System.Globalization;
using System.Windows.Data;
using DDictionary.Domain.Entities;
namespace DDictionary.Presentation.Converters
{
public sealed class WordGroupConverter: IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture... |
using System;
namespace PcapDotNet.Packets
{
internal sealed class OptionTypeRegistrationAttribute : Attribute
{
public OptionTypeRegistrationAttribute(Type optionTypeType, object optionType)
{
OptionTypeType = optionTypeType;
OptionType = optionType;
}
... |
/* This file is part of the "Simple Waypoint System" project by Rebound Games.
* You are only allowed to use these resources if you've bought them from the Unity Asset Store.
* You shall not license, sublicense, sell, resell, transfer, assign, distribute or
* otherwise make available to any third party the Serv... |
using System;
using System.Data;
namespace MigSharp.Process
{
internal class DbConnectionWrapper : IDbConnection
{
private readonly IDbConnection _connection;
internal DbConnectionWrapper(IDbConnection connection)
{
if (connection == null) throw new ArgumentNullException("... |
//------------------------------------------------------------------------------
// <copyright company="LeanKit Inc.">
// Copyright (c) LeanKit Inc. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System;
namespace LeanKit.API.Client.L... |
using System;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using TT.Abp.Shops;
using TT.Extensions;
using Volo.Abp;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Repositor... |
using System;
using System.Runtime.InteropServices;
namespace ScannitSharp
{
[StructLayout(LayoutKind.Sequential)]
internal struct RustBuffer
{
private IntPtr Data;
private UIntPtr Len;
private UIntPtr Capacity;
internal byte[] AsByteArray()
{
uint leng... |
using System;
using Syn.Speech.Logging;
using Syn.Speech.FrontEnds;
using Syn.Speech.Util;
//PATROLLED + REFACTORED
namespace Syn.Speech.Linguist.Acoustic.Tiedstate
{
public class GaussianMixture : ScoreCachingSenone
{
// these data element in a senone may be shared with other senones
// and t... |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.ComponentModel;
using Xenko.Core.Assets;
using Xenko.Core;
using Xenko.Co... |
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace OriinDic.Models
{
public record RootObject<T>
{
[JsonPropertyName("pages")]
// ReSharper disable once UnusedAutoPropertyAccessor.Global
public long Pages { get; set; }
[JsonPropertyName("count")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Effekseer.Utl;
namespace Effekseer.Data.Value
{
public class Float
{
float _value = 0;
float _max = float.MaxValue;
float _min = float.MinValue;
public float Value
{
get
{
return GetValue();
}
s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Countdown.net.Model;
using Xunit;
namespace Countdown.net.Test
{
public class TestCollectionsHelpers
{
private readonly CollectionsHelper Helper = new CollectionsHelper();
[Theory]
[InlineData(... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace TD.BlazorTestApp
... |
using System.Runtime.Serialization;
using Logy.Maps.Coloring;
namespace Logy.Maps.ReliefMaps.Basemap
{
public abstract class DataEarth
{
// to store max and min at least
[IgnoreDataMember]
public ColorsManager Colors { get; set; }
public string Dimension { get; set; ... |
using Autodesk.DesignScript.Runtime;
using Dynamo.Engine;
namespace Dynamo.Graph.Nodes.ZeroTouch
{
/// <summary>
/// DesignScript function node. All functions from DesignScript share the
/// same function node but internally have different procedure.
/// </summary>
[NodeName("Function Node"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.TeamFoundation.VersionControl.Client;
namespace VS_DiffAllFiles.Adapters
{
public interface ITfsFileChange : IFileChange
{
/// <summary>
/// Gets the version.
/// </summary>
in... |
using Classic.Shared;
namespace Classic.World.Packets.Client
{
public class CMSG_PLAYER_LOGIN
{
public CMSG_PLAYER_LOGIN(byte[] data)
{
using (var reader = new PacketReader(data))
{
CharacterID = reader.ReadUInt32();
}
}
publ... |
using Comet.Styles.Material;
using System;
using System.Collections.Generic;
using System.Text;
namespace Comet.Samples
{
public class MaterialStylePicker : View
{
public MaterialStylePicker()
{
this.Title("Material Style Picker");
}
List<ColorPalette> colorPalettes = new List<ColorPalette>
{
Colo... |
@{
ViewBag.Title = "ViewDataList";
}
<div class="jumbotron alert-success">
<h2>View Data List</h2>
</div>
@if (ViewData.Count() > 0)
{
<h2>ViewData 共有 @ViewData.Count() 筆資料</h2>
<ul>
@*ViewData*@
<li>Name : @(ViewData["Name"] ?? "無資料")</li>
<li>Age : @(ViewData["Age"] ?? "無資... |
using Rex.Models;
using Microsoft.AspNetCore.Mvc.Testing;
using Xunit.Abstractions;
namespace Rex.Tests.Controllers
{
public class HealthControllerV2Tests
: HealthControllerTests<Health.Version1>
{
public HealthControllerV2Tests(ITestOutputHelper testOutputHelper) : base(testOutputHelper)
... |
namespace GitDiffMargin.Commands
{
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Editor.Commanding;
internal class ShowPopupCommandArgs : EditorCommandArgs
{
public ShowPopupCommandArgs(ITextView textView, ITextBuffer subject... |
using FluentMigrator;
using Nop.Core.Domain.Catalog;
using Nop.Data.Mapping;
namespace Nop.Data.Migrations.Indexes
{
[NopMigration("2020/03/13 11:35:09:1647938")]
public class AddProductManufacturerMappingIsFeaturedProductIX : AutoReversingMigration
{
#region Methods
public override void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using SqlDataCompare.Core.Enums;
using SqlDataCompare.Core.Models;
using SqlDataCompare.Core.Services;
namespace SqlDataCompare.UnitTests
{
[TestFixtureSource(typeof(Assetts.T... |
using System;
using System.Collections.Generic;
using MbUnit.Framework;
using Moq;
using Ninject;
using Ninject.Activation;
using Ninject.Parameters;
using Ninject.Planning.Bindings;
using Subtext.Framework.Infrastructure;
namespace UnitTests.Subtext.Framework.Infrastructure
{
[TestFixture]
public class Ninje... |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package cgo handles cgo preprocessing of files containing `import "C"`.
//
// DESIGN
//
// The approach taken is to run the cgo processor on the package's
//... |
using UnityEngine;
namespace Project.Scripts.Runtime.effect.Temp
{
public class BabbleDirt : MonoBehaviour
{
[SerializeField] private Bubble.Bubble bubble;
[SerializeField] private Dirt.Dirt dirt;
[SerializeField] internal bool emit = false;
private Rigidbody rigid;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StealthItem : PlayerItem
{
protected Stealth stealth;
protected bool timerStarted;
void Start()
{
stealth = GameObject.FindGameObjectWithTag("Player").GetComponentInChildren<Stealth>();
Sta... |
[assembly:Xamarin.Forms.Dependency(typeof(GeofencesSample.Droid.Services.Geofences.GeofencesService))]
namespace GeofencesSample.Droid.Services.Geofences
{
using Android.App;
using Android.Content;
using Android.Gms.Location;
using Android.Locations;
using GeofencesSample.Services.Geofences;
using System.C... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class BubbleManager : MonoBehaviour
{
public bool debug = false;
public bool spawnBubbles = true;
public GameObject[] bubbleTypes;
private void Awake()
{
bubbleTypes = new GameObject[4];
bubbleTypes[0] = Resources... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu]
public class RecordingEvent : ScriptableObject
{
private List<RecordingEventListener> listeners = new List<RecordingEventListener>();
private bool recording = false;
private void OnEnable()
{
reco... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.Common.DataCollector.UnitTests
{
using System;
using System.ComponentModel;
using System.IO;
... |
using Arragro.Common.BusinessRules;
using Arragro.Common.Repository;
using Arragro.Common.ServiceBase;
using Arragro.TestBase;
using Unity;
using Xunit;
namespace Arragro.Common.Tests.Unity.UseCases
{
public class UnityUseCase
{
// A contract for the unity (ioc) container to use
private interf... |
using System.Runtime.Serialization;
namespace LogicMonitor.Api.Settings
{
/// <summary>
/// An PagerDuty integration
/// </summary>
[DataContract]
public class PagerDutyIntegration : HttpIntegration
{
/// <summary>
/// Service Key
/// </summary>
[DataMember(Name = "serviceKey")]
public string Servi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ElasticSearch7Template.Core;
using ElasticSearch7Template.Filters;
using ElasticSearch7Template.IBLL;
using ElasticSearch7Template.Utility;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using cs_sdk.Builder;
using cs_sdk.Exceptions;
using cs_sdk.Models;
using Newtonsoft.Json;
using RestSharp;
namespace cs_sdk
{
public class Ko... |
namespace Library.Web.Infrastructure.Extensions
{
using Microsoft.AspNetCore.Http;
using Microsoft.Net.Http.Headers;
using System.IO;
using System.Threading.Tasks;
public static class FormFileExtensions
{
public static string GetFileType(this IFormFile file)
{
var f... |
namespace RefactorDataAccess.RepositoryPattern
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Domain;
using Infrastructure;
using Microsoft.EntityFrameworkCore;
public class WidgetRepository : IWidgetRepository
{
pri... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace _05
{
class Program
{
static void Main(string[] args)
{
var input = File.ReadAllLines("input.txt");
var forbiddenStrings = n... |
using Grpc.Core;
namespace Spacetime.Core.gRPC.Dynamic;
public interface IDynamicGrpcWrapper
{
Task<IDictionary<string, object>> AsyncUnaryCall(string serviceName, string methodName,
IDictionary<string, object> request);
IAsyncEnumerable<IDictionary<string, object>> AsyncDynamicCall(string serviceNa... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[RequireComponent(typeof(Text))]
public class Print_Text : MonoBehaviour
{
private Text textbox;
private bool unwrite_l2r = false;
bool text_finished_editing = true;
private string leftover_text = "";... |
using System.Collections.Generic;
namespace CSharpToday.Blazor.MultiLang.Resources.Tree
{
internal interface IResourceTreeBuilder
{
IResourceTree BuildTree(IEnumerable<string> resources);
}
}
|
// -----------------------------------------------------------------------
// <copyright file="AuditController.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Microsoft.Store.... |
using System;
using System.Collections.Generic;
using System.Text;
using NBitcoin;
using Stratis.Bitcoin.Features.SmartContracts.Networks;
using Stratis.SmartContracts;
using Stratis.SmartContracts.Executor.Reflection.ContractLogging;
using Stratis.SmartContracts.Executor.Reflection.Serialization;
using Xunit;
namesp... |
using System;
using System.Collections.Generic;
using ReactiveDomain.Util;
namespace ReactiveDomain.Messaging.Bus {
public abstract class QueuedSubscriber :
IDisposable {
private readonly List<IDisposable> _subscriptions = new List<IDisposable>();
private readonly Que... |
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace System.ServiceModel.Discovery.Configuration
{
static class ConfigurationStrings
{
public const st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NiceHashMiner.Interfaces.DataVisualizer
{
interface IDataVisualizer
{
// TODO for now this one is just a stub
// add TAG or if currently visible maybe??
}
}
|
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using starsky.foundation.metathumbnail.Interfaces;
namespace starskytest.FakeMocks
{
public class FakeIMetaExifThumbnailService : IMetaExifThumbnailService
{
public List<(string, string)> Input { get; set; } =
new (string, string... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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 Pulumi.Serialization;
names... |
namespace Dadata
{
public class SuggestClient : SuggestClientSync
{
public SuggestClient(string token, string baseUrl = BASE_URL) : base(token, baseUrl) { }
}
}
|
namespace Gimme.Oracle.Adapter.Infrastructure
{
public class DataBaseSettings
{
public string TemporaryEmail { get; set; }
public bool SendOnlyToTemporaryEmail { get; set; }
public bool SendMailEnabled { get; set; }
}
}
|
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.Serializers;
using TOTVS.Fullstack.Challenge.AuctionHouse.Domain.Models.Auctions;
namespace TOTVS.Fullstack.Challenge.AuctionHouse.Infrastructure.Persistence.Mappings.MongoDb.Auctions
{
/// <summary>
/// Classe de mapeament... |
using System;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using RusfootballMobile.Logging;
using Xamarin.Forms;
using RusfootballMobile.Services;
namespace RusfootballMobile.ViewModels
{
public abstract class ItemsViewModelBase<T, TVM> : ViewModelBase
{
private readonly Lazy<ID... |
using System.Threading.Tasks;
using CRM.Domain.Users;
using CRM.Integration.Tests.Framework;
using CRM.Web.Features.Users;
using CRM.Web.Infrastructure;
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Moq;
using Xunit;
namespace CRM.Integration.Tests.Users;
public cl... |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace DontPanic.TumblrSharp.Client
{
/// <summary>
/// The blog from Trail
/// </summary>
public class TrailBlog
{
/// <summary>
/// the name of the blog
/// </summary>
[JsonProperty(PropertyName = "name")... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.School_Camp
{
class SchoolCamp
{
static void Main(string[] args)
{
string season = Console.ReadLine().ToLower();
string groupType= Console.R... |
@{
ViewBag.Title = "Prayer";
}
<h2>Prayer</h2>
|
using Xunit;
using System;
using System.Linq.Expressions;
namespace BitHelp.Core.Extend.Test.ExpressionExtendTest
{
public class PropertyTypeTest
{
private Type PropertyType<T>(Expression<Func<T, object>> expression)
{
return expression.PropertyType();
}
[Fact]
... |
namespace FileSystemModels.Utils
{
using FileSystemModels.Interfaces;
using FileSystemModels.Models.FSItems.Base;
using System;
/// <summary>
/// Implements simple method based extensions that can be used for classes
/// implementing the <see cref="IItem"/> interface.
/// </summary>
public class IItemExtensio... |
namespace Messiah {
using UnityEngine;
using DG.Tweening;
using UnityEngine.UI;
public class CardUI : MonoBehaviour {
public Card card;
public Sequence seq;
Image image;
void Start() {
image = GetComponent<Image>();
}
public void SetCardByID(uint id) { }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SunSpawner : MonoBehaviour
{
[SerializeField] SunMove sunPrefab = null;
[SerializeField] int minWaitTime = 15;
[SerializeField] int maxWaitTime = 30;
bool spawn = true;
float randomSpawnTime;
... |
namespace Microsoft.AspNetCore.OData.Conventions.Controllers
{
using Microsoft.AspNet.OData;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.OData.Models;
public class CustomersController : ODataController
{
public IActionResult Get() => Ok();
public IActionResult Get( ... |
namespace DotNetBungieAPI;
internal static class Conditions
{
internal static string NotNullOrWhiteSpace(string value)
{
return !string.IsNullOrWhiteSpace(value) ? value : throw new ArgumentException();
}
internal static int Int32MoreThan(int value, int comparedAgainst)
{
return v... |
namespace MyShirtsApp.Data
{
using MyShirtsApp.Data.Models;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
public class MyShirtsAppDbContext : IdentityDbContext<User>
{
public MyShirtsAppDbContext(DbContextOptions<MyShirtsAppDbContext> options... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TinaXEditor.VFSKitInternal
{
[Serializable]
public class VFSProfileModel
{
#region 序列化存储用
/// <summary>
/// 外部不要直接操作它!!!!
/// </summary>
pu... |
namespace MatchThree.Core.Enum
{
public enum GemState
{
Move,
Idle,
Destroy,
Swap
}
} |
using System.Linq;
public static class Kata
{
public static string FormatWords(string[] words)
{
var all = words?.Where(x => x != "").ToArray();
if (!all?.Any() ?? true)
{
return "";
}
if (all.Length == 1)
{
return all[0];
}
return $"{string.Join(", ", all... |
using ABCo.ABSharedKV.Background.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace ABCo.ABSharedKV.Background.Interfaces
{
public interface IKVCommunicationMechanism
{
object Wa... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Rocket.Battlerite.Converters;
namespace Rocket.Battlerite
{
public partial class RoundFinishedEvent : ITelemetryObject
{
[JsonProperty("time")]
[JsonConverter(typeof(EpochMsConverter)... |
using System;
using UnityEngine;
namespace Marvelous
{
public static partial class Marvelous
{
/// <summary>
/// Traverse all the children of the transform and executes the Action on this transform,
/// as well as on all the children recursively.
/// </summary>
/// <para... |
using System.Collections.Generic;
using System.Linq;
using Antlr4.Runtime.Tree;
using Graphs;
namespace Engine
{
public class NfaOptimizer
{
private readonly Dictionary<State, SmartSet<State>> _closure = new Dictionary<State, SmartSet<State>>();
private readonly Dictionary<SmartSet<State>, Sta... |
using Microsoft.IdentityModel.Tokens;
using System;
using System.Text;
namespace MGC.WEBAPI.Helpers
{
public class TokenOptions
{
public TokenOptions(string issuer,
string audience,
string signingKey,
int toke... |
namespace MVVM_DEMO.Commands
{
using System;
using System.Windows.Input;
using MVVM_DEMO.ViewModels;
internal class UpdateCustomerCommand : ICommand
{
private CustomerViewModel viewModel;
/// <summary>
/// Initialize a new instance of the CustomerUpdateCommand class... |
using Confluent.Kafka;
using Confluent.Kafka.Admin;
using GPS.JT808PubSubToKafka.JT808Partitions;
using GPS.PubSub.Abstractions;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace GPS.JT808PubSubToKafka
{
public class JT808_MsgId_Prod... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Hosting;
using System.Web.Mvc;
using System.Xml.Linq;
namespace Conti.Massimiliano._5I.XMLReadWrite2
{
public class DefaultController : Controller
{
// GET: Default
public ActionResult Index()... |
using System;
using System.Buffers;
using System.IO.Pipelines;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using App.Metrics;
using Microsoft.AspNetCore.Connections;
using Microsoft.Extensions.Logging;
namespace Frontend
{
public sealed class MCConnectionHandler : ConnectionHandler
... |
using System.Collections.Generic;
using Edge = System.Tuple<int ,int>;
namespace Mediapipe {
public class FullBodyPoseLandmarkListAnnotationController : LandmarkListAnnotationController {
protected static readonly IList<Edge> _Connections = new List<Edge> {
// Right Arm
new Edge(11, 13),
new E... |
using System;
using expense.web.api.Values.Aggregate.Constants;
using expense.web.api.Values.Aggregate.Events.Base;
using expense.web.api.Values.Aggregate.Model;
namespace expense.web.api.Values.Aggregate.Events.Childs.Comment
{
public class CommentAddedEvent : EventBase
{
public string UserName { ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FODT.Models;
namespace FODT.Views.Toaster
{
public class HuntViewModel
{
public HuntViewModel()
{
Shows = new List<Show>();
}
public List<Show> Shows { get; se... |
using Savvyio.Commands;
namespace Savvyio.Assets.Commands
{
public class UpdateAccount : Command
{
public UpdateAccount(long id, string fullName, string emailAddress)
{
Id = id;
FullName = fullName;
EmailAddress = emailAddress;
}
public long... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Labuladong
{
public class Code0124
{
private static int result = int.MinValue;
public static void Exection()
{
var tree = BaseTree.DefaultTree;
... |
using Net.FreeORM.Logic.BaseDal;
namespace Net.FreeORM.TestWFA.Source.DL
{
public class MainDL : MainMySqlDL
{
public MainDL()
: base()
{ }
}
} |
namespace NServiceBus.Transports.Msmq.Config
{
/// <summary>
/// Runtime settings for the Msmq transport
/// </summary>
public class MsmqSettings
{
/// <summary>
/// Constructs the settings class with defaults
/// </summary>
public MsmqSettings()
... |
using System.Collections;
using UnityEngine;
public class King : Chessman
{
public override bool[,] PossibleMoves()
{
bool[,] r = new bool[8, 8];
// up
Move(CurrentX + 1, CurrentY, ref r);
// down
Move(CurrentX - 1, CurrentY, ref r);
// left
Move(Curren... |
// This file is part of HPGE, an Haptic Plugin for Game Engines
// -----------------------------------------
// Software License Agreement (BSD License)
// Copyright (c) 2017-2019,
// Istituto Italiano di Tecnologia (IIT), All rights reserved.
// (iit.it, contact: gabriel.baud-bovy <at> iit.it)
// Redistribution an... |
namespace Microsoft.Azure.Batch.Common
{
/// <summary>
/// The storage account type for use in creating data disks.
/// </summary>
public enum StorageAccountType
{
/// <summary>
/// The data disk should use standard locally redundant storage.
/// </summary>
StandardL... |
namespace BeatPulse
{
public class BeatPulseOptionsConfiguration: BeatPulseOptions
{
public new bool DetailedOutput
{
get => base.DetailedOutput;
set => base.DetailedOutput = value;
}
public new string Path
{
get => base.Path;
... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AmbientDbContextConfigurator;
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using StarCommander.Domain;
using StarCommander.Domain.Ships;
using StarCommander.Shared.Model.Query;
namespace StarCommander.Infrastructure.Pers... |
#region License & Metadata
// The MIT License (MIT)
//
// 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 limitation
// the rights to use, copy, modi... |
using System;
using System.Threading.Tasks;
using NUnit.Framework;
using UIForia.DataSource;
#pragma warning disable 1998,0649
[TestFixture]
public class DataSourceTests {
private class TestException : Exception { }
private class TestData : IRecord {
public string data;
public TestData(lon... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RenderShadowMap : MonoBehaviour {
public Shader shadowMapshader;
private Material shadowMapMaterial;
public RenderTexture depthTexture;
void Awake()
{
shadowMapMaterial = new Material(shadowMapshader);
shadowMapMater... |
//-----------------------------------------------------------------------
// <copyright file="IncidentOrganization.cs" company="EDXLSharp">
// Licensed under Apache 2.0
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Xml.Serialization;
namespac... |
// 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.ComponentModel;
using System.IO;
using Microsoft.Test.CommandLineParsing;
using System;
namespace Micr... |
// Automatically generated by xdrgen
// DO NOT EDIT or your changes may be overwritten
using System;
namespace stellar_dotnet_sdk.xdr
{
// === xdr source ============================================================
// struct ManageSellOfferOp
// {
// Asset selling;
// Asset buying;
// int64 amount; /... |
using UnityEngine;
namespace Demonixis.Toolbox.VR
{
public sealed class OSVRManager : MonoBehaviour
{
void Awake()
{
if (!GameVRSettings.HasOSVRHMDEnabled(true))
{
DestroyImmediate(GetComponent<OSVR.Unity.DisplayController>());
DestroyImm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.