text stringlengths 1 932k |
|---|
// ---------------------------------------------------------------------------------------
// Copyright Shiju P K 2021
//
// FILENAME: IExpressionVisitor.cs
// ----------------------------------------------------------------------------------------
#region
using Yano.Expression;
#endregion
namespace Yano.Interfac... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Cynosura.Studio.Data.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Create... |
using System.Collections.Generic;
namespace MeetAndGo.Interfaces
{
public interface ISimilarBuilding
{
List<Model.Building> GetAll(int id);
}
} |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... |
/*
* Exchange Web Services Managed API
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
*
* 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 restr... |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
// *******************************************************************
//
// Copyright (c) 2012-2014 Antmicro
//
// 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, includ... |
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Globalization;
using ISAAR.MSolve.Geometry.Shapes;
using ISAAR.MSolve.FEM.Entities;
using ISAAR.MSolve.FEM.Elements;
using ISAAR.MSolve.Discretization.Mesh;
using ISAAR.MSolve.Discretization;
using ISAAR.MSolve.Discretiz... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
#region Copyright
//
// DotNetNuke® - http://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DNN Corporation
//
// 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, i... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the addition of the... |
namespace CommandApi.Internal.Requests
{
using System;
using Newtonsoft.Json;
/// <summary>
/// Represents the data sent in response to receiving a valid command.
/// </summary>
internal class CommandResponse
{
/// <summary>
/// Initializes a new instance of the <see cref=... |
using Raven.Client.Documents;
using Raven.Client.Documents.Operations;
using Raven.Client.Exceptions;
using Raven.Client.Exceptions.Database;
using Raven.Client.ServerWide;
using Raven.Client.ServerWide.Operations;
using Sample.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Thr... |
//using System;
//using System.Collections.Generic;
//using System.ComponentModel.Composition;
//using System.Linq;
//using Microsoft.JSON.Core.Parser;
//using Microsoft.JSON.Core.Validation;
//using Microsoft.VisualStudio.Utilities;
//namespace MadsKristensen.EditorExtensions.JSON
//{
// [Export(typeof(IJSONItemV... |
@model Property
<div class="bg-white box-shadow-1 z-index-10 position-relative p-top-60 p-bottom-30">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="clearfix">
<div class="badge badge-success pull-left m-bottom-15 p-top-8 p-righ... |
namespace Sitecore.Feature.Accounts.Services.FacetUpdaters
{
using System;
using System.Collections.Generic;
using Sitecore.Diagnostics;
using Sitecore.Security;
using Sitecore.XConnect;
using Sitecore.XConnect.Collection.Model;
public class AvatarFacetUpdater : IContactFacetUpdater
{
... |
@using Sample.Website
@using Sample.Website.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
@using TattooShop.Web
@using TattooShop.Web.Models
@using TattooShop.Data.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
/*
* Copyright (C) 2007, Dave Watson <dwatson@mimvista.com>
* Copyright (C) 2008, Robin Rosenberg <robin.rosenberg@dewire.com>
* Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
* Copyright (C) 2008, Thad Hughes <thadh@thad.corp.google.com>
* Copyright (C) 2009, JetBrains s.r.o.
* Copyright (C) 2009, Goo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _14.Number_Table
{
class Program
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
for (int row = 0; row < n; row++)
... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
#nullable disable
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Razor... |
using Blazored.FluentValidation;
using Blazored.LocalStorage;
using Common.DataTransferObjects;
using FluentValidation;
using FluentValidation.Results;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using Radzen;
using System;
using System.Collections.Generic;
using System.Lin... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.IO;
using System.Security.Principal;
using System.IO.Compression;
using System.Net;
using System.Text.RegularExpressions;
using Internals;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System.Thre... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("2-i... |
//
// RouteCollection.cs
//
// Author:
// Atsushi Enomoto <atsushi@ximian.com>
//
// Copyright (C) 2008 Novell Inc. http://novell.com
//
//
// 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... |
using UnityEngine;
public class Hoge464 : MonoBehaviour{
void Start(){
Debug.Log(Hoge464.GetIndex());
}
void Update(){
}
public static int GetIndex(){ return 464; }
public int GetIndex0(){ return 0; }
public int GetIndex1(){ return 1; }
public int GetIndex2(){ return 2; }
public int GetIndex3(){ return 3; }
... |
using OnlineSinav.DAL.Concrete.EntityFramework.Mapping;
using OnlineSinav.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnlineSinav.DAL.Concrete.EntityFramework
{
public class OnlineSinavDbContext : Db... |
using System;
using System.IO;
using System.Xml;
namespace Xiant.Filer.Core
{
public abstract class PadFile
{
public static PadFile CreatePadFile(Uri padUri)
{
return new PadFileUri(padUri);
}
public static PadFile CreatePadFileFromText(string padFile)
{
... |
using MetroSet_UI.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace MetroSet_UI_Example
{
public partial class Form1 : MetroSetForm
{
public Form1()
{
... |
using System;
using System.ComponentModel;
namespace Problem_2.Laptop_Shop
{
class Laptop
{
private string model;
private string manufactorer;
private string processor;
private int Ram; //GB
private string graphicsCard;
private int Hdd; //GB
private s... |
using System;
using System.Linq;
using Bogus;
using Microsoft.EntityFrameworkCore;
using SmallRetail.Data.Models;
namespace SmallRetail.Data
{
public class SmallRetailDbContext : DbContext
{
public SmallRetailDbContext()
{ }
public SmallRetailDbContext(DbContextOptions options) : base... |
using Xunit;
namespace csharp_learning
{
public class UniTest10
{
private class Base
{
public string Method1()
{
return "Base.method1";
}
//虚函数能够被重载,能够多态
public virtual string Method2()
{
re... |
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace honestus
{
public static class TextFileHelper
{
public static void RegexReplace(string path, string pattern, string replacement, Encoding encoding)
{
string content;
using (var reader =... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
public delegate byte ModDele(sbyte p1, ref string p2);
public enum ModEnum : ulong
{
None = 0, Red = 255, White... |
namespace Sandbox
{
public class CarAnimator : PawnAnimator
{
public override void Simulate()
{
ResetParams();
SetParam( "b_grounded", true );
SetParam( "b_sit", true );
var eyeAngles = (Pawn.Rotation.Inverse * Pawn.EyeRot).Angles();
eyeAngles.pitch = eyeAngles.pitch.Clamp( -25, 70 );
eyeAng... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
namespace DbModelGenerator.Parser.Ast
{
public abstract class CreateTableStatement
{
}
} |
/*
* Copyright 2018 Jan Tschada
*
* 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 applicable law or agreed ... |
namespace ConvertingToMVC
{
using System.Collections.Generic;
using System.Linq;
public class ToDoService
{
// These would normally be loaded from a database for example
private static readonly List<ToDoListModel> _items = new List<ToDoListModel>
{
new ToDoListModel... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using System.Drawing;
using Facebook.Yoga;
using NUnit.Framework;
using System;
using UIKit;
using CoreGraphics;
namespace Facebook.YogaKit.iOS.Tests
{
[TestFixture]
public class YogaKitNativeTest
{
[Test]
public void ScrollViewVertical()
{
var view = new UIScrollView() {
Frame = ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MV... |
//------------------------------------------------------------
// Author: 烟雨迷离半世殇
// Mail: 1778139321@qq.com
// Data: 2021年9月1日 21:27:41
//------------------------------------------------------------
using MonKey;
using UnityEditor;
namespace ET
{
public class ExcelExport
{
[Command("ETEditor_DoExcel... |
// Copyright (c) Arjen Post. See LICENSE and NOTICE in the project root for license information.
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tas... |
using Bhbk.Lib.Waf.IpAddress;
using System.Net;
using Xunit;
using FakeConstants = Bhbk.Lib.Waf.Tests.Primitives.Constants;
namespace Bhbk.Lib.Waf.Tests.IpAddress
{
public class MultipleRangeIPv4Tests
{
[Fact]
public void MultipleIPv4AllowRangeMatch()
{
Assert.True(CheckAct... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.ML.Core.Data;
using Microsoft.ML.Data;
using Microsoft.ML.Runtime;
using Microsoft.ML.Runtime.Comman... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winnt.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System;... |
using System.Collections.Generic;
using Clarity.Common.Infra.ActiveModel;
using Clarity.Common.Infra.ActiveModel.ClassEmitting;
using Clarity.Common.Infra.DependencyInjection;
using Clarity.Common.Infra.TreeReadWrite;
using Clarity.Common.Infra.TreeReadWrite.DiffBuilding;
using Clarity.Common.Infra.TreeReadWrite.Forma... |
using System.ComponentModel.DataAnnotations;
using Abp.Authorization.Users;
namespace ClubTest.Models.TokenAuth
{
public class ExternalAuthenticateModel
{
[Required]
[StringLength(UserLogin.MaxLoginProviderLength)]
public string AuthProvider { get; set; }
[Required]
[S... |
// dnlib: See LICENSE.txt for more info
using System;
using System.IO;
namespace dnlib.DotNet.Writer {
/// <summary>
/// Helps <see cref="SignatureWriter"/> map <see cref="ITypeDefOrRef"/>s to tokens
/// </summary>
public interface ISignatureWriterHelper : IWriterError {
/// <summary>
/// Returns a <c>TypeDef... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Diagnostics;
namespace StarkPlatform.CodeAnalysis.Debugging
{
internal struct DebuggingStateChangedEventArgs
{
public readonly ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace until.system
{
[DefaultExecutionOrder(until.system.settings.UntilBehaviorOrder.System_GameObjectManagementBehavior)]
public class GameObjectManagementBehavior : Behavior
{
void Update()
{
... |
using System.Collections.Generic;
using System.Linq;
using Enigma.Store;
using Enigma.Store.Indexes;
using Enigma.Store.Keys;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Enigma.Test.Index
{
[TestClass]
public class ComparableIndexTests
{
private static IComparableIndexAlgorithm<... |
namespace Adaptive.ReactiveTrader.Messaging.Abstraction
{
internal static class OperationKeys
{
public const string ClientId = "OperationClientId";
public const string ServerId = "OperationServerId";
}
} |
using eSDK_OBS_API.OBS.Util;
/*
* Copyright 2010-2013 OBS.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
*
*
* or in the "licen... |
using System;
using System.Drawing;
using System.Linq;
using System.Xml.Linq;
namespace DFWV.WorldClasses
{
public enum ReferenceType
{
// ReSharper disable InconsistentNaming
UNKNOWN_REFERENCE_TYPE,
ARTIFACT,
IS_ARTIFACT,
NEMESIS,
IS_NEMESIS,
ITEM,
... |
@{
Layout = "_Layout";
}
@using Registrar.Models;
<h1>Courses</h1>
@if (@Model.Count == 0)
{
<h3>No courses have been added yet.</h3>
}
<ul>
@foreach (Course course in Model)
{
<li>@Html.ActionLink($"{course.Name}", "Details", new { id = course.CourseId })</li>
}
</ul>
<p>@Html.ActionLink("Add new course", ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WATF.Core.WebControls.HtmlControls
{
public class HtmlLink : HtmlControl
{
public HtmlLink(WATF.Core.Page.IPage page, mshtml.IHTMLElement elem)
: base(page, elem)
{
this.m_Pa... |
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
using System.Web.Helpers.Resources;
namespace System.Web.Helpers
{
public static class Crypto
{
private const int PBKDF2IterCount = 1000; // d... |
using System;
using System.Collections.Generic;
using Apache.NMS;
using PRISM;
namespace AnalysisManagerBase.StatusReporting
{
/// <summary>
/// Sends messages to ActiveMQ message broker using NMS client library
/// </summary>
internal class MessageSender
{
private readonly string mTopicNa... |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... |
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.L... |
namespace WpfAnalyzers.Test.WPF0017MetadataMustBeAssignableTests
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
public static class Diagnostics
{
private static readonly DiagnosticAnalyzer Analyzer = new OverrideMetadataAnalyzer();
privat... |
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using KSP.UI.Screens;
namespace KerbalHealth
{
[KSPAddon(KSPAddon.Startup.EditorAny, false)]
class KerbalHealthEditorReport : MonoBehaviour
{
ApplicationLauncherButton appLauncherButton;
IButton toolbarButton;
bo... |
---
Order: 10
xref: package-validator-rules
Title: Package Validator Rules
Description: Information on the Package Validator rules
HideChildPages: true
---
<p>There are 4 different types of Package Validator rules:</p>
<ul>
<li><a href="#requirements">Requirements</a></li>
<li><a href="#guidelines">Guidelines</a></... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using CommunityToolkit.Mvvm.Messaging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
#pragma wa... |
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.Windows.Media.Imaging;... |
using System;
using System.Diagnostics;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using app.Divers;
using app.Services;
namespace app
{
public static class AccountsGenerator
{
public static async Task Generate(string proxyPath, ushort number, string output)
{
... |
using System;
using System.Net;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
using iChronoMe.Core.Types;
namespace iChronoMe.Core.Classes
{
public static class TimeHolder
{
static string[] ntpServers = { "0.pool.ntp.org",
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Tcc.Chatbot.Model
{
public class Aluno
{
public int Id { get; set; }
public string Nome { get; set; }
public int Inscricao { get; set; }
public Matricula Matricula { get; set; }... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Sulli.Game.Core.Verification
{
/// <summary>
/// 类型验证容器扩展
/// </summary>
public static class TypeValidatorContainerExten... |
using System;
using System.Runtime.CompilerServices;
using Android.Content;
using Android.Util;
using Android.Views.InputMethods;
using AndroidX.AppCompat.App;
using AndroidX.Fragment.App;
using AActivity = Android.App.Activity;
using AApplicationInfoFlags = Android.Content.PM.ApplicationInfoFlags;
using AFragmentManag... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using MedicalExaminer.API.Attributes;
using MedicalExaminer.API.Models.v1.Examinations;
using MedicalExaminer.Models.Enums;
namespace MedicalExaminer.API.Models.v1.PatientDetails
{
/// <summary>
/// Response retur... |
// -----------------------------------------------------------------------
// <copyright file="WindowsShareException.cs" company="Uhuru Software, Inc.">
// Copyright (c) 2011 Uhuru Software, Inc., All Rights Reserved
// </copyright>
// -----------------------------------------------------------------------
namespace ... |
using AllisonOwenWedding.DataAccess;
using AllisonOwenWedding.Models;
using System.Threading.Tasks;
namespace AllisonOwenWedding.Services
{
/// <summary>
/// For doing wedding operations.
/// </summary>
public interface IWeddingService
{
/// <summary>
/// Attempt to find the weddin... |
using System;
namespace Hygiene
{
/// <summary>
/// Provides common operations for an <see cref="Int32"/> sanitizer
/// as extension methods for syntactic sugar.
/// </summary>
public static class IntegerExtensions
{
/// <summary>
/// Returns the larger of two 32-bit signed int... |
using microCommerce.Mvc.Controllers;
using Microsoft.AspNetCore.Mvc;
using System.Text;
namespace microCommerce.DirectoryApi.Controllers
{
[Route("/")]
public class HomeController : ServiceBaseController
{
[HttpGet]
public IActionResult Get()
{
return Content("Directory... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - PollBall</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/site.... |
//
// BlobStoreWriter.cs
//
// Author:
// Zachary Gramana <zack@xamarin.com>
//
// Copyright (c) 2013, 2014 Xamarin Inc (http://www.xamarin.com)
//
// 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 ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Actions/Level")]
public class ActionLevel : ScriptableObject {
public Color background;
public Color text;
public Color count;
public Color cooldown;
public float cooldownTime;
public Au... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System.Collections.Generic;
using JetBrains.Annotations;
namespace QuikGraph
{
/// <summary>
/// Represents a mutable set of vertices.
/// </summary>
/// <typeparam name="TVertex">Vertex type.</typeparam>
public interface IMutableVertexSet<TVertex> : IVertexSet<TVertex>
{
/// <sum... |
// <auto-generated /> Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace Microsoft.Bot.Connector.Teams.Models
{
using System.Linq;
/// <summary>
/// Upload information for the file.
/// </summary>
... |
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.Windows.Navigati... |
using Breeze.NHibernate.Tests.Models.Attributes;
namespace Breeze.NHibernate.Tests.Models
{
public class ClientOrderRow : IClientModel
{
public long Id { get; set; }
public bool IsNew() => Id <= 0;
[NotNull]
public ClientOrder ClientOrder { get; set; }
public Product... |
using System;
namespace Geonorge.Kartografi.Areas.HelpPage
{
/// <summary>
/// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class.
/// </summary>
public class InvalidSample
{
public InvalidSample(string errorMessage)... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace C... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Buffers;
using System.Collections.Generic;
using System.Diagnostics;
using System.Formats.Asn1;
using System.Runtime.InteropServices;
using System.Security.Cryptography.... |
using CadEditor;
using System.Collections.Generic;
public class Data
{
public OffsetRec[] getScreensOffsetsForLevels() {
var ans = new OffsetRec[] {
new OffsetRec(0x81e3, 10, 64, 8, 8),
new OffsetRec(0x8463, 7, 48, 8, 6),
};
return ans;
}
public bool isBuildScreenFromSmallBlocks() { ... |
using CleanArchitecture.Domain.Entities;
using CleanArchitecture.Infrastructure.Identity;
using Microsoft.AspNetCore.Identity;
using System.Linq;
using System.Threading.Tasks;
namespace CleanArchitecture.Infrastructure.Persistence
{
public static class ApplicationDbContextSeed
{
public static async Ta... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Xamarin.Forms.Controls.Issues.Helpers
{
public interface ISampleNativeControl
{
View View { get; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using TMPro;
namespace Mechanics.Dialog
{
/// <summary>
/// A flag used to abort animations or processes early.
/// </summary>
public class InterruptionFlag
{
public bool Interrupted { get; private... |
using System;
using System.Collections.Generic;
namespace PersonExample.Models
{
public partial class Person
{
public Person()
{
Phone = new HashSet<Phone>();
}
public long Id { get; set; }
public string Name { get; set; }
public short? Age { get; s... |
using System;
using System.Text.Json.Serialization;
namespace Azure.WindowsWirtualDesktop.Models
{
public class RegistrationInfo : SerializableResource<RegistrationInfo>
{
[JsonPropertyName("tenantName")]
public string TenantName { get; set; }
[JsonPropertyName("tenantGroupName")]
... |
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Persistence.Migrations
{
public partial class initialrental : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_IndividualCus... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.