Microsoft.ResourceManagement.ObjectModel.RmAttributeName.RmAttributeName C# (CSharp) Method

RmAttributeName() protected method

Serialization constructor.
protected RmAttributeName ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo Stores all the data needed to serialize or deserialize an object.
context System.Runtime.Serialization.StreamingContext Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.
return System
        protected RmAttributeName(
            SerializationInfo info,
            StreamingContext context)
        {
            name = info.GetString("name");
            culture = (CultureInfo)info.GetValue("culture", typeof(CultureInfo));
            ComputeKey();
        }

Same methods

RmAttributeName::RmAttributeName ( String name ) : System
RmAttributeName::RmAttributeName ( String name, CultureInfo culture ) : System