text stringlengths 13 6.01M |
|---|
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.Runtime.CompilerServices;
namespace NetFabric.Hyperlinq
{
public static partial class ValueEnumerable
{
[GeneratedCode("NetFabric.Hyperlinq.SourceGenerator", "1.0.0")]
[MethodImpl(MethodImplOptions.AggressiveI... |
using SimpleApiService.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SimpleApiService.Service.Contracts
{
public interface IAccountService
{
/// <summary>
/// Депозит дс
/// </summary>
public Task<decimal> TopUp(... |
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;
using CapaEntidades;
using CapaNegocio;
namespace CapaPresentacion
{
public partial class FrmPresen... |
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 AzmanSys
{
public partial class MainForm : Form
{
public MainForm()
{
... |
using System.Web.Optimization;
namespace MyCashFlow.Web
{
public static class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
RegisterScriptBundles(bundles);
RegisterStyleBundles(bundles);
}
private static void RegisterScriptBundles(BundleCollection bundles)
{
bundl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UserStorageServices.Validation;
namespace UserStorageServices
{
public class CompositeValidator : IValidator
{
private readonly IValidator[] _validators;
public Composite... |
using UnityEngine;
using System.Collections;
public class CameraManager : MonoBehaviour
{
public static CameraManager main;
public float moveSpeed = 5;
public float moveDamping = 10;
public float cameraAngle = 52;
public bool canRotate = false;
public float rotationSpeed = 60;
public f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using OlympicsWebApp.BusinessLayer;
using OlympicsWebApp.Data;
namespace OlympicsWebApp.Pages.Countries
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace Emotiv
{
public class ELSClient
{
public enum profileFileType
{
TRAINING,
EMOKEY
};
public struct profileVersionInfo
... |
using System;
using Assets.Scripts.Core.ConstantsContainers;
using Assets.Scripts.Models;
using Assets.Scripts.Units;
namespace Assets.Scripts.Configs
{
[Serializable]
public class MobConfig
{
[ChooseFromList(typeof(UnitType))]
public string UnitType;
public UnitController Prefab;
... |
using System.Collections.Generic;
namespace Hybrid.AspNetCore.Mvc.Models
{
/// <summary>
/// 表示包含了分页信息的集合类型。
/// </summary>
/// <typeparam name="T"></typeparam>
public class PageResult<T>
{
#region Ctor
/// <summary>
/// 初始化一个新的<c>PagedResult{T}</c>类型的实例。
/// <... |
using System;
using System.Collections;
namespace Simplist.Cqrs.Core
{
public interface IRepository<T> where T : IEventSourced
{
// void Save(T eventSourced);
T Get(Guid id);
}
} |
using Microsoft.EntityFrameworkCore.Migrations;
namespace VinarishMvc.Migrations
{
public partial class ParentReportId : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Reports_Reports_AppendixRe... |
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace Shunxi.App.CellMachine.Converters
{
public class DateTimeToVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo language)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _08.ExtractSentence
{
class ExtractSentence
{
static void Main(string[] args)
{
/*Write a program that extracts from a given text all sentences containing given word.
Consid... |
using LuaInterface;
using SLua;
using System;
using UnityEngine;
public class Lua_UnityEngine_JointSpring : LuaObject
{
[MonoPInvokeCallback(typeof(LuaCSFunction))]
public static int constructor(IntPtr l)
{
int result;
try
{
JointSpring jointSpring = default(JointSpring);
LuaObject.pushValue(l, true);
... |
using System;
namespace UInput
{
[Serializable]
public class InputByButton : InputComponet
{
InputAxis Horizontal = new InputAxis("Horizontal");
InputButton Jump = new InputButton("Jump");
public override float GetHorizontal()
{
return Horizontal.GetValue();
}
public override bool Get... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Crt.Model.Dtos.Region
{
public class RegionDto
{
[JsonPropertyName("id")]
public decimal RegionId { get; set; }
public de... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Otchi.Ebml.Types;
namespace Otchi.Ebml.Tests.Types
{
[TestClass]
public class EbmlDateTest
{
[TestMethod]
public void TestFromNanoseconds()
{
var date = EbmlDate.FromNanoSeconds(328711520000000000);... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xadrez.TabuleiroEntities;
namespace Xadrez.PecasXadrez
{
class Cavalo : Peca
{
public Cavalo(Tabuleiro tabuleiro, Cor cor) : base(tabuleiro, cor)
{
}
publ... |
using System;
using Microsoft.WindowsCE.Forms;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace kkmKassa
{
public partial class confAddUsers : Form
{
bool isOpen = true;
private Glob... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Accounting.Entity
{
public class ReqDetail
{
public ReqDetail() { }
#region Fields
private int numReqDID = 0;
private int numReqMID = 0;
private int numItemID = 0;
pr... |
using System;
namespace Soko.Domain
{
/// <summary>
/// Summary description for FinansijskaCelina.
/// </summary>
public class FinansijskaCelina : DomainObject, IComparable
{
public static readonly int NAZIV_MAX_LENGTH = 50;
private string naziv;
public virtual string Naziv
{
get { retur... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CloneDeploy_Entities
{
[Table("active_imaging_tasks", Schema = "public")]
public class ActiveImagingTaskEntity
{
public ActiveImagingTaskEntity()
{
Status = ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FitChildPanel.Models.Classes
{
public class Oneriler
{
public int ID { get; set; }
public string OneriAdi { get; set; }
public string OneriResim { get; set; }
public string OneriFayda... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace NapierBank.Models
{
/*
Class for displaying messages to the user
*/
class Info
{
public string Title { get; set; }
public string B... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace ApplicationNavigation.Model
{
public class Mage : PlayerCharacter
{
public Mage()
{
}
~Mage()
{
}
}
} |
using System;
using Android.App;
using Android.Hardware;
using Android.Media;
using Android.OS;
using Android.Support.Design.Widget;
using Android.Support.V7.App;
using Android.Views;
namespace DoggySee
{
[Activity(Label = "@string/app_name", Theme = "@style/AppTheme.NoActionBar", MainLauncher = true)]
public... |
using System;
namespace SGDE.Domain.Entities
{
public class Advance : BaseEntity
{
public DateTime ConcessionDate { get; set; }
public DateTime? PayDate { get; set; }
public double Amount { get; set; }
public string Observations { get; set; }
public bool Paid => PayDate... |
using System.Collections.Generic;
using System.Linq;
using Renting.Domain.Drafts;
namespace Renting.Persistence.InMemory
{
public class InMemoryDraftRepository : IDraftRepository
{
private static readonly List<Draft> Drafts = new List<Draft>();
public Draft Get(DraftId draftId)
{
... |
//
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
#region Usings
using System.Xml;
using System.Xml.Serialization;
using DotNetNuke.Services.Tokens;
using DotNetNuke.Security.Roles;
using System.Collecti... |
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using System;
using System.Collections.Concurrent;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
using MyMedicine.Models.Chat;
namespace MyMedicine.Middleware
{
public class ChatMiddleware
{
private static Con... |
using StockData.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StockData.Repository
{
public static class WarehouseProductsHandler
{
public static void AddToWarehouse(ProductQuantity product, List<ProductQuantity> warehouseValues)
{
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Data.SqlClient;
using YoctoScheduler.Core.Database;
namespace YoctoScheduler.UnitTest.Daatabase
{
[TestClass]
public class Task_Test
{
[TestMethod]
public void Task_Insert_PassthroughTask()
{
... |
using System;
namespace OOP_FinalProject
{
class VerticalLine : Shape, IMathShape
{
#region Data-Memebers
private int secondY;
private int thickness;
#endregion
#region Ctors
public VerticalLine() { }
public VerticalLine(int x, int y, ConsoleColor colo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SampleApp
{
public delegate int MyDelegate(int a, int b);
class Program
{
static void Main(string[] args)
{
Service1 s1 = new Service1();
Cl... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MySql.Data;
using MySql.Web;
using MySql.Data.MySqlClient;
namespace ProjectMFS
{
... |
using System.Collections.Generic;
using Data.Core;
using LearningEnglishWeb.Areas.Training.Models.Shared;
namespace LearningEnglishWeb.Areas.Training.Models.ChooseTranslate
{
public class ChooseTranslateTraining : TrainingBase<QuestionWithOptions>
{
public ChooseTranslateTraining(IEnumerable<QuestionW... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MisRecetas.Modelo
{
//Hago publica la clase para poder acceder o instanciarla desde otro lado del proyecto
public class Paciente
{
//Declaro las variables con sus tipos de ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Common
{
public class ActionEnum
{
/// <summary>
/// 操作类型
/// </summary>
public enum Type
{
Add = 1,
Edit = 2,
Delete = ... |
using System.Threading;
using System.Threading.Tasks;
using ChesterDevs.Core.Aspnet.App.Jobs;
using ChesterDevs.Core.Aspnet.Models.ViewModels;
using Microsoft.Extensions.Logging;
namespace ChesterDevs.Core.Aspnet.App.PageHelpers
{
public interface IJobListHelper
{
Task<JobListViewModel> LoadViewModelA... |
using System;
using System.Collections.Generic;
using System.Text;
namespace homeworkCSharp2020
{
class nal12
{
public static void func(int userInput)
{
if( userInput > 99999 && userInput < 999999)
{
string full = userInput.ToString();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Coll_Si7 : MonoBehaviour {
public ring_coll co;
public UIHP playerUI;
// Use this for initialization
void Start () {
co = FindObjectOfType<ring_coll> ();
playerUI = FindObjectOfType<... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class attendReception : GAction
{
public override bool PrePerform()
{
GWorld.Instance.GetWorld().ModifyState("receptionAttended",1);
return true;
}
public override bool PostPerform()
{
G... |
namespace AquaServiceSPA.Models
{
public class Express
{
public double AquaLiters { get; set; }
public double ContainerCapacity { get; set; }
}
}
|
using System;
using System.Threading;
using System.Threading.Tasks;
using LCTP;
using LCTP.Server;
namespace LctpTestServer
{
class Program
{
static int Main(string[] args)
{
Console.WriteLine("LCTP Test Server v0.0");
using (var source = new CancellationTokenSo... |
using Programa_de_descuentos.Compra1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Programa_de_desucnetos.Descuentos
{
class NClsDescuentos
{
private int dia;
private double compra;
private double descuent... |
using LuigiApp.Base.ViewModels;
using LuigiApp.Product.Interactors;
using LuigiApp.Product.Models;
using LuigiApp.Product.Views;
using LuigiApp.Resources;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading.Tasks;
using Xamarin.Forms;
... |
using System;
namespace UserStorageServices.Validation.Attributes
{
internal sealed class ValidateMaxLengthAttribute : ValidationAttribute
{
public ValidateMaxLengthAttribute(int maxLength)
{
MaxLength = maxLength;
ErrorMesage = "Length of property is bigger then max len... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bracelet : MonoBehaviour {
public GameObject fireGlowPrefab;
public GameObject waterGlowPrefab;
public GameObject earthGlowPrefab;
public GameObject airGlowPrefab;
private Animator glowAnimator;
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObstacleGenerator : MonoBehaviour
{
public GameObject[] obstacles;
public int initialSpawnAmount;
public int maximumSpawnAmount;
public int spawnAmountIncreaseDistance;
public float initialSpawnOffsetX;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
namespace OnlineShopping
{
public partial class GoodAdd : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace DuaControl.Web.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenCloudPrinciple_OCP_.ModelClasses.FilteringComputerMonitor.ImplementOCP
{
public interface ISpecification<T>
{
bool isSatisfied(T item);
}
}
|
using System;
namespace Ex3
{
class Program
{
static void Main(string[] args)
{
string radiusAsString;
double radius, perimeterOrArea;
Console.WriteLine("Enter radius: ");
radiusAsString = Console.ReadLine();
radius = Rad... |
using System.Collections.ObjectModel;
using System.Linq;
using Athena.Data;
using Athena.Data.Categories;
using Athena.Data.PublishingHouses;
using Athena.Data.Series;
using Athena.Data.StoragePlaces;
using Microsoft.EntityFrameworkCore;
namespace Athena {
public static class DbSetExtensions {
public stat... |
using CityTemperature.Borders.Adapter;
using CityTemperature.Borders.Interfaces;
using CityTemperature.Borders.UseCase;
using CityTemperature.DTO;
using CityTemperature.DTO.AddCitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CityTemperature.UseCase
{
... |
using UnityEngine;
using System.Collections;
using TMPro;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class UpgradeGuiHandler : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
Upgrade upgrade { get; set; }
Player player { get; set; }
UpgradeManager um { get; set; }
TextMes... |
using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Nitro_Smart_Viewer
{
public static class ResourceHelper
{
public static string[] GetResourse(ResourceType resourceType)
{
string value;
switch (resourceType)
{
... |
using NuGet.Packaging.Core;
using NuGet.Protocol.Core.Types;
using NuGet.Protocol.VisualStudio;
using NuGet.Versioning;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Client.V3Test
{
public class UI... |
using System;
class NumbersInIntervalDividableByGivenNumber
{
static void Main()
{
//Write a program that reads two positive integer numbers and prints how many
//numbers p exist between them such that the reminder of the division by 5 is 0.
Console.Write(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HackerrankSolutionConsole
{
class making_anagrams : Challenge
{
public override void Main(string[] args)
{
string str1 = Console.ReadLine();
str... |
using ProtoBuf;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeService
{
public class RedisManager
{
#region init
private IDatabase db;
private ISubscrib... |
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace MultiCommentCollector.Converter
{
internal class BackgroundColorConverter : IValueConverter
{
public static readonly BackgroundColorConverter Instance = new();
private static readonly in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.IO;
using System.Text;
using sfShareLib;
using System.Threading.Tasks;
using sfAPIService.Models;
using System.Web.Script.Serialization;
using sfAPIService.Filter;
using Newt... |
using System.Collections;
using System.Collections.Generic;
public class ReqSceneEnter
{
private uint _door_id;
public Packet Encode()
{
Packet packet = new Packet();
packet.WriteUint(this._door_id);
packet.Encode(Msg.P_REQ_SCENE_ENTER);
return packet;
}
public uint door_id
{
g... |
using System.Collections.Generic;
using BitcoinLib.CoinParameters.Blocknet;
using BitcoinLib.Services.Coins.Base;
using BitcoinLib.Services.Coins.Blocknet;
using BitcoinLib.Services.Coins.Blocknet.Xrouter;
using Microsoft.AspNetCore.Mvc;
public interface IBlocknetService : ICoinService, IBlocknetConstants{
#region... |
using System;
using UnityEngine;
public class T4MPlantObjSC : MonoBehaviour
{
}
|
using UnityEngine;
using System.Collections;
using System.Linq;
using UnityEngine.Assertions;
using UnityEngine.EventSystems;
public static class UIUtilities
{
public static void ActivateCanvasGroup(CanvasGroup group)
{
if (group == null) return;
group.alpha = 1;
group.blocksRaycasts ... |
using _08_CRUD_Personas_DAL.Lists;
using _08_CRUD_Personas_Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _08_CRUD_Personas_BL.Lists
{
public class clsListadoDepartamentosBL
{
/// <summary>
/// Le pide a l... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR;
public class RoomSetup : MonoBehaviour
{
public SteamVR_ActionSet actionSetRoomControl;
private void Start()
{
actionSetRoomControl.Activate();
}
private void OnDestroy()
{
actionSe... |
using loggerApp.AppSettings;
using Serilog;
using System;
using Topshelf;
namespace loggerApp
{
class Program
{
static void Main(string[] args)
{
TopshelfExitCode exitCode = TopshelfExitCode.Ok;
try
{
// https://github.com/serilog/serilog/wik... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.ServiceModel;
using Microsoft.Practices.Prism.Logging;
using Torshify.Origo.Contracts.V1.Query;
using Torshify.Radio.Framework;
using Torshify.Radio.Spotify.LoginService;
using Torshify.Radio.Spot... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class CharacterHealth : MonoBehaviour
{
public float CurrentHealth { get; set; }
public float MaxHealth { get; set; }
public GameObject enemy;
public GameObject player;
public float Damage;
... |
using System.Threading;
using System.Threading.Tasks;
using DotNetCore.CAP;
using MediatR;
using Project.API.Applications.IntegrationEvents;
using Project.Domain.Events;
namespace Project.API.Applications.DomainEventHandlers
{
public class ProejctViewedEventHandler : INotificationHandler<ProejctViewedEvent>
{... |
#region Usings
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Zengo.WP8.FAS.Models;
using Zengo.WP8.FAS.Helpers;
using Zengo.W... |
using System.Xml.Serialization;
namespace SimpleMvcSitemap
{
public enum VideoRestrictionRelationship
{
[XmlEnum("allow")]
Allow,
[XmlEnum("deny")]
Deny
}
} |
using Microsoft.EntityFrameworkCore;
using bGrind.API.Models;
namespace bGrind.API.Data
{
public class DataContext : DbContext
{
public DataContext(DbContextOptions<DataContext> options) : base(options){}
public DbSet<Event> Events { get; set; } // pluralize entities (table name)
publi... |
using LuaInterface;
using SLua;
using System;
public class Lua_UILabel_Effect : LuaObject
{
public static void reg(IntPtr l)
{
LuaObject.getEnumTable(l, "UILabel.Effect");
LuaObject.addMember(l, 0, "None");
LuaObject.addMember(l, 1, "Shadow");
LuaObject.addMember(l, 2, "Outline");
LuaObject.addMember(l, 3,... |
/*
* Copyright 2014 Technische Universität Darmstadt
*
* 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 appl... |
using System;
using System.Collections.Generic;
using System.Text;
using ENTITY;
//<summary>
//Summary description for CounterInfo
//</summary>
namespace ENTITY
{
public class CounterInfo
{
private decimal _counterId;
private string _counterName;
private strin... |
namespace Renting.Domain.Drafts
{
//TODO Czy na to też factory method/class?
public class DraftAccepted
{
public string AgreementNumber { get; }
public string OwnerId { get; }
public string TenantId { get; }
public decimal Price { get; }
public DraftAccepted(string a... |
//------------------------------------------------------------------------------
// The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.nopCommerce.com/Lic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MediaManager.DAL.DBEntities;
namespace MediaManager.API
{
public interface IParser
{
VideoForCreationDTO video { get; set; }
string DomainName { set; get; }
bool... |
using System;
using System.Linq;
namespace TimerEx
{
/// <summary>
/// 指定された条件に合致するシステム時間にイベントを着火するタイマーです。
/// </summary>
/// <remarks>
/// 以下を参考にしました。
/// https://stackoverflow.com/a/10896628
/// </remarks>
/// <example>
/// <code>
/// var t = new SystemClockTimer(SystemClockTi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ElementalistController : PlayerController
{
// Public Stats Members
public int manaMaxCount = 3;
public float manaRefreshRate = 5f;
public Texture2D manaTexture;
// Private Stats Members
pr... |
using UnityEngine;
public class RandomSpawnLocation {
private Transform center;
private float minRange;
private float maxRange;
public RandomSpawnLocation(Transform center, float minRange, float maxRange) {
this.center = center;
this.minRange = minRange;
this.maxRange = maxRange;
}
public Vector3 Next() ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Entities;
using ShareTradingWebsite.Models;
namespace ShareTradingWebsite.Controllers
{
public class AddressController : Controller
{
private readonly IAddressRepository addressRepository;
... |
namespace Mathml.Operations
{
/// <summary>
/// An operation that uses two values, and info related to that operation.
/// </summary>
public abstract class Operation
{
/// <summary>
/// The username of person associated with the operation.
/// </summary>
public strin... |
using System;
namespace IMDB.Api.Services.Interfaces
{
public interface ILanguageService : IEntityService<Entities.Language>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
namespace ProyectoMIPS
{
/* ======================================================
* Clase 1: Hilillo
* Estructura de datos para mantener la información de
... |
//
// 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.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using DotNetNuke.Common;
using DotNetNuke.Data;
using DotN... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Voronov.Nsudotnet.BuildingCompanyIS.Entities;
using Voronov.Nsudotnet.BuildingCompanyIS.Logic.DbInterfaces;
namespace Voronov.Nsudotnet.BuildingCompanyIS.Logic.Impl.DbImp... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UserStorageServices.Validation
{
public class AgeValidator : IValidator
{
public void Validate(User user)
{
if (user.Age <= 0)
{
... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace online_knjizara.Migrations
{
public partial class Pocetna : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Drzava",
... |
using System;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace UnityUIPlayables
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
internal class NormalizedAnimationCurveAttribute : MultiPropertyAttribute
{
private readonly bool _normalizeTime;
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
public class Stuff : MonoBehaviour {
public Rigidbody Body { get; private set; }
private void Awake()
{
Body = GetComponent<Rigidbody>();
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace EdubranApi.Models
{
/// <summary>
/// Student
/// </summary>
public class Student
{
[Key]
... |
using System;
using Server.Mobiles;
using Server.Targeting;
using System.Collections;
using System.Collections.Generic;
namespace Server.Items
{
public class Runescribing
{
// Blacklisted items
public static Type[] Blacklist = new Type[]
{
typeof( Dagger ),
};
public static void Enhance... |
using System;
using System.Collections.Generic;
using System.Text;
namespace EncryptDecryptMagic.EncryptDecrypt
{
public class EncryptDecrypt
{
public enum _enum_EncryptionDecryptionSecret { SECRET1, SECRET2, SECRET3};
public static string _fx_Encrypt(string DecryptedString, _enum_EncryptionD... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.