//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using ; using ; CSharp template for protobuf-net. Options: General: "help" - this page Additional serializer support: "xml" - enable explicit xml support (XmlSerializer) "datacontract" - enable data-contract support (DataContractSerializer; requires .NET 3.0) "binary" - enable binary support (BinaryFormatter; not supported on Silverlight) Other: "protoRpc" - enable proto-rpc client "observable" - change notification (observer pattern) support "preObservable" - pre-change notification (observer pattern) support (requires .NET 3.5) "partialMethods" - provide partial methods for changes (requires C# 3.0) "detectMissing" - provide *Specified properties to indicate whether fields are present "lightFramework" - omit additional attributes not included in CF/Silverlight "asynchronous" - emit asynchronous methods for use with WCF "clientProxy" - emit asynchronous client proxy class "import" - additional namespaces to import (semicolon delimited) "fixCase" - change type/member names (types/properties become PascalCase; fields become camelCase) Invalid options: xml and data-contract serialization are mutually exclusive. // Option: xml serialization ([XmlType]/[XmlElement]) enabled // Option: data-contract serialization ([DataContract]/[DataMember]) enabled // Option: binary serialization (ISerializable) enabled // Option: observable (OnPropertyChanged) enabled // Option: pre-observable (OnPropertyChanging) enabled // Option: partial methods (On*Changing/On*Changed) enabled // Option: missing-value detection (*Specified/ShouldSerialize*/Reset*) enabled // Option: light framework (CF/Silverlight) enabled // Option: proto-rpc enabled // Generated from: namespace { } // Note: requires additional types generated from: //--------------------------------------------------------------------------------------- [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"")] [global::System.Runtime.Serialization.DataContract(Name=@"")] [global::System.Xml.Serialization.XmlType(TypeName=@"")] public partial class : global::ProtoBuf.IExtensible, global::System.Runtime.Serialization.ISerializable, global::System.ComponentModel.INotifyPropertyChanged, global::System.ComponentModel.INotifyPropertyChanging { public () {} protected (global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : this() { global::ProtoBuf.Serializer.Merge(info, this); } void global::System.Runtime.Serialization.ISerializable.GetObjectData(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) { global::ProtoBuf.Serializer.Serialize(info, this); } public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged; protected virtual void OnPropertyChanged(string propertyName) { if(PropertyChanged != null) PropertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(propertyName)); } public event global::System.ComponentModel.PropertyChangingEventHandler PropertyChanging; protected virtual void OnPropertyChanging(string propertyName) { if(PropertyChanging != null) PropertyChanging(this, new global::System.ComponentModel.PropertyChangingEventArgs(propertyName)); } private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } } //--------------------------------------------------------------------------------------- [global::ProtoBuf.ProtoContract(Name=@"")] [global::System.Runtime.Serialization.DataContract(Name=@"")] [global::System.Xml.Serialization.XmlType(TypeName=@"")] public enum { } 0 [global::ProtoBuf.ProtoEnum(Name=@"", Value=)] [global::System.Runtime.Serialization.EnumMember(Value=@"")] [global::System.Xml.Serialization.XmlEnum(@"")] = , @ |abstract|as|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while| FixedSize Group TwosComplement ZigZag Default struct struct struct struct struct struct struct struct struct class class struct struct struct struct struct struct none Field type not implemented: (.) double double float long ulong int ulong uint bool string byte[] uint int long int long Field type not implemented: (.) @"" . /* */ null () . . "" null null . default() global::System.Obsolete, ? private = ; [global::ProtoBuf.ProtoMember(, IsRequired = false, Name=@"", DataFormat = global::ProtoBuf.DataFormat.)] [global::System.ComponentModel.DefaultValue()] [global::System.Xml.Serialization.XmlElement(@"", Order = )] [global::System.Runtime.Serialization.DataMember(Name=@"", Order = , IsRequired = false)] private ; [global::ProtoBuf.ProtoMember(, IsRequired = true, Name=@"", DataFormat = global::ProtoBuf.DataFormat.)] [global::System.Xml.Serialization.XmlElement(@"", Order = )] [global::System.Runtime.Serialization.DataMember(Name=@"", Order = , IsRequired = true)] public { get { return ; } set { OnChanging(value); OnPropertyChanging(@""); = value; OnPropertyChanged(@""); OnChanged();} } partial void OnChanging( value); partial void OnChanged(); [global::System.Xml.Serialization.XmlIgnore] [global::System.ComponentModel.Browsable(false)] public bool Specified { get { return this. != null; } set { if (value == (this.== null)) this. = value ? this. : ()null; } } private bool ShouldSerialize() { return Specified; } private void Reset() { Specified = false; } private readonly global::System.Collections.Generic.List<> = new global::System.Collections.Generic.List<>(); [global::ProtoBuf.ProtoMember(, Name=@"", DataFormat = global::ProtoBuf.DataFormat., Options = global::ProtoBuf.MemberSerializationOptions.Packed)] [global::System.Runtime.Serialization.DataMember(Name=@"", Order = , IsRequired = false)] [global::System.Xml.Serialization.XmlElement(@"", Order = )] public global::System.Collections.Generic.List<> { get { return ; } set { = value; } } // /// <summary> /// /// </summary> /// <summary> /// /// </summary> /// <summary> /// /// </summary> /// <summary> /// /// </summary> /// <summary> /// /// </summary> /// <summary> /// /// </summary>