MCPcopy Create free account

hub / github.com/Anexsoft/Design-Patterns-TypeScript / functions

Functions88 in github.com/Anexsoft/Design-Patterns-TypeScript

↓ 7 callersMethodcalculate
(input: number)
structural/decorator/src/interfaces/discount.interface.ts:2
↓ 7 callersMethodgetConnector
()
creational/abstract-factory/src/abstract-factory.interface.ts:5
↓ 5 callersMethodsetSpecialPrice
(input: number)
structural/decorator/src/product.ts:10
↓ 4 callersMethodadd
(item: CartItem)
behaviour/observer/src/shopping-cart.ts:35
↓ 4 callersMethodgetPlayList
(code: string)
structural/proxy/src/video-provider.interface.ts:2
↓ 4 callersMethodgetPublisher
(connector: IConnector)
creational/abstract-factory/src/abstract-factory.interface.ts:6
↓ 4 callersMethodsetStrategy
(context: PaymentStrategy)
behaviour/strategy/src/checkout.ts:6
↓ 3 callersMethodcreate
()
creational/factory/order.ts:13
↓ 3 callersMethodexecute
(userId: string, amount: number)
behaviour/strategy/src/interfaces/payment-strategy.interface.ts:7
↓ 3 callersMethodsend
(factory: IAbstractFactory)
creational/abstract-factory/src/publisher.ts:6
↓ 2 callersMethodgetInstance
()
creational/singleton/my-configuration.ts:18
↓ 2 callersFunctiongetPlayList
()
structural/proxy/index.ts:14
↓ 2 callersMethodhandle
()
behaviour/command/src/command.interface.ts:3
↓ 2 callersMethodpost
(title: string, message: string)
structural/adapter/src/providers/notification.interface.ts:2
↓ 2 callersMethodpurchase
()
behaviour/observer/src/shopping-cart.ts:45
↓ 1 callersMethodclose
()
creational/abstract-factory/src/factories/connector.interface.ts:3
↓ 1 callersMethodcreatePaymentType
(type: PaymentType)
creational/factory/src/payment-method-factory.ts:8
↓ 1 callersMethodforceToProcess
(commands: ICommand[])
behaviour/command/src/payment-method.handler.ts:9
↓ 1 callersMethodinitialize
()
creational/singleton/my-configuration.ts:12
↓ 1 callersMethodopen
()
creational/abstract-factory/src/factories/connector.interface.ts:2
↓ 1 callersMethodprocess
(command: ICommand)
behaviour/command/src/payment-method.handler.ts:4
↓ 1 callersMethodpublish
(content: string)
creational/abstract-factory/src/factories/publisher.interface.ts:2
↓ 1 callersMethodsend
(channelId: string, title: string, message: string)
structural/adapter/src/providers/slack-notification.ts:2
↓ 1 callersMethodupdate
(subject: any)
behaviour/observer/src/impl/observer.interface.ts:2
MethodapiUrl
()
creational/singleton/my-configuration.ts:35
Functionattach
(observer: Observer)
behaviour/observer/src/impl/subject.abstract.ts:6
Methodcalculate
(input: number)
structural/decorator/src/base-price.ts:4
Methodcalculate
(input: number)
structural/decorator/src/decorators/special-price.decorator.ts:8
Methodcalculate
(input: number)
structural/decorator/src/decorators/vip-customer.decorator.ts:8
Methodclose
()
creational/abstract-factory/src/factories/linkedin/linkedin-connector.ts:8
Methodclose
()
creational/abstract-factory/src/factories/facebook/facebook-connector.ts:8
Methodclose
()
creational/abstract-factory/src/factories/slack/slack-connector.ts:8
Methodcomission
()
creational/factory/src/types/Visa.ts:4
Methodcomission
()
creational/factory/src/types/PayPal.ts:4
Methodcomission
()
creational/factory/src/types/MasterCard.ts:4
MethodconnectionString
()
creational/singleton/my-configuration.ts:27
Methodconstructor
( public name: string, public isFirstBuy: boolean, public type: string )
structural/decorator/src/customer.ts:2
Methodconstructor
( public name: string, public price: number )
structural/decorator/src/product.ts:5
Methodconstructor
(private readonly decorator: IDiscount)
structural/decorator/src/decorators/special-price.decorator.ts:4
Methodconstructor
(private readonly decorator: IDiscount)
structural/decorator/src/decorators/vip-customer.decorator.ts:4
Methodconstructor
(private readonly provider: IVideoProvider)
structural/proxy/src/video.proxy.ts:6
Methodconstructor
(private slackNotification: SlackNotification)
structural/adapter/src/providers/slack-adapter-notification.ts:5
Methodconstructor
(private providers: INotification[])
structural/adapter/src/services/notification.service.ts:4
Methodconstructor
(public cardNumber: string, public cvv: string)
behaviour/strategy/src/mastercard.strategy.ts:5
Methodconstructor
(public cardNumber: string, public cvv: string)
behaviour/strategy/src/visa.strategy.ts:5
Methodconstructor
(public userEmail: string)
behaviour/strategy/src/paypal.strategy.ts:5
Methodconstructor
(private readonly creditCardDef: CreditCardDto)
behaviour/command/src/payment-commands/payu.command.ts:7
Methodconstructor
(private readonly creditCardDef: CreditCardDto)
behaviour/command/src/payment-commands/culqui.command.ts:7
Methodconstructor
(private readonly creditCardDef: CreditCardDto)
behaviour/command/src/payment-commands/mercadopago.command.ts:7
Methodconstructor
( private readonly cardtype: CreditCardType, private readonly cardCustomerFullName: string,
behaviour/command/src/payment-commands/dto/credit-card.dto.ts:4
Methodconstructor
( public id: number, public name: string, public quantity: number, public unit
behaviour/observer/src/shopping-cart.ts:6
Methodconstructor
( public readonly userId: number, public readonly userFirstName: string, public readon
behaviour/observer/src/shopping-cart.ts:17
Methodconstructor
(private userId: number, private userFirstName: string)
behaviour/observer/src/shopping-cart.ts:29
Methodconstructor
( private type: PaymentType, public amount: number)
creational/factory/order.ts:9
Methodconstructor
(private content: string)
creational/abstract-factory/src/publisher.ts:4
Methodconstructor
(private connector: IConnector)
creational/abstract-factory/src/factories/linkedin/linkedin-publisher.ts:5
Methodconstructor
(private connector: IConnector)
creational/abstract-factory/src/factories/facebook/facebook-publisher.ts:5
Methodconstructor
(private connector: IConnector)
creational/abstract-factory/src/factories/slack/slack-publisher.ts:5
Methodconstructor
()
creational/singleton/my-configuration.ts:10
Functiondetach
(observer: Observer)
behaviour/observer/src/impl/subject.abstract.ts:14
Methodenviroment
()
creational/singleton/my-configuration.ts:31
Methodexecute
(userId: string, amount: number)
behaviour/strategy/src/mastercard.strategy.ts:7
Methodexecute
(userId: string, amount: number)
behaviour/strategy/src/visa.strategy.ts:7
Methodexecute
(userId: string, amount: number)
behaviour/strategy/src/paypal.strategy.ts:7
Methodexecute
(userId: string, amount: number)
behaviour/strategy/src/checkout.ts:10
MethodgetConnector
()
creational/abstract-factory/src/factories/linkedin/linkedin-factory.ts:8
MethodgetConnector
()
creational/abstract-factory/src/factories/facebook/facebook-factory.ts:8
MethodgetConnector
()
creational/abstract-factory/src/factories/slack/slack-factory.ts:8
MethodgetPlayList
(code: string)
structural/proxy/src/youtube.api.ts:12
MethodgetPlayList
(code: string)
structural/proxy/src/video.proxy.ts:8
MethodgetPublisher
(connector: IConnector)
creational/abstract-factory/src/factories/linkedin/linkedin-factory.ts:12
MethodgetPublisher
(connector: IConnector)
creational/abstract-factory/src/factories/facebook/facebook-factory.ts:12
MethodgetPublisher
(connector: IConnector)
creational/abstract-factory/src/factories/slack/slack-factory.ts:12
Methodhandle
()
behaviour/command/src/payment-commands/payu.command.ts:9
Methodhandle
()
behaviour/command/src/payment-commands/culqui.command.ts:9
Methodhandle
()
behaviour/command/src/payment-commands/mercadopago.command.ts:9
Functionnotify
(message: any)
behaviour/observer/src/impl/subject.abstract.ts:18
Methodopen
()
creational/abstract-factory/src/factories/linkedin/linkedin-connector.ts:4
Methodopen
()
creational/abstract-factory/src/factories/facebook/facebook-connector.ts:4
Methodopen
()
creational/abstract-factory/src/factories/slack/slack-connector.ts:4
Methodpost
(title: string, message: string)
structural/adapter/src/providers/slack-adapter-notification.ts:7
Methodpost
(title: string, message: string)
structural/adapter/src/providers/facebook-notification.ts:4
Methodpost
(title: string, message: string)
structural/adapter/src/services/notification.service.ts:6
Methodpublish
(content: string)
creational/abstract-factory/src/factories/linkedin/linkedin-publisher.ts:7
Methodpublish
(content: string)
creational/abstract-factory/src/factories/facebook/facebook-publisher.ts:7
Methodpublish
(content: string)
creational/abstract-factory/src/factories/slack/slack-publisher.ts:7
Methodupdate
(message: Order)
behaviour/observer/src/observers/sms.observer.ts:5
Methodupdate
(message: Order)
behaviour/observer/src/observers/email.observer.ts:5