content stringlengths 23 1.05M |
|---|
namespace LionFire.FlexObjects
{
public class FlexObject : IFlex
{
public object Value { get; set; }
public FlexObject() { }
public FlexObject(object value)
{
Value = value;
}
public override string ToString() => Value == null ? "(null)" : Value.ToS... |
using JetBrains.ReSharper.Daemon.CSharp.Stages;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.Tree;
using ReSharper.Exceptional.Models;
using ReSharper.Exceptional.Settings;
namespace ReSharper.Exceptional.Contexts
{
internal class NullProcessContext : IProcessContext
{
publ... |
namespace System.Windows.Forms
{
public enum DataGridViewTriState
{
NotSet,
True,
False
}
}
|
using BcFileTool.CGUI.Controllers;
using BcFileTool.CGUI.Dialogs.ExtensionsEdit;
using BcFileTool.CGUI.Dialogs.Progress;
using BcFileTool.CGUI.Models;
using BcFileTool.CGUI.Services;
using BcFileTool.CGUI.Views;
using BcFileTool.Library.Interfaces.Services;
using BcFileTool.Library.Services;
using Microsoft.Extensions... |
using NuGet;
using Splat;
using Squirrel;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace TemplePlusConfig
{
class Program
{
... |
using IdeaStatiCa.BimImporter.Common;
using NUnit.Framework;
namespace IdeaStatiCa.BimImporter.Tests.Common
{
[TestFixture]
public class DoubleApproximateEqualityComparerTest
{
[Test]
public void GetHashCode_IfNumbersAreWithinPrecisionRange_HashCodesShouldNotEqual()
{
// Setup: with precision 0.1
Doubl... |
using Microsoft.AspNetCore.Mvc;
namespace akabutbetter.Controllers
{
[Route("owner")]
[ApiController]
public class OwnerController : ControllerBase
{
}
} |
using ImageResizer.Plugins.UniqueUrlFolderPresets.Configuration;
using ImageResizer.Plugins.UniqueUrlFolderPresets.Helpers;
using NSubstitute;
using Shouldly;
using Xunit;
namespace ImageResizer.Plugins.UniqueUrlFolderPresets.Tests
{
public class ResizeHelperTests
{
[Theory]
[InlineData(null, ... |
using Sparrow.Json.Parsing;
namespace Raven.Server.NotificationCenter.Notifications.Details
{
public class MessageDetails : INotificationDetails
{
public string Message { get; set; }
public DynamicJsonValue ToJson()
{
return new DynamicJsonValue(GetType())
... |
using System;
namespace Gicco.Module.News.ViewModels
{
public class NewsItemThumbnail
{
public long Id { get; set; }
public string ShortContent { get; set; }
public string ImageUrl { get; set; }
public DateTimeOffset PublishedOn { get; set; }
public string S... |
using System.Collections.Generic;
namespace InfrastructureCli.Models;
public record AwsCloudFormationTemplateOptions
(
string? StackName,
bool? UseChangeSet,
string[]? Capabilities,
Dictionary<string, string>? Tags
);
|
using DAL.Models;
using System.Linq;
namespace BLL.QueryObjects.FilterDTOs
{
/// <summary>
/// Filter DTO used to filter user data in queries
/// </summary>
public class UserFilterDTO : QueryFilterDTO<User>
{
/// <summary>
/// Consturcts filter DTO that filters users based on given ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CefSharp
{
public interface IURLRequest : IDisposable
{
/// <summary>
/// True if the response was served from the cache.
/// </summary>
bool ResponseWas... |
using System;
using System.Collections.Generic;
namespace EnvironmentalMonitoringReciever
{
abstract class Program
{
private static readonly List<string> InputValues = new List<string>();
static void Main()
{
string s;
while ((s = Console.ReadLine()) != null)
... |
using System;
using System.Diagnostics.CodeAnalysis;
namespace JetBrains.Annotations
{
[SuppressMessage("Microsoft.Naming",
"CA1726:UsePreferredTerms",
MessageId = "Flags",
Justification = "It is JetBrains code")]
[Flags]
public enum ImplicitUseKindFlags
{
Default = Access | Assign | InstantiatedWithFixe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjectSnowshoes
{
class ResolutionDisplayStyleManagement
{
private String resolutionReturn()
{
int screenX = System.Windows.Forms.Screen.PrimaryScreen.Work... |
using Game;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using MonoGame.Extended.NuclexGui;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game
{
class GameState : State
{
/// <summary>
/// T... |
// This source code was generated by ClangCaster
namespace NWindowsKits
{
// C:/Program Files (x86)/Windows Kits/10/Include/10.0.18362.0/um/d3d11.h:7278
public enum D3D11_FEATURE
{
_THREADING = 0x0,
_DOUBLES = 0x1,
_FORMAT_SUPPORT = 0x2,
_FORMAT_SUPPORT2 = 0x3,
... |
// <copyright>
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
namespace System.Runtime.Serialization
{
using System.Globalization;
/// <summary>
/// This class is used to customize the way DateTime is
/// serialized or deserialized by <see cref="Json.DataContractJsonS... |
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Roblox.Web.WebAPI.Pages
{
public class Docs : PageModel
{
public static string pageTitle { get; set; }
public static string pageDescription { get; set; }
public static string[] versions { get; set; }
public void OnGe... |
// This source code is dual-licensed under the Apache License, version
// 2.0, and the Mozilla Public License, version 1.1.
//
// The APL v2.0:
//
//---------------------------------------------------------------------------
// Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial
// Technologies LLC., and Rabbit... |
using Newtonsoft.Json;
namespace PasteMystNet
{
public class PasteMystPastyForm
{
[JsonProperty("_id", NullValueHandling = NullValueHandling.Ignore)] internal string? Id { get; init; }
[JsonProperty("title")] public string Title { get; set; } = string.Empty;
[JsonProperty("language"... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.CognitiveSearch.Search;
using Microsoft.CognitiveSearch.Skills.Cryptonyms;
using Microsoft.CognitiveSearch.Skills.Hocr;
using... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Microsoft.Build.UnitTests
{
public class MockFaultInjectionHelper<FailurePointEnum>
where FailurePointEnum : IComparable
{
... |
using System.Runtime.Serialization;
namespace MusicDb.Api.Dto.ArtistDto
{
[DataContract]
public class InputArtistData : BasicArtistData
{
}
}
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script> |
namespace Samples.HelloBlazorHybrid.Abstractions;
public interface ICounterService
{
[ComputeMethod]
Task<int> Get(CancellationToken cancellationToken = default);
Task Increment(CancellationToken cancellationToken = default);
}
|
using System;
using System.Linq;
using System.Runtime.InteropServices;
using HardyBits.Wrappers.Leptonica.Enums;
using HardyBits.Wrappers.Leptonica.Imports;
namespace HardyBits.Wrappers.Leptonica
{
public class Pix : IPix
{
private static readonly int[] AllowedDepths = { 1, 2, 4, 8, 16, 32 };
internal Pi... |
// Copyright 2014 Pēteris Ņikiforovs
//
// 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 law ... |
// 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.Linq.Expressions;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Query.Expr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using WampSharp.V2.Rpc;
using TaskExtensions = WampSharp.Core.Utilities.TaskExtensions;
namespace WampSharp.CodeGeneration
{
internal class SimpleProxyMethodWriter : IPr... |
// <copyright file="KeyGestureListener.cs" company="Velocity Systems">
// Copyright (c) 2020 Velocity Systems
// </copyright>
using System;
using System.Windows.Input;
using Xamarin.Forms;
namespace Velocity.Gestures.Forms
{
/// <summary>
/// A key interaction listener.
/// </summary>
public clas... |
namespace RotaDasTapas.Constants
{
public static class ErrorConstants
{
public const string InternalError = "Something went wrong";
public const string UnauthorizedError = "Unauthorized: you can't access this request";
public const string InvalidDatetime = "Datetime provided is not valid... |
using Harmony;
using Planetbase;
using PlanetbaseMultiplayer.Client;
using PlanetbaseMultiplayer.SharedLibs;
using PlanetbaseMultiplayer.SharedLibs.DataPackages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace PlanetbaseMultiplayer.Patcher.Patches
{
... |
using System.Collections.Generic;
using System.Web.Routing;
namespace CavemanTools.Mvc.Routing
{
/// <summary>
/// How to generate routes from actions
/// </summary>
public interface IRouteConvention
{
bool Match(ActionCall actionCall);
IEnumerable<Route> Build(ActionCal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WeddingBidders.Server.Models;
namespace WeddingBidders.Server.Dtos
{
public class CustomerDto
{
public CustomerDto()
{
}
public CustomerDto(Customer customer)
{
this... |
using Machine.Specifications;
using PlainElastic.Net.Mappings;
using PlainElastic.Net.Utils;
namespace PlainElastic.Net.Tests.Builders.Mappings
{
[Subject(typeof(NumberMap<>))]
class When_Number_mapping_for_string_type_built
{
Because of = () => result = new NumberMap<FieldsTestClass>()
... |
using System;
using System.Collections.Generic;
using FreeSql.DataAnnotations;
using Newtonsoft.Json;
namespace LibCommon.Structs.DBModels
{
[Serializable]
/// <summary>
/// 超过限制时怎么处理
/// StopDvr=停止录制
/// DeleteFile=删除文件
/// </summary>
public enum OverStepPlan
{
StopDvr,
... |
using Aoc2019.Commands;
using Xunit;
namespace Aoc2019.Tests
{
public abstract class ModuleFuelCalculatorTests : CommandTestBase
{
public static string ModuleWeightKey = "mwk";
protected ModuleFuelCalculatorTests()
{
Cmd = new ModuleFuelCalculator(ModuleWeightKey);
... |
/// <summary>
/// Interface for a Basic Grid Generator.
/// </summary>
public interface IGenerator
{
void Generate();
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using JetBrains.Annotations;
namespace Skyra.Core.Utils
{
public static class StringExtensions
{
private static readonly Regex EscapeRegex = new Regex(@"[-/\\^$*+?.()|[\]{}]");
[Pure]
[N... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NHibernate;
using NHibernate.Linq;
using Users.Domain.Common;
namespace Users.Infrastructure
{
public class UserRepository : IUserRepository
{
private readonly ISession _sessio... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EntityComponentBehaviour.cs" company="Slash Games">
// Copyright (c) Slash Games. All rights reserved.
// </copyright>
// -------------------------------------------------------... |
//--------------------------------------
// OpenTransfr
//
// For documentation or
// if you have any issues, visit
// opentrans.fr
//
// Licensed under MIT
//--------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
us... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DroidExplorer.Plugins.Data;
namespace DroidExplorer.Plugins.UI {
/// <summary>
///
/// </summary>
public partial class Bart... |
namespace _3.Megapixels
{
using System;
public class Program
{
public static void Main()
{
var width = int.Parse(Console.ReadLine());
var heigth = int.Parse(Console.ReadLine());
var megapixels = (width * heigth)/ 1000000.0;
Console.WriteLin... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MZUtils;
namespace QEditor
{
public partial class FormSelectableItemList : Form
{
... |
using JT808.Protocol.Attributes;
using JT808.Protocol.Formatters.MessageBodyFormatters;
using System;
namespace JT808.Protocol.MessageBody
{
/// <summary>
/// 查询指定终端参数
/// 0x8106
/// </summary>
[JT808Formatter(typeof(JT808_0x8106_Formatter))]
public class JT808_0x8106 : JT808Bodies
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DAF.Core
{
/// <summary>
/// The global session factory. It holds global configuration for all sessions and create global session object.
/// </summary>
public class SessionFactory : ISessionFactory
{
... |
namespace DAO
{
public class DAOShiftReportList : List<DAOShiftReport>
{
}
}
|
using Client = GuardianRP.Service.SocketClient.SocketClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using GuardianRP.Service.SocketClient.Event;
namespace GuardianRP.Services.Tcp {
public clas... |
namespace Appeon.SnapObjectsDemo.Services
{
public interface IGenericServiceFactory
{
IGenericService<TModel> Get<TModel>();
}
}
|
using DragonMail.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace DragonMail.POPWorkerRole.Commands
{
public abstract class BasePOPCommand : TCPServiceCommand
{
protected List<DSMail> mailBoxMa... |
using System;
using HelperFramework.DataType;
namespace WordfeudHelper.Business
{
class Letter : StaticList<Letter>
{
public String Charackter { get; private set; }
public Int32 Count { get; private set; }
public Int32 Points { get; private set; }
public Letter(String charakter, Int32 points, Int32 count)
... |
namespace Template
{
public class CignaPharmacyInsuranceValidator : PharmacyInsuranceValidator
{
public CignaPharmacyInsuranceValidator(PatientProfile patient) : base(patient)
{
}
protected override decimal GetCoveragePrice(Drug drug)
{
return drug.Price / 2;... |
using System;
using System.Collections.Generic;
using OneWindow_Unity.Interfaces;
using UnityEngine;
namespace OneWindow_Unity.Unity
{
public class Fake : WindowInterface
{
private string title = "Title";
private string version = "v";
private ContentLocation location = ContentLocation.UpperCenter;
private b... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Const = SeeReal.GlobalConstants;
namespace SeeReal
{
public class SettingStruct
{
/// <summary>
/// 버튼간 간격
/// </summary>
public int Margin { get; set; }
... |
using System.Management.Automation;
using WebApiConsumer = Microsoft.VisualStudio.Services.ServiceHooks.WebApi.Consumer;
namespace TfsCmdlets.Cmdlets.ServiceHook
{
/// <summary>
/// Gets one or more service hook consumers.
/// </summary>
/// <remarks>
/// Service hook consumers are the services tha... |
using System.Collections.Generic;
using TBNMobile.UserInterface.Models;
using Xamarin.Forms;
namespace TBNMobile.UserInterface
{
public partial class MasterPage : ContentPage
{
public string SocialMediaHeader => "Join us on the web!";
public string MainMenuHeader => "The Brewing Network";
public ... |
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Nez.Persistence.JsonTests
{
[TestFixture]
public class TypeHintAndReferencesTests
{
class Entity
{
[JsonInclude]
public bool enabled { get; set; } = true;
public List<Component> components;
[BeforeEncode]
public v... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.SceneManagement;
public class PauseMenu : MonoBehaviour
{
public GameObject pauseMenu;
public GameObject optionsMenu;
public static bool isPaused;
public static bool isOptions... |
@{
Layout = "_Layout";
}
<div class="container receipt-container">
<div class="row">
<h2>Order Placed!</h2>
<h4>@Model["order"].GetCheckoutDate()
</div>
<div class="row product-order">
@foreach (var item in @Model["order"].GetItems())
{
<div class ="product">
<img src="@item.GetProductIn... |
// Copyright (c) MicroElements. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
using MicroElements.Functional;
namespace MicroElements.Metadata.OpenXml.Excel.Reportin... |
public enum ePartyFeedback
{
none,
invite,
errorAlreadyInParty,
kicked,
prodemoted,
partyFull
}
|
using System;
namespace Reddit.Inputs.Flair
{
[Serializable]
public class FlairCreateInput : FlairLinkInput
{
/// <summary>
/// a valid subreddit image name
/// </summary>
public string css_class { get; set; }
/// <summary>
/// a string no longer than 64 ch... |
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using CliWrap;
using Microsoft.Extensions.Logging;
namespace Xappium.Tools
{
public class Appium
{
private const string defaultLog = "appium.log";
privat... |
using System;
using Avalonia.Controls;
namespace Material.Styles.Themes {
public class ThemeChangedEventArgs : EventArgs {
public ThemeChangedEventArgs(IResourceDictionary resourceDictionary, ITheme oldTheme, ITheme newTheme) {
ResourceDictionary = resourceDictionary;
OldTheme = ol... |
using SideLoader.SLPacks;
namespace SideLoader
{
public class SL_RecipeItem : SL_Item
{
public string RecipeUID;
public override void ApplyToItem(Item item)
{
base.ApplyToItem(item);
SLPackManager.AddLateApplyListener(OnLateApply, item);
}
pri... |
using Newtonsoft.Json;
using SQLite;
using Kinvey;
using System.Runtime.Serialization;
namespace Kinvey.Tests
{
[JsonObject(MemberSerialization.OptIn)]
[DataContract]
public class Address : IPersistable
{
[JsonProperty("_id")]
[DataMember(Name = "_id")]
[Preserve]
[PrimaryKey, Column("_id")... |
namespace Abc.NCrafts.Quizz.Performance.Questions._011
{
public class Answer1
{
public static void Run()
{
// begin
var result = Factorial(1234);
// end
Logger.Log("Factorial: {0}", result);
}
private static long Factorial(long n)... |
namespace CarService.Services.Mechanics
{
using CarService.Data;
using CarService.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public class MechanicsService : IMechanicsService
{
private readonly ApplicationDbCon... |
using System.Collections.Generic;
using PFW.Model.Armory;
namespace PFW.Service
{
public interface IFactionService : IService<Faction>
{
ICollection<Coalition> AllByFaction(Faction faction);
ICollection<Coalition> AllCoalitions();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataflowActor
{
public class AccountActor : AbstractActor
{
private decimal _balance;
public override void Handle(IMessage message)
{
if (message ... |
using System;
namespace DotnetModelFuzzer.Manipulations.VulnerabilityManips
{
public class JsonInjection : FuzzDbManipulation<string>, IMutationManipulation<string>
{
private const string BasePath = "json";
public JsonInjection() : base(BasePath)
{
}
public JsonInject... |
namespace atlantis {
public class Population {
public Population(string race, int count) {
Race = race;
Count = count;
}
public string Race { get; }
public int Count { get; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RMUD
{
public class Container : MudObject
{
[Persist(typeof(ContainerSerializer))]
public Dictionary<RelativeLocations, List<MudObject>> Lists { get; set; }
public RelativeLocations Support... |
namespace SAMI.Apps.Football
{
internal enum GameParameter
{
Score,
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
namespace Jerrycurl.Relations.Internal
{
internal class IndexedEnumerator<T> : IEnumerator<T>
{
protected IEnumerator<T> innerEnumerator;
public int Index { get; private set; } = -1;
public T Current => this.in... |
using AutoMapper;
using PhatHanhSach.Model;
using PhatHanhSach.Web.Models;
namespace PhatHanhSach.Web.Mapping
{
public class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<DaiLy, DaiLyViewModel>();
CreateMap<NhaXuatBan, NhaXuatBanViewModel>();
... |
using System.Drawing;
using System.Windows.Forms;
using GoldBoxExplorer.Lib.Plugins.Hex;
using System;
namespace GoldBoxExplorer.Lib.Plugins.Glb
{
public class FruaGlbFileViewer : IGoldBoxViewer
{
private readonly FruaGlbFile _file;
private readonly PluginParameter _args;
public event E... |
using System;
using System.Collections.Generic;
using EverisHire.HireManagement.Domain.Common;
namespace EverisHire.HireManagement.Domain.Entities
{
public class StatusJob: AuditableEntity
{
public Guid StatusJobId { get; set; }
public string Description { get; set; }
public virtual ICo... |
using Flai;
using Flai.CBES;
using Flai.CBES.Systems;
using Flai.DataStructures;
using Microsoft.Xna.Framework;
using Skypiea.Components;
using Skypiea.Misc;
using Skypiea.Prefabs;
namespace Skypiea.Systems.Zombie
{
public class ZombieAttackSystem : ProcessingSystem
{
private Entity _player;
pr... |
using System;
using System.Linq;
using System.Reflection;
using Autofac.Core.Activators.Reflection;
namespace STak.TakHub.Infrastructure
{
public class InjectionConstructorFinder : IConstructorFinder
{
// To support both the default ASP.NET Core DI container and Autofac, we currently use only
/... |
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using ReactiveUI;
using WolvenKit.Common.Services;
using DynamicData;
using Microsoft.WindowsAPICodePack.Dialogs;
using ReactiveUI.Fody.Helpers;
using Wolv... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Linq;
using Xunit;
namespace Microsoft.Deployment.DotNet.Releases.Tests
{
public class ReleaseComponentTests : TestBase
{
[Theory]
... |
// 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.Runtime.CompilerServices;
using Internal.Runtime.CompilerServices;
using System.Runtime.InteropServices... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TheGymWebsite.Models.Repository
{
public class SqlOpenHoursRepository : IOpenHoursRepository
{
private readonly GymDbContext context;
public SqlOpenHoursRepository(GymDbContext context)
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Blindspot.Helpers;
namespace Blindspot.Commands
{
public class CloseCommand : HotkeyCommandBase
{
private Form parent;
private IOutputManager _ou... |
using System;
using TTMouseclickSimulator.Core;
namespace TTMouseclickSimulator.Project;
/// <summary>
/// A simulator project that can be persisted.
/// </summary>
public class SimulatorProject
{
public SimulatorProject(string title, string description, SimulatorConfiguration configuration)
{
this.... |
using UnityEngine;
[System.Serializable]
public class ClickManager
{
//properties
public float MaxTimeToClick { get { return _maxTimeToClick; } set { _maxTimeToClick = value; } }
public float MinTimeToClick { get { return _minTimeToClick; } set { _minTimeToClick = value; } }
public bool IsDebug { get ... |
using System;
namespace ErisPacketCreator.ActionScript.Interpreter.Keywords.Models
{
public class QName
{
private string _rawQName;
/// <summary>
/// Creates a new QName Instance, and splits the string to make it easier to use
/// </summary>
/// <param name="rawString">... |
using System;
using System.Collections.Generic;
using ISukces.SolutionDoctor.Logic.Problems;
namespace ISukces.SolutionDoctor.Logic
{
public class MessageColorer
{
public void Color(RichString.FormatContext ctx)
{
if (!ctx.Before) return;
ctx.AutoResetColorsAfter = true;... |
using System;
using System.Threading.Tasks;
using Nimbus.InfrastructureContracts.Handlers;
using Nimbus.Tests.Unit.TestAssemblies.MessageContracts;
namespace Nimbus.Tests.Unit.TestAssemblies.Handlers
{
public class CommandWhoseAssemblyShouldNotBeIncludedHandler : IHandleCommand<CommandWhoseAssemblyShouldNotBeIncl... |
using Symbiote.Core.Actor;
namespace Messaging.Tests.RequestResponse
{
public class AuctionFactory
: IActorFactory<Auction>
{
public Auction CreateInstance<TKey>( TKey id )
{
return new Auction()
{
Item = id.ToString()
};
}
... |
using Assets.Kanau.UnityScene.Containers;
using System;
using UnityEngine;
namespace Assets.Kanau.ThreeScene.Textures {
public class TextureElem : BaseElem
{
public TextureElem(LightmapContainer c) {
SetFilterMode(c.FilterMode);
SetWrapMode(c.WrapMode);
Anisotropy =... |
/*
* Copyright (c) 2017 Razeware LLC
*
* 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, modify, merge, publ... |
using Sepes.Infrastructure.Model.Interface;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Sepes.Infrastructure.Model
{
[Table("CloudResources")]
public class CloudResource : UpdateableBaseModel, ISuppo... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DebugManager.Outputs
{
public class DebugMessage
{
#region Properties
#region Constantes
... |
using System;
using System.Reflection;
using System.Collections.Generic;
using System.Linq;
using Verse;
using RimWorld;
using HarmonyLib;
using UnityEngine;
namespace SRTS
{
[StaticConstructorOnStartup]
public class FallingBombCE : FallingBomb
{
public FallingBombCE(Thing reference, CompPropertie... |
/*******************************************************************************
Copyright (c) 2011, Perforce Software, Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of sour... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.