content stringlengths 23 1.05M |
|---|
namespace SFA.Apprenticeships.Infrastructure.Communication.Email
{
using Application.Interfaces.Communications;
using Domain.Entities;
using SendGrid;
public abstract class EmailMessageFormatter
{
public abstract void PopulateMessage(EmailRequest request, ISendGrid message);
}
} |
using MahApps.Metro.IconPacks;
using OnPoint.ViewModels;
using ReactiveUI;
using System;
using System.Reactive;
using System.Reactive.Linq;
namespace OnPoint.WpfTestApp
{
public class Person : ChangeableObject, IEquatable<Person>
{
private static int _IdIndex = 0;
public int ID { get => _ID; ... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class LvlGenerator : MonoBehaviour {
public GameObject lvlButtonPrefab;
public GameObject canvas;
public int numberOfLvls = 11;
// Use this for initialization
void Start () {
for (int i = 1; i <= 5; i++)
{
for (int j = 1; j <= ... |
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class ChoiceButtonTimer : MonoBehaviour
{
public Image timerIcon;
public TMPro.TextMeshProUGUI text;
public int choiceIndex = 0;
public float choiceTime;
void Start()
{
StartCoroutine(countDown());
}
p... |
// Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
using System.Collections.Generic;
namespace Markdig.Extensions.MediaLinks
{
/// <summary>
/// Options for the <se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TddShop.Cli
{
public class Program
{
static void Main(string[] args)
{
int a = 20;
int b = 9;
var sum = AddTwoNumbers(a, b);
... |
using System.Data;
using System.Data.Common;
using System.Diagnostics.CodeAnalysis;
using Microsoft.Data.Sqlite;
namespace Umbraco.Cms.Persistence.Sqlite.Services;
public class SqlitePreferDeferredTransactionsConnection : DbConnection
{
private readonly SqliteConnection _inner;
public SqlitePreferDeferredTra... |
namespace FindWhere.Web.Controllers
{
using FindWhere.Model;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web.Mvc;
public class CategoriesController : AdminController
{
// GET: Categories
public ActionResult Index()
{
var a... |
namespace WiseOldManConnector.Models;
public class ConnectorCollectionResponse<T> : ConnectorResponseBase {
internal ConnectorCollectionResponse(T data) : this(new List<T> { data }, null) { }
internal ConnectorCollectionResponse(IEnumerable<T> data) : this(data, null) { }
internal ConnectorCollectionResp... |
using AlugaiWEB.Models;
using AutoMapper;
using Core;
using Core.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
namespace AlugaiWEB.Controllers
{
public class AnuncioController : Controller
{
IAnuncioService _anuncioS... |
using Infra.Contexts;
using Infra.Seeds;
using Microsoft.EntityFrameworkCore;
namespace Api.Configuration;
public static class Migrations
{
public static void UseMigrations(this WebApplication? app)
{
using (var scope = app.Services.CreateScope())
using (var context = scope.ServiceProvider.Get... |
using HandSchool.Internals;
using HandSchool.JLU.Services;
using HandSchool.Services;
using HandSchool.ViewModels;
using HandSchool.Views;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace HandSchool.JLU.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class InitializePage : ViewOb... |
//
// OpenRemoteServer.cs
//
// Author:
// Félix Velasco <felix.velasco@gmail.com>
//
// Copyright (C) 2009 Félix Velasco
//
// 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 restr... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace ACM.Business
{
/// <summary>
/// Product's Entity class
/// </summary>
public class Product : IValidatable, IEquatable<Product>
{
#region Properties
/// <summ... |
using RingoBotNet.Models;
using System.Threading.Tasks;
namespace RingoBotNet.Data
{
public interface IUserData
{
Task<User> CreateUserIfNotExists(ConversationInfo info, string userId = null, string username = null);
Task<User> GetUser(string userId);
Task ResetAuthorization(string u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace Anonymous_Downsite
{
class Program
{
static void Main(string[] args)
{
int numberOfSites = int.Parse(Console.ReadLine());
... |
using System;
using System.Windows.Forms;
using System.Configuration;
using System.Diagnostics;
using System.Threading;
namespace TestApp {
public partial class MyApp : Form {
public MyApp() {
InitializeComponent();
matrix.ColumnCount = 2;
matrix.RowCount = 2;
... |
using CM.WeeklyTeamReport.Domain.Commands;
using CM.WeeklyTeamReport.Domain.Entities.Implementations;
using CM.WeeklyTeamReport.Domain.Entities.Interfaces;
using CM.WeeklyTeamReport.Domain.Repositories.Dto;
using CM.WeeklyTeamReport.Domain.Repositories.Interfaces;
using CM.WeeklyTeamReport.Domain.Repositories.Managers... |
using System;
using AiForms.Effects;
using AiForms.Effects.Droid;
using Android.Graphics;
using Android.Util;
using Android.Views;
using Android.Widget;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportEffect(typeof(SizeToFitPlatformEffect), nameof(SizeToFit))]
namespace AiForms.Effects.Dro... |
using Papagei.Client;
using System;
namespace Playground.Client
{
public class ClientControlledEntity : ClientEntity
{
public MyState State => (MyState)StateBase;
public Action Shutdown = () => { };
public Action Frozen = () => { };
public Action Unfrozen = () => { };
... |
using System;
using System.Threading;
using BeetleX.Redis;
using Microsoft.Extensions.Logging.Abstractions;
using RemoteEntity.Redis;
namespace RemoteEntity.Samples.Producer
{
class Program
{
static void Main(string[] args)
{
var redisDb = new RedisDB();
redisDb.DataFor... |
using System.Threading;
using System.Threading.Tasks;
using ServiceComponents.Api.Mediator;
namespace ServiceComponents.Infrastructure.Dispatchers
{
public interface IDispatchCommand
{
Task DispatchAsync<T>(T command, CancellationToken cancellationToken = default) where T : ICommand;
}
}
|
using UnityEngine;
using System.Collections;
public class CameraReflex : MonoBehaviour {
OLDTVTube _oldtvtube;
// Use this for initialization
void Start () {
/*
_oldtvtube = GetComponent<OLDTVTube>();
string frontCam = WebCamTexture.devices[0].name;
foreach ( WebCamDevice devic... |
using NUnit.Framework;
using System;
using UnityEngine.XR.ARSubsystems;
namespace UnityEditor.XR.ARSubsystems.Tests
{
[TestFixture]
class ARSubsystemEditorTests
{
[MenuItem("AR Foundation/Image Libraries/Clear data stores")]
static void ClearReferenceImageLibraryDataStores()
{
... |
using CaixaEletronico.Dominio.Entidade;
using System;
using System.Collections.Generic;
using System.Text;
namespace CaixaEletronico.Repositorio
{
public class CaixaRepositorio
{
/// <summary>
/// Lista com a movimentação.
/// </summary>
private List<Caixa> ListaCa... |
//
// HttpListenerManagerTable.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2010 Novell, Inc. http://www.novell.com
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in t... |
using System;
using System.Collections.Generic;
using MonoTouch.Foundation;
namespace Eto.Platform.iOS.Forms
{
public class iosObject<T, W> : WidgetHandler<T, W>
where T: NSObject
where W: Widget
{
List<NSObject> notifications;
List<ControlObserver> observers;
class ControlObserver : NSObject
{
pu... |
using System;
using System.Globalization;
using Avalonia.Data.Converters;
using SysMonAvalonia.Localization;
namespace SysMonAvalonia.Converters
{
class DataValueConverter : IValueConverter
{
public static DataValueConverter Instance = new DataValueConverter();
public object Convert(object va... |
// Copyright (C) The original author or authors
//
// This software may be modified and distributed under the terms
// of the zlib license. See the LICENSE file for details.
using System.Diagnostics;
namespace ScatteredLogic.Internal.DataStructures
{
internal sealed class RingBuffer<T>
{
private read... |
using System.Threading.Tasks;
namespace GodelTech.Database.EntityFrameworkCore
{
/// <summary>
/// Interface of data service.
/// </summary>
public interface IDataService
{
/// <summary>
/// Apply data.
/// </summary>
Task ApplyDataAsync();
}
}
|
using System;
using AosComMeasurer;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AosComMeasurerTest
{
[TestClass]
public class MsgParserTest
{
//[TestMethod]
public void MsgParserTestMethod()
{
BoardState boardState = new BoardState();
Measu... |
using Sync.Client;
using Sync.Plugins;
using Sync.Tools.ConfigurationAttribute;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sync.Tools.ConfigurationAttribute
{
class ClientListAttribute : ListAttribute
{
public override ... |
namespace DiscountAPI.Application.Model.Response
{
public class TotalDiscountResponse
{
public decimal TotalAmount { get; set; }
public decimal DiscountedTotalAmount { get; set; }
}
} |
using Microsoft.IdentityModel.Tokens;
using System.Text;
namespace Auth0.AuthenticationApi.Tokens
{
internal class SymmetricSignedDecoder : SignedDecoder
{
public SymmetricSignedDecoder(string clientSecret)
: base(JwtSignatureAlgorithm.HS256, new [] { new SymmetricSecurityKey(Encoding.ASCI... |
using System;
namespace Ductus.FluentDocker.Model.Builders.FileBuilder
{
public sealed class EntrypointCommand : ICommand
{
public EntrypointCommand(string executable, params string[] args)
{
Executable = executable;
Arguments = args ?? Array.Empty<string>();
}
public string Executable... |
using System;
using System.Runtime.InteropServices;
using Stream = System.IO.Stream;
using BinaryReader = System.IO.BinaryReader;
using IOException = System.IO.IOException;
namespace antlr
{
/*ANTLR Translator Generator
* Project led by Terence Parr at http://www.jGuru.com
* Software rights: http://www.antlr.org/l... |
using Microsoft.Practices.ServiceLocation;
using StructureMap;
using System;
using System.Collections.Generic;
using System.Linq;
namespace MvcApp.Tests.StructureMapRegistry
{
public class StructureMapDependencyScope : ServiceLocatorImplBase
{
#region Constants and Fields
private const string... |
namespace EnvironmentAssessment.Common.VimApi
{
public class ClusterConfigInfoEx : ComputeResourceConfigInfo
{
protected ClusterDasConfigInfo _dasConfig;
protected ClusterDasVmConfigInfo[] _dasVmConfig;
protected ClusterDrsConfigInfo _drsConfig;
protected ClusterDrsVmConfigInfo[] _drsVmConfig;
protected Clu... |
using System.Collections;
using TowerDungeon.UI;
using UnityEngine;
namespace TowerDungeon.Character
{
public class ForcePowerUp : MonoBehaviour
{
public SpriteRenderer player_sprite;
public PlayerLife playerLife_script;
public int savePreviousPower;
public PlayerControl playe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// The HUD for the game
/// </summary>
public class HUD : MonoBehaviour
{
#region Fields
// score support
[SerializeField]
Text scoreText;
int score = 0;
const string ScorePrefix = "Score: ";
... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace AspNetCorePlayground.Filters
{
public class MyActionFilter : IActionFilter
{
public void OnActionExecuting(ActionExecutingContext context)
{
context.Result = new BadRequestObjectResult(new {Error = "JWT Token is expired."... |
using Database.Core.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Database.Core.Configuration
{
public class AccountHistoryConfiguration : IEntityTypeConfiguration<AccountHistory>
{
public void Configure(EntityTypeBuilder<AccountHistory... |
using log4net;
namespace UberStrok.Realtime.Server.Game
{
public class PlayingPeerState : PeerState
{
public double _timer;
public PlayingPeerState(GamePeer peer) : base(peer)
{
// Space
}
public override void OnEnter()
{
... |
namespace GeometricThings.Geometry
{
using GeometricThings.Interface;
/// <summary>
/// Defines the <see cref="GeometricCalculator" />.
/// </summary>
public class GeometricCalculator
{
/// <summary>
/// Returns area of an object if the object is not null, else returns 0
... |
using System;
using System.Collections.Concurrent;
namespace LiteDB.Realtime.Subscriptions
{
using Subscriptions = ConcurrentDictionary<ISubscription, byte>;
internal class Unsubscriber : IDisposable
{
private readonly Subscriptions _subscriptions;
private readonly ISubscription _subscrip... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Threading;
/*
* Unity supports multithreading, but "Unity's types" can only be accessed or modified
* inside the main thread. Child threads should operate on primitive or custom types and
* then their results sh... |
#nullable disable
namespace Amazon.Kms
{
public sealed class Grant
{
public string GrantId { get; set; }
public GrantConstraints Constraints { get; set; }
public string GranteePrincipal { get; set; }
public string IssuingAccount { get; set; }
public st... |
// SPDX-FileCopyrightText: © 2022 MONAI Consortium
// SPDX-License-Identifier: Apache License 2.0
using Monai.Deploy.Messaging.Events;
namespace Monai.Deploy.WorkflowManager.TaskManager.API
{
public class ExecutionStatus
{
/// <summary>
/// Gets or sets the status of the execution.
//... |
using System.Collections.Generic;
using System.Text;
using Sourcelyzer.Model;
namespace Sourcelyzer.Analyzing.Nuget.Config
{
public class InvalidNuGetConfigLocation : NuGetAnalyzerResult
{
internal InvalidNuGetConfigLocation(IRepository repository, string nugetConfigPath, string solutionFilePath) :
... |
using System.Threading.Tasks;
using OpenInvoicePeru.Servicio.ApiSunatDto;
namespace OpenInvoicePeru.Servicio
{
public interface IValidezComprobanteHelper
{
Task<BaseResponseDto<TokenResponseDto>> GenerarToken(string clientId, string clientSecret);
Task<ValidacionResponse> Validar(string rucRec... |
// DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
#if PORTABLE || WINDOWS_UWP
#pragma warning disa... |
using NBitcoin;
using System;
using System.Collections.Generic;
using System.Text;
namespace NBXplorer.Models
{
public class RescanRequest
{
public class TransactionToRescan
{
public uint256 BlockId
{
get; set;
}
public uint256 TransactionId
{
get; set;
}
public Transaction Tra... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
namespace ARKitStream
{
public class FacePreview : MonoBehaviour
{
[SerializeField] ARFaceManager faceManager = null;
void OnEnable()
{
faceManage... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace BDSA2017.Lecture06.Demos
{
public static class ParallelLinq
{
public static void Run()
{
var numbers = Enumerable.Range(1, 5000000);
var query = from n in... |
using UnityEngine;
using System.Collections;
public class WarpSpeed : MonoBehaviour {
public float WarpDistortion;
public float Speed;
ParticleSystem particles;
ParticleSystemRenderer rend;
bool isWarping = true;
void Awake()
{
particles = GetComponent<ParticleSystem>();
rend = particles.GetComponent<Part... |
using Urho;
namespace UrhoSharp.Interfaces
{
public class KeyDownEventArguments : KeyEventArguments
{
public KeyDownEventArguments(KeyDownEventArgs args) : base(args)
{
}
public KeyDownEventArguments(Key key, int scancode, bool repeat, int buttons, int qualifiers) : base(key,
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AttitudeContrellerFine : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Input.gyro.enabled = true;
}
// Update is called once per frame
void Update()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nucleus.Base
{
/// <summary>
/// A collection of ParameterGroups.
/// Each group within this collection must have a unique name.
/// </summary>
[Serializable]
public cl... |
using Newtonsoft.Json.Linq;
using PlacetoPay.Redirection.Helpers;
using PlacetoPay.Redirection.Validators;
using System.Collections.Generic;
namespace PlacetoPay.Redirection.Entities
{
/// <summary>
/// Class <c>Amount</c>
/// </summary>
public class Amount : AmountBase
{
protected const s... |
using System;
using System.Collections.Generic;
using System.Linq;
using Librarian.DataAccess;
using Librarian.Sorting;
namespace Librarian
{
public class Library
{
private static readonly IComparer<Book> AuthorThenName = new BookComparer();
private readonly List<Book> _books;
private ... |
// Copyright (c). All rights reserved.
//
// Licensed under the MIT license.
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Microsoft.Dism.Tests
{
public class GetDriversTest : DismInstallWimTestBase
{
public GetDriversTest(TestWimTemplate template, ITestOutputHelper testOutput)
... |
using MediatR;
using petshelterApi.Database;
using petshelterApi.Domain.User;
using petshelterApi.Helpers;
using petshelterApi.Services;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace petshelterApi.Features
{
public class UpdateUser
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Movement : MonoBehaviour
{
public bool test;
public float speed = 4;
public Vector2[] points;
public int curPoint;
private SimpleTween path;
void Start()
{
//InvokeRepeating("Clockwise", 0, ... |
// Copyright (c) Quarrel. All rights reserved.
using DiscordAPI.Models.Channels;
namespace Quarrel.ViewModels.Messages.Gateway
{
public sealed class GatewayChannelCreatedMessage
{
public GatewayChannelCreatedMessage(Channel channel)
{
Channel = channel;
}
public C... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.VFX;
using TMPro;
public class TheRomanceManager : MonoBehaviour
{
public GameObject firework1;
public GameObject firework2;
public GameObject heartFlow;
public GameObject loveText;
// Start is called b... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
namespace Framework.Core.ReflectionHelpers
{
public static class ValueExtensions
{
public static T ConvertFromDBVal<T>(object obj)
{
... |
using Boteco32.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Boteco32.Interfaces
{
public interface IProdutoService
{
Task Adicionar(Produto produto);
Task Atualizar(Produto produto);
Task Delete(Produto produto);
Task<List<Produto>> BuscarPr... |
using Swifter.Readers;
using Swifter.RW;
using Swifter.Tools;
using Swifter.Writers;
using System;
using System.Runtime.CompilerServices;
namespace Swifter.Reflection
{
sealed class XStructFieldInfo<TValue> : XFieldInfo, IXFieldRW
{
private long offset;
private Type declaringType;
pub... |
// C# Collections
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Linked_list_Example
{
class Linked_list
{
static void Main()
{
var value = new LinkedList<int>(); /... |
/*
* This file was auto-generated by TestGenerator
* Do not modify it; modify TestGenerator.java and rerun it instead.
*/
/*
* It's super important to test all following cases because they test replacements for Trigonometric functions
* so if one is wrong your result might be wrong at all
*/
using AngouriMath;... |
using Helpers;
using Reface.AppStarter.AppModules;
namespace WebApiUT.AppModules
{
[HelpersAppModule]
public class TestAppModule : AppModule
{
}
}
|
@using NewLife.Cube.Extensions
@{
var set = ViewBag.PageSetting as PageSetting;
}
<div class="col">
@if (set.EnableKey)
{
<div class="me-3">
<div class="input-group mb-2">
<input name="q" type="search" id="q" value="@Context.Request.GetRequestValue("q")" class="form-cont... |
#load "interfaces.csx"
using Microsoft.Extensions.Logging;
public class Logger : ILoggingService
{
private readonly ILogger _logger;
public Logger(ILogger<Logger> logger)
{
_logger = logger ?? throw new ArgumentNullException(nameof(logger));
}
public void LogInformation(string message, p... |
using System;
namespace uFrame.Kernel
{
[Obsolete("Use uframe kernel")]
public class uFrameMVVMKernel : uFrameKernel
{
}
} |
using System;
using Kassandra.Core.Models.Query;
namespace Kassandra.Core
{
public interface IQuery
{
string Query { get; set; }
IQuery MustCatchExceptions();
IQuery Parameter(string parameterName, object parameterValue, bool condition = true);
void ExecuteNonQuery();
I... |
using System.ComponentModel.DataAnnotations;
namespace MyProject.Web.Models
{
public class ProjectsModel
{
[Display(Name = "Project/Task Name:")]
public string project_name { get; set; }
[Display(Name = "Assign to:")]
public long assign_to { get; set; }
[Display(Name... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.ViewManagement
{
public partial class ApplicationViewTitleBar
{
/// <summary>
/// Constructor is not public in UWP
/// </summary>
internal ApplicationViewTitleBar()
{
}
[global::Un... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Harmony;
using MelonLoader;
namespace NoMeansYes
{
public class NoMeansYes : MelonMod
{
public override void OnApplicationStart()
{
var... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;
namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.SmoModel
{
//... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
namespace Cathei.BakingSheet.Editor
{
public static class PackageGenerationTools
{
[MenuItem("Tools/Generate Package")]
public static void GeneratePackage()
... |
using rbkApiModules.Infrastructure.Models;
using rbkApiModules.UIAnnotations;
using System;
using System.ComponentModel.DataAnnotations;
namespace rbkApiModules.Demo.Models
{
public class Post: BaseEntity
{
protected Post()
{
}
public Post(string title, Blog blog)
{
... |
namespace ElasticEngine
{
public interface IElasticIndexResponse
{
}
} |
using System.IO;
using System.Threading.Tasks;
using Newtonsoft.Json;
using RetroClash.Extensions;
namespace RetroClash.Logic.StreamEntry.Alliance
{
public class JoinRequestAllianceStreamEntry : AllianceStreamEntry
{
public JoinRequestAllianceStreamEntry()
{
StreamEntryType = 3;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
public class televisionActivate : Activatable {
VideoPlayer tv;
override public void activate()
{
tv = transform.Find("TVScreen").GetComponent<VideoPlayer>();
tv.Play();
}
... |
using Microsoft.EntityFrameworkCore;
using Senai.CodeTur.Dominio.Entidades;
using Senai.CodeTur.Dominio.Interfaces.Repositorios;
using Senai.CodeTur.Infra.Data.Contextos;
using Senai.CodeTur.Infra.Data.Repositorios;
using Xunit;
namespace Senai.CodeTur.Teste.XUnit.Repositorios
{
public class TesteUsuario
{
... |
using System;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Sokan.Yastah.Data.Auditing;
namespace Sokan.Yastah.Data.Characters
{
public enum CharacterManagementAdministrationActionType
{
GuildCreated = AuditingActi... |
using System.Windows.Input;
namespace MP.ForismaticQuotes.Test
{
public class MainViewModel : BindableBase
{
public ICommand GetQuoteCmd { get; }
public MainViewModel()
{
GetQuoteCmd = new RelayCommand(GetQuoteAsync);
}
public string QuoteText { get; set; ... |
using UnityEngine;
using UnityEngine.UI;
/*
* class to display a countdown timer in the form:
* "Countdown seconds remaining = 12"
*
* when finsished display message:
* "countdown has finished"
*/
public class DigitalCountdown : MonoBehaviour
{
// reference to UI Text object whose text we'll update with cou... |
using UnityEngine;
using System.Collections;
public class MemConst
{
public static float TopBarHeight = 25;
public static int InspectorWidth = 400;
public static string[] ShowTypes = new string[] { "Table View", "TreeMap View" };
public static string[] MemTypeCategories = new string[] { "Al... |
namespace Aima.ConstraintSatisfaction
{
public class Assigment<T>
{
public readonly string Name;
public readonly T Value;
public Assigment(string name, T value)
{
Name = name;
Value = value;
}
public override string ToString()
{
... |
// -----------------------------------------------------------------------
// <copyright file="LibLlvmGeneratorLibrary.cs" company="Ubiquity.NET Contributors">
// Copyright (c) Ubiquity.NET Contributors. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
us... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace System.Fabric.Query
... |
using UnityEngine;
namespace UnityEditor.U2D.Animation
{
internal interface IWeightsGenerator
{
BoneWeight[] Calculate(Vector2[] vertices, Edge[] edges, Vector2[] controlPoints, Edge[] bones, int[] pins);
}
}
|
namespace NewsTrack.Identity.Results
{
public enum AuthenticateResult
{
Ok,
Failed,
Lockout
}
} |
//
// C4Base_defs.cs
//
// Copyright (c) 2019 Couchbase, Inc All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Un... |
// Copyright 2014-2017 ClassicalSharp | Licensed under BSD-3
using System;
using ClassicalSharp.Model;
using OpenTK;
namespace ClassicalSharp.Entities {
/// <summary> Entity component that performs management of hack states. </summary>
public sealed class HacksComponent {
Game game;
public HacksComponent(Ga... |
// ******************************************************************
// Copyright (c) William Bradley
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FO... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ResolutionSetter : MonoBehaviour
{
//Attach this script to a Dropdown GameObject
Dropdown m_Dropdown;
//This is the string that stores the current selection m_Text of the Dropdown
string m... |
using System.Linq;
using Simple1C.Impl.Com;
using Simple1C.Interface;
namespace Simple1C.Impl
{
internal class MetadataAccessor
{
private readonly MappingSource mappingSource;
private readonly GlobalContext globalContext;
public MetadataAccessor(MappingSource mappingSource, GlobalCont... |
namespace MyMoviesProject.Models.Movies
{
public enum MovieSorting
{
Id = 0,
Name = 1,
Year= 2,
Rating = 3
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.