Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace DNDUtility.ContentService {
- using System.Runtime.Serialization;
- using System;
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="ContentIdentifier", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
- [System.SerializableAttribute()]
- public partial class ContentIdentifier : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
- [System.NonSerializedAttribute()]
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private System.Nullable<int> ContentIDField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private bool OfficialField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private System.Nullable<int> OfficialTypeIDField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private System.Nullable<int> ScratchIDField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private int TypeIDField;
- [global::System.ComponentModel.BrowsableAttribute(false)]
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
- get {
- return this.extensionDataField;
- }
- set {
- this.extensionDataField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public System.Nullable<int> ContentID {
- get {
- return this.ContentIDField;
- }
- set {
- if ((this.ContentIDField.Equals(value) != true)) {
- this.ContentIDField = value;
- this.RaisePropertyChanged("ContentID");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public bool Official {
- get {
- return this.OfficialField;
- }
- set {
- if ((this.OfficialField.Equals(value) != true)) {
- this.OfficialField = value;
- this.RaisePropertyChanged("Official");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public System.Nullable<int> OfficialTypeID {
- get {
- return this.OfficialTypeIDField;
- }
- set {
- if ((this.OfficialTypeIDField.Equals(value) != true)) {
- this.OfficialTypeIDField = value;
- this.RaisePropertyChanged("OfficialTypeID");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public System.Nullable<int> ScratchID {
- get {
- return this.ScratchIDField;
- }
- set {
- if ((this.ScratchIDField.Equals(value) != true)) {
- this.ScratchIDField = value;
- this.RaisePropertyChanged("ScratchID");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public int TypeID {
- get {
- return this.TypeIDField;
- }
- set {
- if ((this.TypeIDField.Equals(value) != true)) {
- this.TypeIDField = value;
- this.RaisePropertyChanged("TypeID");
- }
- }
- }
- public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
- protected void RaisePropertyChanged(string propertyName) {
- System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
- if ((propertyChanged != null)) {
- propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
- }
- }
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="IdentifierWithVersion", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
- [System.SerializableAttribute()]
- public partial class IdentifierWithVersion : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
- [System.NonSerializedAttribute()]
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private DNDUtility.ContentService.ContentIdentifier IdentifierField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private byte[] VersionField;
- [global::System.ComponentModel.BrowsableAttribute(false)]
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
- get {
- return this.extensionDataField;
- }
- set {
- this.extensionDataField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public DNDUtility.ContentService.ContentIdentifier Identifier {
- get {
- return this.IdentifierField;
- }
- set {
- if ((object.ReferenceEquals(this.IdentifierField, value) != true)) {
- this.IdentifierField = value;
- this.RaisePropertyChanged("Identifier");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public byte[] Version {
- get {
- return this.VersionField;
- }
- set {
- if ((object.ReferenceEquals(this.VersionField, value) != true)) {
- this.VersionField = value;
- this.RaisePropertyChanged("Version");
- }
- }
- }
- public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
- protected void RaisePropertyChanged(string propertyName) {
- System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
- if ((propertyChanged != null)) {
- propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
- }
- }
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="TooMuchContentFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- [System.SerializableAttribute()]
- public partial class TooMuchContentFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
- [System.NonSerializedAttribute()]
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private int ContentTypeField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private int MaxAllowedField;
- [global::System.ComponentModel.BrowsableAttribute(false)]
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
- get {
- return this.extensionDataField;
- }
- set {
- this.extensionDataField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public int ContentType {
- get {
- return this.ContentTypeField;
- }
- set {
- if ((this.ContentTypeField.Equals(value) != true)) {
- this.ContentTypeField = value;
- this.RaisePropertyChanged("ContentType");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public int MaxAllowed {
- get {
- return this.MaxAllowedField;
- }
- set {
- if ((this.MaxAllowedField.Equals(value) != true)) {
- this.MaxAllowedField = value;
- this.RaisePropertyChanged("MaxAllowed");
- }
- }
- }
- public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
- protected void RaisePropertyChanged(string propertyName) {
- System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
- if ((propertyChanged != null)) {
- propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
- }
- }
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="TooMuchScratchFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- [System.SerializableAttribute()]
- public partial class TooMuchScratchFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
- [System.NonSerializedAttribute()]
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private int ContentTypeField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private int MaxAllowedField;
- [global::System.ComponentModel.BrowsableAttribute(false)]
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
- get {
- return this.extensionDataField;
- }
- set {
- this.extensionDataField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public int ContentType {
- get {
- return this.ContentTypeField;
- }
- set {
- if ((this.ContentTypeField.Equals(value) != true)) {
- this.ContentTypeField = value;
- this.RaisePropertyChanged("ContentType");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public int MaxAllowed {
- get {
- return this.MaxAllowedField;
- }
- set {
- if ((this.MaxAllowedField.Equals(value) != true)) {
- this.MaxAllowedField = value;
- this.RaisePropertyChanged("MaxAllowed");
- }
- }
- }
- public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
- protected void RaisePropertyChanged(string propertyName) {
- System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
- if ((propertyChanged != null)) {
- propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
- }
- }
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="ContentInfo", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
- [System.SerializableAttribute()]
- public partial class ContentInfo : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
- [System.NonSerializedAttribute()]
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private DNDUtility.ContentService.ContentDetails CommittedContentField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private System.Guid OwnerIDField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private DNDUtility.ContentService.UserContentRights RightsField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private DNDUtility.ContentService.ContentDetails[] ScratchContentsField;
- [global::System.ComponentModel.BrowsableAttribute(false)]
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
- get {
- return this.extensionDataField;
- }
- set {
- this.extensionDataField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public DNDUtility.ContentService.ContentDetails CommittedContent {
- get {
- return this.CommittedContentField;
- }
- set {
- if ((object.ReferenceEquals(this.CommittedContentField, value) != true)) {
- this.CommittedContentField = value;
- this.RaisePropertyChanged("CommittedContent");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public System.Guid OwnerID {
- get {
- return this.OwnerIDField;
- }
- set {
- if ((this.OwnerIDField.Equals(value) != true)) {
- this.OwnerIDField = value;
- this.RaisePropertyChanged("OwnerID");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public DNDUtility.ContentService.UserContentRights Rights {
- get {
- return this.RightsField;
- }
- set {
- if ((this.RightsField.Equals(value) != true)) {
- this.RightsField = value;
- this.RaisePropertyChanged("Rights");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public DNDUtility.ContentService.ContentDetails[] ScratchContents {
- get {
- return this.ScratchContentsField;
- }
- set {
- if ((object.ReferenceEquals(this.ScratchContentsField, value) != true)) {
- this.ScratchContentsField = value;
- this.RaisePropertyChanged("ScratchContents");
- }
- }
- }
- public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
- protected void RaisePropertyChanged(string propertyName) {
- System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
- if ((propertyChanged != null)) {
- propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
- }
- }
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="ContentDetails", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
- [System.SerializableAttribute()]
- public partial class ContentDetails : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
- [System.NonSerializedAttribute()]
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private int ContentTypeIDField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private System.DateTime DateCreatedField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private System.DateTime DateModifiedField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private string DetailsField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private DNDUtility.ContentService.ContentIdentifier IdentifierField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private DNDUtility.ContentService.ContentBlob PortraitField;
- [global::System.ComponentModel.BrowsableAttribute(false)]
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
- get {
- return this.extensionDataField;
- }
- set {
- this.extensionDataField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public int ContentTypeID {
- get {
- return this.ContentTypeIDField;
- }
- set {
- if ((this.ContentTypeIDField.Equals(value) != true)) {
- this.ContentTypeIDField = value;
- this.RaisePropertyChanged("ContentTypeID");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public System.DateTime DateCreated {
- get {
- return this.DateCreatedField;
- }
- set {
- if ((this.DateCreatedField.Equals(value) != true)) {
- this.DateCreatedField = value;
- this.RaisePropertyChanged("DateCreated");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public System.DateTime DateModified {
- get {
- return this.DateModifiedField;
- }
- set {
- if ((this.DateModifiedField.Equals(value) != true)) {
- this.DateModifiedField = value;
- this.RaisePropertyChanged("DateModified");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public string Details {
- get {
- return this.DetailsField;
- }
- set {
- if ((object.ReferenceEquals(this.DetailsField, value) != true)) {
- this.DetailsField = value;
- this.RaisePropertyChanged("Details");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public DNDUtility.ContentService.ContentIdentifier Identifier {
- get {
- return this.IdentifierField;
- }
- set {
- if ((object.ReferenceEquals(this.IdentifierField, value) != true)) {
- this.IdentifierField = value;
- this.RaisePropertyChanged("Identifier");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public DNDUtility.ContentService.ContentBlob Portrait {
- get {
- return this.PortraitField;
- }
- set {
- if ((object.ReferenceEquals(this.PortraitField, value) != true)) {
- this.PortraitField = value;
- this.RaisePropertyChanged("Portrait");
- }
- }
- }
- public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
- protected void RaisePropertyChanged(string propertyName) {
- System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
- if ((propertyChanged != null)) {
- propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
- }
- }
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="UserContentRights", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- public enum UserContentRights : int {
- [System.Runtime.Serialization.EnumMemberAttribute()]
- Owner = 0,
- [System.Runtime.Serialization.EnumMemberAttribute()]
- Observer = 1,
- [System.Runtime.Serialization.EnumMemberAttribute()]
- Contributor = 2,
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="ContentBlob", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
- [System.SerializableAttribute()]
- [System.Runtime.Serialization.KnownTypeAttribute(typeof(DNDUtility.ContentService.UriContentBlob))]
- [System.Runtime.Serialization.KnownTypeAttribute(typeof(DNDUtility.ContentService.RawContentBlob))]
- public partial class ContentBlob : DNDUtility.ContentService.NotifyPropertyChangedBase {
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="NotifyPropertyChangedBase", Namespace="http://schemas.datacontract.org/2004/07/WotC.XAMLUtilities")]
- [System.SerializableAttribute()]
- [System.Runtime.Serialization.KnownTypeAttribute(typeof(DNDUtility.ContentService.ContentBlob))]
- [System.Runtime.Serialization.KnownTypeAttribute(typeof(DNDUtility.ContentService.UriContentBlob))]
- [System.Runtime.Serialization.KnownTypeAttribute(typeof(DNDUtility.ContentService.RawContentBlob))]
- public partial class NotifyPropertyChangedBase : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
- [System.NonSerializedAttribute()]
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
- [global::System.ComponentModel.BrowsableAttribute(false)]
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
- get {
- return this.extensionDataField;
- }
- set {
- this.extensionDataField = value;
- }
- }
- public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
- protected void RaisePropertyChanged(string propertyName) {
- System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
- if ((propertyChanged != null)) {
- propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
- }
- }
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="UriContentBlob", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
- [System.SerializableAttribute()]
- public partial class UriContentBlob : DNDUtility.ContentService.ContentBlob {
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private System.Uri ContentUriField;
- [System.Runtime.Serialization.DataMemberAttribute()]
- public System.Uri ContentUri {
- get {
- return this.ContentUriField;
- }
- set {
- if ((object.ReferenceEquals(this.ContentUriField, value) != true)) {
- this.ContentUriField = value;
- this.RaisePropertyChanged("ContentUri");
- }
- }
- }
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="RawContentBlob", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
- [System.SerializableAttribute()]
- public partial class RawContentBlob : DNDUtility.ContentService.ContentBlob {
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private byte[] RawDataField;
- [System.Runtime.Serialization.DataMemberAttribute()]
- public byte[] RawData {
- get {
- return this.RawDataField;
- }
- set {
- if ((object.ReferenceEquals(this.RawDataField, value) != true)) {
- this.RawDataField = value;
- this.RaisePropertyChanged("RawData");
- }
- }
- }
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="DataWithVersion", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
- [System.SerializableAttribute()]
- public partial class DataWithVersion : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
- [System.NonSerializedAttribute()]
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private DNDUtility.ContentService.ContentBlob DataField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private byte[] VersionField;
- [global::System.ComponentModel.BrowsableAttribute(false)]
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
- get {
- return this.extensionDataField;
- }
- set {
- this.extensionDataField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public DNDUtility.ContentService.ContentBlob Data {
- get {
- return this.DataField;
- }
- set {
- if ((object.ReferenceEquals(this.DataField, value) != true)) {
- this.DataField = value;
- this.RaisePropertyChanged("Data");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public byte[] Version {
- get {
- return this.VersionField;
- }
- set {
- if ((object.ReferenceEquals(this.VersionField, value) != true)) {
- this.VersionField = value;
- this.RaisePropertyChanged("Version");
- }
- }
- }
- public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
- protected void RaisePropertyChanged(string propertyName) {
- System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
- if ((propertyChanged != null)) {
- propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
- }
- }
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="ContentNotFoundFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- [System.SerializableAttribute()]
- public partial class ContentNotFoundFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
- [System.NonSerializedAttribute()]
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private DNDUtility.ContentService.ContentIdentifier IDField;
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private System.Guid OwnerIDField;
- [global::System.ComponentModel.BrowsableAttribute(false)]
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
- get {
- return this.extensionDataField;
- }
- set {
- this.extensionDataField = value;
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public DNDUtility.ContentService.ContentIdentifier ID {
- get {
- return this.IDField;
- }
- set {
- if ((object.ReferenceEquals(this.IDField, value) != true)) {
- this.IDField = value;
- this.RaisePropertyChanged("ID");
- }
- }
- }
- [System.Runtime.Serialization.DataMemberAttribute()]
- public System.Guid OwnerID {
- get {
- return this.OwnerIDField;
- }
- set {
- if ((this.OwnerIDField.Equals(value) != true)) {
- this.OwnerIDField = value;
- this.RaisePropertyChanged("OwnerID");
- }
- }
- }
- public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
- protected void RaisePropertyChanged(string propertyName) {
- System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
- if ((propertyChanged != null)) {
- propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
- }
- }
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ContentService.IContentVaultService")]
- public interface IContentVaultService {
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/Commit", ReplyAction="http://tempuri.org/IContentVaultService/CommitResponse")]
- [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentService.TooMuchContentFault), Action="http://tempuri.org/IContentVaultService/CommitTooMuchContentFaultFault", Name="TooMuchContentFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- DNDUtility.ContentService.IdentifierWithVersion Commit(DNDUtility.ContentService.ContentIdentifier id, DNDUtility.ContentService.ContentIdentifier targetID);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/Create", ReplyAction="http://tempuri.org/IContentVaultService/CreateResponse")]
- [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentService.TooMuchContentFault), Action="http://tempuri.org/IContentVaultService/CreateTooMuchContentFaultFault", Name="TooMuchContentFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentService.TooMuchScratchFault), Action="http://tempuri.org/IContentVaultService/CreateTooMuchScratchFaultFault", Name="TooMuchScratchFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- DNDUtility.ContentService.ContentIdentifier Create(int typeID);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/DeleteContent", ReplyAction="http://tempuri.org/IContentVaultService/DeleteContentResponse")]
- void DeleteContent(DNDUtility.ContentService.ContentIdentifier id);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/Edit", ReplyAction="http://tempuri.org/IContentVaultService/EditResponse")]
- [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentService.TooMuchContentFault), Action="http://tempuri.org/IContentVaultService/EditTooMuchContentFaultFault", Name="TooMuchContentFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentService.TooMuchScratchFault), Action="http://tempuri.org/IContentVaultService/EditTooMuchScratchFaultFault", Name="TooMuchScratchFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- DNDUtility.ContentService.ContentIdentifier Edit(DNDUtility.ContentService.ContentIdentifier id);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/GetAvailableContent", ReplyAction="http://tempuri.org/IContentVaultService/GetAvailableContentResponse")]
- DNDUtility.ContentService.ContentInfo[] GetAvailableContent(int contentType);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/GetData", ReplyAction="http://tempuri.org/IContentVaultService/GetDataResponse")]
- DNDUtility.ContentService.DataWithVersion GetData(DNDUtility.ContentService.ContentIdentifier id, byte[] version);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/GetDeletedContent", ReplyAction="http://tempuri.org/IContentVaultService/GetDeletedContentResponse")]
- DNDUtility.ContentService.ContentInfo[] GetDeletedContent(int contentType);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/GetOfficialContent", ReplyAction="http://tempuri.org/IContentVaultService/GetOfficialContentResponse")]
- DNDUtility.ContentService.ContentInfo[] GetOfficialContent(int contentType);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/GetUserID", ReplyAction="http://tempuri.org/IContentVaultService/GetUserIDResponse")]
- System.Guid GetUserID();
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/Import", ReplyAction="http://tempuri.org/IContentVaultService/ImportResponse")]
- [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentService.TooMuchContentFault), Action="http://tempuri.org/IContentVaultService/ImportTooMuchContentFaultFault", Name="TooMuchContentFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentService.TooMuchScratchFault), Action="http://tempuri.org/IContentVaultService/ImportTooMuchScratchFaultFault", Name="TooMuchScratchFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- DNDUtility.ContentService.IdentifierWithVersion Import(int typeID, byte[] data, string details);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/Login", ReplyAction="http://tempuri.org/IContentVaultService/LoginResponse")]
- bool Login(string userName, byte[] password);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/UndeleteContent", ReplyAction="http://tempuri.org/IContentVaultService/UndeleteContentResponse")]
- void UndeleteContent(DNDUtility.ContentService.ContentIdentifier id);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/UpdateData", ReplyAction="http://tempuri.org/IContentVaultService/UpdateDataResponse")]
- [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentService.ContentNotFoundFault), Action="http://tempuri.org/IContentVaultService/UpdateDataContentNotFoundFaultFault", Name="ContentNotFoundFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
- byte[] UpdateData(DNDUtility.ContentService.ContentIdentifier id, byte[] data, string details);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/UpdatePortrait", ReplyAction="http://tempuri.org/IContentVaultService/UpdatePortraitResponse")]
- byte[] UpdatePortrait(DNDUtility.ContentService.ContentIdentifier id, DNDUtility.ContentService.ContentBlob portrait);
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/RestoreBackup", ReplyAction="http://tempuri.org/IContentVaultService/RestoreBackupResponse")]
- byte[] RestoreBackup(DNDUtility.ContentService.ContentIdentifier id);
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface IContentVaultServiceChannel : DNDUtility.ContentService.IContentVaultService, System.ServiceModel.IClientChannel {
- }
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class ContentVaultServiceClient : System.ServiceModel.ClientBase<DNDUtility.ContentService.IContentVaultService>, DNDUtility.ContentService.IContentVaultService {
- public ContentVaultServiceClient() {
- }
- public ContentVaultServiceClient(string endpointConfigurationName) :
- base(endpointConfigurationName) {
- }
- public ContentVaultServiceClient(string endpointConfigurationName, string remoteAddress) :
- base(endpointConfigurationName, remoteAddress) {
- }
- public ContentVaultServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
- base(endpointConfigurationName, remoteAddress) {
- }
- public ContentVaultServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
- base(binding, remoteAddress) {
- }
- public DNDUtility.ContentService.IdentifierWithVersion Commit(DNDUtility.ContentService.ContentIdentifier id, DNDUtility.ContentService.ContentIdentifier targetID) {
- return base.Channel.Commit(id, targetID);
- }
- public DNDUtility.ContentService.ContentIdentifier Create(int typeID) {
- return base.Channel.Create(typeID);
- }
- public void DeleteContent(DNDUtility.ContentService.ContentIdentifier id) {
- base.Channel.DeleteContent(id);
- }
- public DNDUtility.ContentService.ContentIdentifier Edit(DNDUtility.ContentService.ContentIdentifier id) {
- return base.Channel.Edit(id);
- }
- public DNDUtility.ContentService.ContentInfo[] GetAvailableContent(int contentType) {
- return base.Channel.GetAvailableContent(contentType);
- }
- public DNDUtility.ContentService.DataWithVersion GetData(DNDUtility.ContentService.ContentIdentifier id, byte[] version) {
- return base.Channel.GetData(id, version);
- }
- public DNDUtility.ContentService.ContentInfo[] GetDeletedContent(int contentType) {
- return base.Channel.GetDeletedContent(contentType);
- }
- public DNDUtility.ContentService.ContentInfo[] GetOfficialContent(int contentType) {
- return base.Channel.GetOfficialContent(contentType);
- }
- public System.Guid GetUserID() {
- return base.Channel.GetUserID();
- }
- public DNDUtility.ContentService.IdentifierWithVersion Import(int typeID, byte[] data, string details) {
- return base.Channel.Import(typeID, data, details);
- }
- public bool Login(string userName, byte[] password) {
- return base.Channel.Login(userName, password);
- }
- public void UndeleteContent(DNDUtility.ContentService.ContentIdentifier id) {
- base.Channel.UndeleteContent(id);
- }
- public byte[] UpdateData(DNDUtility.ContentService.ContentIdentifier id, byte[] data, string details) {
- return base.Channel.UpdateData(id, data, details);
- }
- public byte[] UpdatePortrait(DNDUtility.ContentService.ContentIdentifier id, DNDUtility.ContentService.ContentBlob portrait) {
- return base.Channel.UpdatePortrait(id, portrait);
- }
- public byte[] RestoreBackup(DNDUtility.ContentService.ContentIdentifier id) {
- return base.Channel.RestoreBackup(id);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement