content stringlengths 23 1.05M |
|---|
namespace Sims1WidescreenPatcher.UI.WPF.Services
{
public interface IDialogService
{
void ShowMessageBox(string message);
}
}
|
using System.Collections;
using Pathfinding;
using UnityEngine;
public class Creep : MonoBehaviour, /*IPooledObject,*/ ICreepSender
{
[Header("Primary Creep Data")]
public string CreepName;
public float Health;
public int Attack;
public int Defense;
public int SenderViewId;
public PhotonPl... |
using Mavanmanen.StreamDeckSharp.Attributes.Data;
using Mavanmanen.StreamDeckSharp.Enum;
using Newtonsoft.Json;
namespace Mavanmanen.StreamDeckSharp.Internal.Manifest
{
internal class ManifestProfile
{
[JsonProperty("Name")]
public string Name { get; }
[JsonIgnore]
public Devi... |
using TMPro;
using UnityEngine;
//Esse script vai em todos os textos que terão o tamanho ajustável pelas configurações
public class FontSizeController : MonoBehaviour {
public TextMeshProUGUI text;
public int minFontSize;
public int maxFontSize;
//Inicia o tamanho da fonte se ele for menor que o mí... |
/*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
using Sportradar.OddsFeed.SDK.Messages;
namespace Sportradar.OddsFeed.SDK.Entities.REST
{
/// <summary>
/// Represents a race driver profile
/// </summary>
public interface IRaceDriverProfile
{
/// <summ... |
using FluentValidation.Validators;
using System.Collections.Generic;
using System.Linq;
using TurtleChallenge.App.Models;
namespace TurtleChallenge.App.Validators
{
public class TilesMustBeWithinBoard : PropertyValidator
{
public TilesMustBeWithinBoard()
: base("Property {PropertyName} con... |
using Entitas;
using Entitas.CodeGeneration.Attributes;
[Event(bindToEntity: false)]
[Game]
public sealed class BeforeDestroyComponent : IComponent
{
}
|
using Funq;
using ServiceStack;
using ServiceStack.Configuration;
using ServiceStack.IO;
using TalentBlazor.ServiceInterface;
using TalentBlazor.ServiceModel;
[assembly: HostingStartup(typeof(TalentBlazor.AppHost))]
namespace TalentBlazor;
public class AppHost : AppHostBase, IHostingStartup
{
public AppHost() : ... |
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UIElements;
namespace LocationRPG
{
// manages title screen
public class TitleScreenManager : VisualElement
{
private VisualElement _playButton;
private VisualElement _optionsButton;
private VisualElement _exit... |
using System;
using luavm.api;
using luavm.number;
using LuaType = System.Int32;
using Math = luavm.number.Math;
namespace luavm.state
{
public class LuaValue
{
// internal readonly object value;
// public LuaValue(object value)
// {
// this.value = value;
// }
... |
using Godot;
using StormTime.Player.Modifiers;
using StormTime.Utils;
using StormTime.Weapon;
namespace StormTime.Player.Controllers
{
public class PlayerShieldController : Area2D
{
// Prefabs
[Export] public NodePath playerShieldNodePath;
// Timer and Count
[Export] public fl... |
using System;
using System.Threading.Tasks;
using R5T.Lombardy;
using R5T.T0020;
namespace R5T.T0031.T001.X002
{
public class GetDirectoryPath : IFunctionOperation<string, string, string>
{
private IStringlyTypedPathOperator StringlyTypedPathOperator { get; }
public GetDirectoryPath(
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using SFA.DAS.Apim.Developer.Domain.Models;
namespace SFA.DAS.Apim.Developer.Domain.Interfaces
{
public interface ISubscriptionService
{
Task<Subscription> CreateSubscription(string internalUserId,
ApimUserType apimUserType, st... |
using CommandLine;
using ONE;
using System;
using System.Threading.Tasks;
namespace Aquarius.ONE.Test.ConsoleApp.Commands
{
[Verb("i18nKeys", HelpText = "Retrieves i18nKeys.")]
public class I18nCommand : ICommand
{
async Task<int> ICommand.Execute(ClientSDK clientSDK)
... |
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using OpenMod.API.Commands;
namespace OpenMod.Core.Rcon
{
public interface IRconClient : ICommandActor
{
IRconHost Host { get; }
EndPoint EndPoint { get; }
bool IsConnected { get; }
bool IsAuthenticated ... |
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace WebExtensions.Net.Devtools.InspectedWindow
{
// Combined Callback Parameter Class
/// <summary></summary>
[JsonConverter(typeof(CombinedCallbackParameterJsonConverter<EvalResult>))]
public partial class EvalResult : B... |
using System.Reflection;
namespace Bolt.Metadata
{
public interface IActionMetadataProvider
{
ActionMetadata Resolve(MethodInfo action);
}
}
|
using System;
using System.Xml.Linq;
namespace SoftCube.Logging
{
/// <summary>
/// ファイルアペンダー (容量超過によるバックアップ付き)。
/// </summary>
public class FileAppenderWithSizeBackup : FileAppender
{
#region プロパティ
/// <summary>
/// 最大ファイルサイズ (単位:byte)。
/// </summary>
/// ... |
using FluentDiagrams.Primitives;
using System;
using System.Collections.Generic;
using System.Text;
namespace FluentDiagrams.Paths
{
public class LineSegment : IPathSegment
{
public Coordinate Coord1 { get; }
public Coordinate Coord2 { get; }
public LineSegment( Coordinate coord1, Coordinate coord2 )
{
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ScrubBot.Database.Domain;
namespace ScrubBot.Database.SQLite.Configurations
{
internal class EventConfiguration : IEntityTypeConfiguration<Event>
{
public void Configure(EntityTypeBuilder<Event> builder)... |
using System.Collections;
using System.Collections.Generic;
namespace Jaspy.Switchmaster.Data.Models
{
public class SwitchViewModel
{
public string Fqdn { get; set; }
public bool? Configured { get; set; }
public DeployState? DeployState { get; set; }
}
public class Synchron... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenWeatherMapAPI.Exceptions;
using OpenWeatherMapAPI.Models;
using OpenWeatherMapAPI.Models.Enums;
using System.Threading.Tasks;
namespace OpenWeatherMapAPI.Tests
{
[TestClass]
public class CurrentWeatherClientTests : OpenWeatherMapTestsBase
{
... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFab... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlankApp.Input
{
public class ArchiveInfo : INotifyPropertyChanged
{
private string _no;
public string No { get=>this._no; set { _no = valu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics.Contracts;
using QuickGraph.Collections;
namespace SafetyAnalysis.Framework.Graphs
{
public class NodeEquivalenceRelation
{
public static ForestDisjointSet<HeapVertexBase> ... |
using Integracja.Server.Web.Models.Shared.Enums;
using Integracja.Server.Web.Models.Shared.Question;
using Microsoft.AspNetCore.Mvc;
namespace Integracja.Server.Web.Areas.Pytania.Models.Shared
{
public class QuestionFormViewModel
{
[BindProperty]
public QuestionModel Question { get; set; } = ... |
using System;
using System.Text;
namespace AtDb
{
public static class EncoderUtilities
{
public static string Base64Encode(string plainText)
{
byte[] plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText);
string stringEncoded = Convert.ToBase64String(plainTextB... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
/// <summary>
/// Clase auxiliar Arista para la definición de cada arista
/// de los triángulos de la malla del objeto.
/// </summary>
public class Edge
{
#region EdgeVertices
/// <summary>
///... |
using System.Drawing;
namespace SBRW.Launcher.Core.Theme
{
/// <summary>
/// WinForm (About) Unique Text and Background Colors
/// </summary>
public class Color_Winform_About
{
/// <summary>
/// Background Fore Color
/// </summary>
/// <remarks>
/// RGB: 15... |
using LoanApplication.Core.DTO;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace LoanApplication.Core
{
public class LoanRepository
{
private DbContext dbContext;
IRateParser rateParser;
public LoanRepository(DbContext d... |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using HotChocolate;
using HotChocolate.Types;
using IdOps.Model;
namespace IdOps.GraphQL
{
[ExtendObjectType(RootTypes.Query)]
public class TenantQueries
{
public async Task<IEnumerable<Tenant>> GetTenantsAsync(... |
namespace Restup.DemoControllers.Model
{
public sealed class FromContentData
{
public int Counter { get; set; }
}
} |
using System;
using System.Collections.Generic;
using Movies_GES.Web.Infrastructure;
using Movies_GES.Web.Models;
using Movies_GES.Web.Projections;
namespace Movies_GES.Domain.Tests.Infrastructure
{
internal class DummyMovieProjectionRepository : IProjectionRepository<MovieProjection>
{
public DummyMov... |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... |
using SimpleIdentityServer.Uma.Core.Extensions;
using SimpleIdentityServer.Uma.Core.Models;
using SimpleIdentityServer.Uma.Core.Parameters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SimpleIdentityServer.Uma.Core.Repositories
{
internal sealed class... |
using System.Threading.Tasks;
using ChuangLan.Client;
using ChuangLan.Client.ApiRequest;
using ChuangLan.Client.ApiResult;
namespace ChuangLan
{
public interface IChuangLanSmsManager
{
/// <summary>
/// 单条发送
/// </summary>
/// <param name="sms"></param>
/// <returns></... |
using System.Configuration;
using System.Data.SqlClient;
namespace DemoWebsite
{
public class Utilities
{
private static readonly ConnectionStringSettings Connection = ConfigurationManager.ConnectionStrings["testdb"];
private static readonly string ConnectionString = Connection.ConnectionStrin... |
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Primitives;
using Nop.Core;
using Nop.Core.Domain.Security;
using Nop.Data;
using Nop.Services.Logging;
namespace Nop.Web.Framework.Mvc.Filters
{
/// <summary>
/// Represents a filter attribute ena... |
using System;
using System.Collections.Generic;
using System.Linq;
using Wintellect.PowerCollections;
namespace Text_Editor
{
class TextEditor : ITextEditor
{
private HashSet<string> loggedUsers = new HashSet<string>();
private Trie<BigList<char>> users = new Trie<BigList<char>>();
pri... |
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using IdentityServer.Admin.Helpers;
using IdentityServer.Admin.Infrastructure.Mappers;
using IdentityServer.Admin.Models.PersistedGrant;
using IdentityServer.Admin.Services.PersistedGrant;
namespace IdentityServer.Admin.Controllers
{
public class Persi... |
namespace BasicMiniMvvm.Services
{
/// <summary>
/// IInputBoxService interface
/// </summary>
public interface IInputBoxService
{
/// <summary>
/// Shows the dialog.
/// </summary>
/// <param name="prompt">The prompt.</param>
/// <param name="title">The titl... |
using System.IO;
using MusicianHelper.Common;
using MusicianHelper.Common.Concrete;
using MusicianHelper.Common.Helpers;
using MusicianHelper.Infrastructure.Services.Abstract;
using MusicianHelper.Infrastructure.Services.Concrete;
namespace MusicianHelper.GenerateNewKeyAndIV
{
class Program
{
static v... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using KaibaReduxAPI.Models;
namespace KaibaReduxAPI.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class SectionController : C... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectBtn : MonoBehaviour {
[SerializeField]
private GameObject objectPrefab;
[SerializeField]
private Sprite sprite;
public GameObject ObjectPrefab
{
get
{
return objectP... |
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
namespace AspNet.Security.OpenId.Events
{
public class OpenIdRedirectContext : PropertiesContext<OpenIdAuthenticationOptions>
{
public OpenIdRedirectContext(HttpContext context,
AuthenticationScheme scheme,
... |
using System;
using MongoDB.Driver.GeoJsonObjectModel;
namespace DriverSecurity.Api.Domain.ValueObjects
{
public struct PositioningEvent
{
public string EventId { get; set; }
public DateTime EventDateTime { get; set; }
public GeoJson2DGeographicCoordinates Coordinates { get; ... |
using System.Text;
using System;
using System.Linq;
namespace VigenereTools
{
public class LatinCaesarCipher : ICaesarCipher
{
private const int AlphabetSize = 26;
private static readonly char[] alphabet = Enumerable.Range('a', AlphabetSize).Select(x => (char)x).ToArray();
public cha... |
using GenshinPray.Type;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GenshinPray.Models.DTO
{
public class LuckRankingDTO
{
public int AuthId { get; set; }
public string MemberCode { get; set; }
public YSRareType RareType ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SoundSystem;
public class ScriptTester : MonoBehaviour
{
[SerializeField] MusicEvent _songA;
[SerializeField] MusicEvent _songB;
[SerializeField] MusicEvent _songC;
[SerializeField] MusicEvent _songD;
... |
using System.Collections.Generic;
namespace Valhalla.Services
{
public interface IQueryService<TQuery, TResult>
{
IAsyncEnumerable<TResult> QueryAsync(TQuery query);
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMoveTemp : MonoBehaviour
{
public float MoveSpeed = 5f;
public AudioSource Walk;
private Rigidbody m_rigidBody;
private Ray rotationRay;
private Animator anim;
private GameObject playerCamera;
//... |
namespace Ed.BudgetVisualizer.Models
{
/// <summary>
/// Represents a data node in a Sankey diagram.
/// </summary>
public class NodeItem
{
/// <summary>
/// Node display name, also used for linking.
/// </summary>
public string Name { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace sqlcli
{
public enum ActionType
{
CompareSchema = 1,
CompareData = 2,
CompareRowCount = 3,
Shell = 4,
GenerateTableRows = 10,
... |
using System.Collections.Generic;
namespace BriskChat.BusinessLogic.Models
{
public class DomainModel : BaseModel
{
public string Name { get; set; }
public UserModel Owner { get; set; }
public List<UserModel> Users { get; set; }
public List<RoomModel> Rooms { get; set; }
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Medusa.Common;
namespace Medusa.Siren.Schema
{
public class SirenCustomClass : BaseSirenCustomType
{
public override bool IsCustomClass => true;
public override bool IsCustomEnum => false;
... |
using GoodToCode.Shared.Domain;
using System;
namespace GoodToCode.Subjects.Models
{
public interface ISetting : IDomainEntity<ISetting>
{
Guid SettingKey { get; set; }
string SettingName { get; set; }
int SettingTypeKey { get; set; }
string SettingValue { get; set; }... |
using FirstPopCoffee.Common.Domain.Model;
namespace FirstPopCoffee.RoastPlanning.Tests.Bus {
public class TestAggregateRoot : EventSourcedAggregateRoot {
}
} |
using FastCrypto.Benchmarks;
Console.WriteLine("Specify input file path (default: \"Input.txt\"):");
var throughputBenchmark = new HashThroughput(Console.ReadLine());
SelectCase:
Console.WriteLine("Benchmark or stress-test? B/S: ");
var resultCode = (char)(Console.Read() | ' ') switch // bitwise to lowercase
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Threax.AspNetCore.Halcyon.Ext
{
public class HalDocEndpointInfo : IHalDocEndpointInfo
{
public static class DefaultRels
{
public const String Get = "get";
}
p... |
using TechTalk.SpecFlow.TestProjectGenerator.Driver;
namespace TechTalk.SpecFlow.Specs.StepDefinitions
{
[Binding]
public class ProjectSteps
{
private readonly ProjectsDriver _projectsDriver;
private readonly CompilationDriver _compilationDriver;
private readonly Compilati... |
using Grpc.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Routeguide
{
class Program
{
static void Main(string[] args)
{
const int Port = 50052;
var features = RouteGuideUtil.ParseFeat... |
// 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 limitation the rights to use, co... |
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using HelperLib;
using BC = System.Collections.Concurrent.BlockingCollection<ProducerConsumerQueue.WorkItem>;
namespace ProducerConsumerQueue
{
class Program
{
static Random random = new... |
using Mirror;
using System.Collections.Generic;
using UnityEngine;
namespace FirstGearGames.Mirrors.Assets.NetworkProximities
{
public class ProximityCheckerManager : MonoBehaviour
{
#region Private.
/// <summary>
/// Singleton reference to this script.
/// </summary>
... |
using System.Collections.Generic;
using HarmonyLib;
using RimWorld;
using Verse;
namespace SWSaber
{
[StaticConstructorOnStartup]
internal static class HarmonyPatches
{
static HarmonyPatches()
{
var harmony = new Harmony("rimworld.jecrell.starwars.lightsaber");
harm... |
using System.Runtime.Serialization;
namespace Xero.Api.Core.Model.Reports
{
[DataContract(Namespace = "")]
public class ReportField
{
[DataMember]
public string FieldID { get; set; }
[DataMember]
public string Description { get; set; }
[DataMember]
public s... |
using System;
using System.Collections.Generic;
namespace Place {
public class PlaceTransaction: PlaceObject<PlaceTransaction> {
public override string resource { get { return "/transactions"; } }
public override string object_type { get { return "transaction"; } }
public string description { get; set;... |
using System.Collections.ObjectModel;
using TournamentManager.Data;
namespace TournamentManager.Plan
{
public class TeamCombinationGroup<T> : Collection<TeamCombination<T>>
{
internal DateTimePeriod DateTimePeriod = new DateTimePeriod();
}
} |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Microshoppy.Warehouse.CQRS.Command;
using Microshoppy.Warehouse.CQRS.Query;
namespace Microshoppy.Warehouse.Controllers
{
[ApiController]
[Rout... |
using System.Collections.Generic;
using System.Globalization;
namespace DeviceManager.Api.Configuration.Settings
{
/// <summary>
/// Class to read application settings from the appsettings file
/// </summary>
public class AppSettings
{
/// <summary>
/// Default thread culture
... |
using Digirati.IIIF.Model.Types;
using Newtonsoft.Json.Linq;
namespace Digirati.IIIF.Serialisation
{
public class ServiceSerialiser : DynamicJsonLdSerialiser
{
// TODO: this can currently only read a GenericService
public override object ConvertJToken(JToken jToken)
{
retur... |
namespace AillieoUtils.CSFixedPoint {
internal static class FPSinLut_19456 {
internal static fp[] table = new fp[] {
fp.CreateWithRaw(1931065956), // 0.449611329654607
fp.CreateWithRaw(1931157908), // 0.44963273872729
fp.CreateWithRaw(1931249858), // 0.449654147541665
... |
/*
The MIT License (MIT)
Copyright (c) 2016 Yusuke Kurokawa
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, mod... |
using System;
namespace KzsRest.Engine.Services.Abstract
{
public interface IConvert
{
bool TryFromBase64Chars(ReadOnlySpan<char> chars, byte[] buffer, out int bytesWritten);
}
}
|
namespace InCountrySDK.Search
{
public enum NumberField
{
Version,
RangeKey1,
RangeKey2,
RangeKey3,
RangeKey4,
RangeKey5,
RangeKey6,
RangeKey7,
RangeKey8,
RangeKey9,
RangeKey10
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using TMPro;
using UnityEngine.SceneManagement;
public enum GameState
{
SCAN = 0,
COLLECT
}
public class GameManager : MonoBehaviour
{
public ResourceManager resourceManager;
public int playerScore = 0;
pub... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class LightEngineBehaviour : MonoBehaviour {
public Transform ragdoll;
public Light spotLight;
public List<Light> colorLights;
// Use this for initialization
void Start ()
{
//StartCoroutine(WaitAndRandomizeLights(5.0f)... |
using Epoche.MVVM.ViewModels.Navigation.Presentation;
namespace Epoche.MVVM.Presentation.WinUI;
public interface ITarget
{
public ChildComponentContainer ChildComponentContainer { get; }
}
public interface ITarget<TViewModel> : ITarget where TViewModel : NavigableViewModelBase
{
public IViewModelContainer<TV... |
using System;
// ReSharper disable once CheckNamespace
namespace DateTimeProviders
{
public class OverrideDateTimeProvider : IDisposable
{
private readonly IDateTimeProvider _originalProvider;
private readonly StaticDateTimeProvider _staticProvider;
private OverrideDateTimePr... |
#region License
// Grid.cs
// Author: Daniel Sklenitzka
//
// Copyright 2013 The CWC Team
//
// 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/LICE... |
using System;
using System.IO.Pipelines;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NSubstitute;
using OmniSharp.Extensions.JsonRpc;
using Xunit;
using Xunit.Abstractions;
namesp... |
// Copyright (c) 2020 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using RestSharp;
using System;
using System.Collections.Generic;
using System.Text;
namespace RoseGarden.Parse
{
/// <summary>
/// Exception specific for communicating with a parse server.... |
using System.Collections.Generic;
using System.Runtime.Serialization;
using static SnipInsight.Forms.Features.Insights.Celebrities.RawNewsModel;
namespace SnipInsight.Forms.Features.Insights.Celebrities
{
[DataContract]
public class NewsModel
{
[DataMember(Name = "name")]
public string Nam... |
using System;
class Program
{
static void Main(string[] args)
{
try
{
var studentInfo = Console.ReadLine().Split();
Student currentStudent = new Student
(
firstName: studentInfo[0],
lastName: studentInfo[1],
f... |
using System.Threading.Tasks;
using Silky.Core.Modularity;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Silky.Codec;
using Silky.SkyApm.Agent;
using Silky.Transaction.Repository.Redis;
namespace AnotherHostDemo
{
[DependsOn(/*typeof... |
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
using System;
using System.IO;
using NUnit.Framework;
namespace Tangosol.IO
{
[TestFixture]
public class DataReaderAndWriterTests
... |
using System.Collections.Generic;
using UnityEngine;
public static class FindHelper<T>
{
public static List<T> FindAllThatAreVisible(int layerMask = ~0)
{
Camera camera = Camera.main;
Vector2 halfExtents = new Vector2()
{
x = camera.orthographicSize * camera.aspect,
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using GrabNReadApp.Data.Models.Store;
namespace GrabNReadApp.Data.Services.Store.Contracts
{
public interface IPurchasesService
{
Task<Purchase> Create(Purchase purchase);
Task<Purchase> GetPurchaseById(int id);
IEnumera... |
/*
* Copyright (c) Adam Chapweske
*
* Licensed under MIT (https://github.com/achapweske/silvernote/blob/master/LICENSE)
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DOM.CSS.Internal
{
public class MutableCSSRuleList : CSSRuleListBase
{
#regio... |
using Newtonsoft.Json;
namespace Keap.Sdk.Domain.Common
{
// TODO: Add comments to properties and class
public class Address
{
[JsonProperty("country_code")]
public string CountryCode { get; set; }
/// <summary>
/// Can be BILLING, SHIPPING or OTHER
/// </summary>
... |
using NullReferencesDemo.Application.Implementation;
using NullReferencesDemo.Domain.Implementation;
using NullReferencesDemo.Infrastructure.Implementation;
using NullReferencesDemo.Presentation.Implementation;
using NullReferencesDemo.Presentation.Interfaces;
using NullReferencesDemo.Presentation.PurchaseReports;
na... |
#region Information
// Solution: Spark
// Spark.Engine
// File: IndexEntry.cs
//
// Created: 07/12/2017 : 10:35 AM
//
// Modified By: Howard Edidin
// Modified: 08/20/2017 : 2:01 PM
#endregion
namespace FhirOnAzure.Engine.Model
{
using System.Collections.Generic;
using System.Linq;
using FhirOnAzur... |
using SharedTrip.Models;
using SharedTrip.ViewModels.Trips;
using System;
using System.Linq;
namespace SharedTrip.Services
{
public class TripsService : ITripsService
{
private readonly ApplicationDbContext dbContext;
public TripsService(ApplicationDbContext dbContext)
{
t... |
using CameraBazaar.Data;
using CameraBazaar.Data.Models;
using CameraBazaar.Services;
using CameraBazaar.Web.Infrastructures.Extensions;
using CameraBazaar.Web.Infrastructures.Filters;
using Microsoft.AspNetCore.Authentication.Facebook;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Micr... |
using System;
using System.IO;
using System.Text.Json;
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Logging;
using Avalonia.Markup.Xaml;
using Editor.Models;
using Editor.ViewModels;
using Editor.Views;
using Splat;
namespace Editor
{
public class App : Application
{
pub... |
using StereoKit;
using System.Threading.Tasks;
namespace StereoKitSample.Samples
{
/// <summary>
/// 動的にモデルを生成するサンプル
/// </summary>
public class InstantiateModelApp : IApp
{
private Model model = null;
private float modelScale = 1;
private float menuScale = 1;
priva... |
using UnityEngine;
using UnityEngine.Rendering.Universal;
namespace Simulation.Liquids.Graphics
{
public class VoxelWaterRenderFeature : ScriptableRendererFeature
{
[SerializeField] private LayerMask _layerMask = default;
[SerializeField] private string _renderTargetName = "_RTName";
[... |
namespace That_One_Nerd.Unity.Games.ArcadeManiac.Misc.Extensions
{
public static class DifferenceExtension
{
public static string GetDifference(this string a, string b) => b.Replace(a, "");
}
}
|
using Sirenix.OdinInspector;
using UnityEngine;
using UnityEngine.Assertions;
namespace JReact.Pool.SpecialEffect
{
/// <summary>
/// animation effect implemented as pool item
/// </summary>
[RequireComponent(typeof(Animator))]
public sealed class J_PoolItem_Animation : J_PoolItem_SpecialEffect
... |
using System.Threading;
using FubuTransportation.Polling;
namespace FubuTransportation.Monitoring
{
public class HealthMonitorPollingJob : IJob
{
private readonly IPersistentTaskController _controller;
public HealthMonitorPollingJob(IPersistentTaskController controller)
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.