content stringlengths 23 1.05M |
|---|
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerat... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05_A_Miner_Task
{
class Program
{
static void Main(string[] args)
{
var input = File.ReadAllLines("input.txt")
.ToArray();... |
/******************************************************************************
* Copyright (C) Ultraleap, Inc. 2011-2020. *
* Ultraleap proprietary and confidential. *
* ... |
using Otc.ComponentModel.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Text;
namespace AnnotationsSampleApp
{
public class Model
{
[Required(ErrorKey = "2334.1111")]
public string Name { get; set; }
}
}
|
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using HandyControl.Data;
using HandyControl.Expression.Drawing;
using HandyControl.Tools;
namespace HandyControl.Controls
{
public class WaterfallPanel : Panel
{
public static readonly DependencyProperty GroupsProperty = Dependenc... |
using System;
namespace AEAssist.TriggerCond
{
[Trigger("EnemyInLOS")]
public class TriggerCond_EnemyInLOS : ITriggerCond
{
public int delayTime;
public string name;
public void WriteFromJson(string[] values)
{
name = values[0];
if (string.IsNullOrE... |
using SolidGoldApp.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace SolidGoldApp.PasswordRules
{
public class CapitalRequiredPassword : IPasswordRule
{
public bool IsValid(string password, string reentered)
{
... |
namespace DMToolset.Character.CoreStats
{
public class CoreStatistic
{
private readonly int _score;
protected CoreStatistic(int score)
{
this._score = score;
}
public int GetModifier()
{
return CalculateModifier();
}
int... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Nucleo.Web.ValidationControls
{
[TestClass]
public class ValidationResultsCollectionTest
{
[TestMethod]
public void FindingByEmptyGroupWorksOK()
{
//Arrange
... |
using Microsoft.EntityFrameworkCore;
using Microting.DigitalOceanBase.Infrastructure.Constants;
using Microting.DigitalOceanBase.Infrastructure.Data;
using Microting.DigitalOceanBase.Infrastructure.Data.Entities;
using Microting.eFormApi.BasePn.Infrastructure.Database.Entities;
using NUnit.Framework;
using System;
usin... |
using System.Xml.Linq;
namespace Wordroller.Content.Properties.Tables.Margins
{
internal interface ICellMarginsContainer
{
internal XElement GetOrCreateCellMarginsXmlElement();
}
} |
using BenchmarkDotNet.Attributes;
namespace AdventOfCode2019.Benchmarks
{
public class Day3Benchmarks
{
private readonly Day3 _day3 = new Day3();
[Benchmark]
public void BenchmarkCalculate1()
{
_day3.Calculate1();
}
[Benchmark]
... |
using System.Threading.Tasks;
namespace Sockets.Demo.Performance
{
public interface IClient
{
Task StartAsync();
}
}
|
using System;
using System.Collections.Generic;
namespace dotnetghost.Models.V3
{
public class UsersCollection : IFetchable
{
public IList<User> Users { get; set; } = new List<User>();
public Meta Meta { get; set; }
}
} |
//-----------------------------------------------------------------------------
// <copyright file="JTokenController.cs" company=".NET Foundation">
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
// See License.txt in the project root for license information.
// </copyright>
//-------... |
@page "/"
@inject AppState state
<DisplayContainer IsLoading=@state.IsLoading
AnyContent=@state.AnyContent>
<div>
<ShoutsPage Page=@state.CurrentShoutsPage />
</div>
<PageControls IsLoading=@state.IsLoading
HasPrevious=@state.HasPreviousPage
... |
namespace FsNet.Common.DatetimeUtils
{
public enum PersianMounth
{
Farvardin = 1,
Ordibehesht = 2,
Khordad = 3,
Tir = 4,
Mordad = 5,
Sharhrivar = 6,
Mehr = 7,
Aban = 8,
Azar = 9,
Dey = 10,
Bahman = 11,
Esfand = 12
... |
//
// System.Runtime.Remoting.Channels.CORBA.CORBAClientFormatterSinkProvider.cs
//
// Author: Dietmar Maurer (dietmar@ximian.com)
//
// 2002 (C) Copyright, Ximian, Inc.
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Stacks.Tcp;
namespace Stacks
{
public class StacksSerializationHandler
{
private Dictionary<int, Action<MemoryStream>> serializerHandlerBy... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xrm.Client;
using Moq;
using NUnit.Framework;
using Sample.Crm.Business.Agents;
using Sample.Crm.Entities;
using SEV.Crm.Business.Agents;
namespace Sample.Crm.Business.Configurators.Tests
{
[TestFixture]
public class PostUpdate... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Connector.CodatTypes
{
internal class Account
{
public string Id { get; init; }
public string NominalCode { get; init; }
public string Name { get; init; }
public string Description { get; init; }
... |
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
[Serializable]
public struct Star {
public float ra;
public float de;
public float ma;
public string spectralType;
public string name;
public int id;
public override string ToString() {
return "star d... |
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AuthorizationService.Providers;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Ide... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Nucleo.Web.Styles
{
[TestClass]
public class StylesheetTest
{
[TestMethod]
public void GettingAndSettingPropertiesWorksOK()
{
//Arrange
var styles = new St... |
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Animation;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace Windows.UI.Xaml.Shapes
{
public partial class Shape
{
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
usi... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
namespace Microsoft.Telepathy.ServiceBroker.BrokerQueue
{
using System.Threading;
public class ReemitToken
{
int state = 0;
private ReemitToken() { }
public static ReemitToken GetToken() { return new Reem... |
// file: EditHistory.cs
// brief: History managemer for UNDO.
// author: Suguru YAMAMOTO
//=========================================================
using System;
namespace Sgry.Azuki
{
/// <summary>
/// Stack object to hold editing actions.
/// </summary>
class EditHistory
{
#region Fields
const int GrowSiz... |
using System.IO;
using System.Linq;
using MessageBird;
using MessageBird.Resources.Voice;
using MessageBird.Objects.Voice;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MessageBirdUnitTests.Resources
{
[TestClass]
public class RecordingTest
{
private string baseUrl = Vo... |
using CAPNet.Models;
using Xunit;
namespace CAPNet
{
public class IdentifierRequiredValidatorTests
{
[Fact]
public void AlertWithIdentifierNullIsInvalid()
{
var alert = new Alert();
alert.Identifier = null;
var identifierRequiredValidator = new Iden... |
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenuLogic : MonoBehaviour
{
[SerializeField]
private string _sceneName = "level1";
public void GoToLevel()
{
SceneManager.LoadScene(_sceneName);
}
public void Exit()
{
if (!Application.isEditor)
... |
#region
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
#endregion
namespace IV_Play
{
public static class ExtensionMethods
{
public static bool Contains(this string source, string toCheck, StringComparison comp)
{... |
using ErsatzTV.Core.Search;
namespace ErsatzTV.Application.MediaCards;
public record MovieCardResultsViewModel(int Count, List<MovieCardViewModel> Cards, Option<SearchPageMap> PageMap); |
using System;
using System.Drawing;
using System.Windows.Forms;
using Cupscale.UI;
using Cyotek.Windows.Forms;
using System.Drawing.Drawing2D;
using Cupscale.Forms;
using Cupscale.Main;
using System.Threading.Tasks;
using System.IO;
using Cupscale.IO;
using Cupscale.Cupscale;
using Cupscale.ImageUtils;
using System.Dia... |
namespace RazzleServer.Common.Constants
{
public enum MemoError : byte
{
ReceiverOnline,
ReceiverInvalidName,
ReceiverInboxFull
}
}
|
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging;
using SimpleNotes.Server.Application.Models.Requests;
using SimpleNotes.Server.Application.Models.Responses;
using System.Collections.Generic;
using System.Linq;
namespace SimpleNotes.Server.Application.Filters... |
using System.Collections.Generic;
using TP2.Model;
namespace TP2.Mappers.interfaces
{
public interface IMapperUC_Prof : IMapper<UC_Prof, string, List<UC_Prof>>
{
}
} |
namespace NeoStatsPlugin.Core
{
public class MessageStat
{
/// <summary>
/// Total bytes
/// </summary>
public long TotalBytes { get; set; } = 0;
/// <summary>
/// Message count
/// </summary>
public long MessageCount { get; set; } = 0;
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TWIConnect.Client.Utilities
{
public static class Logger
{
private static System.Lazy<NLog.Logger> _nLogger = new Lazy<NLog.Logger>(() =>
... |
using System.Collections;
using System.Collections.Generic;
using Xunit;
namespace DesignPatterns.Behavioral
{
public class TemplateMethod : DesignPattern
{
public override void Execute()
{
OrderedCollection ascendingCollection = new AscendingCollection
{
... |
using System.Web.UI;
namespace Sitecore.Foundation.Alchemy.ControlPanel.Controls
{
/// <summary>
/// A control that can be placed on the Unicorn control panel page
/// </summary>
public interface IControlPanelControl
{
void Render(HtmlTextWriter writer);
}
}
|
using System;
using System.Linq;
using NUnit.Framework;
// ReSharper disable ReturnValueOfPureMethodIsNotUsed
namespace DiffLib.Tests.Issues
{
[TestFixture]
public class Issue9
{
[Test]
public void Repro()
{
var s1 = "904".ToCharArray();
var s2 = "448".ToCh... |
[RequiredByNativeCodeAttribute] // RVA: 0xC8290 Offset: 0xC8391 VA: 0xC8290
public struct PostLateUpdate.EndGraphicsJobsAfterScriptLateUpdate // TypeDefIndex: 3222
{}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace Thinktecture.IdentityModel.Mvc
{
public class AccessDeniedResult : HttpStatusCodeResult
{
public AccessDeniedResult()
: base... |
#region Copyright Syncfusion Inc. 2001-2021
//
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
//
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.IO;
using System;
[TestClass]
public class DataEncoderTests
{
[TestMethod]
public void Run()
{
// Initialize the target architecture
Instructions.X64.Initialize();
Keywords.Definitions.Clear();
Operators.Initialize();
Oper... |
namespace DriveWithStrangers.Services
{
public static class ServicesConstants
{
public const int PageSize = 5;
}
}
|
using System;
using AutoFixture;
using dngrep.tool.Core.Output.Presenters;
using dngrep.tool.xunit.TestHelpers;
using Lamar;
using Moq;
using Xunit;
namespace dngrep.tool.xunit.Core.Output.Presenters
{
public class PresenterFactoryTests
{
private readonly IFixture fixture;
private readonly Moc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FastProxy
{
internal static class DisposeUtils
{
public static void DisposeSafely<T>(ref T disposable)
where T : IDisposable
{
var ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace UnoServer
{
public class CardDatabase
{
public static Stack<Card> cardList = new Stack<Card>();
//Se declaran todas las cartas del mazo
public CardDatabase()
{
... |
// Copyright (c) 2015 Bartłomiej Wołk (bartlomiejwolk@gmail.com)
//
// This file is part of the AnimationPath Animator extension for Unity.
// Licensed under the MIT license. See LICENSE file in the project root folder.
using AnimationPathAnimator.AnimatorComponent;
using AnimationPathAnimator.ReorderableList;
usin... |
using System;
using Models;
using MongoDB.Bson;
using MongoDB.Driver;
using System.Collections.Generic;
using fcoupon;
namespace Services
{
public class CouponService
{
MongoClient _client;
IMongoDatabase _db;
IMongoCollection<Coupon> _coupons;
public CouponService(AppSettings appSettings)
{
... |
#region
using System;
using VMS.TPS.Common.Model.Types;
#endregion
namespace ESAPIX.Extensions
{
public static class VVectorExtensions
{
public static double DistanceTo(this VVector vv, VVector v2)
{
return Math.Sqrt((vv.x - v2.x) * (vv.x - v2.x) + (vv.y - v2.y) * (vv.y - v2.y) +... |
#if UNITY_EDITOR
using UnityEditor;
using System.Collections.Generic;
using System.Linq;
namespace Salgu.Build
{
public static class Symbol
{
private static IEnumerable<string> _currentSymbols;
private static readonly BuildTargetGroup[] buildTargetGroup = new[]
{
BuildTargetGroup.Standalone,
};
publ... |
using System;
namespace Arebis.Pdf.Common
{
[Serializable]
public class PdfBinaryStream : PdfStream
{
private string filter;
public PdfBinaryStream(string filter, byte[] content)
{
this.filter = filter;
this.Content = content;
}
... |
//===============================================================================================================
// System : Sandcastle Help File Builder Visual Studio Package
// File : HelpFilePropertiesPageControl.cs
// Author : Eric Woodruff
// Updated : 04/20/2021
// Note : Copyright 2011-2021, Eric Woodr... |
using System;
using Vim;
namespace VsVim
{
/// <summary>
/// Represents a Command in Visual Studio
/// </summary>
internal sealed class EditCommand
{
private readonly KeyInput _keyInput;
internal readonly EditCommandKind EditCommandKind;
internal readonly Guid ... |
using System.Runtime.ExceptionServices;
using LegacyWrapper.Common.Wrapper;
namespace LegacyWrapper32
{
public class Program
{
/// <summary>
/// Main method of the legacy dll wrapper.
/// </summary>
/// <param name="args">
/// The first parameter is expected to be a stri... |
using System.Linq;
using CatFactory.NetCore.CodeFactory;
using CatFactory.NetCore.Tests.Models;
using CatFactory.ObjectRelationalMapping;
using Xunit;
namespace CatFactory.NetCore.Tests
{
public class NamingConventionTests
{
[Theory]
[InlineData("Class", "class",true)]
[InlineData("Pro... |
#if FIVEM
using CitizenFX.Core;
using CitizenFX.Core.Native;
#elif SHVDN2
using GTA;
using GTA.Native;
#elif SHVDN3
using GTA;
using GTA.Native;
#elif RAGE
using Rage.Native;
#endif
namespace LemonUI
{
/// <summary>
/// Contains information for a Game Sound that is played at specific times.
/// </summary>
... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
using UnityEngine;
using UnityEngine.UI;
public class TargetManager : MonoBehaviour {
/*
public GameObject faceObj;
public GameObject loadingPanel;
Texture2D texture;
AndroidJavaClas... |
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
namespace IRCProviders
{
/// <summary>
/// Информация об аддоне
/// </summary>
public class AddonInfo
{
private string path = string.Empty;
private string type = null;
private st... |
using AutoFixture;
using AutoFixture.Xunit2;
using EntityFrameworkCore.AutoFixture.Tests.Common.Customizations;
namespace EntityFrameworkCore.AutoFixture.Tests.Common.Attributes
{
public class AutoDomainDataWithInMemoryContextAttribute : AutoDataAttribute
{
public AutoDomainDataWithInMemoryContextAttri... |
using System;
namespace Gimela.Data.Mapping.Mappers
{
public class ArrayMapper : EnumerableMapperBase<Array>
{
public override bool IsMatch(ResolutionContext context)
{
return (context.DestinationType.IsArray) && (context.SourceType.IsEnumerableType());
}
protected override void ClearEnumerable(Array enu... |
using AsyncNet.TestJobs;
namespace AsyncNet.Selenium.Common
{
public class SeleniumAfterActionContext
{
private readonly IAfterActionContext afterActionContext;
public SeleniumAfterActionContext(IAfterActionContext afterActionContext)
{
this.afterActionContext = afterActio... |
using System;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace UIHotel.Data.Table
{
[Table("room_category")]
public class RoomCategory
{
[Key]
[Column("id", Order = 0)]
public long Id { get; set; }
... |
using Heartbeat.Runtime.Proxies;
namespace Heartbeat.Runtime.Analyzers
{
public abstract class ProxyInstanceAnalyzerBase<T> : AnalyzerBase
where T : ProxyBase
{
protected T TargetObject { get; }
protected ProxyInstanceAnalyzerBase(RuntimeContext context, T targetObject)
: b... |
using Saas.UserManage.Helper;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Threading;
using System.Web;
using System.Web.Mvc;
namespace Saas.UserManage.Controllers
{
public class HomeController : Controller
{
public Actio... |
// Copyright (c) Microsoft Corporation
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.Xbox.Services;
using Mic... |
// Copyright (c) Microsoft Open Technologies, Inc. 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.IO;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Host.Bindings;
using Microsoft.Azure.WebJob... |
// CS0019: Operator `+' cannot be applied to operands of type `string' and `method group'
// Line: 10
using System;
public class Test
{
public static void Main ()
{
Console.WriteLine ("+++" + Main);
}
}
|
namespace ScotlandsMountains.Import.TypeConverters;
public class AliasesTypeConverter : DefaultTypeConverter
{
public override object ConvertFromString(string text, IReaderRow row, MemberMapData memberMapData)
{
return text.GetAliases();
}
} |
// Copyright (c) Jeremy Likness. All rights reserved.
// Licensed under the MIT License. See LICENSE in the repository root for license information.
using System;
using System.Collections.Generic;
namespace FileQueryDatabase.Query
{
/// <summary>
/// Allows annotating, with tag, any entity.
/// </summary... |
using System;
namespace Overload
{
class StartUp
{
public static double ComputeArea(double width)
{
double radius = width / 2;
return ((radius * radius) * 3.141593);
}
public static double ComputeArea(double width,double height)
{
... |
namespace AjTalk.Language
{
using System;
using System.Runtime.Serialization;
[Serializable]
public class BaseObject : IObject, ISerializable
{
private IBehavior behavior;
private object[] variables;
public BaseObject()
{
this.behavior = nul... |
using Cuture.Extensions.Modularity;
namespace DependencyInjection.Modularity.Test
{
[DependsOn(typeof(ChaosDependsModule2), typeof(ChaosDependsModule3), typeof(ChaosDependsModule4))]
public class ChaosDependsModule1 : CountableModuleBase
{
}
}
namespace DependencyInjection.Modularity.Test
{
[Dep... |
using UnityEngine;
using UnityEngine.Events;
namespace AgToolkit.Core.Event
{
public class GameEventListener<T, GE, UE> : MonoBehaviour, IGameEventListener<T>
where GE : IGameEvent<T>
where UE : UnityEvent<T>
{
[SerializeField]
private GE _Event = default;
private UE _Callbacks;
public IGameEvent... |
using System;
using System.Collections.Generic;
using RimWorld;
using Verse;
namespace Challenges
{
public class Challenge_NColonists : ChallengeWorker
{
private int colonistCount = -1;
public Challenge_NColonists(ChallengeDef def) : base(def)
{
}
public override void OnPawnKilled(Pawn pawn, DamageInfo d... |
using UnityEngine;
using UnityEditor;
[CustomPropertyDrawer(typeof(AnimationCurve))]
public class AnimationCurvePropertyDrawer: PropertyDrawer {
static AnimationCurve buffer;
public override void OnGUI(Rect rect, SerializedProperty property, GUIContent label) {
Event e = Event.current;
if(e.type == EventType.M... |
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Drawing;
using System.Globalization;
using System.Linq;
using System.Xml.Linq;
using ReClassNET.Extensions;
namespace ReClassNET.Util
{
public static class XElementSerializer
{
public static bool TryRead(XContainer el... |
// 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 Microsoft.AspNetCore.Razor.Language;
namespace Microsoft.VisualStudio.Editor.Razor
{
public struct ClassifiedSpan
{
public Class... |
using Medusa.Entities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Medusa.DataAccess.Interface
{
public interface IBlogDal:IGenericDal<BlogEntity>
{
Task<List<BlogEntity>> GetLastSizeAsync(int size);
Task<List<BlogEntity>> GetAllBy... |
using System.Collections.Generic;
using QuickGraph;
namespace SIL.Machine.Clusterers
{
public interface IRootedHierarchicalClusterer<T>
{
IBidirectionalGraph<Cluster<T>, ClusterEdge<T>> GenerateClusters(IEnumerable<T> dataObjects);
}
}
|
using GenericMvc.Models;
using GenericMvc.Repositories;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GenericMvc.Api
{
public class GraphApi<T, TKey> :... |
@model String
<div>
Today's Message is @Model
</div>
|
using System;
using PokerHandDomainModels;
using PokerHandDomainModels.Enums;
namespace PokerHandLogicHandlers.ModelExtensions
{
public static class CardModelExtension
{
/// <summary>
/// I found it a challenge to determine the next high value card.
/// So the CardModel have the responsibility and the ability... |
namespace RoadCaptain.Ports
{
public interface IVersionChecker
{
Release GetLatestRelease();
}
} |
using Unity.Entities;
using UnityEngine;
using Sark.Terminals.Utility;
namespace Sark.Terminals.Authoring
{
public class TerminalBorderOnCreateAuthoring : MonoBehaviour, IConvertGameObjectToEntity
{
public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSyste... |
namespace Promig.Model.CbModel {
class Customer {
public int id { get; set; }
public string name { get; set; }
public Customer() { }
public Customer(int id, string name) {
this.id = id;
this.name = name;
}
}
}
|
using System;
using System.Collections.Generic;
using Timeify.Core.Interfaces.Gateways;
namespace Timeify.Core.Entities
{
public class JobEntity : BaseEntity
{
private readonly List<JobTaskEntity> jobTasks = new List<JobTaskEntity>();
internal JobEntity()
{
/* Required by ... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RoadFlow.Platform
{
public class UsersApp
{
private RoadFlow.Data.Interface.IUsersApp dataUsersApp;
public UsersApp()
{
this.dataUsersApp = Data.Factory.Factory.GetUsersApp();
}
/// ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Numerics;
namespace Bom.Utils.Math
{
public static class NumericalSystemHelper
{
// from (supposedly pretty fast)
// https://stackoverflow.com/questions/923771/quickest-way-to-convert-a-base-10-number-to-any-base-... |
using System;
using WebSocketCore.Net.WebSockets;
namespace WebSocketCore.Server
{
/// <summary>
/// Exposes the properties used to access the information in a session in a WebSocket service.
/// </summary>
public interface IWebSocketSession
{
#region Properties
/// <summary>
... |
using System;
using ObjCRuntime;
namespace Microsoft.AppCenter.Crashes.MacOS.Bindings
{
[Native]
public enum MSACErrorLogSetting : ulong
{
Disabled = 0,
AlwaysAsk = 1,
AutoSend = 2
}
[Native]
public enum MSACUserConfirmation : ulong
{
DontSend = 0,
S... |
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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
//
//... |
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace FastGraph.Petri.Tests
{
/// <summary>
/// Tests related to <see cref="IdentityExpression{TToken}"/>.
/// </summary>
internal sealed class IdentityExpressionTests
{
[Test]
public void Evaluate()
... |
// Copyright 2005, 2006 - Morten Nielsen (www.iter.dk)
//
// This file is part of SharpMap.
// SharpMap is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ShogiBoard {
public partial class TimePickerControl : UserControl {
public TimePickerControl() {
Ini... |
using Moq;
using NUnit.Framework;
using SportsBetting.Data.Common.Contracts;
using SportsBetting.Data.Models;
using SportsBetting.Services;
using SportsBetting.Services.Contracts;
using System;
namespace SportsBetting.UnitTests.ServicesTests.EventServiceTests
{
[TestFixture]
public class Constructor_Should
... |
using System;
using Newtonsoft.Json.Linq;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using MusicPlayer.Models;
using System.Security.Cryptography;
using System.Threading.Tasks;
using MusicPlayer.Data;
using MusicPlayer.Managers;
namespace MusicPlayer.Api
{
public class FileSystemProvider ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.