Show / Hide Table of Contents

Class CopyrightAttribute

Sets the Copyright information of the element.

Inheritance
object
Attribute
TextAttribute
CopyrightAttribute
Implements
IValueAttribute<string>
Inherited Members
TextAttribute.Value
Attribute.Equals(object)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, bool)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, bool)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, bool)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, bool)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, bool)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, bool)
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, bool)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, bool)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
Attribute.GetHashCode()
Attribute.IsDefaultAttribute()
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, bool)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, bool)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, bool)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, bool)
Attribute.Match(object)
Attribute.TypeId
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Attributes
Assembly: MCART.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Module|AttributeTargets.Class|AttributeTargets.Method)]
[Serializable]
public sealed class CopyrightAttribute : TextAttribute, IValueAttribute<string>

Constructors

| Edit this page View Source

CopyrightAttribute(int, int, string)

Initializes a new instance of the DescriptionAttribute class.

Declaration
public CopyrightAttribute(int startYear, int endYear, string holder)
Parameters
Type Name Description
int startYear

Initial year of the Copyright

int endYear

Final year of the Copyright

string holder

Copyright holder.

| Edit this page View Source

CopyrightAttribute(int, string)

Initializes a new instance of the DescriptionAttribute class.

Declaration
public CopyrightAttribute(int year, string holder)
Parameters
Type Name Description
int year

Year of Copyright registration.

string holder

Copyright holder.

| Edit this page View Source

CopyrightAttribute(string)

Sets the Copyright information of the element.

Declaration
public CopyrightAttribute(string copyright)
Parameters
Type Name Description
string copyright

Value of the attribute.

| Edit this page View Source

CopyrightAttribute(Range<int>, string)

Initializes a new instance of the DescriptionAttribute class.

Declaration
public CopyrightAttribute(Range<int> years, string holder)
Parameters
Type Name Description
Range<int> years

Years of Copyright registration.

string holder

Copyright holder.

Operators

| Edit this page View Source

implicit operator CopyrightAttribute(AssemblyCopyrightAttribute)

Implicitly converts an AssemblyCopyrightAttribute object to a CopyrightAttribute

Declaration
public static implicit operator CopyrightAttribute(AssemblyCopyrightAttribute attribute)
Parameters
Type Name Description
AssemblyCopyrightAttribute attribute

Object to convert

Returns
Type Description
CopyrightAttribute
| Edit this page View Source

implicit operator AssemblyCopyrightAttribute(CopyrightAttribute)

Implicitly converts a CopyrightAttribute object to an AssemblyCopyrightAttribute

Declaration
public static implicit operator AssemblyCopyrightAttribute(CopyrightAttribute attribute)
Parameters
Type Name Description
CopyrightAttribute attribute

Object to convert

Returns
Type Description
AssemblyCopyrightAttribute

Implements

IValueAttribute<T>

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX