content stringlengths 23 1.05M |
|---|
using System;
using System.Globalization;
namespace _01_Softuni_Coffee_Orders
{
class Program
{
static void Main(string[] args)
{
int ordersCount = int.Parse(Console.ReadLine());
decimal totalCoffeePrice = 0.0M;
for (int i = 0; i < ordersCount; i++)
{
decimal pricePerCapsule = decimal.Parse(Con... |
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace WebSocketBridge.Server.Services
{
/// <summary>
/// This interface is the core API that is used by the bridge web-controller to
/// setup a bridge between two streams.
/// </summary>
/// <remarks>
/// The bridge i... |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using dk.nita.saml20.Utils;
namespace dk.nita.saml20.Schema.Core
{
/// <summary>
/// The Saml20 Conditions class
/// </summary>
[Serializable]
[XmlType(Namespace=Saml2Constants.ASSERTION)]
[XmlRoot(ELEMENT_NAME, Nam... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using KpdApps.Orationi.Messaging.DataAccess.Models;
namespace KpdApps.Orationi.Messaging.DataAccess.EntityConfigurations
{
public class MessageTypeConfiguration : EntityTypeConfiguration<Message>
{
public ... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MaterialDesignThemes.Wpf;
using Stylet;
using WDLT.Clients.POE.Enums;
using WDLT.Clients.POE.Models;
using WDLT.PoESpy.Engine;
using WDLT.PoESpy.Enums;
using WDLT.PoESpy.Events;
using WDLT.PoESpy.Models;
using WDLT.Utils.Extension... |
namespace FPLForecaster.Models.Manager
{
public class ManagerStatus
{
public int qualification_event { get; set; }
public int qualification_numbers { get; set; }
public int qualification_rank { get; set; }
public string qualification_state { get; set; }
}
} |
using System;
using System.Diagnostics;
#pragma warning disable 0436
namespace Microsoft.Xna.Framework.Media
{
public static class MediaPlayer
{
[java.attr.RetainType] private static android.media.MediaPlayer player;
[java.attr.RetainType] private static MediaQueue queue;
[java.attr.... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Creature : MonoBehaviour
{
protected enum CreatureState
{
Moving,
Idle,
Dead
}
public delegate void CreatureEvent();
public event CreatureEvent CreatureDied... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SQLGit.Patterns.Models.Connection
{
[Table("DATA_CONNECTION")]
public class ConnectionModel
{
[Key]
[Column("ID_Connections")]
public int ID_Connections { get; set; }
... |
// DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using System.Globalization;
using DigitalRune.Geometry.Shapes;
using DigitalRune.Graphics.Rendering;
using DigitalRune.G... |
namespace Xania.Invoice.Domain
{
public enum AddressType
{
Street,
Location,
Phone,
Fax,
ZipCode
}
} |
namespace FhirStarter.R4.Detonator.Core.SparkEngine.Service
{
public static class Const
{
public const string RESOURCE_ENTRY = "ResourceEntry";
public const string UNPARSED_BODY = "UnparsedBody";
public const string AUTHOR = "Spark FHIR 3.0-alpha DSTU-2";
public const ... |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
#if STRIDE_UI_SDL
namespace Stride.Graphics.SDL
{
... |
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.Video;
public class AjoutPrefabs : MonoBehaviour
{
public GameObject videoPrefab;
public List<VideoPlayer> listVideo;
// Current components
private GameObject current_Obj;
// Start is... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
using System.Collections.Generic;
using System.Linq;
namespace SimpleMiner.Parsing.Html.Model
{
/// <summary>
/// Utilizado quando necessário extrair um valor de algum atributo.
/// </summary>
public class PropertyXpathAttribute : HtmlParseAttribute
{
public List<string> Attributes { get; ... |
namespace Cassandra
{
internal interface IWaitableForDispose
{
void WaitForDispose();
}
} |
using System;
namespace AoC.PassportRules
{
public class HeightPassportRule: IPassportRule
{
public string FieldName => "hgt";
public bool IsValidValue(string fieldValue)
{
var validRanges = new []
{
new { unit = "cm", minHeight = 1... |
namespace Lexs4SearchRetrieveWebService
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[Syste... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using SharpNose.SDK;
namespace SharpNose.Core
{
public class Runner
{
... |
using System;
using Stump.Server.WorldServer.Game.Actors.RolePlay.Characters;
namespace Stump.Server.WorldServer.Game.Arena
{
public class ArenaWaitingCharacter
{
public ArenaWaitingCharacter(Character character, ArenaPreFightTeam team)
{
Character = character;
Team = t... |
using System.Windows;
using PS.IoC.Attributes;
using PS.MVVM.Patterns;
using PS.Shell.Module.Controls.ViewModels;
namespace PS.Shell.Module.Controls.Views
{
[DependencyRegisterAsSelf]
[DependencyRegisterAsInterface(typeof(IView<ButtonsViewModel>))]
public partial class ButtonsViewView : IView<ButtonsViewM... |
using System.Collections.Generic;
using System.Threading.Tasks;
using T_API.Core.DTO.DatabasePackage;
namespace T_API.BLL.Abstract
{
public interface IPackageService
{
Task<List<DetailDatabasePackageDto>> Get();
Task<DetailDatabasePackageDto> GetById(int id);
Task<DetailDatabasePackage... |
namespace Osnowa.Osnowa.AI.Activities
{
public enum ActivityState
{
FinishedFailure, FinishedSuccess, InProgress
}
} |
using System;
using Kaizen.Domain.Data.Configuration;
using Kaizen.Domain.Extensions;
using Kaizen.Extensions;
using Kaizen.Infrastructure.Extensions;
using MediatR;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Moq;
using NUnit.Frame... |
using Alabo.Domains.Entities;
using Alabo.UI.Design.AutoTables;
using Alabo.Web.Mvc.Attributes;
using System.Collections.Generic;
namespace Alabo.UI.Design.AutoLists {
public class AutoList {
public string Key { get; set; }
public string Name { get; set; }
public string Icon { get; set;... |
namespace TfsPortalRadiatorScreenSaver
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
public parti... |
namespace FullStackTemplate.Entities
{
public class BaseFullStackTemplateEntity : BaseAudit
{
}
} |
using DotNetCommons;
using foam.API.Abstractions;
using Serilog;
using System.Globalization;
using System.Reflection;
namespace foam.API;
public class ExtensionLibrary
{
public class ExtensionAssembly
{
public Assembly Assembly { get; }
public List<KeyValuePair<string, Type>> Commands { get; ... |
using Seaal.Mih.Helper.LeagueApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Seaal.Mih.Helper
{
public class BalanceResult
{
public List<Tuple<Summoner, Summoner>> Swaps { get; set; }
public int RatingDifferenc... |
using Nancy;
using Nancy.ModelBinding;
using Newtonsoft.Json;
using PaisleyPark.Models;
using PaisleyPark.ViewModels;
namespace PaisleyPark.Common
{
public class RESTWaymark
{
public Waymark A { get; set; }
public Waymark B { get; set; }
public Waymark C { get; set; }
... |
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* 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 t... |
using Markdown.MAML.Model.MAML;
using Markdown.MAML.Transformer;
using Markdown.MAML.Renderer;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Markdown.MAML.Test.Transformer
{
public class MamlMultiModelMergerTests
{
[Fact]
public void Merge3SimpleModels()
{... |
using System;
using static System.Console;
class DailyTemps
{
static void Main()
{
int count = 0;
double tempTemp;
double totalTemp = 0;
while (999 != (tempTemp = double.Parse(Console.ReadLine())))
if (tempTemp > -20 && tempTemp < 130)
{
t... |
using sharp.Extensions.Checkings;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http;
namespace sharp.Extensions.WebApi.Response
{
public class Success<T> : IHttpActionResult
{
public T Data
{
set
{
value.T... |
using System;
using Xunit;
using System.Collections.Generic;
using Statistics;
namespace Statistics.Test
{
public class StatsUnitTest
{
[Fact]
public void WhenUserInputsAnNonEmptyListOfFloatStatisticsareProduced()
{
var statsComputer = new StatsComputer();
var co... |
using System.Linq;
using System.Windows.Controls;
using PixelLab.Common;
using PixelLab.Demo.Core;
namespace PixelLab.SL.Demo
{
[DemoMetadata("ScrollBehavior", "A behavior to attach to a ScrollViewer to expose scroll direction commands.")]
public partial class ScrollBehaviorPage : UserControl
{
pu... |
namespace SFA.DAS.LevyTransferMatching.Web.Authorization
{
public class RouteValueKeys
{
public const string EncodedAccountId = "EncodedAccountId";
}
}
|
namespace TechMentorApi.Model.UnitTests
{
using FluentAssertions;
using Xunit;
public class CacheConfigTests
{
[Theory]
[InlineData(0, 300)]
[InlineData(120, 120)]
public void AccountExpirationReturnsConfigurationValueOrDefaultTest(int configValue, int expected)
... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DataBoss.Data.Scripting;
namespace DataBoss.Schema
{
[Table("__DataBossHistory", Schema = "dbo")]
public class DataBossHistory
{
[Column(Order = 0),Key]
public long Id;
[Column(Order ... |
namespace Earth.Renderer
{
public abstract class DrawAutomaticUniformFactory
{
public abstract string Name { get; }
public abstract DrawAutomaticUniform Create(Uniform uniform);
}
}
|
#if ODIN_INSPECTOR
using FPCSharpUnity.unity.unity_serialization;
using JetBrains.Annotations;
using Sirenix.OdinInspector.Editor;
using Sirenix.Utilities.Editor;
using UnityEditor;
using UnityEngine;
namespace FPCSharpUnity.unity.Editor.unity_serialization {
public static class EitherDrawer {
public static voi... |
using System.ComponentModel;
namespace System;
public static class EnumExtensions
{
public static string GetDescription(this Enum value)
{
var enumString = value.ToString();
var enumType = value.GetType();
var memberInfos = enumType.GetMember(value.ToString());
var enumValue... |
using System;
namespace ZbW.Testing.Dms.Client.Services.Interface
{
internal interface IFilenameGenerator
{
string GetContentFilename(Guid guid, string extension);
string GetMetadataFilename(Guid guid);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace JabboServerCMD.Core.Sockets.Packets.Game
{
[JsonObject(MemberSerialization.OptOut)]
public class FurniturePacket
{
public int I;
public string T;
public int S;
... |
namespace NuGet.VisualStudio
{
public interface ISettingsManager
{
ISettingsStore GetReadOnlySettingsStore();
IWritableSettingsStore GetWritableSettingsStore();
}
}
|
namespace Pisces.AwsWebApi.Host.Models
{
public class QuestionInputModel
{
public string QuestionText { get; set; }
public string QuestionHint { get; set; }
public string AnswerText { get; set; }
}
} |
using System;
namespace MW.Feature.FormConditions.MatchTypes
{
public interface IMatchTypeResolver
{
MatchType Resolve(Guid matchTypeId);
}
} |
using System;
using System.Collections.Generic;
namespace Meta.Numerics.Matrices {
/// <summary>
/// Represents the Cholesky Decomposition of a symmetric, positive definite matrix.
/// </summary>
/// <remarks>
/// <para>A Cholesky decomposition represents a matrix as the product of a lo... |
using System.Collections.Generic;
using AutoMapper;
using Presentation.Application.Common.Mappings;
using Presentation.Application.Common.Models.StructuralMetadata.Abstracts;
using Presentation.Common.Domain.StructuralMetadata.Enums;
using Presentation.Domain.StructuralMetadata.Entities.Gsim.Concept;
namespace Present... |
namespace LogicMonitor.Api.Collectors;
/// <summary>
/// ExecuteDebugCommandResponse information
/// </summary>
[DataContract]
public class ExecuteDebugCommandResponse
{
/// <summary>
/// The output
/// </summary>
[DataMember(Name = "output")]
public string Output { get; set; }
/// <summary>
/// The s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Charlotte.Tools;
namespace Charlotte
{
public static class ShowAnswer
{
public static void Perform(Moment[] route)
{
using (StreamWriter writer = new StreamWriter(@"C:\temp\route.html", false, Encodin... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Omdb.Net.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Omdb.Net.Tests.Helper
{
public class MovieAssert
{
public static void AssertMovieProperties(Movie mov... |
using System;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;
using System.Collections.Generic;
namespace WebServiceNamespace
{
/// <summary>
/// Summary description for WebService
/// </summary>
[Web... |
using System;
using System.Data;
using System.Text;
namespace LinqToDB.DataProvider.SqlServer
{
using SqlBuilder;
using SqlProvider;
public class SqlServer2005SqlProvider : SqlServerSqlProvider
{
public SqlServer2005SqlProvider(SqlProviderFlags sqlProviderFlags) : base(sqlProviderFlags)
{
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IOTOIApp.Nest
{
public class Structure
{
public string structure_id { get; set; }
public string name { get; set; }
public string away { get; set; }
publ... |
using Microsoft.Data.Entity;
using Microsoft.Data.Entity.Infrastructure;
using Microsoft.Data.Entity.Metadata;
using Pyrotech.IdentityServer3.AspNetIdentity3.EntityFramework7.Entities;
using Pyrotech.IdentityServer3.AspNetIdentity3.EntityFramework7.Interfaces;
using System;
namespace Pyrotech.IdentityServer3.AspNetIde... |
using System;
using System.Collections.Generic;
using MessageVault.Cloud;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
namespace MessageVault.Server {
public sealed class AppConfig {
public string PublicUri;
public string InternalUri;
public ICloudFactory StorageAccount;
... |
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.Support;
using Lucene.Net.Util;
using Microsoft.AspNetCore.TestHost;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using Directory = Lucene.Net.Store.Directory;
namespace Lucene.N... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using ICSharpCode.AvalonEdit.CodeCompletion;
using ICSharpCode.AvalonEdit.Editing;
namespace SMAStudiovNext.Core.Editor.Inspector
{
public class ObjectInspectorWindow ... |
<h2 id="mvcbloggy-title">@AppInfoStrings.AppTitle</h2>
<span id="mvcbloggy-slogan">
@AppInfoStrings.AppSlogan
</span> |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Level1_EventControl : MonoBehaviour {
public GameObject ContinueBtn;
public void After_WakeUP(){
Debug.Log ("1");
DragDropProbes.ins.Probs_Parent.SetActive (true);
Camera.main.transform.GetComponent<GvrPointerPhysics... |
using System;
using System.Linq;
using System.Reflection;
using Lime;
namespace Tangerine.Core
{
public static class NodeCompositionValidator
{
public static bool Validate(Type parentType, Type childType)
{
return ValidateChildType(parentType, childType) && ValidateParentType(parentType, childType);
}
pr... |
//
// SymGraph.cs
//
// Authors:
// Alexander Chebaturkin (chebaturkin@gmail.com)
//
// Copyright (C) 2011 Alexander Chebaturkin
//
// 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 with... |
using System;
using System.Collections.Generic;
using BGC.Mathematics;
using BGC.Audio.Envelopes;
using static System.Math;
namespace BGC.Audio.Synthesis
{
/// <summary>
/// Sine wave stream with specified amplitude, frequency, and initialPhase.
/// One period is cached and the phase offset is tracked and... |
using NHibernate;
using NUnit.Framework;
using Tests.Unit.Cfg;
namespace Tests.Unit.Mappings
{
public class MappingTests
{
public ISession Session;
[TestFixtureSetUp]
public void Setup()
{
var config = new ProgrammaticDatabaseConfiguration();
... |
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace Identity.Console.Base
{
public abstract class BaseService<T> : IService<T>
where T : BaseOptions
{
protected abstract string ErrorMessagePr... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
using Newtonsoft.Json;
using ShareFile.Api.Client.Enums;
using ShareFile.Api.Client.Exceptions;
using ShareFile.Api.Client.Extensions;
using ShareFile.Api.Client.Requests;
using ShareFile.Api.Client.Security.Crypt... |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections.Generic;
using AppCode.Entities;
using AppCode.DataAccess;
namespace AppCode.Business
{
public class BCategories
{
//---------------------------------------------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
namespace _2DRabbitPlatform.GFX
{
public class Animation
{
AnimatedTexture textures;
int current;
bool repeat, playing;
public Animation(AnimatedTextur... |
using Microsoft.Dynamics.AX.Metadata.MetaModel;
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;
namespace SSD365VSAddIn.Settings
{
public partial cl... |
using System;
using System.ComponentModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using Moq;
namespace UnitTestHelpers.Tests
{
[TestClass]
public class MyEventsTests
{
[TestMethod]
public void TestEventHandler()
{
//Arrange
... |
using Build;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Tests.Build
{
[TestClass, TestCategory("UnitTest")]
public class RunnerTest
{
#region Helper
private static ExecuteableTarget GetActionTarget(string name)
{
var targetMock = new Mock<... |
using Xunit;
namespace BettingEngine.Betting.Tests
{
public class StakeTest
{
private const int DecimalPrecision = 10;
private const decimal StakeValue = 42M;
[Fact]
public void Value_ReturnsCorrectly()
{
var stake = new Stake(StakeValue);
Asser... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyBlog_API.Domain
{
public interface IUsersRepo
{
Task<List<AppUser>> GetAllUsers();
Task<AppUser> GetUserById(int id);
Task<AppUser> Register(AppUser user);
Task<AppUser>... |
using Lazurite.Data;
using Lazurite.IOC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LazuriteVoicePlugin
{
public class VoicePluginData
{
private static PluginsDataManagerBase DataManager;
private static VoicePl... |
using System;
using System.Collections;
using System.IO;
using System.Text;
using Microsoft.Extensions.Configuration;
using TtlDumper.Services;
namespace TtlDumper.Commands
{
/// <summary>
/// Command to read an input file and write its content into a chip.
/// </summary>
public class Write... |
using System.Collections;
using System.Collections.Generic;
namespace SourceMap.Net
{
public class ArraySet: IEnumerable<string>
{
private readonly List<string> _innerList;
private readonly Dictionary<string, int> _innerSet;
public ArraySet()
{
_innerList = new List<string>();
_innerSet = new Dictiona... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UMA
{
public interface IDNAConverter
{
System.Type DNAType { get; }
string name { get; }
string DisplayValue { get; }
int DNATypeHash { get; }
DNAConvertDelegate PreApplyDnaAction { get; }
DNAConvertDelegate Ap... |
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace Mapsui.Projections
{
public interface IProjection
{
(double X, double Y) Project(string fromCRS, string toCRS, double x, double y);
void Project(string fromCRS, string toCRS, MPoint point);
void Project(s... |
using Okta.Sdk;
namespace Finbourne.Extensions.Okta.Sdk.Resources.Organisations
{
public class OrganisationSettingsApp : Resource, IOrganisationSettingsApp
{
public string ErrorRedirectUrl
{
get => GetStringProperty("errorRedirectUrl");
set => this["errorRedirectUrl"] ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace CommonSuite
{
public class DTCDescription
{
private string mCode;
private string mDescription;
private string mTips;
private List<string> mReasonList = null;
... |
namespace ExcelEditor.Logging
{
public interface ILogger
{
void WriteText(string text);
void WriteText(string format, params object[] args);
}
}
|
using System;
using System.IO;
using MiscUtil.IO;
namespace ELFSharp.ELF.Segments
{
public sealed class Segment<T> : ISegment
{
private readonly Class elfClass;
private readonly long headerOffset;
private readonly Func<EndianBinaryReader> readerSource;
internal Segment(long he... |
using System;
using PactNet.Logging;
namespace PactNet.Reporters.Outputters
{
internal class FileReportOutputter : IReportOutputter
{
private readonly Func<ILog> _logFactory;
internal FileReportOutputter(Func<ILog> logFactory)
{
_logFactory = logFactory;
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
/**
* Represents an object that has a given amount of lives, and is destroyed when the number of lives becomes 0.
*/
public class HealthSystem : MonoBehaviour
{
[Tooltip("Num of hits before the obje... |
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ShareTube.Web.Startup
{
public class Registry
{
public void ConfigureServices(IServiceCollection services)
{
services.AddContro... |
using UnityEngine;
namespace game
{
public class GameState : MonoBehaviour
{
void Awake()
{
GameContext.Initialize();
}
void Start()
{
RegisterMessages();
GameContext.ballFactory.CreateBall(Vector3.zero);
}
void OnDisable()
{
DeregisterMessages();
}
private v... |
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;
namespace ArrowPointCANBusTool.Forms
{
public partial class NetworkSignalForm : Form
{
p... |
namespace CyberCAT.Core.DumpedEnums
{
public enum EMeshShadowImportanceBias
{
MSIB_EvenLessImportant = -2,
MSIB_LessImportant = -1,
MSIB_Default = 0,
MSIB_MoreImportant = 1,
MSIB_EvenMoreImportant = 2
}
}
|
namespace MSCMPMessages.Messages {
[NetMessageDesc(MessageIds.VehicleSwitch)]
class VehicleSwitchMessage {
/// <summary>
/// Object ID of the vehicle player is entering.
/// </summary>
int objectID;
/// <summary>
/// ID of switch to change.
/// </summary>
int switchID;
/// <summary>
/// Value of... |
using System;
using System.Text.RegularExpressions;
using UnityEngine;
using NativeCookie = ZenFulcrum.EmbeddedBrowser.BrowserNative.NativeCookie;
namespace ZenFulcrum.EmbeddedBrowser {
public class Cookie {
public static void Init() {
//Empty function on this class to call so we can get the cctor to call on th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text.RegularExpressions;
using DumbQQ.Models.Abstract;
using DumbQQ.Models.Utilities;
using MoreLinq;
using RestSharp;
using SimpleJson;
namespace DumbQQ.Helpers
{
public static class ExtensionMethods
{
... |
using static SqExpress.SqQueryBuilder;
namespace SqExpress.IntTest.Tables.Derived
{
public class CustomerName : DerivedTableBase
{
private readonly TableItCustomer _tCustomer = AllTables.GetItCustomer();
public enum CustomerType : short
{
User = 1,
Company = 2
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.SignCheck.Logging
{
public class ConsoleLogger : LoggerBase, ILogger
{
public ConsoleLogger(LogVerbosity verbosity) : base(verbosit... |
using System;
using System.Reactive.Linq;
using DevExpress.ExpressApp.Model;
using JetBrains.Annotations;
using Xpand.Extensions.Office.Cloud;
using Xpand.XAF.Modules.Reactive;
namespace Xpand.XAF.Modules.Office.Cloud.Google{
public interface IModelOfficeGoogle : IModelNode{
IModelGoogle Google{ get; }
... |
using CaptivePortalAssistant.Models;
using CaptivePortalAssistant.ViewModels;
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using CaptivePortalAssistant.Helpers;
namespace CaptivePortalAssistant.Views
{
/// <summary>
/// An empty page that can be used o... |
using Microsoft.Extensions.Configuration;
using Microsoft.FeatureManagement;
using System;
using System.Threading.Tasks;
namespace ReverseProxyPOC.Proxy.Proxy.Filters
{
public class ProxyAllowedFilter : IFeatureFilter
{
public ProxyAllowedFilter()
{
}
public Task<bool> Evaluat... |
using FluentValidation;
using MediatR;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace EPONS.Teddy.Presentation.ViewObjects.Report
{
public class FacilityPerformanceReport : Base
{
[DisplayName("Start Date")]
public DateTime StartDate... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.