public OpenIndexSecurityPanelCommand(ExpressionIndexSecurity security)
		{
			if (security == null)
				throw new ArgumentNullException("security");

			Security = security;
		}
        /// <summary>
        /// Создать копию объекта <see cref="Security"/>.
        /// </summary>
        /// <returns>Копия объекта.</returns>
        public override Security Clone()
        {
            var clone = new ExpressionIndexSecurity {
                Expression = Expression
            };

            CopyTo(clone);
            return(clone);
        }
Exemplo n.º 3
0
		/// <summary>
		/// Initializes a new instance of the <see cref="IndexSecurityWindow"/>.
		/// </summary>
		public IndexSecurityWindow()
		{
			InitializeComponent();
			IndexSecurity = new ExpressionIndexSecurity();
		}
Exemplo n.º 4
0
		/// <summary>
		/// Create a copy of <see cref="Security"/>.
		/// </summary>
		/// <returns>Copy.</returns>
		public override Security Clone()
		{
			var clone = new ExpressionIndexSecurity { Expression = Expression };
			CopyTo(clone);
			return clone;
		}