content stringlengths 23 1.05M |
|---|
using GraphQL.Data.UserRepository;
using GraphQL.Models;
using GraphQL.Types;
namespace GraphQL.Graph.Types
{
public class TodoItemType : ObjectGraphType<TodoItem>
{
public TodoItemType(IUserRepository userRepo)
{
Name = nameof(TodoItemType);
Field(c => c.Id, type: type... |
namespace SecondDesktopDll
{
public class MsgArgs
{
public object Sender { get; private set; }
public MsgArgs(object sender = null)
{
Sender = sender;
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
namespace CloudTools_Assaigment
{
public static class Extension
{
public static int Sum(this List<int> arrayOfNumbers)
{
int result = 0;
foreach (var number in arrayOfNumbers)
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
namespace Ultraviolet.Core.Collections
{
/// <summary>
/// Represents a linked list that draws its nodes from a pre-allocated pool.
/// </summary>
/// <remarks>The Base Class Library's built-in <see cref="LinkedList{T}"/> class ... |
using System;
using System.Collections.Generic;
namespace I9OpenWebApi.Models
{
public partial class Usuario
{
public Usuario()
{
Comercio = new HashSet<Comercio>();
Plano = new HashSet<Plano>();
}
public int IdUsuario { get; set; }
public strin... |
namespace AdjustNamespace.Xaml
{
public interface IXmlnsProvider
{
XamlXmlns GetByAlias(string alias);
XamlXmlns? TryGetByNamespace(string @namespace);
XamlX GetXPrefix();
}
}
|
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
[CreateAssetMenu(fileName = "Processor", menuName = "Interactable/Processor")]
public class Processor : ScriptableObject
{
public List<Recipe> Recipes;
public Recipe FindProcessableRecipe(IEnumerable<Item> items)
{
foreach (va... |
using System;
public class WhereFieldIsDisposableClassArray :
IDisposable
{
public Disposable[] Field = new Disposable[0];
public void Dispose()
{
}
public class Disposable : IDisposable
{
public void Dispose()
{
}
}
} |
using Hudl.FFmpeg.Settings.Attributes;
using Hudl.FFmpeg.Settings.Interfaces;
namespace Hudl.FFprobe.Settings
{
[Setting(Name = "show_frames", IsParameterless = true)]
public class ShowFrames : ISetting
{
}
}
|
using System.ComponentModel;
namespace Xamarin.Forms.Platform.WinPhone
{
public class ActivityIndicatorRenderer : ViewRenderer<ActivityIndicator, System.Windows.Controls.ProgressBar>
{
protected override void OnElementChanged(ElementChangedEventArgs<ActivityIndicator> e)
{
base.OnElementChanged(e);
SetNa... |
using System;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using Nexinho.Models;
namespace Nexinho.Gateways;
public class ChuckGateway : IChuckGateway
{
private readonly HttpClient httpClient;
public ChuckGateway(HttpClient httpClient)
{
this.httpClient = httpClie... |
namespace _2PAC.WebApp.WebAPIModel
{
public class W_Score
{
public int ScoreId {get; set;}
public int UserId {get; set;}
public string Username {get; set;}
public int GameId {get; set;}
public string GameName {get; set;}
public double Score {get; set;}
}
} |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://ww... |
using System;
using NUnit.Framework;
using SaG.GuidReferences;
using SaG.SaveSystem.GameStateManagement;
using UnityEngine;
namespace SaG.SaveSystem.Tests
{
public class SaveableTests
{
// A Test behaves as an ordinary method
[Test]
public void Id_ReturnsGuidId()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moki11so.Shared.Reporting
{
public enum ReportType
{
AmeiseError = 1000,
AmeiseImportError = 1001,
WorkerError = 1010,
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Leap.Unity;
using LeapInternal;
public class GetLeapImage : MonoBehaviour{
private LeapServiceProvider _provider;
// private Controller _controller;
private void Awake()
{
// _provider = GetComponent<LeapServic... |
using LagoVista.Core.IOC;
using LagoVista.Core.PlatformSupport;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LagoVista.PickAndPlace.Models
{
public partial class HeightMap
{
public async Task SaveAsync()
{
... |
#region Copyright
// Copyright Hitachi Consulting
//
// 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 applicab... |
using UnityEngine;
public class ShootingScript : MonoBehaviour
{
// Bullet object for instantiating on shooting.
public BulletScript BulletPrefab;
// A bullet is spawned for each shooting point defined here. No shooting points mean no shooting.
public Transform[] Barrels;
// Time between shots (... |
using System;
using UnityEngine;
public static class TransformExtensions
{
// Useful for cleaning up scroll group contents
public static void DetachAndDestroyChildren(this Transform transform)
{
int total = transform.childCount;
for (int i = total-1; i >= 0; i--)
{
Game... |
namespace DotNetCore.CAP.Plus
{
public class PlusOptions
{
public const int DEFAULT_RESUME_FETCH_COUNT = 1000;
public const int DEFAULT_RETRY_FETCH_COUNT = 1000;
public const int DEFAULT_RETRY_IMMEDIATELY_TIMES = 3;
public const int DEFAULT_IDLE_INTERVAL = 10;
public in... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Apollo.Core.Dto;
using Apollo.Core.Validation;
namespace Apollo.Core.Interfaces
{
public interface IReservationService
{
void AddRule(ISeatValidation validationRule);
void UseDefaultRules();
void ClearRules();
... |
namespace PMF.RecurrenceDay.Enums
{
/// <summary>
/// Day type
/// </summary>
public enum DayType
{
/// <summary>
/// The sunday
/// </summary>
Sunday,
/// <summary>
/// The monday
/// </summary>
Monday,
/// <summary>
/// The tuesday
/// </summary>
Tuesday,
/// <summary>
/// The wed... |
using System;
using System.Collections.Generic;
using System.Net;
#if !CompactFramework
using System.Net.NetworkInformation;
#else
using OpenNETCF.Net.NetworkInformation;
#endif
namespace PipBenchmark.Hardware
{
public class NetworkBenchmarkSuite : BenchmarkSuite
{
private Parameter _destinationAddre... |
// CS0106: The modifier `async' is not valid for this item
// Line: 6
// Compiler options: -langversion:future
interface I
{
async void M ();
}
|
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Sharpenchat.Core.Serialization;
namespace Sharpenchat.Payment
{
public class UnifiedOrderRequest
{
[FieldName("appid"), Required, MaxLength(32)]
internal string AppId { get; set; }
[FieldName("mch_id"... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Hangfire.EntityFrameworkCore.AspNetCoreExternalDbContext.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TrainEngine.Trains
{
public class Train : ITrain, ITrainPosition
{
public int Id { get; set; }
public string Name { get; set; }
public int MaxSpeed { get; set; }
public bool Operated... |
namespace Cryptography.Obfuscation
{
/// <summary>
/// The obfuscation strategy to use.
/// </summary>
public enum ObfuscationStrategy
{
/// <summary>
/// With the same Seed value,
/// Constant mode will always generate the same obfuscated string for a particular... |
using BrawlLib.Internal;
using BrawlLib.SSBB.Types;
using System.ComponentModel;
namespace BrawlLib.SSBB.ResourceNodes
{
public unsafe class MVPMNode : ARCEntryNode
{
internal Parameter* Header => (Parameter*) WorkingUncompressed.Address;
//public override ResourceType ResourceFileType => Reso... |
using DotNetty.Buffers;
using DotNetty.Transport.Channels;
using OpenClassic.Server.Domain;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading.Tasks;
namespace OpenClassic.Server.Networking
{
public class GameConnectionHandler : ChannelHandlerAdapter, ISession
{
... |
// 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.Collections.Generic;
using Cake.Core.IO;
using Xunit;
namespace Cake.Core.Tests.Unit.IO
{
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace EasyGameServer
{
class WorldManager
{
private int m_WorldTick = Environment.TickCount;
private int m_GCTick = Environment.TickCount;
priv... |
using System.Collections.Generic;
using WampSharp.Core.Serialization;
using WampSharp.V2.Core.Contracts;
namespace WampSharp.V2.PubSub
{
/// <summary>
/// Represents a topic subscriber that lives outside a router process.
/// </summary>
public interface IWampRawTopicClientSubscriber
{
/// ... |
using System.Threading.Tasks;
using Esfa.Recruit.Vacancies.Jobs.TrainingTypes.Models;
namespace Esfa.Recruit.Vacancies.Jobs.Infrastructure
{
public interface IUpdateQueryStore
{
Task UpdateStandardsAndFrameworksAsync(ApprenticeshipProgrammeView updatedList);
}
} |
using System;
using System.Text.RegularExpressions;
namespace Shouldly.MessageGenerators
{
internal class ShouldSatisfyAllConditionsMessageGenerator : ShouldlyMessageGenerator
{
private static readonly Regex Validator = new Regex("ShouldSatisfyAllConditions", RegexOptions.Compiled);
public ove... |
using System;
namespace BigInteger
{
public partial struct BigInteger
{
// 1种逆向序数对齐的Array.Copy()
// 长度_输入是对齐的的值,不是增|减的值
private static UInt64[] 等长化_核心(UInt64[] 数_输入, Int64 长度_输入, Boolean Is右向_输入 = default)
{
Int32 长度 = 数_输入.Length;
Int64 长度差 = 长度_输入 - 长度; // !理论上∈ [0, +∞)
UInt64[] 数容器 = new UInt64... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
namespace StructurizrObjects
{
public static class NamedIdentity
{
private static Type[] ReferencedAssembliesTypesCache;
public static string GetN... |
using System;
using Unity.Build;
using Unity.Builder;
namespace Unity.Policy.Mapping
{
/// <summary>
/// Represents a builder policy for mapping build keys.
/// </summary>
public class BuildKeyMappingPolicy : NamedTypeBase, IBuildKeyMappingPolicy
{
#region Constructors
/// <summar... |
namespace Defence;
/// <summary>
/// main class for keeping info from each field on validation
/// </summary>
/// <typeparam name="T"></typeparam>
public class DefenceProperty<T>
{
public DefenceProperty(string fieldName, T input)
{
FieldName = fieldName;
Input = input;
}
public stri... |
using System.Data;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LambdicSql;
using LambdicSql.feat.Dapper;
using static LambdicSql.Oracle.Symbol;
using static Test.Helper.DBProviderInfo;
using Test.Helper;
namespace Test
{
[TestClass]
public class TestSymbolClausesLimit
{
... |
namespace AdoptMe.Services.Adopters
{
public interface IAdopterService
{
int Create(string firstName, string lastName, int Age, string userId);
bool IsAdopter(string userId);
}
} |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
using RestRunner.Models;
using RestRunner.Properties;
usin... |
/*
This code is derived from jgit (http://eclipse.org/jgit).
Copyright owners are documented in jgit's IP log.
This program and the accompanying materials are made available
under the terms of the Eclipse Distribution License v1.0 which
accompanies this distribution, is reproduced below, and is
available at http://www... |
using System.Collections.Generic;
namespace IOC
{
public interface IDataProvider
{
IEnumerable<int> GetNumbers();
}
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
namespace BagOfHolding
{
public partial class PartyWindow : UserControl
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Autojector.TestAssemblyGenerator;
public static class AssemblyExtensions
{
public static Type GetTypeFromAssemblyByName(this Assembly assembly, string typeName)
... |
namespace Nivaes.App.Cross.Mobile.Sample
{
using System.Threading.Tasks;
using Nivaes.App.Cross.Navigation;
using Nivaes.App.Cross.Sample;
using Nivaes.App.Cross.ViewModels;
public sealed class AppMobileSampleAppStart
: AppSampleAppStart, IMvxAppStart
{
public AppMobileSampleAp... |
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright 2020 Raritan Inc. All rights reserved.
//
// This file was generated by IdlC from Net.idl.
using System;
using System.Linq;
using LightJson;
using Com.Raritan.Idl;
using Com.Raritan.JsonRpc;
using Com.Raritan.Util;
#pragma warning disable 0108, 0219, 0414, 1591... |
namespace Valerie.Enums
{
public enum LogSource
{
/// <summary>Ready</summary>
RDY,
/// <summary>Connected</summary>
CNN,
/// <summary>Disconnected</summary>
DSN,
/// <summary>Discord</summary>
DSD,
/// <summary>Database</summa... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace XSMP.MediaDatabase.Models
{
public partial class Artist
{
public Artist()
{
Album = new HashSet<Album>();
ArtistSon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Xml.Serialization;
namespace GDICanvas
{
public class GDILine : GDIObject
{
public float X1 { get; set; }
public float X2 { get; set; }
... |
using App.Core.UseCases.SearchBlogPosts;
using Castle.Windsor;
using Castle.Windsor.Installer;
using FD.CleanArchitecture.Core.Interactor;
using System;
using System.Reflection;
namespace App.ConsoleInterface
{
class Program
{
static void Main(string[] args)
{
var container = new ... |
using System.Threading.Tasks;
using WorkflowDatabase.EF.Interfaces;
namespace Portal.Helpers
{
public interface ITaskDataHelper
{
Task<ITaskData> GetTaskData(string activityName, int processId);
Task<IProductActionData> GetProductActionData(string activityName, int processId);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SmashLabs.Tools
{
public class ErrorHandling
{
public static void ThrowError(object error)
{
throw new Exception(error.ToString());
}
}
}
|
using AutoFixture;
using AutoFixture.Dsl;
using AutoFixture.Kernel;
using NHSD.GPIT.BuyingCatalogue.EntityFramework.Users.Models;
namespace NHSD.GPIT.BuyingCatalogue.Test.Framework.AutoFixtureCustomisations
{
internal sealed class AspNetUserCustomization : ICustomization
{
public void Customize(IFixtu... |
using System;
using ChartDirector;
namespace CSharpChartExplorer
{
public class overlapbar : DemoModule
{
//Name of demo module
public string getName() { return "Overlapping Bar Chart"; }
//Number of charts produced in this demo module
public int getNoOfCharts() { return 1; }
... |
@model OrchardCore.Users.ViewModels.ForgotPasswordViewModel
@{
ViewLayout = "Layout__Login";
}
<div class="govuk-width-container">
<h2 class="govuk-heading-s">@T["Forgot password?"]</h2>
<h2 class="govuk-heading-s">@T["Please check your email to reset your password."]</h2>
<hr />
<div class="govuk-... |
using Cysharp.Threading.Tasks;
using UnityEngine;
using UnityEngine.AddressableAssets;
public static class GameInitializer
{
[RuntimeInitializeOnLoadMethod]
private static async void Init()
{
Application.targetFrameRate = 60;
GameObject gameSysObj = await Addressables.InstantiateAsync("Ga... |
using SIS.MvcFramework;
using System.Collections.Generic;
namespace BattleCards.Models
{
public class User : IdentityUser<string>
{
public User()
{
this.userCards = new HashSet<UserCard>();
}
public ICollection<UserCard> userCards { get; set; }
}
}
|
namespace SuperServiceJob {
public enum Result {
Success,
ParsingError,
SyncError
}
} |
using System.Reflection;
using TechTalk.SpecFlow.MsBuildNetSdk.IntegrationTests.Features;
using Xunit;
namespace TechTalk.SpecFlow.MsBuildNetSdk.IntegrationTests
{
public class CodeBehindFileGenerationTests
{
[Fact]
public void TestIfCodeBehindFilesWasGeneratedAndCompiled()
{
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using StackExchange.Redis;
namespace HotChocolate.Subscriptions.Redis
{
public class RedisEventStream
: IEventStream
{
private readonly IEventDescription _eventDescription;
private readonly ChannelMessageQueue _channel;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace bilong.Data.Repository.Memory
{
public class MemoryStorableRepository<T> : IStorableRepository<T> where T : IStorable
{
private readonly Dictionary<object, T> _memo... |
using SOArchitecture;
using UnityEngine;
[CreateAssetMenu(menuName = "Variable/Transform")]
public class TransformVariable : GameVariable<Transform>
{
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Visitor
{
public abstract class Action
{
public abstract void GetManConclusion();
public abstract void GetWomanConclusion();
}
public class Success : Action
... |
using FeatureLoom.Diagnostics;
using System;
using Xunit;
namespace FeatureLoom.MessageFlow
{
public class ForwarderTests
{
[Theory]
[InlineData(42)]
[InlineData("test string")]
public void CanForwardObjectsAndValues<T>(T message)
{
TestHelper.PrepareTestCon... |
using BuilderDesignPattern.Lab_1.Abstraction;
using BuilderDesignPattern.Lab_1.Delegate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BuilderDesignPattern.Lab_1.Concrete
{
public class Builder_2 : IBuilder
{
private Prod... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TicTacToe.Engine.Players;
namespace TicTacToe.Engine.Games
{
public class MultiPlayerGame : Game
{
public MultiPlayerGame(HumanPlayer player1, HumanPlayer player2)
:bas... |
#define NET35
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
#if NET35
namespace Peach.AeronetInversion
{
public class Path
{
public static string Combine(string path, params string[] paths)
{
if (paths == null || paths.Length... |
using UnityEngine;
namespace Fumohouse.ScriptableObjects
{
public abstract class PartData : ScriptableObject
{
public string PartName;
public Scope Scope;
}
}
|
using System;
using Ditto.Internal;
namespace Ditto.Criteria
{
public class TypePropertyCriterion:IPropertyCriterion
{
private readonly Type targetType;
public TypePropertyCriterion(Type targetType)
{
this.targetType = targetType;
}
public bool IsSatisfiedB... |
using System.Collections.Generic;
using System.Threading.Tasks;
using IoTHs.Api.Shared;
namespace IoTHs.Devices.Interfaces
{
public interface IPluginRegistry
{
void RegisterPluginType<T>() where T : class, IPlugin;
IEnumerable<T> GetPlugins<T>() where T : class, IPlugin;
T GetPlugin<T>() where T : class, IPl... |
namespace BeyondNet.App.Ums.Domain.User.Key
{
public static class EKeyStatus
{
public static int Active = 1;
public static int Inactive = 1;
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace IDEIMusic.Models
{
public interface ISaleRepository
{
IEnumerable<SaleSummary> GetSaleSummaries();
IEnumerable<SaleSummary> GetSaleSummariesBySales();
IEnumerable<SaleSummary> GetSaleSummarie... |
using System;
using System.Collections.Generic;
using System.Net.Http.Headers;
using KeyPayV2.Au.Models.Common;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using KeyPayV2.Au.Enums;
namespace KeyPayV2.Au.Models.PayRun
{
public class AuApiPaySlipModel
{
public IList<ApiPaySlipPay... |
using QHomeGroup.Data.Entities.Content;
using QHomeGroup.Infrastructure.Interfaces;
namespace QHomeGroup.Application.Common
{
public class CommonService : ICommonService
{
private IRepository<Slide, int> _slideRepository;
private IUnitOfWork _unitOfWork;
public CommonService(IUnitOfWo... |
// MIT License
// Copyright (c) 2011-2016 Elisée Maurer, Sparklin Labs, Creative Patterns
// Copyright (c) 2016 Thomas Morgner, Rabbit-StewDio Ltd.
// 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 ... |
using System;
using Shouldly;
using Vertical.ConsoleApplications.Utilities;
using Xunit;
namespace Vertical.ConsoleApplications.Test.Utilities
{
public class TokenHelperTests
{
[Theory]
[InlineData("arg1", "arg1")]
[InlineData("arg1+arg2", "arg1")]
[InlineData("arg1+arg2+arg3",... |
// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
// Copyright (C) Leszek Pomianowski and WPF UI Contributors.
// All Rights Reserved.
#nullable enable
using System.Collections.Ge... |
// <Snippet5>
/*
The following example demonstrates using asynchronous methods to
get Domain Name System information for the specified host computer.
*/
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Collections;
namespace Examples.AdvancedProgramming.AsynchronousOpera... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Web.Common.Models;
namespace Umbraco.Cms.Web.Website.Models
{
public class RegisterModel : PostRedirectModel
{
public RegisterModel()
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EnWebSockets
{
public enum WebSocketVersion
{
None = -1,
DraftHybi00 = 0,
DraftHybi10 = 8,
Rfc6455 = 13,
}
}
|
using System;
using System.Collections.Generic;
namespace Telefon_Rehberi_Uygulamas_
{
public static class AnaEkran
{
public static List<Kisiler> KisiList;
static AnaEkran()
{
KisiList = new List<Kisiler>()
{
new Kisiler("Recep","Şahin",... |
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using KeLi.HelloMvvmLight.Sample2.Models;
namespace KeLi.HelloMvvmLight.Sample2.ViewModels
{
public partial class BindingAdvancedViewModel
{
private List<CheckBottonModel> _checkButtonsData;
pri... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
namespace AkrDataSource
{
public abstract class PagingColletcionDataSourceBase<T, TParam> : ObservableCollection<T>,
IP... |
using FrannHammer.WebScraping.Domain.Contracts;
namespace FrannHammer.WebScraping.Domain
{
public class MiiSwordfighter : WebCharacter
{
public MiiSwordfighter()
: base("MiiSwordfighter", "Mii%20Swordfighter", null, "MiiSwordspider", "Mii Fighters")
{
DisplayName = "Mii ... |
namespace NetRx.Store
{
public abstract class Reducer<TState>
{
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FrogControl : MonoBehaviour
{
private int MAX_JUMPS = 1;
private int FROG_JMP_Y = 400;
private int FROG_JMP_X = 100;
private float PROB_JMP=0.015f;
private bool movingToTheRigth;
private bool isTouching... |
using System.Data;
namespace OpenBots.Core.Interfaces
{
public interface ISeleniumElementActionCommand
{
string v_InstanceName { get; set; }
DataTable v_SeleniumSearchParameters { get; set; }
string v_SeleniumSearchOption { get; set; }
string v_SeleniumElementAction { get; set;... |
namespace Nager.Country.Translation
{
/// <summary>
/// ILanguageTranslation
/// </summary>
public interface ILanguageTranslation
{
/// <summary>
/// CommonName
/// </summary>
string CommonName { get; }
/// <summary>
/// OfficialName
/// </sum... |
namespace Vendr.PaymentProviders.PayPal.Api.Models
{
public class PayPalRefundPayment : PayPalPayment
{
public static class Statuses
{
public const string CANCELLED = "CANCELLED";
public const string PENDING = "PENDING";
public const string COMPLETED = "COMPL... |
using System.Collections.Generic;
using System.IO;
using System.Linq;
using ILRepacking;
namespace OxidePack.Client.Core.ILMerger
{
public class MergeSession
{
public string Directory;
public string[] Files;
public MergeSession(string directory, List<string> files)
: this(d... |
using System.Threading.Tasks;
using LimeFlight.OpenAPI.Diff.BusinessObjects;
namespace LimeFlight.OpenAPI.Diff.Output
{
public interface IRender
{
Task<string> Render(ChangedOpenApiBO diff);
}
} |
using AutoMapper;
using BriefShop.Core;
using BriefShop.UserDetails.Dto;
namespace BriefShop.UserDetails.Mappers
{
/// <summary>
/// UserDetail映射配置
/// </summary>
public class UserDetailDtoMapper : IDtoMapping
{
public void CreateMapping(IMapperConfigurationExpression mapper)
{
mapper.CreateMap<UserDetail... |
using Jil;
using System;
namespace Aju.Carefree.NetCore.Helpers
{
/// <summary>
/// json serialization and deserialization, using Jil.
/// </summary>
public class JsonConvertor
{
public static string Serialize(object source, Jil.Options options = null)
{
return JSON.Ser... |
using System;
using JetBrains.Annotations;
using StereoKit;
namespace StereoKitApp.Utils
{
public static class BoundsExtensions
{
/// <summary>
/// Copy the bounds, and return a new Bounds with position and extents scaled.
/// </summary>
[Pure]
public static Bounds Scal... |
namespace MealPlan.Repo.Dto.Models
{
public class RecipeInfo
{
public string Name { get; set; }
public RecipeIngredientInfo[] Ingredients { get; set; }
public string[] Steps { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
interface ChairState
{
void Occupied();
void Vacant();
}
[System.Serializable]
public class Chair : MonoBehaviour, ChairState
{
private bool empty = true;
public bool Empty
... |
namespace StoryTeller.UserInterface.Screens
{
public abstract class ScreenSubject<T, SCREEN> : IScreenLocator<T> where SCREEN : class, IScreen
{
#region IScreenSubject<T> Members
public bool Matches(IScreen screen)
{
var theSpecificScreen = screen as SCREEN;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.