content stringlengths 23 1.05M |
|---|
using Content.Shared.GameObjects.Components;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using System;
namespace Content.Client.GameObjects.Components
{
[UsedImplicitly]
public class ExpendableLightVisualizer : AppearanceVisualizer
{
public override void OnChangeData(AppearanceC... |
using System;
namespace CoffeeShop
{
class Program
{
static void Main(string[] args)
{
var orders = int.Parse(Console.ReadLine());
var totalPrice = 0.0;
for (var i = 0; i < orders; i++)
{
var pricePerCapsule = double.Parse(Conso... |
using UnityEngine;
[RequireComponent(typeof(Camera))]
[ExecuteInEditMode]
public class PixelationPost : MonoBehaviour
{
public Shader _shader;
[Range(0.0001f, 100.0f)]
public float _cellSize = 0.025f;
[Range(0, 8)]
public int _colorBits = 8;
private static Material mat = null;
... |
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.QueryParsers;
using Lucene.Net.Search;
using Lucene.Net.Store;
using SourceBrowser.Search.DocumentFields;
using SourceBrowser.Search.ViewModels;
using System;
using System.Collections.Generic;
using System.IO;
usin... |
// Copyright © Nikola Milinkovic
// Licensed under the MIT License (MIT).
// See License.md in the repository root for more information.
using Nuclear.ExportLocator.Decorators;
using Nuclear.ExportLocator.Enumerations;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nuclear.Channel... |
namespace SunnyFarm.Services.Products
{
using System.Collections.Generic;
using SunnyFarm.Models.Products;
using SunnyFarm.Services.Products.Models;
public interface IProductService
{
ProductQueryServiceModel All(
string category,
string searchTerm,
Prod... |
using System;
using UnityEngine;
namespace CapsuleCharacterCollisionDetection
{
//This is a way for you to not worry about whether or not the rigidbody is Physx or our PlayerRigidbody.
[RequireComponent(typeof(Rigidbody))]
public class PhysXRigidbody : MonoBehaviour, IRigidbody
{
Rigidbody myRigidbod... |
using System;
using System.Linq;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Akavache;
using DynamicData;
using DynamicData.Binding;
using MovieList.ViewModels.Forms;
using ReactiveUI;
namespace MovieList.Views.Forms
{
public abstract class MovieSeriesFormControlBase : ReactiveUserCont... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using TMS.Common;
using TMS.DAL;
namespace TMS.BLL
{
public class UserBLL
{
public DataTable GetAllUsersInTable()
{
return new DAL.UserDAL().GetAllInUse... |
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
using NBitcoin;
namespace NRustLightning.Infrastructure.JsonConverters.NBitcoinTypes
{
public class HexPubKeyConverter : JsonConverter<PubKey>
{
public override PubKey Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSer... |
using System;
using System.IO;
using System.Text;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
namespace LibGit2Sharp.Tests
{
public class SetErrorFixture : BaseFixture
{
private const string simpleExceptionMessage = "This is a simple exception message.";
private const string aggregateEx... |
using System.IO;
using System.Web.Mvc;
using Newtonsoft.Json;
namespace ERP.Web
{
public class JObjectModelBinder : IModelBinder
{
public object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)
{
var stream = controllerContext.RequestContext.HttpCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Xamarin_Samples_Lifecycle.Views
{
public partial class OneView : ContentPage
{
public OneView()
{
Initialize... |
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using HostOptions = NetModular.Lib.Host.Web.Options.HostOptions;
namespace NetModular.Lib.Host.Web
{
public abstract class StartupAbstract
{
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using AniDroid.AniList.Dto;
using AniDroid.AniList.Enums.MediaEnums;
using AniDroid.AniList.Interfaces;
using AniDroid.AniListObject.Media;
using AniDroid.Base;
using AniDroid.Utils.Interfaces;
using AniDroid.Utils.Logging;
using Google.Android.Materi... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using TotalError.OrderSales.Data;
name... |
using System.Reflection;
using LightJson;
using Unisave.Serialization;
using Unisave.Serialization.Context;
using Unisave.Utils;
namespace Unisave.Facets
{
/// <summary>
/// Represents the response from a facet call
///
/// IMPORTANT: This does not cover exceptions,
/// those are left to propagate... |
namespace ShaderTools.CodeAnalysis.ShaderLab.Syntax
{
public sealed class CommandSetTextureCombineBinaryValueSyntax : BaseCommandSetTextureCombineValueSyntax
{
public readonly CommandSetTextureCombineSourceSyntax Source1;
public readonly SyntaxToken OperatorToken;
public readonly C... |
using System;
using DuoCode.Runtime;
namespace Knockout
{
[Js(Name = "ko.observableArray", Extern = true)]
public class ObservableArray<T> : Observable<JsArray<T>>
{
[Js(Name = "push", OmitGenericArgs = true)]
public extern void Push(T value);
[Js(Name = "remove", OmitGe... |
//#define PUBLICWORK
using System.Linq;
using System.Numerics;
namespace Perpetuum
{
public static class Rsa
{
private static readonly byte[] _modulusKey = new byte[]
#if !PUBLICWORK
{
0xd5,0x36,0xee,0x26,0x9b,0x07,0x91,0x03,
0xfc,0xd3,0x37,0x36,0x6c,0x2b,0... |
using System;
using System.Diagnostics;
using System.IO;
using System.Management;
using System.Net;
using System.Text;
namespace _51Racer
{
static class EnvInfo
{
static WebClient webClient = new WebClient();
static EnvInfo()
{
webClient.Encoding = Encoding.UTF8;
... |
using System;
using ExceptionsHomework.Contracts;
namespace ExceptionsHomework.Models
{
public class SimpleMathExam : IExam
{
private const string ExelentResultComment = "Excellent result: everything's done correctly.";
private const string AvarageResultComment = "Average result: almost nothin... |
using System.Text;
/**
* Author: Pantelis Andrianakis
* Date: November 29th 2019
*/
public class LocCommand
{
public static void Handle(Player player)
{
LocationHolder location = player.GetLocation();
// Send player success message.
StringBuilder sb = new StringBuilder();
s... |
namespace BugNET.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("BugNet_IssueRevisions")]
public partial class IssueRevision
{
[Key... |
// <copyright file="TimelapseMode.cs" company="Techyian">
// Copyright (c) Ian Auty and contributors. All rights reserved.
// Licensed under the MIT License. Please see LICENSE.txt for License info.
// </copyright>
namespace MMALSharp.Config
{
/// <summary>
/// The unit of time to use.
/// </summary>
... |
using System.Runtime.CompilerServices;
#if NETCOREAPP3_0_OR_GREATER
using System.Numerics;
using System.Runtime.Intrinsics.X86;
#endif
namespace AtCoder.Internal
{
using static MethodImplOptions;
public static class InternalBit
{
/// <summary>
/// _blsi_u32 OR <paramref name="n"/> & -... |
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace Cumulocity.SDK.Client.Rest.Representation.Alarm
{
public class AvailabilityStatRepresentation : BaseResourceRepresentation
{
private string source;
private long? downtimeDuration;
public AvailabilityStatRepr... |
using System.Windows;
using Nova.Bindings.Base;
namespace Nova.Bindings.Listeners
{
abstract class ResolvableDataContextListener<T> : DataContextListener<T>
where T : FrameworkElement
{
private readonly ResolveMode _resolveMode;
protected ResolvableDataContextListener(PropertyPath pa... |
namespace DbCompare.Objects
{
internal enum RoutineChangeType
{
Added,
DefinitionChanged,
Deleted
}
} |
using System;
using System.ComponentModel.DataAnnotations;
namespace LiteFx
{
public abstract class EntityBase { }
/// <summary>
/// Base class for entities.
/// </summary>
/// <typeparam name="TId">Type of id.</typeparam>
public abstract class EntityBase<TId> : EntityBase, IEquatable<EntityBase<TId... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PowerBot.Core.Models
{
public class PowerbotUser
{
public long Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string UserName { get; set; }
p... |
using System;
using Xamarin.Forms;
using System.Collections.Generic;
namespace PicMatcher
{
public class SettingsPage : ContentPage
{
GameSettings _settings;
Dictionary<string, Category> _catsHash = new Dictionary<string, Category> ();
Dictionary<int, Language> _langHash = new Dictionary<int, Language> ();
... |
using net.r_eg.SobaScript;
using net.r_eg.SobaScript.Z.Core;
using net.r_eg.Varhead;
namespace SobaScript.Z.CoreTest.Stubs
{
internal class UserVariableComponentEvalStub: UserVariableComponent
{
private class Evaluator1: IEvaluator
{
public string Evaluate(string data)
... |
namespace Aliencube.Azure.Insights.WebTests.Models
{
/// <summary>
/// This represents the configuration entity for web test. This MUST be inherited.
/// </summary>
public abstract class WebTestConfiguration
{
/// <summary>
/// Gets the web test XML serialised value.
/// </s... |
// PhysicalSizeBitmapFontScaler
using ClubPenguin;
using UnityEngine;
[RequireComponent(typeof(RectTransform))]
public class PhysicalSizeBitmapFontScaler : PhysicalSizeScaler
{
public float TargetScale_Iphone5 = 0f;
public float TargetScale_Ipad = 0f;
private RectTransform rectTransform;
private void Start()
{... |
namespace VisualViajes.View {
using System.Drawing;
using System.Windows.Forms;
/// <summary>
/// Dlg para insertar los datos de un viaje.
/// </summary>
public class DlgInserta: Form {
/// <summary>
/// Inicializa una nueva instancia de este dlg.
/// </summary>
... |
@using Resources;
@model Eshop.Web.Models.Items.ItemBindingModel
<fieldset>
<legend>@ItemsResources.AddItemTitle</legend>
<div class="form-group">
@Html.LabelFor(x => x.Title, new { @class = "col-lg-2 control-label" })
<div class="col-lg-10">
@Html.EditorFor(x => x.Title, new ... |
using Luban.Job.Common.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Luban.Job.Common.TypeVisitors
{
public class IsFlatBuffersScalarTypeVisitor : AllTrueVisitor
{
public static IsFlatBuffersScalarTypeVisitor Ins { ... |
// ***********************************************************************
// Copyright (c) 2009 Charlie Poole, Rob Prouse
//
// 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 restri... |
namespace Shkolo.Models.ScheduleHours
{
public class AllScheduleHourModel
{
public int ScheduleHourId { get; set; }
public int Term_Number { get; set; }
public string Date { get; set; }
public int DayOfWeek { get; set; }
public int SchoolHour { get; set; }
public... |
// 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;
using Microsoft.AspNetCore.Razor.Language.Components;
using Microsoft.AspNetCore.Razor.Language.Extensions;
using Moq;
using Xunit;
... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nordigen.Net.Requests;
public class Agreement
{
[JsonConstructor]
public Agreement(
string institutionId,
int maxHistoricalDays,
int accessValidForDays,
List<string> accessScope
)
{
... |
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 System.Reflection;
using System.IO;
using System.Globalization;
using System.Collections;
using Libraries.Imaging;
using Libraries... |
using System;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
namespace Assets.Scripts.Model
{
public static class SectorNameManager
{
private static List<string> _names;
static SectorNameManager()
{
var textAsset = Resources.Load("Settings/system_names") as TextAss... |
using System;
using System.IO;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
namespace Netcool.Api.Domain.Files
{
public static class FileUploadExtensions
{
public static void UseUploadedStaticFiles(th... |
using System;
using System.Collections.Generic;
using UnityEngine;
using CommandBuffer = UnityEngine.Rendering.CommandBuffer;
namespace OpenTibiaUnity.Core.WorldMap.Rendering
{
public struct ClassicStatusDescriptor
{
public bool showNames;
public bool showHealth;
public bool showMana;... |
using Newtonsoft.Json;
namespace Miro.Models.Github.RequestPayloads
{
public class CreateCommentPayload
{
[JsonProperty(PropertyName = "body")]
public string Body;
}
} |
// Copyright (c) Microsoft. All rights reserved.
using Microsoft.Azure.IoTSolutions.Auth.Services.Models;
using Newtonsoft.Json;
namespace Microsoft.Azure.IoTSolutions.Auth.WebService.v1.Models
{
public class UserApiModel
{
[JsonProperty(PropertyName = "Id", Order = 10)]
public string Id { ge... |
using System;
using System.Diagnostics;
using Flunity.Common;
using Flunity.Easing;
namespace Flunity
{
/// <summary>
/// Extension methods for creating tween animations on objects.
/// </summary>
public static class TweenExt
{
public static Tweener Tween(this Object target)
{
Debug.Assert(target != null, ... |
using AutoMapper;
using Microsoft.AspNetCore.Authentication.Twitter;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuratio... |
namespace WatchMyDrugs.Application.Services.Models
{
public class DrugListResponse
{
}
} |
namespace UglyToad.PdfPig.DocumentLayoutAnalysis.Export.PAGE
{
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
public partial class PageXmlDocument
{
/// <remarks/>
[EditorBrowsable(System.C... |
using System;
namespace Oldmansoft.ClassicDomain.Util
{
class MapNullableEnumProperty : MapProperty
{
public override void Map(object source, object target)
{
var sourceValue = Getter.Get(source);
if (sourceValue == null)
{
Setter.Set(target,... |
using RpgBot.Command.Abstraction;
using RpgBot.Entity;
using RpgBot.Level;
using RpgBot.Service.Abstraction;
using SQLitePCL;
namespace RpgBot.Command
{
public class MeCommand : AbstractCommand, ICommand
{
private const int ArgsCount = 0;
private const string Name = "/me";
private cons... |
namespace VaultLib.Support.Undercover.VLT.RenderReflect
{
public enum State_GPUFunc
{
kStateGPUFunc_Never = 0x0,
kStateGPUFunc_Less = 0x1,
kStateGPUFunc_Equal = 0x2,
kStateGPUFunc_Less_Equal = 0x3,
kStateGPUFunc_Greater = 0x4,
kStateGPUFunc_Not_Equal = 0x5,
... |
using StixNet.Schemas;
namespace StixNet.Sdos;
public class Malware: STIXObject
{
//name, description, malware_types, is_family, aliases, kill_chain_phases, first_seen,
//last_seen, operating_system_refs, architecture_execution_envs,
//implementation_languages, capabilities, sample_refs
public stri... |
using System;
using System.Globalization;
using System.Text;
namespace PdfReader
{
public class ParseString : ParseObjectBase
{
public ParseString(TokenString token)
{
Token = token;
}
public string Value
{
get { return Token.Resolved; }
... |
using System.Xml.Serialization;
using Inventor.Semantics.Metadata;
namespace Inventor.Semantics.Xml
{
[XmlType]
public abstract class Attribute
{
public abstract IAttribute Load();
public static Attribute Save(IAttribute attribute)
{
var definition = Repositories.Attributes.Definitions.GetSuitable(attri... |
using FSharpUtils.Newtonsoft;
using LanguageExt;
using static LanguageExt.Prelude;
namespace Tweek.Engine.Drivers {
public static class JsonValueExtensions
{
public static Option<JsonValue> GetPropertyOption(this JsonValue json, string propName)
{
var prop = json.TryGetProperty(pro... |
namespace ESFA.DAS.ProvideFeedback.Apprentice.Data
{
public class CosmosDbRepository : CosmosDbRepositoryBase<CosmosDbRepository>
{
}
} |
using System;
using System.Collections;
using System.Collections.Generic;
using JetBrains.Annotations;
namespace InCube.Core.Functional
{
/// <summary>
/// Represents the union of two distinct types, namely, <typeparamref name="TL" /> and <typeparamref name="TR" />.
/// This union type is right-biased if ... |
using Volo.Abp.Modularity;
using Volo.Abp.Localization;
using EasyAbp.EzGet.Localization;
using Volo.Abp.Localization.ExceptionHandling;
using Volo.Abp.Validation;
using Volo.Abp.Validation.Localization;
using Volo.Abp.VirtualFileSystem;
using Volo.Abp.Users;
namespace EasyAbp.EzGet
{
[DependsOn(
typeof(A... |
using Couchbase.Data.DAL;
using Couchbase.Data.RepositoryExample.Models.Repositories;
using Couchbase.Data.Tests.Documents;
using NUnit.Framework;
namespace Couchbase.Data.Tests
{
[TestFixture]
public class RepositoryTests
{
[Test]
public void Test_Get()
{
using (var cl... |
using System.Collections.Generic;
namespace OASP4Net.Domain.Entities.Models
{
public partial class Table
{
public Table()
{
Booking = new HashSet<Booking>();
}
public long Id { get; set; }
public int SeatsNumber { get; set; }
public ICollection<Boo... |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
using BankScrapper.Models;
namespace BankScrapper
{
public class BankScrapeResult
{
public Bank Bank { get; set; }
public Account Account { get; set; }
public Customer Customer { get; set; }
public Transaction[] Transactions { get; set; }
public Card[] Cards { get; ... |
using System;
using System.Collections.Generic;
using Engine;
using Katarai.Wpf.Monitor;
using NSubstitute;
using NUnit.Framework;
namespace Katarai.Wpf.Tests.Monitor
{
[TestFixture]
public class TestKataLogNotifier
{
readonly Stack<IDisposable> _itemsToDispose = new Stack<IDisposable>();
... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace ProjectCeilidh.PortAudio.Platform
{
internal abstract class NativeLibraryHandle : IDisposable
{
private readonly Dictionary<string, IntPtr> _symbolTable = new Dictionary<string, IntPtr>();
public T... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using RxAs.Rx4.ProofTests.Mock;
namespace RxAs.Rx4.ProofTests.Operators
{
[TestFixture]
public class ScanFixture
{
[Test]
public void outputs_one_value_for_each_input()
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
[SerializeField]
private Ball ballPrefab;
void Update()
{
// If the user presses space add a new ball to the scene
if (Input.GetKeyDown(KeyCode.Space))
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Rainbow.DomainDriven.Event
{
public interface IEvent
{
Guid Id { get; }
Guid AggregateRootId { get; set; }
string AggregateRootTypeName { get; set; }
long UTCTimestamp { get; }
int Version { ge... |
using Raylib_CsLo;
using JustWind.Entities;
using JustWind.Systems;
using JustWind.Components;
namespace JustWind
{
public class Engine
{
public List<Entity> Entities = new List<Entity>();
public List<JustWind.Systems.System> Systems = new List<JustWind.Systems.System>();
public List<Ju... |
using System;
using System.Collections.Generic;
using System.Linq;
using OrbitVR.Components.Essential;
using OrbitVR.Components.Items;
using OrbitVR.Physics;
using SharpDX;
namespace OrbitVR.Framework {
public class PlayerData {
public PlayerData() {}
}
public class Player {
public stat... |
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Threading;
using System.Threading.Tasks;
using FcmSharp.Scheduler.Quartz.Services;
using FcmSharp.Scheduler.Quartz.Web.Contracts;
using FcmSharp.Sche... |
using SocialPlatform.Groups.Shared.Models;
using System.Collections.Generic;
namespace SocialPlatform.Groups.Actors
{
public class GroupState
{
public string Name { get; set; }
public List<GroupMember> Members { get; set; } = new List<GroupMember>();
public List<GroupMessage> Message... |
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Luminous.Common.EntityModel
{
/// <summary>
/// The abstract base entity class all domain models should inherit from
/// </summary>
/// <typeparam name="T">The type of object identifier</type... |
// Spam Protection Bot GUI
// Copyright (C) 2019 - 2021 ALiwoto
// This file is subject to the terms and conditions defined in
// file 'LICENSE', which is part of the source code.
using System;
using System.Threading.Tasks;
using SPB.SandBox;
using SPB.Security;
using SPB.GameObjects.WMath;
using SPB.GameObjects.Play... |
namespace CyberCAT.Core.DumpedEnums
{
public enum gameEntityReferenceType
{
EntityRef = 0,
Tag = 1,
SlotID = 2,
SceneActorContextName = 3
}
}
|
using System.Collections.Generic;
using System.Text;
namespace BizHawk.Client.Common
{
public class BkmHeader : Dictionary<string, string>
{
public BkmHeader()
{
Comments = new List<string>();
Subtitles = new SubtitleList();
this[HeaderKeys.EMULATIONVERSION] = VersionInfo.GetEmuVersion();
this[Head... |
using FluentAssertions;
using Kros.KORM.Metadata.Attribute;
using Kros.KORM.UnitTests.Base;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace Kros.KORM.UnitTests.Integration
{
public class QueryNullableFieldsTests : DatabaseTestBase
{
#region Helpers
private const st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Ep229News 的摘要说明
/// </summary>
/// 实体类:和ep229News中的字段做映射
public class Ep229News
{
public int NewsId { get; set; }
public string NewsTitle { get; set; }
public string NewsContent { get; set;... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Tools.Navigation
{
[CreateAssetMenu(menuName = "Tools/Navigation/Navigation Manager")]
public class NavigationManager : SingletonScriptableObject<NavigationManager... |
using System.Web.Security;
using VsixMvcAppResult.Models.ProxyProviders;
namespace VsixMvcAppResult.Models.Authentication
{
public class AuthenticationProxy : ProviderBaseChannel<IAuthenticationProxy>, IAuthenticationProxy
{
public bool LogIn(string userName, string password, string customCrede... |
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Order;
namespace Konsarpoo.Collections.Tests.Benchmarks
{
[Orderer(SummaryOrderPolicy.FastestToSlowest)]
[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
pub... |
using COI.UI_MVC.Scheduler.Tasks;
using COI.UI_MVC.Util;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using MQTTnet;
using MQTTnet.Client;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using UI_MVC.Scheduler.Scheduling;
using st... |
namespace HitBTC.Net.Requests
{
/// <summary>
/// Get currency
/// </summary>
internal class GetCurrencyRequest : HitBTCSocketRequest
{
public GetCurrencyRequest(int id, string currency) : base(id, "getCurrency")
{
this.AddParameter("currency", currency);
}
}... |
using System;
using System.Windows.Input;
using Xamarin.Forms;
namespace ZXing.Net.Xamarin.Forms
{
public class ZXingOverlay : Grid
{
Label topText;
Label botText;
public ZXingOverlay()
{
BindingContext = this;
VerticalOptions = LayoutOptions.FillAndEx... |
using ConsoleApp;
using Microsoft.EntityFrameworkCore;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SamuraiApp.Data;
using SamuraiApp.Domain;
using System.Collections.Generic;
using System.Linq;
namespace TestsForConsoleApp
{
[TestClass]
public class BizDataLogicTests
{
[TestMethod]
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetPrintsEditor.Compilation
{
[Serializable]
public class CodeCompileResults
{
public bool Success
{
get;
}
public IEnumerable<string> ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PointInRectangle
{
class Program
{
static void Main(string[] args)
{
decimal x1 = decimal.Parse(Console.ReadLine());
decimal y1 = decimal.Parse... |
using Newtonsoft.Json;
namespace Printful.API.Model.Entities
{
public class PackingSlip
{
[JsonProperty("email")]
public string email { get; set; }
[JsonProperty("phone")]
public string phone { get; set; }
[JsonProperty("message")]
public string message { get;... |
namespace SpreadsheetSerializer.AsposeCells
{
public class WorkbookCreator
{
public static AsposeWorkbook CreateWorkbookWithName(string workbookName)
{
return new AsposeWorkbook().WithWorkbookName(workbookName);
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrightstarDB.Client;
using System.Xml.Linq;
using System.Threading.Tasks;
namespace BrightstarDB.PerformanceBenchmarks
{
public class TaxonomyDocumentBenchmark : BenchmarkBase
{
private int _numDocs;
p... |
namespace Trakt.Api.DataContracts.BaseModel;
/// <summary>
/// The trakt.tv movie id class.
/// </summary>
public class TraktMovieId : TraktIMDBandTMDBId
{
}
|
namespace AmazonPrimeVideoSearch.Model
{
public interface ITVRepository
{
TVMetadata GetTVMetadata();
TVSearchResults TVSearch(TVSearchCriteria criteria);
}
} |
using System;
using System.IO;
namespace CustomerTestsExcel
{
public class ExcelTabularLibrary : ITabularLibrary
{
public string DefaultExtension => "xlsx";
public ITabularBook NewBook() => new ExcelTabularBook();
public ITabularBook NewBook(string filename) => new ExcelTabularBook(f... |
using Core.Entities;
using System;
namespace Entities.DTOs
{
public class RentalDetailDto: IDto
{
public int RentalId { get; set; }
public int CarId { get; set; }
public string BrandName { get; set; }
public string CustomerName { get; set; }
public string UserName { get... |
namespace $RootNamespace$
{
public class ProxyTypesAssembly
{
}
} |
namespace API.Routes;
/// <summary>
/// Represents container routes
/// </summary>
public static class ContainerRoutes
{
/// <summary>
/// Route for get container list.
/// </summary>
public const string List = "api/Container/List";
/// <summary>
/// Route for delete container
///... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.