content stringlengths 23 1.05M |
|---|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[AddComponentMenu("Context/CurveFloatEvent")]
public class CurveFloatEvent : MonoBehaviour
{
public FloatEvent output;
[Tooltip("time must be between 0 and 1")]
public AnimationCurve curve;
public float time;
[ContextM... |
using UnityEngine;
namespace UnemployedOwnedStates
{
public class RestAndSleep : State<Unemployed>
{
public override void Enter(Unemployed entity)
{
// 장소를 집으로 설정하고, 집에오면 스트레스, 피로가 0이 된다.
entity.CurrentLocation = Locations.SweetHome;
entity.Stress = 0;
entity.Fatigue = 0;
entity.PrintText("소... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.Deps.Models
{
// 机器分组
public class MachineGroup : TeaModel {
// 机器名
[NameInMap("name")]
[Validation(Required=false)]
public... |
using FlightManager.InputModels.Reservation;
using System.Threading.Tasks;
namespace FlightManager.Services.Interfaces
{
public interface IReservationService
{
Task Create(ReservationInputModel model);
T GetById<T>(int id);
}
}
|
using Jojatekok.MoneroAPI.RpcUtilities.Daemon.Http.Responses;
using System;
namespace Jojatekok.MoneroAPI.RpcManagers
{
public interface IDaemonRpcManager : IDisposable
{
event EventHandler BlockchainSynced;
event EventHandler<NetworkInformationChangedEventArgs> NetworkInformationChanged;
... |
@using LogicalCK
@using System.Web.Configuration;
@{
Layout = null;
var imgPath = WebConfigurationManager.AppSettings["LogicalUpload.Directory"];
var directory = new DirectoryInfo(Path.Combine(Server.MapPath(imgPath), Request["directory"]));
var extensions = WebConfigurationManager.AppSettings["LogicalUpload.Exten... |
using System.Net.Http;
using System.Threading.Tasks;
using Klinked.Cqrs.Queries;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Klinked.Cqrs.Console.Queries
{
public class HttpGetQueryHandler : IQueryHandler<string, string>
{
private readonly IHttpClientFactory _clientFactory;
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace HydroDesktop.Interfaces.ObjectModel
{
/// <summary>
/// Base Entity overrides the comparison operators
/// so that the persistence tests will work when comparing
/// referenced entities during testing.
/// </summary>
... |
using System;
using System.Collections.Generic;
using RSG;
using Unity.UIWidgets.animation;
using Unity.UIWidgets.foundation;
namespace Unity.UIWidgets.rendering {
public enum ScrollDirection {
idle,
forward,
reverse,
}
public static class ScrollDirectionUtils {
... |
namespace Kodefoxx.Studying.CsDesignPatterns.Shared.Domain.Accounts
{
/// <summary>
/// Represents a type of <see cref="Account"/>.
/// </summary>
public enum AccountType
{
Staff,
Student
}
}
|
namespace IdentifierScope.Iterator
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
class Sample
{
~Sample()
{
Console.WriteLine("SampleがGCされました");
}
}
public class Program
{
public static void M()
{
... |
namespace LemonUI.Menus
{
/// <summary>
/// Represents the arguments of an item activation.
/// </summary>
public class ItemActivatedArgs
{
/// <summary>
/// The item that was just activated.
/// </summary>
public NativeItem Item { get; }
internal ItemActiva... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Text.Json.Serialization;
namespace SamplesDashboard.Models
{
public class GitHubGraphQLRepoData
{
public string Name { get; set; }
public string Description { get; set; }
public string... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Fissoft.LinqIndex.Indexes;
namespace Fissoft.LinqIndex.Internal
{
internal class InternalIndexCollection<T> : IEnumerable<DictionaryHashIndex<T>>
{
private readonly Dictionary<string, DictionaryHashIndex<T>> _internal... |
using System;
using Newtonsoft.Json;
namespace MRTK.Tutorials.AzureCloudServices.Scripts.Dtos
{
public class ImageInfo
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("created")]
public DateTimeOffset Created { get; set; }
[JsonProperty("width")]
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
namespace AuthJanitor.IdentityServices
{
public class AuthJanitorAuthorizedUser
{
public string DisplayName { get; set; }
public string UPN { get; set; }
public string Role { get; set; }
public string Rol... |
namespace LNF.Billing
{
public interface IApportionmentDefault
{
int RoomID { get; set; }
int AccountID { get; set; }
double Percentage { get; set; }
}
}
|
using System;
using Xamarin.Forms;
using SVG.Forms.Plugin.Abstractions;
using System.Reflection;
using ExtendedMap.Forms.Plugin.Abstractions.Models;
namespace ExtendedMap.Forms.Plugin.Abstractions.Services
{
public class UIHelper
{
public ContentView CreateImageButton (string buttonImage, double height, double wi... |
using System.ComponentModel;
namespace Shuhari.WinTools.Core.Features.BookDownload
{
public class BookDownloadContext
{
public IBookSite[] Sites { get; set; }
public int PageCount { get; set; }
public BackgroundWorker Worker { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Passenger.Attributes;
using Passenger.Drivers.RemoteWebDriver;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Remote;
namespace Passenger.Test.Unit
{
[TestFixture]
pub... |
public class FireBender : Bender
{
private double heatAggression;
public FireBender(string name, int power, double heatAggression)
:base (name,power)
{
this.heatAggression = heatAggression;
}
}
|
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq.Expressions;
using JetBrains.Annotations;
using Microsoft.Data.Entity.Utilities;
using Remotion.Linq.Clauses;
namespace... |
using System;
namespace RevStackCore.LogParser
{
public static class StringExtensions
{
public static string GetUntilOrEmpty(this string text, string stopAt = "-")
{
if (!String.IsNullOrWhiteSpace(text))
{
var charLocation = text.LastIndexOf(stopAt, StringComparison.Ordinal);
if ... |
using System.Collections.Generic;
using System.Linq;
using Abp.AutoMapper;
using Net.Qks.Authorization.Users.Dto;
using Net.Qks.Security;
using Net.Qks.Web.Areas.Admin.Models.Common;
namespace Net.Qks.Web.Areas.Admin.Models.Users
{
[AutoMapFrom(typeof(GetUserForEditOutput))]
public class CreateOrEditUserModal... |
using IOTConnect.Domain.IO;
using System;
using System.Collections.Generic;
using System.Text;
namespace IOTConnect.Domain.Services.Mqtt
{
public delegate void MqttMessageReceivedEventHandler(object sender, MqttReceivedEventArgs e);
public class MqttReceivedEventArgs : EventArgs
{
// -- Construc... |
using System.Diagnostics;
namespace eu.sig.cspacman.board
{
public class Board : IBoard
{
private readonly Square[,] board;
public int Width
{
get { return board.GetLength(0); }
}
public int Height
{
get { return board.GetLength(1); }
... |
using System.Collections;
using System.Collections.Generic;
using NaughtyAttributes;
using UnityEngine;
public class AudioController : MonoBehaviour
{
private static AudioController _instance;
public static AudioController Instance => _instance;
[HideInInspector] public AudioSource audioSource;
pri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleWeather.Extras
{
public interface IExtrasService
{
void EnableExtras();
void DisableExtras();
bool IsEnabled();
bool IsIconPackSupported(string pa... |
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the MIT License.
using Datasync.Common.Test.Extensions;
using Datasync.Common.Test.Models;
using Datasync.Webservice;
using Microsoft.AspNetCore.Datasync.InMemory;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Datasync.Client.Authen... |
using System;
using Calendar.Tizen.Port;
namespace Calendar.Tizen.Mobile
{
/// <summary>
/// Represents xamarin forms of tizen platform app
/// </summary>
class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication
{
/// <summary>
/// On create method
/// </summary... |
using Ardalis.GuardClauses;
using Microsoft.Identity.Client;
namespace backend.Services
{
public class TokenService
{
private readonly IConfidentialClientApplication _application;
public TokenService(IConfidentialClientApplication application)
{
_application = application;
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace HidEngineTest.ReportDescriptorComposition
{
using System;
using System.Collections.Generic;
using HidEngine;
using HidEngine.ReportDescriptorComposition;
using HidEngine.ReportDescriptorItems;
using ... |
using System;
namespace AvaCarona.Domain
{
public class Carona
{
const int TOTAL_DE_VAGAS = 6;
public Colaborador Ofertante { get; set; }
public DateTime DataHoraSaida { get; set; }
public Endereco EnderecoSaida { get; set; }
public Endereco EnderecoDestino { get; set; }
public int VagasD... |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class GenericMessageNotification : gameuiWidgetGameController
{
[Ordinal(0)] [RED("background")] public inkWidgetReference Background { get; set; }
[Ordinal... |
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved.
// This is licensed software from AccelByte Inc, for limitations
// and restrictions contact your company contract manager.
// This code is generated by tool. DO NOT EDIT.
using AccelByte.Sdk.Api.Platform.Model;
using AccelByte.Sdk.Api.Platform.Operation;
using... |
using System;
using System.Collections.Generic;
using Xunit;
using static GitHub_App.Solution;
namespace Tests
{
public class Tests2
{
[Fact]
public void Test3()
{
List<int> data = new List<int>() {0, 0, 1, 1, 3, 5, 6, 7, 7};
string H = GetHours(ref data);
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using EYPDataService.Entities;
using EYPDataService.DataAccess;
using System.ServiceModel.Activation;
using System.Runtime.Serial... |
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
using TimeZoneConverter;
namespace DutchAndBold.MoneybirdSdk.Serialization
{
public class JsonTimeZoneConverter : JsonConverter<TimeZoneInfo>
{
public override TimeZoneInfo
Read(ref Utf8JsonReader reader, Type typeT... |
using System;
using System.Threading.Tasks;
using DotVVM.Framework.Hosting;
namespace DotVVM.Framework.Runtime.Tracing
{
public interface IRequestTracer
{
Task TraceEvent(string eventName, IDotvvmRequestContext context);
Task EndRequest(IDotvvmRequestContext context);
Task EndRequest... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.Interaction.Toolkit;
public class XRSocketInteractorTag : XRSocketInteractor
{
public string targetTag;
private bool isUsing = false;
private bool realShowMesh = false;
protected override void DrawHover... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RtfPipe
{
public enum NumberingType
{
///<summary>Decimal numbering (1, 2, 3).</summary>
Numbers = 0,
///<summary>Cardinal numbering (One, Two, Three).</summary>
CardinalText = 6,
///<summary>Uppercase alphabetical num... |
namespace astron.core
{
public enum MsgTypes : ushort
{
CLIENT_HELLO = 1,
CLIENT_HELLO_RESP = 2,
// Sent by the client when it's leaving.
CLIENT_DISCONNECT = 3,
// Sent by the server when it is dropping the connection deliberately.
CLIENT_EJECT = 4,
CL... |
namespace Rebar.RebarTarget.BytecodeInterpreter
{
public class StaticDataBuilder
{
public byte[] Data;
public StaticDataIdentifier Identifier;
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace SharedForms;
//adapted from Wout de Zeeuw on codeproject
public class TabbyPropertyGrid : PropertyGrid
{
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
if(keyData =... |
using System.Collections.Generic;
using System.Linq;
using Amazon.DynamoDBv2;
using Amazon.DynamoDBv2.DocumentModel;
using Amazon.DynamoDBv2.Model;
using Amazon.Lambda.APIGatewayEvents;
using Newtonsoft.Json;
namespace ArtApi.Routes.Unauthenticated.CacheEverything
{
class GetArtist : IRoute
{
public s... |
using Verse;
namespace RimStory
{
internal class RimStorySettings : ModSettings
{
public bool enableAll = true;
public bool enableDaysOfVictory = true;
public bool enableFunerals = true;
public bool enableIndividualThoughts = true;
public bool enableLogging = true;
... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using UniLinks.Dependencies.Data.VO.Class;
namespace UniLinks.API.Business.Interfaces
{
public interface IClassBusiness
{
Task<ClassVO> AddTasAsync(ClassVO @class);
Task<ClassVO> FindByClassIdTaskAsync(Guid classId);
Task<int> Fi... |
using System;
using System.Collections;
using System.Linq;
using FistVR;
using HADES.Utilities;
using UnityEngine;
namespace HADES.Core
{
public class EnhancedMovement : HADESEnhancement
{
public float Stamina { get; private set; }
public float StaminaPercentage { get; private set; }
pu... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using BooruDownloader.Properties;
namespace BooruDownloader {
public class ApiCredentialsException : Exception {
public ApiCredentialsException(string message) : base(message) { }
public ApiCredentialsException(string m... |
using DSIS.Utils;
using NUnit.Framework;
namespace DSIS.Graph
{
[TestFixture]
public class HashedQueueTest
{
[Test]
public void Test_01()
{
HashedQueue<int> queue = new HashedQueue<int>();
queue.Enqueue(1);
queue.Enqueue(2);
queue.Enqueue(1);
queue.Enqueue... |
namespace IntelligentPlant.DataCore.Client.Queries {
/// <summary>
/// Request for reading snapshot tag values.
/// </summary>
public class ReadSnapshotTagValuesRequest : ReadTagValuesRequest { }
}
|
using UnityEngine;
using System.Collections;
using System;
using System.Runtime.InteropServices;
namespace litefeel.crossplatformapi
{
public class ShareImplIos : ShareApi
{
[DllImport("__Internal")]
private static extern void _CPAPI_Share_ShareText(string text);
[DllImport("__Inter... |
using UnityEngine;
namespace ExcessPackage
{
public class LogEx : MonoBehaviour
{
//Turn this script into singleton
public static LogEx Debug; void Awake() {Debug = this;}
//Current log data
[SerializeField][TextArea] string logData;
//The line limit and line count
[SerializeField] int lineLimit; int lineCount;
... |
@model Sloth.Web.Models.TeamViewModels.CreateTeamViewModel
@{
ViewBag.Title = "Create New Team";
}
<div class="container">
<h2>@ViewBag.Title</h2>
<form method="post">
<div class="form-group">
<label asp-for="Name"></label>
<input asp-for="Name" class="form-control" />
... |
using Northwind.Data.Dtos;
using Northwind.Data.Services;
// __LLBLGENPRO_USER_CODE_REGION_START SsSvcAdditionalNamespaces
// __LLBLGENPRO_USER_CODE_REGION_END
namespace Northwind.Data.ServiceInterfaces
{
public interface ICategoryServiceRepository: IEntityServiceRepository<Category>
// __LLBLGENPRO_USER_CO... |
#region
using ShaderExtension.Interfaces;
using ShaderExtension.PropertyDeclaration.Enums;
#endregion
namespace ShaderExtension.PropertyDeclaration
{
public class Texture : IProperty
{
public DefaultTexture DefaultTexture;
/// <summary>
/// This is the string that Unity displays... |
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Windows.Graphics.Imaging;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Imaging;
// 空白ページの項目テンプレートについては、https://go.microsoft.com/fwlink/?LinkId=402352&clc... |
using InfraWatcher.Core.Models.Command;
using Microsoft.Extensions.Options;
using System.Linq;
using InfraWatcher.Core.Models.Configuration;
using InfraWatcher.Core.Providers;
using Microsoft.Extensions.Configuration;
using System.Net.Sockets;
namespace InfraWatcher.Common.Providers
{
public class DefaultCommandP... |
using System.Collections.Generic;
namespace Augury.Comparers
{
public class KeyValuePairIntUintComparer : IEqualityComparer<KeyValuePair<int, uint>>
{
public bool Equals(KeyValuePair<int, uint> x, KeyValuePair<int, uint> y)
{
return Equals(x.Value, y.Value) && Equals(x.Key, y.Key);... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Web;
using System.Linq;
namespace FubuCore
{
public static class StringExtensio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Axiverse.Interface.Windows
{
public enum WordWrap
{
Wrap,
NoWrap,
}
}
|
using System;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Samples.WeatherApi.WorkerClient
{
public class Worker : BackgroundService
{
private readonly HttpClient _regula... |
using System;
using System.ServiceProcess;
using System.ServiceModel.Web;
namespace PureCloudRESTService
{
public partial class RestService : ServiceBase
{
public RestService()
{
InitializeComponent();
}
protected override void OnStart(string[] args)
{
... |
using System.Threading.Tasks;
using Edelstein.Core;
using Edelstein.Network.Packets;
using Edelstein.Service.Game.Fields.Objects.Mob;
namespace Edelstein.Service.Game.Services.Handlers
{
public class MobMoveHandler : AbstractFieldMobHandler
{
public override async Task Handle(RecvPacketOperations opera... |
using Clifton.Core.Semantics;
namespace Clifton.Core.Semantics
{
public class XmlFileName : ImmutableSemanticType<XmlFileName, string> { };
public class OptionalPath : ImmutableSemanticType<OptionalPath, string> { };
public class FullPath : ImmutableSemanticType<FullPath, string> { };
public class AssemblyFileNam... |
using Apollo.Core.Configuration;
namespace Apollo.Core.Plugins
{
public class GoogleAdwordsSettings : ISettings
{
public string GoogleConversionId { get; set; }
public string GoogleConversionLabel { get; set; }
public string TrackingScript { get; set; }
}
}
|
using backend.Models;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace backend.Data;
public class ApplicationDbContext : IdentityDbContext<User, IdentityRole<Guid>, Guid>
{
public DbSet<Product> Products { get; set; }
publ... |
using ININ.Client.Common.Interactions;
namespace ININ.Alliances.RecursiveLabsAddin.viewmodel
{
public class InteractionViewModel : ViewModelBase
{
#region Private Fields
#endregion
#region Public Properties
#endregion
private InteractionViewModel(IInteractio... |
namespace IndieVisible.Web.Models
{
public class ListNoItemsViewModel
{
public string MainClass { get; set; }
public string Icon { get; set; }
public string Text { get; set; }
public bool Rotate { get; set; }
public ListNoItemsViewModel(string icon, string text)
... |
using QS.Permissions;
using QS.Services;
using QS.Validation;
using QS.Validation.GtkUI;
namespace QS.Project.Services.GtkUI
{
public static class GtkAppServicesConfig
{
public static void CreateDefaultGtkServices()
{
ServicesConfig.InteractiveService = new GtkInteractiveService();
ServicesConfig.Validati... |
using System;
namespace Microsoft.Msagl.Drawing
{
[Serializable]
public struct Color
{
private byte a;
private byte r;
private byte g;
private byte b;
public byte A
{
get
{
return a;
}
set
{
a = value;
}
}
public byte R
{
get
{
return r;
}
set
{
... |
using Sfs2X.Entities.Data;
using YxFramwork.Common.Model;
namespace Assets.Scripts.Game.jlgame.Modle
{
public class JlGameUserInfo : YxBaseGameUserInfo
{
public int[] Cards;
public int FoldNum;
public int CardLen;
public int FoldScore;
public int[] FoldCards;
pu... |
using Azure;
using Azure.Search.Documents;
using Azure.Search.Documents.Indexes;
using Azure.Search.Documents.Models;
using Microsoft.Extensions.Configuration;
using shoestore_listing_aspnetcore.Indexes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace shoesto... |
using System;
class test
{
public static void Main(string [] args)
{
Console.WriteLine("mca");
console.BackgroundColor=ConsoleColor.Blue;
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TeamPointerMaster : MonoBehaviour
{
GameObject pointer1;
GameObject pointer2;
GameObject currPointer;
private void Start()
{
pointer1 = transform.GetChild(0).gameObject;
pointer2 = transfo... |
namespace PlatinDashboard.Application.Farmacia.ViewModels.Balconista
{
public class FunCabViewModel
{
public int? Ide { get; set; }
public string Cod { get; set; }
public string Nom { get; set; }
public short? Uad { get; set; }
public bool Sis { get; set; }
publi... |
using System.Globalization;
using System.Windows.Media;
using Lib.Wpf.ConverterBase;
namespace OQF.ReplayViewer.Visualization.Computations
{
internal class BoolToBackgroundBrush : GenericValueConverter<bool, Brush>
{
protected override Brush Convert(bool value, CultureInfo culture)
{
return value
? new... |
using UnityEngine;
using UnityEngine.EventSystems;
namespace PcSoft.ExtendedUnity._90_Scripts._00_Runtime.Components
{
public abstract class SearchingSingletonUIBehavior<T> : UIBehaviour where T : SearchingSingletonUIBehavior<T>
{
public static T Singleton => FindObjectOfType<T>();
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework.GamerServices;
namespace Microsoft.Xna.Framework.Net
{
public sealed class NetworkMachine
{
internal NetworkMachine()
{
}
public void RemoveFromSession()
{
... |
namespace CoreLib.ASP.Extensions.YouTube.Types.YouTube
{
public abstract class YouTubeResponseItem
{
public YouTubeResponseItem()
{
PageInfo = new PageInfo();
}
public string Kind { get; set; }
public string Etag { get; set; }
public string NextPag... |
using System;
using Xendor.CommandModel.Command;
namespace CitiBank.Services.AccountServices.Commands
{
public class DepositAccountCommand : ICommand
{
public DepositAccountCommand(Guid id , decimal amount , string description)
{
Id = id;
Amount = amount;
De... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class Colour_Picker : MonoBehaviour
{
/// <summary>
/// This script handles picking colours for the AI and will handle colour picking for player uniforms later
/// </... |
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
namespace Graft.Labs.Utilities
{
public class PrettyPrinter
{
private ILogger Logger { get; }
public PrettyPrinter(ILogger logger)
{
Logger = logger;
}
public TableBuilder BuildTable(IEn... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using Duality.Resources;
namespace Duality.Editor.Plugins.Base.Forms.PixmapSlicer.States
{
public enum PixmapNumberingStyle
{
None,
Hovered,
All
}
}
|
using DaxQueryBuilder.DaxFunctions;
namespace DaxQueryBuilder
{
public class DaxFilter
{
public string In(string table, string column, params string[] values)
{
return DaxQueryHelper.ApplyFilterIn(table, column, values);
}
public string IsEqual(string table, string... |
using System;
using System.Collections.Generic;
using System.Text;
using SharpLua.LuaTypes;
namespace SharpLua.AST
{
/// <summary>
/// A for/in loop
/// </summary>
[Serializable()]
public partial class ForInStmt : Statement
{
/// <summary>
/// Executes the chunk
/// </... |
using System;
using System.Collections.Generic;
using System.Linq;
class Prize
{
static void Main()
{
Dictionary<byte, byte> marks = new Dictionary<byte, byte>();
string lineReader = Console.ReadLine();
string[] tokens = lineReader.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmpt... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using FoodDataCentralAPI.StandartModel;
using Newtonsoft.Json;
namespace FoodDataCentralAPI
{
static class DataFormatter
{
public static byte[] ConvertToBytes(string json) => Encoding.Default.GetBytes(json);
... |
namespace GenderPayGap.WebUI.Models.Shared.Patterns
{
public class ManageOrganisationBreadcrumbs
{
public string OrganisationName { get; set; }
public string EncryptedOrganisationId { get; set; }
public string PageText { get; set; }
}
}
|
namespace TekConf.Tests.UI
{
public static class ScreenNames
{
public static string AddTask = "AddTaskScreen";
public static string ConferencesList = "ConferencesList";
}
} |
#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... |
namespace BasicGameFrameworkLibrary.MahjongTileClasses;
[Cloneable(false)]
public class MahjongSolitaireTileInfo : BasicMahjongTile, IDeckObject, IMahjongTileInfo
{
public void Populate(int chosen)
{
MahjongBasicTileHelper.PopulateTile(this, chosen);
}
public void Reset() { }
} |
using KABINET_Application.Boundaries.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
using System.Linq;
namespace KABINET_Persistence.Services.Http
{
public class HttpContextService : IHttpContextService
{
public string GetTokenFromHttpContext(HttpContext context)
... |
namespace AdsPortal.WebApi.Persistence.EntityConfigurations
{
using AdsPortal.WebApi.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
public class CategoryConfiguration : IEntityTypeConfiguration<Category>
{
public void Configure(... |
// © Anamnesis.
// Licensed under the MIT license.
namespace Anamnesis.Tabs;
using Anamnesis.Actor.Utilities;
using Anamnesis.GameData.Excel;
using Anamnesis.Memory;
using Anamnesis.Services;
using Anamnesis.Utils;
using Anamnesis.Views;
using Serilog;
using System.Text;
using System.Windows;
using System.Windows.Co... |
using System;
using System.Collections;
using System.Collections.Generic;
using Gameplay.Puzzles.Base;
using UnityEngine;
namespace Gameplay.Puzzles.Pairs
{
public enum PairColor
{
RED,
BLUE,
GREEN,
YELLOW,
}
[Serializable]
public struct MaterialColorTuple
{
... |
/*
Copyright (c) 2018-2021 Festo AG & Co. KG <https://www.festo.com/net/de_de/Forms/web/contact_international>
Author: Michael Hoffmeister
This source code is licensed under the Apache License 2.0 (see LICENSE.txt).
This source code may use other Open Source software components (see LICENSE.txt).
*/
using System;
us... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cyberarms.IntrusionDetection.Shared;
namespace Cyberarms.IDDS.Management {
[System.Management.Automation.Cmdlet(System.Management.Automation.VerbsCommon.Get, "ActivationStatus")]
public class Get_ActivationStat... |
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Text;
namespace InteractionTests.Pages.Selectable
{
public partial class SelectablePage : BasePage
{
public SelectablePage(IWebDriver driver)
: base(driver)
{
}
}
}
|
using System.Diagnostics.CodeAnalysis;
using MeteoSharp.Attibutes;
using static MeteoSharp.Codes.CodeForm;
namespace MeteoSharp.Bulletins.DataDesignators
{
/// <summary>
/// T2 Designator for T1 = S (Surface data)
/// </summary>
[SuppressMessage("ReSharper", "InconsistentNaming")]
public enum T2S ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.