text stringlengths 13 6.01M |
|---|
/* --- Builded by Lars Ulrich Herrmann (c) 2013 with f.fN. Sense Applications in year August 2013
* The code can be used in other Applications if it makes sense
* If it makes sense the code can be used in this Application
* I hold the rights on all lines of code and if it makes sense you can contact me over the pub... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using UnityEditor;
using UnityEngine;
public class Node : MonoBehaviour
{
[SerializeField] GameObject node;
// Start is called before the first frame update
private float off... |
using UnityEngine;
public struct Destination {
private Vector2 from;
private Vector2 to;
public Vector2 From {
get { return from; }
}
public Vector2 To {
get { return to; }
}
public Destination(Vector2 from, Vector2 to) {
this.from = from;
this.to = to;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class profiles : MonoBehaviour {
//private int numberless = 7;
//public int lathedAmmo = 8;
public TMP_Text profile_1_Day;
public TMP_Text profile_1_Ammo;
public TMP_Text profile_1_Lathed;
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SSISTeam9.Models
{
public class DisbursementListDetails
{
public int Quantity { get; set; }
public DisbursementList DisbursementList { get; set; }
public Inventory Item { get; set; }
}
} |
using System;
using System.Diagnostics;
namespace PFM.Bot.Models
{
[DebuggerDisplay("{Id}, {Price}")]
[Serializable]
public class Product
{
public string Id { get; }
public decimal Price { get; }
public Product(string id, decimal price)
{
Id = id;
... |
using System;
namespace WaveShaper.Core.PiecewiseFunctions
{
public class Piece<T>
{
public static readonly Piece<T> DefaultPiece = new Piece<T>
{
Condition = x => true,
Function = x => default(T)
};
public Piece(Predicate<T> condition = null, Func<T, T... |
using System;
namespace A4CoreBlog.Data.ViewModels
{
public class BasicBlogViewModel : DescribableViewModel
{
public int Id { get; set; }
public string OwnerId { get; set; }
public string OwnerName { get; set; }
public DateTime From { get; set; }
}
} |
namespace _14._DragonArmy
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main()
{
int numberOfDragons = int.Parse(Console.ReadLine());
Dictionary<string, SortedDictionary<string, List<int>>> arm... |
using UnityEngine;
using Fungus;
/// <summary>
/// The block will execute when the user clicks on the target UI button object.
/// </summary>
[EventHandlerInfo("Narritive",
"Objective Complete",
"Will execute when the targeted objective is completed.")]
[AddComponentMenu("")]
public... |
namespace _01_Alabo.Cloud.Core.AppVersion.Domain.Enums
{
/// <summary>
/// 升级枚举
/// </summary>
public enum AppVersionStatus
{
/// <summary>
/// 无需更新
/// </summary>
UnUp = 0,
/// <summary>
/// 可以更新
/// </summary>
Use = 1
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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.Windows.Media.Imaging;
using System.Windo... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
#nullable disable
namespace HROADS_WebApi.Domains
{
public partial class Personagen
{
public Personagen()
{
Usuarios = new HashSet<Usuario>();
}
public int IdPersonagem { ... |
using Microsoft.AspNetCore.Identity;
namespace ApiTemplate.Core.Entities.Users
{
public class AppUser :IdentityUser<long>
{
public string Name { get; set; }
public string LastName { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
[RequireComponent(typeof(Image))]
public class Pip : MonoBehaviour {
public void Populate(Spell spell) {
GetComponent<Image>().color = spell.pipColor;
}
}
|
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.CompilerServices;
namespace DanialProject.Models.Database
{
public class OpenDates
{
public DanialProject.Models.Database.Buildings Buildings
{
get;
set;
}
[ForeignKey("Buildings")]
public int? BuildingsID
{
... |
using ManageDomain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ManageWeb.Controllers
{
[AllowAnonymous]
public class ManagerController : ManageBaseController
{
//
// GET: /Manager/
ManageDomain.BLL.ManagerBll... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FOREACH_LISTA
{
class Funcionarios
{
string nome;
int idade;
string cargo;
int salario;
public string Nome
{
... |
using System;
using System.Diagnostics;
public class Timing
{
//TimeSpan startingTime;
//TimeSpan duration;
static Stopwatch timer = new Stopwatch();
public Timing()
{
//startingTime = new TimeSpan(0);
//duration = new TimeSpan(0);
}
public void stopTime()
{
timer.Stop(); //Stop timer
//duration... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Diagnostics;
namespace Editor
{
[DescriptionAttribute("RigidBody"),
CategoryAttribute("Components")]
public class RigidBodyComponent : Component
... |
/*
* Created by SharpDevelop.
* User: dell
* Date: 05/05/2019
* Time: 05:50 a.m.
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.Collections;
namespace proyeto_poo
{
/// <summary>
/// Description of Person.
//... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName="Zomz/AI/Action/Patrol",fileName="Action_Patrol_New")]
public class PatrolAction : Action
{
public override void Act(AIStateController pController)
{
Patrol (pController);
}
private void Patrol(AIStateCont... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Euler_Logic.Problems.AdventOfCode.Y2017 {
public class Problem12 : AdventOfCodeBase {
private Dictionary<int, HashSet<int>> _hash;
public override string ProblemName {
get { return "Advent of Code 2017: 12"; ... |
using System;
using UnityEngine;
using Unity.Mathematics;
using static Unity.Mathematics.math;
using Unity.Collections;
namespace IzBone.IzBCollider.RawCollider {
/** カプセル形状コライダ */
public unsafe struct Capsule : ICollider {
public float3 pos; //!< 中央位置
public float r_s; //!< 横方向の半径
public float3 dir; //!... |
// Decompiled with JetBrains decompiler
// Type: Tpi_Watcher.Program
// Assembly: Tpi Watcher, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null
// MVID: A91036F6-4ADD-407B-9987-2D811322E7F8
// Assembly location: C:\PixelPos\TPI Watcher\Tpi Watcher.exe
using System;
using System.Threading;
using System.Windows.Fo... |
using System;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace NSchedule
{
public static class Extensions
{
public static Page GetCurrentPage(this Shell s)
{
return (s?.CurrentItem?.CurrentItem as IShellSectionController)?.... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
namespace _07.PrintAllMinionNames
{
class PrintAllMinionNames
{
static void Main()
{
string connStr = @"Server=.\SQLEXPRESS;database=MinionsDB;Trusted_Connection=true;";
List<string> minionsLis... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Util;
using Android.Views;
using Android.Widget;
namespace UberClone.Fragments
{
public class MakePaymentFragment : Android.Suppor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace goPlayApi.Models
{
public class Gamification
{
public int GamificationId { get; set; }
public int Points { get; set; }
public int UserId { get; set; }
public User User { g... |
namespace FichaTecnica.Repositorio.EF.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class FirstMigration : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Cargo",
c => new
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class New_problem : System.Web.UI.Page
{
TaskManager ts = new TaskManager();
protected void Page_Load(object sender, EventArgs e)
{
Label2.Visib... |
using UnityEngine;
using System.Collections;
/*
The SkinSwitcher class allows the user to change skins and customize the virus tracker.
*/
public class SkinSwitcher : MonoBehaviour {
public Texture[] texture; //array of skins
public GameObject[] obj; //array of GameObject objects to be retextured
int textureIndex ... |
namespace P08MilitaryElite.Interfaces
{
using System.Collections.Generic;
public interface ILeutenantGeneral : IPrivate
{
IEnumerable<IPrivate> Privates { get; }
}
} |
using UnityEngine;
#if UNITY_ANDROID || UNITY_IPHONE
using UnityEngine.Advertisements;
#endif
using System;
using Mio.TileMaster;
namespace Mio.Utils {
#pragma warning disable 414
public class UnityAdsHelper : MonoBehaviour {
public bool isEnabled = false;
public string rewardVideoID = "rewardedVi... |
using MySql.Data.MySqlClient;
using System;
using System.Data;
using System.Text;
using System.Windows.Forms;
namespace GYOMU_CHECK
{
public partial class MS0010 : Form
{
private User user;
CommonUtil comU = new CommonUtil();
MySqlCommand command = new MySqlCommand();
MySqlTran... |
using System;
using System.Collections.Generic;
using VideoStream.Models;
using VideoStream.ViewModels;
using Xamarin.Forms;
namespace VideoStream.Views
{
public partial class FirstPage : ContentView
{
public FirstPage()
{
InitializeComponent();
BackgroundColor = Color.... |
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... |
using UnityEngine;
using System.Collections.Generic;
public class Or : BasicMove
{
private Move[] moves;
public Or(params Move[] variableMoves) {
moves = variableMoves;
}
public override Move Clone() {
List<Move> clonedMoves = new List<Move> ();
foreach(Move m in moves) {
clonedMoves.Add (m.Clone ()); ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Thingy.WebServerLite.Api;
namespace Thingy.WebServerLite
{
public class UserFactory : IUserFactory
{
public IUser CreateFailedUser()
{
return new U... |
using MyForum.Domain;
using MyForum.Infrastructure.Exceptions;
using MyForum.Persistence;
using MyForum.Services.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyForum.Services
{
public class ThreadsService : IThreadsService... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EpisodeGrabber.Library.DAO;
using EpisodeGrabber.Library.Entities;
namespace EpisodeGrabber.Library.Services {
public interface IFetchService {
BusinessObject<List<EntityBase>> FetchMetadataByName(string name);
BusinessOb... |
using UnityEngine;
using System.Collections;
public class RightEdge : MonoBehaviour
{
public Main parent;
private void OnCollisionEnter(Collision col)
{
parent.UpdateRightScore();
}
} |
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 Interfaz
{
public partial class Paciente : Form
{
public Pacient... |
public interface IObserver<T> {
void Notify(T subject);
}
public interface IObserver<T1,T2> {
void Notify(T1 subject1, T2 subject2);
}
public interface IObserver<T1,T2, T3> {
void Notify(T1 subject1, T2 subject2, T3 subject3);
}
|
using NUnit.Framework;
namespace CaveDwellersTest
{
[TestFixture]
public abstract class AAATest
{
protected abstract void Arrange();
protected abstract void Act();
[TestFixtureSetUp]
public void ArrangeAct()
{
Arrange();
Act();
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Item : MonoBehaviour
{
[SerializeField] Rigidbody2D rb2d;
[SerializeField] Vector2 direction;//移動する方向
public float speed;
public int ItemNum;//アイテムとしての番号
// Start is called before the first frame update
... |
using Newtonsoft.Json;
namespace SecureNetRestApiSDK.Api.Models
{
public class UserDefinedField
{
#region Properties
[JsonProperty("udfName")]
public string UdfName { get; set; }
[JsonProperty("udfValue")]
public string UdfValue { get; set; }
#endregion
... |
namespace Projekt_PPR
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Oddane")]
public partial class Oddane
{
[Key]
[DatabaseGener... |
using UnityEngine;
public class BaseMove : MonoBehaviour
{
/// <summary>
/// 同步时间
/// </summary>
public float lastSendSyncTime = 0;
/// <summary>
/// 同步帧率
/// </summary>
public static float syncInterval = 0.02f;
// Use this for initialization
private void Start()
{
}
... |
using System;
using System.Collections.Generic;
using System.Text;
using Breeze.AssetTypes;
using Breeze.AssetTypes.StaticTemplates;
using Breeze.Screens;
namespace Breeze.Helpers
{
public static class StateHelper
{
public static ButtonVisualDescriptor GetState(this StaticTemplate template, ButtonSta... |
using System.Windows.Input;
using Inventory.ViewModels;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
namespace Inventory.Views
{
public sealed partial class OrderDishChoiceGrid : UserControl
{
... |
using System;
using System.Linq;
using System.Xml;
using System.Xml.Serialization;
using Breeze.AssetTypes.DataBoundTypes;
using Breeze.AssetTypes.XMLClass;
using Breeze.FontSystem;
using Breeze.Helpers;
using Breeze.Screens;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Breeze.Asse... |
using Sales.ViewModels;
using MahApps.Metro.Controls;
using Sales.SplashScreen;
using System.Threading;
using System.ServiceProcess;
using Sales.Models;
using Sales.Services;
using System.Linq;
using System.Data.Entity;
namespace Sales.Views.MainViews
{
public partial class MainWindow : MetroWindow
{
... |
using System.Collections.Generic;
using iSukces.Code.Interfaces;
namespace iSukces.Code.Irony
{
public abstract partial class RuleBuilder
{
public sealed class SequenceRule : RuleBuilder, IMap12
{
public SequenceRule(IReadOnlyList<SequenceItem> expressions, IReadOnlyList<MapInfo> ma... |
using Newtonsoft.Json;
namespace json_converter
{
public class PlcVar
{
public int id { get; set; }
public string type { get; set; }
public string name { get; set; }
public object value { get; set; }
[JsonIgnore]
public object valueref { get; set; }
}
} |
using System;
namespace Juicy.WindowsService.UnitTest
{
class MockSchedTask : ScheduledTask
{
public MockSchedTask() { }
protected override void Execute(DateTime scheduledDate)
{
Executed = true;
}
public bool Executed = false;
}
class MockPeriodTask : PeriodicalTask
{
public M... |
using System.Collections;
using System.Collections.Generic;
namespace Quark
{
public class DynamicTags : IEnumerable<object>
{
private readonly Dictionary<string, int> _tagc;
private readonly Dictionary<string, object> _tags;
public DynamicTags()
{
_tagc = new Dict... |
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.CustomFields.Fields;
using DFC.ServiceTaxonomy.CustomFields.ViewModels;
using OrchardCore.ContentManagement.Metadata.Models;
using OrchardCore.ContentTypes.Editors;
using OrchardCore.DisplayManagement.Views;
namespace DFC.ServiceTaxonomy.CustomFields.Settings
{
... |
using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public sealed partial class VlcManager
{
/// <summary>
/// Set if, and how, the video title will be shown when media is played.
/// </summary>
/// <param name="mediaPlayerInstance">The... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Animation2D : MonoBehaviour
{
#region transform objcect
protected GameObject m_cachedObject;
public GameObject thisObject
{
get
{
if (m_cachedObject == null)
... |
/**
* Copyright (C) 2005-2014 by Rivello Multimedia Consulting (RMC).
* code [at] RivelloMultimediaConsulting [dot] com
*
* Permission is hereby granted, free of charge, to an... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GangOfFourDesignPatterns.Behavioral.Observer
{
/// <summary>
/// Subject contains a collection of observers that will
/// receive notification when a Sto... |
namespace iSukces.Code
{
public sealed class CsConditionsPair
{
public CsConditionsPair(string condition, string inversed = null)
{
Condition = condition;
if (inversed is null)
inversed = $"!({condition})";
Inversed = inversed;
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(UpdatableSettings), true)]
public class UpdatableDataEditor : Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
UpdatableSettings data = (UpdatableSettings)target;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Descripción breve de SessionUser
/// </summary>
public class SessionUser
{
public SessionUser()
{
}
} |
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 Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
namespace ProjectDB2
{
public partial... |
using BugTracker.DataAccessLayer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BugTracker.BusinessLayer
{
class CompraService
{
CompraDao oCaompraDao;
CompraService()
{
oCaompraDao = new Compr... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PlayerCharacter : MonoBehaviour {
public float moveSpeed;
public float jumpSpeed;
bool canJump = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Inpu... |
using System.Threading.Tasks;
using Airelax.Application.Houses;
using Airelax.Application.Houses.Dtos.Request.ManageHouse;
using Airelax.Application.ManageHouses.Request;
using Airelax.Application.ManageHouses.Response;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Airelax.Contro... |
using RabbitMQ.Client.Service.Interfaces;
using RabbitMQ.Client.Service.Options;
using System;
using System.Collections.Generic;
using System.Text;
namespace RabbitMQ.Client.Service.Implementations
{
public class Publisher : IPublisher
{
private readonly IAMQPChannelProvider _amqpChannelProvider;
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Btn_level2_0 : BasePanel
{
Animator animator;
private void Start()
{
animator = GetComponent<Animator>();
GetComponent<Button>().onClick.AddListener(Bt... |
using UnityEngine;
[System.Serializable]
public struct LODInfo
{
[Range(0, MeshSettings.numSupportedLODs - 1)]
public int lod;
public float visibleDistanceThreshold;
public float sqrVisibleDstTresh { get { return visibleDistanceThreshold * visibleDistanceThreshold; } }
}
|
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Breeze.FontSystem
{
public static class MDL2SymbolsExtension
{
public static string AsChar(this MDL2Symbols symb)
{
return ((char)symb).ToStri... |
using Unity.Entities;
using UnityEngine;
namespace ECS.Hybrid.Systems
{
public class PlayerFiringSystem : ComponentSystem
{
private struct Filter
{
public InputComponent InputComponent;
}
protected override void OnUpdate()
{
if (Input.GetMouseBu... |
using System;
using Grasshopper.Kernel;
using PterodactylRh;
using PterodactylEngine;
using System.Drawing;
namespace Pterodactyl
{
public class ViewportGH : GH_Component
{
public ViewportGH()
: base("Viewport", "Viewport",
"Capture selected Rhino viewport and insert to report ... |
using Alabo.Web.Mvc.Attributes;
namespace Alabo.Cloud.Shop.Footprints.Domain.Enums
{
/// <summary>
/// 足迹类型
/// </summary>
[ClassProperty(Name = "足迹类型")]
public enum FootprintType
{
/// <summary>
/// 商品收藏
/// </summary>
Product = 1,
/// <summary... |
using System;
using System.Windows.Forms;
using MSProject = Microsoft.Office.Interop.MSProject;
namespace Project_PERT_Add_in_2016
{
public partial class frmCalcularPERT : Form
{
public frmCalcularPERT()
{
InitializeComponent();
if (Properties.Settings.Defaul... |
using System.Windows.Controls;
namespace WPF.NewClientl.UI.Dialogs
{
public partial class MeetingLoadingDialog : UserControl
{
public MeetingLoadingDialog()
{
InitializeComponent();
}
}
}
|
using System;
using System.Linq;
using System.Threading.Tasks;
using LinqToSqlWrongDistinctClauseReproduction.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.Extensions.Logging;
namespace LinqToSqlWrongDistinctClauseReproduction
{
public class Progr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unidade10.Fixacao
{
class IRPF
{
public static double Irpf(double salarioBruto,double reducao,double previdencia,double dependente,double INSS, double salario, double... |
using Microsoft.EntityFrameworkCore;
using Practise.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Practise.Infrastructure
{
public class AppDbContext : DbContext
{
public AppDbContext(DbContextOptions<AppDbCon... |
using System.ComponentModel.DataAnnotations;
using Profiling2.Domain.Prf.Sources;
namespace Profiling2.Web.Mvc.Areas.Hrdb.Controllers.ViewModels
{
public class JhroCaseViewModel
{
public int Id { get; set; }
[Required(ErrorMessage = "The case code is required.")]
public string CaseNumb... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Graph
{
class Graph
{
private const int NUM_VERTICES = 8;
private Vertex[] vertices;
private int[,] adjMatrix;
int numVerts;
public Graph()
{
vertices = ... |
using System;
namespace Week1b
{
class MainClass
{
public static void Main (string[] args)
{
int a = 1;
int b = 5;
int c = -30;
a = a + 1;
a += 1;
Console.WriteLine (a);
a -= 1;
a *= 4;
a /= 2;
Console.WriteLine (a);
a = 10;
int remainder = a ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task3
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Task 3\n");
Dictionary<int, string> dict = new Dictionary<int, st... |
using System.Collections.Generic;
//*************************************************************************
//@header EventManager
//@abstract Manage event.
//@discussion Provide functions like PublishEvent, AddListener and RemoveListener .
//@version v1.0.0
//@author Felix Zhang
//@copyright... |
using System.Globalization;
using CRMSecurityProvider.Sources.Attribute;
using Microsoft.Xrm.Sdk;
namespace AlphaSolutions.SitecoreCms.ExtendedCRMProvider.Sources.Repository.V5.Attribute
{
internal class CrmMoneyAttributeAdapter : CrmAttributeAdapter<Money>, ICrmDecimalAttribute, ICrmAttribute<decimal>, ICrmAttri... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Contracts
{
public interface IExploit
{
void Initialize(Threat threat);
void Exploit();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using iSukces.Code.Interfaces;
namespace iSukces.Code
{
public class CsAttribute : ClassMemberBase, ICsAttribute
{
public CsAttribute(string name)
{
Name = AttributableExt.CutAttributeSuffix(name);
}
... |
/**
* @author Looxidlabs
* @version 1.0
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Looxid.Link
{
public class LooxidLinkManager : MonoBehaviour
{
#region Singleton
private static LooxidLinkManager _instance;
public static LooxidL... |
using Microsoft.EntityFrameworkCore;
using RSS.Business.Interfaces;
using RSS.Business.Models;
using RSS.Data.Context;
using System;
using System.Threading.Tasks;
namespace RSS.Data.Repository
{
public class AddressRepository : Repository<Address>, IAddressRepository
{
public AddressRepository(Complet... |
using System;
using System.Diagnostics;
using System.IO;
using System.Security.Claims;
using ELearning.BAL;
using ELearning.helper;
using ELearning.Model;
using ELearning.Models;
using ELearning.Utility;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SongDuration
{
class Program
{
static void Main(string[] args)
{
//Adding extra comments
Console.WriteLine("Test the constructor by entering so... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rwd.Framework
{
public class User
{
public User()
{
FullName = string.Empty;
UserName = string.Empty;
IsAdmin = false;
MachineName = string.Empty;
... |
using Ricky.Infrastructure.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VnStyle.Services.Business.Models;
using VnStyle.Services.Data;
using VnStyle.Services.Data.Domain;
namespace VnStyle.Services.Business
{
public class ArtistsSe... |
// ***********************************************************************
// Assembly : Huawei.SCOM.ESightPlugin.WebServer
// Author : suxiaobo
// Created : 12-12-2017
//
// Last Modified By : suxiaobo
// Last Modified On : 12-12-2017
// *****************************************************... |
using BDTest.Attributes;
namespace BDTest.Tests;
public class CustomInformationAttribute : TestInformationAttribute
{
public CustomInformationAttribute(string information) : base(information)
{
}
} |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Windows.Storage;
using BibleBrowserUWP;
n... |
using RomashkaBase.Model;
using RomashkaBase.ViewModel;
using System;
using System.Collections.Generic;
using System.Text;
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.Windows.Media.I... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.