Skip to content

Commit

Permalink
Added comments to the MagickDefine class.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Aug 5, 2024
1 parent c027d30 commit c1ae2c1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/defines/magick-define.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,30 @@ import { IDefine } from './define';
import { MagickFormat } from '../enums/magick-format';

export class MagickDefine implements IDefine {
/**
* Initializes a new instance of the {@link MagickDefine} class.
* @param format
* @param name The name of the define.
* @param value The value of the define.
*/
constructor(format: MagickFormat, name: string, value: string) {
this.format = format;
this.name = name;
this.value = value;
}

/**
* Gets the format to set the define for.
*/
readonly format: MagickFormat;

/**
* Gets the name of the define.
*/
readonly name: string;

/**
* Gets the value of the define.
*/
readonly value: string;
}

0 comments on commit c1ae2c1

Please sign in to comment.