text stringlengths 13 6.01M |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Framework.Data
{
partial class DbWrapperHelper
{
private... |
using myBOOK.data;
using myBOOK.data.EntityObjects;
using myBOOK.data.Interfaces;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windo... |
namespace useSOLIDin
{
interface IDisplay
{
void DisplayMenu();
void DisplayLevelData(Levels levels, int levelNo);
void DisplayLevelName(Levels levels, int levelName);
void DisplayAllLevels(Levels levels);
}
}
|
using System.Collections.Generic;
using System.Drawing;
using C1.Win.C1FlexGrid;
using C1.Win.C1SuperTooltip;
namespace MPD
{
public static class Legend
{
private static Dictionary<string, Color> mLegendColors = null;
public static Dictionary<string, Color> LegendColors
{
get
{
CreateLegendColors(... |
using System;
using System.Threading.Tasks;
using Uintra.Core.Activity;
namespace Uintra.Features.Notification.Services
{
public interface INotifyableService : ITypedService
{
void Notify(Guid entityId, Enum notificationType);
Task NotifyAsync(Guid entityId, Enum notificationType);
}
} |
using System;
namespace Infrostructure.Exeption
{
public class InvalidAspectRatioException : Exception
{
public InvalidAspectRatioException(string message = "مقدار خالی وارد شده است") : base(message) { }
}
}
|
using System.Collections.Generic;
using System.Linq;
using TY.SPIMS.Entities;
using TY.SPIMS.POCOs;
namespace TY.SPIMS.Controllers.Interfaces
{
public interface ICustomerController
{
IQueryable<Customer> CreateQuery(string filter);
void DeleteCustomer(int id);
List<CustomerDisplayModel... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Reflection;
namespace CRL.Property
{
/// <summary>
/// 属性维护,通过TYPE以区分不同用途
/// </summary>
public class PropertyBusiness<TType> : BaseProvider<PropertyName> whe... |
using PatronPrototipo;
using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
//creamos el admininstrador
CAdministrarClones admin = new CAdministrarClones();
//creamos dos instancias . no se usa palabra new por que el obje... |
using System;
namespace ADP.BusinessLogic.Entity
{
public class Project
{
public string Id { get; set; }
public string Nama { get; set; }
public string Kota { get; set; }
public string Alamat { get; set; }
public DateTime StartDate { get; set; }
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Text;
using Game.Entity.Treasure;
using Game.Facade;
using Game.Utils;
using System.Data;
using System.Data.SqlClient;
namespace Game.Web.WS
{
public class ScoreRank
{
public in... |
using SearchEnginePositionFinder.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Net;
using System.Threading.Tasks;
namespace SearchEnginePositionFinderTest.Models
{
[TestClass]
public class SearchEngineReaderTest
{
TestHelper TestHelp = new TestHelper();
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace KartObjects
{
public class ConsReportTable : Entity
{
[DBIgnoreAutoGenerateParam]
[DBIgnoreReadParam]
public override string FriendlyName
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Experimental.UIElements;
public class YouDiedScript : MonoBehaviour {
public GameObject LButton;
public GameObject RButton;
public void SetActiveAllButtons()
{
LButton.SetActive(true);
... |
using System;
using System.Collections.Generic;
namespace tyrone_sortingbasics
{
class Program
{
static void Main(string[] args)
{
List<Student> students = Student.getTestStudents();
Console.WriteLine(Student.SortTitle("Not Sorted"));
Console.WriteLine(Stud... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kuromori.DataStructure
{
public class Events
{
/// <summary>
/// The array of all events ( number of which can be changed in the example2 php file
/// (switch L... |
using System;
using System.Threading.Tasks;
using Entities;
using Shared;
using System.Collections.Generic;
namespace Models
{
public interface IUserRepository
{
Task<UserReadDTO> ReadAsync(string name);
Task<string> ReadPWHash(string name);
Task<UserReadDTO> ReadAsync(int ... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
using Xamarin.Forms;
using Wonderland.FirebaseAPI;
namespace Wonderland
{
public class shoppingItem
{
public string title { get; set; }
public string fbID { get; set; }
}
public partial class FourthPage : Co... |
using System;
using System.Collections;
using System.Collections.Generic;
using Quark.Utilities;
namespace Quark
{
/// TODO: let items carry other items in form of a bag
public class ItemCollection : Item, IEnumerable<Item>, IDisposable, IBag, IBagRecursive
{
private Dictionary<string, Item> _ite... |
using System;
class IsoscelesTriangle
{
static void Main()
{
Console.OutputEncoding = System.Text.Encoding.UTF8;
char lcFirstVar = '\u00A9';
Console.WriteLine(" {0} ",lcFirstVar);
Console.WriteLine(" {0} {1} ",lcFirstVar,lcFirstVar);
Console.WriteLine(" {0} {1} ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class PacStudentController : MonoBehaviour
{
private char lastInput = '.';
private char currentInput = '.';
public Tweener tweener;
private float duration = 0.5... |
using gView.Framework.Carto;
using gView.Framework.Data;
using gView.Framework.Data.Cursors;
using gView.Framework.Data.Filters;
using gView.Framework.Data.Metadata;
using gView.Framework.FDB;
using gView.Framework.Geometry;
using gView.Framework.IO;
using gView.Framework.system;
using System;
using System.Collections.... |
using FairyGUI;
using System.Collections.Generic;
public enum EventListenerType
{
onClick,
onRightClick,
onTouchBegin,
onTouchMove,
onTouchEnd,
onRollOver,
onRollOut,
onAddedToStage,
onRemovedFromStage,
onKeyDown,
onClickLink,
onPositionChanged,
onSizeChanged,
o... |
using System.Windows.Forms;
namespace LoowooTech.VillagePlanning
{
public partial class LoadForm : Form
{
public LoadForm()
{
InitializeComponent();
_instance = this;
}
private static LoadForm _instance { get; set; }
public static LoadForm Insta... |
using Core.DomainModel;
using System;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace Web.Models
{
public class TaskViewModel : ICreatedOn
{
#region Variables
public int TaskID { get; set; }
[DataType(DataType.Date)]
public DateTime CreatedOn { ge... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using HelperClassAll;
using Citycykler.Models;
namespace CityCykler
{
public partial class MasterPage : System.Web.UI.MasterPage
{
... |
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Net.WebSockets;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using TriangleCollector.Models.Interfaces... |
using System;
using System.Net;
using Microsoft.Silverlight.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ExpressionSerialization;
using System.Linq.Expressions;
using System.Xml.Linq;
using System.Diagnostics;
using System.Collections.Generic;
using Northwind;
using System.Linq;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IRAP.Entities.FVS
{
/// <summary>
/// 已经响应的安灯事件信息
/// </summary>
public class AndonRspedEventInfo
{
/// <summary>
/// 事件标识
/// </summary>
public long Event... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AjaxControlToolkit;
namespace MyHotel.Business.Statistics
{
public partial class CountersStatisticsForm : BaseWebFormMgmt
{
protected void Page_L... |
// Bar POS, class UserManagmentClass
// Versiones:
// V0.01 22-May-2018 Moisés: Class implemented
namespace BarPOS
{
public class UserManagementClass : Management
{
public UsersList Users { get; set; }
public int Count { get { return Users.Count; } }
public UserManagementCl... |
using LibraryProject.Models;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
namespace LibraryProject.Controllers
{
pub... |
using System.ComponentModel.DataAnnotations;
namespace FIMMonitoring.Domain.Enum
{
public enum ErrorSource
{
[Display(Name="From import table")]
ImportTable = 0,
[Display(Name = "From log file")]
LogFile = 1
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using AutoMapper;
using com.Sconit.Entity.CUST;
using com.Sconit.Entity.Exception;
using com.Sconit.Entity.INP;
using com.Sconit.Entity.MD;
using com.Sconit.Entity.ORD;
using com.Sconit.Entity.SYS;
using com.Sconit.PrintModel.ORD;... |
namespace TripDestination.Web.MVC.Areas.UserProfile.ViewModels
{
using Common.Infrastructure.Mapping;
using Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
public class TownViewModel : IMapFrom<Town>
{
public string Name { get; ... |
using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Atc.CodeAnalysis.CSharp.SyntaxFactories
{
public static class SyntaxArgumentListFactory
{
public static ArgumentListSyntax CreateWithOneItem(string argumentName)
... |
using System.Globalization;
using Framework.Core.Common;
namespace Tests.Data.Oberon
{
public class TestEvent
{
public bool IsFundraising = false;
public string Name = null;
public string Description = null;
public bool IsFundraisingEvent = false;
public stri... |
using System;
using CORE.Одномерные;
using MathNet.Numerics.Differentiation;
using MathNet.Numerics.LinearAlgebra;
using MathNet.Numerics.LinearAlgebra.Double;
namespace CORE.Многомерные
{
public class GenericNewton : OptimisationMethod
{
private Matrix<double> _hessian;
public GenericNewton(... |
using System;
namespace Xama.JTPorts.EasingInterpolator
{
public class EasingProvider
{
public static float Get(Ease ease, float elapsedTimeRate)
{
switch (ease)
{
case Ease.Linear:
return elapsedTimeRate;
case Ease.Qu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace Images.Data
{
public class UserManager
{
private string _connString;
public UserManager(string connString)
{
_connString = ... |
using CurrencyLibs;
using CurrencyLibs.US;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class PennyTests
{
[TestMethod]
public void PennyConstructor()
{
//Arrange
Penny p;
Penny philPenny;
... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace STUFV
{
public partial class Detail2 : ContentPage
{
public Detail2 ()
{
InitializeComponent ();
}
}
}
|
using Common.DbTools;
using Common.Model;
using System;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Windows;
using System.Windows.Input;
namespace UI_LokalniKontroler
{
... |
using NHibernate.DependencyInjection.Tests.Model;
namespace NHibernate.DependencyInjection.Tests
{
public class EntityInjector : IEntityInjector
{
public object[] GetConstructorParameters(System.Type type)
{
if (type == typeof(DependencyInjectionCat)) return new object[] {new CatBeh... |
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameStart : MonoBehaviour
{
public GameObject startbg;
public GameObject characterbg;
public GameObject checkpointbg;
public GameObject player1GO;
public GameObject player2GO;
public RawImage treeRawImage... |
using Assets.Common.HorseGame.Board;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets.Common.HorseGame.States
{
class PlayTurn : IState
{
int diceRolled;
public void Execute()
{
if (GameContext.Players... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour
{
// 属性值
public float bulletSpeed = 10.0f;
public float bulletLv2Speed = 15.0f;
public float bulletLv3Speed = 20.0f;
public bool isPlayerBullet;
public bool isP... |
using System;
using System.Collections.Generic;
using ResilienceClasses;
using Foundation;
using AppKit;
namespace CashflowProjection
{
public class CashflowTableDataSourceDelegate : NSTableViewDelegate
{
private CashflowTableDataSource dataSource;
public CashflowTableDataSourceDelegate(Cashf... |
namespace MeeToo.Services.MessageSending.Email
{
public interface IRazorEmailTemplate : IEmailTemplate
{
string Key { get; set; }
string Template { get; set; }
}
}
|
using FluentAssertions;
using Nono.Engine.Tests.Extensions;
using Xunit;
namespace Nono.Engine.Tests
{
public class CollapseOperationShould
{
[Fact]
public void Run_1_block()
{
var line = Collapse.Run(new[] { 3 }, " ".AsSpan());
line.Boxes.Should().Equal(" ... |
using System;
/// <summary>
/// O padrão observer trabalha com observadores e um sujeito, o qual está encarregado
/// de notificar todos os observadores caso requisitado.
/// </summary>
/// It's so commom that microsoft have a page for them
/// https://docs.microsoft.com/en-us/previous-versions/msp-n-p/ee817669(v=pan... |
/******************************************************************************
* File : pLab_KJPOC_ARModeEnabler.cs
* Lisence : BSD 3-Clause License
* Copyright : Lapland University of Applied Sciences
* Authors : Arto Söderström
* BSD 3-Clause License
*
* Copyright (c) 2019, Lapland University o... |
namespace Witsml.Data.Measures
{
public class WitsmlAnglePerLengthMeasure : Measure
{
}
}
|
using Newtonsoft.Json;
using System;
using System.IO;
using System.Linq;
using System.Net;
namespace WebAPI.API
{
public class Order
{
public static void Get(HttpListenerContext httpContext)
{
var orders = new Order[0];
lock (Locker)
if (File.Exists("Ord... |
using System;
using System.ComponentModel.DataAnnotations;
using AGCompressedAir.Domain.Domains.Base;
using AGCompressedAir.Windows.Enums;
namespace AGCompressedAir.Domain.Domains
{
public class ServiceDomain : Entity<Guid>
{
public string Compressor { get; set; }
public string SerialNumber { g... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace PhotographyEvent.Administration
{
// This page shows users enrolled in our web site and their acrivities
public partial class UserManagement : System.Web.UI... |
using Anywhere2Go.Business.Utility;
using Anywhere2Go.DataAccess;
using Anywhere2Go.DataAccess.Entity;
using Anywhere2Go.DataAccess.Object;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anywhere2Go.Business.Master
{
public class Provi... |
using Agora.EventStore.Eventing;
namespace Agora.EventStore.EventStore.InMemory
{
public class InMemoryAllStream : IAllStream
{
public void Update(string streamName, IEvent @event)
{
}
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Depen... |
using UnityEngine;
public class GameManager : MonoBehaviour
{
bool gameHasEnded = false;
public void CompleteLevel ()
{
Debug.Log ("Level Won");
}
public void EndGame()
{
if (gameHasEnded == false)
{
gameHasEnded = true;
Debug.Log ("GAME OVER");
... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
[System.Serializable]
public class CardEffectVO
{
// verb (add), noun (burn), target (discard pile)
public enum Action { Draw, Discard, GainDefense, GainAttack, GainEnergy, ApplyHeal, ApplyPoison, ApplyBurn };
publ... |
using UnityEngine;
using UnityEditor;
using UnityEngine.TestTools;
using NUnit.Framework;
using System.Collections;
using EntityClasses;
using MapClasses;
public class EntityTests
{
[Test]
public void Entity_Constructor_Clone()
{
// Use the Assert class to test conditions.
Entity entity1... |
using API_ASPNET_CORE.Infraestrutura.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace API_ASPNET_CORE.Configurations
{
public class DbFacturyDbContext : IDesignTimeDbCon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace gView.Framework.Security
{
public static class EncodingExtensions
{
private const string DefaultCharacterSet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
private const string ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Alabo.Domains.Entities.Extensions;
namespace Alabo.Industry.Shop.Products.Domain.Entities.Extensions
{
/// <summary>
/// 商品扩展详情
/// </summary>
public class ProductDetailExtension : EntityExtension
... |
using System;
namespace Zadanie_3
{
class Program
{
static bool CzyIstnieją(int m, int[] L1, int[] L2)
{
for (int i = 0; i < L1.Length; i++)
{
for (int k = 0; k < L2.Length; k++)
{
if ((L1[i] + L2[k] )== m) return true... |
using SoftwareAuthKeyLoader.Kmm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace SoftwareAuthKeyLoader
{
internal static class Actions
{
public static int LoadAuthenti... |
using eMAM.Data.Models;
using eMAM.Service.DbServices.Contracts;
using eMAM.Service.DTO;
using eMAM.Service.UserServices.Contracts;
using eMAM.UI.Areas.SuperAdmin.Models;
using eMAM.UI.Mappers;
using eMAM.UI.Utills;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using SkywalkingDemo.Model;
using SkywalkingDemo.Repository;
namespace SkywalkingDemo.Controllers
{
[ApiController]
[Route... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CEMAPI.Models
{
public class CancellationDetails
{
public int offerId { get; set; }
public string cancellationType { get; set; }
public string cancellationReason { get; set; }
public ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DanceSequence : MonoBehaviour
{
public enum DanceStep
{
Up,
Down,
Left,
Right
}
public DanceStep[] DanceSequenceSteps;
public Sprite[] spriteUp;
public Sprite[] spriteDo... |
using System;
using System.Collections.Generic;
namespace Misc
{
public class Change
{
private static readonly IDictionary<int, IEnumerable<int>> CoinOptions =
new Dictionary<int, IEnumerable<int>> {
{100, new List<int> {100, 50, 25, 10, 5, 1} },
{ 50, new List<int> { 50, 25, 10, 5, 1} },
{ 25, ne... |
using AlgorithmProblems.Linked_List.Linked_List_Helper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlgorithmProblems.Linked_List
{
/// <summary>
/// Do an insertion in the sorted circular linked list
/// </summary>
cla... |
namespace Thesis {
public abstract class ProceduralObject
{
public UnityEngine.GameObject gameObject;
}
} // namespace Thesis
|
using System.Windows.Controls;
namespace CODE.Framework.Wpf.Theme.Newsroom.StandardViews
{
/// <summary>
/// Interaction logic for LargeBlockAndTexct02.xaml
/// </summary>
public partial class LargeBlockAndText02 : Grid
{
/// <summary>
/// Initializes a new instance of the <see cre... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LeanEngine.Entity;
using com.Sconit.Entity.SI.SD_TMS;
using AutoMapper;
namespace com.Sconit.Service.SI.Impl
{
public class SD_TMSMgrImpl : BaseMgr, ISD_TMSMgr
{
public IOrderMgr orderMgr { get; set; }
... |
namespace Merchello.UkFest.Web.Models
{
using Merchello.UkFest.Web.Ditto.ValueResolvers;
using Our.Umbraco.Ditto;
/// <summary>
/// The render view for the basket page.
/// </summary>
public class BasketView
{
/// <summary>
/// Gets or sets the <see cref="UpdateBasket"/> m... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Kupid
{
public class Komunikator
{
#region Atributi
List<Korisnik> korisnici;
List<Chat> razgovori;
#endregion
#region Properties
public List<Korisnik> Korisnici
{
... |
using System;
using System.Collections;
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 learn_180323_wsmessage
{
public partial class Agv :... |
using EPI.Searching;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace EPI.UnitTests.Searching
{
[TestClass]
public class SearchEntryEqualToIndexUnitTest
{
private readonly int[] _sortedDistinctArray = new[] { -2, 0, 2, 3, 6, 7, 9};
private readonly int[] _sortedArray = new[... |
#define USEFINGERPRINT
using System;
using System.Collections.Generic;
using System.Text;
namespace Intermec.Printer.Language.Fingerprint
{
public class Demo
{
public static string ESCP_PRODLIST2
{
get
{
string s = "";
s+="\x1B@\x1B... |
using MySql.Data.MySqlClient;
using PROYECTOFINAL.Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PROYECTOFINAL.Controllers
{
public class CategoriasController : Controller
{
// GET: Categorias
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Server.Utils;
using Server.Services;
using Server.Data;
namespace Server.Interface
{
interface IFeeds
{
WebResult<Channel> AddNewFeed(string connectionKey, Uri uri);
WebResult<List<Channel>> GetFeeds(st... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ChatTest.App.Models
{
public class ConversationCreateModel
{
public string Name { get; set; }
[Required]
public IEnumerable<string> Participants { get; set; }
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class experienceDisplay : MonoBehaviour
{
private int experience;
private RectTransform slider;
private GameObject player;
// Start is called before the first frame update
void Start()
{
player = GameObject... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BulletScript: MonoBehaviour {
//Bullets need rigidBody trigger, and use trigger collision?
//Aim sprite's rotation should tie into this script
//Test to see if it triggers upon creation, if so... |
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Library.API.Models
{
public class Resource
{
/// <summary>
/// 所有资源的基类
/// </summary>
[JsonProperty("_links", Order = 100)] //order属性指定所标识属性序列化的位置
public List<Link> Links { get; } = new List<Link>();
... |
using Xunit.Sdk;
namespace Sentry.Testing;
public class TestOutputDiagnosticLogger : IDiagnosticLogger
{
private readonly ITestOutputHelper _testOutputHelper;
private readonly SentryLevel _minimumLevel;
private readonly ConcurrentQueue<LogEntry> _entries = new();
private readonly Stopwatch _stopwatch ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class dropzone : MonoBehaviour, IDropHandler, IPointerEnterHandler, IPointerExitHandler
{
public draggable.Slot typeOfItem = draggable.Slot.INVENTORY;
//PointerEnter and Exit to check if the ... |
using Frank.Scheduler.Models.Messages;
using System;
using System.Threading.Tasks;
namespace Frank.Scheduler.Client.ServiceBus.Interfaces
{
public interface ISchedulerHandler
{
Task<SchedulerResult> TriggerScheduledTask(Guid id);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassicCraft
{
public abstract class Spell : Action
{
public int RessourceCost { get; set; }
public bool AffectedByGCD { get; set; }
public Spell(Player p, dou... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Otiport.API.Contract.Request.Treatments;
using Otiport.API.Contract.Response.Treatments;
namespace Otiport.API.Services
{
public interface ITreatmentService
{
Task<AddTreatmentResponse> AddTreatmentA... |
using Microsoft.AspNetCore.Authorization;
namespace EQS.AccessControl.API.Authorize
{
public class AuthorizeRoleAttribute : AuthorizeAttribute
{
public AuthorizeRoleAttribute(params string[] roles) : base()
{
Roles = string.Join(",", roles);
}
}
}
|
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Integra.LoadingMonitor.DataProviders;
using Integra.LoadingMonitor.Models;
using Integra.LoadingMonitor.Services;
namespace Inventory.Services
{
public class OrderLoadingMonitor : IOrderLoadingMonitor
{
private I... |
using FPGADeveloperTools.Common.Model.Ports;
using FPGADeveloperTools.Common.Model.TestCases;
using FPGADeveloperTools.Common.ViewModel.ModuleFiles;
using System;
using System.Collections.Generic;
using System.Linq;
namespace FPGADeveloperTools.Common.ViewModel.TestCases
{
public class TestCaseViewModel : ViewMod... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MySql.Data.MySqlClient;
using System.IO;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using FluentValidation;
using Autofac;
namespace EBS.Admin.Services
{
public class AutofacValidatorFactory : ValidatorFactoryBase
{
private readonly IContainer _container;
public AutofacV... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Sets the target of it's parent when a player enters its field of view
public class Sight : MonoBehaviour {
public BasicNPC parentAi;
void OnTriggerEnter(Collider other)
{
if (parentAi != null)
{
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AppSimplicity.ActiveRecord.Interfaces
{
public interface IDataManager<T>
{
T GetById(int identity);
List<T> GetAll();
List<T> GetAllActive();
}
}
|
public class BouncingBall {
public int Bounces(double h, double bounce, double window) {
if (h <= 0) {
return -1;
}
if (bounce <= 0 || bounce >= 1) {
return -1;
}
if (window >= h) {
return -1;
}
int isSeenCount = 0;
isSeenCount++;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.