content stringlengths 23 1.05M |
|---|
using System;
using System.Collections.Generic;
using System.Text;
namespace Kata.CustomTypes.MenuFactoryListDone
{
public class FoodMenuItem : MenuItemBase
{
public FoodMenuItem(string name, decimal price) : base(name, price)
{
}
protected override void CreateVariants()
... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace TeamProject
{
public class AppContext : DbContext
{
public AppContext() : base("name=AppContext")
{
}
public DbSet<User> Users { get; set; }
//Flu... |
// Copyright (c) Stickymaddness All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Sextant.Domain.Entities;
using Sextant.Domain.Events;
using Sextant.Domain.Phrases;
namespace Sextant.Domain.Commands
{
public class GetNextSy... |
using System;
using Google.Protobuf;
using Motor.Extensions.Conversion.Abstractions;
namespace Motor.Extensions.Conversion.Protobuf
{
public class ProtobufDeserializer<T> : IMessageDeserializer<T> where T : IMessage<T>, new()
{
private readonly MessageParser<T> _messageParser = new(() => new T());
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
private Rigidbody2D rb;
private bool collidingLeft;
private bool collidingRight;
private bool collidingTop;
private bool collidingBottom;
private bool isPlaying;
// Start is called before the f... |
using UnityEngine;
using UnityEngine.Events;
public class FloatChangedWatcher : MonoBehaviour
{
public FloatChangedEvent floatChangedEvent;
public FloatAction action;
public void OnFloatChanged(float value)
{
action.Invoke(value);
}
private void OnEnable()
{
floatChangedE... |
using System.Threading.Tasks;
using GeoChallenger.Services.Providers.DTO;
namespace GeoChallenger.Services.Providers.Interfaces
{
/// <summary>
/// Social network provider
/// </summary>
public interface ISocialNetworksProvider
{
/// <summary>
/// Validate social network cr... |
using System.Collections.Concurrent;
using NLog;
using NLog.Targets;
namespace Microsoft.Azure.Commands.DataLakeStore.Models
{
/// <summary>
/// NLog is used by the ADLS dataplane sdk to log debug messages. We can create a custom target
/// which basically queues the debug data to the ConcurrentQu... |
using Loki.BulkDataProcessor.DependancyInjection;
using LokiBulkDataProcessor.IntegrationTests.Constants;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System.Reflection;
namespace LokiBulkDataProcessor.IntegrationTests
{
public class Startup
{
IConfig... |
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticament... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace cardinal_webservices.DataModels
{
[Table("meetings")]
public class Meeting
{
[Key, Column("meeting_id")]
public string Id { get; set; }
[Column("creator_id"), F... |
using System;
namespace Xpressive.Home.Plugins.Lifx
{
internal static class LifxMessageFactory
{
public static LifxMessage Deserialize(byte[] message)
{
var frameData = new byte[8];
var addressData = new byte[16];
var headerData = new byte[12];
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace StackExchange.Redis.Tests.Issues
{
public class Issue1101 : TestBase
{
public Issue1101(ITestOutputHelper output) : base(output) { }... |
namespace Shapes
{
using System;
public class Square : Shape
{
public Square(double side) : base(side)
{
}
public override void CalculateSurface()
{
double result = 0;
result = this.height * this.width;
Console.Write("Square sur... |
using System;
using System.Collections.Generic;
namespace Microsoft.Maui.Automation
{
internal static class MauiExtensions
{
internal static IElement[] GetChildren(this Maui.IWindow window, IApplication application, string? parentId = null)
{
if (window.Content == null)
return Array.Empty<IElement>... |
using System.Collections.Generic;
using Syn.Speech.Common.FrontEnd;
namespace Syn.Speech.Decoder.Scorer
{
public interface IScoreable:IData,IComparer<IScoreable>
{
/// <summary>
/// Calculates a score against the given data. The score can be retrieved with get score
/// </summary>
... |
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class KataRemoveDuplicateWordsTests
{
[Test, Description("Should handle sample case")]
public void ExampleTest()
{
Assert.That(
KataRemoveDuplicateWords.RemoveDuplicate... |
using System;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using Eleve;
using TweetWPF.ViewModels;
namespace TweetWPF.Actions.Tweetline
{
public abstract class TweetlineActionBase : ActionBase<TweetlineViewModel>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Website.Components.DataTable
{
public enum ESearchType
{
Exact,
Contains
}
}
|
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
#nullable enable
namespace DebuggerTests
{
public class NullableTests
{
public static void TestNullableLocal()
{
int? n_int = 5;
int? n_int_null = null;
DateTime? n_dt = new DateT... |
using Bellight.Core.DependencyCache;
namespace Bellight.Core
{
public interface IAssemblyScanner
{
DependencyCacheModel Scan();
}
}
|
using Languages;
namespace Guide
{
public class MuchTypeQuestion<T> : Question<T> where T : IProvideLanguage, new()
{
public MuchTypeQuestion(string input, Knowledge<T> knowledge )
: base(input, knowledge)
{
}
protected override int ItemIndex(int count)
{
... |
using System;
namespace ServiceLayer
{
public interface IResult<out TResultType> : IResult where TResultType : struct, Enum
{
new TResultType ResultType { get; }
}
}
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenTK;
namespace SFGraphics.Utils.Test.VectorUtilsTests
{
[TestClass]
public class Orthogonalize
{
private readonly double delta = 0.0001;
[TestMethod]
public void OrthogonalizeVector()
{
// Not orthogo... |
using Newtonsoft.Json;
namespace CyberBiology.Core.Serialization
{
public class WorldInfo
{
public WorldInfo()
{
}
public WorldInfo(World world)
{
Height = world.Height;
Width = world.Width;
Iteration = world.Iteration;
}
... |
@using EntityLayer.Concrete
@model List<Category>
@{
Layout = null;
}
<link href="~/lib/bootstrap/dist/css/bootstrap.css" rel="stylesheet" />
<table class="table table-bordered">
<tr>
<th>ID</th>
<th>Kategori Adı</th>
<th>Durumu</th>
<th>Detaylar</th>
<th>Sil</th>
<... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShowMenu : MonoBehaviour {
bool pressed, menuActive;
GameObject menuPanel;
GameObject imagePanel;
Animator anim;
float timeTrigger;
// Use this for initialization
void Start () {
menuActi... |
namespace Futuclass.EventBus
{
/// <summary>
/// The base class for all events
/// </summary>
public abstract class EventBase
{
}
} |
using System;
using System.Diagnostics;
using ChaosIV.WS.Messages;
using GTA;
using Newtonsoft.Json;
namespace ChaosIV
{
class PollProxy {
private PipeServer _pipeServer;
private Process _proxyProcess;
private readonly string _ffzPassphrase;
private bool _isAuthenticated = false;
pri... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Aoc2020
{
public class Day05 : IDay
{
public override string Day { get; } = nameof(Day05)[3..];
public override string Result1() =>
InputLines
.Select(Seat... |
using System;
using System.Collections.Generic;
namespace LINGYUN.ApiGateway.Ocelot
{
[Serializable]
public class AuthenticationOptionsDto
{
public string AuthenticationProviderKey { get; set; }
public List<string> AllowedScopes { get; set; }
public AuthenticationOptionsDto()
... |
using System.Collections;
using System.Collections.Generic;
namespace VagabondLib.Collections
{
/// <summary>
/// Class used to route from a non-generic IComparer object to IComparer<object>
/// </summary>
public class RoutedComparer : IComparer<object>
{
private IComparer m_True;
... |
using System;
using Xamarin.Forms;
namespace CampgaignPOC
{
public class LineEntry:Entry
{
public LineEntry()
{
}
}
}
|
// 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;
using System.Windows.Controls;
using System.Windows.Media;
using Microsoft.Test.Stability.Core;
using... |
using UnityEngine;
public class HeroControl : MOBAUnit {
//FIELDS
public delegate void HeroDiedEventHandler(HeroControl dyingHero);
public event HeroDiedEventHandler HeroDied;
//references to abilities
[SerializeField]
private HearthStoneAbility _hearthStone;
[SerializeField]
privat... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Bicep.Core.Parsing;
using Bicep.Core.Syntax;
namespace Bicep.Core.Navigation
{
/// <summary>
/// Represents a syntax declaration.
/// </summary>
/// <remarks>This is used to identify a program syntax declaration.</remarks... |
using DogScepterLib.Project.GML.Decompiler;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.Json;
namespace DogScepterLib.Project.GML.Analysis;
public class NodeSearcher
{
public class ConditionalSearch
{
public string Name { get; set; } // Display name
publ... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MoqExtensions.cs" company="The original author or authors.">
// Copyright 2002-2012 the original author or authors.
//
// Licensed under the Apache License, Version 2.0 (th... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Contact.cs" company="Brandon Seydel">
// N/A
// </copyright>
// -----------------------------------------------------------------------------------------------------------------... |
using EPiServer.Core;
namespace Geta.EPi.Extensions.Helpers
{
/// <summary>
/// Helper methods for working with EPiServer PageData objects
/// </summary>
public static class PageHelper
{
/// <summary>
/// Gets the start page for current site.
/// </summary>
... |
using MediatR;
using MMLib.MediatR.Generators.Controllers;
namespace MMLib.MediatR.Generators.Demo.Applications.Commands
{
[HttpPost(Controller = "Products")]
public class CreateProductCommand: IRequest<int>
{
public int Id { get; set; }
public string Name { get; set; }
public st... |
using System;
using System.Web.Http;
using System.Web.Http.Description;
namespace SocialFake
{
public class HomeController : ApiController
{
[HttpGet]
[Route]
[ApiExplorerSettings(IgnoreApi = true)]
public IHttpActionResult Index()
{
return Redirect(new Uri(... |
using Arinna.Data;
using Arinna.Northwind.ProductService.Data.Entity;
using System;
using System.Collections.Generic;
using System.Text;
namespace Arinna.Northwind.ProductService.Data.Repository.Interface
{
public interface ISupplierRepository : IRepository<Supplier>
{
}
}
|
namespace JR.DevFw.Framework.TaskBox.Toolkit
{
public class TaskLogProvider : ITaskLogProvider
{
public TaskLogProvider(ITaskBoxStorage storage)
{
this.Storage = storage;
}
public void LogTaskState(ITaskExecuteClient client, ITask task, TaskMessage message)
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Axiverse.Interface.Graphics.Effects
{
class Effect
{
// common parts of an effect including rootsignature and pipeline state
// shader
// bindings
... |
using System;
namespace TLS.Nautilus.Api.Shared.DataStructures
{
public class SiteDefinition
{
public Guid Id { get; set; }
public string Name { get; set; }
public string Reference { get; set; }
}
}
|
using System.ComponentModel;
namespace ProSuite.Commons.UI.Finder
{
public class ContextSpecificSettings
{
[DefaultValue(null)]
public string FindText { get; set; }
[DefaultValue(null)]
public string FinderQueryId { get; set; }
}
}
|
using System.Diagnostics;
/// <summary>
/// 进程信息
/// </summary>
internal class ProcessInfo : IProcessInfo
{
private readonly Process _process;
internal ProcessInfo(Process process)
{
_process = process;
}
public int ExitCode => _process.ExitCode;
public int Id => _proc... |
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x6294EAF5)]
public class STU_6294EAF5 : STUStatescriptState {
[STUFieldAttribute(0x7D5F216E, ReaderType = typeof(EmbeddedInstanceFieldReader))]
public STUConfigVarBoolBas... |
using System;
using System.Runtime.CompilerServices;
using System.Runtime.ConstrainedExecution;
using System.Runtime.InteropServices;
namespace CryptKeeper
{
/// <summary>
/// Sponsor class for extensions used to clear sensitive data from memory.
/// </summary>
public static class SecretKiller
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VectorManager : MonoBehaviour
{
[SerializeField] Transform point;
[SerializeField] Transform arrowCylinder;
[SerializeField] Transform arrowCone;
void Update()
{
float distance = Vector3.Distance(Ve... |
using System;
using System.Linq;
namespace Aardvark.Base
{
// AUTO GENERATED CODE - DO NOT CHANGE!
public static class IImmutablePolygonExtensions
{
/// <summary>
/// Maps index into range [0, count).
/// </summary>
internal static int RepairIndex(int count, int index)
... |
using Horostory.API.Models;
using Horostory.API.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Horostory.API
{
public static class RegisterMapRoutes
{
public static IEndpointRouteBuilder RegisterRoutes(this IEndpointRouteBuilder bui... |
using System;
using System.IO;
using System.Text;
namespace ItaLog.Data.Extensions
{
public static class StringExtensions
{
public static MemoryStream ToMemoryStream(this string data)
{
return new MemoryStream(Encoding.UTF8.GetBytes(data));
}
}
}
|
using System;
using System.Collections.Generic;
using Plant_A_Plant.Data.Common.Models;
using Plant_A_Plant.Data.Models.Enums;
namespace Plant_A_Plant.Data.Models
{
public class Pest : BaseModel<Guid>
{
public string Name { get; set; }
public string SuperFamily { get; set; }
public s... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using System.Text.Json.Serialization;
using Brighid.Identity.Applications;
using Brighid.Identity.Users;
using Microsoft.AspNetCore.Identity;
namespace Brighid.Identity.Roles
{
[Dyn... |
using System;
using System.Threading.Tasks;
using EventStore.ClientAPI.Exceptions;
using EventStore.ClientAPI.SystemData;
using EventStore.ClientAPI.Transport.Http;
using NUnit.Framework;
namespace EventStore.Core.Tests.ClientAPI.UserManagement {
[Category("ClientAPI"), Category("LongRunning")]
[TestFixture(typeof(... |
using UnityEngine;
using UnityEngine.SceneManagement;
public enum EEndGameType {
COLLISSION,
FALL_OFF_EDGE,
}
public class GameManager : MonoBehaviour {
public float restartDelay = 1f;
public GameObject completeLevelUi;
private bool levelHasEnded = false;
/// <summary>
/// Complete cur... |
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Windows.Forms;
using AcManager.Tools.Helpers;
using AcManager.Tools.Objects;
using AcTools;
using AcTools.Render.Kn5SpecificSpecial;
using AcTools.Render.Wrapper;
usi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Door : MonoBehaviour
{
public int KeysRequired = 2;
private bool isOpen = false;
// Start is called before the first frame update
void Start()
{
}
// Update is call... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
namespace Microsoft.Omex.Gating
{
/// <summary>
/// Gated code snippet
/// </summary>
public class GatedAction : GatedCode
{
/// <summary>
/// Initializes a new instance of the <see cref="GatedActio... |
using System;
using System.Text.Json.Serialization;
namespace CallBackBot.Controllers.Dto
{
[Serializable]
public class Message
{
[JsonPropertyName("date")]
public long Date { get; set; }
[JsonPropertyName("from_id")]
public long FromId { get; set; }
... |
using System;
using CodeModel.Graphs;
namespace CodeModel.Primitives
{
public class TypeNode : Node
{
public Type Type { get; private set; }
public override string DisplayLabel
{
get { return this.Type.FullName; }
}
public TypeNode(Type type)
:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HaiFeng
{
class UpMins : Strategy
{
public override void Initialize()
{
var up = UpperPeriod(5, EnumIntervalType.Min);
Date5 = up.Date;
Time5 = up.Time;
Open5 = up.Open;
H... |
//-----------------------------------------------------------------------
// <copyright file="BrowseController.cs" company="(none)">
// Copyright © 2013 John Gietzen and the WebGit .NET Authors. All rights reserved.
// </copyright>
// <author>John Gietzen</author>
//---------------------------------------------------... |
namespace MeshNetwork
{
/// <summary>
/// Represents the different levels of logging.
/// </summary>
public enum LogLevels
{
/// <summary>
/// Any log message rated error will be logged.
/// </summary>
Error = 0,
/// <summary>
/// Any log message rat... |
using Microsoft.AspNetCore.Mvc.RazorPages;
using SAMLTEST.SAMLObjects;
using System;
namespace SAMLTEST.Pages
{
/// <summary>
/// This is the Metadata Page Model
/// </summary>
public class MetadataModel : PageModel
{
public string ServerName { get; private set; }
public Boolean Sh... |
using System;
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace WebApp.Domain.Transactional
{
public class TransactionKind
{
public TransactionKind(TransactionKindId id, string name)
{
I... |
using Esfa.Recruit.Vacancies.Client.Domain.Entities;
namespace Esfa.Recruit.Shared.Web.ViewModels.ApplicationReview
{
public interface IApplicationReviewEditModel
{
ApplicationReviewStatus? Outcome { get; set; }
string CandidateFeedback { get; set; }
}
} |
// 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.Collections.Generic;
using System.Linq;
using Microsoft.Dnx.Runtime;
using Microsoft.Extensions.CompilationAbstractions;
usin... |
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace SuperTiled2Unity.Editor
{
internal class SuperPackageExport : EditorWindow
{
internal static class Styles
{
public static GUIStyle Title = "LargeBoldLabel";
public stati... |
using System;
using System.ComponentModel.Composition;
using LanguageService;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.Shell;
namespace Microsoft.VisualStudio.LuaLanguageService.Shared
{
[Export(typeof(ICore))]
internal class Core : ICore
{
[Import]
private GlobalE... |
namespace Utilities
{
public static class Tuples
{
public static Pair<T1, T2> Create<T1, T2>(T1 value1, T2 value2)
{
return new Pair<T1, T2>(value1, value2);
}
public static Tuple<T1, T2, T3> Create<T1, T2, T3>(T1 value1, T2 value2, T3 value3)
{
return new Tuple<T1,T2,T3>(value1, value2, value3);
... |
using System;
using SharpNeatLib.NeatGenome;
namespace SharpNeatLib.Evolution
{
/// <summary>
/// When mutation creates a new ConnectionGene we wish to store the new gene in a list so that we
/// can amalgamate innovations for a generation.
/// </summary>
public struct NewConnectionGeneStruct
{
public NeatGen... |
using System;
using System.Collections.Generic;
using System.Security.Principal;
using System.Windows.Forms;
namespace ReportingServerManager.Forms
{
public partial class FormSetPolicy : Form, IFormSetPolicy
{
private readonly List<string> selectedRoles = new List<string>();
public Dictionary<... |
using Microsoft.Azure.WebJobs.Host;
using Moq;
using System;
namespace Test.CalculateAbsoluteValue
{
public abstract class BaseGaugeFixture
{
protected readonly TraceWriter _TraceWriter;
protected readonly string TextDetected = "150";
protected readonly DateTime PictureDate = new DateTime(2018, 12, 28, 19, 2... |
// JAMBOX
// Copyright (c) 2019 Oreganik LLC
// Author: Ted Brown
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace Jambox
{
public class FloatingMenuButton : MonoBehaviour
{
private FloatingMenu _parentMenu;
private int _id;
public void HandleClick ()
{
_parentMenu.HandleButtonClick(_id... |
using System;
namespace EmpowerBusiness.Models.Dashboard
{
public class OpenFeatureResult
{
public string ClaimNo { get; set; }
public int ClaimSysID { get; set; }
public int ClaimantSysID { get; set; }
public int? FeatureSysID { get; set; }
public string FeatureType { ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SHMUP.Util
{
public static class ColorExt
{
public static Color SetRGB(this Color color, float r, float g, float b)
{
color.r = r;
color.g = g;
color.b = b;
return color;
}
public static Color SetRGB(this Co... |
public class Box : IBox
{
private double lendth;
private double width;
private double hight;
public Box(params double[] parameters)
{
Lendth = parameters[0];
Width = parameters[1];
Hight = parameters[2];
}
private double Lendth
{
get => lendth;
... |
namespace SFA.DAS.ApprenticePortal.SharedUi.Home
{
public enum HomeNotification
{
ApprenticeshipMatched,
ApprenticeshipDidNotMatch,
}
}
|
@model System.Web.Mvc.HandleErrorInfo
@{
ViewBag.Title = "Error";
}
<h2>
Sorry, an error occurred while processing your request.
</h2>
@if ((this.Model != null) && (this.Model.Exception != null))
{
this.Model.Exception.ToString();
}
else
{
<p>
Please review the troubleshooting section of the Wi... |
// Copyright © .NET Foundation and Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using PInvoke;
using Xunit;
using ... |
// -----------------------------------------------------------------------
// <copyright file="Constants.cs" company="OSharp开源团队">
// Copyright (c) 2014-2015 OSharp. All rights reserved.
// </copyright>
// <last-editor>郭明锋</last-editor>
// <last-date>2015-07-15 18:50</last-date>
// ---------------------------... |
using Pds.Data.Repositories.Interfaces;
namespace Pds.Data;
public interface IUnitOfWork : IDisposable
{
IPersonRepository Persons { get; }
IResourceRepository Resources { get; }
IContentRepository Content { get; }
IBrandRepository Brands { get; }
IClientRepository Clients { get; }
IBillRepos... |
namespace EnvDTE
{
public delegate void _dispWindowEvents_WindowCreatedEventHandler(Window Window);
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace ClassLibrarySeminarski.Model
{
public class KorisnikNalog
{
[Key]
public int KorisnikNalogID { get; set; }
publi... |
namespace Guardian.Ui
{
abstract class Gui
{
public abstract void Draw();
public virtual void OnOpen() { }
public virtual void OnClose() { }
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using AvaExt.Common;
namespace AvaExt.TableOperation.CellAutomation.TableEvents
{
public interface ITableColumnChange
{
void columnChange(DataColumnChangeEventArgs e);
void initForColumnChanged(Dat... |
namespace Jal.Persistence.Fluent.Interface
{
public interface IParameterNameDescriptor
{
IParameterTypeDescriptor Name(string name);
}
} |
using System.Threading.Tasks;
namespace Nethermind.Packager.Core.Services.Storage
{
public interface IStorageUploader
{
Task UploadAsync(byte[] bytes, string name);
}
} |
using PasPasPas.Globals.Runtime;
using PasPasPas.Globals.Types;
using PasPasPas.Typings.Structured;
namespace PasPasPas.Typings.Serialization {
/// <summary>
/// tag for a parameter group
/// </summary>
internal class ParameterGroupTag : Tag {
/// <summary>
/// tag kind: para... |
namespace Mundane;
/// <summary>Converts and returns the value as an out parameter.</summary>
/// <param name="value">The value to convert.</param>
/// <param name="convertedValue">The converted value.</param>
/// <typeparam name="T">The type to which the value is converted.</typeparam>
public delegate bool ValidateCo... |
namespace Juniper.Units
{
/// <summary>
/// Conversions from yobibytes, 2^80 bytes
/// </summary>
public static class Yobibytes
{
/// <summary>
/// The number of yobibytes per bit
/// </summary>
public const float PER_BIT = 1 / Units.Bits.PER_YOBIBYTE;
/// <s... |
// Copyright 2021, Nitric Technologies Pty Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable l... |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static Root... |
namespace AareonTechnicalTest.Models
{
/// <summary>Ticket POC configuration.</summary>
public static class TicketConfig
{
/// <summary>Configure Ticket POCO.</summary>
/// <param name="modelBuilder">Model builder.</param>
public static void Configure(ModelBuilder modelBuilder)
{
modelBuilder.Entity<Tick... |
using UnityEngine;
using System.Collections;
namespace Schiettent
{
public class NextRound : MonoBehaviour
{
public HandleGame Game;
public void GoToNextRound()
{
Game.NextRound();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Temp.Core.Applications.Service;
using Temp.Database;
namespace Temp.Core.Applications
{
public class GetTeamApplications : ApplicationService
{
private readonly A... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace FontTool
{
[System.Reflection.ObfuscationAttribute(Feature = "renaming", ApplyToMembers = true)]
public class SizeCollection : KeyedCollection<float?, FontInSize>
{
new public FontInSize this[int i]
{
get
{
return ((Col... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.