Show / Hide Table of Contents

    Struct GraphProperty<T>

    Implements
    IGraphProperty<T>
    IGraphProperty
    IEquatable<IGraphProperty>
    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.Graph.Communications.Common.Transport
    Assembly: Microsoft.Graph.Communications.Common.dll
    Syntax
    public struct GraphProperty<T> : IGraphProperty<T>, IGraphProperty, IEquatable<IGraphProperty>
    Type Parameters
    Name Description
    T

    Constructors

    GraphProperty(IGraphProperty<T>)

    Initializes a new instance of the GraphProperty<T> struct.

    Declaration
    public GraphProperty(IGraphProperty<T> property)
    Parameters
    Type Name Description
    IGraphProperty<T> property

    The property.

    GraphProperty(String, T, String)

    Initializes a new instance of the GraphProperty<T> struct.

    Declaration
    public GraphProperty(string key, T value, string type = null)
    Parameters
    Type Name Description
    String key

    The key.

    T value

    The value.

    String type

    The type.

    Properties

    Key

    Gets the key.

    Declaration
    public string Key { get; }
    Property Value
    Type Description
    String

    Type

    Gets the type of the property.

    Declaration
    public string Type { get; }
    Property Value
    Type Description
    String

    Value

    Declaration
    public T Value { get; }
    Property Value
    Type Description
    T

    Methods

    Equals(IGraphProperty)

    Declaration
    public bool Equals(IGraphProperty other)
    Parameters
    Type Name Description
    IGraphProperty other
    Returns
    Type Description
    Boolean

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Explicit Interface Implementations

    IGraphProperty.Value

    Gets the value.

    Declaration
    object IGraphProperty.Value { get; }
    Returns
    Type Description
    Object

    Implements

    IGraphProperty<T>
    IGraphProperty
    System.IEquatable<T>

    Extension Methods

    AdditionalDataExtensions.SetInAdditionalData(Object, String, Object)
    Extensions.Pin(Object)
    Extensions.ChangeType(Object, Type)
    Extensions.ChangeType<T>(Object)
    Extensions.TryDispose(Object, IGraphLogger)
    ReflectionUtils.GetPropertyUsingReflection(Object, String)
    ReflectionUtils.SetPropertyUsingReflection(Object, String, Object)
    Validator.IsNull(Object, String, String)
    Validator.NotNull<T>(T, String, String)
    Validator.Equals<T>(T, T, String, String)
    Validator.Equals<T, TE>(T, T, String)
    Validator.NotEquals<T>(T, T, String, String)
    GraphProperty.ConvertProperty<T>(IGraphProperty)
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.