Medusa.Siren.Schema.SirenEnumAttribute.LoadFrom C# (CSharp) Method

LoadFrom() public method

public LoadFrom ( Stream stream ) : bool
stream Stream
return bool
        public override bool LoadFrom(Stream stream)
        {
            Mode = (SirenEnumGenerateMode)stream.ReadUInt();
            Dir = stream.ReadString();
            return true;
        }