- Timestamp:
- 03/14/10 00:42:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Auxiliary/TypeName.cs
r3004 r3016 7 7 8 8 namespace HeuristicLab.Persistence.Auxiliary { 9 9 10 10 /// <summary> 11 11 /// Contains a more modular representation of type names that can … … 16 16 public class TypeName { 17 17 18 /// <summary> 19 /// Gets or sets the namespace. 20 /// </summary> 21 /// <value>The namespace.</value> 18 22 [Storable] 19 23 public string Namespace { get; private set; } 20 24 25 /// <summary> 26 /// Gets or sets the name of the class. 27 /// </summary> 28 /// <value>The name of the class.</value> 21 29 [Storable] 22 30 public string ClassName { get; private set; } 23 31 32 /// <summary> 33 /// Gets or sets the generic args. 34 /// </summary> 35 /// <value>The generic args.</value> 24 36 [Storable] 25 37 public List<TypeName> GenericArgs { get; internal set; } 26 38 public bool IsGeneric { get { return GenericArgs.Count > 0; } } 27 39 40 /// <summary> 41 /// Gets or sets the memory magic (point or array declaration). 42 /// </summary> 43 /// <value>The memory magic.</value> 28 44 [Storable] 29 45 public string MemoryMagic { get; internal set; } 30 46 47 /// <summary> 48 /// Gets or sets the name of the assembly. 49 /// </summary> 50 /// <value>The name of the assembly.</value> 31 51 [Storable] 32 52 public string AssemblyName { get; internal set; } 33 53 54 /// <summary> 55 /// Gets or sets the assembly attribues. 56 /// </summary> 57 /// <value>The assembly attribues.</value> 34 58 [Storable] 35 59 public Dictionary<string, string> AssemblyAttribues { get; internal set; } 36 60 61 /// <summary> 62 /// Gets or sets a value indicating whether this instance is reference. 63 /// </summary> 64 /// <value> 65 /// <c>true</c> if this instance is reference; otherwise, <c>false</c>. 66 /// </value> 37 67 [Storable] 38 68 public bool IsReference { get; internal set; } 39 69 70 71 72 /// <summary> 73 /// Initializes a new instance of the <see cref="TypeName"/> class. 74 /// </summary> 75 /// <param name="nameSpace">The namespace.</param> 76 /// <param name="className">Name of the class.</param> 40 77 internal TypeName(string nameSpace, string className) { 41 78 Namespace = nameSpace; … … 46 83 } 47 84 48 /// <param name="full">include assembly properties and generic parameters</param> 85 86 /// <summary> 87 /// Returns a <see cref="System.String"/> that represents this instance. 88 /// </summary> 89 /// <param name="full">if set to <c>true</c> includes full informatoin 90 /// about generic parameters and assembly properties.</param> 91 /// <returns> 92 /// A <see cref="System.String"/> that represents this instance. 93 /// </returns> 49 94 public string ToString(bool full) { 50 95 return ToString(full, true); … … 52 97 53 98 54 /// <param name="full">include assembly properties and generic parameters</param> 99 /// <summary> 100 /// Returns a <see cref="System.String"/> that represents this instance. 101 /// </summary> 102 /// <param name="includeAssembly">if set to <c>true</c> include assembly properties and generic parameters.</param> 103 /// <returns> 104 /// A <see cref="System.String"/> that represents this instance. 105 /// </returns> 55 106 public string ToString(bool full, bool includeAssembly) { 56 107 StringBuilder sb = new StringBuilder(); … … 80 131 } 81 132 133 134 /// <summary> 135 /// Returns a <see cref="System.String"/> that represents this instance. 136 /// </summary> 137 /// <returns> 138 /// A <see cref="System.String"/> that represents this instance. 139 /// </returns> 82 140 public override string ToString() { 83 141 return ToString(true); … … 88 146 /// Lexicographically compare version information and make sure type and assembly 89 147 /// names are identical. This function recursively checks generic type arguments. 90 /// </summary> 148 /// </summary> 149 /// <param name="typeName">Name of the type.</param> 150 /// <returns> 151 /// <c>true</c> if is newer than the specified type name; otherwise, <c>false</c>. 152 /// </returns> 91 153 public bool IsNewerThan(TypeName typeName) { 92 154 try { … … 117 179 /// recursively checks generic type arguments. 118 180 /// </summary> 181 /// <param name="typeName">Name of the type.</param> 182 /// <returns> 183 /// <c>true</c> if the specified type names are compatible; otherwise, <c>false</c>. 184 /// </returns> 119 185 public bool IsCompatible(TypeName typeName) { 120 186 try {
Note: See TracChangeset
for help on using the changeset viewer.