EventProperty.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Diagnostics / Eventing / Reader / EventProperty.cs / 1305376 / EventProperty.cs

                            // ==++== 
//
//   Copyright (c) Microsoft Corporation.  All rights reserved.
//
// ==--== 
/*============================================================
** 
** Class: EventProperty 
**
** Purpose: 
** This public class defines the methods / properties for the
** individual Data Values of an EventRecord.  Instances of this
** class are obtained from EventRecord.
** 
============================================================*/
using System; 
 
namespace System.Diagnostics.Eventing.Reader {
    [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] 
    public sealed class EventProperty {
        private object value;

        internal EventProperty(object value) { 
            this.value = value;
        } 
 
        public object Value {
            get { 
                return value;
            }
        }
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// ==++== 
//
//   Copyright (c) Microsoft Corporation.  All rights reserved.
//
// ==--== 
/*============================================================
** 
** Class: EventProperty 
**
** Purpose: 
** This public class defines the methods / properties for the
** individual Data Values of an EventRecord.  Instances of this
** class are obtained from EventRecord.
** 
============================================================*/
using System; 
 
namespace System.Diagnostics.Eventing.Reader {
    [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] 
    public sealed class EventProperty {
        private object value;

        internal EventProperty(object value) { 
            this.value = value;
        } 
 
        public object Value {
            get { 
                return value;
            }
        }
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK