Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 41.99 KB | None | 0 0
  1. namespace DNDUtility.ContentVaultServiceTest {
  2.     using System.Runtime.Serialization;
  3.     using System;
  4.    
  5.    
  6.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  7.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  8.     [System.Runtime.Serialization.DataContractAttribute(Name="ContentIdentifier", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
  9.     [System.SerializableAttribute()]
  10.     public partial class ContentIdentifier : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  11.        
  12.         [System.NonSerializedAttribute()]
  13.         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  14.        
  15.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  16.         private System.Nullable<int> ContentIDField;
  17.        
  18.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  19.         private bool OfficialField;
  20.        
  21.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  22.         private System.Nullable<int> OfficialTypeIDField;
  23.        
  24.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  25.         private System.Nullable<int> ScratchIDField;
  26.        
  27.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  28.         private int TypeIDField;
  29.        
  30.         [global::System.ComponentModel.BrowsableAttribute(false)]
  31.         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  32.             get {
  33.                 return this.extensionDataField;
  34.             }
  35.             set {
  36.                 this.extensionDataField = value;
  37.             }
  38.         }
  39.        
  40.         [System.Runtime.Serialization.DataMemberAttribute()]
  41.         public System.Nullable<int> ContentID {
  42.             get {
  43.                 return this.ContentIDField;
  44.             }
  45.             set {
  46.                 if ((this.ContentIDField.Equals(value) != true)) {
  47.                     this.ContentIDField = value;
  48.                     this.RaisePropertyChanged("ContentID");
  49.                 }
  50.             }
  51.         }
  52.        
  53.         [System.Runtime.Serialization.DataMemberAttribute()]
  54.         public bool Official {
  55.             get {
  56.                 return this.OfficialField;
  57.             }
  58.             set {
  59.                 if ((this.OfficialField.Equals(value) != true)) {
  60.                     this.OfficialField = value;
  61.                     this.RaisePropertyChanged("Official");
  62.                 }
  63.             }
  64.         }
  65.        
  66.         [System.Runtime.Serialization.DataMemberAttribute()]
  67.         public System.Nullable<int> OfficialTypeID {
  68.             get {
  69.                 return this.OfficialTypeIDField;
  70.             }
  71.             set {
  72.                 if ((this.OfficialTypeIDField.Equals(value) != true)) {
  73.                     this.OfficialTypeIDField = value;
  74.                     this.RaisePropertyChanged("OfficialTypeID");
  75.                 }
  76.             }
  77.         }
  78.        
  79.         [System.Runtime.Serialization.DataMemberAttribute()]
  80.         public System.Nullable<int> ScratchID {
  81.             get {
  82.                 return this.ScratchIDField;
  83.             }
  84.             set {
  85.                 if ((this.ScratchIDField.Equals(value) != true)) {
  86.                     this.ScratchIDField = value;
  87.                     this.RaisePropertyChanged("ScratchID");
  88.                 }
  89.             }
  90.         }
  91.        
  92.         [System.Runtime.Serialization.DataMemberAttribute()]
  93.         public int TypeID {
  94.             get {
  95.                 return this.TypeIDField;
  96.             }
  97.             set {
  98.                 if ((this.TypeIDField.Equals(value) != true)) {
  99.                     this.TypeIDField = value;
  100.                     this.RaisePropertyChanged("TypeID");
  101.                 }
  102.             }
  103.         }
  104.        
  105.         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  106.        
  107.         protected void RaisePropertyChanged(string propertyName) {
  108.             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  109.             if ((propertyChanged != null)) {
  110.                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  111.             }
  112.         }
  113.     }
  114.    
  115.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  116.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  117.     [System.Runtime.Serialization.DataContractAttribute(Name="IdentifierWithVersion", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
  118.     [System.SerializableAttribute()]
  119.     public partial class IdentifierWithVersion : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  120.        
  121.         [System.NonSerializedAttribute()]
  122.         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  123.        
  124.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  125.         private DNDUtility.ContentVaultServiceTest.ContentIdentifier IdentifierField;
  126.        
  127.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  128.         private byte[] VersionField;
  129.        
  130.         [global::System.ComponentModel.BrowsableAttribute(false)]
  131.         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  132.             get {
  133.                 return this.extensionDataField;
  134.             }
  135.             set {
  136.                 this.extensionDataField = value;
  137.             }
  138.         }
  139.        
  140.         [System.Runtime.Serialization.DataMemberAttribute()]
  141.         public DNDUtility.ContentVaultServiceTest.ContentIdentifier Identifier {
  142.             get {
  143.                 return this.IdentifierField;
  144.             }
  145.             set {
  146.                 if ((object.ReferenceEquals(this.IdentifierField, value) != true)) {
  147.                     this.IdentifierField = value;
  148.                     this.RaisePropertyChanged("Identifier");
  149.                 }
  150.             }
  151.         }
  152.        
  153.         [System.Runtime.Serialization.DataMemberAttribute()]
  154.         public byte[] Version {
  155.             get {
  156.                 return this.VersionField;
  157.             }
  158.             set {
  159.                 if ((object.ReferenceEquals(this.VersionField, value) != true)) {
  160.                     this.VersionField = value;
  161.                     this.RaisePropertyChanged("Version");
  162.                 }
  163.             }
  164.         }
  165.        
  166.         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  167.        
  168.         protected void RaisePropertyChanged(string propertyName) {
  169.             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  170.             if ((propertyChanged != null)) {
  171.                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  172.             }
  173.         }
  174.     }
  175.    
  176.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  177.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  178.     [System.Runtime.Serialization.DataContractAttribute(Name="TooMuchContentFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  179.     [System.SerializableAttribute()]
  180.     public partial class TooMuchContentFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  181.        
  182.         [System.NonSerializedAttribute()]
  183.         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  184.        
  185.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  186.         private int ContentTypeField;
  187.        
  188.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  189.         private int MaxAllowedField;
  190.        
  191.         [global::System.ComponentModel.BrowsableAttribute(false)]
  192.         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  193.             get {
  194.                 return this.extensionDataField;
  195.             }
  196.             set {
  197.                 this.extensionDataField = value;
  198.             }
  199.         }
  200.        
  201.         [System.Runtime.Serialization.DataMemberAttribute()]
  202.         public int ContentType {
  203.             get {
  204.                 return this.ContentTypeField;
  205.             }
  206.             set {
  207.                 if ((this.ContentTypeField.Equals(value) != true)) {
  208.                     this.ContentTypeField = value;
  209.                     this.RaisePropertyChanged("ContentType");
  210.                 }
  211.             }
  212.         }
  213.        
  214.         [System.Runtime.Serialization.DataMemberAttribute()]
  215.         public int MaxAllowed {
  216.             get {
  217.                 return this.MaxAllowedField;
  218.             }
  219.             set {
  220.                 if ((this.MaxAllowedField.Equals(value) != true)) {
  221.                     this.MaxAllowedField = value;
  222.                     this.RaisePropertyChanged("MaxAllowed");
  223.                 }
  224.             }
  225.         }
  226.        
  227.         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  228.        
  229.         protected void RaisePropertyChanged(string propertyName) {
  230.             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  231.             if ((propertyChanged != null)) {
  232.                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  233.             }
  234.         }
  235.     }
  236.    
  237.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  238.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  239.     [System.Runtime.Serialization.DataContractAttribute(Name="TooMuchScratchFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  240.     [System.SerializableAttribute()]
  241.     public partial class TooMuchScratchFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  242.        
  243.         [System.NonSerializedAttribute()]
  244.         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  245.        
  246.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  247.         private int ContentTypeField;
  248.        
  249.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  250.         private int MaxAllowedField;
  251.        
  252.         [global::System.ComponentModel.BrowsableAttribute(false)]
  253.         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  254.             get {
  255.                 return this.extensionDataField;
  256.             }
  257.             set {
  258.                 this.extensionDataField = value;
  259.             }
  260.         }
  261.        
  262.         [System.Runtime.Serialization.DataMemberAttribute()]
  263.         public int ContentType {
  264.             get {
  265.                 return this.ContentTypeField;
  266.             }
  267.             set {
  268.                 if ((this.ContentTypeField.Equals(value) != true)) {
  269.                     this.ContentTypeField = value;
  270.                     this.RaisePropertyChanged("ContentType");
  271.                 }
  272.             }
  273.         }
  274.        
  275.         [System.Runtime.Serialization.DataMemberAttribute()]
  276.         public int MaxAllowed {
  277.             get {
  278.                 return this.MaxAllowedField;
  279.             }
  280.             set {
  281.                 if ((this.MaxAllowedField.Equals(value) != true)) {
  282.                     this.MaxAllowedField = value;
  283.                     this.RaisePropertyChanged("MaxAllowed");
  284.                 }
  285.             }
  286.         }
  287.        
  288.         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  289.        
  290.         protected void RaisePropertyChanged(string propertyName) {
  291.             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  292.             if ((propertyChanged != null)) {
  293.                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  294.             }
  295.         }
  296.     }
  297.    
  298.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  299.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  300.     [System.Runtime.Serialization.DataContractAttribute(Name="ContentInfo", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
  301.     [System.SerializableAttribute()]
  302.     public partial class ContentInfo : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  303.        
  304.         [System.NonSerializedAttribute()]
  305.         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  306.        
  307.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  308.         private DNDUtility.ContentVaultServiceTest.ContentDetails CommittedContentField;
  309.        
  310.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  311.         private System.Guid OwnerIDField;
  312.        
  313.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  314.         private DNDUtility.ContentVaultServiceTest.UserContentRights RightsField;
  315.        
  316.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  317.         private DNDUtility.ContentVaultServiceTest.ContentDetails[] ScratchContentsField;
  318.        
  319.         [global::System.ComponentModel.BrowsableAttribute(false)]
  320.         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  321.             get {
  322.                 return this.extensionDataField;
  323.             }
  324.             set {
  325.                 this.extensionDataField = value;
  326.             }
  327.         }
  328.        
  329.         [System.Runtime.Serialization.DataMemberAttribute()]
  330.         public DNDUtility.ContentVaultServiceTest.ContentDetails CommittedContent {
  331.             get {
  332.                 return this.CommittedContentField;
  333.             }
  334.             set {
  335.                 if ((object.ReferenceEquals(this.CommittedContentField, value) != true)) {
  336.                     this.CommittedContentField = value;
  337.                     this.RaisePropertyChanged("CommittedContent");
  338.                 }
  339.             }
  340.         }
  341.        
  342.         [System.Runtime.Serialization.DataMemberAttribute()]
  343.         public System.Guid OwnerID {
  344.             get {
  345.                 return this.OwnerIDField;
  346.             }
  347.             set {
  348.                 if ((this.OwnerIDField.Equals(value) != true)) {
  349.                     this.OwnerIDField = value;
  350.                     this.RaisePropertyChanged("OwnerID");
  351.                 }
  352.             }
  353.         }
  354.        
  355.         [System.Runtime.Serialization.DataMemberAttribute()]
  356.         public DNDUtility.ContentVaultServiceTest.UserContentRights Rights {
  357.             get {
  358.                 return this.RightsField;
  359.             }
  360.             set {
  361.                 if ((this.RightsField.Equals(value) != true)) {
  362.                     this.RightsField = value;
  363.                     this.RaisePropertyChanged("Rights");
  364.                 }
  365.             }
  366.         }
  367.        
  368.         [System.Runtime.Serialization.DataMemberAttribute()]
  369.         public DNDUtility.ContentVaultServiceTest.ContentDetails[] ScratchContents {
  370.             get {
  371.                 return this.ScratchContentsField;
  372.             }
  373.             set {
  374.                 if ((object.ReferenceEquals(this.ScratchContentsField, value) != true)) {
  375.                     this.ScratchContentsField = value;
  376.                     this.RaisePropertyChanged("ScratchContents");
  377.                 }
  378.             }
  379.         }
  380.        
  381.         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  382.        
  383.         protected void RaisePropertyChanged(string propertyName) {
  384.             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  385.             if ((propertyChanged != null)) {
  386.                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  387.             }
  388.         }
  389.     }
  390.    
  391.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  392.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  393.     [System.Runtime.Serialization.DataContractAttribute(Name="ContentDetails", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
  394.     [System.SerializableAttribute()]
  395.     public partial class ContentDetails : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  396.        
  397.         [System.NonSerializedAttribute()]
  398.         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  399.        
  400.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  401.         private int ContentTypeIDField;
  402.        
  403.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  404.         private System.DateTime DateCreatedField;
  405.        
  406.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  407.         private System.DateTime DateModifiedField;
  408.        
  409.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  410.         private string DetailsField;
  411.        
  412.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  413.         private DNDUtility.ContentVaultServiceTest.ContentIdentifier IdentifierField;
  414.        
  415.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  416.         private DNDUtility.ContentVaultServiceTest.ContentBlob PortraitField;
  417.        
  418.         [global::System.ComponentModel.BrowsableAttribute(false)]
  419.         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  420.             get {
  421.                 return this.extensionDataField;
  422.             }
  423.             set {
  424.                 this.extensionDataField = value;
  425.             }
  426.         }
  427.        
  428.         [System.Runtime.Serialization.DataMemberAttribute()]
  429.         public int ContentTypeID {
  430.             get {
  431.                 return this.ContentTypeIDField;
  432.             }
  433.             set {
  434.                 if ((this.ContentTypeIDField.Equals(value) != true)) {
  435.                     this.ContentTypeIDField = value;
  436.                     this.RaisePropertyChanged("ContentTypeID");
  437.                 }
  438.             }
  439.         }
  440.        
  441.         [System.Runtime.Serialization.DataMemberAttribute()]
  442.         public System.DateTime DateCreated {
  443.             get {
  444.                 return this.DateCreatedField;
  445.             }
  446.             set {
  447.                 if ((this.DateCreatedField.Equals(value) != true)) {
  448.                     this.DateCreatedField = value;
  449.                     this.RaisePropertyChanged("DateCreated");
  450.                 }
  451.             }
  452.         }
  453.        
  454.         [System.Runtime.Serialization.DataMemberAttribute()]
  455.         public System.DateTime DateModified {
  456.             get {
  457.                 return this.DateModifiedField;
  458.             }
  459.             set {
  460.                 if ((this.DateModifiedField.Equals(value) != true)) {
  461.                     this.DateModifiedField = value;
  462.                     this.RaisePropertyChanged("DateModified");
  463.                 }
  464.             }
  465.         }
  466.        
  467.         [System.Runtime.Serialization.DataMemberAttribute()]
  468.         public string Details {
  469.             get {
  470.                 return this.DetailsField;
  471.             }
  472.             set {
  473.                 if ((object.ReferenceEquals(this.DetailsField, value) != true)) {
  474.                     this.DetailsField = value;
  475.                     this.RaisePropertyChanged("Details");
  476.                 }
  477.             }
  478.         }
  479.        
  480.         [System.Runtime.Serialization.DataMemberAttribute()]
  481.         public DNDUtility.ContentVaultServiceTest.ContentIdentifier Identifier {
  482.             get {
  483.                 return this.IdentifierField;
  484.             }
  485.             set {
  486.                 if ((object.ReferenceEquals(this.IdentifierField, value) != true)) {
  487.                     this.IdentifierField = value;
  488.                     this.RaisePropertyChanged("Identifier");
  489.                 }
  490.             }
  491.         }
  492.        
  493.         [System.Runtime.Serialization.DataMemberAttribute()]
  494.         public DNDUtility.ContentVaultServiceTest.ContentBlob Portrait {
  495.             get {
  496.                 return this.PortraitField;
  497.             }
  498.             set {
  499.                 if ((object.ReferenceEquals(this.PortraitField, value) != true)) {
  500.                     this.PortraitField = value;
  501.                     this.RaisePropertyChanged("Portrait");
  502.                 }
  503.             }
  504.         }
  505.        
  506.         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  507.        
  508.         protected void RaisePropertyChanged(string propertyName) {
  509.             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  510.             if ((propertyChanged != null)) {
  511.                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  512.             }
  513.         }
  514.     }
  515.    
  516.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  517.     [System.Runtime.Serialization.DataContractAttribute(Name="UserContentRights", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  518.     public enum UserContentRights : int {
  519.        
  520.         [System.Runtime.Serialization.EnumMemberAttribute()]
  521.         Owner = 0,
  522.        
  523.         [System.Runtime.Serialization.EnumMemberAttribute()]
  524.         Observer = 1,
  525.        
  526.         [System.Runtime.Serialization.EnumMemberAttribute()]
  527.         Contributor = 2,
  528.     }
  529.    
  530.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  531.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  532.     [System.Runtime.Serialization.DataContractAttribute(Name="ContentBlob", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
  533.     [System.SerializableAttribute()]
  534.     [System.Runtime.Serialization.KnownTypeAttribute(typeof(DNDUtility.ContentVaultServiceTest.UriContentBlob))]
  535.     [System.Runtime.Serialization.KnownTypeAttribute(typeof(DNDUtility.ContentVaultServiceTest.RawContentBlob))]
  536.     public partial class ContentBlob : DNDUtility.ContentVaultServiceTest.NotifyPropertyChangedBase {
  537.     }
  538.    
  539.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  540.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  541.     [System.Runtime.Serialization.DataContractAttribute(Name="NotifyPropertyChangedBase", Namespace="http://schemas.datacontract.org/2004/07/WotC.XAMLUtilities")]
  542.     [System.SerializableAttribute()]
  543.     [System.Runtime.Serialization.KnownTypeAttribute(typeof(DNDUtility.ContentVaultServiceTest.ContentBlob))]
  544.     [System.Runtime.Serialization.KnownTypeAttribute(typeof(DNDUtility.ContentVaultServiceTest.UriContentBlob))]
  545.     [System.Runtime.Serialization.KnownTypeAttribute(typeof(DNDUtility.ContentVaultServiceTest.RawContentBlob))]
  546.     public partial class NotifyPropertyChangedBase : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  547.        
  548.         [System.NonSerializedAttribute()]
  549.         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  550.        
  551.         [global::System.ComponentModel.BrowsableAttribute(false)]
  552.         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  553.             get {
  554.                 return this.extensionDataField;
  555.             }
  556.             set {
  557.                 this.extensionDataField = value;
  558.             }
  559.         }
  560.        
  561.         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  562.        
  563.         protected void RaisePropertyChanged(string propertyName) {
  564.             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  565.             if ((propertyChanged != null)) {
  566.                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  567.             }
  568.         }
  569.     }
  570.    
  571.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  572.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  573.     [System.Runtime.Serialization.DataContractAttribute(Name="UriContentBlob", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
  574.     [System.SerializableAttribute()]
  575.     public partial class UriContentBlob : DNDUtility.ContentVaultServiceTest.ContentBlob {
  576.        
  577.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  578.         private System.Uri ContentUriField;
  579.        
  580.         [System.Runtime.Serialization.DataMemberAttribute()]
  581.         public System.Uri ContentUri {
  582.             get {
  583.                 return this.ContentUriField;
  584.             }
  585.             set {
  586.                 if ((object.ReferenceEquals(this.ContentUriField, value) != true)) {
  587.                     this.ContentUriField = value;
  588.                     this.RaisePropertyChanged("ContentUri");
  589.                 }
  590.             }
  591.         }
  592.     }
  593.    
  594.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  595.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  596.     [System.Runtime.Serialization.DataContractAttribute(Name="RawContentBlob", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
  597.     [System.SerializableAttribute()]
  598.     public partial class RawContentBlob : DNDUtility.ContentVaultServiceTest.ContentBlob {
  599.        
  600.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  601.         private byte[] RawDataField;
  602.        
  603.         [System.Runtime.Serialization.DataMemberAttribute()]
  604.         public byte[] RawData {
  605.             get {
  606.                 return this.RawDataField;
  607.             }
  608.             set {
  609.                 if ((object.ReferenceEquals(this.RawDataField, value) != true)) {
  610.                     this.RawDataField = value;
  611.                     this.RaisePropertyChanged("RawData");
  612.                 }
  613.             }
  614.         }
  615.     }
  616.    
  617.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  618.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  619.     [System.Runtime.Serialization.DataContractAttribute(Name="DataWithVersion", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentVault")]
  620.     [System.SerializableAttribute()]
  621.     public partial class DataWithVersion : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  622.        
  623.         [System.NonSerializedAttribute()]
  624.         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  625.        
  626.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  627.         private DNDUtility.ContentVaultServiceTest.ContentBlob DataField;
  628.        
  629.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  630.         private byte[] VersionField;
  631.        
  632.         [global::System.ComponentModel.BrowsableAttribute(false)]
  633.         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  634.             get {
  635.                 return this.extensionDataField;
  636.             }
  637.             set {
  638.                 this.extensionDataField = value;
  639.             }
  640.         }
  641.        
  642.         [System.Runtime.Serialization.DataMemberAttribute()]
  643.         public DNDUtility.ContentVaultServiceTest.ContentBlob Data {
  644.             get {
  645.                 return this.DataField;
  646.             }
  647.             set {
  648.                 if ((object.ReferenceEquals(this.DataField, value) != true)) {
  649.                     this.DataField = value;
  650.                     this.RaisePropertyChanged("Data");
  651.                 }
  652.             }
  653.         }
  654.        
  655.         [System.Runtime.Serialization.DataMemberAttribute()]
  656.         public byte[] Version {
  657.             get {
  658.                 return this.VersionField;
  659.             }
  660.             set {
  661.                 if ((object.ReferenceEquals(this.VersionField, value) != true)) {
  662.                     this.VersionField = value;
  663.                     this.RaisePropertyChanged("Version");
  664.                 }
  665.             }
  666.         }
  667.        
  668.         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  669.        
  670.         protected void RaisePropertyChanged(string propertyName) {
  671.             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  672.             if ((propertyChanged != null)) {
  673.                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  674.             }
  675.         }
  676.     }
  677.    
  678.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  679.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  680.     [System.Runtime.Serialization.DataContractAttribute(Name="ContentNotFoundFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  681.     [System.SerializableAttribute()]
  682.     public partial class ContentNotFoundFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  683.        
  684.         [System.NonSerializedAttribute()]
  685.         private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  686.        
  687.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  688.         private DNDUtility.ContentVaultServiceTest.ContentIdentifier IDField;
  689.        
  690.         [System.Runtime.Serialization.OptionalFieldAttribute()]
  691.         private System.Guid OwnerIDField;
  692.        
  693.         [global::System.ComponentModel.BrowsableAttribute(false)]
  694.         public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  695.             get {
  696.                 return this.extensionDataField;
  697.             }
  698.             set {
  699.                 this.extensionDataField = value;
  700.             }
  701.         }
  702.        
  703.         [System.Runtime.Serialization.DataMemberAttribute()]
  704.         public DNDUtility.ContentVaultServiceTest.ContentIdentifier ID {
  705.             get {
  706.                 return this.IDField;
  707.             }
  708.             set {
  709.                 if ((object.ReferenceEquals(this.IDField, value) != true)) {
  710.                     this.IDField = value;
  711.                     this.RaisePropertyChanged("ID");
  712.                 }
  713.             }
  714.         }
  715.        
  716.         [System.Runtime.Serialization.DataMemberAttribute()]
  717.         public System.Guid OwnerID {
  718.             get {
  719.                 return this.OwnerIDField;
  720.             }
  721.             set {
  722.                 if ((this.OwnerIDField.Equals(value) != true)) {
  723.                     this.OwnerIDField = value;
  724.                     this.RaisePropertyChanged("OwnerID");
  725.                 }
  726.             }
  727.         }
  728.        
  729.         public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  730.        
  731.         protected void RaisePropertyChanged(string propertyName) {
  732.             System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  733.             if ((propertyChanged != null)) {
  734.                 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  735.             }
  736.         }
  737.     }
  738.    
  739.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  740.     [System.ServiceModel.ServiceContractAttribute(ConfigurationName="ContentVaultServiceTest.IContentVaultService")]
  741.     public interface IContentVaultService {
  742.        
  743.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/Commit", ReplyAction="http://tempuri.org/IContentVaultService/CommitResponse")]
  744.         [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentVaultServiceTest.TooMuchContentFault), Action="http://tempuri.org/IContentVaultService/CommitTooMuchContentFaultFault", Name="TooMuchContentFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  745.         DNDUtility.ContentVaultServiceTest.IdentifierWithVersion Commit(DNDUtility.ContentVaultServiceTest.ContentIdentifier id, DNDUtility.ContentVaultServiceTest.ContentIdentifier targetID);
  746.        
  747.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/Create", ReplyAction="http://tempuri.org/IContentVaultService/CreateResponse")]
  748.         [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentVaultServiceTest.TooMuchContentFault), Action="http://tempuri.org/IContentVaultService/CreateTooMuchContentFaultFault", Name="TooMuchContentFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  749.         [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentVaultServiceTest.TooMuchScratchFault), Action="http://tempuri.org/IContentVaultService/CreateTooMuchScratchFaultFault", Name="TooMuchScratchFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  750.         DNDUtility.ContentVaultServiceTest.ContentIdentifier Create(int typeID);
  751.        
  752.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/DeleteContent", ReplyAction="http://tempuri.org/IContentVaultService/DeleteContentResponse")]
  753.         void DeleteContent(DNDUtility.ContentVaultServiceTest.ContentIdentifier id);
  754.        
  755.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/Edit", ReplyAction="http://tempuri.org/IContentVaultService/EditResponse")]
  756.         [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentVaultServiceTest.TooMuchContentFault), Action="http://tempuri.org/IContentVaultService/EditTooMuchContentFaultFault", Name="TooMuchContentFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  757.         [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentVaultServiceTest.TooMuchScratchFault), Action="http://tempuri.org/IContentVaultService/EditTooMuchScratchFaultFault", Name="TooMuchScratchFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  758.         DNDUtility.ContentVaultServiceTest.ContentIdentifier Edit(DNDUtility.ContentVaultServiceTest.ContentIdentifier id);
  759.        
  760.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/GetAvailableContent", ReplyAction="http://tempuri.org/IContentVaultService/GetAvailableContentResponse")]
  761.         DNDUtility.ContentVaultServiceTest.ContentInfo[] GetAvailableContent(int contentType);
  762.        
  763.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/GetData", ReplyAction="http://tempuri.org/IContentVaultService/GetDataResponse")]
  764.         DNDUtility.ContentVaultServiceTest.DataWithVersion GetData(DNDUtility.ContentVaultServiceTest.ContentIdentifier id, byte[] version);
  765.        
  766.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/GetDeletedContent", ReplyAction="http://tempuri.org/IContentVaultService/GetDeletedContentResponse")]
  767.         DNDUtility.ContentVaultServiceTest.ContentInfo[] GetDeletedContent(int contentType);
  768.        
  769.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/GetOfficialContent", ReplyAction="http://tempuri.org/IContentVaultService/GetOfficialContentResponse")]
  770.         DNDUtility.ContentVaultServiceTest.ContentInfo[] GetOfficialContent(int contentType);
  771.        
  772.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/GetUserID", ReplyAction="http://tempuri.org/IContentVaultService/GetUserIDResponse")]
  773.         System.Guid GetUserID();
  774.        
  775.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/Import", ReplyAction="http://tempuri.org/IContentVaultService/ImportResponse")]
  776.         [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentVaultServiceTest.TooMuchContentFault), Action="http://tempuri.org/IContentVaultService/ImportTooMuchContentFaultFault", Name="TooMuchContentFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  777.         [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentVaultServiceTest.TooMuchScratchFault), Action="http://tempuri.org/IContentVaultService/ImportTooMuchScratchFaultFault", Name="TooMuchScratchFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  778.         DNDUtility.ContentVaultServiceTest.IdentifierWithVersion Import(int typeID, byte[] data, string details);
  779.        
  780.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/Login", ReplyAction="http://tempuri.org/IContentVaultService/LoginResponse")]
  781.         bool Login(string userName, byte[] password);
  782.        
  783.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/UndeleteContent", ReplyAction="http://tempuri.org/IContentVaultService/UndeleteContentResponse")]
  784.         void UndeleteContent(DNDUtility.ContentVaultServiceTest.ContentIdentifier id);
  785.        
  786.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/UpdateData", ReplyAction="http://tempuri.org/IContentVaultService/UpdateDataResponse")]
  787.         [System.ServiceModel.FaultContractAttribute(typeof(DNDUtility.ContentVaultServiceTest.ContentNotFoundFault), Action="http://tempuri.org/IContentVaultService/UpdateDataContentNotFoundFaultFault", Name="ContentNotFoundFault", Namespace="http://schemas.datacontract.org/2004/07/WotC.ContentManagement")]
  788.         byte[] UpdateData(DNDUtility.ContentVaultServiceTest.ContentIdentifier id, byte[] data, string details);
  789.        
  790.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/UpdatePortrait", ReplyAction="http://tempuri.org/IContentVaultService/UpdatePortraitResponse")]
  791.         byte[] UpdatePortrait(DNDUtility.ContentVaultServiceTest.ContentIdentifier id, DNDUtility.ContentVaultServiceTest.ContentBlob portrait);
  792.        
  793.         [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IContentVaultService/RestoreBackup", ReplyAction="http://tempuri.org/IContentVaultService/RestoreBackupResponse")]
  794.         byte[] RestoreBackup(DNDUtility.ContentVaultServiceTest.ContentIdentifier id);
  795.     }
  796.    
  797.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  798.     public interface IContentVaultServiceChannel : DNDUtility.ContentVaultServiceTest.IContentVaultService, System.ServiceModel.IClientChannel {
  799.     }
  800.    
  801.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  802.     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  803.     public partial class ContentVaultServiceClient : System.ServiceModel.ClientBase<DNDUtility.ContentVaultServiceTest.IContentVaultService>, DNDUtility.ContentVaultServiceTest.IContentVaultService {
  804.        
  805.         public ContentVaultServiceClient() {
  806.         }
  807.        
  808.         public ContentVaultServiceClient(string endpointConfigurationName) :
  809.                 base(endpointConfigurationName) {
  810.         }
  811.        
  812.         public ContentVaultServiceClient(string endpointConfigurationName, string remoteAddress) :
  813.                 base(endpointConfigurationName, remoteAddress) {
  814.         }
  815.        
  816.         public ContentVaultServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  817.                 base(endpointConfigurationName, remoteAddress) {
  818.         }
  819.        
  820.         public ContentVaultServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  821.                 base(binding, remoteAddress) {
  822.         }
  823.        
  824.         public DNDUtility.ContentVaultServiceTest.IdentifierWithVersion Commit(DNDUtility.ContentVaultServiceTest.ContentIdentifier id, DNDUtility.ContentVaultServiceTest.ContentIdentifier targetID) {
  825.             return base.Channel.Commit(id, targetID);
  826.         }
  827.        
  828.         public DNDUtility.ContentVaultServiceTest.ContentIdentifier Create(int typeID) {
  829.             return base.Channel.Create(typeID);
  830.         }
  831.        
  832.         public void DeleteContent(DNDUtility.ContentVaultServiceTest.ContentIdentifier id) {
  833.             base.Channel.DeleteContent(id);
  834.         }
  835.        
  836.         public DNDUtility.ContentVaultServiceTest.ContentIdentifier Edit(DNDUtility.ContentVaultServiceTest.ContentIdentifier id) {
  837.             return base.Channel.Edit(id);
  838.         }
  839.        
  840.         public DNDUtility.ContentVaultServiceTest.ContentInfo[] GetAvailableContent(int contentType) {
  841.             return base.Channel.GetAvailableContent(contentType);
  842.         }
  843.        
  844.         public DNDUtility.ContentVaultServiceTest.DataWithVersion GetData(DNDUtility.ContentVaultServiceTest.ContentIdentifier id, byte[] version) {
  845.             return base.Channel.GetData(id, version);
  846.         }
  847.        
  848.         public DNDUtility.ContentVaultServiceTest.ContentInfo[] GetDeletedContent(int contentType) {
  849.             return base.Channel.GetDeletedContent(contentType);
  850.         }
  851.        
  852.         public DNDUtility.ContentVaultServiceTest.ContentInfo[] GetOfficialContent(int contentType) {
  853.             return base.Channel.GetOfficialContent(contentType);
  854.         }
  855.        
  856.         public System.Guid GetUserID() {
  857.             return base.Channel.GetUserID();
  858.         }
  859.        
  860.         public DNDUtility.ContentVaultServiceTest.IdentifierWithVersion Import(int typeID, byte[] data, string details) {
  861.             return base.Channel.Import(typeID, data, details);
  862.         }
  863.        
  864.         public bool Login(string userName, byte[] password) {
  865.             return base.Channel.Login(userName, password);
  866.         }
  867.        
  868.         public void UndeleteContent(DNDUtility.ContentVaultServiceTest.ContentIdentifier id) {
  869.             base.Channel.UndeleteContent(id);
  870.         }
  871.        
  872.         public byte[] UpdateData(DNDUtility.ContentVaultServiceTest.ContentIdentifier id, byte[] data, string details) {
  873.             return base.Channel.UpdateData(id, data, details);
  874.         }
  875.        
  876.         public byte[] UpdatePortrait(DNDUtility.ContentVaultServiceTest.ContentIdentifier id, DNDUtility.ContentVaultServiceTest.ContentBlob portrait) {
  877.             return base.Channel.UpdatePortrait(id, portrait);
  878.         }
  879.        
  880.         public byte[] RestoreBackup(DNDUtility.ContentVaultServiceTest.ContentIdentifier id) {
  881.             return base.Channel.RestoreBackup(id);
  882.         }
  883.     }
  884. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement