CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
HostPropertyAttribute.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="HostPropertyAttribute.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>HostPropertyAttribute is used on components to </summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Windows
11{
17 public class HostPropertyAttribute : Attribute
18 {
19
20 #region Property Fields
21
22 private string _hostPropertyName = string.Empty;
23
24 #endregion
25
26 #region Properties
27
31 public string HostPropertyName
32 {
33 get { return (_hostPropertyName); }
34 }
35
36 #endregion
37
38 #region Constructors
39
44 public HostPropertyAttribute(string hostPropertyName)
45 {
46 _hostPropertyName = hostPropertyName;
47 }
48
49 #endregion
50
51 }
52}
HostPropertyAttribute is used on components to indicate the property on the component that is to be u...
string HostPropertyName
HostPropertyName gets the host property name.
HostPropertyAttribute(string hostPropertyName)
Constructor creates a new HostPropertyAttribute object instance using the information supplied.