text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace online_knjizara.ViewModels
{
public class StanjeUrediVM
{
public int ID { get; set; }
[Required(ErrorMessage = "Unesite tip stanja.")]
... |
using OpenGov.Models;
using System.Collections.Generic;
namespace OpenGovAlerts.Models
{
public class ViewSearchModel
{
public Search Search { get; set; }
public IList<ViewSearchSource> Sources { get; set; }
public IList<Match> RecentMatches { get; set; }
}
public class ViewSe... |
namespace DependencyInjectionExample.Interfaces
{
public interface ICommandProcessor
{
void Process(string input);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankAccountNS
{
public enum Status
{
FROZEN,
ACTIVE
}
public class BankAccount
{
private string m_customerName;
private double m_balance;... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OCP.Files.Mount
{
/**
* A storage mounted to folder on the filesystem
* @since 8.0.0
*/
public interface IMountPoint
{
/**
* get complete path to the mount point
*
* @return stri... |
// ScopeUtils.cs
// Author:
// Stephen Shaw <sshaw@decriptor.com>
// Copyright (c) 2012 sshaw
using System;
namespace Compiler.Parser
{
public static class ScopeUtils
{
/// <summary>
/// Pops the top scope and returns the rest
/// </summary>
/// <param name='scope'>
/// New scope
/// </param>
... |
using System;
using System.Collections.Generic;
namespace ProtoTypePattern.Models
{
public class PrototypeKeeper
{
private static IDictionary<string, ICloneable> Dict = new Dictionary<string, ICloneable>();
public static void AddICloneable(string key, ICloneable prototype)
{
... |
using System;
namespace JobsityChatroom.WebAPI.Models.Chatroom
{
public class ChatMessageViewModel
{
public string UserId { get; set; }
public string Body { get; set; }
public DateTime CreatedOn { get; set; }
}
}
|
using MetroFramework.Forms;
using PDV.CONTROLER.Funcoes;
using PDV.DAO.Entidades;
using PDV.DAO.Enum;
using PDV.UTIL;
using System;
using System.Data;
using System.Windows.Forms;
namespace PDV.VIEW.FRENTECAIXA.Forms
{
public partial class GPDV_IdentificarClienteDAV : MetroForm
{
public DataRow DRClien... |
// Copyright 2020 Google Inc. 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
//
// Unless required by applica... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TextLayoutChanger
{
class PropertyDescription
{
public string Name { get; set; }
public string NameDB { get; set; }
public string Type { get; set; }
pu... |
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Hosting;
using System;
using System.IO;
namespace Sms.Demo.Contacts
{
public static class ApplicationBuilderExtensions
{
#region Public methods
/// <summary>
//... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using DotNetNuke.Common.Utilities;
using DotNetNuke.Entities.Modules;
using DotNetNuke.Entities.Portals;
using DotNetNuke.Entities.Tabs;
us... |
using System;
using System.Security.Principal;
namespace CallCenter.ServiceContracts.DataContracts
{
public interface IOperatorChatMessage:IIdentity
{
DateTime Date { get; set; }
string Message { get; set; }
ChatMessageType MessageType { get; set; }
}
} |
using PDV.DAO.Custom;
using PDV.DAO.DB.Controller;
using PDV.DAO.Entidades;
using PDV.DAO.Entidades.MDFe;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PDV.CONTROLER.Funcoes
{
public class FuncoesPercurso
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Miscellaneous_technologies
{
public static class MultiViewControlStatus
{
public static int ViewStateStatus;
}
} |
namespace BPiaoBao.DomesticTicket.EFRepository.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class _201411121614 : DbMigration
{
public override void Up()
{
AddColumn("dbo.Policy", "IsCoordination", c => c.Boolean(nullable: false));
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CGI.Reflex.Core.Entities;
using FluentNHibernate.Testing;
using NUnit.Framework;
namespace CGI.Reflex.Core.Tests.Entities
{
public class AppDatabaseLinkTest : BaseDbTest
{
[Test]
public void It_should_p... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data.Common;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using Autofac;
using Caliburn.Micro;
using Voronov.Nsudotnet.Buildin... |
using UnityEngine;
using System.Collections;
public class UnitAbilities : MonoBehaviour
{
public GameObject m_target;
[ContextMenu("Idle")]
public void Idle()
{
m_target = null;
}
[ContextMenu("Move")]
public void MoveToTarget()
{
if (GetComponent<UnitStats>().m_actio... |
/// <summary>
/// Setting.
/// Used to write key-value pairs to the local database
/// </summary>
using SQLite;
namespace MCCForms
{
public class Setting
{
[PrimaryKey]
public string Key { get; set; }
public string Value { get; set; }
}
} |
using Assets.Scripts.Generic.Dice;
using Assets.Scripts.Overlay.Action_PopUps.TokenSelector;
using Assets.Scripts.Player;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ActionProcesser : MonoBehaviour
{
public GameObject prefab;
List<ActionContainer> ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data.Entity;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Navigation.DAL;
using Navigation.Helper;
using Navigation.Models;
namespace Navigation.Controllers
{
public class PlaceContr... |
using System.Windows.Forms;
namespace CleanUpCSVFiles
{
public class FilesHelper
{
public static string SelectFolder()
{
string res = string.Empty;
using (var fbd = new FolderBrowserDialog())
{
DialogResult result = fbd.ShowDialog();
... |
using RO;
using System;
using UnityEngine;
[CustomLuaClass]
public class FunctionSDK : Singleton<FunctionSDK>
{
[CustomLuaClass]
public enum E_SDKType
{
None,
XD,
Any
}
public delegate void SDKCallback(string message);
private FunctionSDK.E_SDKType m_currentType = FunctionSDK.E_SDKType.Any;
private boo... |
using System;
class ReverseStringInPlace
{
public string ReverseString(string s)
{
char [] charArray= s.ToCharArray();
int i=0;int j=charArray.Length-1;
while (i<j)
{
char temp=charArray[i];
charArray[i]=charArray[j];
charArray[j]=te... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace DriveMgr.IDAL
{
public interface IVehicleDAL
{
/// <summary>
/// 增加一条数据
/// </summary>
bool AddVehicle(Model.VehicleModel model);
/// <summary>
//... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 敵管理クラス
/// </summary>
public class EnemyManager : Scene {
[SerializeField, Tooltip("ステージ内の敵設定")]
private List<GameObject> m_enemyList;
//ダメージの管理、死亡処理
// Use this for initialization
void Start () {
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace ArteVida.GestorWeb.ViewModels
{
public class ImagemViewModel
{
[Required]
public string Titulo { get; set; }
public string Alternativo { get; se... |
using System;
namespace Factory.AbstractFactory
{
public class TruckFactory : CarFactory
{
public override Car CreateCar()
{
return new Truck();
}
public override CarTester CreateTester()
{
return new TruckTester();
}
}
} |
using GCLab_23.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace GCLab_23.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public Actio... |
using RestSharp;
using RestSharp.Authenticators;
namespace Framework.REST
{
public class ClientFactory
{
public string Url { get; private set; }
public string Password { get; private set; }
public string UserName { get; private set; }
private Settings settings;
public ... |
using System;
using System.Web.Mvc;
using NBTM.Logic;
using NBTM.ViewModels;
namespace NBTM.Controllers
{
#if !DEBUG
[Authorize(Roles = "SalesAppAccountExecutives,SalesAppAdmins")]
#endif
public class BacktrackController : BaseController
{
//
// GET: /Backtrack/
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace REQFINFO.Website.Models
{
public class StatusVM
{
public int IDTab { get; set; }
public string Tab1 { get; set; }
public int Sequence { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace oopsconcepts
{
class Generics
{
public static void Main()
{
// Arthmetic.Equal("s", 10);
// bool a= Arthmetic.Equal<int>(20,10);
... |
namespace Eyefinity.PracticeManagement.Controllers.Api
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
using Castle.Core.Internal;
... |
using FastSQL.App.Events;
using FastSQL.App.Interfaces;
using FastSQL.Core.UI.Events;
using FastSQL.Sync.Core.Settings;
using Prism.Events;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.W... |
using DesignApp.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System... |
using System;
using System.Collections.Generic;
using FluentAssertions;
using FluentAssertions.Extensions;
using Xunit;
namespace LeeConlin.ExtensionMethods.Tests.DateTimeExtensions
{
public class ToAgeInYears_Should
{
public static IEnumerable<object[]> TestData => new List<object[]>
{ // We ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using unirest_net.http;
using Xamarin;
namespace YodaSpeak.Services
{
public class ServiceConsumer
{
public string CreateTranslation(string inputSentence)
{
string se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Freedom_Logger
{
public enum LogLevel
{
Low = 0,
Warning = 1,
Error = 2,
Debug = 4,
Info = 8,
}
}
|
using System.ComponentModel.DataAnnotations;
namespace OdeToFood2017.Entities
{
public enum CuisinType
{
None,
Fastfood,
Italian
}
public class Restaurant
{
public int Id { get; set; }
[Required,MaxLength(80)]
public string Name { get; set; }
... |
namespace SimpleMapping.Client.DTO
{
using System;
class EmployeeDto
{
public string FirstName { get; set; }
public string LastName { get; set; }
public decimal Salary { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Roger
{
public partial class mainForm : Form
{
public mainForm()
{
... |
using System;
namespace FactoryMethod.Entities.Personagens
{
public class SubZero : IPersonagem
{
public void Escolhido()
{
Console.Write("Sub Zero");
}
}
}
|
using System.Collections.Generic;
namespace LibraryWebApp.Entities
{
public class Author
{
public int Id { get ; set; }
public string Name { get; set; }
public List<BookResponse> Books { get; set; }
public Author(int id, string name, List<BookResponse> books) : this... |
/* **********************************************
* 版 权:亿水泰科(EWater)
* 创建人:zhujun
* 日 期:2019/5/20 16:36:04
* 描 述:RiverRepository
* *********************************************/
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using EWF.Data.Repository;
using EWF.Entity;
us... |
using System;
namespace Shango.CommandProcessor
{
public
interface ICommandEnvironment
{
void
CloseEnvironment();
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using SparkAPI.Data;
using SparkAPI.Models;
namespace SparkAPI.Controllers
{
[Route("api/... |
using System;
using System.Collections.Generic;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.UI.Selection;
using Autodesk.Revit.ApplicationServices;
using Autodesk.Revit.DB.Architecture;
using System.Linq;
namespace Lab1PlaceGroup
{
//获取当前选择集中包含的对象
[A... |
/// <summary>
/// Windows Presentation Foundation translator namespace
/// </summary>
namespace WPFTranslator
{
/// <summary>
/// Language class
/// </summary>
public class Language
{
/// <summary>
/// Name key
/// </summary>
private readonly string nameKey;
... |
using System;
using System.IO;
using System.Net;
using System.Text;
namespace Customer.Until
{
class HttpUntil
{
private const String urlClient = "http://localhost:8080/api/";
private static HttpWebRequest http;
private static String result;
/**
* get restful
... |
using App1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace GeneradorRFC
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PaginaRFC : ContentPage
{
... |
using System;
using System.Collections.Generic;
using Amazon.Lambda.ApplicationLoadBalancerEvents;
using Amazon.Lambda.Core;
using Epsagon.Dotnet.Core;
using Newtonsoft.Json;
using OpenTracing;
namespace Epsagon.Dotnet.Instrumentation.Triggers {
public class ElasticLoadBalancerLambda : BaseTrigger<ApplicationL... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace ConASCII
{
class AdvancedConsoleColor
{
public static ConsoleColorInfluence[] ConsoleColorDictonary { get; } = new ConsoleColorInfluence[16]
{
new ConsoleC... |
using System;
using System.Collections.Generic;
using Android.App;
using Android.OS;
using Android.Views;
using Android.Widget;
using OxyPlot.Xamarin.Android;
using OxyPlot;
using OxyPlot.Series;
using Android.Support.V7.Widget;
using JKMAndroidApp.adapter;
using Android.Support.V7.Widget.Helper;
using JKMPCL.Services... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScoreController : MonoBehaviour
{
[SerializeField] Text scoreValue;
private void OnTriggerEnter2D(Collider2D collision)
{
if (collision.gameObject.name == "Player")
{
... |
// Copyright 2021 Google Inc. 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
//
// Unless required by... |
using NTier.Model.Model.Entities;
using NTier.Service.Service.Base;
using System.Collections.Generic;
using System.Linq;
using NTier.Core.Core.Entity.Enum;
namespace NTier.Service.Service.Option
{
public class OrderService:BaseService<Order>
{
public int PendingOrderCount() => GetDefault(x => x.isConf... |
using System;
public class Program
{
public static void Main()
{
var a = double.Parse(Console.ReadLine());
var b = double.Parse(Console.ReadLine());
var compare = Math.Abs(a - b) < 0.000001;
Console.WriteLine(compare);
}
} |
using UnityEngine;
using System.Collections;
using System;
using System.IO;
public class MapImporter : MonoBehaviour
{
public LevelMakerManager LevelMakermgr;
public Camera UICamera;
public TextMesh text;
public Transform GUIPos;
public GameObject CollsPanel;
public Collider2D ScrollBox;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FinalProject.Backend
{
public class Oferta
{
public int IdOferta { get; set; }
public String NoControl { get; set; }
public int IdMateria { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SQLite;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Printing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows... |
using UnityEngine;
using System.Collections;
using UnityEngine;
using MZ.LWD;
using UnityEngine.Rendering;
using UnityEngine.Experimental.Rendering;
public class FinalBlitPass : ScriptableRenderPass
{
const string k_FinalBlitTag = "Final Blit Pass";
private RenderTargetHandle colorAttachmentHandle { get; set... |
using System.Collections.Generic;
namespace Logic.Extensions
{
public static class MatrixEx
{
public static IEnumerable<T> GetDirations<T>(this T[][] board, int rowIndex, int columnIndex)
{
if (rowIndex < board.Length - 1)
{
yield return board[rowIndex +... |
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace NunitMoq.UnitTest
{
[TestFixture]
public class MockingMethodsOutAndRefParameters
{
[Test]
public void OutAndRefArguments()
{
var mock = new Mock<IFoo>();
... |
/* Task 3. Write a class PokerHandsChecker (+ tests) and start implementing the IPokerHandsChecker interface.
* Implement the IsValidHand(IHand). A hand is valid when it consists of exactly 5 different cards. */
/* Task 4. Implement IPokerHandsChecker.IsFlush(IHand) method. */
/* Task 5. Implement IsFourOfAKind(I... |
using UnityEngine;
public class HumanoidAi : MonoBehaviour {
public Transform Player;
private Rigidbody rb;
public float distanceLimit = 0.6f;
public float period = 150f;
public float forceValue = 80f;
private Vector3 dy = new Vector3(0.0f, 3f);
private float t = 0.0f;
private ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
* カメラ位置の調整と移動制限
* MainCameraにアタッチ
*/
public class CameraController : MonoBehaviour
{
[Header("プレイヤー")]
private GameObject mPlayer;
[Header("プレイヤーとカメラの差異")]
private Vector3 mOffset;
[Header("Stage(Floor)")]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TaskObject : MonoBehaviour
{
public GameObject sibling;
public void Disable() {
sibling.SetActive(true);
gameObject.SetActive(false);
}
/*private void OnDisable() {
sibling.SetAct... |
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// VisualNovelToolkit /_/_/_/_/_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe. /_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using System.Collections;
/// <summary>
/// ISoundPlayer.
/// </summary>
public class ISo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
namespace ZUS.Zeus.BikeService.Results
{
public static class ApiControllerExtensions
{
public static IHttpActionResu... |
using System;
using System.Windows.Media.Effects;
using Microsoft.Practices.Prism.ViewModel;
namespace Torshify.Radio.Framework
{
public class TileData : NotificationObject
{
#region Fields
private Uri _backBackgroundImage;
private object _backContent;
private Uri... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Threading;
namespace transGraph
{
public partial class Back : Form
{
Thread t;
Global g;
public Back(Global g... |
using SFML.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LD30
{
abstract class GameObject
{
protected Game game;
public virtual float Depth
{
get
{
return 0f;
}
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NPCAnimation : MonoBehaviour
{
private Animator anim;
private void Awake()
{
anim = GetComponent<Animator>();
}
public void FaceDirection(NPCSetting.Direction direction)
{
switch (dir... |
using Coding.Dojo.Abtraction;
using Coding.Dojo.Wpf.ViewModels;
using Microsoft.Win32;
using RestSharp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Media;
namespace Coding.Dojo.Wpf
{
/// <summary>
/// Interaction ... |
using DataModel;
using Nancy;
using Nancy.ModelBinding;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Nancy.Authentication.Forms;
using Nancy.Security;
using Nancy.Extensions;
using WebMarket.Models.Request;
namespace WebMarket.Module
{
public class LetterModule : Nanc... |
using HINVenture.Shared.Data;
using HINVenture.Shared.Models.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HINVenture.Shared.Models
{
public class MessageRepository : IRepository<Message>
{
private readonly Appli... |
using System;
using System.IO;
using System.Collections.Generic;
using SprintFour.Blocks;
using System.Text;
using SprintFour.Utilities;
namespace SprintFour.Levels
{
public static class BoggusLoader
{
public static List<string> QuoteList;
public static string AlphaQuote;
public stati... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task13
{
class Program
{
static void Main(string[] args)
{
//Implement the ADT queue as dynamic linked list.
//Use generics (LinkedQueue<T>)to a... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
namespace JoveZhao.Framework.DDD
{
public class DDDConfigurationElement : ConfigurationElement
{
[ConfigurationProperty("unitOfWork")]
public UnitOfWorkConfigurationElement UnitOfW... |
using System;
using DevExpress.Mvvm.DataAnnotations;
using DevExpress.Mvvm;
using System.Collections.Generic;
using DevExpress.Mvvm.POCO;
using System.ComponentModel.DataAnnotations;
namespace SimpleDemo.UI.ViewModels
{
[POCOViewModel]
public class SettingManageViewModel
{
public List<Mod... |
using KekManager.Domain;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace KekManager.Api.Interfaces
{
public interface ISubjectBl
{
Task<IList<Subject>> GetAll();
Task<Subject> SetSupervisor(int subjectId, int? supervisorId);
}
}
|
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu]
public class ComponentAdder : EntityTank
{
public List<ComponentDatabase> componentDBs;
public override void MyOperation (Entity entity)
{
foreach (var cDB in componentDBs)
{
cDB.AddComponent(entity.id); ... |
using System;
using System.Net.Sockets;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using Sys... |
using UnityEngine;
namespace VectorExtension
{
[System.Serializable]
public struct Distribution
{
public float mean, stdDev;
public Range range;
public Distribution(float mean = 0f, float stdDev = 1f, float min = -5f, float max = 5f)
{
this.mean = mean;
... |
namespace TrafficDissector.PortScanning
{
internal enum ScanMessage
{
PortClosed,
PortOpened,
Timeout,
Unknown
}
}
|
using Godot;
using System;
using static Lib;
public class GrayWTower : WTower
{
public override void _Ready()
{
base._Ready();
wizard = WAR_WIZARD;
}
}
|
using System;
using System.Linq;
using System.Net;
using System.Web.Mvc;
using Grubber.Web.Data;
using Grubber.Web.Models;
using Grubber.Web.ViewModels;
namespace Grubber.Web.Controllers
{
public class StoreMenuController : Controller
{
private readonly IGrubberRepository _repository;
public ... |
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models
{
public interface IPartialResultParams
{
/// <summary>
/// An optional token that a server can use to report partial results (e.g. streaming) to
/// the clien... |
using System;
using System.Collections;
using UnityEngine;
namespace VavilichevGD.GameServices.Purchasing {
public class BankService : GameServiceBase {
#region EVENTS
public override event Action OnInitializedEvent;
public event BankCurrencyHandler OnSoftCurrencyValueChangedEvent;
public event BankCurren... |
using LuaInterface;
using System;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace SLua
{
public class LuaObject
{
private delegate void PushVarDelegate(IntPtr l, object o);
private const string DelgateTable = "__LuaDelegate";
internal const int VersionNumber = 4113;
... |
using EPiServer.Events;
namespace HansKindberg.EPiServer.Events.Providers
{
public interface IEventMessageReceiver
{
#region Methods
void ReceiveMessage(EventMessage message);
#endregion
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoinBazaar.Infrastructure.MessageQueue
{
public interface IConnection:IDisposable
{
IChannel CreateChannel();
}
}
|
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using TableTopCrucible.Domain.Models.Sources;
using TableTopCrucible.Domain.Models.ValueTypes;
using TableTopCrucible.Domain.Models.ValueTypes.IDs;
namespace TableTopCrucible.Data.SaveFile.DataTransferObjects
{
... |
using PDV.DAO.Atributos;
namespace PDV.DAO.Entidades.NFe
{
public class Finalidade
{
[CampoTabela("IDFINALIDADE")]
public decimal IDFinalidade { get; set; } = -1;
[CampoTabela("CODIGO")]
public string Codigo { get; set; }
[CampoTabela("DESCRICAO")]
public stri... |
namespace GetMinionNames
{
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
static void Main()
{
SqlConnection connection = new SqlConnection(@"Se... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ljc.Com.CjzfNews.UI.Entity
{
public class RunconfigEntity
{
public const string TBName = "RunconfigEntity";
public const string DefaultConfig = "defaultset";
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CoreComponents.Text
{
public static class StringCopier
{
//public StringCopier()
//{
//}
public static void Copy(string StringFrom, out string StringTo)
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.