content stringlengths 23 1.05M |
|---|
namespace YAXLibTests.SampleClasses
{
public class FreeSample
{
public int BoundViewID { get; set; }
public decimal SomeDecimalNumber { get; set; }
public static FreeSample GetSampleInstance()
{
return new FreeSample
{
... |
namespace DijkstraWithPriorityQueue
{
public class Connection
{
public Connection(Node node, double distance)
{
this.Node = node;
this.Distance = distance;
}
public Node Node { get; set; }
public double Distance { get; set; }
}
}
|
using System;
namespace GenericDatabaseAccess.Database.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
// ReSharper disable once UnusedMember.Global
public class AutoIncrementAttribute : Attribute
{
}
} |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Athena.Core.Models;
using Athena.Core.Repositories;
using Athena.Data.Extensions;
using Dapper;
namespace Athena.Data.Repositories
{
public class CampusRepository : PostgresRepository, ICampus... |
using UnityEngine;
using System.Collections;
public class Cam : MonoBehaviour {
public static GameObject[] players;
public static bool alone = false;
public static float destroy = -1;
public static Vector3 up = Vector3.forward;
public static Vector3 right = Vector3.right;
private AudioSource m... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElementEngine.ElementUI
{
public class UILayoutHorizontalStyle : UIStyle
{
public int CellPaddingLeft;
public int CellPaddingRight;
public UILayoutHorizontalSt... |
using System.Collections.Generic;
namespace CarDealer.Web.Controllers
{
using Infrastructure.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Models.SalesViewModels;
using Services;
using System.Linq;
[Route("sales")]
public class SalesContro... |
using UnityEngine;
using System.Collections;
public class Espinho : MonoBehaviour {
float contador;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(transform.position.y <= 0.25)
transform.Translate (0, 5 * Time.deltaTime, 0);
... |
using EFDM.Core.DataQueries;
using EFDM.Test.Core.Models.Domain;
namespace EFDM.Test.Core.DataQueries.Models {
public class GroupTypeQuery : DictIntDeletableDataQuery<GroupType> {
}
}
|
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
using FairyGUI;
using FairyGUI.Utils;
namespace KitchenUI
{
public partial class View_target : GComponent
{
public Controller c1;
public GButton bg;
public GImage papper;
public GTextField ta... |
using System;
namespace CalculoSimples
{
class Program
{
static void Main(string[] args)
{
string[] input;
input = Console.ReadLine().Split(' ');
int cod1 = int.Parse(input[0]);
int n1 = int.Parse(input[1]);
double valor... |
using System;
using System.Diagnostics;
using System.Text;
namespace Voronoi2
{
[DebuggerDisplay("{ToDebuggerString(),nq}")]
public class HalfEdge
{
public readonly Edge EdgeListEdge;
public readonly int EdgeListSide;
public bool IsDeleted;
public HalfEdge Left;
public HalfEdge Right;
p... |
namespace BookLovers.Publication.Infrastructure.Services.SeriesBooksSortingServices
{
internal class SeriesBookRecord
{
public int BookId { get; set; }
}
} |
using System.Data.Entity;
namespace ASPNET.StarterKit.Portal
{
public class PortalDbContext : DbContext
{
public PortalDbContext(string connectionString) :
base(connectionString)
{
}
public DbSet<AnnouncementItem> Announcements { get; set; }
public DbSet<Co... |
using Fan.Plugins;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Editor.md.Manage.Plugins
{
public class EditorMdSettingsModel : PageModel
{
protected readon... |
using Shouldly;
using StructureMap.Query;
using StructureMap.Testing.GenericWidgets;
using StructureMap.Testing.Graph;
using StructureMap.Testing.Widget;
using System;
using System.Linq;
using Xunit;
namespace StructureMap.Testing
{
public class ModelQueryTester
{
public ModelQueryTester()
{
... |
//Problem 7. Reverse number
//Write a method that reverses the digits of given decimal number.
//Example:
//input output
//256 652
//123.45 54.321
using System;
using System.Threading;
class ReverseNumber
{
static void Main()
{
string str;
decimal number;
Thread.CurrentThre... |
namespace Mindstorms.Core.Music._444
{
public class E6 : Note
{
public E6(NoteType noteType = NoteType.Quarter) : base(noteType)
{
Name = "E6";
Frequency = 1330.50;
WaveLength = 25.93;
}
}
}
|
using System;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace Jfevia.ProductivityShell.Configuration
{
public static class ConfigurationXmlSerializer
{
/// <summary>
/// Serializes the specified configuration and writes the result to the stream.
/// </s... |
namespace Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Tests
{
using System;
internal static class TimeSpanHelper
{
internal static readonly long Delta = TimeSpan.FromSeconds(1).Ticks / 10L;
internal static bool AlmostEquals(long a, long b) => Math.Abs(a - b) < Delta;
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OneClickZip.Includes.Interface.API;
using OneClickZip.Includes.Resources;
namespace OneClickZip.Includes.Models.API
{
public class GithubEndpointModel : IRepositoryEndpoint
{
priva... |
namespace ShoppingCartSample.Models
{
/// <summary>
/// CartItem is a class that will be used to represent each item in the shopping cart
/// </summary>
public class CartItem
{
public string Name { get; set; }
public string Id { get; set; }
public int Quantity { get; set; }
p... |
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TQIService.API.Data;
using TQIService.API.Entites;
namespace TQIService.API.Repository
{
public class UserRepository : IUsersRepository
{
private readonly ITQIServiceAPIContext ... |
using System.Collections.Generic;
using UnityEngine;
namespace BattleRobo
{
public class ConsommableHolderScript : MonoBehaviour
{
public ConsommableScript currentConsommable;
[SerializeField]
public List<ConsommableScript> consommableList;
[SerializeField]
p... |
using System.Diagnostics;
using ExitGames.Client.Photon;
using Photon.LoadBalancing.UnifiedClient;
using Photon.UnitTest.Utils.Basic;
using Photon.UnitTest.Utils.Basic.NUnitClients;
namespace Photon.LoadBalancing.UnitTests.UnifiedServer.Policy
{
public class OnlineConnectPolicy : LBConnectPolicyBase
{
... |
using System.Threading.Tasks;
namespace CVaS.Shared.Services.Broker
{
public class LocalBrokerStatus : IBrokerStatus
{
public Task<int?> GetConnectedAlgServersCount()
{
return Task.FromResult((int?)null);
}
public string GetStatus()
{
return "Lo... |
using System;
using System.Collections.Generic;
using System.Linq;
using BeatTogether.Core.Messaging.Abstractions;
using BeatTogether.Extensions;
using Krypton.Buffers;
namespace BeatTogether.Core.Messaging.Implementations
{
public class MessageWriter : IMessageWriter
{
protected virtual uint Protocol... |
namespace DotNeuralNet
{
public class BackPropagationTrainingRow
{
public BackPropagationTrainingRow(double[] inputs, double[] outputs)
{
Inputs = inputs;
Outputs = outputs;
}
public double[] Inputs { get; private set; }
public double[] Outputs { get; private set; }
}
} |
#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
#endif
using XLua;
using System.Collections.Generic;
name... |
using System;
namespace Grillisoft.BufferManager.Unmanaged
{
public struct BufferPtr
{
/// <summary>
/// A zero pointer to a zero sized array
/// </summary>
public static readonly BufferPtr Zero = new BufferPtr(IntPtr.Zero, 0);
/// <summary>
/// Pointer to star... |
<script src="~/plugins/jquery/jquery.min.js"></script>
<script src="~/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="~/js/adminlte.min.js"></script> |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace GitHub.Unity
{
public interface IFileSystem
{
string ChangeExtension(string path, string extension);
string Combine(string path1, string path2);
string Combine(string path1, string path2, strin... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
using System;
namespace ConstructorsLib {
public class Parent {
public Parent () : this (1)
{
}
public Parent (int id)
{
}
}
public class Child : Parent {
public Child () : base (10)
{
}
}
}
|
namespace Elixr.Api.ViewModels
{
public class ItemViewModel : EquipmentViewModel
{
//Placeholder in case Item has something more interesting develop.
}
} |
namespace VRCLauncher.Model;
public class CompanionApp
{
public string Name { get; set; }
public string Path { get; set; }
public string Args { get; set; }
public string Rules { get; set; }
public bool Enabled { get; set; }
} |
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using XOutput.Core.DependencyInjection;
namespace XOutput.Core.Configuration
{
public sealed class RegistryModifierService
{
private readonly Dictionary<string, RegistryKey> mapping = new Dictionary<string, RegistryKey>();
... |
using System;
using Hangfire.Dashboard;
using Microsoft.AspNetCore.Http;
namespace Severino.Template.Hangfire.Infra.Jobs
{
public class DashboardAuthFilter : IDashboardAuthorizationFilter
{
private readonly string _user;
private readonly string _pass;
public DashboardAuthFilter... |
using System;
namespace MouseChef.Analysis
{
public struct Move
{
private const long TicksPerMicrosecond = TimeSpan.TicksPerMillisecond / 1000L;
public Move(Mouse mouse, TimeSpan time, Vec d)
{
Mouse = mouse;
Time = time;
D = d;
}
pu... |
// Generated by SharpKit.QooxDoo.Generator
using System;
using System.Collections.Generic;
using SharpKit.Html;
using SharpKit.JavaScript;
namespace qx.bom
{
/// <summary>
/// <para>EXPERIMENTAL – NOT READY FOR PRODUCTION</para>
/// <para>Web Workers allows us to run JavaScript in parallel on a web page,
... |
namespace DWGitsh.Extensions.Models
{
public class GitConfigUser
{
public string Name { get; set; }
public string Mailbox { get; set; }
public string Email { get; set; }
public override string ToString()
{
if (Name == null && Email == null) return string.Emp... |
using UnityEngine;
namespace DroneDefender.Game.Views.Drone {
public interface ILaunchableToDestination {
GameObject Launch(Vector3? from, Vector3 target);
}
}
|
using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using HC.WeChat.Authorization.Roles;
using HC.WeChat.Authorization.Users;
using HC.WeChat.MultiTenancy;
using HC.WeChat.WechatAppConfigs;
using HC.WeChat.WechatMessages;
using HC.WeChat.WechatSubscribes;
using HC.WeChat.WeChatUsers;
using HC.WeCh... |
using ClassLibrary1;
using System;
using System.ServiceModel;
using System.ServiceModel.Description;
namespace WcfServicesHost
{
class Program
{
static void Main(string[] args)
{
var url = "http://127.0.0.1:9876";
var behavior = new ServiceMetadataBehavior();
... |
using System;
using System.Collections.Generic;
using System.IO.Pipelines;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace Kadmium_Udp
{
public interface IUdpPipeline : IDisposable
{
IPEndPoint LocalEndPoint { get; }
IPEndPoint RemoteEndPoint { get; }
void DropMultic... |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Tanka.GraphQL.Sample.Chat.Client.Shared.Models;
namespace Tanka.GraphQL.Sample.Chat.Client.Shared.Services
{
public interface IChatService
{
Task<List<Channel>> GetAvailableChatChannelsAsync();
... |
using System;
using System.Reactive.Linq;
using System.Windows;
using ReactiveGit.Demo.ViewModels;
using ReactiveUI;
namespace ReactiveGit.Demo.Views
{
public partial class ShellView : IViewFor<ShellViewModel>
{
public ShellView()
{
InitializeComponent();
// wireup the... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
namespace CarService.Web.ViewModels
{
public class CategoryIndex : CategoryBase
{
public int Id { get; set; }
[Remote("IsCategoryNameUnique... |
using System;
namespace Cirrious.MvvmCross.Droid.Fragging
{
public interface INotifyViewPagerItemChanged
{
void FinishUpdate();
}
} |
namespace Periscope.Indexing.AddressIndexer.Host.Infrastructure.Settings
{
public class AddressRefresherSettings
{
public int Age { get; set; }
public int Limit { get; set; }
public BalanceHistorySettings BalanceHistory { get; set; }
public class BalanceHistorySettings
... |
// Copyright (c) Microsoft Corporation
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Xbox.Services.DevTools.Common
{
using System;
using System.Collections.Generic;
/// <summary>
/// Represents the parameters needed for setti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Chapter5
{
public class Mover : MonoBehaviour
{
private GameObject _Target;
private GameObject Target
{
get
{
... |
using ClinicManagement.Core.Models;
using System.Data.Entity.ModelConfiguration;
namespace ClinicManagement.Persistence.EntityConfigurations
{
public class AppointmentConfiguration : EntityTypeConfiguration<Appointment>
{
public AppointmentConfiguration()
{
Property(a => a.PatientI... |
using SFML.Window;
using SFML.System;
using SFML.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Iris
{
public abstract class Projectile : GameObject
{
public float Angle;
public Actor Owner;
public Vector2f Velocity;
p... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class HeapSortUnitTests
{
[TestMethod]
public void Sort_SingleElement()
{
// Arrange
int[] arr = new int[] { 5 };
// Act
Heap<int>.Sort(arr);
// Assert
int[] exp = new int[] { 5 };
... |
using AnimeTrackingServiceWrapper.Helpers;
using System;
using System.Collections.Generic;
using System.Text;
namespace AnimeTrackingServiceWrapper.Implementation.HummingbirdV1.Models
{
public class RatingHummingbirdV1 : ModelBase
{
private string m_type = "";
public string type
{
... |
//
// System.Runtime.Remoting.RemotingServices NUnit V2.0 test class
//
// Author Jean-Marc ANDRE (jean-marc.andre@polymtl.ca)
//
// ToDo: I didn't write test functions for the method not yep
// implemented by Mono
using System;
using System.Collections;
using NUnit.Framework;
using System.Reflection;
using System.Run... |
// 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.
using System;
using Stride.Core.Presentation.Quantu... |
namespace Application.Boundaries
{
public interface IOutputPortNotFound
{
void NotFound(string message);
}
} |
using System;
namespace ZaraEngine.StateManaging
{
[Serializable]
public class ActiveMedicalAgentContract
{
public float GameMinutesAgentIsActive;
public DateTimeContract[] TimesTaken;
}
}
|
using System;
using Amazon.CDK;
namespace Devon4Net.Infrastructure.AWS.CDK.Handlers
{
public class AwsCdkDefaultHandler
{
protected Construct Scope { get; set; }
protected string ApplicationName { get; set; }
protected string EnvironmentName { get; set; }
protected AwsCdkDefau... |
using System.Collections.Generic;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.Geometry;
using ProSuite.QA.Container.Test;
using ProSuite.QA.Tests.Test.Construction;
using ProSuite.QA.Tests.Test.TestRunners;
using NUnit.Framework;
using ProSuite.Commons.AO.Geodatabase;
using ProSuite.Commons.AO.Geometry;
using ProS... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RISE.Shared.Models
{
public class ResponseDataModel : IDisposable
{
public ResponseDataModel()
{
HasError = false;
ErrorMessage = string.Empty;
... |
using GestaoFluxoFinanceiro.Negocio.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace GestaoFluxoFinanceiro.Negocio.Interfaces
{
public interface IAlunoRepository : IRepository<Alunos>
{
Task<Alunos> ObterAlunoPorId(Guid Id);
Tas... |
using UnityEngine;
using SDD.Events;
namespace Jammer {
public class BehaviourBase : MonoBehaviour {
/// <summary>
/// The GameManager singleton, lazy loaded when required, but not forced on.
/// </summary>
public GameManager Game {
get {
return GameManager.Instance;
}
}
... |
using RequireJsNet.Helpers;
using System;
using System.IO;
using System.Web;
using System.Web.Mvc;
namespace RequireJsNet.EntryPointResolver
{
public class DefaultEntryPointResolver : IEntryPointResolver
{
private const string DefaultEntryPointRoot = "~/Scripts/";
private const string DefaultA... |
namespace SnkrsBank.Web.ViewModels.SalePosts
{
public class CategoryVM /*: IMapFrom<Category>*/
{
public string Name { get; set; }
}
}
|
namespace Mediapipe.Unity {
public class ConnectionAnnotation : LineAnnotation {
Connection currentTarget;
public bool isEmpty { get { return currentTarget == null; } }
public void Draw(Connection target) {
currentTarget = target;
if (ActivateFor(currentTarget)) {
Draw(currentTarget... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Diagnostics;
namespace Microsoft.Extensions.Logging.Debug
{
/// <summary>
/// A logger that writes messages in the debug output window only when a... |
// Helper Utilities to work with agent's rigid bodies charateristics. Allows to
// calculate Angles between rotations in radians, find center of mass of an agent,
// and find Angular Momentum of an agent.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace Example
{
public static class FindVisualChildHelper
{
public static T GetFirstChildOfType<T>(DependencyObject depe... |
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using UnlocLoader.Core;
using UnlocLoader.Model;
namespace UnlocLoader.Loader
{
public class LocationParser : ILocationParser
{
public Location Parse(string source, out string message... |
using System;
using System.Xml.Linq;
using TravelAccounting.Model;
namespace TravelAccounting.Contracts {
public interface ISerializer {
Travel Deserialize(XDocument xDoc);
XDocument Serialize(Travel travel);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Toolbox.CLI
{
internal class CommandCollection : List<CommandBase>
{
internal CommandBase Find(string name)
{
return t... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
using System.Thread... |
using UnityEngine;
namespace GM
{
// Action which transform card when turn changes.
[CreateAssetMenu(menuName = "Actions/Player Actions/Reset Flatfooted Cards")]
public class ResetFlatfootedCards : PlayerAction
{
public override void Execute(PlayerHolder playerHolder)
{
for... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FormBuilder.Console.Interfaces
{
public interface IQueryParameter
{
string Name { get; set; }
Type Type { get; set; }
string TypeName { get; ... |
using System;
using System.Threading;
namespace DotNet
{
class LargeObject
{
int initBy = 0;
public int InitializedBy { get { return initBy; } }
public LargeObject()
{
initBy = Thread.CurrentThread.ManagedThreadId;
Console.WriteLine("LargeObject was cre... |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace SwiftFramework.Core.Pooling
{
public class BehaviourPool<P> : IPool where P : Component
{
private readonly Stack<P> instances = new Stack<P>();
private readonly Func<P> instanceHandler;
private readonly List... |
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Models.ThirdParty
{
/// <summary>
/// <para>表示 [POST] /v2/bot/save 接口的请求。</para>
/// </summary>
public class BotSaveRequest : WechatOpenAIThirdPartyRequest
{
/// <summary>
/// 获取或设置机器人中文名。
/// </summary>
[Newtonsoft.Json.J... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LBE.Assets;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Audio;
namespace LBE.Audio
{
public class SoundEffectLoader : BaseAssetLoader<SoundEffect>
{
public override AssetLoadResult<Soun... |
//{[{
using Param_RootNamespace.Contracts.ViewModels;
//}]}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FluentBootstrap.Thumbnails
{
public interface ICaptionCreator<THelper> : IComponentCreator<THelper>
where THelper : BootstrapHelper<THelper>
{
}
public class CaptionWr... |
/*
Pass Category and Class as Variables
This snippet shows how to programatically extract the BuiltInCategory and Class Type
information from an element and pass it to a FilteredElementCollector
It is useful when working with generic elements without knowing their category or class ahead of time
or as a demonstration... |
using System;
using System.Collections.Generic;
using System.Text;
using FJunkie.GameEntity;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
namespace FJunkie.LevelEntity
{
class Level1
{
public List<Enem... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#nullable disable
using System;
using System.ComponentModel;
using Azure.Core;
namespace Azure.ResourceManager.Cdn.Models
{
/// <summary> The protocol of an established TLS connection. </summary>
public readonly p... |
namespace ARKBreedingStats.species
{
/// <summary>
/// Currently not used.
/// </summary>
class SpeciesListBoxEntry
{
public Species species;
public override string ToString()
{
return species.name;
}
public SpeciesListBoxEntry(Species species)
... |
using AnimePictureETL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace AnimePictureETL.ETL
{
public class DanbooruChangedObjects
{
public IList<Artist> ChangedArtists { get; set; }
public IList<Character> ChangedCharacters { get; set; }
... |
using System;
using Kingmaker.PubSubSystem;
using Kingmaker.UI.Log.CombatLog_ThreadSystem;
using Kingmaker.UI.Log.CombatLog_ThreadSystem.LogThreads.Common;
namespace OwlcatModification.Modifications.SEdit
{
public class LogWriter : LogThreadBase, ILogMessageUIHandler, IGlobalSubscriber, ISubscriber
{
... |
using Skybrud.Essentials.Http;
using Skybrud.Social.Basecamp.OAuth;
namespace Skybrud.Social.Basecamp.Endpoints {
/// <summary>
/// Class representing the raw <strong>Authorization</strong> endpoint.
/// </summary>
public class BasecampAuthorizationRawEndpoint {
#region Properties
/... |
using UnityEngine;
public class MemoryCheckManager : MonoBehaviour
{
//protected InteractionManager interactionManager;
protected bool currentMemories = true;
protected MemoryCheck memories;
/**********************************************************
IF YOU CAN NOT MESS WITH THIS THAT WOULD BE A... |
namespace UniversityStudentSystem.RouteTests
{
using System.Web.Mvc;
using System.Web.Routing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MvcRouteTester;
using UniversityStudentSystem.Web.Areas.Public;
using UniversityStudentSystem.Web.Areas.Public.Controllers;
using Web;
... |
namespace AutoTest.UI
{
public enum ImageStates
{
None,
Green,
Red,
Progress
}
} |
using System;
using System.Windows;
namespace Tests.Caliburn.Fakes
{
public class MethodInvokeTarget
{
public static int ReturnValue = 7;
public bool InstanceProcedureWasCalled;
public bool InstanceFunctionWasCalled;
public static bool StaticFunctionWasCalled;
... |
using PsscProject.ApplicationLayer.Customers;
using PsscProject.Models.Customers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PsscProject.Repository.Interfaces
{
public interface ICustomerRepository : IRepositoryBase<CustomerDTO>
{
//IEnum... |
using System;
using SFA.DAS.ApplyService.Types;
namespace SFA.DAS.ApplyService.Domain.QueryResults
{
public class ApplicationOversightDetails
{
public Guid Id { get; set; }
public Guid ApplicationId { get; set; }
public string OrganisationName { get; set; }
public string Ukprn... |
using System;
using System.Configuration;
namespace ChallongeDiscordBot
{
public class ChallongeDiscordBotConfigSection : ConfigurationSection
{
[ConfigurationProperty("", IsRequired = true, IsDefaultCollection = true)]
public ChallongeDiscordBotCollection Instances
{
get {... |
using HotChocolate.Types;
namespace Reviews;
public class ReviewType : ObjectType<Review>
{
protected override void Configure(IObjectTypeDescriptor<Review> descriptor)
{
descriptor
.Key("id");
descriptor
.Field(t => t.Product)
.Type<NonNullType<ProductType>... |
using System;
using System.Windows;
namespace SimpleRemote.Controls.Dragablz
{
public class NewTabHost<TElement> : INewTabHost<TElement> where TElement : UIElement
{
private readonly TElement _container;
private readonly TabablzControl _tabablzControl;
public NewTabHost(TElement conta... |
/**
模板方法模式中涉及了两个角色:
抽象模板角色(Vegetable扮演这个角色):定义了一个或多个抽象操作,以便让子类实现,这些抽象操作称为基本操作。
具体模板角色(ChineseCabbage和Spinach扮演这个角色):实现父类所定义的一个或多个抽象方法。
* **/
using System;
namespace TemplateMethodPattern.BaseSample
{
/// <summary>
/// 抽象模板
/// </summary>
public abstract class AbstractClass
{
pub... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.